From fbee8a8b5e03082ab8e0f5a5c38cde4b4b425405 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Tue, 12 Oct 2021 13:55:32 +0800 Subject: [PATCH] build --- asset-manifest.json | 98 +++++++++---------- index.html | 2 +- service-worker.js | 2 +- static/css/10.69d15722.chunk.css | 1 - static/css/10.b886fd74.chunk.css | 1 + ...80c46d.chunk.css => 11.4580c46d.chunk.css} | 0 static/css/112.5b9090d0.chunk.css | 1 - static/css/112.eccc1e85.chunk.css | 1 + ...5f3a58.chunk.css => 12.1c5f3a58.chunk.css} | 0 ...3eab18.chunk.css => 13.6937230d.chunk.css} | 2 +- ...970b46.chunk.css => 14.1e970b46.chunk.css} | 0 ...2e5efb.chunk.css => 29.efe18c78.chunk.css} | 2 +- static/css/36.35deec2d.chunk.css | 1 + static/css/36.e7bef5af.chunk.css | 1 - static/css/38.69d15722.chunk.css | 1 - static/css/38.b886fd74.chunk.css | 1 + ...98580e.chunk.css => 43.450fc162.chunk.css} | 2 +- ...79bdda.chunk.css => 50.c5cf0da3.chunk.css} | 0 ...1462ad.chunk.css => 55.4cfdab21.chunk.css} | 2 +- static/css/59.79f5f7f7.chunk.css | 1 + static/css/59.d180e9c7.chunk.css | 1 - ...58c8a2.chunk.css => 66.8758c8a2.chunk.css} | 0 ...97577b.chunk.css => 67.ea97577b.chunk.css} | 0 ...00c7.chunk.css => main.9813a6b6.chunk.css} | 4 +- ...647278d.chunk.js => 106.dbcd524a.chunk.js} | 2 +- ...f0cf283b.chunk.js => 11.d3ab602a.chunk.js} | 4 +- ...E.txt => 11.d3ab602a.chunk.js.LICENSE.txt} | 0 ...a827803.chunk.js => 111.c0fcff02.chunk.js} | 2 +- static/js/112.3bed1031.chunk.js | 1 - static/js/112.4be9dfb3.chunk.js | 1 + ...9d81ed6.chunk.js => 119.e051329b.chunk.js} | 2 +- ...faaf8a93.chunk.js => 12.af8f9caa.chunk.js} | 2 +- static/js/12.c9554159.chunk.js | 1 - ...a5f0f38.chunk.js => 126.92802f64.chunk.js} | 2 +- ...28308e9.chunk.js => 127.c92bb2ec.chunk.js} | 2 +- static/js/13.2a7f4b5d.chunk.js | 1 + ...7fbcee50.chunk.js => 14.47d6b04d.chunk.js} | 2 +- static/js/18.8162f12b.chunk.js | 1 + static/js/18.8cf5ab5f.chunk.js | 1 - ...a2b2d8a1.chunk.js => 28.ffd0fc63.chunk.js} | 4 +- ...E.txt => 28.ffd0fc63.chunk.js.LICENSE.txt} | 0 ...a0d3afd1.chunk.js => 33.391ff637.chunk.js} | 4 +- ...E.txt => 33.391ff637.chunk.js.LICENSE.txt} | 0 ...daead028.chunk.js => 34.a97f8cd6.chunk.js} | 4 +- ...E.txt => 34.a97f8cd6.chunk.js.LICENSE.txt} | 0 ...04e6ad13.chunk.js => 35.f6d4c52a.chunk.js} | 4 +- ...E.txt => 35.f6d4c52a.chunk.js.LICENSE.txt} | 0 static/js/36.1969f13e.chunk.js | 1 - static/js/36.1af5cff9.chunk.js | 1 + ...1015f157.chunk.js => 37.f3a26abd.chunk.js} | 4 +- ...E.txt => 37.f3a26abd.chunk.js.LICENSE.txt} | 0 static/js/43.9ab42e7e.chunk.js | 1 - static/js/43.d6aae469.chunk.js | 1 + static/js/56.25a26106.chunk.js | 1 - static/js/56.fe7d1bc1.chunk.js | 1 + static/js/66.81eb52ec.chunk.js | 1 + static/js/67.46be3d2c.chunk.js | 1 - ...92909981.chunk.js => 67.6f64dca0.chunk.js} | 2 +- ...2490c77d.chunk.js => 75.330f2718.chunk.js} | 2 +- ...8edb03bc.chunk.js => 79.8dcee5cb.chunk.js} | 2 +- static/js/86.cffbf64f.chunk.js | 1 - static/js/86.fbb1f6fc.chunk.js | 1 + ...a0daaf98.chunk.js => 90.b9a877d9.chunk.js} | 2 +- static/js/91.025ce6c8.chunk.js | 1 + static/js/91.77a9265e.chunk.js | 1 - ...n.ca01df79.js => runtime~main.8bbf1318.js} | 2 +- 66 files changed, 95 insertions(+), 95 deletions(-) delete mode 100644 static/css/10.69d15722.chunk.css create mode 100644 static/css/10.b886fd74.chunk.css rename static/css/{14.4580c46d.chunk.css => 11.4580c46d.chunk.css} (100%) delete mode 100644 static/css/112.5b9090d0.chunk.css create mode 100644 static/css/112.eccc1e85.chunk.css rename static/css/{11.1c5f3a58.chunk.css => 12.1c5f3a58.chunk.css} (100%) rename static/css/{12.303eab18.chunk.css => 13.6937230d.chunk.css} (82%) rename static/css/{13.1e970b46.chunk.css => 14.1e970b46.chunk.css} (100%) rename static/css/{29.ca2e5efb.chunk.css => 29.efe18c78.chunk.css} (86%) create mode 100644 static/css/36.35deec2d.chunk.css delete mode 100644 static/css/36.e7bef5af.chunk.css delete mode 100644 static/css/38.69d15722.chunk.css create mode 100644 static/css/38.b886fd74.chunk.css rename static/css/{43.0798580e.chunk.css => 43.450fc162.chunk.css} (69%) rename static/css/{50.0379bdda.chunk.css => 50.c5cf0da3.chunk.css} (100%) rename static/css/{55.fc1462ad.chunk.css => 55.4cfdab21.chunk.css} (85%) create mode 100644 static/css/59.79f5f7f7.chunk.css delete mode 100644 static/css/59.d180e9c7.chunk.css rename static/css/{67.8758c8a2.chunk.css => 66.8758c8a2.chunk.css} (100%) rename static/css/{66.ea97577b.chunk.css => 67.ea97577b.chunk.css} (100%) rename static/css/{main.63a200c7.chunk.css => main.9813a6b6.chunk.css} (90%) rename static/js/{106.1647278d.chunk.js => 106.dbcd524a.chunk.js} (97%) rename static/js/{14.f0cf283b.chunk.js => 11.d3ab602a.chunk.js} (99%) rename static/js/{14.f0cf283b.chunk.js.LICENSE.txt => 11.d3ab602a.chunk.js.LICENSE.txt} (100%) rename static/js/{111.ea827803.chunk.js => 111.c0fcff02.chunk.js} (92%) delete mode 100644 static/js/112.3bed1031.chunk.js create mode 100644 static/js/112.4be9dfb3.chunk.js rename static/js/{119.b9d81ed6.chunk.js => 119.e051329b.chunk.js} (97%) rename static/js/{11.faaf8a93.chunk.js => 12.af8f9caa.chunk.js} (99%) delete mode 100644 static/js/12.c9554159.chunk.js rename static/js/{126.3a5f0f38.chunk.js => 126.92802f64.chunk.js} (92%) rename static/js/{127.228308e9.chunk.js => 127.c92bb2ec.chunk.js} (93%) create mode 100644 static/js/13.2a7f4b5d.chunk.js rename static/js/{13.7fbcee50.chunk.js => 14.47d6b04d.chunk.js} (99%) create mode 100644 static/js/18.8162f12b.chunk.js delete mode 100644 static/js/18.8cf5ab5f.chunk.js rename static/js/{28.a2b2d8a1.chunk.js => 28.ffd0fc63.chunk.js} (73%) rename static/js/{28.a2b2d8a1.chunk.js.LICENSE.txt => 28.ffd0fc63.chunk.js.LICENSE.txt} (100%) rename static/js/{33.a0d3afd1.chunk.js => 33.391ff637.chunk.js} (72%) rename static/js/{33.a0d3afd1.chunk.js.LICENSE.txt => 33.391ff637.chunk.js.LICENSE.txt} (100%) rename static/js/{34.daead028.chunk.js => 34.a97f8cd6.chunk.js} (72%) rename static/js/{34.daead028.chunk.js.LICENSE.txt => 34.a97f8cd6.chunk.js.LICENSE.txt} (100%) rename static/js/{35.04e6ad13.chunk.js => 35.f6d4c52a.chunk.js} (69%) rename static/js/{35.04e6ad13.chunk.js.LICENSE.txt => 35.f6d4c52a.chunk.js.LICENSE.txt} (100%) delete mode 100644 static/js/36.1969f13e.chunk.js create mode 100644 static/js/36.1af5cff9.chunk.js rename static/js/{37.1015f157.chunk.js => 37.f3a26abd.chunk.js} (99%) rename static/js/{37.1015f157.chunk.js.LICENSE.txt => 37.f3a26abd.chunk.js.LICENSE.txt} (100%) delete mode 100644 static/js/43.9ab42e7e.chunk.js create mode 100644 static/js/43.d6aae469.chunk.js delete mode 100644 static/js/56.25a26106.chunk.js create mode 100644 static/js/56.fe7d1bc1.chunk.js create mode 100644 static/js/66.81eb52ec.chunk.js delete mode 100644 static/js/67.46be3d2c.chunk.js rename static/js/{66.92909981.chunk.js => 67.6f64dca0.chunk.js} (99%) rename static/js/{75.2490c77d.chunk.js => 75.330f2718.chunk.js} (99%) rename static/js/{79.8edb03bc.chunk.js => 79.8dcee5cb.chunk.js} (55%) delete mode 100644 static/js/86.cffbf64f.chunk.js create mode 100644 static/js/86.fbb1f6fc.chunk.js rename static/js/{90.a0daaf98.chunk.js => 90.b9a877d9.chunk.js} (94%) create mode 100644 static/js/91.025ce6c8.chunk.js delete mode 100644 static/js/91.77a9265e.chunk.js rename static/js/{runtime~main.ca01df79.js => runtime~main.8bbf1318.js} (59%) diff --git a/asset-manifest.json b/asset-manifest.json index 0425de641..2d8f0c8be 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -17,16 +17,16 @@ "./static/js/8.7ad76529.chunk.js": "/react/build/./static/js/8.7ad76529.chunk.js", "static/css/9.d4345223.chunk.css": "/react/build/static/css/9.d4345223.chunk.css", "./static/js/9.74545efc.chunk.js": "/react/build/./static/js/9.74545efc.chunk.js", - "static/css/10.69d15722.chunk.css": "/react/build/static/css/10.69d15722.chunk.css", + "static/css/10.b886fd74.chunk.css": "/react/build/static/css/10.b886fd74.chunk.css", "./static/js/10.84066bda.chunk.js": "/react/build/./static/js/10.84066bda.chunk.js", - "static/css/11.1c5f3a58.chunk.css": "/react/build/static/css/11.1c5f3a58.chunk.css", - "./static/js/11.faaf8a93.chunk.js": "/react/build/./static/js/11.faaf8a93.chunk.js", - "static/css/12.303eab18.chunk.css": "/react/build/static/css/12.303eab18.chunk.css", - "./static/js/12.c9554159.chunk.js": "/react/build/./static/js/12.c9554159.chunk.js", - "static/css/13.1e970b46.chunk.css": "/react/build/static/css/13.1e970b46.chunk.css", - "./static/js/13.7fbcee50.chunk.js": "/react/build/./static/js/13.7fbcee50.chunk.js", - "static/css/14.4580c46d.chunk.css": "/react/build/static/css/14.4580c46d.chunk.css", - "./static/js/14.f0cf283b.chunk.js": "/react/build/./static/js/14.f0cf283b.chunk.js", + "static/css/11.4580c46d.chunk.css": "/react/build/static/css/11.4580c46d.chunk.css", + "./static/js/11.d3ab602a.chunk.js": "/react/build/./static/js/11.d3ab602a.chunk.js", + "static/css/12.1c5f3a58.chunk.css": "/react/build/static/css/12.1c5f3a58.chunk.css", + "./static/js/12.af8f9caa.chunk.js": "/react/build/./static/js/12.af8f9caa.chunk.js", + "static/css/13.6937230d.chunk.css": "/react/build/static/css/13.6937230d.chunk.css", + "./static/js/13.2a7f4b5d.chunk.js": "/react/build/./static/js/13.2a7f4b5d.chunk.js", + "static/css/14.1e970b46.chunk.css": "/react/build/static/css/14.1e970b46.chunk.css", + "./static/js/14.47d6b04d.chunk.js": "/react/build/./static/js/14.47d6b04d.chunk.js", "static/css/15.cf56d612.chunk.css": "/react/build/static/css/15.cf56d612.chunk.css", "./static/js/15.5eff19c4.chunk.js": "/react/build/./static/js/15.5eff19c4.chunk.js", "static/css/16.d0c774b5.chunk.css": "/react/build/static/css/16.d0c774b5.chunk.css", @@ -34,7 +34,7 @@ "static/css/17.7bd7b9f3.chunk.css": "/react/build/static/css/17.7bd7b9f3.chunk.css", "./static/js/17.deaa743d.chunk.js": "/react/build/./static/js/17.deaa743d.chunk.js", "static/css/18.48209bdf.chunk.css": "/react/build/static/css/18.48209bdf.chunk.css", - "./static/js/18.8cf5ab5f.chunk.js": "/react/build/./static/js/18.8cf5ab5f.chunk.js", + "./static/js/18.8162f12b.chunk.js": "/react/build/./static/js/18.8162f12b.chunk.js", "static/css/19.e5544bad.chunk.css": "/react/build/static/css/19.e5544bad.chunk.css", "./static/js/19.4fd41f28.chunk.js": "/react/build/./static/js/19.4fd41f28.chunk.js", "static/css/20.330fa4e3.chunk.css": "/react/build/static/css/20.330fa4e3.chunk.css", @@ -52,8 +52,8 @@ "static/css/27.75aaa133.chunk.css": "/react/build/static/css/27.75aaa133.chunk.css", "./static/js/27.99eef048.chunk.js": "/react/build/./static/js/27.99eef048.chunk.js", "static/css/28.efdbdb42.chunk.css": "/react/build/static/css/28.efdbdb42.chunk.css", - "./static/js/28.a2b2d8a1.chunk.js": "/react/build/./static/js/28.a2b2d8a1.chunk.js", - "static/css/29.ca2e5efb.chunk.css": "/react/build/static/css/29.ca2e5efb.chunk.css", + "./static/js/28.ffd0fc63.chunk.js": "/react/build/./static/js/28.ffd0fc63.chunk.js", + "static/css/29.efe18c78.chunk.css": "/react/build/static/css/29.efe18c78.chunk.css", "./static/js/29.db12ed4e.chunk.js": "/react/build/./static/js/29.db12ed4e.chunk.js", "./static/js/30.40d07ad1.chunk.js": "/react/build/./static/js/30.40d07ad1.chunk.js", "static/css/31.93537df9.chunk.css": "/react/build/static/css/31.93537df9.chunk.css", @@ -61,16 +61,16 @@ "static/css/32.33342a61.chunk.css": "/react/build/static/css/32.33342a61.chunk.css", "./static/js/32.b9e523d7.chunk.js": "/react/build/./static/js/32.b9e523d7.chunk.js", "static/css/33.645b12a9.chunk.css": "/react/build/static/css/33.645b12a9.chunk.css", - "./static/js/33.a0d3afd1.chunk.js": "/react/build/./static/js/33.a0d3afd1.chunk.js", + "./static/js/33.391ff637.chunk.js": "/react/build/./static/js/33.391ff637.chunk.js", "static/css/34.e660a8ea.chunk.css": "/react/build/static/css/34.e660a8ea.chunk.css", - "./static/js/34.daead028.chunk.js": "/react/build/./static/js/34.daead028.chunk.js", + "./static/js/34.a97f8cd6.chunk.js": "/react/build/./static/js/34.a97f8cd6.chunk.js", "static/css/35.d3dc3d67.chunk.css": "/react/build/static/css/35.d3dc3d67.chunk.css", - "./static/js/35.04e6ad13.chunk.js": "/react/build/./static/js/35.04e6ad13.chunk.js", - "static/css/36.e7bef5af.chunk.css": "/react/build/static/css/36.e7bef5af.chunk.css", - "./static/js/36.1969f13e.chunk.js": "/react/build/./static/js/36.1969f13e.chunk.js", + "./static/js/35.f6d4c52a.chunk.js": "/react/build/./static/js/35.f6d4c52a.chunk.js", + "static/css/36.35deec2d.chunk.css": "/react/build/static/css/36.35deec2d.chunk.css", + "./static/js/36.1af5cff9.chunk.js": "/react/build/./static/js/36.1af5cff9.chunk.js", "static/css/37.9537f394.chunk.css": "/react/build/static/css/37.9537f394.chunk.css", - "./static/js/37.1015f157.chunk.js": "/react/build/./static/js/37.1015f157.chunk.js", - "static/css/38.69d15722.chunk.css": "/react/build/static/css/38.69d15722.chunk.css", + "./static/js/37.f3a26abd.chunk.js": "/react/build/./static/js/37.f3a26abd.chunk.js", + "static/css/38.b886fd74.chunk.css": "/react/build/static/css/38.b886fd74.chunk.css", "./static/js/38.9b757329.chunk.js": "/react/build/./static/js/38.9b757329.chunk.js", "./static/js/39.2a924fd5.chunk.js": "/react/build/./static/js/39.2a924fd5.chunk.js", "static/css/40.88cc3b5e.chunk.css": "/react/build/static/css/40.88cc3b5e.chunk.css", @@ -79,8 +79,8 @@ "./static/js/41.c38b357e.chunk.js": "/react/build/./static/js/41.c38b357e.chunk.js", "static/css/42.88cc3b5e.chunk.css": "/react/build/static/css/42.88cc3b5e.chunk.css", "./static/js/42.270cb647.chunk.js": "/react/build/./static/js/42.270cb647.chunk.js", - "static/css/43.0798580e.chunk.css": "/react/build/static/css/43.0798580e.chunk.css", - "./static/js/43.9ab42e7e.chunk.js": "/react/build/./static/js/43.9ab42e7e.chunk.js", + "static/css/43.450fc162.chunk.css": "/react/build/static/css/43.450fc162.chunk.css", + "./static/js/43.d6aae469.chunk.js": "/react/build/./static/js/43.d6aae469.chunk.js", "./static/js/44.1ed82fbb.chunk.js": "/react/build/./static/js/44.1ed82fbb.chunk.js", "static/css/45.080d6958.chunk.css": "/react/build/static/css/45.080d6958.chunk.css", "./static/js/45.10ca6320.chunk.js": "/react/build/./static/js/45.10ca6320.chunk.js", @@ -90,7 +90,7 @@ "./static/js/48.edae787f.chunk.js": "/react/build/./static/js/48.edae787f.chunk.js", "static/css/49.e8001192.chunk.css": "/react/build/static/css/49.e8001192.chunk.css", "./static/js/49.474bc174.chunk.js": "/react/build/./static/js/49.474bc174.chunk.js", - "static/css/50.0379bdda.chunk.css": "/react/build/static/css/50.0379bdda.chunk.css", + "static/css/50.c5cf0da3.chunk.css": "/react/build/static/css/50.c5cf0da3.chunk.css", "./static/js/50.ada9d135.chunk.js": "/react/build/./static/js/50.ada9d135.chunk.js", "static/css/51.e7df3dd3.chunk.css": "/react/build/static/css/51.e7df3dd3.chunk.css", "./static/js/51.58be8fa8.chunk.js": "/react/build/./static/js/51.58be8fa8.chunk.js", @@ -100,15 +100,15 @@ "./static/js/53.1e38166e.chunk.js": "/react/build/./static/js/53.1e38166e.chunk.js", "static/css/54.75d3df4f.chunk.css": "/react/build/static/css/54.75d3df4f.chunk.css", "./static/js/54.c5bcfd46.chunk.js": "/react/build/./static/js/54.c5bcfd46.chunk.js", - "static/css/55.fc1462ad.chunk.css": "/react/build/static/css/55.fc1462ad.chunk.css", + "static/css/55.4cfdab21.chunk.css": "/react/build/static/css/55.4cfdab21.chunk.css", "./static/js/55.a2fdae72.chunk.js": "/react/build/./static/js/55.a2fdae72.chunk.js", "static/css/56.55132a20.chunk.css": "/react/build/static/css/56.55132a20.chunk.css", - "./static/js/56.25a26106.chunk.js": "/react/build/./static/js/56.25a26106.chunk.js", + "./static/js/56.fe7d1bc1.chunk.js": "/react/build/./static/js/56.fe7d1bc1.chunk.js", "static/css/57.1ff4022b.chunk.css": "/react/build/static/css/57.1ff4022b.chunk.css", "./static/js/57.9325474d.chunk.js": "/react/build/./static/js/57.9325474d.chunk.js", "static/css/58.f8123c09.chunk.css": "/react/build/static/css/58.f8123c09.chunk.css", "./static/js/58.b5ca14cf.chunk.js": "/react/build/./static/js/58.b5ca14cf.chunk.js", - "static/css/59.d180e9c7.chunk.css": "/react/build/static/css/59.d180e9c7.chunk.css", + "static/css/59.79f5f7f7.chunk.css": "/react/build/static/css/59.79f5f7f7.chunk.css", "./static/js/59.d746baef.chunk.js": "/react/build/./static/js/59.d746baef.chunk.js", "./static/js/60.098bd543.chunk.js": "/react/build/./static/js/60.098bd543.chunk.js", "static/css/61.520bfea6.chunk.css": "/react/build/static/css/61.520bfea6.chunk.css", @@ -120,10 +120,10 @@ "static/css/64.9d206204.chunk.css": "/react/build/static/css/64.9d206204.chunk.css", "./static/js/64.94ae0067.chunk.js": "/react/build/./static/js/64.94ae0067.chunk.js", "./static/js/65.ad9bb744.chunk.js": "/react/build/./static/js/65.ad9bb744.chunk.js", - "static/css/66.ea97577b.chunk.css": "/react/build/static/css/66.ea97577b.chunk.css", - "./static/js/66.92909981.chunk.js": "/react/build/./static/js/66.92909981.chunk.js", - "static/css/67.8758c8a2.chunk.css": "/react/build/static/css/67.8758c8a2.chunk.css", - "./static/js/67.46be3d2c.chunk.js": "/react/build/./static/js/67.46be3d2c.chunk.js", + "static/css/66.8758c8a2.chunk.css": "/react/build/static/css/66.8758c8a2.chunk.css", + "./static/js/66.81eb52ec.chunk.js": "/react/build/./static/js/66.81eb52ec.chunk.js", + "static/css/67.ea97577b.chunk.css": "/react/build/static/css/67.ea97577b.chunk.css", + "./static/js/67.6f64dca0.chunk.js": "/react/build/./static/js/67.6f64dca0.chunk.js", "static/css/68.61b37499.chunk.css": "/react/build/static/css/68.61b37499.chunk.css", "./static/js/68.d1c952c6.chunk.js": "/react/build/./static/js/68.d1c952c6.chunk.js", "static/css/69.61b37499.chunk.css": "/react/build/static/css/69.61b37499.chunk.css", @@ -139,14 +139,14 @@ "static/css/74.d16cbade.chunk.css": "/react/build/static/css/74.d16cbade.chunk.css", "./static/js/74.d409058a.chunk.js": "/react/build/./static/js/74.d409058a.chunk.js", "static/css/75.131374a7.chunk.css": "/react/build/static/css/75.131374a7.chunk.css", - "./static/js/75.2490c77d.chunk.js": "/react/build/./static/js/75.2490c77d.chunk.js", + "./static/js/75.330f2718.chunk.js": "/react/build/./static/js/75.330f2718.chunk.js", "static/css/76.c2f5b906.chunk.css": "/react/build/static/css/76.c2f5b906.chunk.css", "./static/js/76.691766f4.chunk.js": "/react/build/./static/js/76.691766f4.chunk.js", "static/css/77.fd3fa2e9.chunk.css": "/react/build/static/css/77.fd3fa2e9.chunk.css", "./static/js/77.0d80a213.chunk.js": "/react/build/./static/js/77.0d80a213.chunk.js", "static/css/78.f4de1d43.chunk.css": "/react/build/static/css/78.f4de1d43.chunk.css", "./static/js/78.a8bd2e81.chunk.js": "/react/build/./static/js/78.a8bd2e81.chunk.js", - "./static/js/79.8edb03bc.chunk.js": "/react/build/./static/js/79.8edb03bc.chunk.js", + "./static/js/79.8dcee5cb.chunk.js": "/react/build/./static/js/79.8dcee5cb.chunk.js", "static/css/80.45444cfc.chunk.css": "/react/build/static/css/80.45444cfc.chunk.css", "./static/js/80.05713831.chunk.js": "/react/build/./static/js/80.05713831.chunk.js", "static/css/81.92df39ea.chunk.css": "/react/build/static/css/81.92df39ea.chunk.css", @@ -156,7 +156,7 @@ "./static/js/83.b9f283c4.chunk.js": "/react/build/./static/js/83.b9f283c4.chunk.js", "./static/js/84.9bb7165f.chunk.js": "/react/build/./static/js/84.9bb7165f.chunk.js", "./static/js/85.bfbe6043.chunk.js": "/react/build/./static/js/85.bfbe6043.chunk.js", - "./static/js/86.cffbf64f.chunk.js": "/react/build/./static/js/86.cffbf64f.chunk.js", + "./static/js/86.fbb1f6fc.chunk.js": "/react/build/./static/js/86.fbb1f6fc.chunk.js", "static/css/87.a8f06a40.chunk.css": "/react/build/static/css/87.a8f06a40.chunk.css", "./static/js/87.524fb1bf.chunk.js": "/react/build/./static/js/87.524fb1bf.chunk.js", "static/css/88.33601a81.chunk.css": "/react/build/static/css/88.33601a81.chunk.css", @@ -164,9 +164,9 @@ "static/css/89.632d7855.chunk.css": "/react/build/static/css/89.632d7855.chunk.css", "./static/js/89.439698fa.chunk.js": "/react/build/./static/js/89.439698fa.chunk.js", "static/css/90.f243baca.chunk.css": "/react/build/static/css/90.f243baca.chunk.css", - "./static/js/90.a0daaf98.chunk.js": "/react/build/./static/js/90.a0daaf98.chunk.js", + "./static/js/90.b9a877d9.chunk.js": "/react/build/./static/js/90.b9a877d9.chunk.js", "static/css/91.3433735d.chunk.css": "/react/build/static/css/91.3433735d.chunk.css", - "./static/js/91.77a9265e.chunk.js": "/react/build/./static/js/91.77a9265e.chunk.js", + "./static/js/91.025ce6c8.chunk.js": "/react/build/./static/js/91.025ce6c8.chunk.js", "static/css/92.9d206204.chunk.css": "/react/build/static/css/92.9d206204.chunk.css", "./static/js/92.82446fd7.chunk.js": "/react/build/./static/js/92.82446fd7.chunk.js", "static/css/93.9d206204.chunk.css": "/react/build/static/css/93.9d206204.chunk.css", @@ -190,15 +190,15 @@ "./static/js/104.03062447.chunk.js": "/react/build/./static/js/104.03062447.chunk.js", "./static/js/105.68abbc41.chunk.js": "/react/build/./static/js/105.68abbc41.chunk.js", "static/css/106.18309b6c.chunk.css": "/react/build/static/css/106.18309b6c.chunk.css", - "./static/js/106.1647278d.chunk.js": "/react/build/./static/js/106.1647278d.chunk.js", + "./static/js/106.dbcd524a.chunk.js": "/react/build/./static/js/106.dbcd524a.chunk.js", "./static/js/107.08e9e257.chunk.js": "/react/build/./static/js/107.08e9e257.chunk.js", "./static/js/108.1b18010f.chunk.js": "/react/build/./static/js/108.1b18010f.chunk.js", "./static/js/109.2df9b48d.chunk.js": "/react/build/./static/js/109.2df9b48d.chunk.js", "./static/js/110.c892c6ca.chunk.js": "/react/build/./static/js/110.c892c6ca.chunk.js", "static/css/111.1ff4022b.chunk.css": "/react/build/static/css/111.1ff4022b.chunk.css", - "./static/js/111.ea827803.chunk.js": "/react/build/./static/js/111.ea827803.chunk.js", - "static/css/112.5b9090d0.chunk.css": "/react/build/static/css/112.5b9090d0.chunk.css", - "./static/js/112.3bed1031.chunk.js": "/react/build/./static/js/112.3bed1031.chunk.js", + "./static/js/111.c0fcff02.chunk.js": "/react/build/./static/js/111.c0fcff02.chunk.js", + "static/css/112.eccc1e85.chunk.css": "/react/build/static/css/112.eccc1e85.chunk.css", + "./static/js/112.4be9dfb3.chunk.js": "/react/build/./static/js/112.4be9dfb3.chunk.js", "static/css/113.28bf6b3d.chunk.css": "/react/build/static/css/113.28bf6b3d.chunk.css", "./static/js/113.29c7cc99.chunk.js": "/react/build/./static/js/113.29c7cc99.chunk.js", "static/css/114.2d9ce95a.chunk.css": "/react/build/static/css/114.2d9ce95a.chunk.css", @@ -212,7 +212,7 @@ "static/css/118.f2060fe7.chunk.css": "/react/build/static/css/118.f2060fe7.chunk.css", "./static/js/118.6563dfe9.chunk.js": "/react/build/./static/js/118.6563dfe9.chunk.js", "static/css/119.7d2667aa.chunk.css": "/react/build/static/css/119.7d2667aa.chunk.css", - "./static/js/119.b9d81ed6.chunk.js": "/react/build/./static/js/119.b9d81ed6.chunk.js", + "./static/js/119.e051329b.chunk.js": "/react/build/./static/js/119.e051329b.chunk.js", "static/css/120.9d206204.chunk.css": "/react/build/static/css/120.9d206204.chunk.css", "./static/js/120.f580eacc.chunk.js": "/react/build/./static/js/120.f580eacc.chunk.js", "./static/js/121.d3030f45.chunk.js": "/react/build/./static/js/121.d3030f45.chunk.js", @@ -220,8 +220,8 @@ "./static/js/123.91f92593.chunk.js": "/react/build/./static/js/123.91f92593.chunk.js", "./static/js/124.aa5e07d0.chunk.js": "/react/build/./static/js/124.aa5e07d0.chunk.js", "./static/js/125.ef5823c2.chunk.js": "/react/build/./static/js/125.ef5823c2.chunk.js", - "./static/js/126.3a5f0f38.chunk.js": "/react/build/./static/js/126.3a5f0f38.chunk.js", - "./static/js/127.228308e9.chunk.js": "/react/build/./static/js/127.228308e9.chunk.js", + "./static/js/126.92802f64.chunk.js": "/react/build/./static/js/126.92802f64.chunk.js", + "./static/js/127.c92bb2ec.chunk.js": "/react/build/./static/js/127.c92bb2ec.chunk.js", "./static/js/128.3ace72d5.chunk.js": "/react/build/./static/js/128.3ace72d5.chunk.js", "./static/js/129.22ca7983.chunk.js": "/react/build/./static/js/129.22ca7983.chunk.js", "./static/js/130.2b2775c5.chunk.js": "/react/build/./static/js/130.2b2775c5.chunk.js", @@ -283,19 +283,19 @@ "./static/js/186.ffdfec91.chunk.js": "/react/build/./static/js/186.ffdfec91.chunk.js", "./static/js/187.85a9d546.chunk.js": "/react/build/./static/js/187.85a9d546.chunk.js", "./static/js/188.676f6152.chunk.js": "/react/build/./static/js/188.676f6152.chunk.js", - "main.css": "/react/build/static/css/main.63a200c7.chunk.css", + "main.css": "/react/build/static/css/main.9813a6b6.chunk.css", "main.js": "/react/build/./static/js/main.1be48b04.chunk.js", - "runtime~main.js": "/react/build/./static/js/runtime~main.ca01df79.js", - "./static/js/14.f0cf283b.chunk.js.LICENSE.txt": "/react/build/./static/js/14.f0cf283b.chunk.js.LICENSE.txt", + "runtime~main.js": "/react/build/./static/js/runtime~main.8bbf1318.js", + "./static/js/11.d3ab602a.chunk.js.LICENSE.txt": "/react/build/./static/js/11.d3ab602a.chunk.js.LICENSE.txt", "./static/js/141.8e50d943.chunk.js.LICENSE.txt": "/react/build/./static/js/141.8e50d943.chunk.js.LICENSE.txt", "./static/js/183.29034d2f.chunk.js.LICENSE.txt": "/react/build/./static/js/183.29034d2f.chunk.js.LICENSE.txt", "./static/js/2.d659edf3.chunk.js.LICENSE.txt": "/react/build/./static/js/2.d659edf3.chunk.js.LICENSE.txt", - "./static/js/28.a2b2d8a1.chunk.js.LICENSE.txt": "/react/build/./static/js/28.a2b2d8a1.chunk.js.LICENSE.txt", + "./static/js/28.ffd0fc63.chunk.js.LICENSE.txt": "/react/build/./static/js/28.ffd0fc63.chunk.js.LICENSE.txt", "./static/js/29.db12ed4e.chunk.js.LICENSE.txt": "/react/build/./static/js/29.db12ed4e.chunk.js.LICENSE.txt", - "./static/js/33.a0d3afd1.chunk.js.LICENSE.txt": "/react/build/./static/js/33.a0d3afd1.chunk.js.LICENSE.txt", - "./static/js/34.daead028.chunk.js.LICENSE.txt": "/react/build/./static/js/34.daead028.chunk.js.LICENSE.txt", - "./static/js/35.04e6ad13.chunk.js.LICENSE.txt": "/react/build/./static/js/35.04e6ad13.chunk.js.LICENSE.txt", - "./static/js/37.1015f157.chunk.js.LICENSE.txt": "/react/build/./static/js/37.1015f157.chunk.js.LICENSE.txt", + "./static/js/33.391ff637.chunk.js.LICENSE.txt": "/react/build/./static/js/33.391ff637.chunk.js.LICENSE.txt", + "./static/js/34.a97f8cd6.chunk.js.LICENSE.txt": "/react/build/./static/js/34.a97f8cd6.chunk.js.LICENSE.txt", + "./static/js/35.f6d4c52a.chunk.js.LICENSE.txt": "/react/build/./static/js/35.f6d4c52a.chunk.js.LICENSE.txt", + "./static/js/37.f3a26abd.chunk.js.LICENSE.txt": "/react/build/./static/js/37.f3a26abd.chunk.js.LICENSE.txt", "./static/js/7.0bf2c37c.chunk.js.LICENSE.txt": "/react/build/./static/js/7.0bf2c37c.chunk.js.LICENSE.txt", "./static/js/main.1be48b04.chunk.js.LICENSE.txt": "/react/build/./static/js/main.1be48b04.chunk.js.LICENSE.txt", "css.worker.js": "/react/build/css.worker.js", diff --git a/index.html b/index.html index 59540055d..1b6616328 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/service-worker.js b/service-worker.js index 4069919a2..c05212d92 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1 +1 @@ -"use strict";var precacheConfig=[["/react/build/css.worker.js","abadf65f7ed870870dccf00a50b3c6ef"],["/react/build/editor.worker.js","2a381dfa06623f377bb84adbc7b38062"],["/react/build/html.worker.js","028952cd3f435d71d238edcdc2ef2967"],["/react/build/index.html","4d029a32b1dfcd65b9841e136ce8f2e3"],["/react/build/json.worker.js","4a4ca127f837beaf0dddae0c74c81b57"],["/react/build/static/css/0.d9d88bd2.chunk.css","45259d31111b9a22f91937a03f4946cc"],["/react/build/static/css/1.0ba7a726.chunk.css","5f00325b238a8f0ad62fd2e2ac4e9e54"],["/react/build/static/css/10.69d15722.chunk.css","986325883bdaf7e0039748418c1f351f"],["/react/build/static/css/103.3edde0c7.chunk.css","fdec91b854d997a2d04e3cab3c33a778"],["/react/build/static/css/104.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/106.18309b6c.chunk.css","9df7203dac6e3154e2de7ddf9d0e8c0a"],["/react/build/static/css/11.1c5f3a58.chunk.css","5d39578b91b84e925bd702d0d56a0ea2"],["/react/build/static/css/111.1ff4022b.chunk.css","902f4dad6a750d9a4c48cf29ea57a3e7"],["/react/build/static/css/112.5b9090d0.chunk.css","607c732bca20848b90647640088720fc"],["/react/build/static/css/113.28bf6b3d.chunk.css","80d2b1a307596eba93f7e28d7e6af95e"],["/react/build/static/css/114.2d9ce95a.chunk.css","bff900e507a81620824f8a2a61b2b7fc"],["/react/build/static/css/115.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/116.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/117.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/118.f2060fe7.chunk.css","3dc3569f98f0d43324c3871cc5623426"],["/react/build/static/css/119.7d2667aa.chunk.css","002913b6d11bce0e6ed9be0f3531bd87"],["/react/build/static/css/12.303eab18.chunk.css","46d92a854d861f46ab033b490cce4eed"],["/react/build/static/css/120.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/13.1e970b46.chunk.css","2eabf412810b516f7aa2c27804f2552d"],["/react/build/static/css/14.4580c46d.chunk.css","8d16c1c5c5e4eaa8353e5b73aa97767e"],["/react/build/static/css/15.cf56d612.chunk.css","d4f765e1daf8beaae73ebaec51b4f472"],["/react/build/static/css/16.d0c774b5.chunk.css","7b3e0567aefcc4fcd35f5d0209d61610"],["/react/build/static/css/17.7bd7b9f3.chunk.css","0a57098eaafd05768954e758313b3d3b"],["/react/build/static/css/18.48209bdf.chunk.css","7f0c5ce70187023ec7d86e20e8c0cf4e"],["/react/build/static/css/19.e5544bad.chunk.css","cbc0ff5ebc043230b000704e2d49409a"],["/react/build/static/css/20.330fa4e3.chunk.css","474ecb619f4717696793d947b95cdc73"],["/react/build/static/css/21.db9266b0.chunk.css","a32c8d84228d2166ef778fd258a8a107"],["/react/build/static/css/22.0b7937b6.chunk.css","9d6660c0b626c128a1e6cd34da8267ed"],["/react/build/static/css/23.ae349a22.chunk.css","8c23511df1737358bf41e4098ff59993"],["/react/build/static/css/24.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/27.75aaa133.chunk.css","ad6c230d274e3223ef38a0d015368fe5"],["/react/build/static/css/28.efdbdb42.chunk.css","7edffa7f32f750ee8eb847dee66d860d"],["/react/build/static/css/29.ca2e5efb.chunk.css","bfa546ae7bd8a2a0e8e9f15878ba2c60"],["/react/build/static/css/31.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/32.33342a61.chunk.css","867c5fade26b46d4a07e88be93672f5d"],["/react/build/static/css/33.645b12a9.chunk.css","a0b019b94fa4f6000ac0ff50c655d25d"],["/react/build/static/css/34.e660a8ea.chunk.css","ce5963247ac9ddac0f59fe281c4c833b"],["/react/build/static/css/35.d3dc3d67.chunk.css","b85b0820f8287031754f2bb337217ed5"],["/react/build/static/css/36.e7bef5af.chunk.css","3dde34f86031bd4edd82168bd7e83d39"],["/react/build/static/css/37.9537f394.chunk.css","c02ee4b5daa2acedba92053eaaa442f8"],["/react/build/static/css/38.69d15722.chunk.css","986325883bdaf7e0039748418c1f351f"],["/react/build/static/css/4.2254a4a8.chunk.css","f08f007bb4e5e41b5aa87f2848a6c460"],["/react/build/static/css/40.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/41.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/42.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/43.0798580e.chunk.css","432992b420e544e1b2a7884521524a85"],["/react/build/static/css/45.080d6958.chunk.css","d9b5ca9cb767438bb42a4167d8c9141b"],["/react/build/static/css/48.90205e55.chunk.css","00eba11fb996a59e02c26e611538a624"],["/react/build/static/css/49.e8001192.chunk.css","b4d9acea6f289a480fab21ef3fb3b2f5"],["/react/build/static/css/5.d01698e8.chunk.css","f7bca4f3d6437baa7779df051da7a998"],["/react/build/static/css/50.0379bdda.chunk.css","ed55f8f6a1664983926938444907fafa"],["/react/build/static/css/51.e7df3dd3.chunk.css","95910bd47c525f17a48e7e59b50a1253"],["/react/build/static/css/52.32ee9943.chunk.css","9ee610dac6f9085c78887aa88c1c555a"],["/react/build/static/css/53.67a9b0d6.chunk.css","c75c3e15cc66ce6068cf5c6cc88b491d"],["/react/build/static/css/54.75d3df4f.chunk.css","56aa24932cd6174c631686c49456bcd2"],["/react/build/static/css/55.fc1462ad.chunk.css","152a3ce808dd840ede523e26d0af2616"],["/react/build/static/css/56.55132a20.chunk.css","fb8f5edfcf2726d731b12176b2172934"],["/react/build/static/css/57.1ff4022b.chunk.css","902f4dad6a750d9a4c48cf29ea57a3e7"],["/react/build/static/css/58.f8123c09.chunk.css","9c930952c58a50caecf3a9a4cc529056"],["/react/build/static/css/59.d180e9c7.chunk.css","3f5ac5fbd58c5dcf88cdd7ffb9001922"],["/react/build/static/css/6.bbfdfc43.chunk.css","a4dd127f859f497fde9a1cf9dbee1396"],["/react/build/static/css/61.520bfea6.chunk.css","ff724278085b6419943d6bd15edebd43"],["/react/build/static/css/62.a5678b8f.chunk.css","d374385a868481950227db6ceb1c2bb6"],["/react/build/static/css/63.b2109eb4.chunk.css","4215fbff912ba2ff16a8d0129bd4b326"],["/react/build/static/css/64.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/66.ea97577b.chunk.css","1211ec54a5dbd129cf63cacdc130ca13"],["/react/build/static/css/67.8758c8a2.chunk.css","9fef3d81242d37ca1fa6279bdd9a91ad"],["/react/build/static/css/68.61b37499.chunk.css","ce6325f2eb8a3c906dd19b2f05323049"],["/react/build/static/css/69.61b37499.chunk.css","ce6325f2eb8a3c906dd19b2f05323049"],["/react/build/static/css/7.ddd009c5.chunk.css","d1c593436d86afb7db7a82e7ee74acb9"],["/react/build/static/css/70.802376aa.chunk.css","ab9ca4eccd0f7f82106f926852c4413b"],["/react/build/static/css/71.1926e8da.chunk.css","bff37dcde82716bb405a930a27e9e5df"],["/react/build/static/css/72.72690062.chunk.css","de0b77d7d9c3e8ccab44f6af453b223a"],["/react/build/static/css/73.4054f41b.chunk.css","df7b038f8f1a0e16793b24bc950b9b22"],["/react/build/static/css/74.d16cbade.chunk.css","dcc39c53ac7340d5d3ecc95864109893"],["/react/build/static/css/75.131374a7.chunk.css","1a35fcd6b27d13b50b31c75eca200072"],["/react/build/static/css/76.c2f5b906.chunk.css","06c5db3c2a4617f217c383df8ad0b51f"],["/react/build/static/css/77.fd3fa2e9.chunk.css","97c0f9c3d8d16c05584bec1ce645cda0"],["/react/build/static/css/78.f4de1d43.chunk.css","afbb0128da60fcb8bc41db41f1cd17a3"],["/react/build/static/css/8.6e0686d9.chunk.css","518189592f4d54396239adb7c8a02413"],["/react/build/static/css/80.45444cfc.chunk.css","eb5e3c36bee6ed89ca7abd09cbd2fb2c"],["/react/build/static/css/81.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/82.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/87.a8f06a40.chunk.css","805c0ab14eb9b6a46588cc3fc10d3090"],["/react/build/static/css/88.33601a81.chunk.css","1999f1c51002bc6be6ea2ca937210bca"],["/react/build/static/css/89.632d7855.chunk.css","226acc64dfa2fad8420e5eadf2d7b32d"],["/react/build/static/css/9.d4345223.chunk.css","25bc66f1fcb304ce926c2de7598dc1dd"],["/react/build/static/css/90.f243baca.chunk.css","52a023dc3be7de773e46e2df6dbeb8ef"],["/react/build/static/css/91.3433735d.chunk.css","0dcaeb8ec33b64b138df13f2667490a3"],["/react/build/static/css/92.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/93.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/94.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/95.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/97.11a04942.chunk.css","1373d0214c811e25b7c1763ef9cf3287"],["/react/build/static/css/98.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/main.63a200c7.chunk.css","c3a188ce447d62a05721b65cc28d4114"],["/react/build/static/js/0.38cc2216.chunk.js","a4284c68ac642256950a71aad2989431"],["/react/build/static/js/1.9de07cbc.chunk.js","196c1ffd38b2415d627e2ab48865b2ee"],["/react/build/static/js/10.84066bda.chunk.js","a5763c09f0fdc4e0db8d1794cb37cd3d"],["/react/build/static/js/100.f63289ab.chunk.js","4648e3c513c739c7c74292fabb623f71"],["/react/build/static/js/101.834ac275.chunk.js","bc5f8ea5c0213ac20dc32c89af454275"],["/react/build/static/js/102.be283b95.chunk.js","ed5745b385a3f3546e3f4ce0ed793be7"],["/react/build/static/js/103.4dfc3187.chunk.js","256aef6f777f21b0de2fc56b0f59b5c6"],["/react/build/static/js/104.03062447.chunk.js","88e7d9cf8d22e50740326f0baf738cf0"],["/react/build/static/js/105.68abbc41.chunk.js","2219fec53a185b96e383086676e7ea90"],["/react/build/static/js/106.1647278d.chunk.js","8e55399c4f2d55151e515bda418276eb"],["/react/build/static/js/107.08e9e257.chunk.js","eb8f7ec65950d944bdfb4209f36bdd63"],["/react/build/static/js/108.1b18010f.chunk.js","514c3c3caba0fbb5e65395c73bdf2eb5"],["/react/build/static/js/109.2df9b48d.chunk.js","fbbf1008904eec6c210a297d97e589db"],["/react/build/static/js/11.faaf8a93.chunk.js","f8729e2481b26a7a9d4aee7919e5914f"],["/react/build/static/js/110.c892c6ca.chunk.js","10ef84e053343dc3a9c375c280fb79eb"],["/react/build/static/js/111.ea827803.chunk.js","f80870aeaffec99111fc449c3f20c059"],["/react/build/static/js/112.3bed1031.chunk.js","396a6472ab4494bc8ca99961e1719baf"],["/react/build/static/js/113.29c7cc99.chunk.js","1c07cc1359cc8097b49f2e746787e7aa"],["/react/build/static/js/114.01b0b51b.chunk.js","b21feb725a98b3e775cc1e131578c189"],["/react/build/static/js/115.843d4491.chunk.js","0d922039ebb91dcd4241bc6380d171ac"],["/react/build/static/js/116.9f4af3c3.chunk.js","fe9ffcf4b7ca2481dc6162836472ae10"],["/react/build/static/js/117.c2eca3b5.chunk.js","344b2f1a02511e0a30a428892975461f"],["/react/build/static/js/118.6563dfe9.chunk.js","539460744c5a0d1bfbca1ceb4a3fe242"],["/react/build/static/js/119.b9d81ed6.chunk.js","4df0a15396c3d63079679f9cd43c3635"],["/react/build/static/js/12.c9554159.chunk.js","b995ed030b1d19017da800df6defec05"],["/react/build/static/js/120.f580eacc.chunk.js","d41eda728e184a34c4441b1a9c14509f"],["/react/build/static/js/121.d3030f45.chunk.js","1cf23e11e4351b4c3b24a30e992e989f"],["/react/build/static/js/122.1541187d.chunk.js","791ff4a1c85459244ff50806d4fb3f64"],["/react/build/static/js/123.91f92593.chunk.js","8afb19d0f9583951c014437cfc2958c7"],["/react/build/static/js/124.aa5e07d0.chunk.js","eeb6b2945ddabe321c4197fa9349caa8"],["/react/build/static/js/125.ef5823c2.chunk.js","34f0d1a71bd793a7065c3a672ad2a66f"],["/react/build/static/js/126.3a5f0f38.chunk.js","291111e42c167c240ad70c9f9afd8048"],["/react/build/static/js/127.228308e9.chunk.js","950be75f0104dc8d2ffa6fe93d3ccee6"],["/react/build/static/js/128.3ace72d5.chunk.js","c6a2f8d45de29dc0c14a119e674efb5a"],["/react/build/static/js/129.22ca7983.chunk.js","582b1f2285172e0e4f18991d7bdbfb01"],["/react/build/static/js/13.7fbcee50.chunk.js","1117291f2f56cc723a46fa621531e21d"],["/react/build/static/js/130.2b2775c5.chunk.js","94193bf2d5d085df2f8bf6b79b4407ea"],["/react/build/static/js/131.096a9318.chunk.js","752fff67c1d6976d34b6c37b8ddde41d"],["/react/build/static/js/132.3f18a151.chunk.js","2c3b6f65cccc57be229f74451ede25eb"],["/react/build/static/js/133.d2e96d75.chunk.js","ea015052493cdecfe0bb84f54b06aea7"],["/react/build/static/js/134.38ad4c36.chunk.js","3237c92892e5e41df01f6b419a4f1308"],["/react/build/static/js/135.f8710ab2.chunk.js","91c19986390272814f0045a1e55cf0ab"],["/react/build/static/js/136.0ec29c66.chunk.js","458b23f9d399cfb839840d38c491070d"],["/react/build/static/js/137.b8c78b1e.chunk.js","0a821d9e6e052ffa448dca57e2c0c681"],["/react/build/static/js/138.9bd56623.chunk.js","360b1fad43be610a81f9d3107407754e"],["/react/build/static/js/139.f3fe7f8f.chunk.js","3c01d53d8e410e815261b5dc0d50a297"],["/react/build/static/js/14.f0cf283b.chunk.js","0424fcae097260f976ad32cc9bde241d"],["/react/build/static/js/14.f0cf283b.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/140.d5c4a6ed.chunk.js","058ef2d10cbf0a817beca5fa01ffc3a8"],["/react/build/static/js/141.8e50d943.chunk.js","4a89181c0c4890ceae6ca7f257527d4e"],["/react/build/static/js/141.8e50d943.chunk.js.LICENSE.txt","03278fe9381615d8b390847939a9eb37"],["/react/build/static/js/142.40edc494.chunk.js","d08768b2f9beadc167c28cfcc076bdb7"],["/react/build/static/js/143.a27b16c8.chunk.js","40ab8b69e3d97a380dfcdc02630be31b"],["/react/build/static/js/144.f21e2122.chunk.js","f450010f63ec978918f922e6ab262c59"],["/react/build/static/js/145.f6308c00.chunk.js","3ed0a9ced74f5153eca06426ac5de9b5"],["/react/build/static/js/146.9e71404f.chunk.js","d2e1416370b0996cc450fa8ffa516e38"],["/react/build/static/js/147.797ad9d6.chunk.js","a8a7d75d014a86681620c4a492d94faf"],["/react/build/static/js/148.5213994c.chunk.js","9f5c83eb28b70852cb57e2219c8f7b58"],["/react/build/static/js/149.f94fdbbe.chunk.js","61e87544ee7bf72a8c06ece10879b4ff"],["/react/build/static/js/15.5eff19c4.chunk.js","198930527a2a59e851a519dccd2df0e3"],["/react/build/static/js/150.3d055a08.chunk.js","d9695d3310adfa06f0e1cc799de87d47"],["/react/build/static/js/151.c1346360.chunk.js","b80aa451cceeb7e458f7b76c1bf0fab9"],["/react/build/static/js/152.4d091868.chunk.js","d6b0ee5ac90b1fdf07615e6adb462c84"],["/react/build/static/js/153.2a99dd8f.chunk.js","548dad5a5324b300a6bc6a00a4abba0c"],["/react/build/static/js/154.5e6b6a40.chunk.js","9250396072bbb2d5ff7068e6e9c64cbe"],["/react/build/static/js/155.c458f237.chunk.js","f5d9697b76b4bc04156b3df7cc5efaf2"],["/react/build/static/js/156.add4bbb8.chunk.js","8a2437d1fb9e5fb4735511ccb02e7203"],["/react/build/static/js/157.e4a8097d.chunk.js","d5063f0edaf763680757b8a8089ee942"],["/react/build/static/js/158.3905f9da.chunk.js","65681d065451c50c056fe1734aaf1a1e"],["/react/build/static/js/159.16e1e4eb.chunk.js","4b606b0d1278552507a20f2f151d2975"],["/react/build/static/js/16.f5587995.chunk.js","aaf96f7222e66aeef06890d1160ecd5c"],["/react/build/static/js/160.737d1285.chunk.js","eecd71d5719a981a743bd10a3d00b625"],["/react/build/static/js/161.08164945.chunk.js","323e66dd027efc58ba84485ebeb94953"],["/react/build/static/js/162.d26fad80.chunk.js","36179dfcc00fcd2f61330ac4d1a3bb59"],["/react/build/static/js/163.da9cf7d3.chunk.js","0fe1180d49fe25675f535d07bafdf01c"],["/react/build/static/js/164.8829c42a.chunk.js","9a2849235546db56cf5b9e3985042641"],["/react/build/static/js/165.78dd7452.chunk.js","6cc2b03c1fc76b7ef5b5015ca61b4e78"],["/react/build/static/js/166.4a97c61f.chunk.js","e311aa18c45857ccf7b848f16e8f120f"],["/react/build/static/js/167.53ce0edc.chunk.js","8bc42ea8d34b58ed4814d3c869267ef3"],["/react/build/static/js/168.b796e1f9.chunk.js","ab50a3e8e8656ffc343c68e82877422a"],["/react/build/static/js/169.69fd1209.chunk.js","11cae358eb536b9f1921979e61e1f8cb"],["/react/build/static/js/17.deaa743d.chunk.js","196b6321fcb40bb3296d2f9222e57a1a"],["/react/build/static/js/170.cdc4ebff.chunk.js","a8830871976256ae3621e0d1653ddd31"],["/react/build/static/js/171.5c79c735.chunk.js","3e68e938e6a902dae8798fe7f21d7bd3"],["/react/build/static/js/172.e7094dd8.chunk.js","4535064236ca5290de0c9eb8e5bbc20e"],["/react/build/static/js/173.91aceac6.chunk.js","e426af70c72250a3c28e6f80e9f32e9f"],["/react/build/static/js/174.11e57a60.chunk.js","72247febef0ed259d32774e80dbf5f77"],["/react/build/static/js/175.6b020b0c.chunk.js","322b691778408a1d2c844326651a4d49"],["/react/build/static/js/176.e25b99e7.chunk.js","94bb8717876fb7c8d712b8c9a1d4c485"],["/react/build/static/js/177.cd47a9c7.chunk.js","f8ba4982f8e842cbde9f5b43eb68aecb"],["/react/build/static/js/178.395dd269.chunk.js","3e27cbb3f68a93965ca40ad07ef47cef"],["/react/build/static/js/179.bdb4ce63.chunk.js","183cee8919c003cf09a4b68b817ff28a"],["/react/build/static/js/18.8cf5ab5f.chunk.js","2794f8eed36ff5691369b773c224c519"],["/react/build/static/js/180.87c0400a.chunk.js","53313e8cb209355fedf8d972f751ebbf"],["/react/build/static/js/181.a39f202f.chunk.js","43721d7eb00cfd5caa91e0c818753354"],["/react/build/static/js/182.2618a8e0.chunk.js","7d06280ea9f77159f0e41174eeb48a94"],["/react/build/static/js/183.29034d2f.chunk.js","ad22b7a89887ccfccef4a67b2fc1ec66"],["/react/build/static/js/183.29034d2f.chunk.js.LICENSE.txt","cf224aa154060b2c3c86fa6ed5af6aa8"],["/react/build/static/js/184.29955220.chunk.js","0d563716a7b3341225afb54ea58280ce"],["/react/build/static/js/185.85a03448.chunk.js","9e423774248cf25fe931ee18a115cafa"],["/react/build/static/js/186.ffdfec91.chunk.js","d5a1e57d59e13639d2aeb8fda2f7ee7c"],["/react/build/static/js/187.85a9d546.chunk.js","b8a0b285a4f1c6a87ec836ff78413ab4"],["/react/build/static/js/188.676f6152.chunk.js","1fa5db9cb9d4461f986ec4cc64af5871"],["/react/build/static/js/19.4fd41f28.chunk.js","897fe95c7e3f29e0c16b1718fe1ffc78"],["/react/build/static/js/2.d659edf3.chunk.js","065445e7fc654996bfafff7a4b1b5ce8"],["/react/build/static/js/2.d659edf3.chunk.js.LICENSE.txt","7ec01595672f75e83fd81b41f132f4c1"],["/react/build/static/js/20.ecc2a430.chunk.js","f8d735864a0f69abedc25d669f18c0c7"],["/react/build/static/js/21.de738cfc.chunk.js","b723fd380f2d531c65ff11eda741e2f6"],["/react/build/static/js/22.b6cf24cd.chunk.js","b39ee316c6808527670bdcaadf4b4cc3"],["/react/build/static/js/23.d37ae96a.chunk.js","f618e85ff922fc8379e7d5c3d9a76bcb"],["/react/build/static/js/24.6624507c.chunk.js","9e2ebb7b14d7c1b7c210af21546bbce2"],["/react/build/static/js/25.05a52572.chunk.js","d7363e94d6571874409f5fa9c8883d1e"],["/react/build/static/js/26.e9e9c6fc.chunk.js","72406fc6d20cb7206e9cd572fea0c361"],["/react/build/static/js/27.99eef048.chunk.js","920d6dbc8dfe21d2ecc66f98ee07514e"],["/react/build/static/js/28.a2b2d8a1.chunk.js","d5a048c3806bb2aa8b57fcb0926aaf3d"],["/react/build/static/js/28.a2b2d8a1.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/29.db12ed4e.chunk.js","6d5925153f8d743402bc0edbeb4b0b89"],["/react/build/static/js/29.db12ed4e.chunk.js.LICENSE.txt","275fe79abee3b697f1673c8bd9c58856"],["/react/build/static/js/3.37f89ed4.chunk.js","efbb19289c58d87909ca77d2b71eb8c6"],["/react/build/static/js/30.40d07ad1.chunk.js","c688b06d4273131d46f57e408d0bec28"],["/react/build/static/js/31.233b41f7.chunk.js","9c72172e8bab81edd6e750a79473e993"],["/react/build/static/js/32.b9e523d7.chunk.js","c1e5b72eedde5f8a38108cc7e0a6ed36"],["/react/build/static/js/33.a0d3afd1.chunk.js","0b87a7e21d50c1d0eb3a827e0b72d1f3"],["/react/build/static/js/33.a0d3afd1.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/34.daead028.chunk.js","a3d09cbca863d2c8a9b9a3161900b05e"],["/react/build/static/js/34.daead028.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/35.04e6ad13.chunk.js","79c7fb5a6d55d0403174b65f58305e50"],["/react/build/static/js/35.04e6ad13.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/36.1969f13e.chunk.js","c6a866ec31b8471862b6a4273c63bca2"],["/react/build/static/js/37.1015f157.chunk.js","d4531c6f2981a937568298fd6895e350"],["/react/build/static/js/37.1015f157.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/38.9b757329.chunk.js","3b022bb981a50917899d8dd03563f836"],["/react/build/static/js/39.2a924fd5.chunk.js","cef9391ad1721dbec3a6f4f204d49a83"],["/react/build/static/js/4.4d2d662b.chunk.js","26133418ac8b9aa044b555dded0a9ce7"],["/react/build/static/js/40.82e1cc5f.chunk.js","bb5eb85d35e2a00224befb612e0215fa"],["/react/build/static/js/41.c38b357e.chunk.js","259975f7ed1493ac45f140122a668430"],["/react/build/static/js/42.270cb647.chunk.js","2ce8bd5ba81ee651ba916343ece7fb33"],["/react/build/static/js/43.9ab42e7e.chunk.js","bdd0c8bf5940d8258c3fe3a871eafb9a"],["/react/build/static/js/44.1ed82fbb.chunk.js","dbd05f90d3d535c6f4228427e159dd0b"],["/react/build/static/js/45.10ca6320.chunk.js","ba26941db043a68f4371f8dd06bf69cc"],["/react/build/static/js/46.9f0b88f1.chunk.js","70c62109281cc08e0192fdcb6e2e7e78"],["/react/build/static/js/47.505c2746.chunk.js","61f8285b678c8d3a344cfd6275d9d7ac"],["/react/build/static/js/48.edae787f.chunk.js","6aae802735a90b9fdfdc4990da0bd077"],["/react/build/static/js/49.474bc174.chunk.js","c396efa90acc5b9ca3a2428dd4b40797"],["/react/build/static/js/5.ba9c3134.chunk.js","6f55d41c958d9daa9388eff6fff951bf"],["/react/build/static/js/50.ada9d135.chunk.js","f5fa3b9304402e55d99f092bbbfd85d7"],["/react/build/static/js/51.58be8fa8.chunk.js","3b1bfcbb6c3ac144adf531fd096900f7"],["/react/build/static/js/52.57805ddb.chunk.js","114bd474269e5e3cbebe19e240ba956c"],["/react/build/static/js/53.1e38166e.chunk.js","3471d0585d74c86b56c30893e3249256"],["/react/build/static/js/54.c5bcfd46.chunk.js","2d08a1a2ef4d32d8278549b4db4a01c0"],["/react/build/static/js/55.a2fdae72.chunk.js","da1d04679c3976196adfe984feb12d91"],["/react/build/static/js/56.25a26106.chunk.js","16f14ca0be163212d27df6e2b607cc0e"],["/react/build/static/js/57.9325474d.chunk.js","71be5b00745bf1643544921b27a14cd6"],["/react/build/static/js/58.b5ca14cf.chunk.js","3c27942741b27e472c0ee2571dcd8f42"],["/react/build/static/js/59.d746baef.chunk.js","8fed9651f6f85db84d59c1cc6578d8a7"],["/react/build/static/js/6.69ca2fc8.chunk.js","26af653d5e4dc15976cb400b0efbfe66"],["/react/build/static/js/60.098bd543.chunk.js","84e07179f5b29bb334cf9f1f146e2cd6"],["/react/build/static/js/61.d295c2a5.chunk.js","892669e8830c7aa9e090c8e29328c5b5"],["/react/build/static/js/62.d8a25af7.chunk.js","b19c236ce5c1f7e03a714549a10f4c49"],["/react/build/static/js/63.f1b4aeb7.chunk.js","905b43fe374003d8568b9bc648b11f41"],["/react/build/static/js/64.94ae0067.chunk.js","053f1e67f7580b67924c07e8398b980d"],["/react/build/static/js/65.ad9bb744.chunk.js","9a4592ea6670246b851e16800b7dc931"],["/react/build/static/js/66.92909981.chunk.js","801a76195ffb9ab2a03d25374127909d"],["/react/build/static/js/67.46be3d2c.chunk.js","8735b7067c6f200f6c74e08cdb181678"],["/react/build/static/js/68.d1c952c6.chunk.js","2169e6a3671ce651f14e6eb50df7eea7"],["/react/build/static/js/69.ad0246bd.chunk.js","ceb8fbd2f23dc232c1befaa0feb9762b"],["/react/build/static/js/7.0bf2c37c.chunk.js","09021309cbf13356a88ac14b30c4ac36"],["/react/build/static/js/7.0bf2c37c.chunk.js.LICENSE.txt","275fe79abee3b697f1673c8bd9c58856"],["/react/build/static/js/70.ac509452.chunk.js","a146b90588e4b772e25e5cbde49a102e"],["/react/build/static/js/71.8d37ad43.chunk.js","df2c1d624ef11a3c4d5ec267fbe7ec80"],["/react/build/static/js/72.8066a00e.chunk.js","f8684636de8a61de5e16dc7cf3385316"],["/react/build/static/js/73.16a53e3b.chunk.js","55a739adda821ad82e99ad96e2d5e521"],["/react/build/static/js/74.d409058a.chunk.js","a9540ed5b576ef0916d8c9838250d239"],["/react/build/static/js/75.2490c77d.chunk.js","318750c5539eccdf4db8db3007f5efcd"],["/react/build/static/js/76.691766f4.chunk.js","a0c172482c633e7323050695694a1518"],["/react/build/static/js/77.0d80a213.chunk.js","c316b0a39b39da673560608069e648bc"],["/react/build/static/js/78.a8bd2e81.chunk.js","206eafaea1cb21e0c233396e3a57206c"],["/react/build/static/js/79.8edb03bc.chunk.js","6e937387c8ab4b9ccb13860ede1530ab"],["/react/build/static/js/8.7ad76529.chunk.js","b40726bb167b58649acdc1b616c744be"],["/react/build/static/js/80.05713831.chunk.js","5cbb2ef3ea55a97c8bacc3e7fdb9d407"],["/react/build/static/js/81.9e9bf3fd.chunk.js","5789c41cdcff4db6bb5c6ac438c7eb9c"],["/react/build/static/js/82.fd712587.chunk.js","355ed67b8ba4e4f86f56c7da256f2697"],["/react/build/static/js/83.b9f283c4.chunk.js","0ebdc39dcb0a7ef2a1f1249d006527de"],["/react/build/static/js/84.9bb7165f.chunk.js","bb81ea81819f8591af338b1e3f667d39"],["/react/build/static/js/85.bfbe6043.chunk.js","eb7a6cc87a295c00fb44294faca2d7d2"],["/react/build/static/js/86.cffbf64f.chunk.js","367be6a2dbe0a6d0cd89349e8352db0a"],["/react/build/static/js/87.524fb1bf.chunk.js","0865d9ed403edad00593fca78470701b"],["/react/build/static/js/88.4272341d.chunk.js","d3a545236857c75586bb3fd41a185310"],["/react/build/static/js/89.439698fa.chunk.js","f40586ed2fdf2f415b7e2c2dd88b76b7"],["/react/build/static/js/9.74545efc.chunk.js","87dfaf30a42d5c9b59ce22ee2450b2f2"],["/react/build/static/js/90.a0daaf98.chunk.js","704c4b37c1d27a41d56a0b7e1e47312c"],["/react/build/static/js/91.77a9265e.chunk.js","eb409d56ce814809a330d08e1cb911c3"],["/react/build/static/js/92.82446fd7.chunk.js","491b863f4a145e178eb14860a843cc37"],["/react/build/static/js/93.ac23f8d1.chunk.js","027bcab803a9014f2a50280715a6297e"],["/react/build/static/js/94.b473b8bb.chunk.js","3320d45166cd7671cf72142fe85ccdd7"],["/react/build/static/js/95.59056788.chunk.js","a7b89c04a79887f60c8cff66ba5a669f"],["/react/build/static/js/96.1730ba73.chunk.js","af153cb6e84d5f82b1140c5922e168fe"],["/react/build/static/js/97.f2dca402.chunk.js","0a63d263b85157927f42b6e2539c39c7"],["/react/build/static/js/98.893b36bc.chunk.js","c0697b9f42075e0abf5964d174e15024"],["/react/build/static/js/99.a319c9e2.chunk.js","737db85fc2409bff69b7783f629d72c5"],["/react/build/static/js/main.1be48b04.chunk.js.LICENSE.txt","20c4c9722b39971e742932d08ec3daf5"],["/react/build/static/js/runtime~main.ca01df79.js","11b96e68ab3e43c5541708ae36c6d0e1"],["/react/build/static/media/KaTeX_AMS-Regular.b1489df1.woff","7f06b4e30317f784d61d26686aed0ab2"],["/react/build/static/media/KaTeX_AMS-Regular.d4531cf7.woff2","e78e28b4834954df047e4925e9dbf354"],["/react/build/static/media/KaTeX_AMS-Regular.f80d9eaf.ttf","aaf4eee9fba9907d61c3935e0b6a54ae"],["/react/build/static/media/KaTeX_Caligraphic-Bold.0c96bc8f.ttf","021dd4dc61ee5f5cdf315f43b48c094b"],["/react/build/static/media/KaTeX_Caligraphic-Bold.7ce7636b.woff","1e802ca9dedc4ed4e3c6f645e4316128"],["/react/build/static/media/KaTeX_Caligraphic-Bold.f046a374.woff2","4ec58befa687e9752c3c91cd9bcf1bcb"],["/react/build/static/media/KaTeX_Caligraphic-Regular.35f3c951.ttf","d49f2d55ce4f40f982d8ba63d746fbf9"],["/react/build/static/media/KaTeX_Caligraphic-Regular.4519ba4c.woff2","7edb53b6693d75b8a2232481eea1a52c"],["/react/build/static/media/KaTeX_Caligraphic-Regular.4a559f36.woff","d3b46c3a530116933081d9d74e3e9fe8"],["/react/build/static/media/KaTeX_Fraktur-Bold.069514d4.ttf","a31e7cba7b7221ebf1a2ae545fb306b2"],["/react/build/static/media/KaTeX_Fraktur-Bold.2ea3916b.woff","c4c8cab7d5be97b2bb283e531c077355"],["/react/build/static/media/KaTeX_Fraktur-Bold.5b8749ee.woff2","d5b59ec9764e10f4a82369ae29f3ac58"],["/react/build/static/media/KaTeX_Fraktur-Regular.0d90113d.woff","b7d9c46bff5d51da6209e355cc4a235d"],["/react/build/static/media/KaTeX_Fraktur-Regular.2c629b06.woff2","32a5339eb809f381a7357ba56f82aab3"],["/react/build/static/media/KaTeX_Fraktur-Regular.96556db6.ttf","a48dad4f58c82e38a10da0ceebb86370"],["/react/build/static/media/KaTeX_Main-Bold.07e762d0.ttf","9ceff51b3cb7ce6eb4e8efa8163a1472"],["/react/build/static/media/KaTeX_Main-Bold.20b90c20.woff2","8e1e01c4b1207c0a383d9a2b4f86e637"],["/react/build/static/media/KaTeX_Main-Bold.a9cdbc85.woff","22086eb5d97009c3e99bcc1d16ce6865"],["/react/build/static/media/KaTeX_Main-BoldItalic.7649d52f.woff","4c57dbc44bfff1fdf08a59cf556fdab3"],["/react/build/static/media/KaTeX_Main-BoldItalic.b345de5b.woff2","284a17fe5baf72ff8217d4c7e70c0f82"],["/react/build/static/media/KaTeX_Main-BoldItalic.bc8d96e9.ttf","e8b44b990516dab7937bf240fde8b46a"],["/react/build/static/media/KaTeX_Main-Italic.44a32ae6.ttf","29c86397e75cdcb3135af8295f1c2e28"],["/react/build/static/media/KaTeX_Main-Italic.ab751a9e.woff2","e533d5a2506cf053cd671b335ec04dde"],["/react/build/static/media/KaTeX_Main-Italic.e3954fe9.woff","99be0e10c38cd42466e6fe1665ef9536"],["/react/build/static/media/KaTeX_Main-Regular.13b3f852.woff2","5c734d78610fa35282f3379f866707f2"],["/react/build/static/media/KaTeX_Main-Regular.9e75cd60.woff","b741441f6d71014d0453ca3ebc884dd4"],["/react/build/static/media/KaTeX_Main-Regular.af7fc7b3.ttf","5c94aef490324b0925dbe5f643e8fd04"],["/react/build/static/media/KaTeX_Math-BoldItalic.4d6241be.ttf","9a2834a9ff8ab411153571e0e55ac693"],["/react/build/static/media/KaTeX_Math-BoldItalic.94810ff6.woff","b13731ef4e2bfc3d8d859271e39550fc"],["/react/build/static/media/KaTeX_Math-BoldItalic.d5d35e84.woff2","d747bd1e7a6a43864285edd73dcde253"],["/react/build/static/media/KaTeX_Math-Italic.11278d36.woff","f0303906c2a67ac63bf1e8ccd638a89e"],["/react/build/static/media/KaTeX_Math-Italic.cae7ea26.ttf","291e76b8871b84560701bd29f9d1dcc7"],["/react/build/static/media/KaTeX_Math-Italic.ffda8803.woff2","4ad08b826b8065e1eab85324d726538c"],["/react/build/static/media/KaTeX_SansSerif-Bold.2946bdb5.woff","3fb419559955e3ce75619f1a5e8c6c84"],["/react/build/static/media/KaTeX_SansSerif-Bold.5a20a475.woff2","6e0830bee40435e72165345e0682fbfc"],["/react/build/static/media/KaTeX_SansSerif-Bold.f0ad0abc.ttf","7dc027cba9f7b11ec92af4a311372a85"],["/react/build/static/media/KaTeX_SansSerif-Italic.c7feacd5.ttf","4059868e460d2d2e6be18e180d20c43d"],["/react/build/static/media/KaTeX_SansSerif-Italic.c834ba6d.woff","727a9b0d97d72d2fc0228fe4e07fb4d8"],["/react/build/static/media/KaTeX_SansSerif-Italic.e5fc2aef.woff2","fba01c9c6fb2866a0f95bcacb2c187a5"],["/react/build/static/media/KaTeX_SansSerif-Regular.5af9e1cf.ttf","5c58d168c0b66d2c32234a6718e74dfb"],["/react/build/static/media/KaTeX_SansSerif-Regular.5bf28900.woff2","d929cd671b19f0cfea55b6200fb47461"],["/react/build/static/media/KaTeX_SansSerif-Regular.a4fd0563.woff","2555754a67062cac3a0913b715ab982f"],["/react/build/static/media/KaTeX_Script-Regular.a1c15978.woff2","755e2491f13b5269f0afd5a56f7aa692"],["/react/build/static/media/KaTeX_Script-Regular.cd3b0634.woff","d524c9a5b62a17f98f4a97af37fea735"],["/react/build/static/media/KaTeX_Script-Regular.dd0db7ae.ttf","d12ea9efb375f9dc331f562e69892638"],["/react/build/static/media/KaTeX_Size1-Regular.1876361f.woff2","048c39cba4dfb0460682a45e84548e4b"],["/react/build/static/media/KaTeX_Size1-Regular.bbd9552c.ttf","7342d45b052c3a2abc21049959fbab7f"],["/react/build/static/media/KaTeX_Size1-Regular.c4ae0d25.woff","08b5f00e7140f7a10e62c8e2484dfa5a"],["/react/build/static/media/KaTeX_Size2-Regular.635e9324.woff","af24b0e4b7e52656ca77914695c99930"],["/react/build/static/media/KaTeX_Size2-Regular.d1e8ff17.ttf","eb130dcc661de766c999c60ba1525a88"],["/react/build/static/media/KaTeX_Size2-Regular.f516b73c.woff2","81d6b8d5ca77d63d5033d6991549a659"],["/react/build/static/media/KaTeX_Size3-Regular.1ef7adae.woff2","b311ca09df2c89a10fbb914b5a053805"],["/react/build/static/media/KaTeX_Size3-Regular.5d632274.ttf","7e02a40c41e52dc3b2b6b197bbdf05ea"],["/react/build/static/media/KaTeX_Size3-Regular.f32a9fde.woff","0d8926405d832a4b065e516bd385d812"],["/react/build/static/media/KaTeX_Size4-Regular.1d132596.ttf","ad7672524b64b730dfd176140a8945cb"],["/react/build/static/media/KaTeX_Size4-Regular.4f012d6a.woff2","6a3255dfc1ba41c46e7e807f8ab16c49"],["/react/build/static/media/KaTeX_Size4-Regular.f668d566.woff","68895bb880a61a7fc019dbfaa5121bb4"],["/react/build/static/media/KaTeX_Typewriter-Regular.4f31d033.woff2","6cc31ea5c223c88705a13727a71417fa"],["/react/build/static/media/KaTeX_Typewriter-Regular.b1d1af1a.ttf","257023560753aeb0b89b7e434d3da17f"],["/react/build/static/media/KaTeX_Typewriter-Regular.d3c8e68f.woff","3fe216d2a5f736c560cde71984554b64"],["/react/build/static/media/banner_list.e02c5e16.jpg","bc53dcd5b0731ce2ac28c3ea02a01c97"],["/react/build/static/media/beijintulogontwo.41076faf.png","245dc9e1ed09d34f605c2d5799ee3327"],["/react/build/static/media/educoder.695bfe08.png","0bc98d3f00dce03f9f4bef39aa288335"],["/react/build/static/media/slick.2630a3e3.svg","f97e3bbf73254b0112091d0192f17aec"],["/react/build/static/media/slick.29518378.woff","b7c9e1e479de3b53f1e4e30ebac2403a"],["/react/build/static/media/slick.a4e97f5a.eot","ced611daf7709cc778da928fec876475"],["/react/build/static/media/slick.c94f7671.ttf","d41f55a78e6f49a5512878df1737e58a"],["/react/build/ts.worker.js.LICENSE.txt","ce15c9d372cc5baeacdeb733817bdde4"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(c,a){var e=new URL(c);return"/"===e.pathname.slice(-1)&&(e.pathname+=a),e.toString()},cleanResponse=function(a){return a.redirected?("body"in a?Promise.resolve(a.body):a.blob()).then(function(c){return new Response(c,{headers:a.headers,status:a.status,statusText:a.statusText})}):Promise.resolve(a)},createCacheKey=function(c,a,e,d){var t=new URL(c);return d&&t.pathname.match(d)||(t.search+=(t.search?"&":"")+encodeURIComponent(a)+"="+encodeURIComponent(e)),t.toString()},isPathWhitelisted=function(c,a){if(0===c.length)return!0;var e=new URL(a).pathname;return c.some(function(c){return e.match(c)})},stripIgnoredUrlParameters=function(c,e){var a=new URL(c);return a.hash="",a.search=a.search.slice(1).split("&").map(function(c){return c.split("=")}).filter(function(a){return e.every(function(c){return!c.test(a[0])})}).map(function(c){return c.join("=")}).join("&"),a.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(c){var a=c[0],e=c[1],d=new URL(a,self.location),t=createCacheKey(d,hashParamName,e,/\.\w{8}\./);return[d.toString(),t]}));function setOfCachedUrls(c){return c.keys().then(function(c){return c.map(function(c){return c.url})}).then(function(c){return new Set(c)})}self.addEventListener("install",function(c){c.waitUntil(caches.open(cacheName).then(function(d){return setOfCachedUrls(d).then(function(e){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(a){if(!e.has(a)){var c=new Request(a,{credentials:"same-origin"});return fetch(c).then(function(c){if(!c.ok)throw new Error("Request for "+a+" returned a response with status "+c.status);return cleanResponse(c).then(function(c){return d.put(a,c)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(c){var e=new Set(urlsToCacheKeys.values());c.waitUntil(caches.open(cacheName).then(function(a){return a.keys().then(function(c){return Promise.all(c.map(function(c){if(!e.has(c.url))return a.delete(c)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(a){if("GET"===a.request.method){var c,e=stripIgnoredUrlParameters(a.request.url,ignoreUrlParametersMatching),d="index.html";(c=urlsToCacheKeys.has(e))||(e=addDirectoryIndex(e,d),c=urlsToCacheKeys.has(e));var t="/react/build/index.html";!c&&"navigate"===a.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],a.request.url)&&(e=new URL(t,self.location).toString(),c=urlsToCacheKeys.has(e)),c&&a.respondWith(caches.open(cacheName).then(function(c){return c.match(urlsToCacheKeys.get(e)).then(function(c){if(c)return c;throw Error("The cached response that was expected is missing.")})}).catch(function(c){return console.warn('Couldn\'t serve response for "%s" from cache: %O',a.request.url,c),fetch(a.request)}))}}); \ No newline at end of file +"use strict";var precacheConfig=[["/react/build/css.worker.js","abadf65f7ed870870dccf00a50b3c6ef"],["/react/build/editor.worker.js","2a381dfa06623f377bb84adbc7b38062"],["/react/build/html.worker.js","028952cd3f435d71d238edcdc2ef2967"],["/react/build/index.html","f36bd4238a3474eb07d9cb9669bb0db4"],["/react/build/json.worker.js","4a4ca127f837beaf0dddae0c74c81b57"],["/react/build/static/css/0.d9d88bd2.chunk.css","45259d31111b9a22f91937a03f4946cc"],["/react/build/static/css/1.0ba7a726.chunk.css","5f00325b238a8f0ad62fd2e2ac4e9e54"],["/react/build/static/css/10.b886fd74.chunk.css","60fa5dd2656384cbe2538aaff6e9ffa7"],["/react/build/static/css/103.3edde0c7.chunk.css","fdec91b854d997a2d04e3cab3c33a778"],["/react/build/static/css/104.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/106.18309b6c.chunk.css","9df7203dac6e3154e2de7ddf9d0e8c0a"],["/react/build/static/css/11.4580c46d.chunk.css","8d16c1c5c5e4eaa8353e5b73aa97767e"],["/react/build/static/css/111.1ff4022b.chunk.css","902f4dad6a750d9a4c48cf29ea57a3e7"],["/react/build/static/css/112.eccc1e85.chunk.css","c51876c31f43b057b56f65ff4d93511d"],["/react/build/static/css/113.28bf6b3d.chunk.css","80d2b1a307596eba93f7e28d7e6af95e"],["/react/build/static/css/114.2d9ce95a.chunk.css","bff900e507a81620824f8a2a61b2b7fc"],["/react/build/static/css/115.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/116.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/117.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/118.f2060fe7.chunk.css","3dc3569f98f0d43324c3871cc5623426"],["/react/build/static/css/119.7d2667aa.chunk.css","002913b6d11bce0e6ed9be0f3531bd87"],["/react/build/static/css/12.1c5f3a58.chunk.css","5d39578b91b84e925bd702d0d56a0ea2"],["/react/build/static/css/120.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/13.6937230d.chunk.css","074bc580c4658583f203b06972e8f72e"],["/react/build/static/css/14.1e970b46.chunk.css","2eabf412810b516f7aa2c27804f2552d"],["/react/build/static/css/15.cf56d612.chunk.css","d4f765e1daf8beaae73ebaec51b4f472"],["/react/build/static/css/16.d0c774b5.chunk.css","7b3e0567aefcc4fcd35f5d0209d61610"],["/react/build/static/css/17.7bd7b9f3.chunk.css","0a57098eaafd05768954e758313b3d3b"],["/react/build/static/css/18.48209bdf.chunk.css","7f0c5ce70187023ec7d86e20e8c0cf4e"],["/react/build/static/css/19.e5544bad.chunk.css","cbc0ff5ebc043230b000704e2d49409a"],["/react/build/static/css/20.330fa4e3.chunk.css","474ecb619f4717696793d947b95cdc73"],["/react/build/static/css/21.db9266b0.chunk.css","a32c8d84228d2166ef778fd258a8a107"],["/react/build/static/css/22.0b7937b6.chunk.css","9d6660c0b626c128a1e6cd34da8267ed"],["/react/build/static/css/23.ae349a22.chunk.css","8c23511df1737358bf41e4098ff59993"],["/react/build/static/css/24.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/27.75aaa133.chunk.css","ad6c230d274e3223ef38a0d015368fe5"],["/react/build/static/css/28.efdbdb42.chunk.css","7edffa7f32f750ee8eb847dee66d860d"],["/react/build/static/css/29.efe18c78.chunk.css","0c78b9d6a4e16cbd77fc4ee2628208be"],["/react/build/static/css/31.93537df9.chunk.css","12f8e284799330f3208cf59c4a435ebb"],["/react/build/static/css/32.33342a61.chunk.css","867c5fade26b46d4a07e88be93672f5d"],["/react/build/static/css/33.645b12a9.chunk.css","a0b019b94fa4f6000ac0ff50c655d25d"],["/react/build/static/css/34.e660a8ea.chunk.css","ce5963247ac9ddac0f59fe281c4c833b"],["/react/build/static/css/35.d3dc3d67.chunk.css","b85b0820f8287031754f2bb337217ed5"],["/react/build/static/css/36.35deec2d.chunk.css","b6fe13b30f212da7349a495a6085c1f5"],["/react/build/static/css/37.9537f394.chunk.css","c02ee4b5daa2acedba92053eaaa442f8"],["/react/build/static/css/38.b886fd74.chunk.css","60fa5dd2656384cbe2538aaff6e9ffa7"],["/react/build/static/css/4.2254a4a8.chunk.css","f08f007bb4e5e41b5aa87f2848a6c460"],["/react/build/static/css/40.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/41.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/42.88cc3b5e.chunk.css","b0f4b693bd04f8403f22cd9c62e5bb70"],["/react/build/static/css/43.450fc162.chunk.css","c397c0718b4703b7a5049d3975e2f348"],["/react/build/static/css/45.080d6958.chunk.css","d9b5ca9cb767438bb42a4167d8c9141b"],["/react/build/static/css/48.90205e55.chunk.css","00eba11fb996a59e02c26e611538a624"],["/react/build/static/css/49.e8001192.chunk.css","b4d9acea6f289a480fab21ef3fb3b2f5"],["/react/build/static/css/5.d01698e8.chunk.css","f7bca4f3d6437baa7779df051da7a998"],["/react/build/static/css/50.c5cf0da3.chunk.css","ed55f8f6a1664983926938444907fafa"],["/react/build/static/css/51.e7df3dd3.chunk.css","95910bd47c525f17a48e7e59b50a1253"],["/react/build/static/css/52.32ee9943.chunk.css","9ee610dac6f9085c78887aa88c1c555a"],["/react/build/static/css/53.67a9b0d6.chunk.css","c75c3e15cc66ce6068cf5c6cc88b491d"],["/react/build/static/css/54.75d3df4f.chunk.css","56aa24932cd6174c631686c49456bcd2"],["/react/build/static/css/55.4cfdab21.chunk.css","64ea7b54f61b6a7489dcf5f34cc89c97"],["/react/build/static/css/56.55132a20.chunk.css","fb8f5edfcf2726d731b12176b2172934"],["/react/build/static/css/57.1ff4022b.chunk.css","902f4dad6a750d9a4c48cf29ea57a3e7"],["/react/build/static/css/58.f8123c09.chunk.css","9c930952c58a50caecf3a9a4cc529056"],["/react/build/static/css/59.79f5f7f7.chunk.css","c0b42a9e78c1addd4a431e33a3b2bc17"],["/react/build/static/css/6.bbfdfc43.chunk.css","a4dd127f859f497fde9a1cf9dbee1396"],["/react/build/static/css/61.520bfea6.chunk.css","ff724278085b6419943d6bd15edebd43"],["/react/build/static/css/62.a5678b8f.chunk.css","d374385a868481950227db6ceb1c2bb6"],["/react/build/static/css/63.b2109eb4.chunk.css","4215fbff912ba2ff16a8d0129bd4b326"],["/react/build/static/css/64.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/66.8758c8a2.chunk.css","9fef3d81242d37ca1fa6279bdd9a91ad"],["/react/build/static/css/67.ea97577b.chunk.css","1211ec54a5dbd129cf63cacdc130ca13"],["/react/build/static/css/68.61b37499.chunk.css","ce6325f2eb8a3c906dd19b2f05323049"],["/react/build/static/css/69.61b37499.chunk.css","ce6325f2eb8a3c906dd19b2f05323049"],["/react/build/static/css/7.ddd009c5.chunk.css","d1c593436d86afb7db7a82e7ee74acb9"],["/react/build/static/css/70.802376aa.chunk.css","ab9ca4eccd0f7f82106f926852c4413b"],["/react/build/static/css/71.1926e8da.chunk.css","bff37dcde82716bb405a930a27e9e5df"],["/react/build/static/css/72.72690062.chunk.css","de0b77d7d9c3e8ccab44f6af453b223a"],["/react/build/static/css/73.4054f41b.chunk.css","df7b038f8f1a0e16793b24bc950b9b22"],["/react/build/static/css/74.d16cbade.chunk.css","dcc39c53ac7340d5d3ecc95864109893"],["/react/build/static/css/75.131374a7.chunk.css","1a35fcd6b27d13b50b31c75eca200072"],["/react/build/static/css/76.c2f5b906.chunk.css","06c5db3c2a4617f217c383df8ad0b51f"],["/react/build/static/css/77.fd3fa2e9.chunk.css","97c0f9c3d8d16c05584bec1ce645cda0"],["/react/build/static/css/78.f4de1d43.chunk.css","afbb0128da60fcb8bc41db41f1cd17a3"],["/react/build/static/css/8.6e0686d9.chunk.css","518189592f4d54396239adb7c8a02413"],["/react/build/static/css/80.45444cfc.chunk.css","eb5e3c36bee6ed89ca7abd09cbd2fb2c"],["/react/build/static/css/81.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/82.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/87.a8f06a40.chunk.css","805c0ab14eb9b6a46588cc3fc10d3090"],["/react/build/static/css/88.33601a81.chunk.css","1999f1c51002bc6be6ea2ca937210bca"],["/react/build/static/css/89.632d7855.chunk.css","226acc64dfa2fad8420e5eadf2d7b32d"],["/react/build/static/css/9.d4345223.chunk.css","25bc66f1fcb304ce926c2de7598dc1dd"],["/react/build/static/css/90.f243baca.chunk.css","52a023dc3be7de773e46e2df6dbeb8ef"],["/react/build/static/css/91.3433735d.chunk.css","0dcaeb8ec33b64b138df13f2667490a3"],["/react/build/static/css/92.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/93.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/94.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/95.92df39ea.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/97.11a04942.chunk.css","1373d0214c811e25b7c1763ef9cf3287"],["/react/build/static/css/98.9d206204.chunk.css","e363ea281af9e616a0d144154b88c8f8"],["/react/build/static/css/main.9813a6b6.chunk.css","ebdc0c3889496fcc56a4b1d1ae22499a"],["/react/build/static/js/0.38cc2216.chunk.js","a4284c68ac642256950a71aad2989431"],["/react/build/static/js/1.9de07cbc.chunk.js","196c1ffd38b2415d627e2ab48865b2ee"],["/react/build/static/js/10.84066bda.chunk.js","a5763c09f0fdc4e0db8d1794cb37cd3d"],["/react/build/static/js/100.f63289ab.chunk.js","4648e3c513c739c7c74292fabb623f71"],["/react/build/static/js/101.834ac275.chunk.js","bc5f8ea5c0213ac20dc32c89af454275"],["/react/build/static/js/102.be283b95.chunk.js","ed5745b385a3f3546e3f4ce0ed793be7"],["/react/build/static/js/103.4dfc3187.chunk.js","256aef6f777f21b0de2fc56b0f59b5c6"],["/react/build/static/js/104.03062447.chunk.js","88e7d9cf8d22e50740326f0baf738cf0"],["/react/build/static/js/105.68abbc41.chunk.js","2219fec53a185b96e383086676e7ea90"],["/react/build/static/js/106.dbcd524a.chunk.js","d7a6fb103cccb66118ee109255e26137"],["/react/build/static/js/107.08e9e257.chunk.js","eb8f7ec65950d944bdfb4209f36bdd63"],["/react/build/static/js/108.1b18010f.chunk.js","514c3c3caba0fbb5e65395c73bdf2eb5"],["/react/build/static/js/109.2df9b48d.chunk.js","fbbf1008904eec6c210a297d97e589db"],["/react/build/static/js/11.d3ab602a.chunk.js","cf4ee16bffe1b1f700119bac0e57a23e"],["/react/build/static/js/11.d3ab602a.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/110.c892c6ca.chunk.js","10ef84e053343dc3a9c375c280fb79eb"],["/react/build/static/js/111.c0fcff02.chunk.js","a2fcc05f65e449a0330278c4f1c5af2f"],["/react/build/static/js/112.4be9dfb3.chunk.js","eb528a4809dcebae662fe4bced9479ac"],["/react/build/static/js/113.29c7cc99.chunk.js","1c07cc1359cc8097b49f2e746787e7aa"],["/react/build/static/js/114.01b0b51b.chunk.js","b21feb725a98b3e775cc1e131578c189"],["/react/build/static/js/115.843d4491.chunk.js","0d922039ebb91dcd4241bc6380d171ac"],["/react/build/static/js/116.9f4af3c3.chunk.js","fe9ffcf4b7ca2481dc6162836472ae10"],["/react/build/static/js/117.c2eca3b5.chunk.js","344b2f1a02511e0a30a428892975461f"],["/react/build/static/js/118.6563dfe9.chunk.js","539460744c5a0d1bfbca1ceb4a3fe242"],["/react/build/static/js/119.e051329b.chunk.js","3f0fff3d809e6db3f2008931c95b37e9"],["/react/build/static/js/12.af8f9caa.chunk.js","6b78dd3df5a08e86f1205e23782e949f"],["/react/build/static/js/120.f580eacc.chunk.js","d41eda728e184a34c4441b1a9c14509f"],["/react/build/static/js/121.d3030f45.chunk.js","1cf23e11e4351b4c3b24a30e992e989f"],["/react/build/static/js/122.1541187d.chunk.js","791ff4a1c85459244ff50806d4fb3f64"],["/react/build/static/js/123.91f92593.chunk.js","8afb19d0f9583951c014437cfc2958c7"],["/react/build/static/js/124.aa5e07d0.chunk.js","eeb6b2945ddabe321c4197fa9349caa8"],["/react/build/static/js/125.ef5823c2.chunk.js","34f0d1a71bd793a7065c3a672ad2a66f"],["/react/build/static/js/126.92802f64.chunk.js","a224a02d0d4a16be510748d7c710c04a"],["/react/build/static/js/127.c92bb2ec.chunk.js","8863ed325c02482e64006a1d7ceef1e5"],["/react/build/static/js/128.3ace72d5.chunk.js","c6a2f8d45de29dc0c14a119e674efb5a"],["/react/build/static/js/129.22ca7983.chunk.js","582b1f2285172e0e4f18991d7bdbfb01"],["/react/build/static/js/13.2a7f4b5d.chunk.js","cd516a29d432165ba3b07413d62d9a98"],["/react/build/static/js/130.2b2775c5.chunk.js","94193bf2d5d085df2f8bf6b79b4407ea"],["/react/build/static/js/131.096a9318.chunk.js","752fff67c1d6976d34b6c37b8ddde41d"],["/react/build/static/js/132.3f18a151.chunk.js","2c3b6f65cccc57be229f74451ede25eb"],["/react/build/static/js/133.d2e96d75.chunk.js","ea015052493cdecfe0bb84f54b06aea7"],["/react/build/static/js/134.38ad4c36.chunk.js","3237c92892e5e41df01f6b419a4f1308"],["/react/build/static/js/135.f8710ab2.chunk.js","91c19986390272814f0045a1e55cf0ab"],["/react/build/static/js/136.0ec29c66.chunk.js","458b23f9d399cfb839840d38c491070d"],["/react/build/static/js/137.b8c78b1e.chunk.js","0a821d9e6e052ffa448dca57e2c0c681"],["/react/build/static/js/138.9bd56623.chunk.js","360b1fad43be610a81f9d3107407754e"],["/react/build/static/js/139.f3fe7f8f.chunk.js","3c01d53d8e410e815261b5dc0d50a297"],["/react/build/static/js/14.47d6b04d.chunk.js","a5b82ffc9e077fa7ef89a30f1192ad79"],["/react/build/static/js/140.d5c4a6ed.chunk.js","058ef2d10cbf0a817beca5fa01ffc3a8"],["/react/build/static/js/141.8e50d943.chunk.js","4a89181c0c4890ceae6ca7f257527d4e"],["/react/build/static/js/141.8e50d943.chunk.js.LICENSE.txt","03278fe9381615d8b390847939a9eb37"],["/react/build/static/js/142.40edc494.chunk.js","d08768b2f9beadc167c28cfcc076bdb7"],["/react/build/static/js/143.a27b16c8.chunk.js","40ab8b69e3d97a380dfcdc02630be31b"],["/react/build/static/js/144.f21e2122.chunk.js","f450010f63ec978918f922e6ab262c59"],["/react/build/static/js/145.f6308c00.chunk.js","3ed0a9ced74f5153eca06426ac5de9b5"],["/react/build/static/js/146.9e71404f.chunk.js","d2e1416370b0996cc450fa8ffa516e38"],["/react/build/static/js/147.797ad9d6.chunk.js","a8a7d75d014a86681620c4a492d94faf"],["/react/build/static/js/148.5213994c.chunk.js","9f5c83eb28b70852cb57e2219c8f7b58"],["/react/build/static/js/149.f94fdbbe.chunk.js","61e87544ee7bf72a8c06ece10879b4ff"],["/react/build/static/js/15.5eff19c4.chunk.js","198930527a2a59e851a519dccd2df0e3"],["/react/build/static/js/150.3d055a08.chunk.js","d9695d3310adfa06f0e1cc799de87d47"],["/react/build/static/js/151.c1346360.chunk.js","b80aa451cceeb7e458f7b76c1bf0fab9"],["/react/build/static/js/152.4d091868.chunk.js","d6b0ee5ac90b1fdf07615e6adb462c84"],["/react/build/static/js/153.2a99dd8f.chunk.js","548dad5a5324b300a6bc6a00a4abba0c"],["/react/build/static/js/154.5e6b6a40.chunk.js","9250396072bbb2d5ff7068e6e9c64cbe"],["/react/build/static/js/155.c458f237.chunk.js","f5d9697b76b4bc04156b3df7cc5efaf2"],["/react/build/static/js/156.add4bbb8.chunk.js","8a2437d1fb9e5fb4735511ccb02e7203"],["/react/build/static/js/157.e4a8097d.chunk.js","d5063f0edaf763680757b8a8089ee942"],["/react/build/static/js/158.3905f9da.chunk.js","65681d065451c50c056fe1734aaf1a1e"],["/react/build/static/js/159.16e1e4eb.chunk.js","4b606b0d1278552507a20f2f151d2975"],["/react/build/static/js/16.f5587995.chunk.js","aaf96f7222e66aeef06890d1160ecd5c"],["/react/build/static/js/160.737d1285.chunk.js","eecd71d5719a981a743bd10a3d00b625"],["/react/build/static/js/161.08164945.chunk.js","323e66dd027efc58ba84485ebeb94953"],["/react/build/static/js/162.d26fad80.chunk.js","36179dfcc00fcd2f61330ac4d1a3bb59"],["/react/build/static/js/163.da9cf7d3.chunk.js","0fe1180d49fe25675f535d07bafdf01c"],["/react/build/static/js/164.8829c42a.chunk.js","9a2849235546db56cf5b9e3985042641"],["/react/build/static/js/165.78dd7452.chunk.js","6cc2b03c1fc76b7ef5b5015ca61b4e78"],["/react/build/static/js/166.4a97c61f.chunk.js","e311aa18c45857ccf7b848f16e8f120f"],["/react/build/static/js/167.53ce0edc.chunk.js","8bc42ea8d34b58ed4814d3c869267ef3"],["/react/build/static/js/168.b796e1f9.chunk.js","ab50a3e8e8656ffc343c68e82877422a"],["/react/build/static/js/169.69fd1209.chunk.js","11cae358eb536b9f1921979e61e1f8cb"],["/react/build/static/js/17.deaa743d.chunk.js","196b6321fcb40bb3296d2f9222e57a1a"],["/react/build/static/js/170.cdc4ebff.chunk.js","a8830871976256ae3621e0d1653ddd31"],["/react/build/static/js/171.5c79c735.chunk.js","3e68e938e6a902dae8798fe7f21d7bd3"],["/react/build/static/js/172.e7094dd8.chunk.js","4535064236ca5290de0c9eb8e5bbc20e"],["/react/build/static/js/173.91aceac6.chunk.js","e426af70c72250a3c28e6f80e9f32e9f"],["/react/build/static/js/174.11e57a60.chunk.js","72247febef0ed259d32774e80dbf5f77"],["/react/build/static/js/175.6b020b0c.chunk.js","322b691778408a1d2c844326651a4d49"],["/react/build/static/js/176.e25b99e7.chunk.js","94bb8717876fb7c8d712b8c9a1d4c485"],["/react/build/static/js/177.cd47a9c7.chunk.js","f8ba4982f8e842cbde9f5b43eb68aecb"],["/react/build/static/js/178.395dd269.chunk.js","3e27cbb3f68a93965ca40ad07ef47cef"],["/react/build/static/js/179.bdb4ce63.chunk.js","183cee8919c003cf09a4b68b817ff28a"],["/react/build/static/js/18.8162f12b.chunk.js","a488761e5eaddc791410e6d1dbbcad40"],["/react/build/static/js/180.87c0400a.chunk.js","53313e8cb209355fedf8d972f751ebbf"],["/react/build/static/js/181.a39f202f.chunk.js","43721d7eb00cfd5caa91e0c818753354"],["/react/build/static/js/182.2618a8e0.chunk.js","7d06280ea9f77159f0e41174eeb48a94"],["/react/build/static/js/183.29034d2f.chunk.js","ad22b7a89887ccfccef4a67b2fc1ec66"],["/react/build/static/js/183.29034d2f.chunk.js.LICENSE.txt","cf224aa154060b2c3c86fa6ed5af6aa8"],["/react/build/static/js/184.29955220.chunk.js","0d563716a7b3341225afb54ea58280ce"],["/react/build/static/js/185.85a03448.chunk.js","9e423774248cf25fe931ee18a115cafa"],["/react/build/static/js/186.ffdfec91.chunk.js","d5a1e57d59e13639d2aeb8fda2f7ee7c"],["/react/build/static/js/187.85a9d546.chunk.js","b8a0b285a4f1c6a87ec836ff78413ab4"],["/react/build/static/js/188.676f6152.chunk.js","1fa5db9cb9d4461f986ec4cc64af5871"],["/react/build/static/js/19.4fd41f28.chunk.js","897fe95c7e3f29e0c16b1718fe1ffc78"],["/react/build/static/js/2.d659edf3.chunk.js","065445e7fc654996bfafff7a4b1b5ce8"],["/react/build/static/js/2.d659edf3.chunk.js.LICENSE.txt","7ec01595672f75e83fd81b41f132f4c1"],["/react/build/static/js/20.ecc2a430.chunk.js","f8d735864a0f69abedc25d669f18c0c7"],["/react/build/static/js/21.de738cfc.chunk.js","b723fd380f2d531c65ff11eda741e2f6"],["/react/build/static/js/22.b6cf24cd.chunk.js","b39ee316c6808527670bdcaadf4b4cc3"],["/react/build/static/js/23.d37ae96a.chunk.js","f618e85ff922fc8379e7d5c3d9a76bcb"],["/react/build/static/js/24.6624507c.chunk.js","9e2ebb7b14d7c1b7c210af21546bbce2"],["/react/build/static/js/25.05a52572.chunk.js","d7363e94d6571874409f5fa9c8883d1e"],["/react/build/static/js/26.e9e9c6fc.chunk.js","72406fc6d20cb7206e9cd572fea0c361"],["/react/build/static/js/27.99eef048.chunk.js","920d6dbc8dfe21d2ecc66f98ee07514e"],["/react/build/static/js/28.ffd0fc63.chunk.js","2b4deb66d23b3aa19204f4dd2b2ad0a6"],["/react/build/static/js/28.ffd0fc63.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/29.db12ed4e.chunk.js","6d5925153f8d743402bc0edbeb4b0b89"],["/react/build/static/js/29.db12ed4e.chunk.js.LICENSE.txt","275fe79abee3b697f1673c8bd9c58856"],["/react/build/static/js/3.37f89ed4.chunk.js","efbb19289c58d87909ca77d2b71eb8c6"],["/react/build/static/js/30.40d07ad1.chunk.js","c688b06d4273131d46f57e408d0bec28"],["/react/build/static/js/31.233b41f7.chunk.js","9c72172e8bab81edd6e750a79473e993"],["/react/build/static/js/32.b9e523d7.chunk.js","c1e5b72eedde5f8a38108cc7e0a6ed36"],["/react/build/static/js/33.391ff637.chunk.js","5477084bdc8b6ee8a5fa7b8440c01dec"],["/react/build/static/js/33.391ff637.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/34.a97f8cd6.chunk.js","f1b7ba6dac48ea99f1d3ec9a9cda56e7"],["/react/build/static/js/34.a97f8cd6.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/35.f6d4c52a.chunk.js","6d4fb1231e7610f75ae06a6995aabae4"],["/react/build/static/js/35.f6d4c52a.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/36.1af5cff9.chunk.js","91b4eae7b883f9858b862d161c591684"],["/react/build/static/js/37.f3a26abd.chunk.js","6f1dcf64039defe0bd57c787ba83c56b"],["/react/build/static/js/37.f3a26abd.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/38.9b757329.chunk.js","3b022bb981a50917899d8dd03563f836"],["/react/build/static/js/39.2a924fd5.chunk.js","cef9391ad1721dbec3a6f4f204d49a83"],["/react/build/static/js/4.4d2d662b.chunk.js","26133418ac8b9aa044b555dded0a9ce7"],["/react/build/static/js/40.82e1cc5f.chunk.js","bb5eb85d35e2a00224befb612e0215fa"],["/react/build/static/js/41.c38b357e.chunk.js","259975f7ed1493ac45f140122a668430"],["/react/build/static/js/42.270cb647.chunk.js","2ce8bd5ba81ee651ba916343ece7fb33"],["/react/build/static/js/43.d6aae469.chunk.js","016fe889c011a6143699b9f4484d9945"],["/react/build/static/js/44.1ed82fbb.chunk.js","dbd05f90d3d535c6f4228427e159dd0b"],["/react/build/static/js/45.10ca6320.chunk.js","ba26941db043a68f4371f8dd06bf69cc"],["/react/build/static/js/46.9f0b88f1.chunk.js","70c62109281cc08e0192fdcb6e2e7e78"],["/react/build/static/js/47.505c2746.chunk.js","61f8285b678c8d3a344cfd6275d9d7ac"],["/react/build/static/js/48.edae787f.chunk.js","6aae802735a90b9fdfdc4990da0bd077"],["/react/build/static/js/49.474bc174.chunk.js","c396efa90acc5b9ca3a2428dd4b40797"],["/react/build/static/js/5.ba9c3134.chunk.js","6f55d41c958d9daa9388eff6fff951bf"],["/react/build/static/js/50.ada9d135.chunk.js","f5fa3b9304402e55d99f092bbbfd85d7"],["/react/build/static/js/51.58be8fa8.chunk.js","3b1bfcbb6c3ac144adf531fd096900f7"],["/react/build/static/js/52.57805ddb.chunk.js","114bd474269e5e3cbebe19e240ba956c"],["/react/build/static/js/53.1e38166e.chunk.js","3471d0585d74c86b56c30893e3249256"],["/react/build/static/js/54.c5bcfd46.chunk.js","2d08a1a2ef4d32d8278549b4db4a01c0"],["/react/build/static/js/55.a2fdae72.chunk.js","da1d04679c3976196adfe984feb12d91"],["/react/build/static/js/56.fe7d1bc1.chunk.js","92d64eecd39e75ecfd708c0c55aa4305"],["/react/build/static/js/57.9325474d.chunk.js","71be5b00745bf1643544921b27a14cd6"],["/react/build/static/js/58.b5ca14cf.chunk.js","3c27942741b27e472c0ee2571dcd8f42"],["/react/build/static/js/59.d746baef.chunk.js","8fed9651f6f85db84d59c1cc6578d8a7"],["/react/build/static/js/6.69ca2fc8.chunk.js","26af653d5e4dc15976cb400b0efbfe66"],["/react/build/static/js/60.098bd543.chunk.js","84e07179f5b29bb334cf9f1f146e2cd6"],["/react/build/static/js/61.d295c2a5.chunk.js","892669e8830c7aa9e090c8e29328c5b5"],["/react/build/static/js/62.d8a25af7.chunk.js","b19c236ce5c1f7e03a714549a10f4c49"],["/react/build/static/js/63.f1b4aeb7.chunk.js","905b43fe374003d8568b9bc648b11f41"],["/react/build/static/js/64.94ae0067.chunk.js","053f1e67f7580b67924c07e8398b980d"],["/react/build/static/js/65.ad9bb744.chunk.js","9a4592ea6670246b851e16800b7dc931"],["/react/build/static/js/66.81eb52ec.chunk.js","67672e11f57502dac86d5bdd517e200d"],["/react/build/static/js/67.6f64dca0.chunk.js","fdb0986c39766e9e7e3278b4af545d02"],["/react/build/static/js/68.d1c952c6.chunk.js","2169e6a3671ce651f14e6eb50df7eea7"],["/react/build/static/js/69.ad0246bd.chunk.js","ceb8fbd2f23dc232c1befaa0feb9762b"],["/react/build/static/js/7.0bf2c37c.chunk.js","09021309cbf13356a88ac14b30c4ac36"],["/react/build/static/js/7.0bf2c37c.chunk.js.LICENSE.txt","275fe79abee3b697f1673c8bd9c58856"],["/react/build/static/js/70.ac509452.chunk.js","a146b90588e4b772e25e5cbde49a102e"],["/react/build/static/js/71.8d37ad43.chunk.js","df2c1d624ef11a3c4d5ec267fbe7ec80"],["/react/build/static/js/72.8066a00e.chunk.js","f8684636de8a61de5e16dc7cf3385316"],["/react/build/static/js/73.16a53e3b.chunk.js","55a739adda821ad82e99ad96e2d5e521"],["/react/build/static/js/74.d409058a.chunk.js","a9540ed5b576ef0916d8c9838250d239"],["/react/build/static/js/75.330f2718.chunk.js","005e5661d01e6f0a06fb6f193ff60160"],["/react/build/static/js/76.691766f4.chunk.js","a0c172482c633e7323050695694a1518"],["/react/build/static/js/77.0d80a213.chunk.js","c316b0a39b39da673560608069e648bc"],["/react/build/static/js/78.a8bd2e81.chunk.js","206eafaea1cb21e0c233396e3a57206c"],["/react/build/static/js/79.8dcee5cb.chunk.js","4378b6888c4cc09e0780ef721b506c1a"],["/react/build/static/js/8.7ad76529.chunk.js","b40726bb167b58649acdc1b616c744be"],["/react/build/static/js/80.05713831.chunk.js","5cbb2ef3ea55a97c8bacc3e7fdb9d407"],["/react/build/static/js/81.9e9bf3fd.chunk.js","5789c41cdcff4db6bb5c6ac438c7eb9c"],["/react/build/static/js/82.fd712587.chunk.js","355ed67b8ba4e4f86f56c7da256f2697"],["/react/build/static/js/83.b9f283c4.chunk.js","0ebdc39dcb0a7ef2a1f1249d006527de"],["/react/build/static/js/84.9bb7165f.chunk.js","bb81ea81819f8591af338b1e3f667d39"],["/react/build/static/js/85.bfbe6043.chunk.js","eb7a6cc87a295c00fb44294faca2d7d2"],["/react/build/static/js/86.fbb1f6fc.chunk.js","e708e3f344eaad81c608ae256a3c7ab0"],["/react/build/static/js/87.524fb1bf.chunk.js","0865d9ed403edad00593fca78470701b"],["/react/build/static/js/88.4272341d.chunk.js","d3a545236857c75586bb3fd41a185310"],["/react/build/static/js/89.439698fa.chunk.js","f40586ed2fdf2f415b7e2c2dd88b76b7"],["/react/build/static/js/9.74545efc.chunk.js","87dfaf30a42d5c9b59ce22ee2450b2f2"],["/react/build/static/js/90.b9a877d9.chunk.js","05888e842429641554397f8ec64c520a"],["/react/build/static/js/91.025ce6c8.chunk.js","e903ba04640665d518e1fc6c35bcbe84"],["/react/build/static/js/92.82446fd7.chunk.js","491b863f4a145e178eb14860a843cc37"],["/react/build/static/js/93.ac23f8d1.chunk.js","027bcab803a9014f2a50280715a6297e"],["/react/build/static/js/94.b473b8bb.chunk.js","3320d45166cd7671cf72142fe85ccdd7"],["/react/build/static/js/95.59056788.chunk.js","a7b89c04a79887f60c8cff66ba5a669f"],["/react/build/static/js/96.1730ba73.chunk.js","af153cb6e84d5f82b1140c5922e168fe"],["/react/build/static/js/97.f2dca402.chunk.js","0a63d263b85157927f42b6e2539c39c7"],["/react/build/static/js/98.893b36bc.chunk.js","c0697b9f42075e0abf5964d174e15024"],["/react/build/static/js/99.a319c9e2.chunk.js","737db85fc2409bff69b7783f629d72c5"],["/react/build/static/js/main.1be48b04.chunk.js.LICENSE.txt","20c4c9722b39971e742932d08ec3daf5"],["/react/build/static/js/runtime~main.8bbf1318.js","c2bf187280d67c26410c103ba20b0f2e"],["/react/build/static/media/KaTeX_AMS-Regular.b1489df1.woff","7f06b4e30317f784d61d26686aed0ab2"],["/react/build/static/media/KaTeX_AMS-Regular.d4531cf7.woff2","e78e28b4834954df047e4925e9dbf354"],["/react/build/static/media/KaTeX_AMS-Regular.f80d9eaf.ttf","aaf4eee9fba9907d61c3935e0b6a54ae"],["/react/build/static/media/KaTeX_Caligraphic-Bold.0c96bc8f.ttf","021dd4dc61ee5f5cdf315f43b48c094b"],["/react/build/static/media/KaTeX_Caligraphic-Bold.7ce7636b.woff","1e802ca9dedc4ed4e3c6f645e4316128"],["/react/build/static/media/KaTeX_Caligraphic-Bold.f046a374.woff2","4ec58befa687e9752c3c91cd9bcf1bcb"],["/react/build/static/media/KaTeX_Caligraphic-Regular.35f3c951.ttf","d49f2d55ce4f40f982d8ba63d746fbf9"],["/react/build/static/media/KaTeX_Caligraphic-Regular.4519ba4c.woff2","7edb53b6693d75b8a2232481eea1a52c"],["/react/build/static/media/KaTeX_Caligraphic-Regular.4a559f36.woff","d3b46c3a530116933081d9d74e3e9fe8"],["/react/build/static/media/KaTeX_Fraktur-Bold.069514d4.ttf","a31e7cba7b7221ebf1a2ae545fb306b2"],["/react/build/static/media/KaTeX_Fraktur-Bold.2ea3916b.woff","c4c8cab7d5be97b2bb283e531c077355"],["/react/build/static/media/KaTeX_Fraktur-Bold.5b8749ee.woff2","d5b59ec9764e10f4a82369ae29f3ac58"],["/react/build/static/media/KaTeX_Fraktur-Regular.0d90113d.woff","b7d9c46bff5d51da6209e355cc4a235d"],["/react/build/static/media/KaTeX_Fraktur-Regular.2c629b06.woff2","32a5339eb809f381a7357ba56f82aab3"],["/react/build/static/media/KaTeX_Fraktur-Regular.96556db6.ttf","a48dad4f58c82e38a10da0ceebb86370"],["/react/build/static/media/KaTeX_Main-Bold.07e762d0.ttf","9ceff51b3cb7ce6eb4e8efa8163a1472"],["/react/build/static/media/KaTeX_Main-Bold.20b90c20.woff2","8e1e01c4b1207c0a383d9a2b4f86e637"],["/react/build/static/media/KaTeX_Main-Bold.a9cdbc85.woff","22086eb5d97009c3e99bcc1d16ce6865"],["/react/build/static/media/KaTeX_Main-BoldItalic.7649d52f.woff","4c57dbc44bfff1fdf08a59cf556fdab3"],["/react/build/static/media/KaTeX_Main-BoldItalic.b345de5b.woff2","284a17fe5baf72ff8217d4c7e70c0f82"],["/react/build/static/media/KaTeX_Main-BoldItalic.bc8d96e9.ttf","e8b44b990516dab7937bf240fde8b46a"],["/react/build/static/media/KaTeX_Main-Italic.44a32ae6.ttf","29c86397e75cdcb3135af8295f1c2e28"],["/react/build/static/media/KaTeX_Main-Italic.ab751a9e.woff2","e533d5a2506cf053cd671b335ec04dde"],["/react/build/static/media/KaTeX_Main-Italic.e3954fe9.woff","99be0e10c38cd42466e6fe1665ef9536"],["/react/build/static/media/KaTeX_Main-Regular.13b3f852.woff2","5c734d78610fa35282f3379f866707f2"],["/react/build/static/media/KaTeX_Main-Regular.9e75cd60.woff","b741441f6d71014d0453ca3ebc884dd4"],["/react/build/static/media/KaTeX_Main-Regular.af7fc7b3.ttf","5c94aef490324b0925dbe5f643e8fd04"],["/react/build/static/media/KaTeX_Math-BoldItalic.4d6241be.ttf","9a2834a9ff8ab411153571e0e55ac693"],["/react/build/static/media/KaTeX_Math-BoldItalic.94810ff6.woff","b13731ef4e2bfc3d8d859271e39550fc"],["/react/build/static/media/KaTeX_Math-BoldItalic.d5d35e84.woff2","d747bd1e7a6a43864285edd73dcde253"],["/react/build/static/media/KaTeX_Math-Italic.11278d36.woff","f0303906c2a67ac63bf1e8ccd638a89e"],["/react/build/static/media/KaTeX_Math-Italic.cae7ea26.ttf","291e76b8871b84560701bd29f9d1dcc7"],["/react/build/static/media/KaTeX_Math-Italic.ffda8803.woff2","4ad08b826b8065e1eab85324d726538c"],["/react/build/static/media/KaTeX_SansSerif-Bold.2946bdb5.woff","3fb419559955e3ce75619f1a5e8c6c84"],["/react/build/static/media/KaTeX_SansSerif-Bold.5a20a475.woff2","6e0830bee40435e72165345e0682fbfc"],["/react/build/static/media/KaTeX_SansSerif-Bold.f0ad0abc.ttf","7dc027cba9f7b11ec92af4a311372a85"],["/react/build/static/media/KaTeX_SansSerif-Italic.c7feacd5.ttf","4059868e460d2d2e6be18e180d20c43d"],["/react/build/static/media/KaTeX_SansSerif-Italic.c834ba6d.woff","727a9b0d97d72d2fc0228fe4e07fb4d8"],["/react/build/static/media/KaTeX_SansSerif-Italic.e5fc2aef.woff2","fba01c9c6fb2866a0f95bcacb2c187a5"],["/react/build/static/media/KaTeX_SansSerif-Regular.5af9e1cf.ttf","5c58d168c0b66d2c32234a6718e74dfb"],["/react/build/static/media/KaTeX_SansSerif-Regular.5bf28900.woff2","d929cd671b19f0cfea55b6200fb47461"],["/react/build/static/media/KaTeX_SansSerif-Regular.a4fd0563.woff","2555754a67062cac3a0913b715ab982f"],["/react/build/static/media/KaTeX_Script-Regular.a1c15978.woff2","755e2491f13b5269f0afd5a56f7aa692"],["/react/build/static/media/KaTeX_Script-Regular.cd3b0634.woff","d524c9a5b62a17f98f4a97af37fea735"],["/react/build/static/media/KaTeX_Script-Regular.dd0db7ae.ttf","d12ea9efb375f9dc331f562e69892638"],["/react/build/static/media/KaTeX_Size1-Regular.1876361f.woff2","048c39cba4dfb0460682a45e84548e4b"],["/react/build/static/media/KaTeX_Size1-Regular.bbd9552c.ttf","7342d45b052c3a2abc21049959fbab7f"],["/react/build/static/media/KaTeX_Size1-Regular.c4ae0d25.woff","08b5f00e7140f7a10e62c8e2484dfa5a"],["/react/build/static/media/KaTeX_Size2-Regular.635e9324.woff","af24b0e4b7e52656ca77914695c99930"],["/react/build/static/media/KaTeX_Size2-Regular.d1e8ff17.ttf","eb130dcc661de766c999c60ba1525a88"],["/react/build/static/media/KaTeX_Size2-Regular.f516b73c.woff2","81d6b8d5ca77d63d5033d6991549a659"],["/react/build/static/media/KaTeX_Size3-Regular.1ef7adae.woff2","b311ca09df2c89a10fbb914b5a053805"],["/react/build/static/media/KaTeX_Size3-Regular.5d632274.ttf","7e02a40c41e52dc3b2b6b197bbdf05ea"],["/react/build/static/media/KaTeX_Size3-Regular.f32a9fde.woff","0d8926405d832a4b065e516bd385d812"],["/react/build/static/media/KaTeX_Size4-Regular.1d132596.ttf","ad7672524b64b730dfd176140a8945cb"],["/react/build/static/media/KaTeX_Size4-Regular.4f012d6a.woff2","6a3255dfc1ba41c46e7e807f8ab16c49"],["/react/build/static/media/KaTeX_Size4-Regular.f668d566.woff","68895bb880a61a7fc019dbfaa5121bb4"],["/react/build/static/media/KaTeX_Typewriter-Regular.4f31d033.woff2","6cc31ea5c223c88705a13727a71417fa"],["/react/build/static/media/KaTeX_Typewriter-Regular.b1d1af1a.ttf","257023560753aeb0b89b7e434d3da17f"],["/react/build/static/media/KaTeX_Typewriter-Regular.d3c8e68f.woff","3fe216d2a5f736c560cde71984554b64"],["/react/build/static/media/banner_list.e02c5e16.jpg","bc53dcd5b0731ce2ac28c3ea02a01c97"],["/react/build/static/media/beijintulogontwo.41076faf.png","245dc9e1ed09d34f605c2d5799ee3327"],["/react/build/static/media/educoder.695bfe08.png","0bc98d3f00dce03f9f4bef39aa288335"],["/react/build/static/media/slick.2630a3e3.svg","f97e3bbf73254b0112091d0192f17aec"],["/react/build/static/media/slick.29518378.woff","b7c9e1e479de3b53f1e4e30ebac2403a"],["/react/build/static/media/slick.a4e97f5a.eot","ced611daf7709cc778da928fec876475"],["/react/build/static/media/slick.c94f7671.ttf","d41f55a78e6f49a5512878df1737e58a"],["/react/build/ts.worker.js.LICENSE.txt","ce15c9d372cc5baeacdeb733817bdde4"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(c,a){var e=new URL(c);return"/"===e.pathname.slice(-1)&&(e.pathname+=a),e.toString()},cleanResponse=function(a){return a.redirected?("body"in a?Promise.resolve(a.body):a.blob()).then(function(c){return new Response(c,{headers:a.headers,status:a.status,statusText:a.statusText})}):Promise.resolve(a)},createCacheKey=function(c,a,e,d){var t=new URL(c);return d&&t.pathname.match(d)||(t.search+=(t.search?"&":"")+encodeURIComponent(a)+"="+encodeURIComponent(e)),t.toString()},isPathWhitelisted=function(c,a){if(0===c.length)return!0;var e=new URL(a).pathname;return c.some(function(c){return e.match(c)})},stripIgnoredUrlParameters=function(c,e){var a=new URL(c);return a.hash="",a.search=a.search.slice(1).split("&").map(function(c){return c.split("=")}).filter(function(a){return e.every(function(c){return!c.test(a[0])})}).map(function(c){return c.join("=")}).join("&"),a.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(c){var a=c[0],e=c[1],d=new URL(a,self.location),t=createCacheKey(d,hashParamName,e,/\.\w{8}\./);return[d.toString(),t]}));function setOfCachedUrls(c){return c.keys().then(function(c){return c.map(function(c){return c.url})}).then(function(c){return new Set(c)})}self.addEventListener("install",function(c){c.waitUntil(caches.open(cacheName).then(function(d){return setOfCachedUrls(d).then(function(e){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(a){if(!e.has(a)){var c=new Request(a,{credentials:"same-origin"});return fetch(c).then(function(c){if(!c.ok)throw new Error("Request for "+a+" returned a response with status "+c.status);return cleanResponse(c).then(function(c){return d.put(a,c)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(c){var e=new Set(urlsToCacheKeys.values());c.waitUntil(caches.open(cacheName).then(function(a){return a.keys().then(function(c){return Promise.all(c.map(function(c){if(!e.has(c.url))return a.delete(c)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(a){if("GET"===a.request.method){var c,e=stripIgnoredUrlParameters(a.request.url,ignoreUrlParametersMatching),d="index.html";(c=urlsToCacheKeys.has(e))||(e=addDirectoryIndex(e,d),c=urlsToCacheKeys.has(e));var t="/react/build/index.html";!c&&"navigate"===a.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],a.request.url)&&(e=new URL(t,self.location).toString(),c=urlsToCacheKeys.has(e)),c&&a.respondWith(caches.open(cacheName).then(function(c){return c.match(urlsToCacheKeys.get(e)).then(function(c){if(c)return c;throw Error("The cached response that was expected is missing.")})}).catch(function(c){return console.warn('Couldn\'t serve response for "%s" from cache: %O',a.request.url,c),fetch(a.request)}))}}); \ No newline at end of file diff --git a/static/css/10.69d15722.chunk.css b/static/css/10.69d15722.chunk.css deleted file mode 100644 index 9b551fbec..000000000 --- a/static/css/10.69d15722.chunk.css +++ /dev/null @@ -1 +0,0 @@ -#root{position:relative;min-height:100%}body{overflow:auto!important}body>.-task-title{opacity:1!important}#root .search-all{width:219px}.newContainers{height:100%;min-height:100%;overflow:hidden}.newContainers,.newHeaders{min-width:1200px;max-width:unset}.newHeaders{width:100%;height:70px;z-index:1000;background:#fff;position:fixed;-webkit-box-shadow:0 0 14px rgb(0 0 0/10%);box-shadow:0 0 14px rgb(0 0 0/10%)}.headerContent{width:1200px;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%}.globalSpin{max-height:700px!important}.indexHOC>.ant-spin-nested-loading{background:#000;height:100%}.indexHOC>.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{top:50%!important}.globalSpin .ant-spin-text{text-shadow:none!important;color:#fff}.globalSpin .ant-spin-dot-item{background-color:#fff}.newHeader .logoimg{margin-top:16px;float:left;width:97px}#header_keyword_search,.headIcon{padding-top:13px!important}.search-icon{height:30px!important}.search-icon i{font-size:20px}#header_keyword_search i{color:#4cacff}.ant-select-selection--multiple{padding-bottom:0!important;padding-top:3px}.ant-select-selection--multiple .ant-select-selection__rendered>ul>li,.ant-select-selection--multiple>ul>li{height:25px!important;line-height:23px!important;margin-bottom:3px;margin-top:0}.newContainer{background:#fff}.ant-modal-title{font-size:16px;font-weight:700!important;color:#333;text-align:center}@-moz-document url-prefix(){.ant-radio-inner{width:17px!important;height:17px!important}}.shixunDetail_top{display:block!important;padding-top:48px}.totalScore{display:block!important;padding-top:40px}.edu-menu-panel .edu-menu-listnew:hover .careersiconfont{color:#000!important}.newHeader{background:#24292d!important;height:60px!important}.HeaderSearch{margin-top:18px;margin-right:20px}.HeaderSearch .ant-input-search .ant-input{background:#373e3f!important;border:1px solid #373e3f!important}.ant-input-search .ant-input-affix-wrapper{border:transparent}.ant-input:focus{border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.HeaderSearch .ant-input-search .ant-input::-webkit-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-moz-placeholder,.HeaderSearch .ant-input-search .ant-input::-moz-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-ms-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input-suffix .anticon-search{color:#999}.HeaderSearch .ant-input-search .ant-input{color:#fff}.HeaderSearch .ant-input-search .ant-input-suffix{background:transparent!important}.roundedRectangles{position:absolute;top:10px;right:-22px}.HeaderSearch{width:325px}.HeaderSearch .ant-input-search{right:20px}.mainheighs{height:100%;display:block}.ml18a{margin-left:18%}.logoimg{float:left;min-width:40px;height:40px}.headwith100b{width:100%}.wechatcenter{text-align:center}.myrigthsiderbar{right:9%!important}.feedbackdivcolor{background:#33bd8c!important;height:49px!important;line-height:24px!important}.xiaoshou{cursor:pointer}.questiontypes{width:37px;height:17px}.questiontype,.questiontypes{font-size:12px;color:#333;line-height:17px;cursor:pointer}.questiontype{width:100%;text-align:center;padding:11px}.questiontypeheng{width:100%;height:1px;background:#eee}.mystask-sidebar{right:181px!important}.mystask-sidebars{right:20px!important}.shitikussmys{width:29px!important;height:20px!important;background:#ff6601!important;border-radius:10px!important;position:absolute!important;font-size:11px!important;color:#fff!important;line-height:20px!important;top:-13px!important;right:-10px!important}.maxnamewidth30{max-width:30px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;cursor:default}.mystask-sidebarss{right:5px!important}.simple-rate{font-size:16px!important}.ant-rate-star:not(:last-child){margin-right:2px!important}.flex-container{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;margin-bottom:4px;-ms-flex-align:center;align-items:center}.progress-container{-ms-flex:1 0;flex:1 0;margin-left:20px}.dropdownFlex{display:flex;background:#fff;border-radius:3px}.dropdownFlex .ant-menu-vertical>.ant-menu-item{border:none;height:35px;line-height:35px;margin:0}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected{background-color:#fff}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected a{color:rgba(0,0,0,.65)!important}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-active a{color:#4cacff!important}.dropdownFlex .ant-menu-vertical{border:none}.currentImg{width:34px;height:34px;border-radius:50%;margin-left:15px}.currentMenu{width:120px;text-align:center;padding:0}.currentMenu .currentName{padding:0 8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.currentMenu li{height:40px;line-height:40px;padding:0!important;cursor:default}.currentMenu li:hover{background-color:#fff}.currentMenu li:first-child{border-bottom:1px solid #eee}.currentMenu li:last-child{border-top:1px solid #eee}.currentMenu li:last-child a{border-radius:0 0 4px 4px}.currentMenu li a{padding:0;margin:0;display:block;color:#666}.currentMenu li a:hover{color:#fff;background:#4cacff}.newFooter{position:absolute;bottom:0;width:100%;background:#323232;clear:both;min-width:1200px;z-index:8;left:0}.newFooter p{margin-top:0;margin-bottom:0!important}.newFooter .footerInfos{display:flex;max-width:1200px;margin:0 auto;justify-content:space-around;padding:60px 0}.newFooter .footerInfos>ul{padding:0 40px;box-sizing:border-box;max-width:25%;text-align:left}.newFooter .footerInfos>ul li{color:#fff;font-weight:300}.newFooter .footerInfos>ul li:first-child{font-size:17px}.newFooter .footerInfos>ul li>a,.newFooter .footerInfos>ul li>span{color:#bbb}.newFooter .footerInfos>ul li>a:hover{color:#4cacff}.newFooter .footerCopy{color:#bbb;border-top:1px solid #4e4e4e;padding:10px 0}.newFooter .footerCopy a{color:#bbb}.newFooter .footerCopy a:hover{color:#4cacff}.inviteForm .ant-form-item{margin-right:0}.inviteForm .ant-form-item-label{width:110px;text-align:right}.notice-popover .ant-popover-arrow{display:none}.notice-popover .ant-popover-inner-content{width:386px;height:446px;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px;margin-top:-10px;padding:12px 1px 12px 0}.messageHoverDiv .ant-menu-item{margin-right:24px!important}.hoverNotice-head{margin-left:18px}.hoverNotice-head .ant-badge{font-size:14px!important}.hoverNotice-head>.ant-menu-horizontal{border-bottom:1px solid #e8e8e8!important}.hoverNotice-body{height:342px;overflow-y:scroll}.hoverNotice-body b{font-weight:400;text-shadow:.5px 0 0 #333}.hoverNotice-body .none_panels{height:100%}.message-icon{position:relative}.message-icon .ant-scroll-number{right:12px;padding:0}.hoverNotice-buttom{display:flex;justify-content:space-between;padding:12px 18px}.hoverNotice-buttom a{color:#466aff}.hoverNotice-buttom a:hover{opacity:.85}.noticeCont-back .pointer{cursor:pointer}.noticeCont-back:hover{background:#f3f4f6}.noticeCont{display:flex;margin:0 16px 0 18px;padding:12px 0 10px;line-height:24px;border-bottom:1px solid #eee;cursor:default}.noticeCont i{font-size:14px!important;margin-right:6px;color:#333}.noticeCont .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333}.noticeCont .noticeCont-text{display:flex;color:#333;flex:auto;justify-content:space-between}.noticeCont .noticeCont-text .content-span{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.noticeCont .noticeCont-text .atme-cont-span{width:272px}.noticeCont .noticeCont-text .notice-cont-span{width:255px}.noticeCont .noticeCont-text .timeSpan{font-size:12px;color:#666}.noticeCont .noticeCont-text .at-name{margin-right:12px}.text-center{text-align:center}dl,ol,ul{margin-bottom:0}.newMain{background-color:#fff}.color-black{color:#333}.projectallName{font-size:22px;font-weight:400;line-height:30px;max-width:690px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.projectallName .projectN{word-break:break-all}.textRight{text-align:right}.main{width:1200px;padding:20px;margin:20px auto;background:#fff;border-radius:2px;border:1px solid #eee}.radius-2{border-radius:2px}.normal{width:1200px;margin:0 auto}.back-white{background:#fff}.back-black{background:#000}.btn_32{border-radius:4px;padding:0 12px;height:32px;line-height:32px;background-color:#f4f4f4;color:#666;display:inline-block}@media screen and (max-width:1200px){.main{width:1000px;margin:10px auto}}.hide-1{display:inline-block;white-space:nowrap}.hide-1,.hide-2{overflow:hidden;text-overflow:ellipsis}.hide-2{display:inline-block;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.df{display:flex}.flex-1{flex:1;width:0}.f-wrap-between{display:flex;flex-wrap:wrap;justify-content:space-between}.f-wrap-alignCenter{display:flex;flex-wrap:wrap;align-items:center}.f-wrap-alignCenter>span,.f-wrap-alignCenter a:link,.f-wrap-alignCenter a:visited{color:#333}.f-wrap-alignCenter>span{cursor:default}.commitDesc{flex:1;line-height:20px;word-break:break-all;width:49rem;overflow:hidden;white-space:normal}.commitDesc:hover{text-decoration:underline}.normalBox{border-radius:4px;border:1px solid #ddd}.normalBox-title{padding:10px;background-color:#f4f4f4;line-height:18px}.none_panels{text-align:center;height:400px;display:flex;justify-content:center;align-items:center}.none_panels.small{height:120px}.none_panels.small img{width:50px}.none_panels img{margin-bottom:15px}.none_p_title{font-size:16px;color:#999}form.ant-form{color:#333}.required{position:relative}.required:before{content:"*";color:red;position:absolute;left:-10px;top:0;line-height:22px}form .ant-row.ant-form-item{margin-bottom:20px}@media screen and (max-width:1000px){.main{margin:1rem auto}.main,.normal{width:750px}}@media screen and (max-width:750px){.main{width:95%;margin:1rem auto}.normal{width:100%}}.ver-middle{vertical-align:middle}.pd510{padding:5px 10px}.modalsStyle .ant-modal-content>.ant-modal-header{text-align:left!important}.modalsStyle .ant-modal-body{max-width:400px;margin:0 auto;text-align:left;min-height:140px;display:flex;align-items:center}.modalsStyle .ant-modal-close-x{margin-top:8px}.list-l-Menu,.list-r-Info>div{box-shadow:0 0 2px rgba(0,0,0,.2)}.list-l-Menu{margin-bottom:12px;border-radius:2px;background-color:#fff}.list-l-Menu>li{font-size:1rem;padding:0 0 0 20px;box-sizing:border-box;color:#333;position:relative}.list-l-Menu>li>p{height:62px;line-height:62px;width:100%;border-bottom:1px solid #eee;display:flex;justify-content:space-between;cursor:pointer;padding-right:20px;margin:0}.list-l-Menu>li>p a{width:100%}.list-l-Menu>li>p span:last-child{color:#999}.list-l-Menu>li:last-child>p{border-bottom:none}.list-l-Menu>li:not(.MenuTitle):hover,.list-l-Menu li.active{background-color:#fafafa}.list-l-Menu li.active:before{position:absolute;left:0;top:15px;width:6px;content:"";height:33px;background:#4cacff}.list-l-Menu .MenuTitle{font-size:16px;background-size:100% 100%;color:#333!important;height:62px;line-height:62px;border-bottom:1px solid #e0e0e0;font-weight:400}.list-l-Menu .ant-menu-inline{border:none}.list-l-Menu .ant-menu-inline .ant-menu-item{width:100%!important}.list-l-Menu .ant-menu-item-group-title{padding:0}.group-setting-switch{border:1px solid #ddd!important;background-color:#fff!important}.ant-btn.ant-btn-background-ghost{border-color:#d0d0d0}.ant-btn.ant-btn-background-ghost.ant-btn-primary:hover{background-color:#1890ff!important;border-color:#1890ff;color:#fff}.ant-btn.ant-btn-background-ghost.ant-btn-danger:hover{background-color:#df0002!important;border-color:#df0002;color:#fff}.newPopUl li{height:30px;line-height:30px;border-bottom:1px solid #eee;min-width:78px;text-align:center}.newPopUl li:last-child{border-bottom:none}.btn-83{width:83px;height:32px;line-height:30px;text-align:center;background:#fafbfc;border:1px solid #d0d0d0;display:inline-block;border-radius:5px;font-weight:500;color:#333!important;margin-right:15px}.btn-83:hover{background:#f3f4f6;color:#333!important}.btn-83:active{background:#d0d0d0;color:#333!important}.shadow:hover{background:#eeeff1;border-bottom-left-radius:4px;border-top-left-radius:4px}a.hover:hover{text-decoration:underline}button.ant-btn-primary.btnblue{background-color:#466aff;border-color:#466aff}button.ant-btn-primary.btnblue:hover{background-color:rgba(70,106,255,.85);border-color:rgba(70,106,255,.85)}button.btngrey{background-color:#fff;border-color:#d0d0d0;color:#666}button.btngrey:focus,button.btngrey:hover{border-color:hsla(0,0%,60%,.5);color:#666}.notice-manager-tip{font-size:16px;font-weight:400}.manager-cont-top{font-size:14px;font-weight:600;height:44px;padding-left:20px;background:#fafcff;border:1px solid #89a4f7;line-height:44px;border-top-left-radius:3px;border-top-right-radius:3px;margin-top:25px}.manager-cont{padding:8px 20px 6px;display:flex;align-items:center;font-size:14px}.manager-cont .manager-cont-title{width:320px}.notice01 .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:#fff}.notice01 .ant-checkbox-disabled .ant-checkbox-inner{background-color:#999!important;border-color:#999!important}.notice01 .ant-checkbox-checked .ant-checkbox-inner{background-color:#466aff;border:#466aff}.notice01 .ant-checkbox-checked:after{border:1px solid #466aff}.notice01 .ant-checkbox-input:focus+.ant-checkbox-inner,.notice01 .ant-checkbox-wrapper:hover .ant-checkbox-inner,.notice01 .ant-checkbox:hover .ant-checkbox-inner,.notice01 .ant-radio-checked .ant-radio-inner,.notice01 .ant-radio-input:focus+.ant-radio-inner,.notice01 .ant-radio-wrapper:hover .ant-radio,.notice01 .ant-radio:hover .ant-radio-inner{border-color:#466aff}.notice01 .ant-checkbox+span,.notice01 .manager-cont-title{color:#000}.notice01 .ant-radio-inner:after{background-color:#466aff}.notice01 .but25{color:#fff}.notice01 .but25,.notice01 .but25:hover{background-color:#466aff;border-color:#466aff}.notice01 .but25:hover{opacity:.8}.notice01 .but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.notice01 ::-webkit-scrollbar{width:5px}.notice01 ::-webkit-scrollbar-thumb{border-radius:6px;box-shadow:inset 0 0 6px #fff;background-color:#d4d4d4}.notice01 ::-webkit-scrollbar-track{box-shadow:inset 0 0 6px #fff;background-color:#fff}.whiteBack{background-color:#fff}.whiteBack .boies{width:1200px;margin:0 auto;padding:30px 0 10px}.whiteBack .boies .shortW{width:198px;border:1px solid hsla(0,0%,60%,.22);border-radius:4px;margin-bottom:30px}.whiteBack .boies .shortW .userDetail{background:hsla(0,0%,60%,.05);border-radius:4px 4px 0 0;padding:20px 25px;text-align:center;height:105px}.whiteBack .boies .shortW .userDetail img{height:48px;width:48px;border-radius:50%}.whiteBack .boies .shortW .userDetail span{font-size:16px;color:#333;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}.whiteBack .boies .shortW .securityUl{padding-left:17px;color:#333;margin-bottom:0;padding-bottom:12px;padding-top:5px}.whiteBack .boies .shortW .securityUl li{font-size:14px;margin-top:10px;margin-bottom:10px;height:27px;line-height:27px;position:relative;cursor:default}.whiteBack .boies .shortW .securityUl li a{color:#666}.whiteBack .boies .shortW .securityUl li.active a,.whiteBack .boies .shortW .securityUl li a:hover{color:#333}.whiteBack .boies .shortW .securityUl li.active a .text-shodow-bold{font-weight:400;text-shadow:.5px 0 #333}.whiteBack .boies .shortW .securityUl li.active:before{position:absolute;left:-18px;top:6px;height:15px;width:3px;border-radius:2px;content:"";background-color:#466aff}.whiteBack .boies .shortW .securityUl li i{font-size:14px!important;margin-right:8px}.whiteBack .boies .shortW .ul-border-buttom{border-bottom:1px solid hsla(0,0%,60%,.22);padding-bottom:5px}.whiteBack .boies .sshHead{display:flex;align-items:center;padding:6px 0;margin-bottom:15px;justify-content:space-between;border-bottom:1px solid #eee}.whiteBack .boies .sshHead>.text-shadow07{font-size:18px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead>.add-SSH-title{font-size:16px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead .but25{padding:0 12px}.whiteBack .boies .ant-list-item{padding:20px;border-bottom:1px solid #eee!important}.whiteBack .boies .ant-list-item>img{margin-right:24px}.whiteBack .boies .ant-list-item>div{flex:1;width:0;margin-right:20px}.whiteBack .boies .ant-list-item>div p{margin-bottom:8px!important}.whiteBack .boies .ant-list-item>div span{font-size:12px}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger{background-color:#fff;border-color:#d0d0d0;color:#df0002}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger:hover{background-color:#df0002;color:#fff;border-color:#df0002}.whiteBack .boies .questionLink{padding:15px 20px}.whiteBack .boies .questionLink a{color:#466aff}.whiteBack .boies .questionLink a:hover{text-decoration:underline}.whiteBack .boies .sshForm{padding:15px 20px}.whiteBack .boies .sshForm .ant-col.ant-form-item-label{font-size:16px;color:#333}.descModal .ant-modal-title{text-align:left;font-size:20px}.descModal .keyContent{border:1px solid #eee;border-radius:4px;padding:10px 15px;margin-top:10px;max-height:200px;overflow-y:auto}.descModal .keysTitle{display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap}.descModal .keysTitle span:last-child{word-break:break-all;flex:1}.but25{margin-bottom:5px;color:#fff}.but25,.but25:hover{background-color:#466aff;border-color:#466aff}.but25:hover{opacity:.8}.but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.blue-Purple{color:#466aff!important}.whiteBack .boies .sshHead{padding:0 10px 0 0}.sshHead .ant-badge{font-size:16px;color:#333}.sshHead .ant-menu-item{padding:0;margin-right:34px!important;height:34px;width:64px;text-align:center;line-height:0;position:relative}.sshHead .ant-menu-horizontal>.ant-menu-item,.sshHead li.ant-menu-item{border-bottom:0}.sshHead .ant-menu-item-selected{color:#333;font-weight:400;text-shadow:.5px 0 #333;border-bottom:2px solid #2a61ff!important}.sshHead .ant-badge-count,.sshHead .ant-badge-dot,.sshHead .ant-badge .ant-scroll-number-custom-component{right:-6px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0}.sshHead .ant-badge-multiple-words{padding:0}.sshHead .ant-menu-horizontal{border-bottom:0 solid #e8e8e8}.sshHead button{padding:0 5px}button{color:#333;background:#fafbfc;border:1px solid #d0d0d0;border-radius:4px;height:32px}button:hover{background:#f3f4f6}button:active{background:#ebecf0}.deleteBut{color:#df0002}.deleteBut:hover{background:#df0002;border:1px solid #df0002;color:#fff}.deleteBut:active{background:#ce0002;border:1px solid #ce0002;color:#fff}.mynotice-content{justify-content:space-between;padding:15px 0 15px 10px;border-bottom:1px solid #eee;color:#333}.mynotice-content:hover{background:#f3f4f6}.mynotice-content img{cursor:pointer}.mynotice-content b{font-weight:400;text-shadow:.5px 0 #333}.mynotice-content .invisable-read{display:none}.mynotice-content:hover .invisable-read{display:block;color:#466aff;opacity:.6;cursor:pointer}.mynotice-content:hover .invisable-read:hover{opacity:1}.mynotice-content:hover .timeSpan{display:none}.mynotice-content i{font-size:16px!important;margin-right:5px}.mynotice-content .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333;margin:0 8px}.mynotice-content .currentImg{width:40px;height:40px;margin-left:0}.mynotice-content .private-letter-img+.ant-badge-count{top:2px;right:5px;height:18px;min-width:18px;line-height:18px;padding:0}.mynotice-content .highlightSpan:hover{color:#466aff;cursor:pointer}.mynotice-content .mynotice-cont{padding:0;cursor:default}.mynotice-content .mynotice-cont .visible-checkbox{margin-right:10px}.mynotice-content .mynotice-cont .invisible-checkbox{display:none}.mynotice-content .mynotice-cont .atme-notice-text{margin-left:6px}.mynotice-content .mynotice-cont .atme-notice-text .atme-notice-name{margin:0}.mynotice-content .mynotice-cont .atme-notice-text .atme-length{max-width:48rem;word-break:break-all}.mynotice-content .ant-badge-count,.mynotice-content .ant-badge-dot,.mynotice-content .ant-badge .ant-scroll-number-custom-component{-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0;top:3px;right:4px;min-width:8px;height:8px}.mynotice-content .system-notice-blank{margin-right:14px}.batchDel .atme-notice-text,.batchDel .currentImg{pointer-events:none}.baselineDiv{align-items:baseline}.invisible{display:none}.visible{display:flex;justify-content:space-between;height:30px;padding:0 10px;color:#333;margin-bottom:5px}.visible button{padding:0 12px}.visible .batchDeleteBut{border:1px solid #466aff;color:#466aff}.private-letter-right{flex:auto;margin:0 10px 0 16px}.private-letter-right div{display:flex;justify-content:space-between}.letter-length-limit{max-width:50rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sysNotice-length{max-width:52rem;word-break:break-all}.numberSpan{color:#466aff}.vertical-center-style{display:flex;align-items:center}.stretch-style{display:flex;align-items:baseline}.float-left-little{margin-right:10px}.float-right-little{margin-left:12px}.paging{text-align:center;margin:12px}.ant-modal-mask{z-index:1031}.ant-modal-wrap{z-index:1032}.deleteBox{z-index:1033}.deleteBox .ant-modal-close-x{font-size:17px!important}.deleteBox .ant-modal-header{background-color:#f8f8f8;padding:10px 30px}.deleteBox .ant-modal-header .ant-modal-title{text-align:left;font-size:16px;font-weight:700}.deleteBox .ant-modal-close{top:0!important;font-size:24px!important}.deleteBox .ant-modal-body{padding:30px 50px}.deleteBox .ant-modal-body p{font-size:14px;line-height:26px;color:#666;word-break:break-all}.deleteBox .ant-modal-body .desc .descMain{align-items:center;justify-content:center;font-size:20px;margin-bottom:10px}.deleteBox .ant-modal-body .desc .descMain i.red{color:#df0002}.deleteBox .ant-modal-footer{border-top:none;text-align:center;padding-bottom:40px}.deleteBox .ant-modal-footer a,.deleteBox .ant-modal-footer button{width:96px;height:32px;margin:0 20px;font-weight:400;font-size:14px}.deleteBox .ant-modal-footer a.ant-btn,.deleteBox .ant-modal-footer button.ant-btn{border-color:#d0d0d0;color:#666}.deleteBox .ant-modal-footer a.ant-btn:active,.deleteBox .ant-modal-footer a.ant-btn:focus,.deleteBox .ant-modal-footer a.ant-btn:hover,.deleteBox .ant-modal-footer button.ant-btn:active,.deleteBox .ant-modal-footer button.ant-btn:focus,.deleteBox .ant-modal-footer button.ant-btn:hover{background:#f3f4f6}.deleteBox .ant-modal-footer a.ant-btn-danger,.deleteBox .ant-modal-footer button.ant-btn-danger{background-color:#fff;color:#df0002;border-color:#d0d0d0}.deleteBox .ant-modal-footer a.ant-btn-danger:active,.deleteBox .ant-modal-footer a.ant-btn-danger:focus,.deleteBox .ant-modal-footer a.ant-btn-danger:hover,.deleteBox .ant-modal-footer button.ant-btn-danger:active,.deleteBox .ant-modal-footer button.ant-btn-danger:focus,.deleteBox .ant-modal-footer button.ant-btn-danger:hover{border-color:#df0002;background-color:#fff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary{background-color:#466aff;color:#fff;border-color:#466aff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:hover,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.contents{display:flex;align-items:center;justify-content:center;margin:10px auto 0}.contents img{margin-right:13px;width:44px}.contents p{line-height:29px;max-width:327px;font-size:16px!important}.font-44{font-size:44px!important} \ No newline at end of file diff --git a/static/css/10.b886fd74.chunk.css b/static/css/10.b886fd74.chunk.css new file mode 100644 index 000000000..09aa82f3f --- /dev/null +++ b/static/css/10.b886fd74.chunk.css @@ -0,0 +1 @@ +#root{position:relative;min-height:100%}body{overflow:auto!important}body>.-task-title{opacity:1!important}#root .search-all{width:219px}.newContainers{height:100%;min-height:100%;overflow:hidden}.newContainers,.newHeaders{min-width:1200px;max-width:unset}.newHeaders{width:100%;height:70px;z-index:1000;background:#fff;position:fixed;-webkit-box-shadow:0 0 14px rgb(0 0 0/10%);box-shadow:0 0 14px rgb(0 0 0/10%)}.headerContent{width:1200px;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%}.globalSpin{max-height:700px!important}.indexHOC>.ant-spin-nested-loading{background:#000;height:100%}.indexHOC>.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{top:50%!important}.globalSpin .ant-spin-text{text-shadow:none!important;color:#fff}.globalSpin .ant-spin-dot-item{background-color:#fff}.newHeader .logoimg{margin-top:16px;float:left;width:97px}#header_keyword_search,.headIcon{padding-top:13px!important}.search-icon{height:30px!important}.search-icon i{font-size:20px}#header_keyword_search i{color:#4cacff}.ant-select-selection--multiple{padding-bottom:0!important;padding-top:3px}.ant-select-selection--multiple .ant-select-selection__rendered>ul>li,.ant-select-selection--multiple>ul>li{height:25px!important;line-height:23px!important;margin-bottom:3px;margin-top:0}.newContainer{background:#fff}.ant-modal-title{font-size:16px;font-weight:700!important;color:#333;text-align:center}@-moz-document url-prefix(){.ant-radio-inner{width:17px!important;height:17px!important}}.shixunDetail_top{display:block!important;padding-top:48px}.totalScore{display:block!important;padding-top:40px}.edu-menu-panel .edu-menu-listnew:hover .careersiconfont{color:#000!important}.newHeader{background:#24292d!important;height:60px!important}.HeaderSearch{margin-top:18px;margin-right:20px}.HeaderSearch .ant-input-search .ant-input{background:#373e3f!important;border:1px solid #373e3f!important}.ant-input-search .ant-input-affix-wrapper{border:transparent}.ant-input:focus{border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.HeaderSearch .ant-input-search .ant-input::-webkit-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-moz-placeholder,.HeaderSearch .ant-input-search .ant-input::-moz-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-ms-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input-suffix .anticon-search{color:#999}.HeaderSearch .ant-input-search .ant-input{color:#fff}.HeaderSearch .ant-input-search .ant-input-suffix{background:transparent!important}.roundedRectangles{position:absolute;top:10px;right:-22px}.HeaderSearch{width:325px}.HeaderSearch .ant-input-search{right:20px}.mainheighs{height:100%;display:block}.ml18a{margin-left:18%}.logoimg{float:left;min-width:40px;height:40px}.headwith100b{width:100%}.wechatcenter{text-align:center}.myrigthsiderbar{right:9%!important}.feedbackdivcolor{background:#33bd8c!important;height:49px!important;line-height:24px!important}.xiaoshou{cursor:pointer}.questiontypes{width:37px;height:17px}.questiontype,.questiontypes{font-size:12px;color:#333;line-height:17px;cursor:pointer}.questiontype{width:100%;text-align:center;padding:11px}.questiontypeheng{width:100%;height:1px;background:#eee}.mystask-sidebar{right:181px!important}.mystask-sidebars{right:20px!important}.shitikussmys{width:29px!important;height:20px!important;background:#ff6601!important;border-radius:10px!important;position:absolute!important;font-size:11px!important;color:#fff!important;line-height:20px!important;top:-13px!important;right:-10px!important}.maxnamewidth30{max-width:30px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;cursor:default}.mystask-sidebarss{right:5px!important}.simple-rate{font-size:16px!important}.ant-rate-star:not(:last-child){margin-right:2px!important}.flex-container{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;margin-bottom:4px;-ms-flex-align:center;align-items:center}.progress-container{-ms-flex:1 0;flex:1 0;margin-left:20px}.dropdownFlex{display:flex;background:#fff;border-radius:3px}.dropdownFlex .ant-menu-vertical>.ant-menu-item{border:none;height:35px;line-height:35px;margin:0}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected{background-color:#fff}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected a{color:rgba(0,0,0,.65)!important}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-active a{color:#4cacff!important}.dropdownFlex .ant-menu-vertical{border:none}.currentImg{width:34px;height:34px;border-radius:50%;margin-left:15px}.currentMenu{width:120px;text-align:center;padding:0}.currentMenu .currentName{padding:0 8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.currentMenu li{height:40px;line-height:40px;padding:0!important;cursor:default}.currentMenu li:hover{background-color:#fff}.currentMenu li:first-child{border-bottom:1px solid #eee}.currentMenu li:last-child{border-top:1px solid #eee}.currentMenu li:last-child a{border-radius:0 0 4px 4px}.currentMenu li a{padding:0;margin:0;display:block;color:#666}.currentMenu li a:hover{color:#fff;background:#4cacff}.newFooter{position:absolute;bottom:0;width:100%;background:#323232;clear:both;min-width:1200px;z-index:8;left:0}.newFooter p{margin-top:0;margin-bottom:0!important}.newFooter .footerInfos{display:flex;max-width:1200px;margin:0 auto;justify-content:space-around;padding:60px 0}.newFooter .footerInfos>ul{padding:0 40px;box-sizing:border-box;max-width:25%;text-align:left}.newFooter .footerInfos>ul li{color:#fff;font-weight:300}.newFooter .footerInfos>ul li:first-child{font-size:17px}.newFooter .footerInfos>ul li>a,.newFooter .footerInfos>ul li>span{color:#bbb}.newFooter .footerInfos>ul li>a:hover{color:#4cacff}.newFooter .footerCopy{color:#bbb;border-top:1px solid #4e4e4e;padding:10px 0}.newFooter .footerCopy a{color:#bbb}.newFooter .footerCopy a:hover{color:#4cacff}.inviteForm .ant-form-item{margin-right:0}.inviteForm .ant-form-item-label{width:110px;text-align:right}.notice-popover .ant-popover-arrow{display:none}.notice-popover .ant-popover-inner-content{width:386px;height:446px;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px;margin-top:-10px;padding:12px 1px 12px 0}.messageHoverDiv .ant-menu-item{margin-right:24px!important}.hoverNotice-head{margin-left:18px}.hoverNotice-head .ant-badge{font-size:14px!important}.hoverNotice-head>.ant-menu-horizontal{border-bottom:1px solid #e8e8e8!important}.hoverNotice-body{height:342px;overflow-y:scroll}.hoverNotice-body b{font-weight:400;text-shadow:.5px 0 0 #333}.hoverNotice-body .none_panels{height:100%}.message-icon{position:relative}.message-icon .ant-scroll-number{right:12px;padding:0}.hoverNotice-buttom{display:flex;justify-content:space-between;padding:12px 18px}.hoverNotice-buttom a{color:#466aff}.hoverNotice-buttom a:hover{opacity:.85}.noticeCont-back .pointer{cursor:pointer}.noticeCont-back:hover{background:#f3f4f6}.noticeCont{display:flex;margin:0 16px 0 18px;padding:12px 0 10px;line-height:24px;border-bottom:1px solid #eee;cursor:default}.noticeCont i{font-size:14px!important;margin-right:6px;color:#333}.noticeCont .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333}.noticeCont .noticeCont-text{display:flex;color:#333;flex:auto;justify-content:space-between}.noticeCont .noticeCont-text .content-span{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.noticeCont .noticeCont-text .atme-cont-span{width:272px}.noticeCont .noticeCont-text .notice-cont-span{width:255px}.noticeCont .noticeCont-text .timeSpan{font-size:12px;color:#666}.noticeCont .noticeCont-text .at-name{margin-right:12px}.text-center{text-align:center}dl,ol,ul{margin-bottom:0}.newMain{background-color:#fff}.color-black{color:#333}.projectallName{font-size:22px;font-weight:400;line-height:30px;max-width:690px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.projectallName .projectN{word-break:break-all}.textRight{text-align:right}.main{width:1200px;padding:20px;margin:20px auto;background:#fff;border-radius:2px;border:1px solid #eee}.radius-2{border-radius:2px}.normal{width:1200px;margin:0 auto}.back-white{background:#fff}.back-black{background:#000}.btn_32{border-radius:4px;padding:0 12px;height:32px;line-height:32px;background-color:#f4f4f4;color:#666;display:inline-block}@media screen and (max-width:1200px){.main{width:1000px;margin:10px auto}}.hide-1{display:inline-block;white-space:nowrap}.hide-1,.hide-2{overflow:hidden;text-overflow:ellipsis}.hide-2{display:inline-block;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.df{display:flex}.flex-1{flex:1;width:0}.f-wrap-between{display:flex;flex-wrap:wrap;justify-content:space-between}.f-wrap-alignCenter{display:flex;flex-wrap:wrap;align-items:center}.f-wrap-alignCenter>span,.f-wrap-alignCenter a:link,.f-wrap-alignCenter a:visited{color:#333}.f-wrap-alignCenter>span{cursor:default}.commitDesc{flex:1;line-height:20px;word-break:break-all;width:49rem;overflow:hidden;white-space:normal}.commitDesc:hover{text-decoration:underline}.commitDesc:hover .markdown-body{color:#466aff}.normalBox{border-radius:4px;border:1px solid #ddd}.normalBox-title{padding:10px;background-color:#f4f4f4;line-height:18px}.none_panels{text-align:center;height:400px;display:flex;justify-content:center;align-items:center}.none_panels.small{height:120px}.none_panels.small img{width:50px}.none_panels img{margin-bottom:15px}.none_p_title{font-size:16px;color:#999}form.ant-form{color:#333}.required{position:relative}.required:before{content:"*";color:red;position:absolute;left:-10px;top:0;line-height:22px}form .ant-row.ant-form-item{margin-bottom:20px}@media screen and (max-width:1000px){.main{margin:1rem auto}.main,.normal{width:750px}}@media screen and (max-width:750px){.main{width:95%;margin:1rem auto}.normal{width:100%}}.ver-middle{vertical-align:middle}.pd510{padding:5px 10px}.modalsStyle .ant-modal-content>.ant-modal-header{text-align:left!important}.modalsStyle .ant-modal-body{max-width:400px;margin:0 auto;text-align:left;min-height:140px;display:flex;align-items:center}.modalsStyle .ant-modal-close-x{margin-top:8px}.list-l-Menu,.list-r-Info>div{box-shadow:0 0 2px rgba(0,0,0,.2)}.list-l-Menu{margin-bottom:12px;border-radius:2px;background-color:#fff}.list-l-Menu>li{font-size:1rem;padding:0 0 0 20px;box-sizing:border-box;color:#333;position:relative}.list-l-Menu>li>p{height:62px;line-height:62px;width:100%;border-bottom:1px solid #eee;display:flex;justify-content:space-between;cursor:pointer;padding-right:20px;margin:0}.list-l-Menu>li>p a{width:100%}.list-l-Menu>li>p span:last-child{color:#999}.list-l-Menu>li:last-child>p{border-bottom:none}.list-l-Menu>li:not(.MenuTitle):hover,.list-l-Menu li.active{background-color:#fafafa}.list-l-Menu li.active:before{position:absolute;left:0;top:15px;width:6px;content:"";height:33px;background:#4cacff}.list-l-Menu .MenuTitle{font-size:16px;background-size:100% 100%;color:#333!important;height:62px;line-height:62px;border-bottom:1px solid #e0e0e0;font-weight:400}.list-l-Menu .ant-menu-inline{border:none}.list-l-Menu .ant-menu-inline .ant-menu-item{width:100%!important}.list-l-Menu .ant-menu-item-group-title{padding:0}.group-setting-switch{border:1px solid #ddd!important;background-color:#fff!important}.ant-btn.ant-btn-background-ghost{border-color:#d0d0d0}.ant-btn.ant-btn-background-ghost.ant-btn-primary:hover{background-color:#1890ff!important;border-color:#1890ff;color:#fff}.ant-btn.ant-btn-background-ghost.ant-btn-danger:hover{background-color:#df0002!important;border-color:#df0002;color:#fff}.newPopUl li{height:30px;line-height:30px;border-bottom:1px solid #eee;min-width:78px;text-align:center}.newPopUl li:last-child{border-bottom:none}.btn-83{width:83px;height:32px;line-height:30px;text-align:center;background:#fafbfc;border:1px solid #d0d0d0;display:inline-block;border-radius:5px;font-weight:500;color:#333!important;margin-right:15px}.btn-83:hover{background:#f3f4f6;color:#333!important}.btn-83:active{background:#d0d0d0;color:#333!important}.shadow:hover{background:#eeeff1;border-bottom-left-radius:4px;border-top-left-radius:4px}a.hover:hover{text-decoration:underline}button.ant-btn-primary.btnblue{background-color:#466aff;border-color:#466aff}button.ant-btn-primary.btnblue:hover{background-color:rgba(70,106,255,.85);border-color:rgba(70,106,255,.85)}button.btngrey{background-color:#fff;border-color:#d0d0d0;color:#666}button.btngrey:focus,button.btngrey:hover{border-color:hsla(0,0%,60%,.5);color:#666}.notice-manager-tip{font-size:16px;font-weight:400}.manager-cont-top{font-size:14px;font-weight:600;height:44px;padding-left:20px;background:#fafcff;border:1px solid #89a4f7;line-height:44px;border-top-left-radius:3px;border-top-right-radius:3px;margin-top:25px}.manager-cont{padding:8px 20px 6px;display:flex;align-items:center;font-size:14px}.manager-cont .manager-cont-title{width:320px}.notice01 .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:#fff}.notice01 .ant-checkbox-disabled .ant-checkbox-inner{background-color:#999!important;border-color:#999!important}.notice01 .ant-checkbox-checked .ant-checkbox-inner{background-color:#466aff;border:#466aff}.notice01 .ant-checkbox-checked:after{border:1px solid #466aff}.notice01 .ant-checkbox-input:focus+.ant-checkbox-inner,.notice01 .ant-checkbox-wrapper:hover .ant-checkbox-inner,.notice01 .ant-checkbox:hover .ant-checkbox-inner,.notice01 .ant-radio-checked .ant-radio-inner,.notice01 .ant-radio-input:focus+.ant-radio-inner,.notice01 .ant-radio-wrapper:hover .ant-radio,.notice01 .ant-radio:hover .ant-radio-inner{border-color:#466aff}.notice01 .ant-checkbox+span,.notice01 .manager-cont-title{color:#000}.notice01 .ant-radio-inner:after{background-color:#466aff}.notice01 .but25{color:#fff}.notice01 .but25,.notice01 .but25:hover{background-color:#466aff;border-color:#466aff}.notice01 .but25:hover{opacity:.8}.notice01 .but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.notice01 ::-webkit-scrollbar{width:5px}.notice01 ::-webkit-scrollbar-thumb{border-radius:6px;box-shadow:inset 0 0 6px #fff;background-color:#d4d4d4}.notice01 ::-webkit-scrollbar-track{box-shadow:inset 0 0 6px #fff;background-color:#fff}.whiteBack{background-color:#fff}.whiteBack .boies{width:1200px;margin:0 auto;padding:30px 0 10px}.whiteBack .boies .shortW{width:198px;border:1px solid hsla(0,0%,60%,.22);border-radius:4px;margin-bottom:30px}.whiteBack .boies .shortW .userDetail{background:hsla(0,0%,60%,.05);border-radius:4px 4px 0 0;padding:20px 25px;text-align:center;height:105px}.whiteBack .boies .shortW .userDetail img{height:48px;width:48px;border-radius:50%}.whiteBack .boies .shortW .userDetail span{font-size:16px;color:#333;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}.whiteBack .boies .shortW .securityUl{padding-left:17px;color:#333;margin-bottom:0;padding-bottom:12px;padding-top:5px}.whiteBack .boies .shortW .securityUl li{font-size:14px;margin-top:10px;margin-bottom:10px;height:27px;line-height:27px;position:relative;cursor:default}.whiteBack .boies .shortW .securityUl li a{color:#666}.whiteBack .boies .shortW .securityUl li.active a,.whiteBack .boies .shortW .securityUl li a:hover{color:#333}.whiteBack .boies .shortW .securityUl li.active a .text-shodow-bold{font-weight:400;text-shadow:.5px 0 #333}.whiteBack .boies .shortW .securityUl li.active:before{position:absolute;left:-18px;top:6px;height:15px;width:3px;border-radius:2px;content:"";background-color:#466aff}.whiteBack .boies .shortW .securityUl li i{font-size:14px!important;margin-right:8px}.whiteBack .boies .shortW .ul-border-buttom{border-bottom:1px solid hsla(0,0%,60%,.22);padding-bottom:5px}.whiteBack .boies .sshHead{display:flex;align-items:center;padding:6px 0;margin-bottom:15px;justify-content:space-between;border-bottom:1px solid #eee}.whiteBack .boies .sshHead>.text-shadow07{font-size:18px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead>.add-SSH-title{font-size:16px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead .but25{padding:0 12px}.whiteBack .boies .ant-list-item{padding:20px;border-bottom:1px solid #eee!important}.whiteBack .boies .ant-list-item>img{margin-right:24px}.whiteBack .boies .ant-list-item>div{flex:1;width:0;margin-right:20px}.whiteBack .boies .ant-list-item>div p{margin-bottom:8px!important}.whiteBack .boies .ant-list-item>div span{font-size:12px}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger{background-color:#fff;border-color:#d0d0d0;color:#df0002}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger:hover{background-color:#df0002;color:#fff;border-color:#df0002}.whiteBack .boies .questionLink{padding:15px 20px}.whiteBack .boies .questionLink a{color:#466aff}.whiteBack .boies .questionLink a:hover{text-decoration:underline}.whiteBack .boies .sshForm{padding:15px 20px}.whiteBack .boies .sshForm .ant-col.ant-form-item-label{font-size:16px;color:#333}.descModal .ant-modal-title{text-align:left;font-size:20px}.descModal .keyContent{border:1px solid #eee;border-radius:4px;padding:10px 15px;margin-top:10px;max-height:200px;overflow-y:auto}.descModal .keysTitle{display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap}.descModal .keysTitle span:last-child{word-break:break-all;flex:1}.but25{margin-bottom:5px;color:#fff}.but25,.but25:hover{background-color:#466aff;border-color:#466aff}.but25:hover{opacity:.8}.but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.blue-Purple{color:#466aff!important}.whiteBack .boies .sshHead{padding:0 10px 0 0}.sshHead .ant-badge{font-size:16px;color:#333}.sshHead .ant-menu-item{padding:0;margin-right:34px!important;height:34px;width:64px;text-align:center;line-height:0;position:relative}.sshHead .ant-menu-horizontal>.ant-menu-item,.sshHead li.ant-menu-item{border-bottom:0}.sshHead .ant-menu-item-selected{color:#333;font-weight:400;text-shadow:.5px 0 #333;border-bottom:2px solid #2a61ff!important}.sshHead .ant-badge-count,.sshHead .ant-badge-dot,.sshHead .ant-badge .ant-scroll-number-custom-component{right:-6px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0}.sshHead .ant-badge-multiple-words{padding:0}.sshHead .ant-menu-horizontal{border-bottom:0 solid #e8e8e8}.sshHead button{padding:0 5px}button{color:#333;background:#fafbfc;border:1px solid #d0d0d0;border-radius:4px;height:32px}button:hover{background:#f3f4f6}button:active{background:#ebecf0}.deleteBut{color:#df0002}.deleteBut:hover{background:#df0002;border:1px solid #df0002;color:#fff}.deleteBut:active{background:#ce0002;border:1px solid #ce0002;color:#fff}.mynotice-content{justify-content:space-between;padding:15px 0 15px 10px;border-bottom:1px solid #eee;color:#333}.mynotice-content:hover{background:#f3f4f6}.mynotice-content img{cursor:pointer}.mynotice-content b{font-weight:400;text-shadow:.5px 0 #333}.mynotice-content .invisable-read{display:none}.mynotice-content:hover .invisable-read{display:block;color:#466aff;opacity:.6;cursor:pointer}.mynotice-content:hover .invisable-read:hover{opacity:1}.mynotice-content:hover .timeSpan{display:none}.mynotice-content i{font-size:16px!important;margin-right:5px}.mynotice-content .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333;margin:0 8px}.mynotice-content .currentImg{width:40px;height:40px;margin-left:0}.mynotice-content .private-letter-img+.ant-badge-count{top:2px;right:5px;height:18px;min-width:18px;line-height:18px;padding:0}.mynotice-content .highlightSpan:hover{color:#466aff;cursor:pointer}.mynotice-content .mynotice-cont{padding:0;cursor:default}.mynotice-content .mynotice-cont .visible-checkbox{margin-right:10px}.mynotice-content .mynotice-cont .invisible-checkbox{display:none}.mynotice-content .mynotice-cont .atme-notice-text{margin-left:6px}.mynotice-content .mynotice-cont .atme-notice-text .atme-notice-name{margin:0}.mynotice-content .mynotice-cont .atme-notice-text .atme-length{max-width:48rem;word-break:break-all}.mynotice-content .ant-badge-count,.mynotice-content .ant-badge-dot,.mynotice-content .ant-badge .ant-scroll-number-custom-component{-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0;top:3px;right:4px;min-width:8px;height:8px}.mynotice-content .system-notice-blank{margin-right:14px}.batchDel .atme-notice-text,.batchDel .currentImg{pointer-events:none}.baselineDiv{align-items:baseline}.invisible{display:none}.visible{display:flex;justify-content:space-between;height:30px;padding:0 10px;color:#333;margin-bottom:5px}.visible button{padding:0 12px}.visible .batchDeleteBut{border:1px solid #466aff;color:#466aff}.private-letter-right{flex:auto;margin:0 10px 0 16px}.private-letter-right div{display:flex;justify-content:space-between}.letter-length-limit{max-width:50rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sysNotice-length{max-width:52rem;word-break:break-all}.numberSpan{color:#466aff}.vertical-center-style{display:flex;align-items:center}.stretch-style{display:flex;align-items:baseline}.float-left-little{margin-right:10px}.float-right-little{margin-left:12px}.paging{text-align:center;margin:12px}.ant-modal-mask{z-index:1031}.ant-modal-wrap{z-index:1032}.deleteBox{z-index:1033}.deleteBox .ant-modal-close-x{font-size:17px!important}.deleteBox .ant-modal-header{background-color:#f8f8f8;padding:10px 30px}.deleteBox .ant-modal-header .ant-modal-title{text-align:left;font-size:16px;font-weight:700}.deleteBox .ant-modal-close{top:0!important;font-size:24px!important}.deleteBox .ant-modal-body{padding:30px 50px}.deleteBox .ant-modal-body p{font-size:14px;line-height:26px;color:#666;word-break:break-all}.deleteBox .ant-modal-body .desc .descMain{align-items:center;justify-content:center;font-size:20px;margin-bottom:10px}.deleteBox .ant-modal-body .desc .descMain i.red{color:#df0002}.deleteBox .ant-modal-footer{border-top:none;text-align:center;padding-bottom:40px}.deleteBox .ant-modal-footer a,.deleteBox .ant-modal-footer button{width:96px;height:32px;margin:0 20px;font-weight:400;font-size:14px}.deleteBox .ant-modal-footer a.ant-btn,.deleteBox .ant-modal-footer button.ant-btn{border-color:#d0d0d0;color:#666}.deleteBox .ant-modal-footer a.ant-btn:active,.deleteBox .ant-modal-footer a.ant-btn:focus,.deleteBox .ant-modal-footer a.ant-btn:hover,.deleteBox .ant-modal-footer button.ant-btn:active,.deleteBox .ant-modal-footer button.ant-btn:focus,.deleteBox .ant-modal-footer button.ant-btn:hover{background:#f3f4f6}.deleteBox .ant-modal-footer a.ant-btn-danger,.deleteBox .ant-modal-footer button.ant-btn-danger{background-color:#fff;color:#df0002;border-color:#d0d0d0}.deleteBox .ant-modal-footer a.ant-btn-danger:active,.deleteBox .ant-modal-footer a.ant-btn-danger:focus,.deleteBox .ant-modal-footer a.ant-btn-danger:hover,.deleteBox .ant-modal-footer button.ant-btn-danger:active,.deleteBox .ant-modal-footer button.ant-btn-danger:focus,.deleteBox .ant-modal-footer button.ant-btn-danger:hover{border-color:#df0002;background-color:#fff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary{background-color:#466aff;color:#fff;border-color:#466aff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:hover,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.contents{display:flex;align-items:center;justify-content:center;margin:10px auto 0}.contents img{margin-right:13px;width:44px}.contents p{line-height:29px;max-width:327px;font-size:16px!important}.font-44{font-size:44px!important} \ No newline at end of file diff --git a/static/css/14.4580c46d.chunk.css b/static/css/11.4580c46d.chunk.css similarity index 100% rename from static/css/14.4580c46d.chunk.css rename to static/css/11.4580c46d.chunk.css diff --git a/static/css/112.5b9090d0.chunk.css b/static/css/112.5b9090d0.chunk.css deleted file mode 100644 index 9ed685224..000000000 --- a/static/css/112.5b9090d0.chunk.css +++ /dev/null @@ -1 +0,0 @@ -.recommandOri.slick-slider{width:1300px;margin:20px auto 40px}.recommandOri.slick-slider .slick-track{margin-left:0}.recommandOri.slick-slider .slick-slide li>a{display:flex;align-items:center;justify-content:center}.iconBtn i{color:#666}.iconBtn span{margin-left:4px;color:#333!important}.iconBtn span:last-child{font-weight:500}.iconBtn:hover i,.iconBtn:hover span{color:#466aff!important}.recommandProjects.slick-slider{width:1230px;margin:20px auto 40px}.recommandProjects.slick-slider .slick-track{margin-left:0}.recommandProjects.slick-slider .slick-arrow.slick-next:before,.recommandProjects.slick-slider .slick-arrow.slick-next li.slick-active button:before,.recommandProjects.slick-slider .slick-arrow.slick-prev:before,.recommandProjects.slick-slider .slick-arrow.slick-prev li.slick-active button:before{color:#999}.recommandProjects.slick-slider .slick-dots{bottom:-29px}.recommandProjects.slick-slider .slick-dots li button:before{color:#909090}.recommandProjects.slick-slider .slick-slide{padding:0 15px;box-sizing:border-box}.recommandProjects.slick-slider .slick-slide>div{background-color:#fff;border-radius:10px;width:100%;cursor:pointer;border:1px solid #eee}.recommandProjects.slick-slider .slick-slide>div:hover{box-shadow:0 2px 20px 0 rgba(0,0,0,.1)}.recommandProjects.slick-slider .baseInfo{padding:18px 15px;display:flex;font-size:12px;color:#888}.recommandProjects.slick-slider .baseInfo .look{margin-right:10px}.recommandProjects.slick-slider .baseInfo .look i{margin-right:5px}.recommandProjects.slick-slider .baseInfo .type{flex:1;width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:right}.recommandProjects.slick-slider .mainInfo{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;border-bottom:1px solid #eee;padding:20px;box-sizing:border-box}.recommandProjects.slick-slider .mainInfo img{height:50px;width:50px;border-radius:50%}.recommandProjects.slick-slider .mainInfo .name{font-size:13px;color:#666;height:18px;line-height:18px;margin-top:12px}.recommandProjects.slick-slider .mainInfo .school{margin-top:12px;color:#333;font-size:16px;height:22px;line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.Panels{max-width:1200px;margin:0 auto}.Panels .panelmenu{padding-top:30px}.Panels .panelmenu .depotBtn .mr-5{margin-right:-5px}.Panels .panelmenu .depotBtn .ant-btn{height:32px;line-height:32px;width:83px;text-align:center;padding:0;font-weight:500;font-size:14px}.Panels .panelmenu .depotBtn .ant-btn-default{color:#333;border-color:#d0d0d0}.Panels .panelmenu .depotBtn .ant-btn-default:hover{background:#f3f4f6}.Panels .panelmenu .depotBtn .ant-btn-primary{color:#fff;background-color:#466aff;border:none}.Panels .panelmenu .depotBtn .ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.Panels .addOptionBtn,.Panels .depotBtn{display:flex}.Panels .addOptionBtn a,.Panels .depotBtn a{color:#333!important;font-weight:500!important;border-radius:5px;width:83px;height:32px;line-height:30px;background:#fff;border:1px solid #d0d0d0;margin-right:10px;text-align:center}.Panels .addOptionBtn a:active,.Panels .addOptionBtn a:hover,.Panels .depotBtn a:active,.Panels .depotBtn a:hover{background:#f3f4f6}.Panels .infoCount{display:inline-block;width:24px;text-align:center;height:24px;line-height:24px;background-color:hsla(0,0%,60%,.13);color:#666;border-radius:12px;margin-left:6px;font-size:12px}.Panels .attrPerson{padding-top:12px;display:flex;flex-wrap:wrap;padding-bottom:2px}.Panels .attrPerson a{margin:0 17px 10px 0}.Panels .attrPerson a img{border-radius:50%;width:40px;height:40px}.Panels .attrPerson a:nth-child(5){margin-right:0}.Panels .progress{display:flex;border-radius:2px;height:11px;margin-top:12px}.Panels .progress span:first-child{border-radius:2px 0 0 2px}.Panels .progress span:last-child{border-radius:0 2px 2px 0}.Panels .progresstip{margin-top:15px;flex-wrap:wrap}.Panels .progresstip i.zero{position:absolute;display:block;border-radius:50%;height:8px;width:8px;left:0;top:10px}.Panels .progresstip>span{padding-left:15px;position:relative;min-width:33.5%;font-size:12px;font-weight:400;color:#666}.Panels .progresstip>span span:last-child{margin-left:5px}.Panels .listtable{margin-top:20px}.Panels .listtable .listtablehead{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 20px 11px;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23);background-color:#fafcff}.Panels .listtable .listtablehead .ellipsistxt{margin-top:6px;margin-left:13px;line-height:18px;flex:1;width:0;color:#666}.Panels .listtable .listtablehead .ellipsistxt #ptxt{margin-bottom:0;word-break:break-all;overflow:unset;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.Panels .listtable .listtablehead .ellipsistxt.hidetxt{height:18px;overflow:hidden;position:relative;padding-right:8px}.Panels .listtable .listtablehead .ellipsis{margin-left:8px;cursor:pointer;height:16px;background:hsla(0,0%,60%,.2);border-radius:2px;padding:0 4px;height:14px;line-height:14px;margin-top:9px}.Panels .listtable .listtablehead .ellipsis i{font-size:15px!important;color:#333;height:14px;line-height:14px}.Panels .listtable .listtablebody{border-radius:0 0 4px 4px;border:1px solid #d0d0d0;border-top:none}.Panels .listtable .listtablebody li.listtablepath a{color:#40a9ff}.Panels .listtable .listtablebody li.listtablepath p{margin-bottom:0!important}.Panels .listtable .listtablebody>li{height:38px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9d9d9;padding:0 20px 0 24px}.Panels .listtable .listtablebody>li:hover{background-color:#f3f4f6}.Panels .listtable .listtablebody>li>span:first-child{width:30%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(2){width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(3){width:10%;text-align:right}.Panels .listtable .listtablebody>li:last-child{border-bottom:none}.drawerBtn{position:fixed;left:-13px;width:33px;background:#fff;border:1px solid #666;border-radius:0 12px 12px 0;height:70px;top:50%;margin-top:-35px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-left:7px}.drawerBtn,.drawerBtn:hover{box-shadow:0 0 8px 3px rgba(0,0,0,.09)}.drawerBtn span{writing-mode:vertical-lr;color:#333;width:25px;font-size:14px}.drawerBtn i{color:#333;height:14px;line-height:14px;width:14px;margin-left:2px;margin-bottom:3px}.downMenu{width:329px;background-color:#fff;box-shadow:0 1px 8px 1px hsla(0,0%,83.1%,.5);padding-bottom:14px}.downMenu .ant-menu-item{height:50px;line-height:50px}.fileMenu{width:83px}.fileMenu li{padding:6px 0!important;text-align:center;width:100%}.catelogue{cursor:pointer;background:#fafbfc;border-radius:4px;border:1px solid #d0d0d0;font-size:15px;font-weight:400;margin-right:12px;padding:0 10px;height:30px;line-height:30px;color:#666!important;display:flex;align-items:center}.catelogue .ant-dropdown-menu-item{border-radius:8px;text-align:left!important}.catelogue .ant-dropdown-menu-item a{width:350px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.catelogue:hover{background-color:#f3f4f6}.catelogue span{margin-top:1px}.submoduleStyle,.submoduleStyle i{cursor:default}.submoduleStyle:hover{color:#05101a}.pinfos a,.pinfos i{color:#666}.pinfos:hover a,.pinfos:hover i{color:#2a61ff!important}.graph{flex:1;margin:0 12px}.graph .ant-typography{white-space:pre-wrap;margin-bottom:0}.ant-anchor-wrapper{padding-left:2px}.ant-anchor-wrapper .ant-anchor-ink:before{background-color:#fff}.coderSubPage{width:1200px;margin:0 auto}.griditemAnchor{margin-left:0;padding:0;border-bottom:1px solid #ddd}.griditemAnchor .ant-anchor{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}.griditemAnchor .griditemCate{color:#333;font-size:16px;display:flex;align-items:center}.griditemAnchor .griditemCate .catelogue{margin-left:0} \ No newline at end of file diff --git a/static/css/112.eccc1e85.chunk.css b/static/css/112.eccc1e85.chunk.css new file mode 100644 index 000000000..6877eefa2 --- /dev/null +++ b/static/css/112.eccc1e85.chunk.css @@ -0,0 +1 @@ +.recommandOri.slick-slider{width:1300px;margin:20px auto 40px}.recommandOri.slick-slider .slick-track{margin-left:0}.recommandOri.slick-slider .slick-slide li>a{display:flex;align-items:center;justify-content:center}.iconBtn i{color:#666}.iconBtn span{margin-left:4px;color:#333!important}.iconBtn span:last-child{font-weight:500}.iconBtn:hover i,.iconBtn:hover span{color:#466aff!important}.recommandProjects.slick-slider{width:1230px;margin:20px auto 40px}.recommandProjects.slick-slider .slick-track{margin-left:0}.recommandProjects.slick-slider .slick-arrow.slick-next:before,.recommandProjects.slick-slider .slick-arrow.slick-next li.slick-active button:before,.recommandProjects.slick-slider .slick-arrow.slick-prev:before,.recommandProjects.slick-slider .slick-arrow.slick-prev li.slick-active button:before{color:#999}.recommandProjects.slick-slider .slick-dots{bottom:-29px}.recommandProjects.slick-slider .slick-dots li button:before{color:#909090}.recommandProjects.slick-slider .slick-slide{padding:0 15px;box-sizing:border-box}.recommandProjects.slick-slider .slick-slide>div{background-color:#fff;border-radius:10px;width:100%;cursor:pointer;border:1px solid #eee}.recommandProjects.slick-slider .slick-slide>div:hover{box-shadow:0 2px 20px 0 rgba(0,0,0,.1)}.recommandProjects.slick-slider .baseInfo{padding:18px 15px;display:flex;font-size:12px;color:#888}.recommandProjects.slick-slider .baseInfo .look{margin-right:10px}.recommandProjects.slick-slider .baseInfo .look i{margin-right:5px}.recommandProjects.slick-slider .baseInfo .type{flex:1;width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:right}.recommandProjects.slick-slider .mainInfo{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;border-bottom:1px solid #eee;padding:20px;box-sizing:border-box}.recommandProjects.slick-slider .mainInfo img{height:50px;width:50px;border-radius:50%}.recommandProjects.slick-slider .mainInfo .name{font-size:13px;color:#666;height:18px;line-height:18px;margin-top:12px}.recommandProjects.slick-slider .mainInfo .school{margin-top:12px;color:#333;font-size:16px;height:22px;line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.Panels{max-width:1200px;margin:0 auto}.Panels .panelmenu{padding-top:30px}.Panels .panelmenu .depotBtn .mr-5{margin-right:-5px}.Panels .panelmenu .depotBtn .ant-btn{height:32px;line-height:32px;width:83px;text-align:center;padding:0;font-weight:500;font-size:14px}.Panels .panelmenu .depotBtn .ant-btn-default{color:#333;border-color:#d0d0d0}.Panels .panelmenu .depotBtn .ant-btn-default:hover{background:#f3f4f6}.Panels .panelmenu .depotBtn .ant-btn-primary{color:#fff;background-color:#466aff;border:none}.Panels .panelmenu .depotBtn .ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.Panels .addOptionBtn,.Panels .depotBtn{display:flex}.Panels .addOptionBtn a,.Panels .depotBtn a{color:#333!important;font-weight:500!important;border-radius:5px;width:83px;height:32px;line-height:30px;background:#fff;border:1px solid #d0d0d0;margin-right:10px;text-align:center}.Panels .addOptionBtn a:active,.Panels .addOptionBtn a:hover,.Panels .depotBtn a:active,.Panels .depotBtn a:hover{background:#f3f4f6}.Panels .infoCount{display:inline-block;width:24px;text-align:center;height:24px;line-height:24px;background-color:hsla(0,0%,60%,.13);color:#666;border-radius:12px;margin-left:6px;font-size:12px}.Panels .attrPerson{padding-top:12px;display:flex;flex-wrap:wrap;padding-bottom:2px}.Panels .attrPerson a{margin:0 17px 10px 0}.Panels .attrPerson a img{border-radius:50%;width:40px;height:40px}.Panels .attrPerson a:nth-child(5){margin-right:0}.Panels .progress{display:flex;border-radius:2px;height:11px;margin-top:12px}.Panels .progress span:first-child{border-radius:2px 0 0 2px}.Panels .progress span:last-child{border-radius:0 2px 2px 0}.Panels .progresstip{margin-top:15px;flex-wrap:wrap}.Panels .progresstip i.zero{position:absolute;display:block;border-radius:50%;height:8px;width:8px;left:0;top:8px}.Panels .progresstip>span{padding-left:15px;position:relative;min-width:33.5%;font-size:12px;font-weight:400;color:#666}.Panels .progresstip>span span:last-child{margin-left:5px}.Panels .listtable{margin-top:20px}.Panels .listtable .listtablehead{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 20px 11px;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23);background-color:#fafcff}.Panels .listtable .listtablehead .ellipsistxt{margin-top:2px;margin-left:13px;line-height:18px;flex:1;width:0;color:#666}.Panels .listtable .listtablehead .ellipsistxt:hover .markdown-body,.Panels .listtable .listtablehead .ellipsistxt:hover .markdown-body a{color:#466aff}.Panels .listtable .listtablehead .ellipsistxt #ptxt{margin-bottom:0;word-break:break-all;overflow:unset;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body{line-height:10px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body p{margin:0!important}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ol,.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ul{padding-bottom:3px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ol li,.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ul li{min-height:18px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body table{line-height:1;background:#fafcff}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body:first-child{margin-top:-1px!important}.Panels .listtable .listtablehead .ellipsistxt.hidetxt{height:24px;overflow:hidden;position:relative;padding-right:8px}.Panels .listtable .listtablehead .ellipsis{margin-left:8px;cursor:pointer;height:16px;background:hsla(0,0%,60%,.2);border-radius:2px;padding:0 4px;height:14px;line-height:14px;margin-top:9px}.Panels .listtable .listtablehead .ellipsis i{font-size:15px!important;color:#333;height:14px;line-height:14px}.Panels .listtable .listtablebody{border-radius:0 0 4px 4px;border:1px solid #d0d0d0;border-top:none}.Panels .listtable .listtablebody li.listtablepath a{color:#40a9ff}.Panels .listtable .listtablebody li.listtablepath p{margin-bottom:0!important}.Panels .listtable .listtablebody>li{height:38px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9d9d9;padding:0 20px 0 24px}.Panels .listtable .listtablebody>li:hover{background-color:#f3f4f6}.Panels .listtable .listtablebody>li>span:first-child{width:30%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(2){width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(3){width:10%;text-align:right}.Panels .listtable .listtablebody>li:last-child{border-bottom:none}.drawerBtn{position:fixed;left:-13px;width:33px;background:#fff;border:1px solid #666;border-radius:0 12px 12px 0;height:70px;top:50%;margin-top:-35px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-left:7px}.drawerBtn,.drawerBtn:hover{box-shadow:0 0 8px 3px rgba(0,0,0,.09)}.drawerBtn span{writing-mode:vertical-lr;color:#333;width:25px;font-size:14px}.drawerBtn i{color:#333;height:14px;line-height:14px;width:14px;margin-left:2px;margin-bottom:3px}.downMenu{width:329px;background-color:#fff;box-shadow:0 1px 8px 1px hsla(0,0%,83.1%,.5);padding-bottom:14px}.downMenu .ant-menu-item{height:50px;line-height:50px}.fileMenu{width:83px}.fileMenu li{padding:6px 0!important;text-align:center;width:100%}.catelogue{cursor:pointer;background:#fafbfc;border-radius:4px;border:1px solid #d0d0d0;font-size:15px;font-weight:400;margin-right:12px;padding:0 10px;height:30px;line-height:30px;color:#666!important;display:flex;align-items:center}.catelogue .ant-dropdown-menu-item{border-radius:8px;text-align:left!important}.catelogue .ant-dropdown-menu-item a{width:350px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.catelogue:hover{background-color:#f3f4f6}.catelogue span{margin-top:1px}.submoduleStyle,.submoduleStyle i{cursor:default}.submoduleStyle:hover{color:#05101a}.pinfos a,.pinfos i{color:#666}.pinfos:hover a,.pinfos:hover i{color:#2a61ff!important}.graph{flex:1;margin:0 12px}.graph .ant-typography{white-space:pre-wrap;margin-bottom:0}.ant-anchor-wrapper{padding-left:2px}.ant-anchor-wrapper .ant-anchor-ink:before{background-color:#fff}.coderSubPage{width:1200px;margin:0 auto}.griditemAnchor{margin-left:0;padding:0;border-bottom:1px solid #ddd}.griditemAnchor .ant-anchor{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}.griditemAnchor .griditemCate{color:#333;font-size:16px;display:flex;align-items:center}.griditemAnchor .griditemCate .catelogue{margin-left:0} \ No newline at end of file diff --git a/static/css/11.1c5f3a58.chunk.css b/static/css/12.1c5f3a58.chunk.css similarity index 100% rename from static/css/11.1c5f3a58.chunk.css rename to static/css/12.1c5f3a58.chunk.css diff --git a/static/css/12.303eab18.chunk.css b/static/css/13.6937230d.chunk.css similarity index 82% rename from static/css/12.303eab18.chunk.css rename to static/css/13.6937230d.chunk.css index 41e68b399..7156178e2 100644 --- a/static/css/12.303eab18.chunk.css +++ b/static/css/13.6937230d.chunk.css @@ -1 +1 @@ -.lineH2{line-height:2}.t_project_banner{background-color:#050d34}.ProjectListIndex{width:1200px;margin:20px auto;display:flex;align-items:flex-start;flex-wrap:wrap}.list-left{width:26%;padding-right:20px;box-sizing:border-box;margin-bottom:20px}.list-left>div{border:1px solid #eee}.list-left>div.bgcF{border:none}.list-right{width:74%;background:#fff;padding:10px;border:1px solid #eee}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:none!important}.ant-menu-vertical>.ant-menu-item{margin:0!important;height:35px;line-height:35px;border-bottom:1px solid #eee;font-size:14px!important}.ant-menu-vertical>.ant-menu-item:last-child{border-bottom:none}.list-r-operation{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;padding:25px 30px;border-bottom:1px solid #e0e0e0}.list-r-Search{width:400px}.padding0-25{padding:0 25px}.list-r-Search .ant-btn-lg{height:38px}.list-r-Search .ant-input-group-addon{border:none!important}.list-r-Search .ant-input-search-button{height:40px!important}.createBtn{border-radius:4px;margin-left:20px;display:inline-block;padding:3px 15px;background-color:#4cacff;color:#fff!important}.project-list{padding:0 30px}.border-top-grey{border-top:1px solid #eee}.p-r-Item:last-child{border-bottom:none!important}.p-r-Item{display:flex;border-bottom:1px solid #eee;padding:22px 0;justify-content:flex-start}.boxShandow{box-shadow:0 2px 20px 10px rgba(0,0,0,.03)}.p-r-photo{width:60px;height:60px;border-radius:50%;margin-right:22px;margin-top:8px}.p-r-Infos{flex:1;width:0}.p-r-name{display:flex;justify-content:space-between;align-items:center}.p-r-name>p{flex:1;width:0}.p-r-btn{display:flex;align-items:center}.p-r-btn>span{height:35px;line-height:35px;border:1px solid #f4f4f4;border-radius:5px;display:block;margin-left:20px;background-color:#fff;display:flex}.p-r-btn>span>a{display:flex;align-items:center;padding:0 12px;background:#ececec}.p-r-btn>span>a:active{background:#f4f4f4}.p-r-btn>span>span{padding:0 8px}.p-r-tags{display:flex;opacity:1}.p-r-tags.large>span{height:30px;line-height:30px;font-size:14px}.p-r-tags>span{margin-left:15px;padding:0 10px;border-radius:15px;background:#ebf4fe;color:#333;height:24px;line-height:24px;display:block;font-size:12px;display:flex}.p-r-tags>span.pariseTag{background:#fff3dc}.p-r-tags.large>span>label{padding:0 12px}.p-r-tags>span>label{padding:0 8px}.p-r-tags.large>span>span{padding:0 6px}.pariseImg{width:14px;height:12px;margin-top:6px;margin-right:3px}.p-r-tags>span>span{display:block;background:#fff;border-left:#efefef;padding:0 4px;border-radius:0 4px 4px 0;color:#999}.p-r-content{margin-top:10px;color:#666;display:flex}.p-r-detail>span{margin-right:22px;color:#888}.p-r-detail>span>label{color:#999}.p-r-about{display:flex;justify-content:space-between;flex-wrap:nowrap;margin-top:8px;color:#666}.spincontent{height:400px}.spinstyle .ant-spin-text{margin-top:30px;color:#888}.detailHeader-wrapper{background-color:#fbfcff;border-bottom:1px solid #e2e2e2}.headerMenu-wrapper{display:flex;flex-direction:row;cursor:pointer}.headerMenu-wrapper li{text-align:center;padding:0;margin-right:40px;display:flex}.headerMenu-wrapper li>a{position:relative;font-size:14px;height:36px;line-height:24px;display:block;color:#000!important}.headerMenu-wrapper li>a>span.num{line-height:24px;margin-left:5px;font-size:12px;float:right;color:#666!important;background-color:hsla(0,0%,60%,.13);border-radius:50%;width:24px;height:24px}.headerMenu-wrapper li.active a:after,.headerMenu-wrapper li:hover a:after{position:absolute;bottom:0;height:2px;background-color:hsla(0,0%,60%,.2);content:"";left:0;width:100%}.headerMenu-wrapper li.active span{font-weight:500}.headerMenu-wrapper li.active a:after{background-color:#466aff}.detail_tag_btn{height:32px;line-height:32px;border-radius:5px;border:1px solid #d0d0d0;display:flex;align-items:center;margin-left:10px;padding:0;background-color:#fafbfc;box-shadow:none}.detail_tag_btn .detail_tag_btn_name{padding:0 10px;text-align:center;height:30px;line-height:30px;border-radius:5px 0 0 5px}.detail_tag_btn .detail_tag_btn_name:hover{background-color:#f3f4f6}.detail_tag_btn .detail_tag_btn_name span{color:#333!important}.detail_tag_btn .detail_tag_btn_count{width:42px;text-align:center;background:#fff;border-radius:0 4px 4px 0;height:100%;border-left:1px solid #d0d0d0}.ant-tooltip{max-width:fit-content!important}.files-md{padding:20px}.branch-wrapper{border:1px solid #eee;border-radius:4px;display:flex;align-items:center;height:60px;padding:0 30px;width:1200px;background-color:#fff;margin:20px auto 0;justify-content:space-between}.branch-wrapper>a>i{color:#5091ff;margin-right:5px;cursor:default}.branch-wrapper a{display:flex;align-items:center;justify-content:center;text-align:center;height:30px;line-height:30px;cursor:pointer;font-size:16px;color:#333}.branch-wrapper a>span{position:relative;min-height:20px;display:block}.branch-wrapper a.active>span:after{position:absolute;content:"";bottom:-5px;width:30px;height:3px;left:0;background-color:#5091ff}.gitAddressClone{margin:14px 20px!important;border-radius:4px;border:1px solid #eee;background:#fff;margin-left:20px;position:relative}.gitAddressClone,.gitAddressClone>span{display:flex;height:40px;align-items:center}.gitAddressClone>span{line-height:40px;padding:0 12px;cursor:pointer}.addressTips{position:absolute;font-size:12px;color:#ff6e21;top:-34px;left:30px;background-color:#fff;border:1px solid #fe881d;padding:0 5px;height:28px;line-height:28px}.addressTips>span{position:relative;display:block}.addressTips>span:before{top:25px;border:8px solid transparent;border-top-color:#fff;z-index:12}.addressTips>span:after,.addressTips>span:before{box-sizing:content-box;width:0;height:0;position:absolute;left:50%;margin-left:-4px;padding:0;display:block;content:""}.addressTips>span:after{top:26px;border:8px solid transparent;border-top-color:#fe881d;z-index:11}.gitAddressClone>span.addressType{color:#4cacff}.gitAddressClone>span:last-child{border-right:none}.gitAddressClone>input{outline:none;padding:0 8px;height:38px;line-height:38px;border:none!important;border-right:1px solid #eee!important;border-radius:4px 0 0 4px;flex:1;max-width:249px}.wrap-commit-table .ant-table-small>.ant-table-content>.ant-table-body{margin:0}.wrap-commit-table .ant-table-title{background-color:#f1f8ff;padding:13px 16px!important}.commitKey{cursor:pointer;border:1px solid #fd7700;background-color:#fff3dc;color:#fd7700!important;padding:0 12px;height:20px;line-height:20px;margin-left:15px;border-radius:18px;max-width:100%}.branchTitle{padding:8px 10px;color:#333;font-size:16px;border-bottom:1px solid #d9d9d9}.branchUl li{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;padding:20px 0;border-bottom:1px solid #eee}.branchUl li:last-child{border-bottom:none}.operationBtn{border:1px solid #f4f4f4;border-radius:3px;padding:0 6px;background-color:#fff;color:#666!important;display:inline-block}.messages{max-width:700px}.leftPoint{margin-left:20px;position:relative}.leftPoint:before{position:absolute;left:-10px;top:8px;border-radius:50%;width:4px;height:4px;background-color:#dadada;content:""}.subFileName{position:relative;margin-left:15px;height:22px}.subFileName:before{position:absolute;content:"/";left:-10px;top:0;color:#999;height:22px;line-height:22px}.addFile{display:flex}.addFile a{display:block;background-color:rgba(76,172,255,.8);color:#fff;cursor:pointer;height:32px;line-height:32px;padding:0 10px}.addFile a:first-child{border-radius:4px}.addFile a:last-child{border-left:1px solid hsla(0,0%,96.9%,.3)}.addFile a:active{background-color:#4cacff}@media screen and (max-width:750px){.list-r-Search{flex:1}.list-left,.list-right{width:100%;padding:0}}@media screen and (max-width:400px){.list-r-Search{width:100%}.headerMenu-wrapper{flex-direction:column;width:100%}.headerMenu-wrapper li{width:100%}.gitAddressClone{width:100%;margin-left:0}.gitAddressClone>span{padding:0}.messages{max-width:100%}}.commonBox{border:1px solid #ddd;margin-top:18px;border-radius:4px}.commonBox .ant-anchor-wrapper{overflow:unset!important}.commonBox .commonBox-title{padding:0 20px;box-sizing:border-box;font-size:16px;background:#fafbfc;font-weight:700;height:45px;line-height:45px;border-bottom:1px solid #d9d9d9;border-radius:4px 4px 0 0}.readBox{border:none}.readBox.commonBox .commonBox-info{border:1px solid #d0d0d0;border-top:none;border-radius:0 0 4px 4px;padding:20px 38px}.commonBox .commonBox-title.boxTitle{display:flex;justify-content:space-between;height:55px;line-height:55px;background:#fafcff;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23)}.synchronism{display:block;height:34px;line-height:34px;padding:0 15px;color:#fff!important;background-color:#28bd6c;border-radius:4px}.files_info{cursor:pointer}.commonBox .commonBox-info{padding:20px 15px}.commonBox-title-read{vertical-align:middle;color:#000;font-size:14px}.commonBox-title-read:hover{color:#466aff}@media screen and (max-width:370px){.p-r-btn,.p-r-tags{opacity:0;display:none}.p-r-about{flex-wrap:wrap}.commitKey{margin-right:0}.list-r-Search{width:100%}}.null_data_box{width:100%;border:1px solid #d4d4d5;border-radius:3px}.title{font-weight:700;background:#f4f4f4;padding:10px 15px;box-sizing:border-box;border-bottom:1px solid #d4d4d5}.item_title{font-size:18px;font-weight:700;margin-bottom:15px}.item{padding:15px;border-bottom:1px solid #dededf}.item:last-child{border-bottom:none}.item_title small{font-weight:400;margin-left:10px}.item_title small a{color:#4183c6}.Markdown{background:#f7f7f7;padding:10px 20px}.item .gitAddressClone input:focus{border:1px solid #2185d0}.content-file{margin-top:8px}.content-file .CodeMirror{background-color:#f7f7f7;border:1px solid #e4e4e4;border-radius:4px;height:auto}.content-file.edit .CodeMirror{background-color:#fff}.content-file .CodeMirror .CodeMirror-scroll{min-height:450px}.text-center{text-align:center}.fork-css{position:absolute;left:0;top:50px;width:100%}.color-grey-ccc{color:#ccc!important}a.color-grey-ccc:hover{color:#4cacff!important}.pull-right{float:right}.commitList{padding:0 30px;min-height:400px}.main{margin:30px auto}.main .ant-timeline{margin-top:28px}.main .ant-timeline .commitList-item{position:relative;padding:20px;background:#fafcff;border:1px solid rgba(42,97,255,.23);border-radius:4px;margin-left:16px;align-items:center}.main .ant-timeline .commitList-item:after,.main .ant-timeline .commitList-item:before{content:"";position:absolute;left:-10px;top:10px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:10px solid rgba(42,97,255,.23)}.main .ant-timeline .commitList-item:after{left:-8px;border-right:10px solid #fafcff}.main .ant-timeline .commitList-item:after:hover{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover{background:#eef6ff;border:1px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item:hover:after{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover:before{border-right:10px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item .treecopy-cont{padding:4px 15px}.main .ant-timeline .commitList-item .btn-83{margin-left:20px}.main .ant-timeline .ant-timeline-item{padding:8px 0 20px}.main .ant-timeline .ant-timeline-item-tail{height:calc(100% - 20px);border-left:2px solid #eee;top:12px}.main .ant-timeline .ant-timeline-item-tail:after{content:" ";height:0;position:absolute;width:0;border:7px solid transparent;border-top-color:#eee;top:100%;left:50%;margin-left:-8px}.main .ant-timeline .ant-timeline-item-head-custom{top:20px;padding:0 1px}.div_table{border:1px solid #eee;border-radius:2px}.ul_thead{box-sizing:border-box;background:#fafafa;border-bottom:1px solid #eee;height:50px;line-height:50px}.ul_tbody,.ul_thead{padding:0 30px}.ul_tbody li,.ul_thead li{display:flex;align-items:center;text-align:left}.ul_tbody li{padding:18px 0;border-bottom:1px solid #eee}.ul_tbody li:last-child{border-bottom:none}.ul_tbody li>span,.ul_thead li>span{width:20%;padding-right:20px}.ul_tbody li>span:nth-child(2),.ul_thead li>span:nth-child(2){flex:1}.ul_tbody_third{display:flex;flex-direction:column;align-items:flex-start;justify-content:left}.ul_tbody_forth{text-align:center;display:flex;justify-content:center}.depotNum{color:#666!important}.depotNum span:last-child{color:#333}.depotNum:hover span:last-child{color:#2a61ff} \ No newline at end of file +.lineH2{line-height:2}.t_project_banner{background-color:#050d34}.ProjectListIndex{width:1200px;margin:20px auto;display:flex;align-items:flex-start;flex-wrap:wrap}.list-left{width:26%;padding-right:20px;box-sizing:border-box;margin-bottom:20px}.list-left>div{border:1px solid #eee}.list-left>div.bgcF{border:none}.list-right{width:74%;background:#fff;padding:10px;border:1px solid #eee}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:none!important}.ant-menu-vertical>.ant-menu-item{margin:0!important;height:35px;line-height:35px;border-bottom:1px solid #eee;font-size:14px!important}.ant-menu-vertical>.ant-menu-item:last-child{border-bottom:none}.list-r-operation{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;padding:25px 30px;border-bottom:1px solid #e0e0e0}.list-r-Search{width:400px}.padding0-25{padding:0 25px}.list-r-Search .ant-btn-lg{height:38px}.list-r-Search .ant-input-group-addon{border:none!important}.list-r-Search .ant-input-search-button{height:40px!important}.createBtn{border-radius:4px;margin-left:20px;display:inline-block;padding:3px 15px;background-color:#4cacff;color:#fff!important}.project-list{padding:0 30px}.border-top-grey{border-top:1px solid #eee}.p-r-Item:last-child{border-bottom:none!important}.p-r-Item{display:flex;border-bottom:1px solid #eee;padding:22px 0;justify-content:flex-start}.boxShandow{box-shadow:0 2px 20px 10px rgba(0,0,0,.03)}.p-r-photo{width:60px;height:60px;border-radius:50%;margin-right:22px;margin-top:8px}.p-r-Infos{flex:1;width:0}.p-r-name{display:flex;justify-content:space-between;align-items:center}.p-r-name>p{flex:1;width:0}.p-r-btn{display:flex;align-items:center}.p-r-btn>span{height:35px;line-height:35px;border:1px solid #f4f4f4;border-radius:5px;display:block;margin-left:20px;background-color:#fff;display:flex}.p-r-btn>span>a{display:flex;align-items:center;padding:0 12px;background:#ececec}.p-r-btn>span>a:active{background:#f4f4f4}.p-r-btn>span>span{padding:0 8px}.p-r-tags{display:flex;opacity:1}.p-r-tags.large>span{height:30px;line-height:30px;font-size:14px}.p-r-tags>span{margin-left:15px;padding:0 10px;border-radius:15px;background:#ebf4fe;color:#333;height:24px;line-height:24px;display:block;font-size:12px;display:flex}.p-r-tags>span.pariseTag{background:#fff3dc}.p-r-tags.large>span>label{padding:0 12px}.p-r-tags>span>label{padding:0 8px}.p-r-tags.large>span>span{padding:0 6px}.pariseImg{width:14px;height:12px;margin-top:6px;margin-right:3px}.p-r-tags>span>span{display:block;background:#fff;border-left:#efefef;padding:0 4px;border-radius:0 4px 4px 0;color:#999}.p-r-content{margin-top:10px;color:#666;display:flex}.p-r-detail>span{margin-right:22px;color:#888}.p-r-detail>span>label{color:#999}.p-r-about{display:flex;justify-content:space-between;flex-wrap:nowrap;margin-top:8px;color:#666}.spincontent{height:400px}.spinstyle .ant-spin-text{margin-top:30px;color:#888}.detailHeader-wrapper{background-color:#fbfcff;border-bottom:1px solid #e2e2e2}.headerMenu-wrapper{display:flex;flex-direction:row;cursor:pointer}.headerMenu-wrapper li{text-align:center;padding:0;margin-right:40px;display:flex}.headerMenu-wrapper li>a{position:relative;font-size:14px;height:36px;line-height:24px;display:block;color:#000!important}.headerMenu-wrapper li>a>span.num{line-height:24px;margin-left:5px;font-size:12px;float:right;color:#666!important;background-color:hsla(0,0%,60%,.13);border-radius:50%;width:24px;height:24px}.headerMenu-wrapper li.active a:after,.headerMenu-wrapper li:hover a:after{position:absolute;bottom:0;height:2px;background-color:hsla(0,0%,60%,.2);content:"";left:0;width:100%}.headerMenu-wrapper li.active span{font-weight:500}.headerMenu-wrapper li.active a:after{background-color:#466aff}.detail_tag_btn{height:32px;line-height:32px;border-radius:5px;border:1px solid #d0d0d0;display:flex;align-items:center;margin-left:10px;padding:0;background-color:#fafbfc;box-shadow:none}.detail_tag_btn .detail_tag_btn_name{padding:0 10px;text-align:center;height:30px;line-height:30px;border-radius:5px 0 0 5px}.detail_tag_btn .detail_tag_btn_name:hover{background-color:#f3f4f6}.detail_tag_btn .detail_tag_btn_name span{color:#333!important}.detail_tag_btn .detail_tag_btn_count{width:42px;text-align:center;background:#fff;border-radius:0 4px 4px 0;height:100%;border-left:1px solid #d0d0d0}.ant-tooltip{max-width:fit-content!important}.files-md{padding:20px}.branch-wrapper{border:1px solid #eee;border-radius:4px;display:flex;align-items:center;height:60px;padding:0 30px;width:1200px;background-color:#fff;margin:20px auto 0;justify-content:space-between}.branch-wrapper>a>i{color:#5091ff;margin-right:5px;cursor:default}.branch-wrapper a{display:flex;align-items:center;justify-content:center;text-align:center;height:30px;line-height:30px;cursor:pointer;font-size:16px;color:#333}.branch-wrapper a>span{position:relative;min-height:20px;display:block}.branch-wrapper a.active>span:after{position:absolute;content:"";bottom:-5px;width:30px;height:3px;left:0;background-color:#5091ff}.gitAddressClone{margin:14px 20px!important;border-radius:4px;border:1px solid #eee;background:#fff;margin-left:20px;position:relative}.gitAddressClone,.gitAddressClone>span{display:flex;height:40px;align-items:center}.gitAddressClone>span{line-height:40px;padding:0 12px;cursor:pointer}.addressTips{position:absolute;font-size:12px;color:#ff6e21;top:-34px;left:30px;background-color:#fff;border:1px solid #fe881d;padding:0 5px;height:28px;line-height:28px}.addressTips>span{position:relative;display:block}.addressTips>span:before{top:25px;border:8px solid transparent;border-top-color:#fff;z-index:12}.addressTips>span:after,.addressTips>span:before{box-sizing:content-box;width:0;height:0;position:absolute;left:50%;margin-left:-4px;padding:0;display:block;content:""}.addressTips>span:after{top:26px;border:8px solid transparent;border-top-color:#fe881d;z-index:11}.gitAddressClone>span.addressType{color:#4cacff}.gitAddressClone>span:last-child{border-right:none}.gitAddressClone>input{outline:none;padding:0 8px;height:38px;line-height:38px;border:none!important;border-right:1px solid #eee!important;border-radius:4px 0 0 4px;flex:1;max-width:249px}.wrap-commit-table .ant-table-small>.ant-table-content>.ant-table-body{margin:0}.wrap-commit-table .ant-table-title{background-color:#f1f8ff;padding:13px 16px!important}.commitKey{cursor:pointer;border:1px solid #fd7700;background-color:#fff3dc;color:#fd7700!important;padding:0 12px;height:20px;line-height:20px;margin-left:15px;border-radius:18px;max-width:100%}.branchTitle{padding:8px 10px;color:#333;font-size:16px;border-bottom:1px solid #d9d9d9}.branchUl li{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;padding:20px 0;border-bottom:1px solid #eee}.branchUl li:last-child{border-bottom:none}.operationBtn{border:1px solid #f4f4f4;border-radius:3px;padding:0 6px;background-color:#fff;color:#666!important;display:inline-block}.messages{max-width:700px}.leftPoint{margin-left:20px;position:relative}.leftPoint:before{position:absolute;left:-10px;top:8px;border-radius:50%;width:4px;height:4px;background-color:#dadada;content:""}.subFileName{position:relative;margin-left:15px;height:22px}.subFileName:before{position:absolute;content:"/";left:-10px;top:0;color:#999;height:22px;line-height:22px}.addFile{display:flex}.addFile a{display:block;background-color:rgba(76,172,255,.8);color:#fff;cursor:pointer;height:32px;line-height:32px;padding:0 10px}.addFile a:first-child{border-radius:4px}.addFile a:last-child{border-left:1px solid hsla(0,0%,96.9%,.3)}.addFile a:active{background-color:#4cacff}@media screen and (max-width:750px){.list-r-Search{flex:1}.list-left,.list-right{width:100%;padding:0}}@media screen and (max-width:400px){.list-r-Search{width:100%}.headerMenu-wrapper{flex-direction:column;width:100%}.headerMenu-wrapper li{width:100%}.gitAddressClone{width:100%;margin-left:0}.gitAddressClone>span{padding:0}.messages{max-width:100%}}.commonBox{border:1px solid #ddd;margin-top:18px;border-radius:4px}.commonBox .ant-anchor-wrapper{overflow:unset!important}.commonBox .commonBox-title{padding:0 20px;box-sizing:border-box;font-size:16px;background:#fafbfc;font-weight:700;height:45px;line-height:45px;border-bottom:1px solid #d9d9d9;border-radius:4px 4px 0 0}.readBox{border:none}.readBox.commonBox .commonBox-info{border:1px solid #d0d0d0;border-top:none;border-radius:0 0 4px 4px;padding:20px 38px}.commonBox .commonBox-title.boxTitle{display:flex;justify-content:space-between;height:55px;line-height:55px;background:#fafcff;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23)}.synchronism{display:block;height:34px;line-height:34px;padding:0 15px;color:#fff!important;background-color:#28bd6c;border-radius:4px}.files_info{cursor:pointer}.commonBox .commonBox-info{padding:20px 15px}.commonBox-title-read{vertical-align:middle;color:#000;font-size:14px}.commonBox-title-read:hover{color:#466aff}@media screen and (max-width:370px){.p-r-btn,.p-r-tags{opacity:0;display:none}.p-r-about{flex-wrap:wrap}.commitKey{margin-right:0}.list-r-Search{width:100%}}.null_data_box{width:100%;border:1px solid #d4d4d5;border-radius:3px}.title{font-weight:700;background:#f4f4f4;padding:10px 15px;box-sizing:border-box;border-bottom:1px solid #d4d4d5}.item_title{font-size:18px;font-weight:700;margin-bottom:15px}.item{padding:15px;border-bottom:1px solid #dededf}.item:last-child{border-bottom:none}.item_title small{font-weight:400;margin-left:10px}.item_title small a{color:#4183c6}.Markdown{background:#f7f7f7;padding:10px 20px}.item .gitAddressClone input:focus{border:1px solid #2185d0}.content-file{margin-top:8px}.content-file .CodeMirror{background-color:#f7f7f7;border:1px solid #e4e4e4;border-radius:4px;height:auto}.content-file.edit .CodeMirror{background-color:#fff}.content-file .CodeMirror .CodeMirror-scroll{min-height:450px}.text-center{text-align:center}.fork-css{position:absolute;left:0;top:50px;width:100%}.color-grey-ccc{color:#ccc!important}a.color-grey-ccc:hover{color:#4cacff!important}.pull-right{float:right}.commitList{padding:0 30px;min-height:400px}.main{margin:30px auto}.main .ant-timeline{margin-top:28px}.main .ant-timeline .commitList-item{position:relative;padding:20px;background:#fafcff;border:1px solid rgba(42,97,255,.23);border-radius:4px;margin-left:16px;align-items:center}.main .ant-timeline .commitList-item .markdown-body table{background:#fafcff}.main .ant-timeline .commitList-item:after,.main .ant-timeline .commitList-item:before{content:"";position:absolute;left:-10px;top:10px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:10px solid rgba(42,97,255,.23)}.main .ant-timeline .commitList-item:after{left:-8px;border-right:10px solid #fafcff}.main .ant-timeline .commitList-item:after:hover{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover{background:#eef6ff;border:1px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item:hover:after{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover:before{border-right:10px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item:hover .markdown-body table{background:#eef6ff}.main .ant-timeline .commitList-item .treecopy-cont{padding:4px 15px}.main .ant-timeline .commitList-item .btn-83{margin-left:20px}.main .ant-timeline .ant-timeline-item{padding:8px 0 20px}.main .ant-timeline .ant-timeline-item-tail{height:calc(100% - 20px);border-left:2px solid #eee;top:12px}.main .ant-timeline .ant-timeline-item-tail:after{content:" ";height:0;position:absolute;width:0;border:7px solid transparent;border-top-color:#eee;top:100%;left:50%;margin-left:-8px}.main .ant-timeline .ant-timeline-item-head-custom{top:20px;padding:0 1px}.div_table{border:1px solid #eee;border-radius:2px}.ul_thead{box-sizing:border-box;background:#fafafa;border-bottom:1px solid #eee;height:50px;line-height:50px}.ul_tbody,.ul_thead{padding:0 30px}.ul_tbody li,.ul_thead li{display:flex;align-items:center;text-align:left}.ul_tbody li{padding:18px 0;border-bottom:1px solid #eee}.ul_tbody li:last-child{border-bottom:none}.ul_tbody li>span,.ul_thead li>span{width:20%;padding-right:20px}.ul_tbody li>span:nth-child(2),.ul_thead li>span:nth-child(2){flex:1}.ul_tbody_third{display:flex;flex-direction:column;align-items:flex-start;justify-content:left}.ul_tbody_forth{text-align:center;display:flex;justify-content:center}.depotNum{color:#666!important}.depotNum span:last-child{color:#333}.depotNum:hover span:last-child{color:#2a61ff} \ No newline at end of file diff --git a/static/css/13.1e970b46.chunk.css b/static/css/14.1e970b46.chunk.css similarity index 100% rename from static/css/13.1e970b46.chunk.css rename to static/css/14.1e970b46.chunk.css diff --git a/static/css/29.ca2e5efb.chunk.css b/static/css/29.efe18c78.chunk.css similarity index 86% rename from static/css/29.ca2e5efb.chunk.css rename to static/css/29.efe18c78.chunk.css index 6867e4980..3eaa1d548 100644 --- a/static/css/29.ca2e5efb.chunk.css +++ b/static/css/29.efe18c78.chunk.css @@ -1 +1 @@ -.ant-row{position:relative;height:auto;margin-right:0;margin-left:0;zoom:1;display:block;-webkit-box-sizing:border-box;box-sizing:border-box}.ant-row:after,.ant-row:before{display:table;content:""}.ant-row+.ant-row:before,.ant-row:after{clear:both}.ant-row-flex{-ms-flex-flow:row wrap;flex-flow:row wrap}.ant-row-flex,.ant-row-flex:after,.ant-row-flex:before{display:-ms-flexbox;display:flex}.ant-row-flex-start{-ms-flex-pack:start;justify-content:flex-start}.ant-row-flex-center{-ms-flex-pack:center;justify-content:center}.ant-row-flex-end{-ms-flex-pack:end;justify-content:flex-end}.ant-row-flex-space-between{-ms-flex-pack:justify;justify-content:space-between}.ant-row-flex-space-around{-ms-flex-pack:distribute;justify-content:space-around}.ant-row-flex-top{-ms-flex-align:start;align-items:flex-start}.ant-row-flex-middle{-ms-flex-align:center;align-items:center}.ant-row-flex-bottom{-ms-flex-align:end;align-items:flex-end}.ant-col{position:relative;min-height:1px}.ant-col-1,.ant-col-2,.ant-col-3,.ant-col-4,.ant-col-5,.ant-col-6,.ant-col-7,.ant-col-8,.ant-col-9,.ant-col-10,.ant-col-11,.ant-col-12,.ant-col-13,.ant-col-14,.ant-col-15,.ant-col-16,.ant-col-17,.ant-col-18,.ant-col-19,.ant-col-20,.ant-col-21,.ant-col-22,.ant-col-23,.ant-col-24,.ant-col-lg-1,.ant-col-lg-2,.ant-col-lg-3,.ant-col-lg-4,.ant-col-lg-5,.ant-col-lg-6,.ant-col-lg-7,.ant-col-lg-8,.ant-col-lg-9,.ant-col-lg-10,.ant-col-lg-11,.ant-col-lg-12,.ant-col-lg-13,.ant-col-lg-14,.ant-col-lg-15,.ant-col-lg-16,.ant-col-lg-17,.ant-col-lg-18,.ant-col-lg-19,.ant-col-lg-20,.ant-col-lg-21,.ant-col-lg-22,.ant-col-lg-23,.ant-col-lg-24,.ant-col-md-1,.ant-col-md-2,.ant-col-md-3,.ant-col-md-4,.ant-col-md-5,.ant-col-md-6,.ant-col-md-7,.ant-col-md-8,.ant-col-md-9,.ant-col-md-10,.ant-col-md-11,.ant-col-md-12,.ant-col-md-13,.ant-col-md-14,.ant-col-md-15,.ant-col-md-16,.ant-col-md-17,.ant-col-md-18,.ant-col-md-19,.ant-col-md-20,.ant-col-md-21,.ant-col-md-22,.ant-col-md-23,.ant-col-md-24,.ant-col-sm-1,.ant-col-sm-2,.ant-col-sm-3,.ant-col-sm-4,.ant-col-sm-5,.ant-col-sm-6,.ant-col-sm-7,.ant-col-sm-8,.ant-col-sm-9,.ant-col-sm-10,.ant-col-sm-11,.ant-col-sm-12,.ant-col-sm-13,.ant-col-sm-14,.ant-col-sm-15,.ant-col-sm-16,.ant-col-sm-17,.ant-col-sm-18,.ant-col-sm-19,.ant-col-sm-20,.ant-col-sm-21,.ant-col-sm-22,.ant-col-sm-23,.ant-col-sm-24,.ant-col-xs-1,.ant-col-xs-2,.ant-col-xs-3,.ant-col-xs-4,.ant-col-xs-5,.ant-col-xs-6,.ant-col-xs-7,.ant-col-xs-8,.ant-col-xs-9,.ant-col-xs-10,.ant-col-xs-11,.ant-col-xs-12,.ant-col-xs-13,.ant-col-xs-14,.ant-col-xs-15,.ant-col-xs-16,.ant-col-xs-17,.ant-col-xs-18,.ant-col-xs-19,.ant-col-xs-20,.ant-col-xs-21,.ant-col-xs-22,.ant-col-xs-23,.ant-col-xs-24{position:relative;padding-right:0;padding-left:0}.ant-col-1,.ant-col-2,.ant-col-3,.ant-col-4,.ant-col-5,.ant-col-6,.ant-col-7,.ant-col-8,.ant-col-9,.ant-col-10,.ant-col-11,.ant-col-12,.ant-col-13,.ant-col-14,.ant-col-15,.ant-col-16,.ant-col-17,.ant-col-18,.ant-col-19,.ant-col-20,.ant-col-21,.ant-col-22,.ant-col-23,.ant-col-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-push-24{left:100%}.ant-col-pull-24{right:100%}.ant-col-offset-24{margin-left:100%}.ant-col-order-24{-ms-flex-order:24;order:24}.ant-col-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-push-23{left:95.83333333%}.ant-col-pull-23{right:95.83333333%}.ant-col-offset-23{margin-left:95.83333333%}.ant-col-order-23{-ms-flex-order:23;order:23}.ant-col-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-push-22{left:91.66666667%}.ant-col-pull-22{right:91.66666667%}.ant-col-offset-22{margin-left:91.66666667%}.ant-col-order-22{-ms-flex-order:22;order:22}.ant-col-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-push-21{left:87.5%}.ant-col-pull-21{right:87.5%}.ant-col-offset-21{margin-left:87.5%}.ant-col-order-21{-ms-flex-order:21;order:21}.ant-col-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-push-20{left:83.33333333%}.ant-col-pull-20{right:83.33333333%}.ant-col-offset-20{margin-left:83.33333333%}.ant-col-order-20{-ms-flex-order:20;order:20}.ant-col-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-push-19{left:79.16666667%}.ant-col-pull-19{right:79.16666667%}.ant-col-offset-19{margin-left:79.16666667%}.ant-col-order-19{-ms-flex-order:19;order:19}.ant-col-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-push-18{left:75%}.ant-col-pull-18{right:75%}.ant-col-offset-18{margin-left:75%}.ant-col-order-18{-ms-flex-order:18;order:18}.ant-col-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-push-17{left:70.83333333%}.ant-col-pull-17{right:70.83333333%}.ant-col-offset-17{margin-left:70.83333333%}.ant-col-order-17{-ms-flex-order:17;order:17}.ant-col-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-push-16{left:66.66666667%}.ant-col-pull-16{right:66.66666667%}.ant-col-offset-16{margin-left:66.66666667%}.ant-col-order-16{-ms-flex-order:16;order:16}.ant-col-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-push-15{left:62.5%}.ant-col-pull-15{right:62.5%}.ant-col-offset-15{margin-left:62.5%}.ant-col-order-15{-ms-flex-order:15;order:15}.ant-col-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-push-14{left:58.33333333%}.ant-col-pull-14{right:58.33333333%}.ant-col-offset-14{margin-left:58.33333333%}.ant-col-order-14{-ms-flex-order:14;order:14}.ant-col-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-push-13{left:54.16666667%}.ant-col-pull-13{right:54.16666667%}.ant-col-offset-13{margin-left:54.16666667%}.ant-col-order-13{-ms-flex-order:13;order:13}.ant-col-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-push-12{left:50%}.ant-col-pull-12{right:50%}.ant-col-offset-12{margin-left:50%}.ant-col-order-12{-ms-flex-order:12;order:12}.ant-col-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-push-11{left:45.83333333%}.ant-col-pull-11{right:45.83333333%}.ant-col-offset-11{margin-left:45.83333333%}.ant-col-order-11{-ms-flex-order:11;order:11}.ant-col-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-push-10{left:41.66666667%}.ant-col-pull-10{right:41.66666667%}.ant-col-offset-10{margin-left:41.66666667%}.ant-col-order-10{-ms-flex-order:10;order:10}.ant-col-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-push-9{left:37.5%}.ant-col-pull-9{right:37.5%}.ant-col-offset-9{margin-left:37.5%}.ant-col-order-9{-ms-flex-order:9;order:9}.ant-col-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-push-8{left:33.33333333%}.ant-col-pull-8{right:33.33333333%}.ant-col-offset-8{margin-left:33.33333333%}.ant-col-order-8{-ms-flex-order:8;order:8}.ant-col-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-push-7{left:29.16666667%}.ant-col-pull-7{right:29.16666667%}.ant-col-offset-7{margin-left:29.16666667%}.ant-col-order-7{-ms-flex-order:7;order:7}.ant-col-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-push-6{left:25%}.ant-col-pull-6{right:25%}.ant-col-offset-6{margin-left:25%}.ant-col-order-6{-ms-flex-order:6;order:6}.ant-col-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-push-5{left:20.83333333%}.ant-col-pull-5{right:20.83333333%}.ant-col-offset-5{margin-left:20.83333333%}.ant-col-order-5{-ms-flex-order:5;order:5}.ant-col-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-push-4{left:16.66666667%}.ant-col-pull-4{right:16.66666667%}.ant-col-offset-4{margin-left:16.66666667%}.ant-col-order-4{-ms-flex-order:4;order:4}.ant-col-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-push-3{left:12.5%}.ant-col-pull-3{right:12.5%}.ant-col-offset-3{margin-left:12.5%}.ant-col-order-3{-ms-flex-order:3;order:3}.ant-col-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-push-2{left:8.33333333%}.ant-col-pull-2{right:8.33333333%}.ant-col-offset-2{margin-left:8.33333333%}.ant-col-order-2{-ms-flex-order:2;order:2}.ant-col-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-push-1{left:4.16666667%}.ant-col-pull-1{right:4.16666667%}.ant-col-offset-1{margin-left:4.16666667%}.ant-col-order-1{-ms-flex-order:1;order:1}.ant-col-0{display:none}.ant-col-offset-0{margin-left:0}.ant-col-order-0{-ms-flex-order:0;order:0}.ant-col-xs-1,.ant-col-xs-2,.ant-col-xs-3,.ant-col-xs-4,.ant-col-xs-5,.ant-col-xs-6,.ant-col-xs-7,.ant-col-xs-8,.ant-col-xs-9,.ant-col-xs-10,.ant-col-xs-11,.ant-col-xs-12,.ant-col-xs-13,.ant-col-xs-14,.ant-col-xs-15,.ant-col-xs-16,.ant-col-xs-17,.ant-col-xs-18,.ant-col-xs-19,.ant-col-xs-20,.ant-col-xs-21,.ant-col-xs-22,.ant-col-xs-23,.ant-col-xs-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-xs-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-xs-push-24{left:100%}.ant-col-xs-pull-24{right:100%}.ant-col-xs-offset-24{margin-left:100%}.ant-col-xs-order-24{-ms-flex-order:24;order:24}.ant-col-xs-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-xs-push-23{left:95.83333333%}.ant-col-xs-pull-23{right:95.83333333%}.ant-col-xs-offset-23{margin-left:95.83333333%}.ant-col-xs-order-23{-ms-flex-order:23;order:23}.ant-col-xs-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-xs-push-22{left:91.66666667%}.ant-col-xs-pull-22{right:91.66666667%}.ant-col-xs-offset-22{margin-left:91.66666667%}.ant-col-xs-order-22{-ms-flex-order:22;order:22}.ant-col-xs-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-xs-push-21{left:87.5%}.ant-col-xs-pull-21{right:87.5%}.ant-col-xs-offset-21{margin-left:87.5%}.ant-col-xs-order-21{-ms-flex-order:21;order:21}.ant-col-xs-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-xs-push-20{left:83.33333333%}.ant-col-xs-pull-20{right:83.33333333%}.ant-col-xs-offset-20{margin-left:83.33333333%}.ant-col-xs-order-20{-ms-flex-order:20;order:20}.ant-col-xs-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-xs-push-19{left:79.16666667%}.ant-col-xs-pull-19{right:79.16666667%}.ant-col-xs-offset-19{margin-left:79.16666667%}.ant-col-xs-order-19{-ms-flex-order:19;order:19}.ant-col-xs-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-xs-push-18{left:75%}.ant-col-xs-pull-18{right:75%}.ant-col-xs-offset-18{margin-left:75%}.ant-col-xs-order-18{-ms-flex-order:18;order:18}.ant-col-xs-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-xs-push-17{left:70.83333333%}.ant-col-xs-pull-17{right:70.83333333%}.ant-col-xs-offset-17{margin-left:70.83333333%}.ant-col-xs-order-17{-ms-flex-order:17;order:17}.ant-col-xs-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-xs-push-16{left:66.66666667%}.ant-col-xs-pull-16{right:66.66666667%}.ant-col-xs-offset-16{margin-left:66.66666667%}.ant-col-xs-order-16{-ms-flex-order:16;order:16}.ant-col-xs-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-xs-push-15{left:62.5%}.ant-col-xs-pull-15{right:62.5%}.ant-col-xs-offset-15{margin-left:62.5%}.ant-col-xs-order-15{-ms-flex-order:15;order:15}.ant-col-xs-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-xs-push-14{left:58.33333333%}.ant-col-xs-pull-14{right:58.33333333%}.ant-col-xs-offset-14{margin-left:58.33333333%}.ant-col-xs-order-14{-ms-flex-order:14;order:14}.ant-col-xs-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-xs-push-13{left:54.16666667%}.ant-col-xs-pull-13{right:54.16666667%}.ant-col-xs-offset-13{margin-left:54.16666667%}.ant-col-xs-order-13{-ms-flex-order:13;order:13}.ant-col-xs-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-xs-push-12{left:50%}.ant-col-xs-pull-12{right:50%}.ant-col-xs-offset-12{margin-left:50%}.ant-col-xs-order-12{-ms-flex-order:12;order:12}.ant-col-xs-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-xs-push-11{left:45.83333333%}.ant-col-xs-pull-11{right:45.83333333%}.ant-col-xs-offset-11{margin-left:45.83333333%}.ant-col-xs-order-11{-ms-flex-order:11;order:11}.ant-col-xs-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-xs-push-10{left:41.66666667%}.ant-col-xs-pull-10{right:41.66666667%}.ant-col-xs-offset-10{margin-left:41.66666667%}.ant-col-xs-order-10{-ms-flex-order:10;order:10}.ant-col-xs-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-xs-push-9{left:37.5%}.ant-col-xs-pull-9{right:37.5%}.ant-col-xs-offset-9{margin-left:37.5%}.ant-col-xs-order-9{-ms-flex-order:9;order:9}.ant-col-xs-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-xs-push-8{left:33.33333333%}.ant-col-xs-pull-8{right:33.33333333%}.ant-col-xs-offset-8{margin-left:33.33333333%}.ant-col-xs-order-8{-ms-flex-order:8;order:8}.ant-col-xs-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-xs-push-7{left:29.16666667%}.ant-col-xs-pull-7{right:29.16666667%}.ant-col-xs-offset-7{margin-left:29.16666667%}.ant-col-xs-order-7{-ms-flex-order:7;order:7}.ant-col-xs-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-xs-push-6{left:25%}.ant-col-xs-pull-6{right:25%}.ant-col-xs-offset-6{margin-left:25%}.ant-col-xs-order-6{-ms-flex-order:6;order:6}.ant-col-xs-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-xs-push-5{left:20.83333333%}.ant-col-xs-pull-5{right:20.83333333%}.ant-col-xs-offset-5{margin-left:20.83333333%}.ant-col-xs-order-5{-ms-flex-order:5;order:5}.ant-col-xs-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-xs-push-4{left:16.66666667%}.ant-col-xs-pull-4{right:16.66666667%}.ant-col-xs-offset-4{margin-left:16.66666667%}.ant-col-xs-order-4{-ms-flex-order:4;order:4}.ant-col-xs-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-xs-push-3{left:12.5%}.ant-col-xs-pull-3{right:12.5%}.ant-col-xs-offset-3{margin-left:12.5%}.ant-col-xs-order-3{-ms-flex-order:3;order:3}.ant-col-xs-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-xs-push-2{left:8.33333333%}.ant-col-xs-pull-2{right:8.33333333%}.ant-col-xs-offset-2{margin-left:8.33333333%}.ant-col-xs-order-2{-ms-flex-order:2;order:2}.ant-col-xs-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-xs-push-1{left:4.16666667%}.ant-col-xs-pull-1{right:4.16666667%}.ant-col-xs-offset-1{margin-left:4.16666667%}.ant-col-xs-order-1{-ms-flex-order:1;order:1}.ant-col-xs-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xs-push-0{left:auto}.ant-col-xs-pull-0{right:auto}.ant-col-xs-offset-0{margin-left:0}.ant-col-xs-order-0{-ms-flex-order:0;order:0}@media (min-width:576px){.ant-col-sm-1,.ant-col-sm-2,.ant-col-sm-3,.ant-col-sm-4,.ant-col-sm-5,.ant-col-sm-6,.ant-col-sm-7,.ant-col-sm-8,.ant-col-sm-9,.ant-col-sm-10,.ant-col-sm-11,.ant-col-sm-12,.ant-col-sm-13,.ant-col-sm-14,.ant-col-sm-15,.ant-col-sm-16,.ant-col-sm-17,.ant-col-sm-18,.ant-col-sm-19,.ant-col-sm-20,.ant-col-sm-21,.ant-col-sm-22,.ant-col-sm-23,.ant-col-sm-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-sm-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-sm-push-24{left:100%}.ant-col-sm-pull-24{right:100%}.ant-col-sm-offset-24{margin-left:100%}.ant-col-sm-order-24{-ms-flex-order:24;order:24}.ant-col-sm-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-sm-push-23{left:95.83333333%}.ant-col-sm-pull-23{right:95.83333333%}.ant-col-sm-offset-23{margin-left:95.83333333%}.ant-col-sm-order-23{-ms-flex-order:23;order:23}.ant-col-sm-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-sm-push-22{left:91.66666667%}.ant-col-sm-pull-22{right:91.66666667%}.ant-col-sm-offset-22{margin-left:91.66666667%}.ant-col-sm-order-22{-ms-flex-order:22;order:22}.ant-col-sm-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-sm-push-21{left:87.5%}.ant-col-sm-pull-21{right:87.5%}.ant-col-sm-offset-21{margin-left:87.5%}.ant-col-sm-order-21{-ms-flex-order:21;order:21}.ant-col-sm-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-sm-push-20{left:83.33333333%}.ant-col-sm-pull-20{right:83.33333333%}.ant-col-sm-offset-20{margin-left:83.33333333%}.ant-col-sm-order-20{-ms-flex-order:20;order:20}.ant-col-sm-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-sm-push-19{left:79.16666667%}.ant-col-sm-pull-19{right:79.16666667%}.ant-col-sm-offset-19{margin-left:79.16666667%}.ant-col-sm-order-19{-ms-flex-order:19;order:19}.ant-col-sm-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-sm-push-18{left:75%}.ant-col-sm-pull-18{right:75%}.ant-col-sm-offset-18{margin-left:75%}.ant-col-sm-order-18{-ms-flex-order:18;order:18}.ant-col-sm-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-sm-push-17{left:70.83333333%}.ant-col-sm-pull-17{right:70.83333333%}.ant-col-sm-offset-17{margin-left:70.83333333%}.ant-col-sm-order-17{-ms-flex-order:17;order:17}.ant-col-sm-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-sm-push-16{left:66.66666667%}.ant-col-sm-pull-16{right:66.66666667%}.ant-col-sm-offset-16{margin-left:66.66666667%}.ant-col-sm-order-16{-ms-flex-order:16;order:16}.ant-col-sm-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-sm-push-15{left:62.5%}.ant-col-sm-pull-15{right:62.5%}.ant-col-sm-offset-15{margin-left:62.5%}.ant-col-sm-order-15{-ms-flex-order:15;order:15}.ant-col-sm-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-sm-push-14{left:58.33333333%}.ant-col-sm-pull-14{right:58.33333333%}.ant-col-sm-offset-14{margin-left:58.33333333%}.ant-col-sm-order-14{-ms-flex-order:14;order:14}.ant-col-sm-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-sm-push-13{left:54.16666667%}.ant-col-sm-pull-13{right:54.16666667%}.ant-col-sm-offset-13{margin-left:54.16666667%}.ant-col-sm-order-13{-ms-flex-order:13;order:13}.ant-col-sm-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-sm-push-12{left:50%}.ant-col-sm-pull-12{right:50%}.ant-col-sm-offset-12{margin-left:50%}.ant-col-sm-order-12{-ms-flex-order:12;order:12}.ant-col-sm-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-sm-push-11{left:45.83333333%}.ant-col-sm-pull-11{right:45.83333333%}.ant-col-sm-offset-11{margin-left:45.83333333%}.ant-col-sm-order-11{-ms-flex-order:11;order:11}.ant-col-sm-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-sm-push-10{left:41.66666667%}.ant-col-sm-pull-10{right:41.66666667%}.ant-col-sm-offset-10{margin-left:41.66666667%}.ant-col-sm-order-10{-ms-flex-order:10;order:10}.ant-col-sm-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-sm-push-9{left:37.5%}.ant-col-sm-pull-9{right:37.5%}.ant-col-sm-offset-9{margin-left:37.5%}.ant-col-sm-order-9{-ms-flex-order:9;order:9}.ant-col-sm-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-sm-push-8{left:33.33333333%}.ant-col-sm-pull-8{right:33.33333333%}.ant-col-sm-offset-8{margin-left:33.33333333%}.ant-col-sm-order-8{-ms-flex-order:8;order:8}.ant-col-sm-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-sm-push-7{left:29.16666667%}.ant-col-sm-pull-7{right:29.16666667%}.ant-col-sm-offset-7{margin-left:29.16666667%}.ant-col-sm-order-7{-ms-flex-order:7;order:7}.ant-col-sm-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-sm-push-6{left:25%}.ant-col-sm-pull-6{right:25%}.ant-col-sm-offset-6{margin-left:25%}.ant-col-sm-order-6{-ms-flex-order:6;order:6}.ant-col-sm-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-sm-push-5{left:20.83333333%}.ant-col-sm-pull-5{right:20.83333333%}.ant-col-sm-offset-5{margin-left:20.83333333%}.ant-col-sm-order-5{-ms-flex-order:5;order:5}.ant-col-sm-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-sm-push-4{left:16.66666667%}.ant-col-sm-pull-4{right:16.66666667%}.ant-col-sm-offset-4{margin-left:16.66666667%}.ant-col-sm-order-4{-ms-flex-order:4;order:4}.ant-col-sm-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-sm-push-3{left:12.5%}.ant-col-sm-pull-3{right:12.5%}.ant-col-sm-offset-3{margin-left:12.5%}.ant-col-sm-order-3{-ms-flex-order:3;order:3}.ant-col-sm-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-sm-push-2{left:8.33333333%}.ant-col-sm-pull-2{right:8.33333333%}.ant-col-sm-offset-2{margin-left:8.33333333%}.ant-col-sm-order-2{-ms-flex-order:2;order:2}.ant-col-sm-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-sm-push-1{left:4.16666667%}.ant-col-sm-pull-1{right:4.16666667%}.ant-col-sm-offset-1{margin-left:4.16666667%}.ant-col-sm-order-1{-ms-flex-order:1;order:1}.ant-col-sm-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-sm-push-0{left:auto}.ant-col-sm-pull-0{right:auto}.ant-col-sm-offset-0{margin-left:0}.ant-col-sm-order-0{-ms-flex-order:0;order:0}}@media (min-width:768px){.ant-col-md-1,.ant-col-md-2,.ant-col-md-3,.ant-col-md-4,.ant-col-md-5,.ant-col-md-6,.ant-col-md-7,.ant-col-md-8,.ant-col-md-9,.ant-col-md-10,.ant-col-md-11,.ant-col-md-12,.ant-col-md-13,.ant-col-md-14,.ant-col-md-15,.ant-col-md-16,.ant-col-md-17,.ant-col-md-18,.ant-col-md-19,.ant-col-md-20,.ant-col-md-21,.ant-col-md-22,.ant-col-md-23,.ant-col-md-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-md-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-md-push-24{left:100%}.ant-col-md-pull-24{right:100%}.ant-col-md-offset-24{margin-left:100%}.ant-col-md-order-24{-ms-flex-order:24;order:24}.ant-col-md-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-md-push-23{left:95.83333333%}.ant-col-md-pull-23{right:95.83333333%}.ant-col-md-offset-23{margin-left:95.83333333%}.ant-col-md-order-23{-ms-flex-order:23;order:23}.ant-col-md-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-md-push-22{left:91.66666667%}.ant-col-md-pull-22{right:91.66666667%}.ant-col-md-offset-22{margin-left:91.66666667%}.ant-col-md-order-22{-ms-flex-order:22;order:22}.ant-col-md-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-md-push-21{left:87.5%}.ant-col-md-pull-21{right:87.5%}.ant-col-md-offset-21{margin-left:87.5%}.ant-col-md-order-21{-ms-flex-order:21;order:21}.ant-col-md-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-md-push-20{left:83.33333333%}.ant-col-md-pull-20{right:83.33333333%}.ant-col-md-offset-20{margin-left:83.33333333%}.ant-col-md-order-20{-ms-flex-order:20;order:20}.ant-col-md-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-md-push-19{left:79.16666667%}.ant-col-md-pull-19{right:79.16666667%}.ant-col-md-offset-19{margin-left:79.16666667%}.ant-col-md-order-19{-ms-flex-order:19;order:19}.ant-col-md-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-md-push-18{left:75%}.ant-col-md-pull-18{right:75%}.ant-col-md-offset-18{margin-left:75%}.ant-col-md-order-18{-ms-flex-order:18;order:18}.ant-col-md-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-md-push-17{left:70.83333333%}.ant-col-md-pull-17{right:70.83333333%}.ant-col-md-offset-17{margin-left:70.83333333%}.ant-col-md-order-17{-ms-flex-order:17;order:17}.ant-col-md-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-md-push-16{left:66.66666667%}.ant-col-md-pull-16{right:66.66666667%}.ant-col-md-offset-16{margin-left:66.66666667%}.ant-col-md-order-16{-ms-flex-order:16;order:16}.ant-col-md-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-md-push-15{left:62.5%}.ant-col-md-pull-15{right:62.5%}.ant-col-md-offset-15{margin-left:62.5%}.ant-col-md-order-15{-ms-flex-order:15;order:15}.ant-col-md-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-md-push-14{left:58.33333333%}.ant-col-md-pull-14{right:58.33333333%}.ant-col-md-offset-14{margin-left:58.33333333%}.ant-col-md-order-14{-ms-flex-order:14;order:14}.ant-col-md-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-md-push-13{left:54.16666667%}.ant-col-md-pull-13{right:54.16666667%}.ant-col-md-offset-13{margin-left:54.16666667%}.ant-col-md-order-13{-ms-flex-order:13;order:13}.ant-col-md-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-md-push-12{left:50%}.ant-col-md-pull-12{right:50%}.ant-col-md-offset-12{margin-left:50%}.ant-col-md-order-12{-ms-flex-order:12;order:12}.ant-col-md-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-md-push-11{left:45.83333333%}.ant-col-md-pull-11{right:45.83333333%}.ant-col-md-offset-11{margin-left:45.83333333%}.ant-col-md-order-11{-ms-flex-order:11;order:11}.ant-col-md-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-md-push-10{left:41.66666667%}.ant-col-md-pull-10{right:41.66666667%}.ant-col-md-offset-10{margin-left:41.66666667%}.ant-col-md-order-10{-ms-flex-order:10;order:10}.ant-col-md-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-md-push-9{left:37.5%}.ant-col-md-pull-9{right:37.5%}.ant-col-md-offset-9{margin-left:37.5%}.ant-col-md-order-9{-ms-flex-order:9;order:9}.ant-col-md-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-md-push-8{left:33.33333333%}.ant-col-md-pull-8{right:33.33333333%}.ant-col-md-offset-8{margin-left:33.33333333%}.ant-col-md-order-8{-ms-flex-order:8;order:8}.ant-col-md-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-md-push-7{left:29.16666667%}.ant-col-md-pull-7{right:29.16666667%}.ant-col-md-offset-7{margin-left:29.16666667%}.ant-col-md-order-7{-ms-flex-order:7;order:7}.ant-col-md-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-md-push-6{left:25%}.ant-col-md-pull-6{right:25%}.ant-col-md-offset-6{margin-left:25%}.ant-col-md-order-6{-ms-flex-order:6;order:6}.ant-col-md-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-md-push-5{left:20.83333333%}.ant-col-md-pull-5{right:20.83333333%}.ant-col-md-offset-5{margin-left:20.83333333%}.ant-col-md-order-5{-ms-flex-order:5;order:5}.ant-col-md-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-md-push-4{left:16.66666667%}.ant-col-md-pull-4{right:16.66666667%}.ant-col-md-offset-4{margin-left:16.66666667%}.ant-col-md-order-4{-ms-flex-order:4;order:4}.ant-col-md-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-md-push-3{left:12.5%}.ant-col-md-pull-3{right:12.5%}.ant-col-md-offset-3{margin-left:12.5%}.ant-col-md-order-3{-ms-flex-order:3;order:3}.ant-col-md-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-md-push-2{left:8.33333333%}.ant-col-md-pull-2{right:8.33333333%}.ant-col-md-offset-2{margin-left:8.33333333%}.ant-col-md-order-2{-ms-flex-order:2;order:2}.ant-col-md-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-md-push-1{left:4.16666667%}.ant-col-md-pull-1{right:4.16666667%}.ant-col-md-offset-1{margin-left:4.16666667%}.ant-col-md-order-1{-ms-flex-order:1;order:1}.ant-col-md-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-md-push-0{left:auto}.ant-col-md-pull-0{right:auto}.ant-col-md-offset-0{margin-left:0}.ant-col-md-order-0{-ms-flex-order:0;order:0}}@media (min-width:992px){.ant-col-lg-1,.ant-col-lg-2,.ant-col-lg-3,.ant-col-lg-4,.ant-col-lg-5,.ant-col-lg-6,.ant-col-lg-7,.ant-col-lg-8,.ant-col-lg-9,.ant-col-lg-10,.ant-col-lg-11,.ant-col-lg-12,.ant-col-lg-13,.ant-col-lg-14,.ant-col-lg-15,.ant-col-lg-16,.ant-col-lg-17,.ant-col-lg-18,.ant-col-lg-19,.ant-col-lg-20,.ant-col-lg-21,.ant-col-lg-22,.ant-col-lg-23,.ant-col-lg-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-lg-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-lg-push-24{left:100%}.ant-col-lg-pull-24{right:100%}.ant-col-lg-offset-24{margin-left:100%}.ant-col-lg-order-24{-ms-flex-order:24;order:24}.ant-col-lg-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-lg-push-23{left:95.83333333%}.ant-col-lg-pull-23{right:95.83333333%}.ant-col-lg-offset-23{margin-left:95.83333333%}.ant-col-lg-order-23{-ms-flex-order:23;order:23}.ant-col-lg-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-lg-push-22{left:91.66666667%}.ant-col-lg-pull-22{right:91.66666667%}.ant-col-lg-offset-22{margin-left:91.66666667%}.ant-col-lg-order-22{-ms-flex-order:22;order:22}.ant-col-lg-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-lg-push-21{left:87.5%}.ant-col-lg-pull-21{right:87.5%}.ant-col-lg-offset-21{margin-left:87.5%}.ant-col-lg-order-21{-ms-flex-order:21;order:21}.ant-col-lg-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-lg-push-20{left:83.33333333%}.ant-col-lg-pull-20{right:83.33333333%}.ant-col-lg-offset-20{margin-left:83.33333333%}.ant-col-lg-order-20{-ms-flex-order:20;order:20}.ant-col-lg-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-lg-push-19{left:79.16666667%}.ant-col-lg-pull-19{right:79.16666667%}.ant-col-lg-offset-19{margin-left:79.16666667%}.ant-col-lg-order-19{-ms-flex-order:19;order:19}.ant-col-lg-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-lg-push-18{left:75%}.ant-col-lg-pull-18{right:75%}.ant-col-lg-offset-18{margin-left:75%}.ant-col-lg-order-18{-ms-flex-order:18;order:18}.ant-col-lg-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-lg-push-17{left:70.83333333%}.ant-col-lg-pull-17{right:70.83333333%}.ant-col-lg-offset-17{margin-left:70.83333333%}.ant-col-lg-order-17{-ms-flex-order:17;order:17}.ant-col-lg-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-lg-push-16{left:66.66666667%}.ant-col-lg-pull-16{right:66.66666667%}.ant-col-lg-offset-16{margin-left:66.66666667%}.ant-col-lg-order-16{-ms-flex-order:16;order:16}.ant-col-lg-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-lg-push-15{left:62.5%}.ant-col-lg-pull-15{right:62.5%}.ant-col-lg-offset-15{margin-left:62.5%}.ant-col-lg-order-15{-ms-flex-order:15;order:15}.ant-col-lg-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-lg-push-14{left:58.33333333%}.ant-col-lg-pull-14{right:58.33333333%}.ant-col-lg-offset-14{margin-left:58.33333333%}.ant-col-lg-order-14{-ms-flex-order:14;order:14}.ant-col-lg-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-lg-push-13{left:54.16666667%}.ant-col-lg-pull-13{right:54.16666667%}.ant-col-lg-offset-13{margin-left:54.16666667%}.ant-col-lg-order-13{-ms-flex-order:13;order:13}.ant-col-lg-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-lg-push-12{left:50%}.ant-col-lg-pull-12{right:50%}.ant-col-lg-offset-12{margin-left:50%}.ant-col-lg-order-12{-ms-flex-order:12;order:12}.ant-col-lg-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-lg-push-11{left:45.83333333%}.ant-col-lg-pull-11{right:45.83333333%}.ant-col-lg-offset-11{margin-left:45.83333333%}.ant-col-lg-order-11{-ms-flex-order:11;order:11}.ant-col-lg-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-lg-push-10{left:41.66666667%}.ant-col-lg-pull-10{right:41.66666667%}.ant-col-lg-offset-10{margin-left:41.66666667%}.ant-col-lg-order-10{-ms-flex-order:10;order:10}.ant-col-lg-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-lg-push-9{left:37.5%}.ant-col-lg-pull-9{right:37.5%}.ant-col-lg-offset-9{margin-left:37.5%}.ant-col-lg-order-9{-ms-flex-order:9;order:9}.ant-col-lg-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-lg-push-8{left:33.33333333%}.ant-col-lg-pull-8{right:33.33333333%}.ant-col-lg-offset-8{margin-left:33.33333333%}.ant-col-lg-order-8{-ms-flex-order:8;order:8}.ant-col-lg-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-lg-push-7{left:29.16666667%}.ant-col-lg-pull-7{right:29.16666667%}.ant-col-lg-offset-7{margin-left:29.16666667%}.ant-col-lg-order-7{-ms-flex-order:7;order:7}.ant-col-lg-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-lg-push-6{left:25%}.ant-col-lg-pull-6{right:25%}.ant-col-lg-offset-6{margin-left:25%}.ant-col-lg-order-6{-ms-flex-order:6;order:6}.ant-col-lg-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-lg-push-5{left:20.83333333%}.ant-col-lg-pull-5{right:20.83333333%}.ant-col-lg-offset-5{margin-left:20.83333333%}.ant-col-lg-order-5{-ms-flex-order:5;order:5}.ant-col-lg-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-lg-push-4{left:16.66666667%}.ant-col-lg-pull-4{right:16.66666667%}.ant-col-lg-offset-4{margin-left:16.66666667%}.ant-col-lg-order-4{-ms-flex-order:4;order:4}.ant-col-lg-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-lg-push-3{left:12.5%}.ant-col-lg-pull-3{right:12.5%}.ant-col-lg-offset-3{margin-left:12.5%}.ant-col-lg-order-3{-ms-flex-order:3;order:3}.ant-col-lg-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-lg-push-2{left:8.33333333%}.ant-col-lg-pull-2{right:8.33333333%}.ant-col-lg-offset-2{margin-left:8.33333333%}.ant-col-lg-order-2{-ms-flex-order:2;order:2}.ant-col-lg-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-lg-push-1{left:4.16666667%}.ant-col-lg-pull-1{right:4.16666667%}.ant-col-lg-offset-1{margin-left:4.16666667%}.ant-col-lg-order-1{-ms-flex-order:1;order:1}.ant-col-lg-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-lg-push-0{left:auto}.ant-col-lg-pull-0{right:auto}.ant-col-lg-offset-0{margin-left:0}.ant-col-lg-order-0{-ms-flex-order:0;order:0}}@media (min-width:1200px){.ant-col-xl-1,.ant-col-xl-2,.ant-col-xl-3,.ant-col-xl-4,.ant-col-xl-5,.ant-col-xl-6,.ant-col-xl-7,.ant-col-xl-8,.ant-col-xl-9,.ant-col-xl-10,.ant-col-xl-11,.ant-col-xl-12,.ant-col-xl-13,.ant-col-xl-14,.ant-col-xl-15,.ant-col-xl-16,.ant-col-xl-17,.ant-col-xl-18,.ant-col-xl-19,.ant-col-xl-20,.ant-col-xl-21,.ant-col-xl-22,.ant-col-xl-23,.ant-col-xl-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-xl-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-xl-push-24{left:100%}.ant-col-xl-pull-24{right:100%}.ant-col-xl-offset-24{margin-left:100%}.ant-col-xl-order-24{-ms-flex-order:24;order:24}.ant-col-xl-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-xl-push-23{left:95.83333333%}.ant-col-xl-pull-23{right:95.83333333%}.ant-col-xl-offset-23{margin-left:95.83333333%}.ant-col-xl-order-23{-ms-flex-order:23;order:23}.ant-col-xl-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-xl-push-22{left:91.66666667%}.ant-col-xl-pull-22{right:91.66666667%}.ant-col-xl-offset-22{margin-left:91.66666667%}.ant-col-xl-order-22{-ms-flex-order:22;order:22}.ant-col-xl-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-xl-push-21{left:87.5%}.ant-col-xl-pull-21{right:87.5%}.ant-col-xl-offset-21{margin-left:87.5%}.ant-col-xl-order-21{-ms-flex-order:21;order:21}.ant-col-xl-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-xl-push-20{left:83.33333333%}.ant-col-xl-pull-20{right:83.33333333%}.ant-col-xl-offset-20{margin-left:83.33333333%}.ant-col-xl-order-20{-ms-flex-order:20;order:20}.ant-col-xl-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-xl-push-19{left:79.16666667%}.ant-col-xl-pull-19{right:79.16666667%}.ant-col-xl-offset-19{margin-left:79.16666667%}.ant-col-xl-order-19{-ms-flex-order:19;order:19}.ant-col-xl-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-xl-push-18{left:75%}.ant-col-xl-pull-18{right:75%}.ant-col-xl-offset-18{margin-left:75%}.ant-col-xl-order-18{-ms-flex-order:18;order:18}.ant-col-xl-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-xl-push-17{left:70.83333333%}.ant-col-xl-pull-17{right:70.83333333%}.ant-col-xl-offset-17{margin-left:70.83333333%}.ant-col-xl-order-17{-ms-flex-order:17;order:17}.ant-col-xl-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-xl-push-16{left:66.66666667%}.ant-col-xl-pull-16{right:66.66666667%}.ant-col-xl-offset-16{margin-left:66.66666667%}.ant-col-xl-order-16{-ms-flex-order:16;order:16}.ant-col-xl-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-xl-push-15{left:62.5%}.ant-col-xl-pull-15{right:62.5%}.ant-col-xl-offset-15{margin-left:62.5%}.ant-col-xl-order-15{-ms-flex-order:15;order:15}.ant-col-xl-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-xl-push-14{left:58.33333333%}.ant-col-xl-pull-14{right:58.33333333%}.ant-col-xl-offset-14{margin-left:58.33333333%}.ant-col-xl-order-14{-ms-flex-order:14;order:14}.ant-col-xl-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-xl-push-13{left:54.16666667%}.ant-col-xl-pull-13{right:54.16666667%}.ant-col-xl-offset-13{margin-left:54.16666667%}.ant-col-xl-order-13{-ms-flex-order:13;order:13}.ant-col-xl-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-xl-push-12{left:50%}.ant-col-xl-pull-12{right:50%}.ant-col-xl-offset-12{margin-left:50%}.ant-col-xl-order-12{-ms-flex-order:12;order:12}.ant-col-xl-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-xl-push-11{left:45.83333333%}.ant-col-xl-pull-11{right:45.83333333%}.ant-col-xl-offset-11{margin-left:45.83333333%}.ant-col-xl-order-11{-ms-flex-order:11;order:11}.ant-col-xl-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-xl-push-10{left:41.66666667%}.ant-col-xl-pull-10{right:41.66666667%}.ant-col-xl-offset-10{margin-left:41.66666667%}.ant-col-xl-order-10{-ms-flex-order:10;order:10}.ant-col-xl-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-xl-push-9{left:37.5%}.ant-col-xl-pull-9{right:37.5%}.ant-col-xl-offset-9{margin-left:37.5%}.ant-col-xl-order-9{-ms-flex-order:9;order:9}.ant-col-xl-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-xl-push-8{left:33.33333333%}.ant-col-xl-pull-8{right:33.33333333%}.ant-col-xl-offset-8{margin-left:33.33333333%}.ant-col-xl-order-8{-ms-flex-order:8;order:8}.ant-col-xl-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-xl-push-7{left:29.16666667%}.ant-col-xl-pull-7{right:29.16666667%}.ant-col-xl-offset-7{margin-left:29.16666667%}.ant-col-xl-order-7{-ms-flex-order:7;order:7}.ant-col-xl-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-xl-push-6{left:25%}.ant-col-xl-pull-6{right:25%}.ant-col-xl-offset-6{margin-left:25%}.ant-col-xl-order-6{-ms-flex-order:6;order:6}.ant-col-xl-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-xl-push-5{left:20.83333333%}.ant-col-xl-pull-5{right:20.83333333%}.ant-col-xl-offset-5{margin-left:20.83333333%}.ant-col-xl-order-5{-ms-flex-order:5;order:5}.ant-col-xl-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-xl-push-4{left:16.66666667%}.ant-col-xl-pull-4{right:16.66666667%}.ant-col-xl-offset-4{margin-left:16.66666667%}.ant-col-xl-order-4{-ms-flex-order:4;order:4}.ant-col-xl-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-xl-push-3{left:12.5%}.ant-col-xl-pull-3{right:12.5%}.ant-col-xl-offset-3{margin-left:12.5%}.ant-col-xl-order-3{-ms-flex-order:3;order:3}.ant-col-xl-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-xl-push-2{left:8.33333333%}.ant-col-xl-pull-2{right:8.33333333%}.ant-col-xl-offset-2{margin-left:8.33333333%}.ant-col-xl-order-2{-ms-flex-order:2;order:2}.ant-col-xl-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-xl-push-1{left:4.16666667%}.ant-col-xl-pull-1{right:4.16666667%}.ant-col-xl-offset-1{margin-left:4.16666667%}.ant-col-xl-order-1{-ms-flex-order:1;order:1}.ant-col-xl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xl-push-0{left:auto}.ant-col-xl-pull-0{right:auto}.ant-col-xl-offset-0{margin-left:0}.ant-col-xl-order-0{-ms-flex-order:0;order:0}}@media (min-width:1600px){.ant-col-xxl-1,.ant-col-xxl-2,.ant-col-xxl-3,.ant-col-xxl-4,.ant-col-xxl-5,.ant-col-xxl-6,.ant-col-xxl-7,.ant-col-xxl-8,.ant-col-xxl-9,.ant-col-xxl-10,.ant-col-xxl-11,.ant-col-xxl-12,.ant-col-xxl-13,.ant-col-xxl-14,.ant-col-xxl-15,.ant-col-xxl-16,.ant-col-xxl-17,.ant-col-xxl-18,.ant-col-xxl-19,.ant-col-xxl-20,.ant-col-xxl-21,.ant-col-xxl-22,.ant-col-xxl-23,.ant-col-xxl-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-xxl-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-xxl-push-24{left:100%}.ant-col-xxl-pull-24{right:100%}.ant-col-xxl-offset-24{margin-left:100%}.ant-col-xxl-order-24{-ms-flex-order:24;order:24}.ant-col-xxl-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-xxl-push-23{left:95.83333333%}.ant-col-xxl-pull-23{right:95.83333333%}.ant-col-xxl-offset-23{margin-left:95.83333333%}.ant-col-xxl-order-23{-ms-flex-order:23;order:23}.ant-col-xxl-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-xxl-push-22{left:91.66666667%}.ant-col-xxl-pull-22{right:91.66666667%}.ant-col-xxl-offset-22{margin-left:91.66666667%}.ant-col-xxl-order-22{-ms-flex-order:22;order:22}.ant-col-xxl-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-xxl-push-21{left:87.5%}.ant-col-xxl-pull-21{right:87.5%}.ant-col-xxl-offset-21{margin-left:87.5%}.ant-col-xxl-order-21{-ms-flex-order:21;order:21}.ant-col-xxl-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-xxl-push-20{left:83.33333333%}.ant-col-xxl-pull-20{right:83.33333333%}.ant-col-xxl-offset-20{margin-left:83.33333333%}.ant-col-xxl-order-20{-ms-flex-order:20;order:20}.ant-col-xxl-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-xxl-push-19{left:79.16666667%}.ant-col-xxl-pull-19{right:79.16666667%}.ant-col-xxl-offset-19{margin-left:79.16666667%}.ant-col-xxl-order-19{-ms-flex-order:19;order:19}.ant-col-xxl-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-xxl-push-18{left:75%}.ant-col-xxl-pull-18{right:75%}.ant-col-xxl-offset-18{margin-left:75%}.ant-col-xxl-order-18{-ms-flex-order:18;order:18}.ant-col-xxl-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-xxl-push-17{left:70.83333333%}.ant-col-xxl-pull-17{right:70.83333333%}.ant-col-xxl-offset-17{margin-left:70.83333333%}.ant-col-xxl-order-17{-ms-flex-order:17;order:17}.ant-col-xxl-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-xxl-push-16{left:66.66666667%}.ant-col-xxl-pull-16{right:66.66666667%}.ant-col-xxl-offset-16{margin-left:66.66666667%}.ant-col-xxl-order-16{-ms-flex-order:16;order:16}.ant-col-xxl-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-xxl-push-15{left:62.5%}.ant-col-xxl-pull-15{right:62.5%}.ant-col-xxl-offset-15{margin-left:62.5%}.ant-col-xxl-order-15{-ms-flex-order:15;order:15}.ant-col-xxl-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-xxl-push-14{left:58.33333333%}.ant-col-xxl-pull-14{right:58.33333333%}.ant-col-xxl-offset-14{margin-left:58.33333333%}.ant-col-xxl-order-14{-ms-flex-order:14;order:14}.ant-col-xxl-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-xxl-push-13{left:54.16666667%}.ant-col-xxl-pull-13{right:54.16666667%}.ant-col-xxl-offset-13{margin-left:54.16666667%}.ant-col-xxl-order-13{-ms-flex-order:13;order:13}.ant-col-xxl-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-xxl-push-12{left:50%}.ant-col-xxl-pull-12{right:50%}.ant-col-xxl-offset-12{margin-left:50%}.ant-col-xxl-order-12{-ms-flex-order:12;order:12}.ant-col-xxl-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-xxl-push-11{left:45.83333333%}.ant-col-xxl-pull-11{right:45.83333333%}.ant-col-xxl-offset-11{margin-left:45.83333333%}.ant-col-xxl-order-11{-ms-flex-order:11;order:11}.ant-col-xxl-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-xxl-push-10{left:41.66666667%}.ant-col-xxl-pull-10{right:41.66666667%}.ant-col-xxl-offset-10{margin-left:41.66666667%}.ant-col-xxl-order-10{-ms-flex-order:10;order:10}.ant-col-xxl-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-xxl-push-9{left:37.5%}.ant-col-xxl-pull-9{right:37.5%}.ant-col-xxl-offset-9{margin-left:37.5%}.ant-col-xxl-order-9{-ms-flex-order:9;order:9}.ant-col-xxl-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-xxl-push-8{left:33.33333333%}.ant-col-xxl-pull-8{right:33.33333333%}.ant-col-xxl-offset-8{margin-left:33.33333333%}.ant-col-xxl-order-8{-ms-flex-order:8;order:8}.ant-col-xxl-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-xxl-push-7{left:29.16666667%}.ant-col-xxl-pull-7{right:29.16666667%}.ant-col-xxl-offset-7{margin-left:29.16666667%}.ant-col-xxl-order-7{-ms-flex-order:7;order:7}.ant-col-xxl-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-xxl-push-6{left:25%}.ant-col-xxl-pull-6{right:25%}.ant-col-xxl-offset-6{margin-left:25%}.ant-col-xxl-order-6{-ms-flex-order:6;order:6}.ant-col-xxl-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-xxl-push-5{left:20.83333333%}.ant-col-xxl-pull-5{right:20.83333333%}.ant-col-xxl-offset-5{margin-left:20.83333333%}.ant-col-xxl-order-5{-ms-flex-order:5;order:5}.ant-col-xxl-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-xxl-push-4{left:16.66666667%}.ant-col-xxl-pull-4{right:16.66666667%}.ant-col-xxl-offset-4{margin-left:16.66666667%}.ant-col-xxl-order-4{-ms-flex-order:4;order:4}.ant-col-xxl-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-xxl-push-3{left:12.5%}.ant-col-xxl-pull-3{right:12.5%}.ant-col-xxl-offset-3{margin-left:12.5%}.ant-col-xxl-order-3{-ms-flex-order:3;order:3}.ant-col-xxl-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-xxl-push-2{left:8.33333333%}.ant-col-xxl-pull-2{right:8.33333333%}.ant-col-xxl-offset-2{margin-left:8.33333333%}.ant-col-xxl-order-2{-ms-flex-order:2;order:2}.ant-col-xxl-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-xxl-push-1{left:4.16666667%}.ant-col-xxl-pull-1{right:4.16666667%}.ant-col-xxl-offset-1{margin-left:4.16666667%}.ant-col-xxl-order-1{-ms-flex-order:1;order:1}.ant-col-xxl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xxl-push-0{left:auto}.ant-col-xxl-pull-0{right:auto}.ant-col-xxl-offset-0{margin-left:0}.ant-col-xxl-order-0{-ms-flex-order:0;order:0}}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-container{height:40px}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-ink-bar{visibility:hidden}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab{height:40px;margin:0 2px 0 0;padding:0 16px;line-height:38px;background:#fafafa;border:1px solid #e8e8e8;border-radius:4px 4px 0 0;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);-o-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{height:40px;color:#1890ff;background:#fff;border-color:#e8e8e8;border-bottom:1px solid #fff}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active:before{border-top:2px solid transparent}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-disabled{color:#1890ff;color:rgba(0,0,0,.25)}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-inactive{padding:0}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-wrap{margin-bottom:0}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab .ant-tabs-close-x{width:16px;height:16px;height:14px;margin-right:-5px;margin-left:3px;overflow:hidden;color:rgba(0,0,0,.45);font-size:12px;vertical-align:middle;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab .ant-tabs-close-x:hover{color:rgba(0,0,0,.85)}.ant-tabs.ant-tabs-card .ant-tabs-card-content>.ant-tabs-tabpane,.ant-tabs.ant-tabs-editable-card .ant-tabs-card-content>.ant-tabs-tabpane{-webkit-transition:none!important;-o-transition:none!important;transition:none!important}.ant-tabs.ant-tabs-card .ant-tabs-card-content>.ant-tabs-tabpane-inactive,.ant-tabs.ant-tabs-editable-card .ant-tabs-card-content>.ant-tabs-tabpane-inactive{overflow:hidden}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab:hover .anticon-close{opacity:1}.ant-tabs-extra-content{line-height:45px}.ant-tabs-extra-content .ant-tabs-new-tab{position:relative;width:20px;height:20px;color:rgba(0,0,0,.65);font-size:12px;line-height:20px;text-align:center;border:1px solid #e8e8e8;border-radius:2px;cursor:pointer;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-tabs-extra-content .ant-tabs-new-tab:hover{color:#1890ff;border-color:#1890ff}.ant-tabs-extra-content .ant-tabs-new-tab svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}.ant-tabs.ant-tabs-large .ant-tabs-extra-content{line-height:56px}.ant-tabs.ant-tabs-small .ant-tabs-extra-content{line-height:37px}.ant-tabs.ant-tabs-card .ant-tabs-extra-content{line-height:40px}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-nav-container{height:100%}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab{margin-bottom:8px;border-bottom:1px solid #e8e8e8}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab-active,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab-active{padding-bottom:4px}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab:last-child,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab:last-child{margin-bottom:8px}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-new-tab,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-new-tab{width:90%}.ant-tabs-vertical.ant-tabs-card.ant-tabs-left .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-nav-wrap{margin-right:0}.ant-tabs-vertical.ant-tabs-card.ant-tabs-left .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab{margin-right:1px;border-right:0;border-radius:4px 0 0 4px}.ant-tabs-vertical.ant-tabs-card.ant-tabs-left .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab-active{margin-right:-1px;padding-right:18px}.ant-tabs-vertical.ant-tabs-card.ant-tabs-right .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-nav-wrap{margin-left:0}.ant-tabs-vertical.ant-tabs-card.ant-tabs-right .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab{margin-left:1px;border-left:0;border-radius:0 4px 4px 0}.ant-tabs-vertical.ant-tabs-card.ant-tabs-right .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab-active{margin-left:-1px;padding-left:18px}.ant-tabs .ant-tabs-card-bar.ant-tabs-bottom-bar .ant-tabs-tab{height:auto;border-top:0;border-bottom:1px solid #e8e8e8;border-radius:0 0 4px 4px}.ant-tabs .ant-tabs-card-bar.ant-tabs-bottom-bar .ant-tabs-tab-active{padding-top:1px;padding-bottom:0;color:#1890ff}.ant-tabs{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;overflow:hidden;zoom:1}.ant-tabs:after,.ant-tabs:before{display:table;content:""}.ant-tabs:after{clear:both}.ant-tabs-ink-bar{position:absolute;bottom:1px;left:0;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;width:0;height:2px;background-color:#1890ff;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.ant-tabs-bar{margin:0 0 16px;border-bottom:1px solid #e8e8e8;outline:none}.ant-tabs-bar,.ant-tabs-nav-container{-webkit-transition:padding .3s cubic-bezier(.645,.045,.355,1);-o-transition:padding .3s cubic-bezier(.645,.045,.355,1);transition:padding .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-nav-container{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:-1px;overflow:hidden;font-size:14px;line-height:1.5;white-space:nowrap;zoom:1}.ant-tabs-nav-container:after,.ant-tabs-nav-container:before{display:table;content:""}.ant-tabs-nav-container:after{clear:both}.ant-tabs-nav-container-scrolling{padding-right:32px;padding-left:32px}.ant-tabs-bottom .ant-tabs-bottom-bar{margin-top:16px;margin-bottom:0;border-top:1px solid #e8e8e8;border-bottom:none}.ant-tabs-bottom .ant-tabs-bottom-bar .ant-tabs-ink-bar{top:1px;bottom:auto}.ant-tabs-bottom .ant-tabs-bottom-bar .ant-tabs-nav-container{margin-top:-1px;margin-bottom:0}.ant-tabs-tab-next,.ant-tabs-tab-prev{position:absolute;z-index:2;width:0;height:100%;color:rgba(0,0,0,.45);text-align:center;background-color:transparent;border:0;cursor:pointer;opacity:0;-webkit-transition:width .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);-o-transition:width .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);transition:width .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ant-tabs-tab-next.ant-tabs-tab-arrow-show,.ant-tabs-tab-prev.ant-tabs-tab-arrow-show{width:32px;height:100%;opacity:1;pointer-events:auto}.ant-tabs-tab-next:hover,.ant-tabs-tab-prev:hover{color:rgba(0,0,0,.65)}.ant-tabs-tab-next-icon,.ant-tabs-tab-prev-icon{position:absolute;top:50%;left:50%;font-weight:700;font-style:normal;font-variant:normal;line-height:inherit;text-align:center;text-transform:none;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ant-tabs-tab-next-icon-target,.ant-tabs-tab-prev-icon-target{display:block;display:inline-block;font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);-ms-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}:root .ant-tabs-tab-next-icon-target,:root .ant-tabs-tab-prev-icon-target{font-size:12px}.ant-tabs-tab-btn-disabled{cursor:not-allowed}.ant-tabs-tab-btn-disabled,.ant-tabs-tab-btn-disabled:hover{color:rgba(0,0,0,.25)}.ant-tabs-tab-next{right:2px}.ant-tabs-tab-prev{left:0}:root .ant-tabs-tab-prev{-webkit-filter:none;filter:none}.ant-tabs-nav-wrap{margin-bottom:-1px;overflow:hidden}.ant-tabs-nav-scroll{overflow:hidden;white-space:nowrap}.ant-tabs-nav{position:relative;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding-left:0;list-style:none;-webkit-transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);-o-transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-nav:after,.ant-tabs-nav:before{display:table;content:" "}.ant-tabs-nav:after{clear:both}.ant-tabs-nav .ant-tabs-tab{position:relative;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;margin:0 32px 0 0;padding:12px 16px;text-decoration:none;cursor:pointer;-webkit-transition:color .3s cubic-bezier(.645,.045,.355,1);-o-transition:color .3s cubic-bezier(.645,.045,.355,1);transition:color .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-nav .ant-tabs-tab:before{position:absolute;top:-1px;left:0;width:100%;border-top:2px solid transparent;border-radius:4px 4px 0 0;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;content:"";pointer-events:none}.ant-tabs-nav .ant-tabs-tab:last-child{margin-right:0}.ant-tabs-nav .ant-tabs-tab:hover{color:#40a9ff}.ant-tabs-nav .ant-tabs-tab:active{color:#096dd9}.ant-tabs-nav .ant-tabs-tab .anticon{margin-right:8px}.ant-tabs-nav .ant-tabs-tab-active{color:#1890ff;font-weight:500}.ant-tabs-nav .ant-tabs-tab-disabled,.ant-tabs-nav .ant-tabs-tab-disabled:hover{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tabs .ant-tabs-large-bar .ant-tabs-nav-container{font-size:16px}.ant-tabs .ant-tabs-large-bar .ant-tabs-tab{padding:16px}.ant-tabs .ant-tabs-small-bar .ant-tabs-nav-container{font-size:14px}.ant-tabs .ant-tabs-small-bar .ant-tabs-tab{padding:8px 16px}.ant-tabs-content:before{display:block;overflow:hidden;content:""}.ant-tabs .ant-tabs-bottom-content,.ant-tabs .ant-tabs-top-content{width:100%}.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane,.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane{-ms-flex-negative:0;flex-shrink:0;width:100%;-webkit-backface-visibility:hidden;opacity:1;-webkit-transition:opacity .45s;-o-transition:opacity .45s;transition:opacity .45s}.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane-inactive,.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane-inactive{height:0;padding:0!important;overflow:hidden;opacity:0;pointer-events:none}.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane-inactive input,.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane-inactive input{visibility:hidden}.ant-tabs .ant-tabs-bottom-content.ant-tabs-content-animated,.ant-tabs .ant-tabs-top-content.ant-tabs-content-animated{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-webkit-transition:margin-left .3s cubic-bezier(.645,.045,.355,1);-o-transition:margin-left .3s cubic-bezier(.645,.045,.355,1);transition:margin-left .3s cubic-bezier(.645,.045,.355,1);will-change:margin-left}.ant-tabs .ant-tabs-left-bar,.ant-tabs .ant-tabs-right-bar{height:100%;border-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab-arrow-show,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab-arrow-show{width:100%;height:32px}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab{display:block;float:none;margin:0 0 16px;padding:8px 24px}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab:last-child,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab:last-child{margin-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-extra-content,.ant-tabs .ant-tabs-right-bar .ant-tabs-extra-content{text-align:center}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-scroll,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-scroll{width:auto}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-wrap,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-wrap{height:100%}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container{margin-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container.ant-tabs-nav-container-scrolling,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container.ant-tabs-nav-container-scrolling{padding:32px 0}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-wrap,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-wrap{margin-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav{width:100%}.ant-tabs .ant-tabs-left-bar .ant-tabs-ink-bar,.ant-tabs .ant-tabs-right-bar .ant-tabs-ink-bar{top:0;bottom:auto;left:auto;width:2px;height:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab-next,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab-next{right:0;bottom:0;width:100%;height:32px}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab-prev,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab-prev{top:0;width:100%;height:32px}.ant-tabs .ant-tabs-left-content,.ant-tabs .ant-tabs-right-content{width:auto;margin-top:0!important;overflow:hidden}.ant-tabs .ant-tabs-left-bar{float:left;margin-right:-1px;margin-bottom:0;border-right:1px solid #e8e8e8}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab{text-align:right}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-wrap{margin-right:-1px}.ant-tabs .ant-tabs-left-bar .ant-tabs-ink-bar{right:1px}.ant-tabs .ant-tabs-left-content{padding-left:24px;border-left:1px solid #e8e8e8}.ant-tabs .ant-tabs-right-bar{float:right;margin-bottom:0;margin-left:-1px;border-left:1px solid #e8e8e8}.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-wrap{margin-left:-1px}.ant-tabs .ant-tabs-right-bar .ant-tabs-ink-bar{left:1px}.ant-tabs .ant-tabs-right-content{padding-right:24px;border-right:1px solid #e8e8e8}.ant-tabs-bottom .ant-tabs-ink-bar-animated,.ant-tabs-top .ant-tabs-ink-bar-animated{-webkit-transition:width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);-o-transition:transform .3s cubic-bezier(.645,.045,.355,1),width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-left .ant-tabs-ink-bar-animated,.ant-tabs-right .ant-tabs-ink-bar-animated{-webkit-transition:height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);-o-transition:transform .3s cubic-bezier(.645,.045,.355,1),height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-no-animation>.ant-tabs-content>.ant-tabs-content-animated,.no-flex>.ant-tabs-content>.ant-tabs-content-animated{margin-left:0!important;-webkit-transform:none!important;-ms-transform:none!important;transform:none!important}.ant-tabs-no-animation>.ant-tabs-content>.ant-tabs-tabpane-inactive,.no-flex>.ant-tabs-content>.ant-tabs-tabpane-inactive{height:0;padding:0!important;overflow:hidden;opacity:0;pointer-events:none}.ant-tabs-no-animation>.ant-tabs-content>.ant-tabs-tabpane-inactive input,.no-flex>.ant-tabs-content>.ant-tabs-tabpane-inactive input{visibility:hidden}.ant-tabs-left-content>.ant-tabs-content-animated,.ant-tabs-right-content>.ant-tabs-content-animated{margin-left:0!important;-webkit-transform:none!important;-ms-transform:none!important;transform:none!important}.ant-tabs-left-content>.ant-tabs-tabpane-inactive,.ant-tabs-right-content>.ant-tabs-tabpane-inactive{height:0;padding:0!important;overflow:hidden;opacity:0;pointer-events:none}.ant-tabs-left-content>.ant-tabs-tabpane-inactive input,.ant-tabs-right-content>.ant-tabs-tabpane-inactive input{visibility:hidden}.ant-badge{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;color:unset;line-height:1}.ant-badge-count{min-width:20px;height:20px;padding:0 6px;color:#fff;font-weight:400;font-size:12px;line-height:20px;white-space:nowrap;text-align:center;background:#f5222d;border-radius:10px;-webkit-box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px #fff}.ant-badge-count a,.ant-badge-count a:hover{color:#fff}.ant-badge-multiple-words{padding:0 8px}.ant-badge-dot{width:6px;height:6px;background:#f5222d;border-radius:100%;-webkit-box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px #fff}.ant-badge-count,.ant-badge-dot,.ant-badge .ant-scroll-number-custom-component{position:absolute;top:0;right:0;z-index:1;-webkit-transform:translate(50%,-50%);-ms-transform:translate(50%,-50%);transform:translate(50%,-50%);-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.ant-badge-status{line-height:inherit;vertical-align:baseline}.ant-badge-status-dot{position:relative;top:-1px;display:inline-block;width:6px;height:6px;vertical-align:middle;border-radius:50%}.ant-badge-status-success{background-color:#52c41a}.ant-badge-status-processing{position:relative;background-color:#1890ff}.ant-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;-webkit-animation:antStatusProcessing 1.2s ease-in-out infinite;animation:antStatusProcessing 1.2s ease-in-out infinite;content:""}.ant-badge-status-default{background-color:#d9d9d9}.ant-badge-status-error{background-color:#f5222d}.ant-badge-status-warning{background-color:#faad14}.ant-badge-status-magenta,.ant-badge-status-pink{background:#eb2f96}.ant-badge-status-red{background:#f5222d}.ant-badge-status-volcano{background:#fa541c}.ant-badge-status-orange{background:#fa8c16}.ant-badge-status-yellow{background:#fadb14}.ant-badge-status-gold{background:#faad14}.ant-badge-status-cyan{background:#13c2c2}.ant-badge-status-lime{background:#a0d911}.ant-badge-status-green{background:#52c41a}.ant-badge-status-blue{background:#1890ff}.ant-badge-status-geekblue{background:#2f54eb}.ant-badge-status-purple{background:#722ed1}.ant-badge-status-text{margin-left:8px;color:rgba(0,0,0,.65);font-size:14px}.ant-badge-zoom-appear,.ant-badge-zoom-enter{-webkit-animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-badge-zoom-leave{-webkit-animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-badge-not-a-wrapper:not(.ant-badge-status){vertical-align:middle}.ant-badge-not-a-wrapper .ant-scroll-number{position:relative;top:auto;display:block}.ant-badge-not-a-wrapper .ant-badge-count{-webkit-transform:none;-ms-transform:none;transform:none}@-webkit-keyframes antStatusProcessing{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:.5}to{-webkit-transform:scale(2.4);transform:scale(2.4);opacity:0}}@keyframes antStatusProcessing{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:.5}to{-webkit-transform:scale(2.4);transform:scale(2.4);opacity:0}}.ant-scroll-number{overflow:hidden}.ant-scroll-number-only{display:inline-block;height:20px;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);-o-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-scroll-number-only>p.ant-scroll-number-only-unit{height:20px;margin:0}.ant-scroll-number-symbol{vertical-align:top}@-webkit-keyframes antZoomBadgeIn{0%{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}to{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}}@keyframes antZoomBadgeIn{0%{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}to{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}}@-webkit-keyframes antZoomBadgeOut{0%{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}to{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}}@keyframes antZoomBadgeOut{0%{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}to{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}}.ant-radio-group{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block}.ant-radio-wrapper{margin:0 8px 0 0}.ant-radio,.ant-radio-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;white-space:nowrap;cursor:pointer}.ant-radio{margin:0;line-height:1;vertical-align:sub;outline:none}.ant-radio-input:focus+.ant-radio-inner,.ant-radio-wrapper:hover .ant-radio,.ant-radio:hover .ant-radio-inner{border-color:#1890ff}.ant-radio-input:focus+.ant-radio-inner{-webkit-box-shadow:0 0 0 3px rgba(24,144,255,.08);box-shadow:0 0 0 3px rgba(24,144,255,.08)}.ant-radio-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;visibility:hidden;-webkit-animation:antRadioEffect .36s ease-in-out;animation:antRadioEffect .36s ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both;content:""}.ant-radio-wrapper:hover .ant-radio:after,.ant-radio:hover:after{visibility:visible}.ant-radio-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border:1px solid #d9d9d9;border-radius:100px;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-radio-inner:after{position:absolute;top:3px;left:3px;display:table;width:8px;height:8px;background-color:#1890ff;border-top:0;border-left:0;border-radius:8px;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);opacity:0;-webkit-transition:all .3s cubic-bezier(.78,.14,.15,.86);-o-transition:all .3s cubic-bezier(.78,.14,.15,.86);transition:all .3s cubic-bezier(.78,.14,.15,.86);content:" "}.ant-radio-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;cursor:pointer;opacity:0}.ant-radio-checked .ant-radio-inner{border-color:#1890ff}.ant-radio-checked .ant-radio-inner:after{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:1;-webkit-transition:all .3s cubic-bezier(.78,.14,.15,.86);-o-transition:all .3s cubic-bezier(.78,.14,.15,.86);transition:all .3s cubic-bezier(.78,.14,.15,.86)}.ant-radio-disabled .ant-radio-inner{background-color:#f5f5f5;border-color:#d9d9d9!important;cursor:not-allowed}.ant-radio-disabled .ant-radio-inner:after{background-color:rgba(0,0,0,.2)}.ant-radio-disabled .ant-radio-input{cursor:not-allowed}.ant-radio-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}span.ant-radio+*{padding-right:8px;padding-left:8px}.ant-radio-button-wrapper{position:relative;display:inline-block;height:32px;margin:0;padding:0 15px;color:rgba(0,0,0,.65);line-height:30px;background:#fff;border:1px solid #d9d9d9;border-top:1.02px solid #d9d9d9;border-left:0;cursor:pointer;-webkit-transition:color .3s,background .3s,border-color .3s;-o-transition:color .3s,background .3s,border-color .3s;transition:color .3s,background .3s,border-color .3s}.ant-radio-button-wrapper a{color:rgba(0,0,0,.65)}.ant-radio-button-wrapper>.ant-radio-button{display:block;width:0;height:0;margin-left:0}.ant-radio-group-large .ant-radio-button-wrapper{height:40px;font-size:16px;line-height:38px}.ant-radio-group-small .ant-radio-button-wrapper{height:24px;padding:0 7px;line-height:22px}.ant-radio-button-wrapper:not(:first-child):before{position:absolute;top:0;left:-1px;display:block;width:1px;height:100%;background-color:#d9d9d9;content:""}.ant-radio-button-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:4px 0 0 4px}.ant-radio-button-wrapper:last-child{border-radius:0 4px 4px 0}.ant-radio-button-wrapper:first-child:last-child{border-radius:4px}.ant-radio-button-wrapper:hover{position:relative;color:#1890ff}.ant-radio-button-wrapper:focus-within{outline:3px solid rgba(24,144,255,.06)}.ant-radio-button-wrapper .ant-radio-inner,.ant-radio-button-wrapper input[type=checkbox],.ant-radio-button-wrapper input[type=radio]{width:0;height:0;opacity:0;pointer-events:none}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){z-index:1;color:#1890ff;background:#fff;border-color:#1890ff;-webkit-box-shadow:-1px 0 0 0 #1890ff;box-shadow:-1px 0 0 0 #1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):before{background-color:#1890ff!important;opacity:.1}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child{border-color:#1890ff;-webkit-box-shadow:none!important;box-shadow:none!important}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#40a9ff;border-color:#40a9ff;-webkit-box-shadow:-1px 0 0 0 #40a9ff;box-shadow:-1px 0 0 0 #40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#096dd9;border-color:#096dd9;-webkit-box-shadow:-1px 0 0 0 #096dd9;box-shadow:-1px 0 0 0 #096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{outline:3px solid rgba(24,144,255,.06)}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){color:#fff;background:#1890ff;border-color:#1890ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#fff;background:#40a9ff;border-color:#40a9ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#fff;background:#096dd9;border-color:#096dd9}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{outline:3px solid rgba(24,144,255,.06)}.ant-radio-button-wrapper-disabled{cursor:not-allowed}.ant-radio-button-wrapper-disabled,.ant-radio-button-wrapper-disabled:first-child,.ant-radio-button-wrapper-disabled:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-radio-button-wrapper-disabled:first-child{border-left-color:#d9d9d9}.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked{color:#fff;background-color:#e6e6e6;border-color:#d9d9d9;-webkit-box-shadow:none;box-shadow:none}@-webkit-keyframes antRadioEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@keyframes antRadioEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@supports (-moz-appearance:meterbar) and (background-blend-mode:difference,normal){.ant-radio{vertical-align:text-bottom}}.ant-form{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.ant-form legend{display:block;width:100%;margin-bottom:20px;padding:0;color:rgba(0,0,0,.45);font-size:16px;line-height:inherit;border:0;border-bottom:1px solid #d9d9d9}.ant-form label{font-size:14px}.ant-form input[type=search]{-webkit-box-sizing:border-box;box-sizing:border-box}.ant-form input[type=checkbox],.ant-form input[type=radio]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=checkbox]:focus,.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{display:block;padding-top:15px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5}.ant-form-item-required:before{display:inline-block;margin-right:4px;color:#f5222d;font-size:14px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.ant-form-hide-required-mark .ant-form-item-required:before{display:none}.ant-form-item-label>label{color:rgba(0,0,0,.85)}.ant-form-item-label>label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin:0 0 24px;vertical-align:top}.ant-form-item label{position:relative}.ant-form-item label>.anticon{font-size:14px;vertical-align:top}.ant-form-item-control{position:relative;line-height:40px;zoom:1}.ant-form-item-control:after,.ant-form-item-control:before{display:table;content:""}.ant-form-item-control:after{clear:both}.ant-form-item-children{position:relative}.ant-form-item-with-help{margin-bottom:5px}.ant-form-item-label{display:inline-block;overflow:hidden;line-height:39.9999px;white-space:nowrap;text-align:right;vertical-align:middle}.ant-form-item-label-left{text-align:left}.ant-form-item .ant-switch{margin:2px 0 4px}.ant-form-explain,.ant-form-extra{clear:both;min-height:22px;margin-top:-2px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5;-webkit-transition:color .3s cubic-bezier(.215,.61,.355,1);-o-transition:color .3s cubic-bezier(.215,.61,.355,1);transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-explain{margin-bottom:-1px}.ant-form-extra{padding-top:4px}.ant-form-text{display:inline-block;padding-right:8px}.ant-form-split{display:block;text-align:center}form .has-feedback .ant-input{padding-right:30px}form .has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-right:18px}form .has-feedback .ant-input-affix-wrapper .ant-input{padding-right:49px}form .has-feedback .ant-input-affix-wrapper.ant-input-affix-wrapper-input-with-clear-btn .ant-input{padding-right:68px}form .has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,form .has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection__clear,form .has-feedback>.ant-select .ant-select-arrow,form .has-feedback>.ant-select .ant-select-selection__clear{right:28px}form .has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,form .has-feedback>.ant-select .ant-select-selection-selected-value{padding-right:42px}form .has-feedback .ant-cascader-picker-arrow{margin-right:17px}form .has-feedback .ant-calendar-picker-clear,form .has-feedback .ant-calendar-picker-icon,form .has-feedback .ant-cascader-picker-clear,form .has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix,form .has-feedback .ant-time-picker-clear,form .has-feedback .ant-time-picker-icon{right:28px}form .ant-mentions,form textarea.ant-input{height:auto;margin-bottom:4px}form .ant-upload{background:transparent}form input[type=checkbox],form input[type=radio]{width:14px;height:14px}form .ant-checkbox-inline,form .ant-radio-inline{display:inline-block;margin-left:8px;font-weight:400;vertical-align:middle;cursor:pointer}form .ant-checkbox-inline:first-child,form .ant-radio-inline:first-child{margin-left:0}form .ant-checkbox-vertical,form .ant-radio-vertical{display:block}form .ant-checkbox-vertical+.ant-checkbox-vertical,form .ant-radio-vertical+.ant-radio-vertical{margin-left:0}form .ant-input-number+.ant-form-text{margin-left:8px}form .ant-input-number-handler-wrap{z-index:2}form .ant-cascader-picker,form .ant-select{width:100%}form .ant-input-group .ant-cascader-picker,form .ant-input-group .ant-select{width:auto}form .ant-input-group-wrapper,form :not(.ant-input-group-wrapper)>.ant-input-group{display:inline-block;vertical-align:middle}form:not(.ant-form-vertical) .ant-input-group-wrapper,form:not(.ant-form-vertical) :not(.ant-input-group-wrapper)>.ant-input-group{position:relative;top:-1px}.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label,.ant-form-vertical .ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-24.ant-form-item-label label:after,.ant-col-xl-24.ant-form-item-label label:after,.ant-form-vertical .ant-form-item-label label:after{display:none}.ant-form-vertical .ant-form-item{padding-bottom:8px}.ant-form-vertical .ant-form-item-control{line-height:1.5}.ant-form-vertical .ant-form-explain{margin-top:2px;margin-bottom:-5px}.ant-form-vertical .ant-form-extra{margin-top:2px;margin-bottom:-4px}@media (max-width:575px){.ant-form-item-control-wrapper,.ant-form-item-label{display:block;width:100%}.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-form-item-label label:after{display:none}.ant-col-xs-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-xs-24.ant-form-item-label label:after{display:none}}@media (max-width:767px){.ant-col-sm-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-sm-24.ant-form-item-label label:after{display:none}}@media (max-width:991px){.ant-col-md-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-md-24.ant-form-item-label label:after{display:none}}@media (max-width:1199px){.ant-col-lg-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-lg-24.ant-form-item-label label:after{display:none}}@media (max-width:1599px){.ant-col-xl-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-xl-24.ant-form-item-label label:after{display:none}}.ant-form-inline .ant-form-item{display:inline-block;margin-right:16px;margin-bottom:0}.ant-form-inline .ant-form-item-with-help{margin-bottom:24px}.ant-form-inline .ant-form-item>.ant-form-item-control-wrapper,.ant-form-inline .ant-form-item>.ant-form-item-label{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-text,.ant-form-inline .has-feedback{display:inline-block}.has-error.has-feedback .ant-form-item-children-icon,.has-success.has-feedback .ant-form-item-children-icon,.has-warning.has-feedback .ant-form-item-children-icon,.is-validating.has-feedback .ant-form-item-children-icon{position:absolute;top:50%;right:0;z-index:1;width:32px;height:20px;margin-top:-10px;font-size:14px;line-height:20px;text-align:center;visibility:visible;-webkit-animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);pointer-events:none}.has-error.has-feedback .ant-form-item-children-icon svg,.has-success.has-feedback .ant-form-item-children-icon svg,.has-warning.has-feedback .ant-form-item-children-icon svg,.is-validating.has-feedback .ant-form-item-children-icon svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}.has-success.has-feedback .ant-form-item-children-icon{color:#52c41a;-webkit-animation-name:diffZoomIn1!important;animation-name:diffZoomIn1!important}.has-warning .ant-form-explain,.has-warning .ant-form-split{color:#faad14}.has-warning .ant-input,.has-warning .ant-input:hover{background-color:#fff;border-color:#faad14}.has-warning .ant-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input:not([disabled]):hover{border-color:#faad14}.has-warning .ant-calendar-picker-open .ant-calendar-picker-input{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input-affix-wrapper .ant-input,.has-warning .ant-input-affix-wrapper .ant-input:hover{background-color:#fff;border-color:#faad14}.has-warning .ant-input-affix-wrapper .ant-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){border-color:#faad14}.has-warning .ant-input-prefix{color:#faad14}.has-warning .ant-input-group-addon{color:#faad14;background-color:#fff;border-color:#faad14}.has-warning .has-feedback{color:#faad14}.has-warning.has-feedback .ant-form-item-children-icon{color:#faad14;-webkit-animation-name:diffZoomIn3!important;animation-name:diffZoomIn3!important}.has-warning .ant-select-selection,.has-warning .ant-select-selection:hover{border-color:#faad14}.has-warning .ant-select-focused .ant-select-selection,.has-warning .ant-select-open .ant-select-selection{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-calendar-picker-icon:after,.has-warning .ant-cascader-picker-arrow,.has-warning .ant-picker-icon:after,.has-warning .ant-select-arrow,.has-warning .ant-time-picker-icon:after{color:#faad14}.has-warning .ant-input-number,.has-warning .ant-time-picker-input{border-color:#faad14}.has-warning .ant-input-number-focused,.has-warning .ant-input-number:focus,.has-warning .ant-time-picker-input-focused,.has-warning .ant-time-picker-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input-number:not([disabled]):hover,.has-warning .ant-time-picker-input:not([disabled]):hover{border-color:#faad14}.has-warning .ant-cascader-picker:focus .ant-cascader-input{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-cascader-picker:hover .ant-cascader-input{border-color:#faad14}.has-error .ant-form-explain,.has-error .ant-form-split{color:#f5222d}.has-error .ant-input,.has-error .ant-input:hover{background-color:#fff;border-color:#f5222d}.has-error .ant-input:focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input:not([disabled]):hover{border-color:#f5222d}.has-error .ant-calendar-picker-open .ant-calendar-picker-input{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input-affix-wrapper .ant-input,.has-error .ant-input-affix-wrapper .ant-input:hover{background-color:#fff;border-color:#f5222d}.has-error .ant-input-affix-wrapper .ant-input:focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){border-color:#f5222d}.has-error .ant-input-prefix{color:#f5222d}.has-error .ant-input-group-addon{color:#f5222d;background-color:#fff;border-color:#f5222d}.has-error .has-feedback{color:#f5222d}.has-error.has-feedback .ant-form-item-children-icon{color:#f5222d;-webkit-animation-name:diffZoomIn2!important;animation-name:diffZoomIn2!important}.has-error .ant-select-selection,.has-error .ant-select-selection:hover{border-color:#f5222d}.has-error .ant-select-focused .ant-select-selection,.has-error .ant-select-open .ant-select-selection{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-select.ant-select-auto-complete .ant-input:focus{border-color:#f5222d}.has-error .ant-input-group-addon .ant-select-selection{border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.has-error .ant-calendar-picker-icon:after,.has-error .ant-cascader-picker-arrow,.has-error .ant-picker-icon:after,.has-error .ant-select-arrow,.has-error .ant-time-picker-icon:after{color:#f5222d}.has-error .ant-input-number,.has-error .ant-time-picker-input{border-color:#f5222d}.has-error .ant-input-number-focused,.has-error .ant-input-number:focus,.has-error .ant-time-picker-input-focused,.has-error .ant-time-picker-input:focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input-number:not([disabled]):hover,.has-error .ant-mention-wrapper .ant-mention-editor,.has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover,.has-error .ant-time-picker-input:not([disabled]):hover{border-color:#f5222d}.has-error .ant-cascader-picker:focus .ant-cascader-input,.has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor,.has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-cascader-picker:hover .ant-cascader-input,.has-error .ant-transfer-list{border-color:#f5222d}.has-error .ant-transfer-list-search:not([disabled]){border-color:#d9d9d9}.has-error .ant-transfer-list-search:not([disabled]):hover{border-color:#40a9ff;border-right-width:1px!important}.has-error .ant-transfer-list-search:not([disabled]):focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.is-validating.has-feedback .ant-form-item-children-icon{display:inline-block;color:#1890ff}.ant-advanced-search-form .ant-form-item{margin-bottom:24px}.ant-advanced-search-form .ant-form-item-with-help{margin-bottom:5px}.show-help-appear,.show-help-enter,.show-help-leave{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.show-help-appear.show-help-appear-active,.show-help-enter.show-help-enter-active{-webkit-animation-name:antShowHelpIn;animation-name:antShowHelpIn;-webkit-animation-play-state:running;animation-play-state:running}.show-help-leave.show-help-leave-active{-webkit-animation-name:antShowHelpOut;animation-name:antShowHelpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.show-help-appear,.show-help-enter{opacity:0}.show-help-appear,.show-help-enter,.show-help-leave{-webkit-animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-timing-function:cubic-bezier(.645,.045,.355,1)}@-webkit-keyframes antShowHelpIn{0%{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes antShowHelpIn{0%{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes antShowHelpOut{to{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}}@keyframes antShowHelpOut{to{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}}@-webkit-keyframes diffZoomIn1{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes diffZoomIn1{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes diffZoomIn2{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes diffZoomIn2{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes diffZoomIn3{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes diffZoomIn3{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}#root{position:relative;min-height:100%}body{overflow:auto!important}body>.-task-title{opacity:1!important}#root .search-all{width:219px}.newContainers{height:100%;min-height:100%;overflow:hidden}.newContainers,.newHeaders{min-width:1200px;max-width:unset}.newHeaders{width:100%;height:70px;z-index:1000;background:#fff;position:fixed;-webkit-box-shadow:0 0 14px rgb(0 0 0/10%);box-shadow:0 0 14px rgb(0 0 0/10%)}.headerContent{width:1200px;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%}.globalSpin{max-height:700px!important}.indexHOC>.ant-spin-nested-loading{background:#000;height:100%}.indexHOC>.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{top:50%!important}.globalSpin .ant-spin-text{text-shadow:none!important;color:#fff}.globalSpin .ant-spin-dot-item{background-color:#fff}.newHeader .logoimg{margin-top:16px;float:left;width:97px}#header_keyword_search,.headIcon{padding-top:13px!important}.search-icon{height:30px!important}.search-icon i{font-size:20px}#header_keyword_search i{color:#4cacff}.ant-select-selection--multiple{padding-bottom:0!important;padding-top:3px}.ant-select-selection--multiple .ant-select-selection__rendered>ul>li,.ant-select-selection--multiple>ul>li{height:25px!important;line-height:23px!important;margin-bottom:3px;margin-top:0}.newContainer{background:#fff}.ant-modal-title{font-size:16px;font-weight:700!important;color:#333;text-align:center}@-moz-document url-prefix(){.ant-radio-inner{width:17px!important;height:17px!important}}.shixunDetail_top{display:block!important;padding-top:48px}.totalScore{display:block!important;padding-top:40px}.edu-menu-panel .edu-menu-listnew:hover .careersiconfont{color:#000!important}.newHeader{background:#24292d!important;height:60px!important}.HeaderSearch{margin-top:18px;margin-right:20px}.HeaderSearch .ant-input-search .ant-input{background:#373e3f!important;border:1px solid #373e3f!important}.ant-input-search .ant-input-affix-wrapper{border:transparent}.ant-input:focus{border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.HeaderSearch .ant-input-search .ant-input::-webkit-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-moz-placeholder,.HeaderSearch .ant-input-search .ant-input::-moz-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-ms-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input-suffix .anticon-search{color:#999}.HeaderSearch .ant-input-search .ant-input{color:#fff}.HeaderSearch .ant-input-search .ant-input-suffix{background:transparent!important}.roundedRectangles{position:absolute;top:10px;right:-22px}.HeaderSearch{width:325px}.HeaderSearch .ant-input-search{right:20px}.mainheighs{height:100%;display:block}.ml18a{margin-left:18%}.logoimg{float:left;min-width:40px;height:40px}.headwith100b{width:100%}.wechatcenter{text-align:center}.myrigthsiderbar{right:9%!important}.feedbackdivcolor{background:#33bd8c!important;height:49px!important;line-height:24px!important}.xiaoshou{cursor:pointer}.questiontypes{width:37px;height:17px}.questiontype,.questiontypes{font-size:12px;color:#333;line-height:17px;cursor:pointer}.questiontype{width:100%;text-align:center;padding:11px}.questiontypeheng{width:100%;height:1px;background:#eee}.mystask-sidebar{right:181px!important}.mystask-sidebars{right:20px!important}.shitikussmys{width:29px!important;height:20px!important;background:#ff6601!important;border-radius:10px!important;position:absolute!important;font-size:11px!important;color:#fff!important;line-height:20px!important;top:-13px!important;right:-10px!important}.maxnamewidth30{max-width:30px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;cursor:default}.mystask-sidebarss{right:5px!important}.simple-rate{font-size:16px!important}.ant-rate-star:not(:last-child){margin-right:2px!important}.flex-container{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;margin-bottom:4px;-ms-flex-align:center;align-items:center}.progress-container{-ms-flex:1 0;flex:1 0;margin-left:20px}.dropdownFlex{display:flex;background:#fff;border-radius:3px}.dropdownFlex .ant-menu-vertical>.ant-menu-item{border:none;height:35px;line-height:35px;margin:0}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected{background-color:#fff}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected a{color:rgba(0,0,0,.65)!important}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-active a{color:#4cacff!important}.dropdownFlex .ant-menu-vertical{border:none}.currentImg{width:34px;height:34px;border-radius:50%;margin-left:15px}.currentMenu{width:120px;text-align:center;padding:0}.currentMenu .currentName{padding:0 8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.currentMenu li{height:40px;line-height:40px;padding:0!important;cursor:default}.currentMenu li:hover{background-color:#fff}.currentMenu li:first-child{border-bottom:1px solid #eee}.currentMenu li:last-child{border-top:1px solid #eee}.currentMenu li:last-child a{border-radius:0 0 4px 4px}.currentMenu li a{padding:0;margin:0;display:block;color:#666}.currentMenu li a:hover{color:#fff;background:#4cacff}.newFooter{position:absolute;bottom:0;width:100%;background:#323232;clear:both;min-width:1200px;z-index:8;left:0}.newFooter p{margin-top:0;margin-bottom:0!important}.newFooter .footerInfos{display:flex;max-width:1200px;margin:0 auto;justify-content:space-around;padding:60px 0}.newFooter .footerInfos>ul{padding:0 40px;box-sizing:border-box;max-width:25%;text-align:left}.newFooter .footerInfos>ul li{color:#fff;font-weight:300}.newFooter .footerInfos>ul li:first-child{font-size:17px}.newFooter .footerInfos>ul li>a,.newFooter .footerInfos>ul li>span{color:#bbb}.newFooter .footerInfos>ul li>a:hover{color:#4cacff}.newFooter .footerCopy{color:#bbb;border-top:1px solid #4e4e4e;padding:10px 0}.newFooter .footerCopy a{color:#bbb}.newFooter .footerCopy a:hover{color:#4cacff}.inviteForm .ant-form-item{margin-right:0}.inviteForm .ant-form-item-label{width:110px;text-align:right}.notice-popover .ant-popover-arrow{display:none}.notice-popover .ant-popover-inner-content{width:386px;height:446px;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px;margin-top:-10px;padding:12px 1px 12px 0}.messageHoverDiv .ant-menu-item{margin-right:24px!important}.hoverNotice-head{margin-left:18px}.hoverNotice-head .ant-badge{font-size:14px!important}.hoverNotice-head>.ant-menu-horizontal{border-bottom:1px solid #e8e8e8!important}.hoverNotice-body{height:342px;overflow-y:scroll}.hoverNotice-body b{font-weight:400;text-shadow:.5px 0 0 #333}.hoverNotice-body .none_panels{height:100%}.message-icon{position:relative}.message-icon .ant-scroll-number{right:12px;padding:0}.hoverNotice-buttom{display:flex;justify-content:space-between;padding:12px 18px}.hoverNotice-buttom a{color:#466aff}.hoverNotice-buttom a:hover{opacity:.85}.noticeCont-back .pointer{cursor:pointer}.noticeCont-back:hover{background:#f3f4f6}.noticeCont{display:flex;margin:0 16px 0 18px;padding:12px 0 10px;line-height:24px;border-bottom:1px solid #eee;cursor:default}.noticeCont i{font-size:14px!important;margin-right:6px;color:#333}.noticeCont .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333}.noticeCont .noticeCont-text{display:flex;color:#333;flex:auto;justify-content:space-between}.noticeCont .noticeCont-text .content-span{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.noticeCont .noticeCont-text .atme-cont-span{width:272px}.noticeCont .noticeCont-text .notice-cont-span{width:255px}.noticeCont .noticeCont-text .timeSpan{font-size:12px;color:#666}.noticeCont .noticeCont-text .at-name{margin-right:12px}.text-center{text-align:center}dl,ol,ul{margin-bottom:0}.newMain{background-color:#fff}.color-black{color:#333}.projectallName{font-size:22px;font-weight:400;line-height:30px;max-width:690px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.projectallName .projectN{word-break:break-all}.textRight{text-align:right}.main{width:1200px;padding:20px;margin:20px auto;background:#fff;border-radius:2px;border:1px solid #eee}.radius-2{border-radius:2px}.normal{width:1200px;margin:0 auto}.back-white{background:#fff}.back-black{background:#000}.btn_32{border-radius:4px;padding:0 12px;height:32px;line-height:32px;background-color:#f4f4f4;color:#666;display:inline-block}@media screen and (max-width:1200px){.main{width:1000px;margin:10px auto}}.hide-1{display:inline-block;white-space:nowrap}.hide-1,.hide-2{overflow:hidden;text-overflow:ellipsis}.hide-2{display:inline-block;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.df{display:flex}.flex-1{flex:1;width:0}.f-wrap-between{display:flex;flex-wrap:wrap;justify-content:space-between}.f-wrap-alignCenter{display:flex;flex-wrap:wrap;align-items:center}.f-wrap-alignCenter>span,.f-wrap-alignCenter a:link,.f-wrap-alignCenter a:visited{color:#333}.f-wrap-alignCenter>span{cursor:default}.commitDesc{flex:1;line-height:20px;word-break:break-all;width:49rem;overflow:hidden;white-space:normal}.commitDesc:hover{text-decoration:underline}.normalBox{border-radius:4px;border:1px solid #ddd}.normalBox-title{padding:10px;background-color:#f4f4f4;line-height:18px}.none_panels{text-align:center;height:400px;display:flex;justify-content:center;align-items:center}.none_panels.small{height:120px}.none_panels.small img{width:50px}.none_panels img{margin-bottom:15px}.none_p_title{font-size:16px;color:#999}form.ant-form{color:#333}.required{position:relative}.required:before{content:"*";color:red;position:absolute;left:-10px;top:0;line-height:22px}form .ant-row.ant-form-item{margin-bottom:20px}@media screen and (max-width:1000px){.main{margin:1rem auto}.main,.normal{width:750px}}@media screen and (max-width:750px){.main{width:95%;margin:1rem auto}.normal{width:100%}}.ver-middle{vertical-align:middle}.pd510{padding:5px 10px}.modalsStyle .ant-modal-content>.ant-modal-header{text-align:left!important}.modalsStyle .ant-modal-body{max-width:400px;margin:0 auto;text-align:left;min-height:140px;display:flex;align-items:center}.modalsStyle .ant-modal-close-x{margin-top:8px}.list-l-Menu,.list-r-Info>div{box-shadow:0 0 2px rgba(0,0,0,.2)}.list-l-Menu{margin-bottom:12px;border-radius:2px;background-color:#fff}.list-l-Menu>li{font-size:1rem;padding:0 0 0 20px;box-sizing:border-box;color:#333;position:relative}.list-l-Menu>li>p{height:62px;line-height:62px;width:100%;border-bottom:1px solid #eee;display:flex;justify-content:space-between;cursor:pointer;padding-right:20px;margin:0}.list-l-Menu>li>p a{width:100%}.list-l-Menu>li>p span:last-child{color:#999}.list-l-Menu>li:last-child>p{border-bottom:none}.list-l-Menu>li:not(.MenuTitle):hover,.list-l-Menu li.active{background-color:#fafafa}.list-l-Menu li.active:before{position:absolute;left:0;top:15px;width:6px;content:"";height:33px;background:#4cacff}.list-l-Menu .MenuTitle{font-size:16px;background-size:100% 100%;color:#333!important;height:62px;line-height:62px;border-bottom:1px solid #e0e0e0;font-weight:400}.list-l-Menu .ant-menu-inline{border:none}.list-l-Menu .ant-menu-inline .ant-menu-item{width:100%!important}.list-l-Menu .ant-menu-item-group-title{padding:0}.group-setting-switch{border:1px solid #ddd!important;background-color:#fff!important}.ant-btn.ant-btn-background-ghost{border-color:#d0d0d0}.ant-btn.ant-btn-background-ghost.ant-btn-primary:hover{background-color:#1890ff!important;border-color:#1890ff;color:#fff}.ant-btn.ant-btn-background-ghost.ant-btn-danger:hover{background-color:#df0002!important;border-color:#df0002;color:#fff}.newPopUl li{height:30px;line-height:30px;border-bottom:1px solid #eee;min-width:78px;text-align:center}.newPopUl li:last-child{border-bottom:none}.btn-83{width:83px;height:32px;line-height:30px;text-align:center;background:#fafbfc;border:1px solid #d0d0d0;display:inline-block;border-radius:5px;font-weight:500;color:#333!important;margin-right:15px}.btn-83:hover{background:#f3f4f6;color:#333!important}.btn-83:active{background:#d0d0d0;color:#333!important}.shadow:hover{background:#eeeff1;border-bottom-left-radius:4px;border-top-left-radius:4px}a.hover:hover{text-decoration:underline}button.ant-btn-primary.btnblue{background-color:#466aff;border-color:#466aff}button.ant-btn-primary.btnblue:hover{background-color:rgba(70,106,255,.85);border-color:rgba(70,106,255,.85)}button.btngrey{background-color:#fff;border-color:#d0d0d0;color:#666}button.btngrey:focus,button.btngrey:hover{border-color:hsla(0,0%,60%,.5);color:#666}.notice-manager-tip{font-size:16px;font-weight:400}.manager-cont-top{font-size:14px;font-weight:600;height:44px;padding-left:20px;background:#fafcff;border:1px solid #89a4f7;line-height:44px;border-top-left-radius:3px;border-top-right-radius:3px;margin-top:25px}.manager-cont{padding:8px 20px 6px;display:flex;align-items:center;font-size:14px}.manager-cont .manager-cont-title{width:320px}.notice01 .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:#fff}.notice01 .ant-checkbox-disabled .ant-checkbox-inner{background-color:#999!important;border-color:#999!important}.notice01 .ant-checkbox-checked .ant-checkbox-inner{background-color:#466aff;border:#466aff}.notice01 .ant-checkbox-checked:after{border:1px solid #466aff}.notice01 .ant-checkbox-input:focus+.ant-checkbox-inner,.notice01 .ant-checkbox-wrapper:hover .ant-checkbox-inner,.notice01 .ant-checkbox:hover .ant-checkbox-inner,.notice01 .ant-radio-checked .ant-radio-inner,.notice01 .ant-radio-input:focus+.ant-radio-inner,.notice01 .ant-radio-wrapper:hover .ant-radio,.notice01 .ant-radio:hover .ant-radio-inner{border-color:#466aff}.notice01 .ant-checkbox+span,.notice01 .manager-cont-title{color:#000}.notice01 .ant-radio-inner:after{background-color:#466aff}.notice01 .but25{color:#fff}.notice01 .but25,.notice01 .but25:hover{background-color:#466aff;border-color:#466aff}.notice01 .but25:hover{opacity:.8}.notice01 .but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.notice01 ::-webkit-scrollbar{width:5px}.notice01 ::-webkit-scrollbar-thumb{border-radius:6px;box-shadow:inset 0 0 6px #fff;background-color:#d4d4d4}.notice01 ::-webkit-scrollbar-track{box-shadow:inset 0 0 6px #fff;background-color:#fff}.whiteBack{background-color:#fff}.whiteBack .boies{width:1200px;margin:0 auto;padding:30px 0 10px}.whiteBack .boies .shortW{width:198px;border:1px solid hsla(0,0%,60%,.22);border-radius:4px;margin-bottom:30px}.whiteBack .boies .shortW .userDetail{background:hsla(0,0%,60%,.05);border-radius:4px 4px 0 0;padding:20px 25px;text-align:center;height:105px}.whiteBack .boies .shortW .userDetail img{height:48px;width:48px;border-radius:50%}.whiteBack .boies .shortW .userDetail span{font-size:16px;color:#333;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}.whiteBack .boies .shortW .securityUl{padding-left:17px;color:#333;margin-bottom:0;padding-bottom:12px;padding-top:5px}.whiteBack .boies .shortW .securityUl li{font-size:14px;margin-top:10px;margin-bottom:10px;height:27px;line-height:27px;position:relative;cursor:default}.whiteBack .boies .shortW .securityUl li a{color:#666}.whiteBack .boies .shortW .securityUl li.active a,.whiteBack .boies .shortW .securityUl li a:hover{color:#333}.whiteBack .boies .shortW .securityUl li.active a .text-shodow-bold{font-weight:400;text-shadow:.5px 0 #333}.whiteBack .boies .shortW .securityUl li.active:before{position:absolute;left:-18px;top:6px;height:15px;width:3px;border-radius:2px;content:"";background-color:#466aff}.whiteBack .boies .shortW .securityUl li i{font-size:14px!important;margin-right:8px}.whiteBack .boies .shortW .ul-border-buttom{border-bottom:1px solid hsla(0,0%,60%,.22);padding-bottom:5px}.whiteBack .boies .sshHead{display:flex;align-items:center;padding:6px 0;margin-bottom:15px;justify-content:space-between;border-bottom:1px solid #eee}.whiteBack .boies .sshHead>.text-shadow07{font-size:18px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead>.add-SSH-title{font-size:16px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead .but25{padding:0 12px}.whiteBack .boies .ant-list-item{padding:20px;border-bottom:1px solid #eee!important}.whiteBack .boies .ant-list-item>img{margin-right:24px}.whiteBack .boies .ant-list-item>div{flex:1;width:0;margin-right:20px}.whiteBack .boies .ant-list-item>div p{margin-bottom:8px!important}.whiteBack .boies .ant-list-item>div span{font-size:12px}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger{background-color:#fff;border-color:#d0d0d0;color:#df0002}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger:hover{background-color:#df0002;color:#fff;border-color:#df0002}.whiteBack .boies .questionLink{padding:15px 20px}.whiteBack .boies .questionLink a{color:#466aff}.whiteBack .boies .questionLink a:hover{text-decoration:underline}.whiteBack .boies .sshForm{padding:15px 20px}.whiteBack .boies .sshForm .ant-col.ant-form-item-label{font-size:16px;color:#333}.descModal .ant-modal-title{text-align:left;font-size:20px}.descModal .keyContent{border:1px solid #eee;border-radius:4px;padding:10px 15px;margin-top:10px;max-height:200px;overflow-y:auto}.descModal .keysTitle{display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap}.descModal .keysTitle span:last-child{word-break:break-all;flex:1}.but25{margin-bottom:5px;color:#fff}.but25,.but25:hover{background-color:#466aff;border-color:#466aff}.but25:hover{opacity:.8}.but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.blue-Purple{color:#466aff!important}.whiteBack .boies .sshHead{padding:0 10px 0 0}.sshHead .ant-badge{font-size:16px;color:#333}.sshHead .ant-menu-item{padding:0;margin-right:34px!important;height:34px;width:64px;text-align:center;line-height:0;position:relative}.sshHead .ant-menu-horizontal>.ant-menu-item,.sshHead li.ant-menu-item{border-bottom:0}.sshHead .ant-menu-item-selected{color:#333;font-weight:400;text-shadow:.5px 0 #333;border-bottom:2px solid #2a61ff!important}.sshHead .ant-badge-count,.sshHead .ant-badge-dot,.sshHead .ant-badge .ant-scroll-number-custom-component{right:-6px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0}.sshHead .ant-badge-multiple-words{padding:0}.sshHead .ant-menu-horizontal{border-bottom:0 solid #e8e8e8}.sshHead button{padding:0 5px}button{color:#333;background:#fafbfc;border:1px solid #d0d0d0;border-radius:4px;height:32px}button:hover{background:#f3f4f6}button:active{background:#ebecf0}.deleteBut{color:#df0002}.deleteBut:hover{background:#df0002;border:1px solid #df0002;color:#fff}.deleteBut:active{background:#ce0002;border:1px solid #ce0002;color:#fff}.mynotice-content{justify-content:space-between;padding:15px 0 15px 10px;border-bottom:1px solid #eee;color:#333}.mynotice-content:hover{background:#f3f4f6}.mynotice-content img{cursor:pointer}.mynotice-content b{font-weight:400;text-shadow:.5px 0 #333}.mynotice-content .invisable-read{display:none}.mynotice-content:hover .invisable-read{display:block;color:#466aff;opacity:.6;cursor:pointer}.mynotice-content:hover .invisable-read:hover{opacity:1}.mynotice-content:hover .timeSpan{display:none}.mynotice-content i{font-size:16px!important;margin-right:5px}.mynotice-content .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333;margin:0 8px}.mynotice-content .currentImg{width:40px;height:40px;margin-left:0}.mynotice-content .private-letter-img+.ant-badge-count{top:2px;right:5px;height:18px;min-width:18px;line-height:18px;padding:0}.mynotice-content .highlightSpan:hover{color:#466aff;cursor:pointer}.mynotice-content .mynotice-cont{padding:0;cursor:default}.mynotice-content .mynotice-cont .visible-checkbox{margin-right:10px}.mynotice-content .mynotice-cont .invisible-checkbox{display:none}.mynotice-content .mynotice-cont .atme-notice-text{margin-left:6px}.mynotice-content .mynotice-cont .atme-notice-text .atme-notice-name{margin:0}.mynotice-content .mynotice-cont .atme-notice-text .atme-length{max-width:48rem;word-break:break-all}.mynotice-content .ant-badge-count,.mynotice-content .ant-badge-dot,.mynotice-content .ant-badge .ant-scroll-number-custom-component{-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0;top:3px;right:4px;min-width:8px;height:8px}.mynotice-content .system-notice-blank{margin-right:14px}.batchDel .atme-notice-text,.batchDel .currentImg{pointer-events:none}.baselineDiv{align-items:baseline}.invisible{display:none}.visible{display:flex;justify-content:space-between;height:30px;padding:0 10px;color:#333;margin-bottom:5px}.visible button{padding:0 12px}.visible .batchDeleteBut{border:1px solid #466aff;color:#466aff}.private-letter-right{flex:auto;margin:0 10px 0 16px}.private-letter-right div{display:flex;justify-content:space-between}.letter-length-limit{max-width:50rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sysNotice-length{max-width:52rem;word-break:break-all}.numberSpan{color:#466aff}.vertical-center-style{display:flex;align-items:center}.stretch-style{display:flex;align-items:baseline}.float-left-little{margin-right:10px}.float-right-little{margin-left:12px}.paging{text-align:center;margin:12px}.ant-modal-mask{z-index:1031}.ant-modal-wrap{z-index:1032}.deleteBox{z-index:1033}.deleteBox .ant-modal-close-x{font-size:17px!important}.deleteBox .ant-modal-header{background-color:#f8f8f8;padding:10px 30px}.deleteBox .ant-modal-header .ant-modal-title{text-align:left;font-size:16px;font-weight:700}.deleteBox .ant-modal-close{top:0!important;font-size:24px!important}.deleteBox .ant-modal-body{padding:30px 50px}.deleteBox .ant-modal-body p{font-size:14px;line-height:26px;color:#666;word-break:break-all}.deleteBox .ant-modal-body .desc .descMain{align-items:center;justify-content:center;font-size:20px;margin-bottom:10px}.deleteBox .ant-modal-body .desc .descMain i.red{color:#df0002}.deleteBox .ant-modal-footer{border-top:none;text-align:center;padding-bottom:40px}.deleteBox .ant-modal-footer a,.deleteBox .ant-modal-footer button{width:96px;height:32px;margin:0 20px;font-weight:400;font-size:14px}.deleteBox .ant-modal-footer a.ant-btn,.deleteBox .ant-modal-footer button.ant-btn{border-color:#d0d0d0;color:#666}.deleteBox .ant-modal-footer a.ant-btn:active,.deleteBox .ant-modal-footer a.ant-btn:focus,.deleteBox .ant-modal-footer a.ant-btn:hover,.deleteBox .ant-modal-footer button.ant-btn:active,.deleteBox .ant-modal-footer button.ant-btn:focus,.deleteBox .ant-modal-footer button.ant-btn:hover{background:#f3f4f6}.deleteBox .ant-modal-footer a.ant-btn-danger,.deleteBox .ant-modal-footer button.ant-btn-danger{background-color:#fff;color:#df0002;border-color:#d0d0d0}.deleteBox .ant-modal-footer a.ant-btn-danger:active,.deleteBox .ant-modal-footer a.ant-btn-danger:focus,.deleteBox .ant-modal-footer a.ant-btn-danger:hover,.deleteBox .ant-modal-footer button.ant-btn-danger:active,.deleteBox .ant-modal-footer button.ant-btn-danger:focus,.deleteBox .ant-modal-footer button.ant-btn-danger:hover{border-color:#df0002;background-color:#fff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary{background-color:#466aff;color:#fff;border-color:#466aff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:hover,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.contents{display:flex;align-items:center;justify-content:center;margin:10px auto 0}.contents img{margin-right:13px;width:44px}.contents p{line-height:29px;max-width:327px;font-size:16px!important}.font-44{font-size:44px!important}.suit-main .search-head{background:#eef2f5}.suit-main .search-box{width:1200px;height:110px;margin:0 auto}.suit-main .search-box .ant-form-explain{color:#f5222d}.suit-main .global-search{margin-top:40px}.suit-main .required-search .ant-input{border-color:#f5222d!important}.suit-main .ant-tabs-top{background:#eef2f5}.suit-main .ant-tabs-tabpane{background:#fff}.suit-main .ant-tabs-bar{width:1200px;margin:0 auto}.suit-main .ant-tabs-nav .ant-tabs-tab:hover,.suit-main .ant-tabs-tab-active{color:#000;font-weight:600}.suit-main .search-content{width:1200px;margin:1.5vw auto}.suit-main .search-content p{margin-bottom:.75em!important}.suit-main .search-item{padding:.75em 0;border-top:1px solid #e1e4e8}.suit-main .search-item .search-item-tit{display:flex;justify-content:space-between}.suit-main .search-item .search-item-title{cursor:pointer}.suit-main .search-item .search-item-content span,.suit-main .search-item .search-item-title:hover,.suit-main .search-item .search-item-title span{color:#1890ff}.suit-main .search-item .search-icon{margin-right:2em;color:#aaa}.suit-main .ant-pagination{text-align:center;margin-bottom:3vw}.suit-main .none_panels{display:flex;justify-content:center;align-items:center;flex-flow:column nowrap;height:40vh} \ No newline at end of file +.ant-row{position:relative;height:auto;margin-right:0;margin-left:0;zoom:1;display:block;-webkit-box-sizing:border-box;box-sizing:border-box}.ant-row:after,.ant-row:before{display:table;content:""}.ant-row+.ant-row:before,.ant-row:after{clear:both}.ant-row-flex{-ms-flex-flow:row wrap;flex-flow:row wrap}.ant-row-flex,.ant-row-flex:after,.ant-row-flex:before{display:-ms-flexbox;display:flex}.ant-row-flex-start{-ms-flex-pack:start;justify-content:flex-start}.ant-row-flex-center{-ms-flex-pack:center;justify-content:center}.ant-row-flex-end{-ms-flex-pack:end;justify-content:flex-end}.ant-row-flex-space-between{-ms-flex-pack:justify;justify-content:space-between}.ant-row-flex-space-around{-ms-flex-pack:distribute;justify-content:space-around}.ant-row-flex-top{-ms-flex-align:start;align-items:flex-start}.ant-row-flex-middle{-ms-flex-align:center;align-items:center}.ant-row-flex-bottom{-ms-flex-align:end;align-items:flex-end}.ant-col{position:relative;min-height:1px}.ant-col-1,.ant-col-2,.ant-col-3,.ant-col-4,.ant-col-5,.ant-col-6,.ant-col-7,.ant-col-8,.ant-col-9,.ant-col-10,.ant-col-11,.ant-col-12,.ant-col-13,.ant-col-14,.ant-col-15,.ant-col-16,.ant-col-17,.ant-col-18,.ant-col-19,.ant-col-20,.ant-col-21,.ant-col-22,.ant-col-23,.ant-col-24,.ant-col-lg-1,.ant-col-lg-2,.ant-col-lg-3,.ant-col-lg-4,.ant-col-lg-5,.ant-col-lg-6,.ant-col-lg-7,.ant-col-lg-8,.ant-col-lg-9,.ant-col-lg-10,.ant-col-lg-11,.ant-col-lg-12,.ant-col-lg-13,.ant-col-lg-14,.ant-col-lg-15,.ant-col-lg-16,.ant-col-lg-17,.ant-col-lg-18,.ant-col-lg-19,.ant-col-lg-20,.ant-col-lg-21,.ant-col-lg-22,.ant-col-lg-23,.ant-col-lg-24,.ant-col-md-1,.ant-col-md-2,.ant-col-md-3,.ant-col-md-4,.ant-col-md-5,.ant-col-md-6,.ant-col-md-7,.ant-col-md-8,.ant-col-md-9,.ant-col-md-10,.ant-col-md-11,.ant-col-md-12,.ant-col-md-13,.ant-col-md-14,.ant-col-md-15,.ant-col-md-16,.ant-col-md-17,.ant-col-md-18,.ant-col-md-19,.ant-col-md-20,.ant-col-md-21,.ant-col-md-22,.ant-col-md-23,.ant-col-md-24,.ant-col-sm-1,.ant-col-sm-2,.ant-col-sm-3,.ant-col-sm-4,.ant-col-sm-5,.ant-col-sm-6,.ant-col-sm-7,.ant-col-sm-8,.ant-col-sm-9,.ant-col-sm-10,.ant-col-sm-11,.ant-col-sm-12,.ant-col-sm-13,.ant-col-sm-14,.ant-col-sm-15,.ant-col-sm-16,.ant-col-sm-17,.ant-col-sm-18,.ant-col-sm-19,.ant-col-sm-20,.ant-col-sm-21,.ant-col-sm-22,.ant-col-sm-23,.ant-col-sm-24,.ant-col-xs-1,.ant-col-xs-2,.ant-col-xs-3,.ant-col-xs-4,.ant-col-xs-5,.ant-col-xs-6,.ant-col-xs-7,.ant-col-xs-8,.ant-col-xs-9,.ant-col-xs-10,.ant-col-xs-11,.ant-col-xs-12,.ant-col-xs-13,.ant-col-xs-14,.ant-col-xs-15,.ant-col-xs-16,.ant-col-xs-17,.ant-col-xs-18,.ant-col-xs-19,.ant-col-xs-20,.ant-col-xs-21,.ant-col-xs-22,.ant-col-xs-23,.ant-col-xs-24{position:relative;padding-right:0;padding-left:0}.ant-col-1,.ant-col-2,.ant-col-3,.ant-col-4,.ant-col-5,.ant-col-6,.ant-col-7,.ant-col-8,.ant-col-9,.ant-col-10,.ant-col-11,.ant-col-12,.ant-col-13,.ant-col-14,.ant-col-15,.ant-col-16,.ant-col-17,.ant-col-18,.ant-col-19,.ant-col-20,.ant-col-21,.ant-col-22,.ant-col-23,.ant-col-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-push-24{left:100%}.ant-col-pull-24{right:100%}.ant-col-offset-24{margin-left:100%}.ant-col-order-24{-ms-flex-order:24;order:24}.ant-col-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-push-23{left:95.83333333%}.ant-col-pull-23{right:95.83333333%}.ant-col-offset-23{margin-left:95.83333333%}.ant-col-order-23{-ms-flex-order:23;order:23}.ant-col-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-push-22{left:91.66666667%}.ant-col-pull-22{right:91.66666667%}.ant-col-offset-22{margin-left:91.66666667%}.ant-col-order-22{-ms-flex-order:22;order:22}.ant-col-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-push-21{left:87.5%}.ant-col-pull-21{right:87.5%}.ant-col-offset-21{margin-left:87.5%}.ant-col-order-21{-ms-flex-order:21;order:21}.ant-col-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-push-20{left:83.33333333%}.ant-col-pull-20{right:83.33333333%}.ant-col-offset-20{margin-left:83.33333333%}.ant-col-order-20{-ms-flex-order:20;order:20}.ant-col-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-push-19{left:79.16666667%}.ant-col-pull-19{right:79.16666667%}.ant-col-offset-19{margin-left:79.16666667%}.ant-col-order-19{-ms-flex-order:19;order:19}.ant-col-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-push-18{left:75%}.ant-col-pull-18{right:75%}.ant-col-offset-18{margin-left:75%}.ant-col-order-18{-ms-flex-order:18;order:18}.ant-col-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-push-17{left:70.83333333%}.ant-col-pull-17{right:70.83333333%}.ant-col-offset-17{margin-left:70.83333333%}.ant-col-order-17{-ms-flex-order:17;order:17}.ant-col-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-push-16{left:66.66666667%}.ant-col-pull-16{right:66.66666667%}.ant-col-offset-16{margin-left:66.66666667%}.ant-col-order-16{-ms-flex-order:16;order:16}.ant-col-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-push-15{left:62.5%}.ant-col-pull-15{right:62.5%}.ant-col-offset-15{margin-left:62.5%}.ant-col-order-15{-ms-flex-order:15;order:15}.ant-col-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-push-14{left:58.33333333%}.ant-col-pull-14{right:58.33333333%}.ant-col-offset-14{margin-left:58.33333333%}.ant-col-order-14{-ms-flex-order:14;order:14}.ant-col-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-push-13{left:54.16666667%}.ant-col-pull-13{right:54.16666667%}.ant-col-offset-13{margin-left:54.16666667%}.ant-col-order-13{-ms-flex-order:13;order:13}.ant-col-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-push-12{left:50%}.ant-col-pull-12{right:50%}.ant-col-offset-12{margin-left:50%}.ant-col-order-12{-ms-flex-order:12;order:12}.ant-col-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-push-11{left:45.83333333%}.ant-col-pull-11{right:45.83333333%}.ant-col-offset-11{margin-left:45.83333333%}.ant-col-order-11{-ms-flex-order:11;order:11}.ant-col-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-push-10{left:41.66666667%}.ant-col-pull-10{right:41.66666667%}.ant-col-offset-10{margin-left:41.66666667%}.ant-col-order-10{-ms-flex-order:10;order:10}.ant-col-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-push-9{left:37.5%}.ant-col-pull-9{right:37.5%}.ant-col-offset-9{margin-left:37.5%}.ant-col-order-9{-ms-flex-order:9;order:9}.ant-col-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-push-8{left:33.33333333%}.ant-col-pull-8{right:33.33333333%}.ant-col-offset-8{margin-left:33.33333333%}.ant-col-order-8{-ms-flex-order:8;order:8}.ant-col-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-push-7{left:29.16666667%}.ant-col-pull-7{right:29.16666667%}.ant-col-offset-7{margin-left:29.16666667%}.ant-col-order-7{-ms-flex-order:7;order:7}.ant-col-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-push-6{left:25%}.ant-col-pull-6{right:25%}.ant-col-offset-6{margin-left:25%}.ant-col-order-6{-ms-flex-order:6;order:6}.ant-col-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-push-5{left:20.83333333%}.ant-col-pull-5{right:20.83333333%}.ant-col-offset-5{margin-left:20.83333333%}.ant-col-order-5{-ms-flex-order:5;order:5}.ant-col-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-push-4{left:16.66666667%}.ant-col-pull-4{right:16.66666667%}.ant-col-offset-4{margin-left:16.66666667%}.ant-col-order-4{-ms-flex-order:4;order:4}.ant-col-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-push-3{left:12.5%}.ant-col-pull-3{right:12.5%}.ant-col-offset-3{margin-left:12.5%}.ant-col-order-3{-ms-flex-order:3;order:3}.ant-col-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-push-2{left:8.33333333%}.ant-col-pull-2{right:8.33333333%}.ant-col-offset-2{margin-left:8.33333333%}.ant-col-order-2{-ms-flex-order:2;order:2}.ant-col-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-push-1{left:4.16666667%}.ant-col-pull-1{right:4.16666667%}.ant-col-offset-1{margin-left:4.16666667%}.ant-col-order-1{-ms-flex-order:1;order:1}.ant-col-0{display:none}.ant-col-offset-0{margin-left:0}.ant-col-order-0{-ms-flex-order:0;order:0}.ant-col-xs-1,.ant-col-xs-2,.ant-col-xs-3,.ant-col-xs-4,.ant-col-xs-5,.ant-col-xs-6,.ant-col-xs-7,.ant-col-xs-8,.ant-col-xs-9,.ant-col-xs-10,.ant-col-xs-11,.ant-col-xs-12,.ant-col-xs-13,.ant-col-xs-14,.ant-col-xs-15,.ant-col-xs-16,.ant-col-xs-17,.ant-col-xs-18,.ant-col-xs-19,.ant-col-xs-20,.ant-col-xs-21,.ant-col-xs-22,.ant-col-xs-23,.ant-col-xs-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-xs-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-xs-push-24{left:100%}.ant-col-xs-pull-24{right:100%}.ant-col-xs-offset-24{margin-left:100%}.ant-col-xs-order-24{-ms-flex-order:24;order:24}.ant-col-xs-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-xs-push-23{left:95.83333333%}.ant-col-xs-pull-23{right:95.83333333%}.ant-col-xs-offset-23{margin-left:95.83333333%}.ant-col-xs-order-23{-ms-flex-order:23;order:23}.ant-col-xs-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-xs-push-22{left:91.66666667%}.ant-col-xs-pull-22{right:91.66666667%}.ant-col-xs-offset-22{margin-left:91.66666667%}.ant-col-xs-order-22{-ms-flex-order:22;order:22}.ant-col-xs-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-xs-push-21{left:87.5%}.ant-col-xs-pull-21{right:87.5%}.ant-col-xs-offset-21{margin-left:87.5%}.ant-col-xs-order-21{-ms-flex-order:21;order:21}.ant-col-xs-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-xs-push-20{left:83.33333333%}.ant-col-xs-pull-20{right:83.33333333%}.ant-col-xs-offset-20{margin-left:83.33333333%}.ant-col-xs-order-20{-ms-flex-order:20;order:20}.ant-col-xs-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-xs-push-19{left:79.16666667%}.ant-col-xs-pull-19{right:79.16666667%}.ant-col-xs-offset-19{margin-left:79.16666667%}.ant-col-xs-order-19{-ms-flex-order:19;order:19}.ant-col-xs-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-xs-push-18{left:75%}.ant-col-xs-pull-18{right:75%}.ant-col-xs-offset-18{margin-left:75%}.ant-col-xs-order-18{-ms-flex-order:18;order:18}.ant-col-xs-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-xs-push-17{left:70.83333333%}.ant-col-xs-pull-17{right:70.83333333%}.ant-col-xs-offset-17{margin-left:70.83333333%}.ant-col-xs-order-17{-ms-flex-order:17;order:17}.ant-col-xs-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-xs-push-16{left:66.66666667%}.ant-col-xs-pull-16{right:66.66666667%}.ant-col-xs-offset-16{margin-left:66.66666667%}.ant-col-xs-order-16{-ms-flex-order:16;order:16}.ant-col-xs-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-xs-push-15{left:62.5%}.ant-col-xs-pull-15{right:62.5%}.ant-col-xs-offset-15{margin-left:62.5%}.ant-col-xs-order-15{-ms-flex-order:15;order:15}.ant-col-xs-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-xs-push-14{left:58.33333333%}.ant-col-xs-pull-14{right:58.33333333%}.ant-col-xs-offset-14{margin-left:58.33333333%}.ant-col-xs-order-14{-ms-flex-order:14;order:14}.ant-col-xs-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-xs-push-13{left:54.16666667%}.ant-col-xs-pull-13{right:54.16666667%}.ant-col-xs-offset-13{margin-left:54.16666667%}.ant-col-xs-order-13{-ms-flex-order:13;order:13}.ant-col-xs-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-xs-push-12{left:50%}.ant-col-xs-pull-12{right:50%}.ant-col-xs-offset-12{margin-left:50%}.ant-col-xs-order-12{-ms-flex-order:12;order:12}.ant-col-xs-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-xs-push-11{left:45.83333333%}.ant-col-xs-pull-11{right:45.83333333%}.ant-col-xs-offset-11{margin-left:45.83333333%}.ant-col-xs-order-11{-ms-flex-order:11;order:11}.ant-col-xs-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-xs-push-10{left:41.66666667%}.ant-col-xs-pull-10{right:41.66666667%}.ant-col-xs-offset-10{margin-left:41.66666667%}.ant-col-xs-order-10{-ms-flex-order:10;order:10}.ant-col-xs-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-xs-push-9{left:37.5%}.ant-col-xs-pull-9{right:37.5%}.ant-col-xs-offset-9{margin-left:37.5%}.ant-col-xs-order-9{-ms-flex-order:9;order:9}.ant-col-xs-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-xs-push-8{left:33.33333333%}.ant-col-xs-pull-8{right:33.33333333%}.ant-col-xs-offset-8{margin-left:33.33333333%}.ant-col-xs-order-8{-ms-flex-order:8;order:8}.ant-col-xs-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-xs-push-7{left:29.16666667%}.ant-col-xs-pull-7{right:29.16666667%}.ant-col-xs-offset-7{margin-left:29.16666667%}.ant-col-xs-order-7{-ms-flex-order:7;order:7}.ant-col-xs-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-xs-push-6{left:25%}.ant-col-xs-pull-6{right:25%}.ant-col-xs-offset-6{margin-left:25%}.ant-col-xs-order-6{-ms-flex-order:6;order:6}.ant-col-xs-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-xs-push-5{left:20.83333333%}.ant-col-xs-pull-5{right:20.83333333%}.ant-col-xs-offset-5{margin-left:20.83333333%}.ant-col-xs-order-5{-ms-flex-order:5;order:5}.ant-col-xs-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-xs-push-4{left:16.66666667%}.ant-col-xs-pull-4{right:16.66666667%}.ant-col-xs-offset-4{margin-left:16.66666667%}.ant-col-xs-order-4{-ms-flex-order:4;order:4}.ant-col-xs-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-xs-push-3{left:12.5%}.ant-col-xs-pull-3{right:12.5%}.ant-col-xs-offset-3{margin-left:12.5%}.ant-col-xs-order-3{-ms-flex-order:3;order:3}.ant-col-xs-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-xs-push-2{left:8.33333333%}.ant-col-xs-pull-2{right:8.33333333%}.ant-col-xs-offset-2{margin-left:8.33333333%}.ant-col-xs-order-2{-ms-flex-order:2;order:2}.ant-col-xs-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-xs-push-1{left:4.16666667%}.ant-col-xs-pull-1{right:4.16666667%}.ant-col-xs-offset-1{margin-left:4.16666667%}.ant-col-xs-order-1{-ms-flex-order:1;order:1}.ant-col-xs-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xs-push-0{left:auto}.ant-col-xs-pull-0{right:auto}.ant-col-xs-offset-0{margin-left:0}.ant-col-xs-order-0{-ms-flex-order:0;order:0}@media (min-width:576px){.ant-col-sm-1,.ant-col-sm-2,.ant-col-sm-3,.ant-col-sm-4,.ant-col-sm-5,.ant-col-sm-6,.ant-col-sm-7,.ant-col-sm-8,.ant-col-sm-9,.ant-col-sm-10,.ant-col-sm-11,.ant-col-sm-12,.ant-col-sm-13,.ant-col-sm-14,.ant-col-sm-15,.ant-col-sm-16,.ant-col-sm-17,.ant-col-sm-18,.ant-col-sm-19,.ant-col-sm-20,.ant-col-sm-21,.ant-col-sm-22,.ant-col-sm-23,.ant-col-sm-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-sm-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-sm-push-24{left:100%}.ant-col-sm-pull-24{right:100%}.ant-col-sm-offset-24{margin-left:100%}.ant-col-sm-order-24{-ms-flex-order:24;order:24}.ant-col-sm-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-sm-push-23{left:95.83333333%}.ant-col-sm-pull-23{right:95.83333333%}.ant-col-sm-offset-23{margin-left:95.83333333%}.ant-col-sm-order-23{-ms-flex-order:23;order:23}.ant-col-sm-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-sm-push-22{left:91.66666667%}.ant-col-sm-pull-22{right:91.66666667%}.ant-col-sm-offset-22{margin-left:91.66666667%}.ant-col-sm-order-22{-ms-flex-order:22;order:22}.ant-col-sm-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-sm-push-21{left:87.5%}.ant-col-sm-pull-21{right:87.5%}.ant-col-sm-offset-21{margin-left:87.5%}.ant-col-sm-order-21{-ms-flex-order:21;order:21}.ant-col-sm-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-sm-push-20{left:83.33333333%}.ant-col-sm-pull-20{right:83.33333333%}.ant-col-sm-offset-20{margin-left:83.33333333%}.ant-col-sm-order-20{-ms-flex-order:20;order:20}.ant-col-sm-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-sm-push-19{left:79.16666667%}.ant-col-sm-pull-19{right:79.16666667%}.ant-col-sm-offset-19{margin-left:79.16666667%}.ant-col-sm-order-19{-ms-flex-order:19;order:19}.ant-col-sm-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-sm-push-18{left:75%}.ant-col-sm-pull-18{right:75%}.ant-col-sm-offset-18{margin-left:75%}.ant-col-sm-order-18{-ms-flex-order:18;order:18}.ant-col-sm-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-sm-push-17{left:70.83333333%}.ant-col-sm-pull-17{right:70.83333333%}.ant-col-sm-offset-17{margin-left:70.83333333%}.ant-col-sm-order-17{-ms-flex-order:17;order:17}.ant-col-sm-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-sm-push-16{left:66.66666667%}.ant-col-sm-pull-16{right:66.66666667%}.ant-col-sm-offset-16{margin-left:66.66666667%}.ant-col-sm-order-16{-ms-flex-order:16;order:16}.ant-col-sm-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-sm-push-15{left:62.5%}.ant-col-sm-pull-15{right:62.5%}.ant-col-sm-offset-15{margin-left:62.5%}.ant-col-sm-order-15{-ms-flex-order:15;order:15}.ant-col-sm-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-sm-push-14{left:58.33333333%}.ant-col-sm-pull-14{right:58.33333333%}.ant-col-sm-offset-14{margin-left:58.33333333%}.ant-col-sm-order-14{-ms-flex-order:14;order:14}.ant-col-sm-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-sm-push-13{left:54.16666667%}.ant-col-sm-pull-13{right:54.16666667%}.ant-col-sm-offset-13{margin-left:54.16666667%}.ant-col-sm-order-13{-ms-flex-order:13;order:13}.ant-col-sm-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-sm-push-12{left:50%}.ant-col-sm-pull-12{right:50%}.ant-col-sm-offset-12{margin-left:50%}.ant-col-sm-order-12{-ms-flex-order:12;order:12}.ant-col-sm-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-sm-push-11{left:45.83333333%}.ant-col-sm-pull-11{right:45.83333333%}.ant-col-sm-offset-11{margin-left:45.83333333%}.ant-col-sm-order-11{-ms-flex-order:11;order:11}.ant-col-sm-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-sm-push-10{left:41.66666667%}.ant-col-sm-pull-10{right:41.66666667%}.ant-col-sm-offset-10{margin-left:41.66666667%}.ant-col-sm-order-10{-ms-flex-order:10;order:10}.ant-col-sm-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-sm-push-9{left:37.5%}.ant-col-sm-pull-9{right:37.5%}.ant-col-sm-offset-9{margin-left:37.5%}.ant-col-sm-order-9{-ms-flex-order:9;order:9}.ant-col-sm-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-sm-push-8{left:33.33333333%}.ant-col-sm-pull-8{right:33.33333333%}.ant-col-sm-offset-8{margin-left:33.33333333%}.ant-col-sm-order-8{-ms-flex-order:8;order:8}.ant-col-sm-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-sm-push-7{left:29.16666667%}.ant-col-sm-pull-7{right:29.16666667%}.ant-col-sm-offset-7{margin-left:29.16666667%}.ant-col-sm-order-7{-ms-flex-order:7;order:7}.ant-col-sm-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-sm-push-6{left:25%}.ant-col-sm-pull-6{right:25%}.ant-col-sm-offset-6{margin-left:25%}.ant-col-sm-order-6{-ms-flex-order:6;order:6}.ant-col-sm-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-sm-push-5{left:20.83333333%}.ant-col-sm-pull-5{right:20.83333333%}.ant-col-sm-offset-5{margin-left:20.83333333%}.ant-col-sm-order-5{-ms-flex-order:5;order:5}.ant-col-sm-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-sm-push-4{left:16.66666667%}.ant-col-sm-pull-4{right:16.66666667%}.ant-col-sm-offset-4{margin-left:16.66666667%}.ant-col-sm-order-4{-ms-flex-order:4;order:4}.ant-col-sm-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-sm-push-3{left:12.5%}.ant-col-sm-pull-3{right:12.5%}.ant-col-sm-offset-3{margin-left:12.5%}.ant-col-sm-order-3{-ms-flex-order:3;order:3}.ant-col-sm-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-sm-push-2{left:8.33333333%}.ant-col-sm-pull-2{right:8.33333333%}.ant-col-sm-offset-2{margin-left:8.33333333%}.ant-col-sm-order-2{-ms-flex-order:2;order:2}.ant-col-sm-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-sm-push-1{left:4.16666667%}.ant-col-sm-pull-1{right:4.16666667%}.ant-col-sm-offset-1{margin-left:4.16666667%}.ant-col-sm-order-1{-ms-flex-order:1;order:1}.ant-col-sm-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-sm-push-0{left:auto}.ant-col-sm-pull-0{right:auto}.ant-col-sm-offset-0{margin-left:0}.ant-col-sm-order-0{-ms-flex-order:0;order:0}}@media (min-width:768px){.ant-col-md-1,.ant-col-md-2,.ant-col-md-3,.ant-col-md-4,.ant-col-md-5,.ant-col-md-6,.ant-col-md-7,.ant-col-md-8,.ant-col-md-9,.ant-col-md-10,.ant-col-md-11,.ant-col-md-12,.ant-col-md-13,.ant-col-md-14,.ant-col-md-15,.ant-col-md-16,.ant-col-md-17,.ant-col-md-18,.ant-col-md-19,.ant-col-md-20,.ant-col-md-21,.ant-col-md-22,.ant-col-md-23,.ant-col-md-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-md-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-md-push-24{left:100%}.ant-col-md-pull-24{right:100%}.ant-col-md-offset-24{margin-left:100%}.ant-col-md-order-24{-ms-flex-order:24;order:24}.ant-col-md-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-md-push-23{left:95.83333333%}.ant-col-md-pull-23{right:95.83333333%}.ant-col-md-offset-23{margin-left:95.83333333%}.ant-col-md-order-23{-ms-flex-order:23;order:23}.ant-col-md-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-md-push-22{left:91.66666667%}.ant-col-md-pull-22{right:91.66666667%}.ant-col-md-offset-22{margin-left:91.66666667%}.ant-col-md-order-22{-ms-flex-order:22;order:22}.ant-col-md-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-md-push-21{left:87.5%}.ant-col-md-pull-21{right:87.5%}.ant-col-md-offset-21{margin-left:87.5%}.ant-col-md-order-21{-ms-flex-order:21;order:21}.ant-col-md-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-md-push-20{left:83.33333333%}.ant-col-md-pull-20{right:83.33333333%}.ant-col-md-offset-20{margin-left:83.33333333%}.ant-col-md-order-20{-ms-flex-order:20;order:20}.ant-col-md-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-md-push-19{left:79.16666667%}.ant-col-md-pull-19{right:79.16666667%}.ant-col-md-offset-19{margin-left:79.16666667%}.ant-col-md-order-19{-ms-flex-order:19;order:19}.ant-col-md-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-md-push-18{left:75%}.ant-col-md-pull-18{right:75%}.ant-col-md-offset-18{margin-left:75%}.ant-col-md-order-18{-ms-flex-order:18;order:18}.ant-col-md-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-md-push-17{left:70.83333333%}.ant-col-md-pull-17{right:70.83333333%}.ant-col-md-offset-17{margin-left:70.83333333%}.ant-col-md-order-17{-ms-flex-order:17;order:17}.ant-col-md-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-md-push-16{left:66.66666667%}.ant-col-md-pull-16{right:66.66666667%}.ant-col-md-offset-16{margin-left:66.66666667%}.ant-col-md-order-16{-ms-flex-order:16;order:16}.ant-col-md-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-md-push-15{left:62.5%}.ant-col-md-pull-15{right:62.5%}.ant-col-md-offset-15{margin-left:62.5%}.ant-col-md-order-15{-ms-flex-order:15;order:15}.ant-col-md-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-md-push-14{left:58.33333333%}.ant-col-md-pull-14{right:58.33333333%}.ant-col-md-offset-14{margin-left:58.33333333%}.ant-col-md-order-14{-ms-flex-order:14;order:14}.ant-col-md-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-md-push-13{left:54.16666667%}.ant-col-md-pull-13{right:54.16666667%}.ant-col-md-offset-13{margin-left:54.16666667%}.ant-col-md-order-13{-ms-flex-order:13;order:13}.ant-col-md-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-md-push-12{left:50%}.ant-col-md-pull-12{right:50%}.ant-col-md-offset-12{margin-left:50%}.ant-col-md-order-12{-ms-flex-order:12;order:12}.ant-col-md-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-md-push-11{left:45.83333333%}.ant-col-md-pull-11{right:45.83333333%}.ant-col-md-offset-11{margin-left:45.83333333%}.ant-col-md-order-11{-ms-flex-order:11;order:11}.ant-col-md-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-md-push-10{left:41.66666667%}.ant-col-md-pull-10{right:41.66666667%}.ant-col-md-offset-10{margin-left:41.66666667%}.ant-col-md-order-10{-ms-flex-order:10;order:10}.ant-col-md-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-md-push-9{left:37.5%}.ant-col-md-pull-9{right:37.5%}.ant-col-md-offset-9{margin-left:37.5%}.ant-col-md-order-9{-ms-flex-order:9;order:9}.ant-col-md-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-md-push-8{left:33.33333333%}.ant-col-md-pull-8{right:33.33333333%}.ant-col-md-offset-8{margin-left:33.33333333%}.ant-col-md-order-8{-ms-flex-order:8;order:8}.ant-col-md-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-md-push-7{left:29.16666667%}.ant-col-md-pull-7{right:29.16666667%}.ant-col-md-offset-7{margin-left:29.16666667%}.ant-col-md-order-7{-ms-flex-order:7;order:7}.ant-col-md-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-md-push-6{left:25%}.ant-col-md-pull-6{right:25%}.ant-col-md-offset-6{margin-left:25%}.ant-col-md-order-6{-ms-flex-order:6;order:6}.ant-col-md-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-md-push-5{left:20.83333333%}.ant-col-md-pull-5{right:20.83333333%}.ant-col-md-offset-5{margin-left:20.83333333%}.ant-col-md-order-5{-ms-flex-order:5;order:5}.ant-col-md-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-md-push-4{left:16.66666667%}.ant-col-md-pull-4{right:16.66666667%}.ant-col-md-offset-4{margin-left:16.66666667%}.ant-col-md-order-4{-ms-flex-order:4;order:4}.ant-col-md-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-md-push-3{left:12.5%}.ant-col-md-pull-3{right:12.5%}.ant-col-md-offset-3{margin-left:12.5%}.ant-col-md-order-3{-ms-flex-order:3;order:3}.ant-col-md-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-md-push-2{left:8.33333333%}.ant-col-md-pull-2{right:8.33333333%}.ant-col-md-offset-2{margin-left:8.33333333%}.ant-col-md-order-2{-ms-flex-order:2;order:2}.ant-col-md-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-md-push-1{left:4.16666667%}.ant-col-md-pull-1{right:4.16666667%}.ant-col-md-offset-1{margin-left:4.16666667%}.ant-col-md-order-1{-ms-flex-order:1;order:1}.ant-col-md-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-md-push-0{left:auto}.ant-col-md-pull-0{right:auto}.ant-col-md-offset-0{margin-left:0}.ant-col-md-order-0{-ms-flex-order:0;order:0}}@media (min-width:992px){.ant-col-lg-1,.ant-col-lg-2,.ant-col-lg-3,.ant-col-lg-4,.ant-col-lg-5,.ant-col-lg-6,.ant-col-lg-7,.ant-col-lg-8,.ant-col-lg-9,.ant-col-lg-10,.ant-col-lg-11,.ant-col-lg-12,.ant-col-lg-13,.ant-col-lg-14,.ant-col-lg-15,.ant-col-lg-16,.ant-col-lg-17,.ant-col-lg-18,.ant-col-lg-19,.ant-col-lg-20,.ant-col-lg-21,.ant-col-lg-22,.ant-col-lg-23,.ant-col-lg-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-lg-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-lg-push-24{left:100%}.ant-col-lg-pull-24{right:100%}.ant-col-lg-offset-24{margin-left:100%}.ant-col-lg-order-24{-ms-flex-order:24;order:24}.ant-col-lg-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-lg-push-23{left:95.83333333%}.ant-col-lg-pull-23{right:95.83333333%}.ant-col-lg-offset-23{margin-left:95.83333333%}.ant-col-lg-order-23{-ms-flex-order:23;order:23}.ant-col-lg-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-lg-push-22{left:91.66666667%}.ant-col-lg-pull-22{right:91.66666667%}.ant-col-lg-offset-22{margin-left:91.66666667%}.ant-col-lg-order-22{-ms-flex-order:22;order:22}.ant-col-lg-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-lg-push-21{left:87.5%}.ant-col-lg-pull-21{right:87.5%}.ant-col-lg-offset-21{margin-left:87.5%}.ant-col-lg-order-21{-ms-flex-order:21;order:21}.ant-col-lg-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-lg-push-20{left:83.33333333%}.ant-col-lg-pull-20{right:83.33333333%}.ant-col-lg-offset-20{margin-left:83.33333333%}.ant-col-lg-order-20{-ms-flex-order:20;order:20}.ant-col-lg-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-lg-push-19{left:79.16666667%}.ant-col-lg-pull-19{right:79.16666667%}.ant-col-lg-offset-19{margin-left:79.16666667%}.ant-col-lg-order-19{-ms-flex-order:19;order:19}.ant-col-lg-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-lg-push-18{left:75%}.ant-col-lg-pull-18{right:75%}.ant-col-lg-offset-18{margin-left:75%}.ant-col-lg-order-18{-ms-flex-order:18;order:18}.ant-col-lg-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-lg-push-17{left:70.83333333%}.ant-col-lg-pull-17{right:70.83333333%}.ant-col-lg-offset-17{margin-left:70.83333333%}.ant-col-lg-order-17{-ms-flex-order:17;order:17}.ant-col-lg-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-lg-push-16{left:66.66666667%}.ant-col-lg-pull-16{right:66.66666667%}.ant-col-lg-offset-16{margin-left:66.66666667%}.ant-col-lg-order-16{-ms-flex-order:16;order:16}.ant-col-lg-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-lg-push-15{left:62.5%}.ant-col-lg-pull-15{right:62.5%}.ant-col-lg-offset-15{margin-left:62.5%}.ant-col-lg-order-15{-ms-flex-order:15;order:15}.ant-col-lg-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-lg-push-14{left:58.33333333%}.ant-col-lg-pull-14{right:58.33333333%}.ant-col-lg-offset-14{margin-left:58.33333333%}.ant-col-lg-order-14{-ms-flex-order:14;order:14}.ant-col-lg-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-lg-push-13{left:54.16666667%}.ant-col-lg-pull-13{right:54.16666667%}.ant-col-lg-offset-13{margin-left:54.16666667%}.ant-col-lg-order-13{-ms-flex-order:13;order:13}.ant-col-lg-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-lg-push-12{left:50%}.ant-col-lg-pull-12{right:50%}.ant-col-lg-offset-12{margin-left:50%}.ant-col-lg-order-12{-ms-flex-order:12;order:12}.ant-col-lg-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-lg-push-11{left:45.83333333%}.ant-col-lg-pull-11{right:45.83333333%}.ant-col-lg-offset-11{margin-left:45.83333333%}.ant-col-lg-order-11{-ms-flex-order:11;order:11}.ant-col-lg-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-lg-push-10{left:41.66666667%}.ant-col-lg-pull-10{right:41.66666667%}.ant-col-lg-offset-10{margin-left:41.66666667%}.ant-col-lg-order-10{-ms-flex-order:10;order:10}.ant-col-lg-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-lg-push-9{left:37.5%}.ant-col-lg-pull-9{right:37.5%}.ant-col-lg-offset-9{margin-left:37.5%}.ant-col-lg-order-9{-ms-flex-order:9;order:9}.ant-col-lg-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-lg-push-8{left:33.33333333%}.ant-col-lg-pull-8{right:33.33333333%}.ant-col-lg-offset-8{margin-left:33.33333333%}.ant-col-lg-order-8{-ms-flex-order:8;order:8}.ant-col-lg-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-lg-push-7{left:29.16666667%}.ant-col-lg-pull-7{right:29.16666667%}.ant-col-lg-offset-7{margin-left:29.16666667%}.ant-col-lg-order-7{-ms-flex-order:7;order:7}.ant-col-lg-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-lg-push-6{left:25%}.ant-col-lg-pull-6{right:25%}.ant-col-lg-offset-6{margin-left:25%}.ant-col-lg-order-6{-ms-flex-order:6;order:6}.ant-col-lg-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-lg-push-5{left:20.83333333%}.ant-col-lg-pull-5{right:20.83333333%}.ant-col-lg-offset-5{margin-left:20.83333333%}.ant-col-lg-order-5{-ms-flex-order:5;order:5}.ant-col-lg-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-lg-push-4{left:16.66666667%}.ant-col-lg-pull-4{right:16.66666667%}.ant-col-lg-offset-4{margin-left:16.66666667%}.ant-col-lg-order-4{-ms-flex-order:4;order:4}.ant-col-lg-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-lg-push-3{left:12.5%}.ant-col-lg-pull-3{right:12.5%}.ant-col-lg-offset-3{margin-left:12.5%}.ant-col-lg-order-3{-ms-flex-order:3;order:3}.ant-col-lg-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-lg-push-2{left:8.33333333%}.ant-col-lg-pull-2{right:8.33333333%}.ant-col-lg-offset-2{margin-left:8.33333333%}.ant-col-lg-order-2{-ms-flex-order:2;order:2}.ant-col-lg-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-lg-push-1{left:4.16666667%}.ant-col-lg-pull-1{right:4.16666667%}.ant-col-lg-offset-1{margin-left:4.16666667%}.ant-col-lg-order-1{-ms-flex-order:1;order:1}.ant-col-lg-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-lg-push-0{left:auto}.ant-col-lg-pull-0{right:auto}.ant-col-lg-offset-0{margin-left:0}.ant-col-lg-order-0{-ms-flex-order:0;order:0}}@media (min-width:1200px){.ant-col-xl-1,.ant-col-xl-2,.ant-col-xl-3,.ant-col-xl-4,.ant-col-xl-5,.ant-col-xl-6,.ant-col-xl-7,.ant-col-xl-8,.ant-col-xl-9,.ant-col-xl-10,.ant-col-xl-11,.ant-col-xl-12,.ant-col-xl-13,.ant-col-xl-14,.ant-col-xl-15,.ant-col-xl-16,.ant-col-xl-17,.ant-col-xl-18,.ant-col-xl-19,.ant-col-xl-20,.ant-col-xl-21,.ant-col-xl-22,.ant-col-xl-23,.ant-col-xl-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-xl-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-xl-push-24{left:100%}.ant-col-xl-pull-24{right:100%}.ant-col-xl-offset-24{margin-left:100%}.ant-col-xl-order-24{-ms-flex-order:24;order:24}.ant-col-xl-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-xl-push-23{left:95.83333333%}.ant-col-xl-pull-23{right:95.83333333%}.ant-col-xl-offset-23{margin-left:95.83333333%}.ant-col-xl-order-23{-ms-flex-order:23;order:23}.ant-col-xl-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-xl-push-22{left:91.66666667%}.ant-col-xl-pull-22{right:91.66666667%}.ant-col-xl-offset-22{margin-left:91.66666667%}.ant-col-xl-order-22{-ms-flex-order:22;order:22}.ant-col-xl-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-xl-push-21{left:87.5%}.ant-col-xl-pull-21{right:87.5%}.ant-col-xl-offset-21{margin-left:87.5%}.ant-col-xl-order-21{-ms-flex-order:21;order:21}.ant-col-xl-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-xl-push-20{left:83.33333333%}.ant-col-xl-pull-20{right:83.33333333%}.ant-col-xl-offset-20{margin-left:83.33333333%}.ant-col-xl-order-20{-ms-flex-order:20;order:20}.ant-col-xl-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-xl-push-19{left:79.16666667%}.ant-col-xl-pull-19{right:79.16666667%}.ant-col-xl-offset-19{margin-left:79.16666667%}.ant-col-xl-order-19{-ms-flex-order:19;order:19}.ant-col-xl-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-xl-push-18{left:75%}.ant-col-xl-pull-18{right:75%}.ant-col-xl-offset-18{margin-left:75%}.ant-col-xl-order-18{-ms-flex-order:18;order:18}.ant-col-xl-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-xl-push-17{left:70.83333333%}.ant-col-xl-pull-17{right:70.83333333%}.ant-col-xl-offset-17{margin-left:70.83333333%}.ant-col-xl-order-17{-ms-flex-order:17;order:17}.ant-col-xl-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-xl-push-16{left:66.66666667%}.ant-col-xl-pull-16{right:66.66666667%}.ant-col-xl-offset-16{margin-left:66.66666667%}.ant-col-xl-order-16{-ms-flex-order:16;order:16}.ant-col-xl-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-xl-push-15{left:62.5%}.ant-col-xl-pull-15{right:62.5%}.ant-col-xl-offset-15{margin-left:62.5%}.ant-col-xl-order-15{-ms-flex-order:15;order:15}.ant-col-xl-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-xl-push-14{left:58.33333333%}.ant-col-xl-pull-14{right:58.33333333%}.ant-col-xl-offset-14{margin-left:58.33333333%}.ant-col-xl-order-14{-ms-flex-order:14;order:14}.ant-col-xl-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-xl-push-13{left:54.16666667%}.ant-col-xl-pull-13{right:54.16666667%}.ant-col-xl-offset-13{margin-left:54.16666667%}.ant-col-xl-order-13{-ms-flex-order:13;order:13}.ant-col-xl-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-xl-push-12{left:50%}.ant-col-xl-pull-12{right:50%}.ant-col-xl-offset-12{margin-left:50%}.ant-col-xl-order-12{-ms-flex-order:12;order:12}.ant-col-xl-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-xl-push-11{left:45.83333333%}.ant-col-xl-pull-11{right:45.83333333%}.ant-col-xl-offset-11{margin-left:45.83333333%}.ant-col-xl-order-11{-ms-flex-order:11;order:11}.ant-col-xl-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-xl-push-10{left:41.66666667%}.ant-col-xl-pull-10{right:41.66666667%}.ant-col-xl-offset-10{margin-left:41.66666667%}.ant-col-xl-order-10{-ms-flex-order:10;order:10}.ant-col-xl-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-xl-push-9{left:37.5%}.ant-col-xl-pull-9{right:37.5%}.ant-col-xl-offset-9{margin-left:37.5%}.ant-col-xl-order-9{-ms-flex-order:9;order:9}.ant-col-xl-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-xl-push-8{left:33.33333333%}.ant-col-xl-pull-8{right:33.33333333%}.ant-col-xl-offset-8{margin-left:33.33333333%}.ant-col-xl-order-8{-ms-flex-order:8;order:8}.ant-col-xl-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-xl-push-7{left:29.16666667%}.ant-col-xl-pull-7{right:29.16666667%}.ant-col-xl-offset-7{margin-left:29.16666667%}.ant-col-xl-order-7{-ms-flex-order:7;order:7}.ant-col-xl-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-xl-push-6{left:25%}.ant-col-xl-pull-6{right:25%}.ant-col-xl-offset-6{margin-left:25%}.ant-col-xl-order-6{-ms-flex-order:6;order:6}.ant-col-xl-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-xl-push-5{left:20.83333333%}.ant-col-xl-pull-5{right:20.83333333%}.ant-col-xl-offset-5{margin-left:20.83333333%}.ant-col-xl-order-5{-ms-flex-order:5;order:5}.ant-col-xl-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-xl-push-4{left:16.66666667%}.ant-col-xl-pull-4{right:16.66666667%}.ant-col-xl-offset-4{margin-left:16.66666667%}.ant-col-xl-order-4{-ms-flex-order:4;order:4}.ant-col-xl-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-xl-push-3{left:12.5%}.ant-col-xl-pull-3{right:12.5%}.ant-col-xl-offset-3{margin-left:12.5%}.ant-col-xl-order-3{-ms-flex-order:3;order:3}.ant-col-xl-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-xl-push-2{left:8.33333333%}.ant-col-xl-pull-2{right:8.33333333%}.ant-col-xl-offset-2{margin-left:8.33333333%}.ant-col-xl-order-2{-ms-flex-order:2;order:2}.ant-col-xl-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-xl-push-1{left:4.16666667%}.ant-col-xl-pull-1{right:4.16666667%}.ant-col-xl-offset-1{margin-left:4.16666667%}.ant-col-xl-order-1{-ms-flex-order:1;order:1}.ant-col-xl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xl-push-0{left:auto}.ant-col-xl-pull-0{right:auto}.ant-col-xl-offset-0{margin-left:0}.ant-col-xl-order-0{-ms-flex-order:0;order:0}}@media (min-width:1600px){.ant-col-xxl-1,.ant-col-xxl-2,.ant-col-xxl-3,.ant-col-xxl-4,.ant-col-xxl-5,.ant-col-xxl-6,.ant-col-xxl-7,.ant-col-xxl-8,.ant-col-xxl-9,.ant-col-xxl-10,.ant-col-xxl-11,.ant-col-xxl-12,.ant-col-xxl-13,.ant-col-xxl-14,.ant-col-xxl-15,.ant-col-xxl-16,.ant-col-xxl-17,.ant-col-xxl-18,.ant-col-xxl-19,.ant-col-xxl-20,.ant-col-xxl-21,.ant-col-xxl-22,.ant-col-xxl-23,.ant-col-xxl-24{-ms-flex:0 0 auto;flex:0 0 auto;float:left}.ant-col-xxl-24{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.ant-col-xxl-push-24{left:100%}.ant-col-xxl-pull-24{right:100%}.ant-col-xxl-offset-24{margin-left:100%}.ant-col-xxl-order-24{-ms-flex-order:24;order:24}.ant-col-xxl-23{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:95.83333333%}.ant-col-xxl-push-23{left:95.83333333%}.ant-col-xxl-pull-23{right:95.83333333%}.ant-col-xxl-offset-23{margin-left:95.83333333%}.ant-col-xxl-order-23{-ms-flex-order:23;order:23}.ant-col-xxl-22{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:91.66666667%}.ant-col-xxl-push-22{left:91.66666667%}.ant-col-xxl-pull-22{right:91.66666667%}.ant-col-xxl-offset-22{margin-left:91.66666667%}.ant-col-xxl-order-22{-ms-flex-order:22;order:22}.ant-col-xxl-21{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:87.5%}.ant-col-xxl-push-21{left:87.5%}.ant-col-xxl-pull-21{right:87.5%}.ant-col-xxl-offset-21{margin-left:87.5%}.ant-col-xxl-order-21{-ms-flex-order:21;order:21}.ant-col-xxl-20{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:83.33333333%}.ant-col-xxl-push-20{left:83.33333333%}.ant-col-xxl-pull-20{right:83.33333333%}.ant-col-xxl-offset-20{margin-left:83.33333333%}.ant-col-xxl-order-20{-ms-flex-order:20;order:20}.ant-col-xxl-19{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:79.16666667%}.ant-col-xxl-push-19{left:79.16666667%}.ant-col-xxl-pull-19{right:79.16666667%}.ant-col-xxl-offset-19{margin-left:79.16666667%}.ant-col-xxl-order-19{-ms-flex-order:19;order:19}.ant-col-xxl-18{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:75%}.ant-col-xxl-push-18{left:75%}.ant-col-xxl-pull-18{right:75%}.ant-col-xxl-offset-18{margin-left:75%}.ant-col-xxl-order-18{-ms-flex-order:18;order:18}.ant-col-xxl-17{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:70.83333333%}.ant-col-xxl-push-17{left:70.83333333%}.ant-col-xxl-pull-17{right:70.83333333%}.ant-col-xxl-offset-17{margin-left:70.83333333%}.ant-col-xxl-order-17{-ms-flex-order:17;order:17}.ant-col-xxl-16{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66666667%}.ant-col-xxl-push-16{left:66.66666667%}.ant-col-xxl-pull-16{right:66.66666667%}.ant-col-xxl-offset-16{margin-left:66.66666667%}.ant-col-xxl-order-16{-ms-flex-order:16;order:16}.ant-col-xxl-15{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:62.5%}.ant-col-xxl-push-15{left:62.5%}.ant-col-xxl-pull-15{right:62.5%}.ant-col-xxl-offset-15{margin-left:62.5%}.ant-col-xxl-order-15{-ms-flex-order:15;order:15}.ant-col-xxl-14{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:58.33333333%}.ant-col-xxl-push-14{left:58.33333333%}.ant-col-xxl-pull-14{right:58.33333333%}.ant-col-xxl-offset-14{margin-left:58.33333333%}.ant-col-xxl-order-14{-ms-flex-order:14;order:14}.ant-col-xxl-13{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:54.16666667%}.ant-col-xxl-push-13{left:54.16666667%}.ant-col-xxl-pull-13{right:54.16666667%}.ant-col-xxl-offset-13{margin-left:54.16666667%}.ant-col-xxl-order-13{-ms-flex-order:13;order:13}.ant-col-xxl-12{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%}.ant-col-xxl-push-12{left:50%}.ant-col-xxl-pull-12{right:50%}.ant-col-xxl-offset-12{margin-left:50%}.ant-col-xxl-order-12{-ms-flex-order:12;order:12}.ant-col-xxl-11{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:45.83333333%}.ant-col-xxl-push-11{left:45.83333333%}.ant-col-xxl-pull-11{right:45.83333333%}.ant-col-xxl-offset-11{margin-left:45.83333333%}.ant-col-xxl-order-11{-ms-flex-order:11;order:11}.ant-col-xxl-10{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:41.66666667%}.ant-col-xxl-push-10{left:41.66666667%}.ant-col-xxl-pull-10{right:41.66666667%}.ant-col-xxl-offset-10{margin-left:41.66666667%}.ant-col-xxl-order-10{-ms-flex-order:10;order:10}.ant-col-xxl-9{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:37.5%}.ant-col-xxl-push-9{left:37.5%}.ant-col-xxl-pull-9{right:37.5%}.ant-col-xxl-offset-9{margin-left:37.5%}.ant-col-xxl-order-9{-ms-flex-order:9;order:9}.ant-col-xxl-8{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333333%}.ant-col-xxl-push-8{left:33.33333333%}.ant-col-xxl-pull-8{right:33.33333333%}.ant-col-xxl-offset-8{margin-left:33.33333333%}.ant-col-xxl-order-8{-ms-flex-order:8;order:8}.ant-col-xxl-7{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:29.16666667%}.ant-col-xxl-push-7{left:29.16666667%}.ant-col-xxl-pull-7{right:29.16666667%}.ant-col-xxl-offset-7{margin-left:29.16666667%}.ant-col-xxl-order-7{-ms-flex-order:7;order:7}.ant-col-xxl-6{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%}.ant-col-xxl-push-6{left:25%}.ant-col-xxl-pull-6{right:25%}.ant-col-xxl-offset-6{margin-left:25%}.ant-col-xxl-order-6{-ms-flex-order:6;order:6}.ant-col-xxl-5{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:20.83333333%}.ant-col-xxl-push-5{left:20.83333333%}.ant-col-xxl-pull-5{right:20.83333333%}.ant-col-xxl-offset-5{margin-left:20.83333333%}.ant-col-xxl-order-5{-ms-flex-order:5;order:5}.ant-col-xxl-4{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:16.66666667%}.ant-col-xxl-push-4{left:16.66666667%}.ant-col-xxl-pull-4{right:16.66666667%}.ant-col-xxl-offset-4{margin-left:16.66666667%}.ant-col-xxl-order-4{-ms-flex-order:4;order:4}.ant-col-xxl-3{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:12.5%}.ant-col-xxl-push-3{left:12.5%}.ant-col-xxl-pull-3{right:12.5%}.ant-col-xxl-offset-3{margin-left:12.5%}.ant-col-xxl-order-3{-ms-flex-order:3;order:3}.ant-col-xxl-2{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:8.33333333%}.ant-col-xxl-push-2{left:8.33333333%}.ant-col-xxl-pull-2{right:8.33333333%}.ant-col-xxl-offset-2{margin-left:8.33333333%}.ant-col-xxl-order-2{-ms-flex-order:2;order:2}.ant-col-xxl-1{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:4.16666667%}.ant-col-xxl-push-1{left:4.16666667%}.ant-col-xxl-pull-1{right:4.16666667%}.ant-col-xxl-offset-1{margin-left:4.16666667%}.ant-col-xxl-order-1{-ms-flex-order:1;order:1}.ant-col-xxl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xxl-push-0{left:auto}.ant-col-xxl-pull-0{right:auto}.ant-col-xxl-offset-0{margin-left:0}.ant-col-xxl-order-0{-ms-flex-order:0;order:0}}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-container{height:40px}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-ink-bar{visibility:hidden}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab{height:40px;margin:0 2px 0 0;padding:0 16px;line-height:38px;background:#fafafa;border:1px solid #e8e8e8;border-radius:4px 4px 0 0;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);-o-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{height:40px;color:#1890ff;background:#fff;border-color:#e8e8e8;border-bottom:1px solid #fff}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active:before{border-top:2px solid transparent}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-disabled{color:#1890ff;color:rgba(0,0,0,.25)}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-inactive{padding:0}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-wrap{margin-bottom:0}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab .ant-tabs-close-x{width:16px;height:16px;height:14px;margin-right:-5px;margin-left:3px;overflow:hidden;color:rgba(0,0,0,.45);font-size:12px;vertical-align:middle;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab .ant-tabs-close-x:hover{color:rgba(0,0,0,.85)}.ant-tabs.ant-tabs-card .ant-tabs-card-content>.ant-tabs-tabpane,.ant-tabs.ant-tabs-editable-card .ant-tabs-card-content>.ant-tabs-tabpane{-webkit-transition:none!important;-o-transition:none!important;transition:none!important}.ant-tabs.ant-tabs-card .ant-tabs-card-content>.ant-tabs-tabpane-inactive,.ant-tabs.ant-tabs-editable-card .ant-tabs-card-content>.ant-tabs-tabpane-inactive{overflow:hidden}.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab:hover .anticon-close{opacity:1}.ant-tabs-extra-content{line-height:45px}.ant-tabs-extra-content .ant-tabs-new-tab{position:relative;width:20px;height:20px;color:rgba(0,0,0,.65);font-size:12px;line-height:20px;text-align:center;border:1px solid #e8e8e8;border-radius:2px;cursor:pointer;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-tabs-extra-content .ant-tabs-new-tab:hover{color:#1890ff;border-color:#1890ff}.ant-tabs-extra-content .ant-tabs-new-tab svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}.ant-tabs.ant-tabs-large .ant-tabs-extra-content{line-height:56px}.ant-tabs.ant-tabs-small .ant-tabs-extra-content{line-height:37px}.ant-tabs.ant-tabs-card .ant-tabs-extra-content{line-height:40px}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-nav-container{height:100%}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab{margin-bottom:8px;border-bottom:1px solid #e8e8e8}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab-active,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab-active{padding-bottom:4px}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab:last-child,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab:last-child{margin-bottom:8px}.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-new-tab,.ant-tabs-vertical.ant-tabs-card .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-new-tab{width:90%}.ant-tabs-vertical.ant-tabs-card.ant-tabs-left .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-nav-wrap{margin-right:0}.ant-tabs-vertical.ant-tabs-card.ant-tabs-left .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab{margin-right:1px;border-right:0;border-radius:4px 0 0 4px}.ant-tabs-vertical.ant-tabs-card.ant-tabs-left .ant-tabs-card-bar.ant-tabs-left-bar .ant-tabs-tab-active{margin-right:-1px;padding-right:18px}.ant-tabs-vertical.ant-tabs-card.ant-tabs-right .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-nav-wrap{margin-left:0}.ant-tabs-vertical.ant-tabs-card.ant-tabs-right .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab{margin-left:1px;border-left:0;border-radius:0 4px 4px 0}.ant-tabs-vertical.ant-tabs-card.ant-tabs-right .ant-tabs-card-bar.ant-tabs-right-bar .ant-tabs-tab-active{margin-left:-1px;padding-left:18px}.ant-tabs .ant-tabs-card-bar.ant-tabs-bottom-bar .ant-tabs-tab{height:auto;border-top:0;border-bottom:1px solid #e8e8e8;border-radius:0 0 4px 4px}.ant-tabs .ant-tabs-card-bar.ant-tabs-bottom-bar .ant-tabs-tab-active{padding-top:1px;padding-bottom:0;color:#1890ff}.ant-tabs{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;overflow:hidden;zoom:1}.ant-tabs:after,.ant-tabs:before{display:table;content:""}.ant-tabs:after{clear:both}.ant-tabs-ink-bar{position:absolute;bottom:1px;left:0;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;width:0;height:2px;background-color:#1890ff;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.ant-tabs-bar{margin:0 0 16px;border-bottom:1px solid #e8e8e8;outline:none}.ant-tabs-bar,.ant-tabs-nav-container{-webkit-transition:padding .3s cubic-bezier(.645,.045,.355,1);-o-transition:padding .3s cubic-bezier(.645,.045,.355,1);transition:padding .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-nav-container{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:-1px;overflow:hidden;font-size:14px;line-height:1.5;white-space:nowrap;zoom:1}.ant-tabs-nav-container:after,.ant-tabs-nav-container:before{display:table;content:""}.ant-tabs-nav-container:after{clear:both}.ant-tabs-nav-container-scrolling{padding-right:32px;padding-left:32px}.ant-tabs-bottom .ant-tabs-bottom-bar{margin-top:16px;margin-bottom:0;border-top:1px solid #e8e8e8;border-bottom:none}.ant-tabs-bottom .ant-tabs-bottom-bar .ant-tabs-ink-bar{top:1px;bottom:auto}.ant-tabs-bottom .ant-tabs-bottom-bar .ant-tabs-nav-container{margin-top:-1px;margin-bottom:0}.ant-tabs-tab-next,.ant-tabs-tab-prev{position:absolute;z-index:2;width:0;height:100%;color:rgba(0,0,0,.45);text-align:center;background-color:transparent;border:0;cursor:pointer;opacity:0;-webkit-transition:width .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);-o-transition:width .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);transition:width .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ant-tabs-tab-next.ant-tabs-tab-arrow-show,.ant-tabs-tab-prev.ant-tabs-tab-arrow-show{width:32px;height:100%;opacity:1;pointer-events:auto}.ant-tabs-tab-next:hover,.ant-tabs-tab-prev:hover{color:rgba(0,0,0,.65)}.ant-tabs-tab-next-icon,.ant-tabs-tab-prev-icon{position:absolute;top:50%;left:50%;font-weight:700;font-style:normal;font-variant:normal;line-height:inherit;text-align:center;text-transform:none;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ant-tabs-tab-next-icon-target,.ant-tabs-tab-prev-icon-target{display:block;display:inline-block;font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);-ms-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}:root .ant-tabs-tab-next-icon-target,:root .ant-tabs-tab-prev-icon-target{font-size:12px}.ant-tabs-tab-btn-disabled{cursor:not-allowed}.ant-tabs-tab-btn-disabled,.ant-tabs-tab-btn-disabled:hover{color:rgba(0,0,0,.25)}.ant-tabs-tab-next{right:2px}.ant-tabs-tab-prev{left:0}:root .ant-tabs-tab-prev{-webkit-filter:none;filter:none}.ant-tabs-nav-wrap{margin-bottom:-1px;overflow:hidden}.ant-tabs-nav-scroll{overflow:hidden;white-space:nowrap}.ant-tabs-nav{position:relative;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding-left:0;list-style:none;-webkit-transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);-o-transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-nav:after,.ant-tabs-nav:before{display:table;content:" "}.ant-tabs-nav:after{clear:both}.ant-tabs-nav .ant-tabs-tab{position:relative;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;margin:0 32px 0 0;padding:12px 16px;text-decoration:none;cursor:pointer;-webkit-transition:color .3s cubic-bezier(.645,.045,.355,1);-o-transition:color .3s cubic-bezier(.645,.045,.355,1);transition:color .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-nav .ant-tabs-tab:before{position:absolute;top:-1px;left:0;width:100%;border-top:2px solid transparent;border-radius:4px 4px 0 0;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;content:"";pointer-events:none}.ant-tabs-nav .ant-tabs-tab:last-child{margin-right:0}.ant-tabs-nav .ant-tabs-tab:hover{color:#40a9ff}.ant-tabs-nav .ant-tabs-tab:active{color:#096dd9}.ant-tabs-nav .ant-tabs-tab .anticon{margin-right:8px}.ant-tabs-nav .ant-tabs-tab-active{color:#1890ff;font-weight:500}.ant-tabs-nav .ant-tabs-tab-disabled,.ant-tabs-nav .ant-tabs-tab-disabled:hover{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tabs .ant-tabs-large-bar .ant-tabs-nav-container{font-size:16px}.ant-tabs .ant-tabs-large-bar .ant-tabs-tab{padding:16px}.ant-tabs .ant-tabs-small-bar .ant-tabs-nav-container{font-size:14px}.ant-tabs .ant-tabs-small-bar .ant-tabs-tab{padding:8px 16px}.ant-tabs-content:before{display:block;overflow:hidden;content:""}.ant-tabs .ant-tabs-bottom-content,.ant-tabs .ant-tabs-top-content{width:100%}.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane,.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane{-ms-flex-negative:0;flex-shrink:0;width:100%;-webkit-backface-visibility:hidden;opacity:1;-webkit-transition:opacity .45s;-o-transition:opacity .45s;transition:opacity .45s}.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane-inactive,.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane-inactive{height:0;padding:0!important;overflow:hidden;opacity:0;pointer-events:none}.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane-inactive input,.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane-inactive input{visibility:hidden}.ant-tabs .ant-tabs-bottom-content.ant-tabs-content-animated,.ant-tabs .ant-tabs-top-content.ant-tabs-content-animated{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-webkit-transition:margin-left .3s cubic-bezier(.645,.045,.355,1);-o-transition:margin-left .3s cubic-bezier(.645,.045,.355,1);transition:margin-left .3s cubic-bezier(.645,.045,.355,1);will-change:margin-left}.ant-tabs .ant-tabs-left-bar,.ant-tabs .ant-tabs-right-bar{height:100%;border-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab-arrow-show,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab-arrow-show{width:100%;height:32px}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab{display:block;float:none;margin:0 0 16px;padding:8px 24px}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab:last-child,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab:last-child{margin-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-extra-content,.ant-tabs .ant-tabs-right-bar .ant-tabs-extra-content{text-align:center}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-scroll,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-scroll{width:auto}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-wrap,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-wrap{height:100%}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container{margin-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container.ant-tabs-nav-container-scrolling,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container.ant-tabs-nav-container-scrolling{padding:32px 0}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-wrap,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-wrap{margin-bottom:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav{width:100%}.ant-tabs .ant-tabs-left-bar .ant-tabs-ink-bar,.ant-tabs .ant-tabs-right-bar .ant-tabs-ink-bar{top:0;bottom:auto;left:auto;width:2px;height:0}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab-next,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab-next{right:0;bottom:0;width:100%;height:32px}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab-prev,.ant-tabs .ant-tabs-right-bar .ant-tabs-tab-prev{top:0;width:100%;height:32px}.ant-tabs .ant-tabs-left-content,.ant-tabs .ant-tabs-right-content{width:auto;margin-top:0!important;overflow:hidden}.ant-tabs .ant-tabs-left-bar{float:left;margin-right:-1px;margin-bottom:0;border-right:1px solid #e8e8e8}.ant-tabs .ant-tabs-left-bar .ant-tabs-tab{text-align:right}.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-left-bar .ant-tabs-nav-wrap{margin-right:-1px}.ant-tabs .ant-tabs-left-bar .ant-tabs-ink-bar{right:1px}.ant-tabs .ant-tabs-left-content{padding-left:24px;border-left:1px solid #e8e8e8}.ant-tabs .ant-tabs-right-bar{float:right;margin-bottom:0;margin-left:-1px;border-left:1px solid #e8e8e8}.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-container,.ant-tabs .ant-tabs-right-bar .ant-tabs-nav-wrap{margin-left:-1px}.ant-tabs .ant-tabs-right-bar .ant-tabs-ink-bar{left:1px}.ant-tabs .ant-tabs-right-content{padding-right:24px;border-right:1px solid #e8e8e8}.ant-tabs-bottom .ant-tabs-ink-bar-animated,.ant-tabs-top .ant-tabs-ink-bar-animated{-webkit-transition:width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);-o-transition:transform .3s cubic-bezier(.645,.045,.355,1),width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),width .2s cubic-bezier(.645,.045,.355,1),left .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-left .ant-tabs-ink-bar-animated,.ant-tabs-right .ant-tabs-ink-bar-animated{-webkit-transition:height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);-o-transition:transform .3s cubic-bezier(.645,.045,.355,1),height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),height .2s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-no-animation>.ant-tabs-content>.ant-tabs-content-animated,.no-flex>.ant-tabs-content>.ant-tabs-content-animated{margin-left:0!important;-webkit-transform:none!important;-ms-transform:none!important;transform:none!important}.ant-tabs-no-animation>.ant-tabs-content>.ant-tabs-tabpane-inactive,.no-flex>.ant-tabs-content>.ant-tabs-tabpane-inactive{height:0;padding:0!important;overflow:hidden;opacity:0;pointer-events:none}.ant-tabs-no-animation>.ant-tabs-content>.ant-tabs-tabpane-inactive input,.no-flex>.ant-tabs-content>.ant-tabs-tabpane-inactive input{visibility:hidden}.ant-tabs-left-content>.ant-tabs-content-animated,.ant-tabs-right-content>.ant-tabs-content-animated{margin-left:0!important;-webkit-transform:none!important;-ms-transform:none!important;transform:none!important}.ant-tabs-left-content>.ant-tabs-tabpane-inactive,.ant-tabs-right-content>.ant-tabs-tabpane-inactive{height:0;padding:0!important;overflow:hidden;opacity:0;pointer-events:none}.ant-tabs-left-content>.ant-tabs-tabpane-inactive input,.ant-tabs-right-content>.ant-tabs-tabpane-inactive input{visibility:hidden}.ant-badge{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;color:unset;line-height:1}.ant-badge-count{min-width:20px;height:20px;padding:0 6px;color:#fff;font-weight:400;font-size:12px;line-height:20px;white-space:nowrap;text-align:center;background:#f5222d;border-radius:10px;-webkit-box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px #fff}.ant-badge-count a,.ant-badge-count a:hover{color:#fff}.ant-badge-multiple-words{padding:0 8px}.ant-badge-dot{width:6px;height:6px;background:#f5222d;border-radius:100%;-webkit-box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px #fff}.ant-badge-count,.ant-badge-dot,.ant-badge .ant-scroll-number-custom-component{position:absolute;top:0;right:0;z-index:1;-webkit-transform:translate(50%,-50%);-ms-transform:translate(50%,-50%);transform:translate(50%,-50%);-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.ant-badge-status{line-height:inherit;vertical-align:baseline}.ant-badge-status-dot{position:relative;top:-1px;display:inline-block;width:6px;height:6px;vertical-align:middle;border-radius:50%}.ant-badge-status-success{background-color:#52c41a}.ant-badge-status-processing{position:relative;background-color:#1890ff}.ant-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;-webkit-animation:antStatusProcessing 1.2s ease-in-out infinite;animation:antStatusProcessing 1.2s ease-in-out infinite;content:""}.ant-badge-status-default{background-color:#d9d9d9}.ant-badge-status-error{background-color:#f5222d}.ant-badge-status-warning{background-color:#faad14}.ant-badge-status-magenta,.ant-badge-status-pink{background:#eb2f96}.ant-badge-status-red{background:#f5222d}.ant-badge-status-volcano{background:#fa541c}.ant-badge-status-orange{background:#fa8c16}.ant-badge-status-yellow{background:#fadb14}.ant-badge-status-gold{background:#faad14}.ant-badge-status-cyan{background:#13c2c2}.ant-badge-status-lime{background:#a0d911}.ant-badge-status-green{background:#52c41a}.ant-badge-status-blue{background:#1890ff}.ant-badge-status-geekblue{background:#2f54eb}.ant-badge-status-purple{background:#722ed1}.ant-badge-status-text{margin-left:8px;color:rgba(0,0,0,.65);font-size:14px}.ant-badge-zoom-appear,.ant-badge-zoom-enter{-webkit-animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-badge-zoom-leave{-webkit-animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-badge-not-a-wrapper:not(.ant-badge-status){vertical-align:middle}.ant-badge-not-a-wrapper .ant-scroll-number{position:relative;top:auto;display:block}.ant-badge-not-a-wrapper .ant-badge-count{-webkit-transform:none;-ms-transform:none;transform:none}@-webkit-keyframes antStatusProcessing{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:.5}to{-webkit-transform:scale(2.4);transform:scale(2.4);opacity:0}}@keyframes antStatusProcessing{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:.5}to{-webkit-transform:scale(2.4);transform:scale(2.4);opacity:0}}.ant-scroll-number{overflow:hidden}.ant-scroll-number-only{display:inline-block;height:20px;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);-o-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-scroll-number-only>p.ant-scroll-number-only-unit{height:20px;margin:0}.ant-scroll-number-symbol{vertical-align:top}@-webkit-keyframes antZoomBadgeIn{0%{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}to{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}}@keyframes antZoomBadgeIn{0%{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}to{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}}@-webkit-keyframes antZoomBadgeOut{0%{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}to{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}}@keyframes antZoomBadgeOut{0%{-webkit-transform:scale(1) translate(50%,-50%);transform:scale(1) translate(50%,-50%)}to{-webkit-transform:scale(0) translate(50%,-50%);transform:scale(0) translate(50%,-50%);opacity:0}}.ant-radio-group{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block}.ant-radio-wrapper{margin:0 8px 0 0}.ant-radio,.ant-radio-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;display:inline-block;white-space:nowrap;cursor:pointer}.ant-radio{margin:0;line-height:1;vertical-align:sub;outline:none}.ant-radio-input:focus+.ant-radio-inner,.ant-radio-wrapper:hover .ant-radio,.ant-radio:hover .ant-radio-inner{border-color:#1890ff}.ant-radio-input:focus+.ant-radio-inner{-webkit-box-shadow:0 0 0 3px rgba(24,144,255,.08);box-shadow:0 0 0 3px rgba(24,144,255,.08)}.ant-radio-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;visibility:hidden;-webkit-animation:antRadioEffect .36s ease-in-out;animation:antRadioEffect .36s ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both;content:""}.ant-radio-wrapper:hover .ant-radio:after,.ant-radio:hover:after{visibility:visible}.ant-radio-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border:1px solid #d9d9d9;border-radius:100px;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-radio-inner:after{position:absolute;top:3px;left:3px;display:table;width:8px;height:8px;background-color:#1890ff;border-top:0;border-left:0;border-radius:8px;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);opacity:0;-webkit-transition:all .3s cubic-bezier(.78,.14,.15,.86);-o-transition:all .3s cubic-bezier(.78,.14,.15,.86);transition:all .3s cubic-bezier(.78,.14,.15,.86);content:" "}.ant-radio-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;cursor:pointer;opacity:0}.ant-radio-checked .ant-radio-inner{border-color:#1890ff}.ant-radio-checked .ant-radio-inner:after{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:1;-webkit-transition:all .3s cubic-bezier(.78,.14,.15,.86);-o-transition:all .3s cubic-bezier(.78,.14,.15,.86);transition:all .3s cubic-bezier(.78,.14,.15,.86)}.ant-radio-disabled .ant-radio-inner{background-color:#f5f5f5;border-color:#d9d9d9!important;cursor:not-allowed}.ant-radio-disabled .ant-radio-inner:after{background-color:rgba(0,0,0,.2)}.ant-radio-disabled .ant-radio-input{cursor:not-allowed}.ant-radio-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}span.ant-radio+*{padding-right:8px;padding-left:8px}.ant-radio-button-wrapper{position:relative;display:inline-block;height:32px;margin:0;padding:0 15px;color:rgba(0,0,0,.65);line-height:30px;background:#fff;border:1px solid #d9d9d9;border-top:1.02px solid #d9d9d9;border-left:0;cursor:pointer;-webkit-transition:color .3s,background .3s,border-color .3s;-o-transition:color .3s,background .3s,border-color .3s;transition:color .3s,background .3s,border-color .3s}.ant-radio-button-wrapper a{color:rgba(0,0,0,.65)}.ant-radio-button-wrapper>.ant-radio-button{display:block;width:0;height:0;margin-left:0}.ant-radio-group-large .ant-radio-button-wrapper{height:40px;font-size:16px;line-height:38px}.ant-radio-group-small .ant-radio-button-wrapper{height:24px;padding:0 7px;line-height:22px}.ant-radio-button-wrapper:not(:first-child):before{position:absolute;top:0;left:-1px;display:block;width:1px;height:100%;background-color:#d9d9d9;content:""}.ant-radio-button-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:4px 0 0 4px}.ant-radio-button-wrapper:last-child{border-radius:0 4px 4px 0}.ant-radio-button-wrapper:first-child:last-child{border-radius:4px}.ant-radio-button-wrapper:hover{position:relative;color:#1890ff}.ant-radio-button-wrapper:focus-within{outline:3px solid rgba(24,144,255,.06)}.ant-radio-button-wrapper .ant-radio-inner,.ant-radio-button-wrapper input[type=checkbox],.ant-radio-button-wrapper input[type=radio]{width:0;height:0;opacity:0;pointer-events:none}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){z-index:1;color:#1890ff;background:#fff;border-color:#1890ff;-webkit-box-shadow:-1px 0 0 0 #1890ff;box-shadow:-1px 0 0 0 #1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):before{background-color:#1890ff!important;opacity:.1}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child{border-color:#1890ff;-webkit-box-shadow:none!important;box-shadow:none!important}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#40a9ff;border-color:#40a9ff;-webkit-box-shadow:-1px 0 0 0 #40a9ff;box-shadow:-1px 0 0 0 #40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#096dd9;border-color:#096dd9;-webkit-box-shadow:-1px 0 0 0 #096dd9;box-shadow:-1px 0 0 0 #096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{outline:3px solid rgba(24,144,255,.06)}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){color:#fff;background:#1890ff;border-color:#1890ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#fff;background:#40a9ff;border-color:#40a9ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#fff;background:#096dd9;border-color:#096dd9}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{outline:3px solid rgba(24,144,255,.06)}.ant-radio-button-wrapper-disabled{cursor:not-allowed}.ant-radio-button-wrapper-disabled,.ant-radio-button-wrapper-disabled:first-child,.ant-radio-button-wrapper-disabled:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-radio-button-wrapper-disabled:first-child{border-left-color:#d9d9d9}.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked{color:#fff;background-color:#e6e6e6;border-color:#d9d9d9;-webkit-box-shadow:none;box-shadow:none}@-webkit-keyframes antRadioEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@keyframes antRadioEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@supports (-moz-appearance:meterbar) and (background-blend-mode:difference,normal){.ant-radio{vertical-align:text-bottom}}.ant-form{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.ant-form legend{display:block;width:100%;margin-bottom:20px;padding:0;color:rgba(0,0,0,.45);font-size:16px;line-height:inherit;border:0;border-bottom:1px solid #d9d9d9}.ant-form label{font-size:14px}.ant-form input[type=search]{-webkit-box-sizing:border-box;box-sizing:border-box}.ant-form input[type=checkbox],.ant-form input[type=radio]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=checkbox]:focus,.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{display:block;padding-top:15px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5}.ant-form-item-required:before{display:inline-block;margin-right:4px;color:#f5222d;font-size:14px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.ant-form-hide-required-mark .ant-form-item-required:before{display:none}.ant-form-item-label>label{color:rgba(0,0,0,.85)}.ant-form-item-label>label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin:0 0 24px;vertical-align:top}.ant-form-item label{position:relative}.ant-form-item label>.anticon{font-size:14px;vertical-align:top}.ant-form-item-control{position:relative;line-height:40px;zoom:1}.ant-form-item-control:after,.ant-form-item-control:before{display:table;content:""}.ant-form-item-control:after{clear:both}.ant-form-item-children{position:relative}.ant-form-item-with-help{margin-bottom:5px}.ant-form-item-label{display:inline-block;overflow:hidden;line-height:39.9999px;white-space:nowrap;text-align:right;vertical-align:middle}.ant-form-item-label-left{text-align:left}.ant-form-item .ant-switch{margin:2px 0 4px}.ant-form-explain,.ant-form-extra{clear:both;min-height:22px;margin-top:-2px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5;-webkit-transition:color .3s cubic-bezier(.215,.61,.355,1);-o-transition:color .3s cubic-bezier(.215,.61,.355,1);transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-explain{margin-bottom:-1px}.ant-form-extra{padding-top:4px}.ant-form-text{display:inline-block;padding-right:8px}.ant-form-split{display:block;text-align:center}form .has-feedback .ant-input{padding-right:30px}form .has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-right:18px}form .has-feedback .ant-input-affix-wrapper .ant-input{padding-right:49px}form .has-feedback .ant-input-affix-wrapper.ant-input-affix-wrapper-input-with-clear-btn .ant-input{padding-right:68px}form .has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,form .has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection__clear,form .has-feedback>.ant-select .ant-select-arrow,form .has-feedback>.ant-select .ant-select-selection__clear{right:28px}form .has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,form .has-feedback>.ant-select .ant-select-selection-selected-value{padding-right:42px}form .has-feedback .ant-cascader-picker-arrow{margin-right:17px}form .has-feedback .ant-calendar-picker-clear,form .has-feedback .ant-calendar-picker-icon,form .has-feedback .ant-cascader-picker-clear,form .has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix,form .has-feedback .ant-time-picker-clear,form .has-feedback .ant-time-picker-icon{right:28px}form .ant-mentions,form textarea.ant-input{height:auto;margin-bottom:4px}form .ant-upload{background:transparent}form input[type=checkbox],form input[type=radio]{width:14px;height:14px}form .ant-checkbox-inline,form .ant-radio-inline{display:inline-block;margin-left:8px;font-weight:400;vertical-align:middle;cursor:pointer}form .ant-checkbox-inline:first-child,form .ant-radio-inline:first-child{margin-left:0}form .ant-checkbox-vertical,form .ant-radio-vertical{display:block}form .ant-checkbox-vertical+.ant-checkbox-vertical,form .ant-radio-vertical+.ant-radio-vertical{margin-left:0}form .ant-input-number+.ant-form-text{margin-left:8px}form .ant-input-number-handler-wrap{z-index:2}form .ant-cascader-picker,form .ant-select{width:100%}form .ant-input-group .ant-cascader-picker,form .ant-input-group .ant-select{width:auto}form .ant-input-group-wrapper,form :not(.ant-input-group-wrapper)>.ant-input-group{display:inline-block;vertical-align:middle}form:not(.ant-form-vertical) .ant-input-group-wrapper,form:not(.ant-form-vertical) :not(.ant-input-group-wrapper)>.ant-input-group{position:relative;top:-1px}.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label,.ant-form-vertical .ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-24.ant-form-item-label label:after,.ant-col-xl-24.ant-form-item-label label:after,.ant-form-vertical .ant-form-item-label label:after{display:none}.ant-form-vertical .ant-form-item{padding-bottom:8px}.ant-form-vertical .ant-form-item-control{line-height:1.5}.ant-form-vertical .ant-form-explain{margin-top:2px;margin-bottom:-5px}.ant-form-vertical .ant-form-extra{margin-top:2px;margin-bottom:-4px}@media (max-width:575px){.ant-form-item-control-wrapper,.ant-form-item-label{display:block;width:100%}.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-form-item-label label:after{display:none}.ant-col-xs-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-xs-24.ant-form-item-label label:after{display:none}}@media (max-width:767px){.ant-col-sm-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-sm-24.ant-form-item-label label:after{display:none}}@media (max-width:991px){.ant-col-md-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-md-24.ant-form-item-label label:after{display:none}}@media (max-width:1199px){.ant-col-lg-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-lg-24.ant-form-item-label label:after{display:none}}@media (max-width:1599px){.ant-col-xl-24.ant-form-item-label{display:block;margin:0;padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-xl-24.ant-form-item-label label:after{display:none}}.ant-form-inline .ant-form-item{display:inline-block;margin-right:16px;margin-bottom:0}.ant-form-inline .ant-form-item-with-help{margin-bottom:24px}.ant-form-inline .ant-form-item>.ant-form-item-control-wrapper,.ant-form-inline .ant-form-item>.ant-form-item-label{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-text,.ant-form-inline .has-feedback{display:inline-block}.has-error.has-feedback .ant-form-item-children-icon,.has-success.has-feedback .ant-form-item-children-icon,.has-warning.has-feedback .ant-form-item-children-icon,.is-validating.has-feedback .ant-form-item-children-icon{position:absolute;top:50%;right:0;z-index:1;width:32px;height:20px;margin-top:-10px;font-size:14px;line-height:20px;text-align:center;visibility:visible;-webkit-animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);pointer-events:none}.has-error.has-feedback .ant-form-item-children-icon svg,.has-success.has-feedback .ant-form-item-children-icon svg,.has-warning.has-feedback .ant-form-item-children-icon svg,.is-validating.has-feedback .ant-form-item-children-icon svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}.has-success.has-feedback .ant-form-item-children-icon{color:#52c41a;-webkit-animation-name:diffZoomIn1!important;animation-name:diffZoomIn1!important}.has-warning .ant-form-explain,.has-warning .ant-form-split{color:#faad14}.has-warning .ant-input,.has-warning .ant-input:hover{background-color:#fff;border-color:#faad14}.has-warning .ant-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input:not([disabled]):hover{border-color:#faad14}.has-warning .ant-calendar-picker-open .ant-calendar-picker-input{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input-affix-wrapper .ant-input,.has-warning .ant-input-affix-wrapper .ant-input:hover{background-color:#fff;border-color:#faad14}.has-warning .ant-input-affix-wrapper .ant-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){border-color:#faad14}.has-warning .ant-input-prefix{color:#faad14}.has-warning .ant-input-group-addon{color:#faad14;background-color:#fff;border-color:#faad14}.has-warning .has-feedback{color:#faad14}.has-warning.has-feedback .ant-form-item-children-icon{color:#faad14;-webkit-animation-name:diffZoomIn3!important;animation-name:diffZoomIn3!important}.has-warning .ant-select-selection,.has-warning .ant-select-selection:hover{border-color:#faad14}.has-warning .ant-select-focused .ant-select-selection,.has-warning .ant-select-open .ant-select-selection{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-calendar-picker-icon:after,.has-warning .ant-cascader-picker-arrow,.has-warning .ant-picker-icon:after,.has-warning .ant-select-arrow,.has-warning .ant-time-picker-icon:after{color:#faad14}.has-warning .ant-input-number,.has-warning .ant-time-picker-input{border-color:#faad14}.has-warning .ant-input-number-focused,.has-warning .ant-input-number:focus,.has-warning .ant-time-picker-input-focused,.has-warning .ant-time-picker-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-input-number:not([disabled]):hover,.has-warning .ant-time-picker-input:not([disabled]):hover{border-color:#faad14}.has-warning .ant-cascader-picker:focus .ant-cascader-input{border-color:#ffc53d;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(250,173,20,.2);box-shadow:0 0 0 2px rgba(250,173,20,.2)}.has-warning .ant-cascader-picker:hover .ant-cascader-input{border-color:#faad14}.has-error .ant-form-explain,.has-error .ant-form-split{color:#f5222d}.has-error .ant-input,.has-error .ant-input:hover{background-color:#fff;border-color:#f5222d}.has-error .ant-input:focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input:not([disabled]):hover{border-color:#f5222d}.has-error .ant-calendar-picker-open .ant-calendar-picker-input{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input-affix-wrapper .ant-input,.has-error .ant-input-affix-wrapper .ant-input:hover{background-color:#fff;border-color:#f5222d}.has-error .ant-input-affix-wrapper .ant-input:focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){border-color:#f5222d}.has-error .ant-input-prefix{color:#f5222d}.has-error .ant-input-group-addon{color:#f5222d;background-color:#fff;border-color:#f5222d}.has-error .has-feedback{color:#f5222d}.has-error.has-feedback .ant-form-item-children-icon{color:#f5222d;-webkit-animation-name:diffZoomIn2!important;animation-name:diffZoomIn2!important}.has-error .ant-select-selection,.has-error .ant-select-selection:hover{border-color:#f5222d}.has-error .ant-select-focused .ant-select-selection,.has-error .ant-select-open .ant-select-selection{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-select.ant-select-auto-complete .ant-input:focus{border-color:#f5222d}.has-error .ant-input-group-addon .ant-select-selection{border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.has-error .ant-calendar-picker-icon:after,.has-error .ant-cascader-picker-arrow,.has-error .ant-picker-icon:after,.has-error .ant-select-arrow,.has-error .ant-time-picker-icon:after{color:#f5222d}.has-error .ant-input-number,.has-error .ant-time-picker-input{border-color:#f5222d}.has-error .ant-input-number-focused,.has-error .ant-input-number:focus,.has-error .ant-time-picker-input-focused,.has-error .ant-time-picker-input:focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-input-number:not([disabled]):hover,.has-error .ant-mention-wrapper .ant-mention-editor,.has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover,.has-error .ant-time-picker-input:not([disabled]):hover{border-color:#f5222d}.has-error .ant-cascader-picker:focus .ant-cascader-input,.has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor,.has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(245,34,45,.2);box-shadow:0 0 0 2px rgba(245,34,45,.2)}.has-error .ant-cascader-picker:hover .ant-cascader-input,.has-error .ant-transfer-list{border-color:#f5222d}.has-error .ant-transfer-list-search:not([disabled]){border-color:#d9d9d9}.has-error .ant-transfer-list-search:not([disabled]):hover{border-color:#40a9ff;border-right-width:1px!important}.has-error .ant-transfer-list-search:not([disabled]):focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.is-validating.has-feedback .ant-form-item-children-icon{display:inline-block;color:#1890ff}.ant-advanced-search-form .ant-form-item{margin-bottom:24px}.ant-advanced-search-form .ant-form-item-with-help{margin-bottom:5px}.show-help-appear,.show-help-enter,.show-help-leave{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.show-help-appear.show-help-appear-active,.show-help-enter.show-help-enter-active{-webkit-animation-name:antShowHelpIn;animation-name:antShowHelpIn;-webkit-animation-play-state:running;animation-play-state:running}.show-help-leave.show-help-leave-active{-webkit-animation-name:antShowHelpOut;animation-name:antShowHelpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.show-help-appear,.show-help-enter{opacity:0}.show-help-appear,.show-help-enter,.show-help-leave{-webkit-animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-timing-function:cubic-bezier(.645,.045,.355,1)}@-webkit-keyframes antShowHelpIn{0%{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes antShowHelpIn{0%{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes antShowHelpOut{to{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}}@keyframes antShowHelpOut{to{-webkit-transform:translateY(-5px);transform:translateY(-5px);opacity:0}}@-webkit-keyframes diffZoomIn1{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes diffZoomIn1{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes diffZoomIn2{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes diffZoomIn2{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes diffZoomIn3{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes diffZoomIn3{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}#root{position:relative;min-height:100%}body{overflow:auto!important}body>.-task-title{opacity:1!important}#root .search-all{width:219px}.newContainers{height:100%;min-height:100%;overflow:hidden}.newContainers,.newHeaders{min-width:1200px;max-width:unset}.newHeaders{width:100%;height:70px;z-index:1000;background:#fff;position:fixed;-webkit-box-shadow:0 0 14px rgb(0 0 0/10%);box-shadow:0 0 14px rgb(0 0 0/10%)}.headerContent{width:1200px;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%}.globalSpin{max-height:700px!important}.indexHOC>.ant-spin-nested-loading{background:#000;height:100%}.indexHOC>.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{top:50%!important}.globalSpin .ant-spin-text{text-shadow:none!important;color:#fff}.globalSpin .ant-spin-dot-item{background-color:#fff}.newHeader .logoimg{margin-top:16px;float:left;width:97px}#header_keyword_search,.headIcon{padding-top:13px!important}.search-icon{height:30px!important}.search-icon i{font-size:20px}#header_keyword_search i{color:#4cacff}.ant-select-selection--multiple{padding-bottom:0!important;padding-top:3px}.ant-select-selection--multiple .ant-select-selection__rendered>ul>li,.ant-select-selection--multiple>ul>li{height:25px!important;line-height:23px!important;margin-bottom:3px;margin-top:0}.newContainer{background:#fff}.ant-modal-title{font-size:16px;font-weight:700!important;color:#333;text-align:center}@-moz-document url-prefix(){.ant-radio-inner{width:17px!important;height:17px!important}}.shixunDetail_top{display:block!important;padding-top:48px}.totalScore{display:block!important;padding-top:40px}.edu-menu-panel .edu-menu-listnew:hover .careersiconfont{color:#000!important}.newHeader{background:#24292d!important;height:60px!important}.HeaderSearch{margin-top:18px;margin-right:20px}.HeaderSearch .ant-input-search .ant-input{background:#373e3f!important;border:1px solid #373e3f!important}.ant-input-search .ant-input-affix-wrapper{border:transparent}.ant-input:focus{border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.HeaderSearch .ant-input-search .ant-input::-webkit-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-moz-placeholder,.HeaderSearch .ant-input-search .ant-input::-moz-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-ms-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input-suffix .anticon-search{color:#999}.HeaderSearch .ant-input-search .ant-input{color:#fff}.HeaderSearch .ant-input-search .ant-input-suffix{background:transparent!important}.roundedRectangles{position:absolute;top:10px;right:-22px}.HeaderSearch{width:325px}.HeaderSearch .ant-input-search{right:20px}.mainheighs{height:100%;display:block}.ml18a{margin-left:18%}.logoimg{float:left;min-width:40px;height:40px}.headwith100b{width:100%}.wechatcenter{text-align:center}.myrigthsiderbar{right:9%!important}.feedbackdivcolor{background:#33bd8c!important;height:49px!important;line-height:24px!important}.xiaoshou{cursor:pointer}.questiontypes{width:37px;height:17px}.questiontype,.questiontypes{font-size:12px;color:#333;line-height:17px;cursor:pointer}.questiontype{width:100%;text-align:center;padding:11px}.questiontypeheng{width:100%;height:1px;background:#eee}.mystask-sidebar{right:181px!important}.mystask-sidebars{right:20px!important}.shitikussmys{width:29px!important;height:20px!important;background:#ff6601!important;border-radius:10px!important;position:absolute!important;font-size:11px!important;color:#fff!important;line-height:20px!important;top:-13px!important;right:-10px!important}.maxnamewidth30{max-width:30px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;cursor:default}.mystask-sidebarss{right:5px!important}.simple-rate{font-size:16px!important}.ant-rate-star:not(:last-child){margin-right:2px!important}.flex-container{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;margin-bottom:4px;-ms-flex-align:center;align-items:center}.progress-container{-ms-flex:1 0;flex:1 0;margin-left:20px}.dropdownFlex{display:flex;background:#fff;border-radius:3px}.dropdownFlex .ant-menu-vertical>.ant-menu-item{border:none;height:35px;line-height:35px;margin:0}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected{background-color:#fff}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected a{color:rgba(0,0,0,.65)!important}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-active a{color:#4cacff!important}.dropdownFlex .ant-menu-vertical{border:none}.currentImg{width:34px;height:34px;border-radius:50%;margin-left:15px}.currentMenu{width:120px;text-align:center;padding:0}.currentMenu .currentName{padding:0 8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.currentMenu li{height:40px;line-height:40px;padding:0!important;cursor:default}.currentMenu li:hover{background-color:#fff}.currentMenu li:first-child{border-bottom:1px solid #eee}.currentMenu li:last-child{border-top:1px solid #eee}.currentMenu li:last-child a{border-radius:0 0 4px 4px}.currentMenu li a{padding:0;margin:0;display:block;color:#666}.currentMenu li a:hover{color:#fff;background:#4cacff}.newFooter{position:absolute;bottom:0;width:100%;background:#323232;clear:both;min-width:1200px;z-index:8;left:0}.newFooter p{margin-top:0;margin-bottom:0!important}.newFooter .footerInfos{display:flex;max-width:1200px;margin:0 auto;justify-content:space-around;padding:60px 0}.newFooter .footerInfos>ul{padding:0 40px;box-sizing:border-box;max-width:25%;text-align:left}.newFooter .footerInfos>ul li{color:#fff;font-weight:300}.newFooter .footerInfos>ul li:first-child{font-size:17px}.newFooter .footerInfos>ul li>a,.newFooter .footerInfos>ul li>span{color:#bbb}.newFooter .footerInfos>ul li>a:hover{color:#4cacff}.newFooter .footerCopy{color:#bbb;border-top:1px solid #4e4e4e;padding:10px 0}.newFooter .footerCopy a{color:#bbb}.newFooter .footerCopy a:hover{color:#4cacff}.inviteForm .ant-form-item{margin-right:0}.inviteForm .ant-form-item-label{width:110px;text-align:right}.notice-popover .ant-popover-arrow{display:none}.notice-popover .ant-popover-inner-content{width:386px;height:446px;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px;margin-top:-10px;padding:12px 1px 12px 0}.messageHoverDiv .ant-menu-item{margin-right:24px!important}.hoverNotice-head{margin-left:18px}.hoverNotice-head .ant-badge{font-size:14px!important}.hoverNotice-head>.ant-menu-horizontal{border-bottom:1px solid #e8e8e8!important}.hoverNotice-body{height:342px;overflow-y:scroll}.hoverNotice-body b{font-weight:400;text-shadow:.5px 0 0 #333}.hoverNotice-body .none_panels{height:100%}.message-icon{position:relative}.message-icon .ant-scroll-number{right:12px;padding:0}.hoverNotice-buttom{display:flex;justify-content:space-between;padding:12px 18px}.hoverNotice-buttom a{color:#466aff}.hoverNotice-buttom a:hover{opacity:.85}.noticeCont-back .pointer{cursor:pointer}.noticeCont-back:hover{background:#f3f4f6}.noticeCont{display:flex;margin:0 16px 0 18px;padding:12px 0 10px;line-height:24px;border-bottom:1px solid #eee;cursor:default}.noticeCont i{font-size:14px!important;margin-right:6px;color:#333}.noticeCont .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333}.noticeCont .noticeCont-text{display:flex;color:#333;flex:auto;justify-content:space-between}.noticeCont .noticeCont-text .content-span{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.noticeCont .noticeCont-text .atme-cont-span{width:272px}.noticeCont .noticeCont-text .notice-cont-span{width:255px}.noticeCont .noticeCont-text .timeSpan{font-size:12px;color:#666}.noticeCont .noticeCont-text .at-name{margin-right:12px}.text-center{text-align:center}dl,ol,ul{margin-bottom:0}.newMain{background-color:#fff}.color-black{color:#333}.projectallName{font-size:22px;font-weight:400;line-height:30px;max-width:690px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.projectallName .projectN{word-break:break-all}.textRight{text-align:right}.main{width:1200px;padding:20px;margin:20px auto;background:#fff;border-radius:2px;border:1px solid #eee}.radius-2{border-radius:2px}.normal{width:1200px;margin:0 auto}.back-white{background:#fff}.back-black{background:#000}.btn_32{border-radius:4px;padding:0 12px;height:32px;line-height:32px;background-color:#f4f4f4;color:#666;display:inline-block}@media screen and (max-width:1200px){.main{width:1000px;margin:10px auto}}.hide-1{display:inline-block;white-space:nowrap}.hide-1,.hide-2{overflow:hidden;text-overflow:ellipsis}.hide-2{display:inline-block;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.df{display:flex}.flex-1{flex:1;width:0}.f-wrap-between{display:flex;flex-wrap:wrap;justify-content:space-between}.f-wrap-alignCenter{display:flex;flex-wrap:wrap;align-items:center}.f-wrap-alignCenter>span,.f-wrap-alignCenter a:link,.f-wrap-alignCenter a:visited{color:#333}.f-wrap-alignCenter>span{cursor:default}.commitDesc{flex:1;line-height:20px;word-break:break-all;width:49rem;overflow:hidden;white-space:normal}.commitDesc:hover{text-decoration:underline}.commitDesc:hover .markdown-body{color:#466aff}.normalBox{border-radius:4px;border:1px solid #ddd}.normalBox-title{padding:10px;background-color:#f4f4f4;line-height:18px}.none_panels{text-align:center;height:400px;display:flex;justify-content:center;align-items:center}.none_panels.small{height:120px}.none_panels.small img{width:50px}.none_panels img{margin-bottom:15px}.none_p_title{font-size:16px;color:#999}form.ant-form{color:#333}.required{position:relative}.required:before{content:"*";color:red;position:absolute;left:-10px;top:0;line-height:22px}form .ant-row.ant-form-item{margin-bottom:20px}@media screen and (max-width:1000px){.main{margin:1rem auto}.main,.normal{width:750px}}@media screen and (max-width:750px){.main{width:95%;margin:1rem auto}.normal{width:100%}}.ver-middle{vertical-align:middle}.pd510{padding:5px 10px}.modalsStyle .ant-modal-content>.ant-modal-header{text-align:left!important}.modalsStyle .ant-modal-body{max-width:400px;margin:0 auto;text-align:left;min-height:140px;display:flex;align-items:center}.modalsStyle .ant-modal-close-x{margin-top:8px}.list-l-Menu,.list-r-Info>div{box-shadow:0 0 2px rgba(0,0,0,.2)}.list-l-Menu{margin-bottom:12px;border-radius:2px;background-color:#fff}.list-l-Menu>li{font-size:1rem;padding:0 0 0 20px;box-sizing:border-box;color:#333;position:relative}.list-l-Menu>li>p{height:62px;line-height:62px;width:100%;border-bottom:1px solid #eee;display:flex;justify-content:space-between;cursor:pointer;padding-right:20px;margin:0}.list-l-Menu>li>p a{width:100%}.list-l-Menu>li>p span:last-child{color:#999}.list-l-Menu>li:last-child>p{border-bottom:none}.list-l-Menu>li:not(.MenuTitle):hover,.list-l-Menu li.active{background-color:#fafafa}.list-l-Menu li.active:before{position:absolute;left:0;top:15px;width:6px;content:"";height:33px;background:#4cacff}.list-l-Menu .MenuTitle{font-size:16px;background-size:100% 100%;color:#333!important;height:62px;line-height:62px;border-bottom:1px solid #e0e0e0;font-weight:400}.list-l-Menu .ant-menu-inline{border:none}.list-l-Menu .ant-menu-inline .ant-menu-item{width:100%!important}.list-l-Menu .ant-menu-item-group-title{padding:0}.group-setting-switch{border:1px solid #ddd!important;background-color:#fff!important}.ant-btn.ant-btn-background-ghost{border-color:#d0d0d0}.ant-btn.ant-btn-background-ghost.ant-btn-primary:hover{background-color:#1890ff!important;border-color:#1890ff;color:#fff}.ant-btn.ant-btn-background-ghost.ant-btn-danger:hover{background-color:#df0002!important;border-color:#df0002;color:#fff}.newPopUl li{height:30px;line-height:30px;border-bottom:1px solid #eee;min-width:78px;text-align:center}.newPopUl li:last-child{border-bottom:none}.btn-83{width:83px;height:32px;line-height:30px;text-align:center;background:#fafbfc;border:1px solid #d0d0d0;display:inline-block;border-radius:5px;font-weight:500;color:#333!important;margin-right:15px}.btn-83:hover{background:#f3f4f6;color:#333!important}.btn-83:active{background:#d0d0d0;color:#333!important}.shadow:hover{background:#eeeff1;border-bottom-left-radius:4px;border-top-left-radius:4px}a.hover:hover{text-decoration:underline}button.ant-btn-primary.btnblue{background-color:#466aff;border-color:#466aff}button.ant-btn-primary.btnblue:hover{background-color:rgba(70,106,255,.85);border-color:rgba(70,106,255,.85)}button.btngrey{background-color:#fff;border-color:#d0d0d0;color:#666}button.btngrey:focus,button.btngrey:hover{border-color:hsla(0,0%,60%,.5);color:#666}.notice-manager-tip{font-size:16px;font-weight:400}.manager-cont-top{font-size:14px;font-weight:600;height:44px;padding-left:20px;background:#fafcff;border:1px solid #89a4f7;line-height:44px;border-top-left-radius:3px;border-top-right-radius:3px;margin-top:25px}.manager-cont{padding:8px 20px 6px;display:flex;align-items:center;font-size:14px}.manager-cont .manager-cont-title{width:320px}.notice01 .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:#fff}.notice01 .ant-checkbox-disabled .ant-checkbox-inner{background-color:#999!important;border-color:#999!important}.notice01 .ant-checkbox-checked .ant-checkbox-inner{background-color:#466aff;border:#466aff}.notice01 .ant-checkbox-checked:after{border:1px solid #466aff}.notice01 .ant-checkbox-input:focus+.ant-checkbox-inner,.notice01 .ant-checkbox-wrapper:hover .ant-checkbox-inner,.notice01 .ant-checkbox:hover .ant-checkbox-inner,.notice01 .ant-radio-checked .ant-radio-inner,.notice01 .ant-radio-input:focus+.ant-radio-inner,.notice01 .ant-radio-wrapper:hover .ant-radio,.notice01 .ant-radio:hover .ant-radio-inner{border-color:#466aff}.notice01 .ant-checkbox+span,.notice01 .manager-cont-title{color:#000}.notice01 .ant-radio-inner:after{background-color:#466aff}.notice01 .but25{color:#fff}.notice01 .but25,.notice01 .but25:hover{background-color:#466aff;border-color:#466aff}.notice01 .but25:hover{opacity:.8}.notice01 .but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.notice01 ::-webkit-scrollbar{width:5px}.notice01 ::-webkit-scrollbar-thumb{border-radius:6px;box-shadow:inset 0 0 6px #fff;background-color:#d4d4d4}.notice01 ::-webkit-scrollbar-track{box-shadow:inset 0 0 6px #fff;background-color:#fff}.whiteBack{background-color:#fff}.whiteBack .boies{width:1200px;margin:0 auto;padding:30px 0 10px}.whiteBack .boies .shortW{width:198px;border:1px solid hsla(0,0%,60%,.22);border-radius:4px;margin-bottom:30px}.whiteBack .boies .shortW .userDetail{background:hsla(0,0%,60%,.05);border-radius:4px 4px 0 0;padding:20px 25px;text-align:center;height:105px}.whiteBack .boies .shortW .userDetail img{height:48px;width:48px;border-radius:50%}.whiteBack .boies .shortW .userDetail span{font-size:16px;color:#333;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}.whiteBack .boies .shortW .securityUl{padding-left:17px;color:#333;margin-bottom:0;padding-bottom:12px;padding-top:5px}.whiteBack .boies .shortW .securityUl li{font-size:14px;margin-top:10px;margin-bottom:10px;height:27px;line-height:27px;position:relative;cursor:default}.whiteBack .boies .shortW .securityUl li a{color:#666}.whiteBack .boies .shortW .securityUl li.active a,.whiteBack .boies .shortW .securityUl li a:hover{color:#333}.whiteBack .boies .shortW .securityUl li.active a .text-shodow-bold{font-weight:400;text-shadow:.5px 0 #333}.whiteBack .boies .shortW .securityUl li.active:before{position:absolute;left:-18px;top:6px;height:15px;width:3px;border-radius:2px;content:"";background-color:#466aff}.whiteBack .boies .shortW .securityUl li i{font-size:14px!important;margin-right:8px}.whiteBack .boies .shortW .ul-border-buttom{border-bottom:1px solid hsla(0,0%,60%,.22);padding-bottom:5px}.whiteBack .boies .sshHead{display:flex;align-items:center;padding:6px 0;margin-bottom:15px;justify-content:space-between;border-bottom:1px solid #eee}.whiteBack .boies .sshHead>.text-shadow07{font-size:18px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead>.add-SSH-title{font-size:16px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead .but25{padding:0 12px}.whiteBack .boies .ant-list-item{padding:20px;border-bottom:1px solid #eee!important}.whiteBack .boies .ant-list-item>img{margin-right:24px}.whiteBack .boies .ant-list-item>div{flex:1;width:0;margin-right:20px}.whiteBack .boies .ant-list-item>div p{margin-bottom:8px!important}.whiteBack .boies .ant-list-item>div span{font-size:12px}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger{background-color:#fff;border-color:#d0d0d0;color:#df0002}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger:hover{background-color:#df0002;color:#fff;border-color:#df0002}.whiteBack .boies .questionLink{padding:15px 20px}.whiteBack .boies .questionLink a{color:#466aff}.whiteBack .boies .questionLink a:hover{text-decoration:underline}.whiteBack .boies .sshForm{padding:15px 20px}.whiteBack .boies .sshForm .ant-col.ant-form-item-label{font-size:16px;color:#333}.descModal .ant-modal-title{text-align:left;font-size:20px}.descModal .keyContent{border:1px solid #eee;border-radius:4px;padding:10px 15px;margin-top:10px;max-height:200px;overflow-y:auto}.descModal .keysTitle{display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap}.descModal .keysTitle span:last-child{word-break:break-all;flex:1}.but25{margin-bottom:5px;color:#fff}.but25,.but25:hover{background-color:#466aff;border-color:#466aff}.but25:hover{opacity:.8}.but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.blue-Purple{color:#466aff!important}.whiteBack .boies .sshHead{padding:0 10px 0 0}.sshHead .ant-badge{font-size:16px;color:#333}.sshHead .ant-menu-item{padding:0;margin-right:34px!important;height:34px;width:64px;text-align:center;line-height:0;position:relative}.sshHead .ant-menu-horizontal>.ant-menu-item,.sshHead li.ant-menu-item{border-bottom:0}.sshHead .ant-menu-item-selected{color:#333;font-weight:400;text-shadow:.5px 0 #333;border-bottom:2px solid #2a61ff!important}.sshHead .ant-badge-count,.sshHead .ant-badge-dot,.sshHead .ant-badge .ant-scroll-number-custom-component{right:-6px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0}.sshHead .ant-badge-multiple-words{padding:0}.sshHead .ant-menu-horizontal{border-bottom:0 solid #e8e8e8}.sshHead button{padding:0 5px}button{color:#333;background:#fafbfc;border:1px solid #d0d0d0;border-radius:4px;height:32px}button:hover{background:#f3f4f6}button:active{background:#ebecf0}.deleteBut{color:#df0002}.deleteBut:hover{background:#df0002;border:1px solid #df0002;color:#fff}.deleteBut:active{background:#ce0002;border:1px solid #ce0002;color:#fff}.mynotice-content{justify-content:space-between;padding:15px 0 15px 10px;border-bottom:1px solid #eee;color:#333}.mynotice-content:hover{background:#f3f4f6}.mynotice-content img{cursor:pointer}.mynotice-content b{font-weight:400;text-shadow:.5px 0 #333}.mynotice-content .invisable-read{display:none}.mynotice-content:hover .invisable-read{display:block;color:#466aff;opacity:.6;cursor:pointer}.mynotice-content:hover .invisable-read:hover{opacity:1}.mynotice-content:hover .timeSpan{display:none}.mynotice-content i{font-size:16px!important;margin-right:5px}.mynotice-content .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333;margin:0 8px}.mynotice-content .currentImg{width:40px;height:40px;margin-left:0}.mynotice-content .private-letter-img+.ant-badge-count{top:2px;right:5px;height:18px;min-width:18px;line-height:18px;padding:0}.mynotice-content .highlightSpan:hover{color:#466aff;cursor:pointer}.mynotice-content .mynotice-cont{padding:0;cursor:default}.mynotice-content .mynotice-cont .visible-checkbox{margin-right:10px}.mynotice-content .mynotice-cont .invisible-checkbox{display:none}.mynotice-content .mynotice-cont .atme-notice-text{margin-left:6px}.mynotice-content .mynotice-cont .atme-notice-text .atme-notice-name{margin:0}.mynotice-content .mynotice-cont .atme-notice-text .atme-length{max-width:48rem;word-break:break-all}.mynotice-content .ant-badge-count,.mynotice-content .ant-badge-dot,.mynotice-content .ant-badge .ant-scroll-number-custom-component{-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0;top:3px;right:4px;min-width:8px;height:8px}.mynotice-content .system-notice-blank{margin-right:14px}.batchDel .atme-notice-text,.batchDel .currentImg{pointer-events:none}.baselineDiv{align-items:baseline}.invisible{display:none}.visible{display:flex;justify-content:space-between;height:30px;padding:0 10px;color:#333;margin-bottom:5px}.visible button{padding:0 12px}.visible .batchDeleteBut{border:1px solid #466aff;color:#466aff}.private-letter-right{flex:auto;margin:0 10px 0 16px}.private-letter-right div{display:flex;justify-content:space-between}.letter-length-limit{max-width:50rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sysNotice-length{max-width:52rem;word-break:break-all}.numberSpan{color:#466aff}.vertical-center-style{display:flex;align-items:center}.stretch-style{display:flex;align-items:baseline}.float-left-little{margin-right:10px}.float-right-little{margin-left:12px}.paging{text-align:center;margin:12px}.ant-modal-mask{z-index:1031}.ant-modal-wrap{z-index:1032}.deleteBox{z-index:1033}.deleteBox .ant-modal-close-x{font-size:17px!important}.deleteBox .ant-modal-header{background-color:#f8f8f8;padding:10px 30px}.deleteBox .ant-modal-header .ant-modal-title{text-align:left;font-size:16px;font-weight:700}.deleteBox .ant-modal-close{top:0!important;font-size:24px!important}.deleteBox .ant-modal-body{padding:30px 50px}.deleteBox .ant-modal-body p{font-size:14px;line-height:26px;color:#666;word-break:break-all}.deleteBox .ant-modal-body .desc .descMain{align-items:center;justify-content:center;font-size:20px;margin-bottom:10px}.deleteBox .ant-modal-body .desc .descMain i.red{color:#df0002}.deleteBox .ant-modal-footer{border-top:none;text-align:center;padding-bottom:40px}.deleteBox .ant-modal-footer a,.deleteBox .ant-modal-footer button{width:96px;height:32px;margin:0 20px;font-weight:400;font-size:14px}.deleteBox .ant-modal-footer a.ant-btn,.deleteBox .ant-modal-footer button.ant-btn{border-color:#d0d0d0;color:#666}.deleteBox .ant-modal-footer a.ant-btn:active,.deleteBox .ant-modal-footer a.ant-btn:focus,.deleteBox .ant-modal-footer a.ant-btn:hover,.deleteBox .ant-modal-footer button.ant-btn:active,.deleteBox .ant-modal-footer button.ant-btn:focus,.deleteBox .ant-modal-footer button.ant-btn:hover{background:#f3f4f6}.deleteBox .ant-modal-footer a.ant-btn-danger,.deleteBox .ant-modal-footer button.ant-btn-danger{background-color:#fff;color:#df0002;border-color:#d0d0d0}.deleteBox .ant-modal-footer a.ant-btn-danger:active,.deleteBox .ant-modal-footer a.ant-btn-danger:focus,.deleteBox .ant-modal-footer a.ant-btn-danger:hover,.deleteBox .ant-modal-footer button.ant-btn-danger:active,.deleteBox .ant-modal-footer button.ant-btn-danger:focus,.deleteBox .ant-modal-footer button.ant-btn-danger:hover{border-color:#df0002;background-color:#fff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary{background-color:#466aff;color:#fff;border-color:#466aff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:hover,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.contents{display:flex;align-items:center;justify-content:center;margin:10px auto 0}.contents img{margin-right:13px;width:44px}.contents p{line-height:29px;max-width:327px;font-size:16px!important}.font-44{font-size:44px!important}.suit-main .search-head{background:#eef2f5}.suit-main .search-box{width:1200px;height:110px;margin:0 auto}.suit-main .search-box .ant-form-explain{color:#f5222d}.suit-main .global-search{margin-top:40px}.suit-main .required-search .ant-input{border-color:#f5222d!important}.suit-main .ant-tabs-top{background:#eef2f5}.suit-main .ant-tabs-tabpane{background:#fff}.suit-main .ant-tabs-bar{width:1200px;margin:0 auto}.suit-main .ant-tabs-nav .ant-tabs-tab:hover,.suit-main .ant-tabs-tab-active{color:#000;font-weight:600}.suit-main .search-content{width:1200px;margin:1.5vw auto}.suit-main .search-content p{margin-bottom:.75em!important}.suit-main .search-item{padding:.75em 0;border-top:1px solid #e1e4e8}.suit-main .search-item .search-item-tit{display:flex;justify-content:space-between}.suit-main .search-item .search-item-title{cursor:pointer}.suit-main .search-item .search-item-content span,.suit-main .search-item .search-item-title:hover,.suit-main .search-item .search-item-title span{color:#1890ff}.suit-main .search-item .search-icon{margin-right:2em;color:#aaa}.suit-main .ant-pagination{text-align:center;margin-bottom:3vw}.suit-main .none_panels{display:flex;justify-content:center;align-items:center;flex-flow:column nowrap;height:40vh} \ No newline at end of file diff --git a/static/css/36.35deec2d.chunk.css b/static/css/36.35deec2d.chunk.css new file mode 100644 index 000000000..1d8a2ddd4 --- /dev/null +++ b/static/css/36.35deec2d.chunk.css @@ -0,0 +1 @@ +.ant-divider{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";background:#e8e8e8}.ant-divider,.ant-divider-vertical{position:relative;top:-.06em;display:inline-block;width:1px;height:.9em;margin:0 8px;vertical-align:middle}.ant-divider-horizontal{display:block;clear:both;width:100%;min-width:100%;height:1px;margin:24px 0}.ant-divider-horizontal.ant-divider-with-text-center,.ant-divider-horizontal.ant-divider-with-text-left,.ant-divider-horizontal.ant-divider-with-text-right{display:table;margin:16px 0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;white-space:nowrap;text-align:center;background:transparent}.ant-divider-horizontal.ant-divider-with-text-center:after,.ant-divider-horizontal.ant-divider-with-text-center:before,.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-left:before,.ant-divider-horizontal.ant-divider-with-text-right:after,.ant-divider-horizontal.ant-divider-with-text-right:before{position:relative;top:50%;display:table-cell;width:50%;border-top:1px solid #e8e8e8;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%);content:""}.ant-divider-horizontal.ant-divider-with-text-left .ant-divider-inner-text,.ant-divider-horizontal.ant-divider-with-text-right .ant-divider-inner-text{display:inline-block;padding:0 10px}.ant-divider-horizontal.ant-divider-with-text-left:before{top:50%;width:5%}.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-right:before{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:after{top:50%;width:5%}.ant-divider-inner-text{display:inline-block;padding:0 24px}.ant-divider-dashed{background:none;border:dashed #e8e8e8;border-width:1px 0 0}.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed{border-top:0}.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:before{border-style:dashed none none}.ant-divider-vertical.ant-divider-dashed{border-width:0 0 0 1px}.branchDropdown{border:1px solid #eee;border-radius:4px;display:flex;justify-content:center;height:40px;line-height:40px;min-width:220px}.branchDropdown .ant-dropdown-trigger{width:100%;padding:0 15px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.branchOptions{width:220px;box-shadow:0 0 3px 1px hsla(0,0%,52.5%,.4);border-radius:3px;background:#fff;max-height:300px}.OptionsUl{min-height:50px;max-height:220px;overflow-y:auto}.OptionsUl li{height:30px;line-height:30px;cursor:pointer;padding:0 20px;margin:5px 0}.OptionsUl li:hover{background-color:#f0f0f0}.OptionsUl li a{display:block}.OptionsInput{height:32px;padding-left:4px;line-height:32px;width:100%}.branch-tagBox{border:1px solid #d0d0d0;border-radius:3px;height:32px;display:flex;align-items:center;cursor:pointer;min-width:104px}.branch-tagBox:hover{background-color:#f3f4f6}.branch-tagBox-list{background:#fff;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px}.branch-tagBox-list .ant-popover-arrow{display:none}.branch-tagBox-list.ant-popover.ant-popover-placement-bottom{padding-top:0}.branch-tagBox-list .branch-tagBox .ant-dropdown-link{display:block;flex:1;max-width:105px}.branch-tagBox-list .ant-popover-inner-content{padding:0}.overlayBranch{width:325px}.overlayBranch .navUl{margin-top:8px;height:30px;line-height:30px}.overlayBranch .navUl li{height:30px;line-height:30px;padding:0 5px;margin-left:20px!important}.overlayBranch .navUl li.ant-menu-item-selected{border-color:#466aff!important;color:#466aff!important}.overlayBranch .navUl li.ant-menu-item-active{border-color:transparent}.listTips{padding:20px 0;text-align:center}.urlMenu{line-height:30px;margin-bottom:10px;padding:15px 20px 0;border-bottom:none}.urlMenu li.ant-menu-item{height:30px;line-height:30px;padding:0 5px;margin-right:20px!important}.urlMenu li.ant-menu-item.ant-menu-item-active,.urlMenu li.ant-menu-item.ant-menu-item-selected{color:#333}.urlMenu li.ant-menu-item.ant-menu-item-selected{border-color:#466aff!important}.urlMenu li.ant-menu-item.ant-menu-item-active{border-color:transparent}.copytool{margin:0 10px}.ant-anchor{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;padding:0 0 0 2px}.ant-anchor-wrapper{margin-left:-4px;padding-left:4px;overflow:auto;background-color:#fff}.ant-anchor-ink{position:absolute;top:0;left:0;height:100%}.ant-anchor-ink:before{position:relative;display:block;width:2px;height:100%;margin:0 auto;background-color:#e8e8e8;content:" "}.ant-anchor-ink-ball{position:absolute;left:50%;display:none;width:8px;height:8px;background-color:#fff;border:2px solid #1890ff;border-radius:8px;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:top .3s ease-in-out;-o-transition:top .3s ease-in-out;transition:top .3s ease-in-out}.ant-anchor-ink-ball.visible{display:inline-block}.ant-anchor.fixed .ant-anchor-ink .ant-anchor-ink-ball{display:none}.ant-anchor-link{padding:7px 0 7px 16px;line-height:1.143}.ant-anchor-link-title{position:relative;display:block;margin-bottom:6px;overflow:hidden;color:rgba(0,0,0,.65);white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-anchor-link-title:only-child{margin-bottom:0}.ant-anchor-link-active>.ant-anchor-link-title{color:#1890ff}.ant-anchor-link .ant-anchor-link{padding-top:5px;padding-bottom:5px}.ant-affix{position:fixed;z-index:10}.boxPanel{width:1200px;margin:20px auto;border-radius:4px;border:1px solid #eee;min-height:500px}.boxPanel .contrbuteList{display:flex;flex-wrap:wrap;padding:20px;align-items:flex-start}.boxPanel .contrbuteList>div{width:20%}.descmodal .ant-row.ant-form-item{margin-bottom:10px}.descmodal .ant-col.ant-form-item-label{height:20px;line-height:20px}.menuslist{z-index:100;width:297px;background:#fff;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px}.menuslist .searchBox{padding:15px;border-bottom:1px solid #eee}.menuslist .ant-anchor-wrapper{margin-left:0;padding:5px 15px;max-height:255px!important}.menuslist .ant-anchor-wrapper .items{border-radius:4px;margin-bottom:5px;cursor:pointer}.menuslist .ant-anchor-wrapper .items .ant-anchor-link-title{color:#333!important}.menuslist .ant-anchor-wrapper .items:hover{background-color:#f3f4f6}.menuslist .ant-anchor-wrapper .items.active{background-color:#2a61ff}.menuslist .ant-anchor-wrapper .items.active .ant-anchor-link-title{color:#fff!important}.menuslist .ant-anchor-wrapper .ant-anchor-link{padding:0;height:30px;line-height:30px}.menuslist .ant-anchor-wrapper .ant-anchor-ink:before{background-color:#fff}.subMenu{display:flex;padding-top:30px}.subMenu a{width:83px;font-weight:500;line-height:30px;height:32px;color:#333!important;text-align:center;border:1px solid #d0d0d0;border-radius:0 4px 4px 0;background:rgba(250,251,252,0)}.subMenu a:first-child{border-right:none;border-radius:4px 0 0 4px}.subMenu a.active{background-color:#466aff;color:#fff!important;border-color:#466aff}.setInputAddon{width:350px;margin-right:20px}.setInputAddon .ant-input-group-addon{height:30px;line-height:30px;border:1px solid #d9d9d9!important;border-right:none!important}.editorBorder .editorBorderBox{border:1px solid #eee;border-radius:2px}.editorBorder .editorBorderSubmitBox{padding:20px 0!important}.userScrew{margin:20px 0;border:1px solid #f4f4f4;border-radius:5px;display:-ms-flexbox;display:flex;padding:20px;position:relative}.userScrew:before{content:"";position:absolute;left:110px;top:-20px;border:10px solid transparent;border-bottom-color:#f4f4f4}.userScrew:after{content:"";position:absolute;left:111px;top:-18px;border:9px solid transparent;border-bottom-color:#fff;z-index:1}.ant-input-group .ant-input:focus{border-right:1px solid #466aff!important}.ant-btn-primary.grey{border:1px solid #bbb;background-color:#bbb}.userScrew .ant-row{margin-bottom:15px}.screwImg{width:34px;height:34px;border-radius:50%;margin-right:10px}.screwPanel{-ms-flex:1 1;flex:1 1}.screwPanel .ant-radio-wrapper{display:block}.branchTable .margin-view-overlays{border-right:1px solid #eaeaea;background-color:#fbfbfb}@media screen and (max-width:400px){.setInputAddon{width:100%;margin-right:0}}.grid-item{display:grid;-ms-flex-align:center;align-items:center;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}.text-right{text-align:right}.upload-file-repo{height:200px;padding-bottom:20px;width:100%;display:inline-block}.monaco-editor .view-overlays .current-line{border:none!important;background-color:rgba(48,232,132,.15)}.monaco-editor .margin-view-overlays .current-line{background-color:rgba(48,232,132,.15)}.branchTable .margin-view-overlays{border-right:none!important;background-color:#fcfcfc!important}.recommandOri.slick-slider{width:1300px;margin:20px auto 40px}.recommandOri.slick-slider .slick-track{margin-left:0}.recommandOri.slick-slider .slick-slide li>a{display:flex;align-items:center;justify-content:center}.iconBtn i{color:#666}.iconBtn span{margin-left:4px;color:#333!important}.iconBtn span:last-child{font-weight:500}.iconBtn:hover i,.iconBtn:hover span{color:#466aff!important}.recommandProjects.slick-slider{width:1230px;margin:20px auto 40px}.recommandProjects.slick-slider .slick-track{margin-left:0}.recommandProjects.slick-slider .slick-arrow.slick-next:before,.recommandProjects.slick-slider .slick-arrow.slick-next li.slick-active button:before,.recommandProjects.slick-slider .slick-arrow.slick-prev:before,.recommandProjects.slick-slider .slick-arrow.slick-prev li.slick-active button:before{color:#999}.recommandProjects.slick-slider .slick-dots{bottom:-29px}.recommandProjects.slick-slider .slick-dots li button:before{color:#909090}.recommandProjects.slick-slider .slick-slide{padding:0 15px;box-sizing:border-box}.recommandProjects.slick-slider .slick-slide>div{background-color:#fff;border-radius:10px;width:100%;cursor:pointer;border:1px solid #eee}.recommandProjects.slick-slider .slick-slide>div:hover{box-shadow:0 2px 20px 0 rgba(0,0,0,.1)}.recommandProjects.slick-slider .baseInfo{padding:18px 15px;display:flex;font-size:12px;color:#888}.recommandProjects.slick-slider .baseInfo .look{margin-right:10px}.recommandProjects.slick-slider .baseInfo .look i{margin-right:5px}.recommandProjects.slick-slider .baseInfo .type{flex:1;width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:right}.recommandProjects.slick-slider .mainInfo{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;border-bottom:1px solid #eee;padding:20px;box-sizing:border-box}.recommandProjects.slick-slider .mainInfo img{height:50px;width:50px;border-radius:50%}.recommandProjects.slick-slider .mainInfo .name{font-size:13px;color:#666;height:18px;line-height:18px;margin-top:12px}.recommandProjects.slick-slider .mainInfo .school{margin-top:12px;color:#333;font-size:16px;height:22px;line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.Panels{max-width:1200px;margin:0 auto}.Panels .panelmenu{padding-top:30px}.Panels .panelmenu .depotBtn .mr-5{margin-right:-5px}.Panels .panelmenu .depotBtn .ant-btn{height:32px;line-height:32px;width:83px;text-align:center;padding:0;font-weight:500;font-size:14px}.Panels .panelmenu .depotBtn .ant-btn-default{color:#333;border-color:#d0d0d0}.Panels .panelmenu .depotBtn .ant-btn-default:hover{background:#f3f4f6}.Panels .panelmenu .depotBtn .ant-btn-primary{color:#fff;background-color:#466aff;border:none}.Panels .panelmenu .depotBtn .ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.Panels .addOptionBtn,.Panels .depotBtn{display:flex}.Panels .addOptionBtn a,.Panels .depotBtn a{color:#333!important;font-weight:500!important;border-radius:5px;width:83px;height:32px;line-height:30px;background:#fff;border:1px solid #d0d0d0;margin-right:10px;text-align:center}.Panels .addOptionBtn a:active,.Panels .addOptionBtn a:hover,.Panels .depotBtn a:active,.Panels .depotBtn a:hover{background:#f3f4f6}.Panels .infoCount{display:inline-block;width:24px;text-align:center;height:24px;line-height:24px;background-color:hsla(0,0%,60%,.13);color:#666;border-radius:12px;margin-left:6px;font-size:12px}.Panels .attrPerson{padding-top:12px;display:flex;flex-wrap:wrap;padding-bottom:2px}.Panels .attrPerson a{margin:0 17px 10px 0}.Panels .attrPerson a img{border-radius:50%;width:40px;height:40px}.Panels .attrPerson a:nth-child(5){margin-right:0}.Panels .progress{display:flex;border-radius:2px;height:11px;margin-top:12px}.Panels .progress span:first-child{border-radius:2px 0 0 2px}.Panels .progress span:last-child{border-radius:0 2px 2px 0}.Panels .progresstip{margin-top:15px;flex-wrap:wrap}.Panels .progresstip i.zero{position:absolute;display:block;border-radius:50%;height:8px;width:8px;left:0;top:8px}.Panels .progresstip>span{padding-left:15px;position:relative;min-width:33.5%;font-size:12px;font-weight:400;color:#666}.Panels .progresstip>span span:last-child{margin-left:5px}.Panels .listtable{margin-top:20px}.Panels .listtable .listtablehead{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 20px 11px;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23);background-color:#fafcff}.Panels .listtable .listtablehead .ellipsistxt{margin-top:2px;margin-left:13px;line-height:18px;flex:1;width:0;color:#666}.Panels .listtable .listtablehead .ellipsistxt:hover .markdown-body,.Panels .listtable .listtablehead .ellipsistxt:hover .markdown-body a{color:#466aff}.Panels .listtable .listtablehead .ellipsistxt #ptxt{margin-bottom:0;word-break:break-all;overflow:unset;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body{line-height:10px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body p{margin:0!important}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ol,.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ul{padding-bottom:3px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ol li,.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ul li{min-height:18px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body table{line-height:1;background:#fafcff}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body:first-child{margin-top:-1px!important}.Panels .listtable .listtablehead .ellipsistxt.hidetxt{height:24px;overflow:hidden;position:relative;padding-right:8px}.Panels .listtable .listtablehead .ellipsis{margin-left:8px;cursor:pointer;height:16px;background:hsla(0,0%,60%,.2);border-radius:2px;padding:0 4px;height:14px;line-height:14px;margin-top:9px}.Panels .listtable .listtablehead .ellipsis i{font-size:15px!important;color:#333;height:14px;line-height:14px}.Panels .listtable .listtablebody{border-radius:0 0 4px 4px;border:1px solid #d0d0d0;border-top:none}.Panels .listtable .listtablebody li.listtablepath a{color:#40a9ff}.Panels .listtable .listtablebody li.listtablepath p{margin-bottom:0!important}.Panels .listtable .listtablebody>li{height:38px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9d9d9;padding:0 20px 0 24px}.Panels .listtable .listtablebody>li:hover{background-color:#f3f4f6}.Panels .listtable .listtablebody>li>span:first-child{width:30%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(2){width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(3){width:10%;text-align:right}.Panels .listtable .listtablebody>li:last-child{border-bottom:none}.drawerBtn{position:fixed;left:-13px;width:33px;background:#fff;border:1px solid #666;border-radius:0 12px 12px 0;height:70px;top:50%;margin-top:-35px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-left:7px}.drawerBtn,.drawerBtn:hover{box-shadow:0 0 8px 3px rgba(0,0,0,.09)}.drawerBtn span{writing-mode:vertical-lr;color:#333;width:25px;font-size:14px}.drawerBtn i{color:#333;height:14px;line-height:14px;width:14px;margin-left:2px;margin-bottom:3px}.downMenu{width:329px;background-color:#fff;box-shadow:0 1px 8px 1px hsla(0,0%,83.1%,.5);padding-bottom:14px}.downMenu .ant-menu-item{height:50px;line-height:50px}.fileMenu{width:83px}.fileMenu li{padding:6px 0!important;text-align:center;width:100%}.catelogue{cursor:pointer;background:#fafbfc;border-radius:4px;border:1px solid #d0d0d0;font-size:15px;font-weight:400;margin-right:12px;padding:0 10px;height:30px;line-height:30px;color:#666!important;display:flex;align-items:center}.catelogue .ant-dropdown-menu-item{border-radius:8px;text-align:left!important}.catelogue .ant-dropdown-menu-item a{width:350px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.catelogue:hover{background-color:#f3f4f6}.catelogue span{margin-top:1px}.submoduleStyle,.submoduleStyle i{cursor:default}.submoduleStyle:hover{color:#05101a}.pinfos a,.pinfos i{color:#666}.pinfos:hover a,.pinfos:hover i{color:#2a61ff!important}.graph{flex:1;margin:0 12px}.graph .ant-typography{white-space:pre-wrap;margin-bottom:0}.ant-anchor-wrapper{padding-left:2px}.ant-anchor-wrapper .ant-anchor-ink:before{background-color:#fff}.coderSubPage{width:1200px;margin:0 auto}.griditemAnchor{margin-left:0;padding:0;border-bottom:1px solid #ddd}.griditemAnchor .ant-anchor{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}.griditemAnchor .griditemCate{color:#333;font-size:16px;display:flex;align-items:center}.griditemAnchor .griditemCate .catelogue{margin-left:0}.ant-drawer{position:fixed;z-index:1000;width:0;height:100%;-webkit-transition:height 0s ease .3s,width 0s ease .3s,-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:height 0s ease .3s,width 0s ease .3s,-webkit-transform .3s cubic-bezier(.7,.3,.1,1);-o-transition:transform .3s cubic-bezier(.7,.3,.1,1),height 0s ease .3s,width 0s ease .3s;transition:transform .3s cubic-bezier(.7,.3,.1,1),height 0s ease .3s,width 0s ease .3s;transition:transform .3s cubic-bezier(.7,.3,.1,1),height 0s ease .3s,width 0s ease .3s,-webkit-transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer>*{-webkit-transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1),-webkit-box-shadow .3s cubic-bezier(.7,.3,.1,1);transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1),-webkit-box-shadow .3s cubic-bezier(.7,.3,.1,1);-o-transition:transform .3s cubic-bezier(.7,.3,.1,1),box-shadow .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),box-shadow .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),box-shadow .3s cubic-bezier(.7,.3,.1,1),-webkit-transform .3s cubic-bezier(.7,.3,.1,1),-webkit-box-shadow .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-content-wrapper{position:absolute}.ant-drawer .ant-drawer-content{width:100%;height:100%}.ant-drawer-left,.ant-drawer-right{top:0;width:0;height:100%}.ant-drawer-left .ant-drawer-content-wrapper,.ant-drawer-right .ant-drawer-content-wrapper{height:100%}.ant-drawer-left.ant-drawer-open,.ant-drawer-right.ant-drawer-open{width:100%;-webkit-transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);-o-transition:transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),-webkit-transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-left.ant-drawer-open.no-mask,.ant-drawer-right.ant-drawer-open.no-mask{width:0}.ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:2px 0 8px rgba(0,0,0,.15);box-shadow:2px 0 8px rgba(0,0,0,.15)}.ant-drawer-right,.ant-drawer-right .ant-drawer-content-wrapper{right:0}.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:-2px 0 8px rgba(0,0,0,.15);box-shadow:-2px 0 8px rgba(0,0,0,.15)}.ant-drawer-right.ant-drawer-open.no-mask{right:1px;-webkit-transform:translateX(1px);-ms-transform:translateX(1px);transform:translateX(1px)}.ant-drawer-bottom,.ant-drawer-top{left:0;width:100%;height:0%}.ant-drawer-bottom .ant-drawer-content-wrapper,.ant-drawer-top .ant-drawer-content-wrapper{width:100%}.ant-drawer-bottom.ant-drawer-open,.ant-drawer-top.ant-drawer-open{height:100%;-webkit-transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);-o-transition:transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),-webkit-transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-bottom.ant-drawer-open.no-mask,.ant-drawer-top.ant-drawer-open.no-mask{height:0%}.ant-drawer-top{top:0}.ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-drawer-bottom,.ant-drawer-bottom .ant-drawer-content-wrapper{bottom:0}.ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:0 -2px 8px rgba(0,0,0,.15);box-shadow:0 -2px 8px rgba(0,0,0,.15)}.ant-drawer-bottom.ant-drawer-open.no-mask{bottom:1px;-webkit-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.ant-drawer.ant-drawer-open .ant-drawer-mask{height:100%;opacity:1;-webkit-transition:none;-o-transition:none;transition:none;-webkit-animation:antdDrawerFadeIn .3s cubic-bezier(.7,.3,.1,1);animation:antdDrawerFadeIn .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-title{margin:0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;line-height:22px}.ant-drawer-content{position:relative;z-index:1;overflow:auto;background-color:#fff;background-clip:padding-box;border:0}.ant-drawer-close{position:absolute;top:0;right:0;z-index:10;display:block;width:56px;height:56px;padding:0;color:rgba(0,0,0,.45);font-weight:700;font-size:16px;font-style:normal;line-height:56px;text-align:center;text-transform:none;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;text-rendering:auto}.ant-drawer-close:focus,.ant-drawer-close:hover{color:rgba(0,0,0,.75);text-decoration:none}.ant-drawer-header{position:relative;padding:16px 24px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0}.ant-drawer-header,.ant-drawer-header-no-title{color:rgba(0,0,0,.65);background:#fff}.ant-drawer-body{padding:24px;font-size:14px;line-height:1.5;word-wrap:break-word}.ant-drawer-wrapper-body{height:100%;overflow:auto}.ant-drawer-mask{position:absolute;top:0;left:0;width:100%;height:0;background-color:rgba(0,0,0,.45);opacity:0;filter:alpha(opacity=45);-webkit-transition:opacity .3s linear,height 0s ease .3s;-o-transition:opacity .3s linear,height 0s ease .3s;transition:opacity .3s linear,height 0s ease .3s}.ant-drawer-open-content{-webkit-box-shadow:0 4px 12px rgba(0,0,0,.15);box-shadow:0 4px 12px rgba(0,0,0,.15)}@-webkit-keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes antCheckboxEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@keyframes antCheckboxEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}.ant-tree.ant-tree-directory{position:relative}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-switcher,.ant-tree.ant-tree-directory>li span.ant-tree-switcher{position:relative;z-index:1}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-switcher.ant-tree-switcher-noop,.ant-tree.ant-tree-directory>li span.ant-tree-switcher.ant-tree-switcher-noop{pointer-events:none}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-checkbox,.ant-tree.ant-tree-directory>li span.ant-tree-checkbox{position:relative;z-index:1}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper{border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper:hover,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper:hover:before,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper:hover:before{background:#e6f7ff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper.ant-tree-node-selected,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper.ant-tree-node-selected{color:#fff;background:transparent}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper:before,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper:before{position:absolute;right:0;left:0;height:24px;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;content:""}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper>span,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper>span{position:relative;z-index:1}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-switcher,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-switcher{color:#fff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox .ant-tree-checkbox-inner,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox .ant-tree-checkbox-inner{border-color:#1890ff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked:after,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked:after{border-color:#fff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background:#fff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:#1890ff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper:before,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper:before{background:#1890ff}.ant-tree-checkbox{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;top:-.09em;display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;outline:none;cursor:pointer}.ant-tree-checkbox-input:focus+.ant-tree-checkbox-inner,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,.ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:#1890ff}.ant-tree-checkbox-checked:after{top:0;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;-webkit-animation:antCheckboxEffect .36s ease-in-out;animation:antCheckboxEffect .36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:""}.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox:after,.ant-tree-checkbox:hover:after{visibility:visible}.ant-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-tree-checkbox-inner:after{position:absolute;top:50%;left:22%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(0) translate(-50%,-50%);-ms-transform:rotate(45deg) scale(0) translate(-50%,-50%);transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;-webkit-transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;-o-transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(1) translate(-50%,-50%);-ms-transform:rotate(45deg) scale(1) translate(-50%,-50%);transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;-webkit-transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;-o-transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-tree-checkbox-disabled{cursor:not-allowed}.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:rgba(0,0,0,.25);-webkit-animation-name:none;animation-name:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-input{cursor:not-allowed}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.ant-tree-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tree-checkbox-disabled:hover:after,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled:after{visibility:hidden}.ant-tree-checkbox-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block;line-height:unset;cursor:pointer}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-tree-checkbox-wrapper+.ant-tree-checkbox-wrapper{margin-left:8px}.ant-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-tree-checkbox-group{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block}.ant-tree-checkbox-group-item{display:inline-block;margin-right:8px}.ant-tree-checkbox-group-item:last-child{margin-right:0}.ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:0}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#1890ff;border:0;-webkit-transform:translate(-50%,-50%) scale(1);-ms-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{background-color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-tree{-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin:0;padding:0}.ant-tree-checkbox-checked:after{position:absolute;top:16.67%;left:0;width:100%;height:66.67%}.ant-tree ol,.ant-tree ul{margin:0;padding:0;list-style:none}.ant-tree li{margin:0;padding:4px 0;white-space:nowrap;list-style:none;outline:0}.ant-tree li span[draggable=true],.ant-tree li span[draggable]{line-height:20px;border-top:2px solid transparent;border-bottom:2px solid transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-khtml-user-drag:element;-webkit-user-drag:element}.ant-tree li.drag-over>span[draggable]{color:#fff;background-color:#1890ff;opacity:.8}.ant-tree li.drag-over-gap-top>span[draggable]{border-top-color:#1890ff}.ant-tree li.drag-over-gap-bottom>span[draggable]{border-bottom-color:#1890ff}.ant-tree li.filter-node>span{color:#f5222d!important;font-weight:500!important}.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-loading-icon,.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-loading-icon{position:absolute;left:0;display:inline-block;width:24px;height:24px;color:#1890ff;font-size:14px;-webkit-transform:none;-ms-transform:none;transform:none}.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-loading-icon svg,.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-loading-icon svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}:root .ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close:after,:root .ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open:after{opacity:0}.ant-tree li ul{margin:0;padding:0 0 0 18px}.ant-tree li .ant-tree-node-content-wrapper{display:inline-block;height:24px;margin:0;padding:0 5px;color:rgba(0,0,0,.65);line-height:24px;text-decoration:none;vertical-align:top;border-radius:2px;cursor:pointer;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-tree li .ant-tree-node-content-wrapper:hover{background-color:#e6f7ff}.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:#bae7ff}.ant-tree li span.ant-tree-checkbox{top:auto;height:24px;margin:0 4px 0 2px;padding:4px 0}.ant-tree li span.ant-tree-iconEle,.ant-tree li span.ant-tree-switcher{display:inline-block;width:24px;height:24px;margin:0;line-height:24px;text-align:center;vertical-align:top;border:0;outline:none;cursor:pointer}.ant-tree li span.ant-tree-iconEle:empty{display:none}.ant-tree li span.ant-tree-switcher{position:relative}.ant-tree li span.ant-tree-switcher.ant-tree-switcher-noop{cursor:default}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon{font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);-ms-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg);display:inline-block;font-weight:700}:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon,:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon{font-size:12px}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon svg,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon{font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);-ms-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg);display:inline-block;font-weight:700}:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon,:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon{font-size:12px}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon svg,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon svg{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.ant-tree li:last-child>span.ant-tree-iconEle:before,.ant-tree li:last-child>span.ant-tree-switcher:before{display:none}.ant-tree>li:first-child{padding-top:7px}.ant-tree>li:last-child{padding-bottom:7px}.ant-tree-child-tree>li:first-child{padding-top:8px}.ant-tree-child-tree>li:last-child{padding-bottom:0}li.ant-tree-treenode-disabled>.ant-tree-node-content-wrapper,li.ant-tree-treenode-disabled>.ant-tree-node-content-wrapper span,li.ant-tree-treenode-disabled>span:not(.ant-tree-switcher){color:rgba(0,0,0,.25);cursor:not-allowed}li.ant-tree-treenode-disabled>.ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree-icon__close,.ant-tree-icon__open{margin-right:2px;vertical-align:top}.ant-tree.ant-tree-show-line li{position:relative}.ant-tree.ant-tree-show-line li span.ant-tree-switcher{color:rgba(0,0,0,.45);background:#fff}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-select-switcher-icon,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-tree-switcher-icon{display:inline-block;font-weight:400;font-size:12px}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-select-switcher-icon svg,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon{display:inline-block;font-weight:400;font-size:12px}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon svg,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon{display:inline-block;font-weight:400;font-size:12px}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon svg,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree.ant-tree-show-line li:not(:last-child):before{position:absolute;left:12px;width:1px;height:100%;height:calc(100% - 22px);margin:22px 0 0;border-left:1px solid #d9d9d9;content:" "}.ant-tree.ant-tree-icon-hide .ant-tree-treenode-loading .ant-tree-iconEle{display:none}.ant-tree.ant-tree-block-node li .ant-tree-node-content-wrapper{width:calc(100% - 24px)}.ant-tree.ant-tree-block-node li span.ant-tree-checkbox+.ant-tree-node-content-wrapper{width:calc(100% - 46px)} \ No newline at end of file diff --git a/static/css/36.e7bef5af.chunk.css b/static/css/36.e7bef5af.chunk.css deleted file mode 100644 index 0cb1c8f9b..000000000 --- a/static/css/36.e7bef5af.chunk.css +++ /dev/null @@ -1 +0,0 @@ -.ant-divider{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";background:#e8e8e8}.ant-divider,.ant-divider-vertical{position:relative;top:-.06em;display:inline-block;width:1px;height:.9em;margin:0 8px;vertical-align:middle}.ant-divider-horizontal{display:block;clear:both;width:100%;min-width:100%;height:1px;margin:24px 0}.ant-divider-horizontal.ant-divider-with-text-center,.ant-divider-horizontal.ant-divider-with-text-left,.ant-divider-horizontal.ant-divider-with-text-right{display:table;margin:16px 0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;white-space:nowrap;text-align:center;background:transparent}.ant-divider-horizontal.ant-divider-with-text-center:after,.ant-divider-horizontal.ant-divider-with-text-center:before,.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-left:before,.ant-divider-horizontal.ant-divider-with-text-right:after,.ant-divider-horizontal.ant-divider-with-text-right:before{position:relative;top:50%;display:table-cell;width:50%;border-top:1px solid #e8e8e8;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%);content:""}.ant-divider-horizontal.ant-divider-with-text-left .ant-divider-inner-text,.ant-divider-horizontal.ant-divider-with-text-right .ant-divider-inner-text{display:inline-block;padding:0 10px}.ant-divider-horizontal.ant-divider-with-text-left:before{top:50%;width:5%}.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-right:before{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:after{top:50%;width:5%}.ant-divider-inner-text{display:inline-block;padding:0 24px}.ant-divider-dashed{background:none;border:dashed #e8e8e8;border-width:1px 0 0}.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed{border-top:0}.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:before{border-style:dashed none none}.ant-divider-vertical.ant-divider-dashed{border-width:0 0 0 1px}.branchDropdown{border:1px solid #eee;border-radius:4px;display:flex;justify-content:center;height:40px;line-height:40px;min-width:220px}.branchDropdown .ant-dropdown-trigger{width:100%;padding:0 15px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.branchOptions{width:220px;box-shadow:0 0 3px 1px hsla(0,0%,52.5%,.4);border-radius:3px;background:#fff;max-height:300px}.OptionsUl{min-height:50px;max-height:220px;overflow-y:auto}.OptionsUl li{height:30px;line-height:30px;cursor:pointer;padding:0 20px;margin:5px 0}.OptionsUl li:hover{background-color:#f0f0f0}.OptionsUl li a{display:block}.OptionsInput{height:32px;padding-left:4px;line-height:32px;width:100%}.branch-tagBox{border:1px solid #d0d0d0;border-radius:3px;height:32px;display:flex;align-items:center;cursor:pointer;min-width:104px}.branch-tagBox:hover{background-color:#f3f4f6}.branch-tagBox-list{background:#fff;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px}.branch-tagBox-list .ant-popover-arrow{display:none}.branch-tagBox-list.ant-popover.ant-popover-placement-bottom{padding-top:0}.branch-tagBox-list .branch-tagBox .ant-dropdown-link{display:block;flex:1;max-width:105px}.branch-tagBox-list .ant-popover-inner-content{padding:0}.overlayBranch{width:325px}.overlayBranch .navUl{margin-top:8px;height:30px;line-height:30px}.overlayBranch .navUl li{height:30px;line-height:30px;padding:0 5px;margin-left:20px!important}.overlayBranch .navUl li.ant-menu-item-selected{border-color:#466aff!important;color:#466aff!important}.overlayBranch .navUl li.ant-menu-item-active{border-color:transparent}.listTips{padding:20px 0;text-align:center}.urlMenu{line-height:30px;margin-bottom:10px;padding:15px 20px 0;border-bottom:none}.urlMenu li.ant-menu-item{height:30px;line-height:30px;padding:0 5px;margin-right:20px!important}.urlMenu li.ant-menu-item.ant-menu-item-active,.urlMenu li.ant-menu-item.ant-menu-item-selected{color:#333}.urlMenu li.ant-menu-item.ant-menu-item-selected{border-color:#466aff!important}.urlMenu li.ant-menu-item.ant-menu-item-active{border-color:transparent}.copytool{margin:0 10px}.ant-anchor{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;padding:0 0 0 2px}.ant-anchor-wrapper{margin-left:-4px;padding-left:4px;overflow:auto;background-color:#fff}.ant-anchor-ink{position:absolute;top:0;left:0;height:100%}.ant-anchor-ink:before{position:relative;display:block;width:2px;height:100%;margin:0 auto;background-color:#e8e8e8;content:" "}.ant-anchor-ink-ball{position:absolute;left:50%;display:none;width:8px;height:8px;background-color:#fff;border:2px solid #1890ff;border-radius:8px;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:top .3s ease-in-out;-o-transition:top .3s ease-in-out;transition:top .3s ease-in-out}.ant-anchor-ink-ball.visible{display:inline-block}.ant-anchor.fixed .ant-anchor-ink .ant-anchor-ink-ball{display:none}.ant-anchor-link{padding:7px 0 7px 16px;line-height:1.143}.ant-anchor-link-title{position:relative;display:block;margin-bottom:6px;overflow:hidden;color:rgba(0,0,0,.65);white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-anchor-link-title:only-child{margin-bottom:0}.ant-anchor-link-active>.ant-anchor-link-title{color:#1890ff}.ant-anchor-link .ant-anchor-link{padding-top:5px;padding-bottom:5px}.ant-affix{position:fixed;z-index:10}.boxPanel{width:1200px;margin:20px auto;border-radius:4px;border:1px solid #eee;min-height:500px}.boxPanel .contrbuteList{display:flex;flex-wrap:wrap;padding:20px;align-items:flex-start}.boxPanel .contrbuteList>div{width:20%}.descmodal .ant-row.ant-form-item{margin-bottom:10px}.descmodal .ant-col.ant-form-item-label{height:20px;line-height:20px}.menuslist{z-index:100;width:297px;background:#fff;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px}.menuslist .searchBox{padding:15px;border-bottom:1px solid #eee}.menuslist .ant-anchor-wrapper{margin-left:0;padding:5px 15px;max-height:255px!important}.menuslist .ant-anchor-wrapper .items{border-radius:4px;margin-bottom:5px;cursor:pointer}.menuslist .ant-anchor-wrapper .items .ant-anchor-link-title{color:#333!important}.menuslist .ant-anchor-wrapper .items:hover{background-color:#f3f4f6}.menuslist .ant-anchor-wrapper .items.active{background-color:#2a61ff}.menuslist .ant-anchor-wrapper .items.active .ant-anchor-link-title{color:#fff!important}.menuslist .ant-anchor-wrapper .ant-anchor-link{padding:0;height:30px;line-height:30px}.menuslist .ant-anchor-wrapper .ant-anchor-ink:before{background-color:#fff}.subMenu{display:flex;padding-top:30px}.subMenu a{width:83px;font-weight:500;line-height:30px;height:32px;color:#333!important;text-align:center;border:1px solid #d0d0d0;border-radius:0 4px 4px 0;background:rgba(250,251,252,0)}.subMenu a:first-child{border-right:none;border-radius:4px 0 0 4px}.subMenu a.active{background-color:#466aff;color:#fff!important;border-color:#466aff}.setInputAddon{width:350px;margin-right:20px}.setInputAddon .ant-input-group-addon{height:30px;line-height:30px;border:1px solid #d9d9d9!important;border-right:none!important}.editorBorder .editorBorderBox{border:1px solid #eee;border-radius:2px}.editorBorder .editorBorderSubmitBox{padding:20px 0!important}.userScrew{margin:20px 0;border:1px solid #f4f4f4;border-radius:5px;display:-ms-flexbox;display:flex;padding:20px;position:relative}.userScrew:before{content:"";position:absolute;left:110px;top:-20px;border:10px solid transparent;border-bottom-color:#f4f4f4}.userScrew:after{content:"";position:absolute;left:111px;top:-18px;border:9px solid transparent;border-bottom-color:#fff;z-index:1}.ant-input-group .ant-input:focus{border-right:1px solid #466aff!important}.ant-btn-primary.grey{border:1px solid #bbb;background-color:#bbb}.userScrew .ant-row{margin-bottom:15px}.screwImg{width:34px;height:34px;border-radius:50%;margin-right:10px}.screwPanel{-ms-flex:1 1;flex:1 1}.screwPanel .ant-radio-wrapper{display:block}.branchTable .margin-view-overlays{border-right:1px solid #eaeaea;background-color:#fbfbfb}@media screen and (max-width:400px){.setInputAddon{width:100%;margin-right:0}}.grid-item{display:grid;-ms-flex-align:center;align-items:center;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}.text-right{text-align:right}.upload-file-repo{height:200px;padding-bottom:20px;width:100%;display:inline-block}.monaco-editor .view-overlays .current-line{border:none!important;background-color:rgba(48,232,132,.15)}.monaco-editor .margin-view-overlays .current-line{background-color:rgba(48,232,132,.15)}.branchTable .margin-view-overlays{border-right:none!important;background-color:#fcfcfc!important}.recommandOri.slick-slider{width:1300px;margin:20px auto 40px}.recommandOri.slick-slider .slick-track{margin-left:0}.recommandOri.slick-slider .slick-slide li>a{display:flex;align-items:center;justify-content:center}.iconBtn i{color:#666}.iconBtn span{margin-left:4px;color:#333!important}.iconBtn span:last-child{font-weight:500}.iconBtn:hover i,.iconBtn:hover span{color:#466aff!important}.recommandProjects.slick-slider{width:1230px;margin:20px auto 40px}.recommandProjects.slick-slider .slick-track{margin-left:0}.recommandProjects.slick-slider .slick-arrow.slick-next:before,.recommandProjects.slick-slider .slick-arrow.slick-next li.slick-active button:before,.recommandProjects.slick-slider .slick-arrow.slick-prev:before,.recommandProjects.slick-slider .slick-arrow.slick-prev li.slick-active button:before{color:#999}.recommandProjects.slick-slider .slick-dots{bottom:-29px}.recommandProjects.slick-slider .slick-dots li button:before{color:#909090}.recommandProjects.slick-slider .slick-slide{padding:0 15px;box-sizing:border-box}.recommandProjects.slick-slider .slick-slide>div{background-color:#fff;border-radius:10px;width:100%;cursor:pointer;border:1px solid #eee}.recommandProjects.slick-slider .slick-slide>div:hover{box-shadow:0 2px 20px 0 rgba(0,0,0,.1)}.recommandProjects.slick-slider .baseInfo{padding:18px 15px;display:flex;font-size:12px;color:#888}.recommandProjects.slick-slider .baseInfo .look{margin-right:10px}.recommandProjects.slick-slider .baseInfo .look i{margin-right:5px}.recommandProjects.slick-slider .baseInfo .type{flex:1;width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:right}.recommandProjects.slick-slider .mainInfo{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;border-bottom:1px solid #eee;padding:20px;box-sizing:border-box}.recommandProjects.slick-slider .mainInfo img{height:50px;width:50px;border-radius:50%}.recommandProjects.slick-slider .mainInfo .name{font-size:13px;color:#666;height:18px;line-height:18px;margin-top:12px}.recommandProjects.slick-slider .mainInfo .school{margin-top:12px;color:#333;font-size:16px;height:22px;line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.Panels{max-width:1200px;margin:0 auto}.Panels .panelmenu{padding-top:30px}.Panels .panelmenu .depotBtn .mr-5{margin-right:-5px}.Panels .panelmenu .depotBtn .ant-btn{height:32px;line-height:32px;width:83px;text-align:center;padding:0;font-weight:500;font-size:14px}.Panels .panelmenu .depotBtn .ant-btn-default{color:#333;border-color:#d0d0d0}.Panels .panelmenu .depotBtn .ant-btn-default:hover{background:#f3f4f6}.Panels .panelmenu .depotBtn .ant-btn-primary{color:#fff;background-color:#466aff;border:none}.Panels .panelmenu .depotBtn .ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.Panels .addOptionBtn,.Panels .depotBtn{display:flex}.Panels .addOptionBtn a,.Panels .depotBtn a{color:#333!important;font-weight:500!important;border-radius:5px;width:83px;height:32px;line-height:30px;background:#fff;border:1px solid #d0d0d0;margin-right:10px;text-align:center}.Panels .addOptionBtn a:active,.Panels .addOptionBtn a:hover,.Panels .depotBtn a:active,.Panels .depotBtn a:hover{background:#f3f4f6}.Panels .infoCount{display:inline-block;width:24px;text-align:center;height:24px;line-height:24px;background-color:hsla(0,0%,60%,.13);color:#666;border-radius:12px;margin-left:6px;font-size:12px}.Panels .attrPerson{padding-top:12px;display:flex;flex-wrap:wrap;padding-bottom:2px}.Panels .attrPerson a{margin:0 17px 10px 0}.Panels .attrPerson a img{border-radius:50%;width:40px;height:40px}.Panels .attrPerson a:nth-child(5){margin-right:0}.Panels .progress{display:flex;border-radius:2px;height:11px;margin-top:12px}.Panels .progress span:first-child{border-radius:2px 0 0 2px}.Panels .progress span:last-child{border-radius:0 2px 2px 0}.Panels .progresstip{margin-top:15px;flex-wrap:wrap}.Panels .progresstip i.zero{position:absolute;display:block;border-radius:50%;height:8px;width:8px;left:0;top:10px}.Panels .progresstip>span{padding-left:15px;position:relative;min-width:33.5%;font-size:12px;font-weight:400;color:#666}.Panels .progresstip>span span:last-child{margin-left:5px}.Panels .listtable{margin-top:20px}.Panels .listtable .listtablehead{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 20px 11px;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23);background-color:#fafcff}.Panels .listtable .listtablehead .ellipsistxt{margin-top:6px;margin-left:13px;line-height:18px;flex:1;width:0;color:#666}.Panels .listtable .listtablehead .ellipsistxt #ptxt{margin-bottom:0;word-break:break-all;overflow:unset;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.Panels .listtable .listtablehead .ellipsistxt.hidetxt{height:18px;overflow:hidden;position:relative;padding-right:8px}.Panels .listtable .listtablehead .ellipsis{margin-left:8px;cursor:pointer;height:16px;background:hsla(0,0%,60%,.2);border-radius:2px;padding:0 4px;height:14px;line-height:14px;margin-top:9px}.Panels .listtable .listtablehead .ellipsis i{font-size:15px!important;color:#333;height:14px;line-height:14px}.Panels .listtable .listtablebody{border-radius:0 0 4px 4px;border:1px solid #d0d0d0;border-top:none}.Panels .listtable .listtablebody li.listtablepath a{color:#40a9ff}.Panels .listtable .listtablebody li.listtablepath p{margin-bottom:0!important}.Panels .listtable .listtablebody>li{height:38px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9d9d9;padding:0 20px 0 24px}.Panels .listtable .listtablebody>li:hover{background-color:#f3f4f6}.Panels .listtable .listtablebody>li>span:first-child{width:30%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(2){width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(3){width:10%;text-align:right}.Panels .listtable .listtablebody>li:last-child{border-bottom:none}.drawerBtn{position:fixed;left:-13px;width:33px;background:#fff;border:1px solid #666;border-radius:0 12px 12px 0;height:70px;top:50%;margin-top:-35px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-left:7px}.drawerBtn,.drawerBtn:hover{box-shadow:0 0 8px 3px rgba(0,0,0,.09)}.drawerBtn span{writing-mode:vertical-lr;color:#333;width:25px;font-size:14px}.drawerBtn i{color:#333;height:14px;line-height:14px;width:14px;margin-left:2px;margin-bottom:3px}.downMenu{width:329px;background-color:#fff;box-shadow:0 1px 8px 1px hsla(0,0%,83.1%,.5);padding-bottom:14px}.downMenu .ant-menu-item{height:50px;line-height:50px}.fileMenu{width:83px}.fileMenu li{padding:6px 0!important;text-align:center;width:100%}.catelogue{cursor:pointer;background:#fafbfc;border-radius:4px;border:1px solid #d0d0d0;font-size:15px;font-weight:400;margin-right:12px;padding:0 10px;height:30px;line-height:30px;color:#666!important;display:flex;align-items:center}.catelogue .ant-dropdown-menu-item{border-radius:8px;text-align:left!important}.catelogue .ant-dropdown-menu-item a{width:350px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.catelogue:hover{background-color:#f3f4f6}.catelogue span{margin-top:1px}.submoduleStyle,.submoduleStyle i{cursor:default}.submoduleStyle:hover{color:#05101a}.pinfos a,.pinfos i{color:#666}.pinfos:hover a,.pinfos:hover i{color:#2a61ff!important}.graph{flex:1;margin:0 12px}.graph .ant-typography{white-space:pre-wrap;margin-bottom:0}.ant-anchor-wrapper{padding-left:2px}.ant-anchor-wrapper .ant-anchor-ink:before{background-color:#fff}.coderSubPage{width:1200px;margin:0 auto}.griditemAnchor{margin-left:0;padding:0;border-bottom:1px solid #ddd}.griditemAnchor .ant-anchor{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}.griditemAnchor .griditemCate{color:#333;font-size:16px;display:flex;align-items:center}.griditemAnchor .griditemCate .catelogue{margin-left:0}.ant-drawer{position:fixed;z-index:1000;width:0;height:100%;-webkit-transition:height 0s ease .3s,width 0s ease .3s,-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:height 0s ease .3s,width 0s ease .3s,-webkit-transform .3s cubic-bezier(.7,.3,.1,1);-o-transition:transform .3s cubic-bezier(.7,.3,.1,1),height 0s ease .3s,width 0s ease .3s;transition:transform .3s cubic-bezier(.7,.3,.1,1),height 0s ease .3s,width 0s ease .3s;transition:transform .3s cubic-bezier(.7,.3,.1,1),height 0s ease .3s,width 0s ease .3s,-webkit-transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer>*{-webkit-transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1),-webkit-box-shadow .3s cubic-bezier(.7,.3,.1,1);transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1),-webkit-box-shadow .3s cubic-bezier(.7,.3,.1,1);-o-transition:transform .3s cubic-bezier(.7,.3,.1,1),box-shadow .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),box-shadow .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),box-shadow .3s cubic-bezier(.7,.3,.1,1),-webkit-transform .3s cubic-bezier(.7,.3,.1,1),-webkit-box-shadow .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-content-wrapper{position:absolute}.ant-drawer .ant-drawer-content{width:100%;height:100%}.ant-drawer-left,.ant-drawer-right{top:0;width:0;height:100%}.ant-drawer-left .ant-drawer-content-wrapper,.ant-drawer-right .ant-drawer-content-wrapper{height:100%}.ant-drawer-left.ant-drawer-open,.ant-drawer-right.ant-drawer-open{width:100%;-webkit-transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);-o-transition:transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),-webkit-transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-left.ant-drawer-open.no-mask,.ant-drawer-right.ant-drawer-open.no-mask{width:0}.ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:2px 0 8px rgba(0,0,0,.15);box-shadow:2px 0 8px rgba(0,0,0,.15)}.ant-drawer-right,.ant-drawer-right .ant-drawer-content-wrapper{right:0}.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:-2px 0 8px rgba(0,0,0,.15);box-shadow:-2px 0 8px rgba(0,0,0,.15)}.ant-drawer-right.ant-drawer-open.no-mask{right:1px;-webkit-transform:translateX(1px);-ms-transform:translateX(1px);transform:translateX(1px)}.ant-drawer-bottom,.ant-drawer-top{left:0;width:100%;height:0%}.ant-drawer-bottom .ant-drawer-content-wrapper,.ant-drawer-top .ant-drawer-content-wrapper{width:100%}.ant-drawer-bottom.ant-drawer-open,.ant-drawer-top.ant-drawer-open{height:100%;-webkit-transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);transition:-webkit-transform .3s cubic-bezier(.7,.3,.1,1);-o-transition:transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1);transition:transform .3s cubic-bezier(.7,.3,.1,1),-webkit-transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-bottom.ant-drawer-open.no-mask,.ant-drawer-top.ant-drawer-open.no-mask{height:0%}.ant-drawer-top{top:0}.ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-drawer-bottom,.ant-drawer-bottom .ant-drawer-content-wrapper{bottom:0}.ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper{-webkit-box-shadow:0 -2px 8px rgba(0,0,0,.15);box-shadow:0 -2px 8px rgba(0,0,0,.15)}.ant-drawer-bottom.ant-drawer-open.no-mask{bottom:1px;-webkit-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.ant-drawer.ant-drawer-open .ant-drawer-mask{height:100%;opacity:1;-webkit-transition:none;-o-transition:none;transition:none;-webkit-animation:antdDrawerFadeIn .3s cubic-bezier(.7,.3,.1,1);animation:antdDrawerFadeIn .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-title{margin:0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;line-height:22px}.ant-drawer-content{position:relative;z-index:1;overflow:auto;background-color:#fff;background-clip:padding-box;border:0}.ant-drawer-close{position:absolute;top:0;right:0;z-index:10;display:block;width:56px;height:56px;padding:0;color:rgba(0,0,0,.45);font-weight:700;font-size:16px;font-style:normal;line-height:56px;text-align:center;text-transform:none;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;text-rendering:auto}.ant-drawer-close:focus,.ant-drawer-close:hover{color:rgba(0,0,0,.75);text-decoration:none}.ant-drawer-header{position:relative;padding:16px 24px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0}.ant-drawer-header,.ant-drawer-header-no-title{color:rgba(0,0,0,.65);background:#fff}.ant-drawer-body{padding:24px;font-size:14px;line-height:1.5;word-wrap:break-word}.ant-drawer-wrapper-body{height:100%;overflow:auto}.ant-drawer-mask{position:absolute;top:0;left:0;width:100%;height:0;background-color:rgba(0,0,0,.45);opacity:0;filter:alpha(opacity=45);-webkit-transition:opacity .3s linear,height 0s ease .3s;-o-transition:opacity .3s linear,height 0s ease .3s;transition:opacity .3s linear,height 0s ease .3s}.ant-drawer-open-content{-webkit-box-shadow:0 4px 12px rgba(0,0,0,.15);box-shadow:0 4px 12px rgba(0,0,0,.15)}@-webkit-keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes antCheckboxEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}@keyframes antCheckboxEffect{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.5}to{-webkit-transform:scale(1.6);transform:scale(1.6);opacity:0}}.ant-tree.ant-tree-directory{position:relative}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-switcher,.ant-tree.ant-tree-directory>li span.ant-tree-switcher{position:relative;z-index:1}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-switcher.ant-tree-switcher-noop,.ant-tree.ant-tree-directory>li span.ant-tree-switcher.ant-tree-switcher-noop{pointer-events:none}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-checkbox,.ant-tree.ant-tree-directory>li span.ant-tree-checkbox{position:relative;z-index:1}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper{border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper:hover,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper:hover:before,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper:hover:before{background:#e6f7ff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper.ant-tree-node-selected,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper.ant-tree-node-selected{color:#fff;background:transparent}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper:before,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper:before{position:absolute;right:0;left:0;height:24px;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;content:""}.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper>span,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper>span{position:relative;z-index:1}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-switcher,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-switcher{color:#fff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox .ant-tree-checkbox-inner,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox .ant-tree-checkbox-inner{border-color:#1890ff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked:after,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked:after{border-color:#fff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background:#fff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:#1890ff}.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper:before,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper:before{background:#1890ff}.ant-tree-checkbox{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;top:-.09em;display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;outline:none;cursor:pointer}.ant-tree-checkbox-input:focus+.ant-tree-checkbox-inner,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,.ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:#1890ff}.ant-tree-checkbox-checked:after{top:0;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;-webkit-animation:antCheckboxEffect .36s ease-in-out;animation:antCheckboxEffect .36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:""}.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox:after,.ant-tree-checkbox:hover:after{visibility:visible}.ant-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-tree-checkbox-inner:after{position:absolute;top:50%;left:22%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(0) translate(-50%,-50%);-ms-transform:rotate(45deg) scale(0) translate(-50%,-50%);transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;-webkit-transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;-o-transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(1) translate(-50%,-50%);-ms-transform:rotate(45deg) scale(1) translate(-50%,-50%);transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;-webkit-transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;-o-transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-tree-checkbox-disabled{cursor:not-allowed}.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:rgba(0,0,0,.25);-webkit-animation-name:none;animation-name:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-input{cursor:not-allowed}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.ant-tree-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tree-checkbox-disabled:hover:after,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled:after{visibility:hidden}.ant-tree-checkbox-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block;line-height:unset;cursor:pointer}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-tree-checkbox-wrapper+.ant-tree-checkbox-wrapper{margin-left:8px}.ant-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-tree-checkbox-group{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";display:inline-block}.ant-tree-checkbox-group-item{display:inline-block;margin-right:8px}.ant-tree-checkbox-group-item:last-child{margin-right:0}.ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:0}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#1890ff;border:0;-webkit-transform:translate(-50%,-50%) scale(1);-ms-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{background-color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-tree{-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin:0;padding:0}.ant-tree-checkbox-checked:after{position:absolute;top:16.67%;left:0;width:100%;height:66.67%}.ant-tree ol,.ant-tree ul{margin:0;padding:0;list-style:none}.ant-tree li{margin:0;padding:4px 0;white-space:nowrap;list-style:none;outline:0}.ant-tree li span[draggable=true],.ant-tree li span[draggable]{line-height:20px;border-top:2px solid transparent;border-bottom:2px solid transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-khtml-user-drag:element;-webkit-user-drag:element}.ant-tree li.drag-over>span[draggable]{color:#fff;background-color:#1890ff;opacity:.8}.ant-tree li.drag-over-gap-top>span[draggable]{border-top-color:#1890ff}.ant-tree li.drag-over-gap-bottom>span[draggable]{border-bottom-color:#1890ff}.ant-tree li.filter-node>span{color:#f5222d!important;font-weight:500!important}.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-loading-icon,.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-loading-icon{position:absolute;left:0;display:inline-block;width:24px;height:24px;color:#1890ff;font-size:14px;-webkit-transform:none;-ms-transform:none;transform:none}.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-loading-icon svg,.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-loading-icon svg{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto}:root .ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close:after,:root .ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open:after{opacity:0}.ant-tree li ul{margin:0;padding:0 0 0 18px}.ant-tree li .ant-tree-node-content-wrapper{display:inline-block;height:24px;margin:0;padding:0 5px;color:rgba(0,0,0,.65);line-height:24px;text-decoration:none;vertical-align:top;border-radius:2px;cursor:pointer;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-tree li .ant-tree-node-content-wrapper:hover{background-color:#e6f7ff}.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:#bae7ff}.ant-tree li span.ant-tree-checkbox{top:auto;height:24px;margin:0 4px 0 2px;padding:4px 0}.ant-tree li span.ant-tree-iconEle,.ant-tree li span.ant-tree-switcher{display:inline-block;width:24px;height:24px;margin:0;line-height:24px;text-align:center;vertical-align:top;border:0;outline:none;cursor:pointer}.ant-tree li span.ant-tree-iconEle:empty{display:none}.ant-tree li span.ant-tree-switcher{position:relative}.ant-tree li span.ant-tree-switcher.ant-tree-switcher-noop{cursor:default}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon{font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);-ms-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg);display:inline-block;font-weight:700}:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon,:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon{font-size:12px}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon svg,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon{font-size:12px;font-size:10px\9;-webkit-transform:scale(.83333333) rotate(0deg);-ms-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg);display:inline-block;font-weight:700}:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon,:root .ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon{font-size:12px}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon svg,.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon svg{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.ant-tree li:last-child>span.ant-tree-iconEle:before,.ant-tree li:last-child>span.ant-tree-switcher:before{display:none}.ant-tree>li:first-child{padding-top:7px}.ant-tree>li:last-child{padding-bottom:7px}.ant-tree-child-tree>li:first-child{padding-top:8px}.ant-tree-child-tree>li:last-child{padding-bottom:0}li.ant-tree-treenode-disabled>.ant-tree-node-content-wrapper,li.ant-tree-treenode-disabled>.ant-tree-node-content-wrapper span,li.ant-tree-treenode-disabled>span:not(.ant-tree-switcher){color:rgba(0,0,0,.25);cursor:not-allowed}li.ant-tree-treenode-disabled>.ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree-icon__close,.ant-tree-icon__open{margin-right:2px;vertical-align:top}.ant-tree.ant-tree-show-line li{position:relative}.ant-tree.ant-tree-show-line li span.ant-tree-switcher{color:rgba(0,0,0,.45);background:#fff}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-select-switcher-icon,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-tree-switcher-icon{display:inline-block;font-weight:400;font-size:12px}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-select-switcher-icon svg,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher-noop .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon{display:inline-block;font-weight:400;font-size:12px}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-select-switcher-icon svg,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon{display:inline-block;font-weight:400;font-size:12px}.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-select-switcher-icon svg,.ant-tree.ant-tree-show-line li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.ant-tree.ant-tree-show-line li:not(:last-child):before{position:absolute;left:12px;width:1px;height:100%;height:calc(100% - 22px);margin:22px 0 0;border-left:1px solid #d9d9d9;content:" "}.ant-tree.ant-tree-icon-hide .ant-tree-treenode-loading .ant-tree-iconEle{display:none}.ant-tree.ant-tree-block-node li .ant-tree-node-content-wrapper{width:calc(100% - 24px)}.ant-tree.ant-tree-block-node li span.ant-tree-checkbox+.ant-tree-node-content-wrapper{width:calc(100% - 46px)} \ No newline at end of file diff --git a/static/css/38.69d15722.chunk.css b/static/css/38.69d15722.chunk.css deleted file mode 100644 index 9b551fbec..000000000 --- a/static/css/38.69d15722.chunk.css +++ /dev/null @@ -1 +0,0 @@ -#root{position:relative;min-height:100%}body{overflow:auto!important}body>.-task-title{opacity:1!important}#root .search-all{width:219px}.newContainers{height:100%;min-height:100%;overflow:hidden}.newContainers,.newHeaders{min-width:1200px;max-width:unset}.newHeaders{width:100%;height:70px;z-index:1000;background:#fff;position:fixed;-webkit-box-shadow:0 0 14px rgb(0 0 0/10%);box-shadow:0 0 14px rgb(0 0 0/10%)}.headerContent{width:1200px;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%}.globalSpin{max-height:700px!important}.indexHOC>.ant-spin-nested-loading{background:#000;height:100%}.indexHOC>.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{top:50%!important}.globalSpin .ant-spin-text{text-shadow:none!important;color:#fff}.globalSpin .ant-spin-dot-item{background-color:#fff}.newHeader .logoimg{margin-top:16px;float:left;width:97px}#header_keyword_search,.headIcon{padding-top:13px!important}.search-icon{height:30px!important}.search-icon i{font-size:20px}#header_keyword_search i{color:#4cacff}.ant-select-selection--multiple{padding-bottom:0!important;padding-top:3px}.ant-select-selection--multiple .ant-select-selection__rendered>ul>li,.ant-select-selection--multiple>ul>li{height:25px!important;line-height:23px!important;margin-bottom:3px;margin-top:0}.newContainer{background:#fff}.ant-modal-title{font-size:16px;font-weight:700!important;color:#333;text-align:center}@-moz-document url-prefix(){.ant-radio-inner{width:17px!important;height:17px!important}}.shixunDetail_top{display:block!important;padding-top:48px}.totalScore{display:block!important;padding-top:40px}.edu-menu-panel .edu-menu-listnew:hover .careersiconfont{color:#000!important}.newHeader{background:#24292d!important;height:60px!important}.HeaderSearch{margin-top:18px;margin-right:20px}.HeaderSearch .ant-input-search .ant-input{background:#373e3f!important;border:1px solid #373e3f!important}.ant-input-search .ant-input-affix-wrapper{border:transparent}.ant-input:focus{border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.HeaderSearch .ant-input-search .ant-input::-webkit-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-moz-placeholder,.HeaderSearch .ant-input-search .ant-input::-moz-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-ms-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input-suffix .anticon-search{color:#999}.HeaderSearch .ant-input-search .ant-input{color:#fff}.HeaderSearch .ant-input-search .ant-input-suffix{background:transparent!important}.roundedRectangles{position:absolute;top:10px;right:-22px}.HeaderSearch{width:325px}.HeaderSearch .ant-input-search{right:20px}.mainheighs{height:100%;display:block}.ml18a{margin-left:18%}.logoimg{float:left;min-width:40px;height:40px}.headwith100b{width:100%}.wechatcenter{text-align:center}.myrigthsiderbar{right:9%!important}.feedbackdivcolor{background:#33bd8c!important;height:49px!important;line-height:24px!important}.xiaoshou{cursor:pointer}.questiontypes{width:37px;height:17px}.questiontype,.questiontypes{font-size:12px;color:#333;line-height:17px;cursor:pointer}.questiontype{width:100%;text-align:center;padding:11px}.questiontypeheng{width:100%;height:1px;background:#eee}.mystask-sidebar{right:181px!important}.mystask-sidebars{right:20px!important}.shitikussmys{width:29px!important;height:20px!important;background:#ff6601!important;border-radius:10px!important;position:absolute!important;font-size:11px!important;color:#fff!important;line-height:20px!important;top:-13px!important;right:-10px!important}.maxnamewidth30{max-width:30px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;cursor:default}.mystask-sidebarss{right:5px!important}.simple-rate{font-size:16px!important}.ant-rate-star:not(:last-child){margin-right:2px!important}.flex-container{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;margin-bottom:4px;-ms-flex-align:center;align-items:center}.progress-container{-ms-flex:1 0;flex:1 0;margin-left:20px}.dropdownFlex{display:flex;background:#fff;border-radius:3px}.dropdownFlex .ant-menu-vertical>.ant-menu-item{border:none;height:35px;line-height:35px;margin:0}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected{background-color:#fff}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected a{color:rgba(0,0,0,.65)!important}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-active a{color:#4cacff!important}.dropdownFlex .ant-menu-vertical{border:none}.currentImg{width:34px;height:34px;border-radius:50%;margin-left:15px}.currentMenu{width:120px;text-align:center;padding:0}.currentMenu .currentName{padding:0 8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.currentMenu li{height:40px;line-height:40px;padding:0!important;cursor:default}.currentMenu li:hover{background-color:#fff}.currentMenu li:first-child{border-bottom:1px solid #eee}.currentMenu li:last-child{border-top:1px solid #eee}.currentMenu li:last-child a{border-radius:0 0 4px 4px}.currentMenu li a{padding:0;margin:0;display:block;color:#666}.currentMenu li a:hover{color:#fff;background:#4cacff}.newFooter{position:absolute;bottom:0;width:100%;background:#323232;clear:both;min-width:1200px;z-index:8;left:0}.newFooter p{margin-top:0;margin-bottom:0!important}.newFooter .footerInfos{display:flex;max-width:1200px;margin:0 auto;justify-content:space-around;padding:60px 0}.newFooter .footerInfos>ul{padding:0 40px;box-sizing:border-box;max-width:25%;text-align:left}.newFooter .footerInfos>ul li{color:#fff;font-weight:300}.newFooter .footerInfos>ul li:first-child{font-size:17px}.newFooter .footerInfos>ul li>a,.newFooter .footerInfos>ul li>span{color:#bbb}.newFooter .footerInfos>ul li>a:hover{color:#4cacff}.newFooter .footerCopy{color:#bbb;border-top:1px solid #4e4e4e;padding:10px 0}.newFooter .footerCopy a{color:#bbb}.newFooter .footerCopy a:hover{color:#4cacff}.inviteForm .ant-form-item{margin-right:0}.inviteForm .ant-form-item-label{width:110px;text-align:right}.notice-popover .ant-popover-arrow{display:none}.notice-popover .ant-popover-inner-content{width:386px;height:446px;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px;margin-top:-10px;padding:12px 1px 12px 0}.messageHoverDiv .ant-menu-item{margin-right:24px!important}.hoverNotice-head{margin-left:18px}.hoverNotice-head .ant-badge{font-size:14px!important}.hoverNotice-head>.ant-menu-horizontal{border-bottom:1px solid #e8e8e8!important}.hoverNotice-body{height:342px;overflow-y:scroll}.hoverNotice-body b{font-weight:400;text-shadow:.5px 0 0 #333}.hoverNotice-body .none_panels{height:100%}.message-icon{position:relative}.message-icon .ant-scroll-number{right:12px;padding:0}.hoverNotice-buttom{display:flex;justify-content:space-between;padding:12px 18px}.hoverNotice-buttom a{color:#466aff}.hoverNotice-buttom a:hover{opacity:.85}.noticeCont-back .pointer{cursor:pointer}.noticeCont-back:hover{background:#f3f4f6}.noticeCont{display:flex;margin:0 16px 0 18px;padding:12px 0 10px;line-height:24px;border-bottom:1px solid #eee;cursor:default}.noticeCont i{font-size:14px!important;margin-right:6px;color:#333}.noticeCont .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333}.noticeCont .noticeCont-text{display:flex;color:#333;flex:auto;justify-content:space-between}.noticeCont .noticeCont-text .content-span{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.noticeCont .noticeCont-text .atme-cont-span{width:272px}.noticeCont .noticeCont-text .notice-cont-span{width:255px}.noticeCont .noticeCont-text .timeSpan{font-size:12px;color:#666}.noticeCont .noticeCont-text .at-name{margin-right:12px}.text-center{text-align:center}dl,ol,ul{margin-bottom:0}.newMain{background-color:#fff}.color-black{color:#333}.projectallName{font-size:22px;font-weight:400;line-height:30px;max-width:690px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.projectallName .projectN{word-break:break-all}.textRight{text-align:right}.main{width:1200px;padding:20px;margin:20px auto;background:#fff;border-radius:2px;border:1px solid #eee}.radius-2{border-radius:2px}.normal{width:1200px;margin:0 auto}.back-white{background:#fff}.back-black{background:#000}.btn_32{border-radius:4px;padding:0 12px;height:32px;line-height:32px;background-color:#f4f4f4;color:#666;display:inline-block}@media screen and (max-width:1200px){.main{width:1000px;margin:10px auto}}.hide-1{display:inline-block;white-space:nowrap}.hide-1,.hide-2{overflow:hidden;text-overflow:ellipsis}.hide-2{display:inline-block;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.df{display:flex}.flex-1{flex:1;width:0}.f-wrap-between{display:flex;flex-wrap:wrap;justify-content:space-between}.f-wrap-alignCenter{display:flex;flex-wrap:wrap;align-items:center}.f-wrap-alignCenter>span,.f-wrap-alignCenter a:link,.f-wrap-alignCenter a:visited{color:#333}.f-wrap-alignCenter>span{cursor:default}.commitDesc{flex:1;line-height:20px;word-break:break-all;width:49rem;overflow:hidden;white-space:normal}.commitDesc:hover{text-decoration:underline}.normalBox{border-radius:4px;border:1px solid #ddd}.normalBox-title{padding:10px;background-color:#f4f4f4;line-height:18px}.none_panels{text-align:center;height:400px;display:flex;justify-content:center;align-items:center}.none_panels.small{height:120px}.none_panels.small img{width:50px}.none_panels img{margin-bottom:15px}.none_p_title{font-size:16px;color:#999}form.ant-form{color:#333}.required{position:relative}.required:before{content:"*";color:red;position:absolute;left:-10px;top:0;line-height:22px}form .ant-row.ant-form-item{margin-bottom:20px}@media screen and (max-width:1000px){.main{margin:1rem auto}.main,.normal{width:750px}}@media screen and (max-width:750px){.main{width:95%;margin:1rem auto}.normal{width:100%}}.ver-middle{vertical-align:middle}.pd510{padding:5px 10px}.modalsStyle .ant-modal-content>.ant-modal-header{text-align:left!important}.modalsStyle .ant-modal-body{max-width:400px;margin:0 auto;text-align:left;min-height:140px;display:flex;align-items:center}.modalsStyle .ant-modal-close-x{margin-top:8px}.list-l-Menu,.list-r-Info>div{box-shadow:0 0 2px rgba(0,0,0,.2)}.list-l-Menu{margin-bottom:12px;border-radius:2px;background-color:#fff}.list-l-Menu>li{font-size:1rem;padding:0 0 0 20px;box-sizing:border-box;color:#333;position:relative}.list-l-Menu>li>p{height:62px;line-height:62px;width:100%;border-bottom:1px solid #eee;display:flex;justify-content:space-between;cursor:pointer;padding-right:20px;margin:0}.list-l-Menu>li>p a{width:100%}.list-l-Menu>li>p span:last-child{color:#999}.list-l-Menu>li:last-child>p{border-bottom:none}.list-l-Menu>li:not(.MenuTitle):hover,.list-l-Menu li.active{background-color:#fafafa}.list-l-Menu li.active:before{position:absolute;left:0;top:15px;width:6px;content:"";height:33px;background:#4cacff}.list-l-Menu .MenuTitle{font-size:16px;background-size:100% 100%;color:#333!important;height:62px;line-height:62px;border-bottom:1px solid #e0e0e0;font-weight:400}.list-l-Menu .ant-menu-inline{border:none}.list-l-Menu .ant-menu-inline .ant-menu-item{width:100%!important}.list-l-Menu .ant-menu-item-group-title{padding:0}.group-setting-switch{border:1px solid #ddd!important;background-color:#fff!important}.ant-btn.ant-btn-background-ghost{border-color:#d0d0d0}.ant-btn.ant-btn-background-ghost.ant-btn-primary:hover{background-color:#1890ff!important;border-color:#1890ff;color:#fff}.ant-btn.ant-btn-background-ghost.ant-btn-danger:hover{background-color:#df0002!important;border-color:#df0002;color:#fff}.newPopUl li{height:30px;line-height:30px;border-bottom:1px solid #eee;min-width:78px;text-align:center}.newPopUl li:last-child{border-bottom:none}.btn-83{width:83px;height:32px;line-height:30px;text-align:center;background:#fafbfc;border:1px solid #d0d0d0;display:inline-block;border-radius:5px;font-weight:500;color:#333!important;margin-right:15px}.btn-83:hover{background:#f3f4f6;color:#333!important}.btn-83:active{background:#d0d0d0;color:#333!important}.shadow:hover{background:#eeeff1;border-bottom-left-radius:4px;border-top-left-radius:4px}a.hover:hover{text-decoration:underline}button.ant-btn-primary.btnblue{background-color:#466aff;border-color:#466aff}button.ant-btn-primary.btnblue:hover{background-color:rgba(70,106,255,.85);border-color:rgba(70,106,255,.85)}button.btngrey{background-color:#fff;border-color:#d0d0d0;color:#666}button.btngrey:focus,button.btngrey:hover{border-color:hsla(0,0%,60%,.5);color:#666}.notice-manager-tip{font-size:16px;font-weight:400}.manager-cont-top{font-size:14px;font-weight:600;height:44px;padding-left:20px;background:#fafcff;border:1px solid #89a4f7;line-height:44px;border-top-left-radius:3px;border-top-right-radius:3px;margin-top:25px}.manager-cont{padding:8px 20px 6px;display:flex;align-items:center;font-size:14px}.manager-cont .manager-cont-title{width:320px}.notice01 .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:#fff}.notice01 .ant-checkbox-disabled .ant-checkbox-inner{background-color:#999!important;border-color:#999!important}.notice01 .ant-checkbox-checked .ant-checkbox-inner{background-color:#466aff;border:#466aff}.notice01 .ant-checkbox-checked:after{border:1px solid #466aff}.notice01 .ant-checkbox-input:focus+.ant-checkbox-inner,.notice01 .ant-checkbox-wrapper:hover .ant-checkbox-inner,.notice01 .ant-checkbox:hover .ant-checkbox-inner,.notice01 .ant-radio-checked .ant-radio-inner,.notice01 .ant-radio-input:focus+.ant-radio-inner,.notice01 .ant-radio-wrapper:hover .ant-radio,.notice01 .ant-radio:hover .ant-radio-inner{border-color:#466aff}.notice01 .ant-checkbox+span,.notice01 .manager-cont-title{color:#000}.notice01 .ant-radio-inner:after{background-color:#466aff}.notice01 .but25{color:#fff}.notice01 .but25,.notice01 .but25:hover{background-color:#466aff;border-color:#466aff}.notice01 .but25:hover{opacity:.8}.notice01 .but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.notice01 ::-webkit-scrollbar{width:5px}.notice01 ::-webkit-scrollbar-thumb{border-radius:6px;box-shadow:inset 0 0 6px #fff;background-color:#d4d4d4}.notice01 ::-webkit-scrollbar-track{box-shadow:inset 0 0 6px #fff;background-color:#fff}.whiteBack{background-color:#fff}.whiteBack .boies{width:1200px;margin:0 auto;padding:30px 0 10px}.whiteBack .boies .shortW{width:198px;border:1px solid hsla(0,0%,60%,.22);border-radius:4px;margin-bottom:30px}.whiteBack .boies .shortW .userDetail{background:hsla(0,0%,60%,.05);border-radius:4px 4px 0 0;padding:20px 25px;text-align:center;height:105px}.whiteBack .boies .shortW .userDetail img{height:48px;width:48px;border-radius:50%}.whiteBack .boies .shortW .userDetail span{font-size:16px;color:#333;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}.whiteBack .boies .shortW .securityUl{padding-left:17px;color:#333;margin-bottom:0;padding-bottom:12px;padding-top:5px}.whiteBack .boies .shortW .securityUl li{font-size:14px;margin-top:10px;margin-bottom:10px;height:27px;line-height:27px;position:relative;cursor:default}.whiteBack .boies .shortW .securityUl li a{color:#666}.whiteBack .boies .shortW .securityUl li.active a,.whiteBack .boies .shortW .securityUl li a:hover{color:#333}.whiteBack .boies .shortW .securityUl li.active a .text-shodow-bold{font-weight:400;text-shadow:.5px 0 #333}.whiteBack .boies .shortW .securityUl li.active:before{position:absolute;left:-18px;top:6px;height:15px;width:3px;border-radius:2px;content:"";background-color:#466aff}.whiteBack .boies .shortW .securityUl li i{font-size:14px!important;margin-right:8px}.whiteBack .boies .shortW .ul-border-buttom{border-bottom:1px solid hsla(0,0%,60%,.22);padding-bottom:5px}.whiteBack .boies .sshHead{display:flex;align-items:center;padding:6px 0;margin-bottom:15px;justify-content:space-between;border-bottom:1px solid #eee}.whiteBack .boies .sshHead>.text-shadow07{font-size:18px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead>.add-SSH-title{font-size:16px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead .but25{padding:0 12px}.whiteBack .boies .ant-list-item{padding:20px;border-bottom:1px solid #eee!important}.whiteBack .boies .ant-list-item>img{margin-right:24px}.whiteBack .boies .ant-list-item>div{flex:1;width:0;margin-right:20px}.whiteBack .boies .ant-list-item>div p{margin-bottom:8px!important}.whiteBack .boies .ant-list-item>div span{font-size:12px}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger{background-color:#fff;border-color:#d0d0d0;color:#df0002}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger:hover{background-color:#df0002;color:#fff;border-color:#df0002}.whiteBack .boies .questionLink{padding:15px 20px}.whiteBack .boies .questionLink a{color:#466aff}.whiteBack .boies .questionLink a:hover{text-decoration:underline}.whiteBack .boies .sshForm{padding:15px 20px}.whiteBack .boies .sshForm .ant-col.ant-form-item-label{font-size:16px;color:#333}.descModal .ant-modal-title{text-align:left;font-size:20px}.descModal .keyContent{border:1px solid #eee;border-radius:4px;padding:10px 15px;margin-top:10px;max-height:200px;overflow-y:auto}.descModal .keysTitle{display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap}.descModal .keysTitle span:last-child{word-break:break-all;flex:1}.but25{margin-bottom:5px;color:#fff}.but25,.but25:hover{background-color:#466aff;border-color:#466aff}.but25:hover{opacity:.8}.but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.blue-Purple{color:#466aff!important}.whiteBack .boies .sshHead{padding:0 10px 0 0}.sshHead .ant-badge{font-size:16px;color:#333}.sshHead .ant-menu-item{padding:0;margin-right:34px!important;height:34px;width:64px;text-align:center;line-height:0;position:relative}.sshHead .ant-menu-horizontal>.ant-menu-item,.sshHead li.ant-menu-item{border-bottom:0}.sshHead .ant-menu-item-selected{color:#333;font-weight:400;text-shadow:.5px 0 #333;border-bottom:2px solid #2a61ff!important}.sshHead .ant-badge-count,.sshHead .ant-badge-dot,.sshHead .ant-badge .ant-scroll-number-custom-component{right:-6px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0}.sshHead .ant-badge-multiple-words{padding:0}.sshHead .ant-menu-horizontal{border-bottom:0 solid #e8e8e8}.sshHead button{padding:0 5px}button{color:#333;background:#fafbfc;border:1px solid #d0d0d0;border-radius:4px;height:32px}button:hover{background:#f3f4f6}button:active{background:#ebecf0}.deleteBut{color:#df0002}.deleteBut:hover{background:#df0002;border:1px solid #df0002;color:#fff}.deleteBut:active{background:#ce0002;border:1px solid #ce0002;color:#fff}.mynotice-content{justify-content:space-between;padding:15px 0 15px 10px;border-bottom:1px solid #eee;color:#333}.mynotice-content:hover{background:#f3f4f6}.mynotice-content img{cursor:pointer}.mynotice-content b{font-weight:400;text-shadow:.5px 0 #333}.mynotice-content .invisable-read{display:none}.mynotice-content:hover .invisable-read{display:block;color:#466aff;opacity:.6;cursor:pointer}.mynotice-content:hover .invisable-read:hover{opacity:1}.mynotice-content:hover .timeSpan{display:none}.mynotice-content i{font-size:16px!important;margin-right:5px}.mynotice-content .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333;margin:0 8px}.mynotice-content .currentImg{width:40px;height:40px;margin-left:0}.mynotice-content .private-letter-img+.ant-badge-count{top:2px;right:5px;height:18px;min-width:18px;line-height:18px;padding:0}.mynotice-content .highlightSpan:hover{color:#466aff;cursor:pointer}.mynotice-content .mynotice-cont{padding:0;cursor:default}.mynotice-content .mynotice-cont .visible-checkbox{margin-right:10px}.mynotice-content .mynotice-cont .invisible-checkbox{display:none}.mynotice-content .mynotice-cont .atme-notice-text{margin-left:6px}.mynotice-content .mynotice-cont .atme-notice-text .atme-notice-name{margin:0}.mynotice-content .mynotice-cont .atme-notice-text .atme-length{max-width:48rem;word-break:break-all}.mynotice-content .ant-badge-count,.mynotice-content .ant-badge-dot,.mynotice-content .ant-badge .ant-scroll-number-custom-component{-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0;top:3px;right:4px;min-width:8px;height:8px}.mynotice-content .system-notice-blank{margin-right:14px}.batchDel .atme-notice-text,.batchDel .currentImg{pointer-events:none}.baselineDiv{align-items:baseline}.invisible{display:none}.visible{display:flex;justify-content:space-between;height:30px;padding:0 10px;color:#333;margin-bottom:5px}.visible button{padding:0 12px}.visible .batchDeleteBut{border:1px solid #466aff;color:#466aff}.private-letter-right{flex:auto;margin:0 10px 0 16px}.private-letter-right div{display:flex;justify-content:space-between}.letter-length-limit{max-width:50rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sysNotice-length{max-width:52rem;word-break:break-all}.numberSpan{color:#466aff}.vertical-center-style{display:flex;align-items:center}.stretch-style{display:flex;align-items:baseline}.float-left-little{margin-right:10px}.float-right-little{margin-left:12px}.paging{text-align:center;margin:12px}.ant-modal-mask{z-index:1031}.ant-modal-wrap{z-index:1032}.deleteBox{z-index:1033}.deleteBox .ant-modal-close-x{font-size:17px!important}.deleteBox .ant-modal-header{background-color:#f8f8f8;padding:10px 30px}.deleteBox .ant-modal-header .ant-modal-title{text-align:left;font-size:16px;font-weight:700}.deleteBox .ant-modal-close{top:0!important;font-size:24px!important}.deleteBox .ant-modal-body{padding:30px 50px}.deleteBox .ant-modal-body p{font-size:14px;line-height:26px;color:#666;word-break:break-all}.deleteBox .ant-modal-body .desc .descMain{align-items:center;justify-content:center;font-size:20px;margin-bottom:10px}.deleteBox .ant-modal-body .desc .descMain i.red{color:#df0002}.deleteBox .ant-modal-footer{border-top:none;text-align:center;padding-bottom:40px}.deleteBox .ant-modal-footer a,.deleteBox .ant-modal-footer button{width:96px;height:32px;margin:0 20px;font-weight:400;font-size:14px}.deleteBox .ant-modal-footer a.ant-btn,.deleteBox .ant-modal-footer button.ant-btn{border-color:#d0d0d0;color:#666}.deleteBox .ant-modal-footer a.ant-btn:active,.deleteBox .ant-modal-footer a.ant-btn:focus,.deleteBox .ant-modal-footer a.ant-btn:hover,.deleteBox .ant-modal-footer button.ant-btn:active,.deleteBox .ant-modal-footer button.ant-btn:focus,.deleteBox .ant-modal-footer button.ant-btn:hover{background:#f3f4f6}.deleteBox .ant-modal-footer a.ant-btn-danger,.deleteBox .ant-modal-footer button.ant-btn-danger{background-color:#fff;color:#df0002;border-color:#d0d0d0}.deleteBox .ant-modal-footer a.ant-btn-danger:active,.deleteBox .ant-modal-footer a.ant-btn-danger:focus,.deleteBox .ant-modal-footer a.ant-btn-danger:hover,.deleteBox .ant-modal-footer button.ant-btn-danger:active,.deleteBox .ant-modal-footer button.ant-btn-danger:focus,.deleteBox .ant-modal-footer button.ant-btn-danger:hover{border-color:#df0002;background-color:#fff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary{background-color:#466aff;color:#fff;border-color:#466aff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:hover,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.contents{display:flex;align-items:center;justify-content:center;margin:10px auto 0}.contents img{margin-right:13px;width:44px}.contents p{line-height:29px;max-width:327px;font-size:16px!important}.font-44{font-size:44px!important} \ No newline at end of file diff --git a/static/css/38.b886fd74.chunk.css b/static/css/38.b886fd74.chunk.css new file mode 100644 index 000000000..09aa82f3f --- /dev/null +++ b/static/css/38.b886fd74.chunk.css @@ -0,0 +1 @@ +#root{position:relative;min-height:100%}body{overflow:auto!important}body>.-task-title{opacity:1!important}#root .search-all{width:219px}.newContainers{height:100%;min-height:100%;overflow:hidden}.newContainers,.newHeaders{min-width:1200px;max-width:unset}.newHeaders{width:100%;height:70px;z-index:1000;background:#fff;position:fixed;-webkit-box-shadow:0 0 14px rgb(0 0 0/10%);box-shadow:0 0 14px rgb(0 0 0/10%)}.headerContent{width:1200px;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%}.globalSpin{max-height:700px!important}.indexHOC>.ant-spin-nested-loading{background:#000;height:100%}.indexHOC>.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{top:50%!important}.globalSpin .ant-spin-text{text-shadow:none!important;color:#fff}.globalSpin .ant-spin-dot-item{background-color:#fff}.newHeader .logoimg{margin-top:16px;float:left;width:97px}#header_keyword_search,.headIcon{padding-top:13px!important}.search-icon{height:30px!important}.search-icon i{font-size:20px}#header_keyword_search i{color:#4cacff}.ant-select-selection--multiple{padding-bottom:0!important;padding-top:3px}.ant-select-selection--multiple .ant-select-selection__rendered>ul>li,.ant-select-selection--multiple>ul>li{height:25px!important;line-height:23px!important;margin-bottom:3px;margin-top:0}.newContainer{background:#fff}.ant-modal-title{font-size:16px;font-weight:700!important;color:#333;text-align:center}@-moz-document url-prefix(){.ant-radio-inner{width:17px!important;height:17px!important}}.shixunDetail_top{display:block!important;padding-top:48px}.totalScore{display:block!important;padding-top:40px}.edu-menu-panel .edu-menu-listnew:hover .careersiconfont{color:#000!important}.newHeader{background:#24292d!important;height:60px!important}.HeaderSearch{margin-top:18px;margin-right:20px}.HeaderSearch .ant-input-search .ant-input{background:#373e3f!important;border:1px solid #373e3f!important}.ant-input-search .ant-input-affix-wrapper{border:transparent}.ant-input:focus{border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.HeaderSearch .ant-input-search .ant-input::-webkit-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-moz-placeholder,.HeaderSearch .ant-input-search .ant-input::-moz-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input:-ms-input-placeholder{color:#999;font-size:14px}.HeaderSearch .ant-input-search .ant-input-suffix .anticon-search{color:#999}.HeaderSearch .ant-input-search .ant-input{color:#fff}.HeaderSearch .ant-input-search .ant-input-suffix{background:transparent!important}.roundedRectangles{position:absolute;top:10px;right:-22px}.HeaderSearch{width:325px}.HeaderSearch .ant-input-search{right:20px}.mainheighs{height:100%;display:block}.ml18a{margin-left:18%}.logoimg{float:left;min-width:40px;height:40px}.headwith100b{width:100%}.wechatcenter{text-align:center}.myrigthsiderbar{right:9%!important}.feedbackdivcolor{background:#33bd8c!important;height:49px!important;line-height:24px!important}.xiaoshou{cursor:pointer}.questiontypes{width:37px;height:17px}.questiontype,.questiontypes{font-size:12px;color:#333;line-height:17px;cursor:pointer}.questiontype{width:100%;text-align:center;padding:11px}.questiontypeheng{width:100%;height:1px;background:#eee}.mystask-sidebar{right:181px!important}.mystask-sidebars{right:20px!important}.shitikussmys{width:29px!important;height:20px!important;background:#ff6601!important;border-radius:10px!important;position:absolute!important;font-size:11px!important;color:#fff!important;line-height:20px!important;top:-13px!important;right:-10px!important}.maxnamewidth30{max-width:30px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;cursor:default}.mystask-sidebarss{right:5px!important}.simple-rate{font-size:16px!important}.ant-rate-star:not(:last-child){margin-right:2px!important}.flex-container{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;margin-bottom:4px;-ms-flex-align:center;align-items:center}.progress-container{-ms-flex:1 0;flex:1 0;margin-left:20px}.dropdownFlex{display:flex;background:#fff;border-radius:3px}.dropdownFlex .ant-menu-vertical>.ant-menu-item{border:none;height:35px;line-height:35px;margin:0}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected{background-color:#fff}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-selected a{color:rgba(0,0,0,.65)!important}.dropdownFlex .ant-menu-vertical>.ant-menu-item.ant-menu-item-active a{color:#4cacff!important}.dropdownFlex .ant-menu-vertical{border:none}.currentImg{width:34px;height:34px;border-radius:50%;margin-left:15px}.currentMenu{width:120px;text-align:center;padding:0}.currentMenu .currentName{padding:0 8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.currentMenu li{height:40px;line-height:40px;padding:0!important;cursor:default}.currentMenu li:hover{background-color:#fff}.currentMenu li:first-child{border-bottom:1px solid #eee}.currentMenu li:last-child{border-top:1px solid #eee}.currentMenu li:last-child a{border-radius:0 0 4px 4px}.currentMenu li a{padding:0;margin:0;display:block;color:#666}.currentMenu li a:hover{color:#fff;background:#4cacff}.newFooter{position:absolute;bottom:0;width:100%;background:#323232;clear:both;min-width:1200px;z-index:8;left:0}.newFooter p{margin-top:0;margin-bottom:0!important}.newFooter .footerInfos{display:flex;max-width:1200px;margin:0 auto;justify-content:space-around;padding:60px 0}.newFooter .footerInfos>ul{padding:0 40px;box-sizing:border-box;max-width:25%;text-align:left}.newFooter .footerInfos>ul li{color:#fff;font-weight:300}.newFooter .footerInfos>ul li:first-child{font-size:17px}.newFooter .footerInfos>ul li>a,.newFooter .footerInfos>ul li>span{color:#bbb}.newFooter .footerInfos>ul li>a:hover{color:#4cacff}.newFooter .footerCopy{color:#bbb;border-top:1px solid #4e4e4e;padding:10px 0}.newFooter .footerCopy a{color:#bbb}.newFooter .footerCopy a:hover{color:#4cacff}.inviteForm .ant-form-item{margin-right:0}.inviteForm .ant-form-item-label{width:110px;text-align:right}.notice-popover .ant-popover-arrow{display:none}.notice-popover .ant-popover-inner-content{width:386px;height:446px;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px;margin-top:-10px;padding:12px 1px 12px 0}.messageHoverDiv .ant-menu-item{margin-right:24px!important}.hoverNotice-head{margin-left:18px}.hoverNotice-head .ant-badge{font-size:14px!important}.hoverNotice-head>.ant-menu-horizontal{border-bottom:1px solid #e8e8e8!important}.hoverNotice-body{height:342px;overflow-y:scroll}.hoverNotice-body b{font-weight:400;text-shadow:.5px 0 0 #333}.hoverNotice-body .none_panels{height:100%}.message-icon{position:relative}.message-icon .ant-scroll-number{right:12px;padding:0}.hoverNotice-buttom{display:flex;justify-content:space-between;padding:12px 18px}.hoverNotice-buttom a{color:#466aff}.hoverNotice-buttom a:hover{opacity:.85}.noticeCont-back .pointer{cursor:pointer}.noticeCont-back:hover{background:#f3f4f6}.noticeCont{display:flex;margin:0 16px 0 18px;padding:12px 0 10px;line-height:24px;border-bottom:1px solid #eee;cursor:default}.noticeCont i{font-size:14px!important;margin-right:6px;color:#333}.noticeCont .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333}.noticeCont .noticeCont-text{display:flex;color:#333;flex:auto;justify-content:space-between}.noticeCont .noticeCont-text .content-span{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.noticeCont .noticeCont-text .atme-cont-span{width:272px}.noticeCont .noticeCont-text .notice-cont-span{width:255px}.noticeCont .noticeCont-text .timeSpan{font-size:12px;color:#666}.noticeCont .noticeCont-text .at-name{margin-right:12px}.text-center{text-align:center}dl,ol,ul{margin-bottom:0}.newMain{background-color:#fff}.color-black{color:#333}.projectallName{font-size:22px;font-weight:400;line-height:30px;max-width:690px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.projectallName .projectN{word-break:break-all}.textRight{text-align:right}.main{width:1200px;padding:20px;margin:20px auto;background:#fff;border-radius:2px;border:1px solid #eee}.radius-2{border-radius:2px}.normal{width:1200px;margin:0 auto}.back-white{background:#fff}.back-black{background:#000}.btn_32{border-radius:4px;padding:0 12px;height:32px;line-height:32px;background-color:#f4f4f4;color:#666;display:inline-block}@media screen and (max-width:1200px){.main{width:1000px;margin:10px auto}}.hide-1{display:inline-block;white-space:nowrap}.hide-1,.hide-2{overflow:hidden;text-overflow:ellipsis}.hide-2{display:inline-block;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.df{display:flex}.flex-1{flex:1;width:0}.f-wrap-between{display:flex;flex-wrap:wrap;justify-content:space-between}.f-wrap-alignCenter{display:flex;flex-wrap:wrap;align-items:center}.f-wrap-alignCenter>span,.f-wrap-alignCenter a:link,.f-wrap-alignCenter a:visited{color:#333}.f-wrap-alignCenter>span{cursor:default}.commitDesc{flex:1;line-height:20px;word-break:break-all;width:49rem;overflow:hidden;white-space:normal}.commitDesc:hover{text-decoration:underline}.commitDesc:hover .markdown-body{color:#466aff}.normalBox{border-radius:4px;border:1px solid #ddd}.normalBox-title{padding:10px;background-color:#f4f4f4;line-height:18px}.none_panels{text-align:center;height:400px;display:flex;justify-content:center;align-items:center}.none_panels.small{height:120px}.none_panels.small img{width:50px}.none_panels img{margin-bottom:15px}.none_p_title{font-size:16px;color:#999}form.ant-form{color:#333}.required{position:relative}.required:before{content:"*";color:red;position:absolute;left:-10px;top:0;line-height:22px}form .ant-row.ant-form-item{margin-bottom:20px}@media screen and (max-width:1000px){.main{margin:1rem auto}.main,.normal{width:750px}}@media screen and (max-width:750px){.main{width:95%;margin:1rem auto}.normal{width:100%}}.ver-middle{vertical-align:middle}.pd510{padding:5px 10px}.modalsStyle .ant-modal-content>.ant-modal-header{text-align:left!important}.modalsStyle .ant-modal-body{max-width:400px;margin:0 auto;text-align:left;min-height:140px;display:flex;align-items:center}.modalsStyle .ant-modal-close-x{margin-top:8px}.list-l-Menu,.list-r-Info>div{box-shadow:0 0 2px rgba(0,0,0,.2)}.list-l-Menu{margin-bottom:12px;border-radius:2px;background-color:#fff}.list-l-Menu>li{font-size:1rem;padding:0 0 0 20px;box-sizing:border-box;color:#333;position:relative}.list-l-Menu>li>p{height:62px;line-height:62px;width:100%;border-bottom:1px solid #eee;display:flex;justify-content:space-between;cursor:pointer;padding-right:20px;margin:0}.list-l-Menu>li>p a{width:100%}.list-l-Menu>li>p span:last-child{color:#999}.list-l-Menu>li:last-child>p{border-bottom:none}.list-l-Menu>li:not(.MenuTitle):hover,.list-l-Menu li.active{background-color:#fafafa}.list-l-Menu li.active:before{position:absolute;left:0;top:15px;width:6px;content:"";height:33px;background:#4cacff}.list-l-Menu .MenuTitle{font-size:16px;background-size:100% 100%;color:#333!important;height:62px;line-height:62px;border-bottom:1px solid #e0e0e0;font-weight:400}.list-l-Menu .ant-menu-inline{border:none}.list-l-Menu .ant-menu-inline .ant-menu-item{width:100%!important}.list-l-Menu .ant-menu-item-group-title{padding:0}.group-setting-switch{border:1px solid #ddd!important;background-color:#fff!important}.ant-btn.ant-btn-background-ghost{border-color:#d0d0d0}.ant-btn.ant-btn-background-ghost.ant-btn-primary:hover{background-color:#1890ff!important;border-color:#1890ff;color:#fff}.ant-btn.ant-btn-background-ghost.ant-btn-danger:hover{background-color:#df0002!important;border-color:#df0002;color:#fff}.newPopUl li{height:30px;line-height:30px;border-bottom:1px solid #eee;min-width:78px;text-align:center}.newPopUl li:last-child{border-bottom:none}.btn-83{width:83px;height:32px;line-height:30px;text-align:center;background:#fafbfc;border:1px solid #d0d0d0;display:inline-block;border-radius:5px;font-weight:500;color:#333!important;margin-right:15px}.btn-83:hover{background:#f3f4f6;color:#333!important}.btn-83:active{background:#d0d0d0;color:#333!important}.shadow:hover{background:#eeeff1;border-bottom-left-radius:4px;border-top-left-radius:4px}a.hover:hover{text-decoration:underline}button.ant-btn-primary.btnblue{background-color:#466aff;border-color:#466aff}button.ant-btn-primary.btnblue:hover{background-color:rgba(70,106,255,.85);border-color:rgba(70,106,255,.85)}button.btngrey{background-color:#fff;border-color:#d0d0d0;color:#666}button.btngrey:focus,button.btngrey:hover{border-color:hsla(0,0%,60%,.5);color:#666}.notice-manager-tip{font-size:16px;font-weight:400}.manager-cont-top{font-size:14px;font-weight:600;height:44px;padding-left:20px;background:#fafcff;border:1px solid #89a4f7;line-height:44px;border-top-left-radius:3px;border-top-right-radius:3px;margin-top:25px}.manager-cont{padding:8px 20px 6px;display:flex;align-items:center;font-size:14px}.manager-cont .manager-cont-title{width:320px}.notice01 .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:#fff}.notice01 .ant-checkbox-disabled .ant-checkbox-inner{background-color:#999!important;border-color:#999!important}.notice01 .ant-checkbox-checked .ant-checkbox-inner{background-color:#466aff;border:#466aff}.notice01 .ant-checkbox-checked:after{border:1px solid #466aff}.notice01 .ant-checkbox-input:focus+.ant-checkbox-inner,.notice01 .ant-checkbox-wrapper:hover .ant-checkbox-inner,.notice01 .ant-checkbox:hover .ant-checkbox-inner,.notice01 .ant-radio-checked .ant-radio-inner,.notice01 .ant-radio-input:focus+.ant-radio-inner,.notice01 .ant-radio-wrapper:hover .ant-radio,.notice01 .ant-radio:hover .ant-radio-inner{border-color:#466aff}.notice01 .ant-checkbox+span,.notice01 .manager-cont-title{color:#000}.notice01 .ant-radio-inner:after{background-color:#466aff}.notice01 .but25{color:#fff}.notice01 .but25,.notice01 .but25:hover{background-color:#466aff;border-color:#466aff}.notice01 .but25:hover{opacity:.8}.notice01 .but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.notice01 ::-webkit-scrollbar{width:5px}.notice01 ::-webkit-scrollbar-thumb{border-radius:6px;box-shadow:inset 0 0 6px #fff;background-color:#d4d4d4}.notice01 ::-webkit-scrollbar-track{box-shadow:inset 0 0 6px #fff;background-color:#fff}.whiteBack{background-color:#fff}.whiteBack .boies{width:1200px;margin:0 auto;padding:30px 0 10px}.whiteBack .boies .shortW{width:198px;border:1px solid hsla(0,0%,60%,.22);border-radius:4px;margin-bottom:30px}.whiteBack .boies .shortW .userDetail{background:hsla(0,0%,60%,.05);border-radius:4px 4px 0 0;padding:20px 25px;text-align:center;height:105px}.whiteBack .boies .shortW .userDetail img{height:48px;width:48px;border-radius:50%}.whiteBack .boies .shortW .userDetail span{font-size:16px;color:#333;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}.whiteBack .boies .shortW .securityUl{padding-left:17px;color:#333;margin-bottom:0;padding-bottom:12px;padding-top:5px}.whiteBack .boies .shortW .securityUl li{font-size:14px;margin-top:10px;margin-bottom:10px;height:27px;line-height:27px;position:relative;cursor:default}.whiteBack .boies .shortW .securityUl li a{color:#666}.whiteBack .boies .shortW .securityUl li.active a,.whiteBack .boies .shortW .securityUl li a:hover{color:#333}.whiteBack .boies .shortW .securityUl li.active a .text-shodow-bold{font-weight:400;text-shadow:.5px 0 #333}.whiteBack .boies .shortW .securityUl li.active:before{position:absolute;left:-18px;top:6px;height:15px;width:3px;border-radius:2px;content:"";background-color:#466aff}.whiteBack .boies .shortW .securityUl li i{font-size:14px!important;margin-right:8px}.whiteBack .boies .shortW .ul-border-buttom{border-bottom:1px solid hsla(0,0%,60%,.22);padding-bottom:5px}.whiteBack .boies .sshHead{display:flex;align-items:center;padding:6px 0;margin-bottom:15px;justify-content:space-between;border-bottom:1px solid #eee}.whiteBack .boies .sshHead>.text-shadow07{font-size:18px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead>.add-SSH-title{font-size:16px;font-weight:400;color:#333;text-shadow:.5px 0 #333}.whiteBack .boies .sshHead .but25{padding:0 12px}.whiteBack .boies .ant-list-item{padding:20px;border-bottom:1px solid #eee!important}.whiteBack .boies .ant-list-item>img{margin-right:24px}.whiteBack .boies .ant-list-item>div{flex:1;width:0;margin-right:20px}.whiteBack .boies .ant-list-item>div p{margin-bottom:8px!important}.whiteBack .boies .ant-list-item>div span{font-size:12px}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger{background-color:#fff;border-color:#d0d0d0;color:#df0002}.whiteBack .boies .ant-list-item .ant-btn.ant-btn-danger:hover{background-color:#df0002;color:#fff;border-color:#df0002}.whiteBack .boies .questionLink{padding:15px 20px}.whiteBack .boies .questionLink a{color:#466aff}.whiteBack .boies .questionLink a:hover{text-decoration:underline}.whiteBack .boies .sshForm{padding:15px 20px}.whiteBack .boies .sshForm .ant-col.ant-form-item-label{font-size:16px;color:#333}.descModal .ant-modal-title{text-align:left;font-size:20px}.descModal .keyContent{border:1px solid #eee;border-radius:4px;padding:10px 15px;margin-top:10px;max-height:200px;overflow-y:auto}.descModal .keysTitle{display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap}.descModal .keysTitle span:last-child{word-break:break-all;flex:1}.but25{margin-bottom:5px;color:#fff}.but25,.but25:hover{background-color:#466aff;border-color:#466aff}.but25:hover{opacity:.8}.but25:active{opacity:1;background-color:#466aff;border-color:#466aff}.blue-Purple{color:#466aff!important}.whiteBack .boies .sshHead{padding:0 10px 0 0}.sshHead .ant-badge{font-size:16px;color:#333}.sshHead .ant-menu-item{padding:0;margin-right:34px!important;height:34px;width:64px;text-align:center;line-height:0;position:relative}.sshHead .ant-menu-horizontal>.ant-menu-item,.sshHead li.ant-menu-item{border-bottom:0}.sshHead .ant-menu-item-selected{color:#333;font-weight:400;text-shadow:.5px 0 #333;border-bottom:2px solid #2a61ff!important}.sshHead .ant-badge-count,.sshHead .ant-badge-dot,.sshHead .ant-badge .ant-scroll-number-custom-component{right:-6px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0}.sshHead .ant-badge-multiple-words{padding:0}.sshHead .ant-menu-horizontal{border-bottom:0 solid #e8e8e8}.sshHead button{padding:0 5px}button{color:#333;background:#fafbfc;border:1px solid #d0d0d0;border-radius:4px;height:32px}button:hover{background:#f3f4f6}button:active{background:#ebecf0}.deleteBut{color:#df0002}.deleteBut:hover{background:#df0002;border:1px solid #df0002;color:#fff}.deleteBut:active{background:#ce0002;border:1px solid #ce0002;color:#fff}.mynotice-content{justify-content:space-between;padding:15px 0 15px 10px;border-bottom:1px solid #eee;color:#333}.mynotice-content:hover{background:#f3f4f6}.mynotice-content img{cursor:pointer}.mynotice-content b{font-weight:400;text-shadow:.5px 0 #333}.mynotice-content .invisable-read{display:none}.mynotice-content:hover .invisable-read{display:block;color:#466aff;opacity:.6;cursor:pointer}.mynotice-content:hover .invisable-read:hover{opacity:1}.mynotice-content:hover .timeSpan{display:none}.mynotice-content i{font-size:16px!important;margin-right:5px}.mynotice-content .boldSpan{font-weight:400;text-shadow:.5px 0 0 #333;margin:0 8px}.mynotice-content .currentImg{width:40px;height:40px;margin-left:0}.mynotice-content .private-letter-img+.ant-badge-count{top:2px;right:5px;height:18px;min-width:18px;line-height:18px;padding:0}.mynotice-content .highlightSpan:hover{color:#466aff;cursor:pointer}.mynotice-content .mynotice-cont{padding:0;cursor:default}.mynotice-content .mynotice-cont .visible-checkbox{margin-right:10px}.mynotice-content .mynotice-cont .invisible-checkbox{display:none}.mynotice-content .mynotice-cont .atme-notice-text{margin-left:6px}.mynotice-content .mynotice-cont .atme-notice-text .atme-notice-name{margin:0}.mynotice-content .mynotice-cont .atme-notice-text .atme-length{max-width:48rem;word-break:break-all}.mynotice-content .ant-badge-count,.mynotice-content .ant-badge-dot,.mynotice-content .ant-badge .ant-scroll-number-custom-component{-webkit-box-shadow:0 0 0 0;box-shadow:0 0 0 0;top:3px;right:4px;min-width:8px;height:8px}.mynotice-content .system-notice-blank{margin-right:14px}.batchDel .atme-notice-text,.batchDel .currentImg{pointer-events:none}.baselineDiv{align-items:baseline}.invisible{display:none}.visible{display:flex;justify-content:space-between;height:30px;padding:0 10px;color:#333;margin-bottom:5px}.visible button{padding:0 12px}.visible .batchDeleteBut{border:1px solid #466aff;color:#466aff}.private-letter-right{flex:auto;margin:0 10px 0 16px}.private-letter-right div{display:flex;justify-content:space-between}.letter-length-limit{max-width:50rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sysNotice-length{max-width:52rem;word-break:break-all}.numberSpan{color:#466aff}.vertical-center-style{display:flex;align-items:center}.stretch-style{display:flex;align-items:baseline}.float-left-little{margin-right:10px}.float-right-little{margin-left:12px}.paging{text-align:center;margin:12px}.ant-modal-mask{z-index:1031}.ant-modal-wrap{z-index:1032}.deleteBox{z-index:1033}.deleteBox .ant-modal-close-x{font-size:17px!important}.deleteBox .ant-modal-header{background-color:#f8f8f8;padding:10px 30px}.deleteBox .ant-modal-header .ant-modal-title{text-align:left;font-size:16px;font-weight:700}.deleteBox .ant-modal-close{top:0!important;font-size:24px!important}.deleteBox .ant-modal-body{padding:30px 50px}.deleteBox .ant-modal-body p{font-size:14px;line-height:26px;color:#666;word-break:break-all}.deleteBox .ant-modal-body .desc .descMain{align-items:center;justify-content:center;font-size:20px;margin-bottom:10px}.deleteBox .ant-modal-body .desc .descMain i.red{color:#df0002}.deleteBox .ant-modal-footer{border-top:none;text-align:center;padding-bottom:40px}.deleteBox .ant-modal-footer a,.deleteBox .ant-modal-footer button{width:96px;height:32px;margin:0 20px;font-weight:400;font-size:14px}.deleteBox .ant-modal-footer a.ant-btn,.deleteBox .ant-modal-footer button.ant-btn{border-color:#d0d0d0;color:#666}.deleteBox .ant-modal-footer a.ant-btn:active,.deleteBox .ant-modal-footer a.ant-btn:focus,.deleteBox .ant-modal-footer a.ant-btn:hover,.deleteBox .ant-modal-footer button.ant-btn:active,.deleteBox .ant-modal-footer button.ant-btn:focus,.deleteBox .ant-modal-footer button.ant-btn:hover{background:#f3f4f6}.deleteBox .ant-modal-footer a.ant-btn-danger,.deleteBox .ant-modal-footer button.ant-btn-danger{background-color:#fff;color:#df0002;border-color:#d0d0d0}.deleteBox .ant-modal-footer a.ant-btn-danger:active,.deleteBox .ant-modal-footer a.ant-btn-danger:focus,.deleteBox .ant-modal-footer a.ant-btn-danger:hover,.deleteBox .ant-modal-footer button.ant-btn-danger:active,.deleteBox .ant-modal-footer button.ant-btn-danger:focus,.deleteBox .ant-modal-footer button.ant-btn-danger:hover{border-color:#df0002;background-color:#fff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary{background-color:#466aff;color:#fff;border-color:#466aff}.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer a.ant-btn.ant-btn-primary:hover,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:active,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:focus,.deleteBox .ant-modal-footer button.ant-btn.ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.contents{display:flex;align-items:center;justify-content:center;margin:10px auto 0}.contents img{margin-right:13px;width:44px}.contents p{line-height:29px;max-width:327px;font-size:16px!important}.font-44{font-size:44px!important} \ No newline at end of file diff --git a/static/css/43.0798580e.chunk.css b/static/css/43.450fc162.chunk.css similarity index 69% rename from static/css/43.0798580e.chunk.css rename to static/css/43.450fc162.chunk.css index 43faf99e9..17ca762c2 100644 --- a/static/css/43.0798580e.chunk.css +++ b/static/css/43.450fc162.chunk.css @@ -1 +1 @@ -.boxPanel{width:1200px;margin:20px auto;border-radius:4px;border:1px solid #eee;min-height:500px}.boxPanel .contrbuteList{display:flex;flex-wrap:wrap;padding:20px;align-items:flex-start}.boxPanel .contrbuteList>div{width:20%}.descmodal .ant-row.ant-form-item{margin-bottom:10px}.descmodal .ant-col.ant-form-item-label{height:20px;line-height:20px}.menuslist{z-index:100;width:297px;background:#fff;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px}.menuslist .searchBox{padding:15px;border-bottom:1px solid #eee}.menuslist .ant-anchor-wrapper{margin-left:0;padding:5px 15px;max-height:255px!important}.menuslist .ant-anchor-wrapper .items{border-radius:4px;margin-bottom:5px;cursor:pointer}.menuslist .ant-anchor-wrapper .items .ant-anchor-link-title{color:#333!important}.menuslist .ant-anchor-wrapper .items:hover{background-color:#f3f4f6}.menuslist .ant-anchor-wrapper .items.active{background-color:#2a61ff}.menuslist .ant-anchor-wrapper .items.active .ant-anchor-link-title{color:#fff!important}.menuslist .ant-anchor-wrapper .ant-anchor-link{padding:0;height:30px;line-height:30px}.menuslist .ant-anchor-wrapper .ant-anchor-ink:before{background-color:#fff}.subMenu{display:flex;padding-top:30px}.subMenu a{width:83px;font-weight:500;line-height:30px;height:32px;color:#333!important;text-align:center;border:1px solid #d0d0d0;border-radius:0 4px 4px 0;background:rgba(250,251,252,0)}.subMenu a:first-child{border-right:none;border-radius:4px 0 0 4px}.subMenu a.active{background-color:#466aff;color:#fff!important;border-color:#466aff}.tagTable{margin-top:30px}.tagTable thead tr th{background-color:#fff;padding:5px 0}.tagTable thead tr th .ant-table-column-title{font-size:16px;font-weight:500;color:#333}.tagTable tbody tr:hover td{background-color:#fff!important}.tagTable tbody tr td{padding:0;height:69px;line-height:69px}.tagTable tbody tr:last-child td{border-bottom:none!important} \ No newline at end of file +.boxPanel{width:1200px;margin:20px auto;border-radius:4px;border:1px solid #eee;min-height:500px}.boxPanel .contrbuteList{display:flex;flex-wrap:wrap;padding:20px;align-items:flex-start}.boxPanel .contrbuteList>div{width:20%}.descmodal .ant-row.ant-form-item{margin-bottom:10px}.descmodal .ant-col.ant-form-item-label{height:20px;line-height:20px}.menuslist{z-index:100;width:297px;background:#fff;box-shadow:0 4px 8px 2px hsla(0,0%,83.1%,.5);border-radius:4px}.menuslist .searchBox{padding:15px;border-bottom:1px solid #eee}.menuslist .ant-anchor-wrapper{margin-left:0;padding:5px 15px;max-height:255px!important}.menuslist .ant-anchor-wrapper .items{border-radius:4px;margin-bottom:5px;cursor:pointer}.menuslist .ant-anchor-wrapper .items .ant-anchor-link-title{color:#333!important}.menuslist .ant-anchor-wrapper .items:hover{background-color:#f3f4f6}.menuslist .ant-anchor-wrapper .items.active{background-color:#2a61ff}.menuslist .ant-anchor-wrapper .items.active .ant-anchor-link-title{color:#fff!important}.menuslist .ant-anchor-wrapper .ant-anchor-link{padding:0;height:30px;line-height:30px}.menuslist .ant-anchor-wrapper .ant-anchor-ink:before{background-color:#fff}.subMenu{display:flex;padding-top:30px}.subMenu a{width:83px;font-weight:500;line-height:30px;height:32px;color:#333!important;text-align:center;border:1px solid #d0d0d0;border-radius:0 4px 4px 0;background:rgba(250,251,252,0)}.subMenu a:first-child{border-right:none;border-radius:4px 0 0 4px}.subMenu a.active{background-color:#466aff;color:#fff!important;border-color:#466aff}.tagTable{margin-top:30px}.tagTable thead tr th{background-color:#fff;padding:5px 0;width:172px}.tagTable thead tr th .ant-table-column-title{font-size:16px;font-weight:500;color:#333}.tagTable tbody .btn-83{margin:0 8px}.tagTable tbody tr:hover td{background-color:#fff!important}.tagTable tbody tr td{padding:0;height:69px;line-height:69px;color:#333}.tagTable tbody tr td div{font-weight:500}.tagTable tbody tr:last-child td{border-bottom:none!important}.tagSpin{min-height:300px;text-align:center;display:flex;align-items:center;justify-content:center}.tagBranch{padding-right:15px;text-overflow:ellipsis;overflow:hidden}.tagBranch .tagClass{color:#333}.tagModel{font-weight:400}.tagModel .tagModelImg img{width:25px;height:25px;border-radius:50%} \ No newline at end of file diff --git a/static/css/50.0379bdda.chunk.css b/static/css/50.c5cf0da3.chunk.css similarity index 100% rename from static/css/50.0379bdda.chunk.css rename to static/css/50.c5cf0da3.chunk.css diff --git a/static/css/55.fc1462ad.chunk.css b/static/css/55.4cfdab21.chunk.css similarity index 85% rename from static/css/55.fc1462ad.chunk.css rename to static/css/55.4cfdab21.chunk.css index 8788ae6fb..6d59650b7 100644 --- a/static/css/55.fc1462ad.chunk.css +++ b/static/css/55.4cfdab21.chunk.css @@ -1 +1 @@ -.ant-divider{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";background:#e8e8e8}.ant-divider,.ant-divider-vertical{position:relative;top:-.06em;display:inline-block;width:1px;height:.9em;margin:0 8px;vertical-align:middle}.ant-divider-horizontal{display:block;clear:both;width:100%;min-width:100%;height:1px;margin:24px 0}.ant-divider-horizontal.ant-divider-with-text-center,.ant-divider-horizontal.ant-divider-with-text-left,.ant-divider-horizontal.ant-divider-with-text-right{display:table;margin:16px 0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;white-space:nowrap;text-align:center;background:transparent}.ant-divider-horizontal.ant-divider-with-text-center:after,.ant-divider-horizontal.ant-divider-with-text-center:before,.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-left:before,.ant-divider-horizontal.ant-divider-with-text-right:after,.ant-divider-horizontal.ant-divider-with-text-right:before{position:relative;top:50%;display:table-cell;width:50%;border-top:1px solid #e8e8e8;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%);content:""}.ant-divider-horizontal.ant-divider-with-text-left .ant-divider-inner-text,.ant-divider-horizontal.ant-divider-with-text-right .ant-divider-inner-text{display:inline-block;padding:0 10px}.ant-divider-horizontal.ant-divider-with-text-left:before{top:50%;width:5%}.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-right:before{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:after{top:50%;width:5%}.ant-divider-inner-text{display:inline-block;padding:0 24px}.ant-divider-dashed{background:none;border:dashed #e8e8e8;border-width:1px 0 0}.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed{border-top:0}.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:before{border-style:dashed none none}.ant-divider-vertical.ant-divider-dashed{border-width:0 0 0 1px}.lineH2{line-height:2}.t_project_banner{background-color:#050d34}.ProjectListIndex{width:1200px;margin:20px auto;display:flex;align-items:flex-start;flex-wrap:wrap}.list-left{width:26%;padding-right:20px;box-sizing:border-box;margin-bottom:20px}.list-left>div{border:1px solid #eee}.list-left>div.bgcF{border:none}.list-right{width:74%;background:#fff;padding:10px;border:1px solid #eee}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:none!important}.ant-menu-vertical>.ant-menu-item{margin:0!important;height:35px;line-height:35px;border-bottom:1px solid #eee;font-size:14px!important}.ant-menu-vertical>.ant-menu-item:last-child{border-bottom:none}.list-r-operation{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;padding:25px 30px;border-bottom:1px solid #e0e0e0}.list-r-Search{width:400px}.padding0-25{padding:0 25px}.list-r-Search .ant-btn-lg{height:38px}.list-r-Search .ant-input-group-addon{border:none!important}.list-r-Search .ant-input-search-button{height:40px!important}.createBtn{border-radius:4px;margin-left:20px;display:inline-block;padding:3px 15px;background-color:#4cacff;color:#fff!important}.project-list{padding:0 30px}.border-top-grey{border-top:1px solid #eee}.p-r-Item:last-child{border-bottom:none!important}.p-r-Item{display:flex;border-bottom:1px solid #eee;padding:22px 0;justify-content:flex-start}.boxShandow{box-shadow:0 2px 20px 10px rgba(0,0,0,.03)}.p-r-photo{width:60px;height:60px;border-radius:50%;margin-right:22px;margin-top:8px}.p-r-Infos{flex:1;width:0}.p-r-name{display:flex;justify-content:space-between;align-items:center}.p-r-name>p{flex:1;width:0}.p-r-btn{display:flex;align-items:center}.p-r-btn>span{height:35px;line-height:35px;border:1px solid #f4f4f4;border-radius:5px;display:block;margin-left:20px;background-color:#fff;display:flex}.p-r-btn>span>a{display:flex;align-items:center;padding:0 12px;background:#ececec}.p-r-btn>span>a:active{background:#f4f4f4}.p-r-btn>span>span{padding:0 8px}.p-r-tags{display:flex;opacity:1}.p-r-tags.large>span{height:30px;line-height:30px;font-size:14px}.p-r-tags>span{margin-left:15px;padding:0 10px;border-radius:15px;background:#ebf4fe;color:#333;height:24px;line-height:24px;display:block;font-size:12px;display:flex}.p-r-tags>span.pariseTag{background:#fff3dc}.p-r-tags.large>span>label{padding:0 12px}.p-r-tags>span>label{padding:0 8px}.p-r-tags.large>span>span{padding:0 6px}.pariseImg{width:14px;height:12px;margin-top:6px;margin-right:3px}.p-r-tags>span>span{display:block;background:#fff;border-left:#efefef;padding:0 4px;border-radius:0 4px 4px 0;color:#999}.p-r-content{margin-top:10px;color:#666;display:flex}.p-r-detail>span{margin-right:22px;color:#888}.p-r-detail>span>label{color:#999}.p-r-about{display:flex;justify-content:space-between;flex-wrap:nowrap;margin-top:8px;color:#666}.spincontent{height:400px}.spinstyle .ant-spin-text{margin-top:30px;color:#888}.detailHeader-wrapper{background-color:#fbfcff;border-bottom:1px solid #e2e2e2}.headerMenu-wrapper{display:flex;flex-direction:row;cursor:pointer}.headerMenu-wrapper li{text-align:center;padding:0;margin-right:40px;display:flex}.headerMenu-wrapper li>a{position:relative;font-size:14px;height:36px;line-height:24px;display:block;color:#000!important}.headerMenu-wrapper li>a>span.num{line-height:24px;margin-left:5px;font-size:12px;float:right;color:#666!important;background-color:hsla(0,0%,60%,.13);border-radius:50%;width:24px;height:24px}.headerMenu-wrapper li.active a:after,.headerMenu-wrapper li:hover a:after{position:absolute;bottom:0;height:2px;background-color:hsla(0,0%,60%,.2);content:"";left:0;width:100%}.headerMenu-wrapper li.active span{font-weight:500}.headerMenu-wrapper li.active a:after{background-color:#466aff}.detail_tag_btn{height:32px;line-height:32px;border-radius:5px;border:1px solid #d0d0d0;display:flex;align-items:center;margin-left:10px;padding:0;background-color:#fafbfc;box-shadow:none}.detail_tag_btn .detail_tag_btn_name{padding:0 10px;text-align:center;height:30px;line-height:30px;border-radius:5px 0 0 5px}.detail_tag_btn .detail_tag_btn_name:hover{background-color:#f3f4f6}.detail_tag_btn .detail_tag_btn_name span{color:#333!important}.detail_tag_btn .detail_tag_btn_count{width:42px;text-align:center;background:#fff;border-radius:0 4px 4px 0;height:100%;border-left:1px solid #d0d0d0}.ant-tooltip{max-width:fit-content!important}.files-md{padding:20px}.branch-wrapper{border:1px solid #eee;border-radius:4px;display:flex;align-items:center;height:60px;padding:0 30px;width:1200px;background-color:#fff;margin:20px auto 0;justify-content:space-between}.branch-wrapper>a>i{color:#5091ff;margin-right:5px;cursor:default}.branch-wrapper a{display:flex;align-items:center;justify-content:center;text-align:center;height:30px;line-height:30px;cursor:pointer;font-size:16px;color:#333}.branch-wrapper a>span{position:relative;min-height:20px;display:block}.branch-wrapper a.active>span:after{position:absolute;content:"";bottom:-5px;width:30px;height:3px;left:0;background-color:#5091ff}.gitAddressClone{margin:14px 20px!important;border-radius:4px;border:1px solid #eee;background:#fff;margin-left:20px;position:relative}.gitAddressClone,.gitAddressClone>span{display:flex;height:40px;align-items:center}.gitAddressClone>span{line-height:40px;padding:0 12px;cursor:pointer}.addressTips{position:absolute;font-size:12px;color:#ff6e21;top:-34px;left:30px;background-color:#fff;border:1px solid #fe881d;padding:0 5px;height:28px;line-height:28px}.addressTips>span{position:relative;display:block}.addressTips>span:before{top:25px;border:8px solid transparent;border-top-color:#fff;z-index:12}.addressTips>span:after,.addressTips>span:before{box-sizing:content-box;width:0;height:0;position:absolute;left:50%;margin-left:-4px;padding:0;display:block;content:""}.addressTips>span:after{top:26px;border:8px solid transparent;border-top-color:#fe881d;z-index:11}.gitAddressClone>span.addressType{color:#4cacff}.gitAddressClone>span:last-child{border-right:none}.gitAddressClone>input{outline:none;padding:0 8px;height:38px;line-height:38px;border:none!important;border-right:1px solid #eee!important;border-radius:4px 0 0 4px;flex:1;max-width:249px}.wrap-commit-table .ant-table-small>.ant-table-content>.ant-table-body{margin:0}.wrap-commit-table .ant-table-title{background-color:#f1f8ff;padding:13px 16px!important}.commitKey{cursor:pointer;border:1px solid #fd7700;background-color:#fff3dc;color:#fd7700!important;padding:0 12px;height:20px;line-height:20px;margin-left:15px;border-radius:18px;max-width:100%}.branchTitle{padding:8px 10px;color:#333;font-size:16px;border-bottom:1px solid #d9d9d9}.branchUl li{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;padding:20px 0;border-bottom:1px solid #eee}.branchUl li:last-child{border-bottom:none}.operationBtn{border:1px solid #f4f4f4;border-radius:3px;padding:0 6px;background-color:#fff;color:#666!important;display:inline-block}.messages{max-width:700px}.leftPoint{margin-left:20px;position:relative}.leftPoint:before{position:absolute;left:-10px;top:8px;border-radius:50%;width:4px;height:4px;background-color:#dadada;content:""}.subFileName{position:relative;margin-left:15px;height:22px}.subFileName:before{position:absolute;content:"/";left:-10px;top:0;color:#999;height:22px;line-height:22px}.addFile{display:flex}.addFile a{display:block;background-color:rgba(76,172,255,.8);color:#fff;cursor:pointer;height:32px;line-height:32px;padding:0 10px}.addFile a:first-child{border-radius:4px}.addFile a:last-child{border-left:1px solid hsla(0,0%,96.9%,.3)}.addFile a:active{background-color:#4cacff}@media screen and (max-width:750px){.list-r-Search{flex:1}.list-left,.list-right{width:100%;padding:0}}@media screen and (max-width:400px){.list-r-Search{width:100%}.headerMenu-wrapper{flex-direction:column;width:100%}.headerMenu-wrapper li{width:100%}.gitAddressClone{width:100%;margin-left:0}.gitAddressClone>span{padding:0}.messages{max-width:100%}}.commonBox{border:1px solid #ddd;margin-top:18px;border-radius:4px}.commonBox .ant-anchor-wrapper{overflow:unset!important}.commonBox .commonBox-title{padding:0 20px;box-sizing:border-box;font-size:16px;background:#fafbfc;font-weight:700;height:45px;line-height:45px;border-bottom:1px solid #d9d9d9;border-radius:4px 4px 0 0}.readBox{border:none}.readBox.commonBox .commonBox-info{border:1px solid #d0d0d0;border-top:none;border-radius:0 0 4px 4px;padding:20px 38px}.commonBox .commonBox-title.boxTitle{display:flex;justify-content:space-between;height:55px;line-height:55px;background:#fafcff;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23)}.synchronism{display:block;height:34px;line-height:34px;padding:0 15px;color:#fff!important;background-color:#28bd6c;border-radius:4px}.files_info{cursor:pointer}.commonBox .commonBox-info{padding:20px 15px}.commonBox-title-read{vertical-align:middle;color:#000;font-size:14px}.commonBox-title-read:hover{color:#466aff}@media screen and (max-width:370px){.p-r-btn,.p-r-tags{opacity:0;display:none}.p-r-about{flex-wrap:wrap}.commitKey{margin-right:0}.list-r-Search{width:100%}}.null_data_box{width:100%;border:1px solid #d4d4d5;border-radius:3px}.title{font-weight:700;background:#f4f4f4;padding:10px 15px;box-sizing:border-box;border-bottom:1px solid #d4d4d5}.item_title{font-size:18px;font-weight:700;margin-bottom:15px}.item{padding:15px;border-bottom:1px solid #dededf}.item:last-child{border-bottom:none}.item_title small{font-weight:400;margin-left:10px}.item_title small a{color:#4183c6}.Markdown{background:#f7f7f7;padding:10px 20px}.item .gitAddressClone input:focus{border:1px solid #2185d0}.content-file{margin-top:8px}.content-file .CodeMirror{background-color:#f7f7f7;border:1px solid #e4e4e4;border-radius:4px;height:auto}.content-file.edit .CodeMirror{background-color:#fff}.content-file .CodeMirror .CodeMirror-scroll{min-height:450px}.text-center{text-align:center}.fork-css{position:absolute;left:0;top:50px;width:100%}.color-grey-ccc{color:#ccc!important}a.color-grey-ccc:hover{color:#4cacff!important}.pull-right{float:right}.commitList{padding:0 30px;min-height:400px}.main{margin:30px auto}.main .ant-timeline{margin-top:28px}.main .ant-timeline .commitList-item{position:relative;padding:20px;background:#fafcff;border:1px solid rgba(42,97,255,.23);border-radius:4px;margin-left:16px;align-items:center}.main .ant-timeline .commitList-item:after,.main .ant-timeline .commitList-item:before{content:"";position:absolute;left:-10px;top:10px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:10px solid rgba(42,97,255,.23)}.main .ant-timeline .commitList-item:after{left:-8px;border-right:10px solid #fafcff}.main .ant-timeline .commitList-item:after:hover{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover{background:#eef6ff;border:1px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item:hover:after{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover:before{border-right:10px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item .treecopy-cont{padding:4px 15px}.main .ant-timeline .commitList-item .btn-83{margin-left:20px}.main .ant-timeline .ant-timeline-item{padding:8px 0 20px}.main .ant-timeline .ant-timeline-item-tail{height:calc(100% - 20px);border-left:2px solid #eee;top:12px}.main .ant-timeline .ant-timeline-item-tail:after{content:" ";height:0;position:absolute;width:0;border:7px solid transparent;border-top-color:#eee;top:100%;left:50%;margin-left:-8px}.main .ant-timeline .ant-timeline-item-head-custom{top:20px;padding:0 1px}.div_table{border:1px solid #eee;border-radius:2px}.ul_thead{box-sizing:border-box;background:#fafafa;border-bottom:1px solid #eee;height:50px;line-height:50px}.ul_tbody,.ul_thead{padding:0 30px}.ul_tbody li,.ul_thead li{display:flex;align-items:center;text-align:left}.ul_tbody li{padding:18px 0;border-bottom:1px solid #eee}.ul_tbody li:last-child{border-bottom:none}.ul_tbody li>span,.ul_thead li>span{width:20%;padding-right:20px}.ul_tbody li>span:nth-child(2),.ul_thead li>span:nth-child(2){flex:1}.ul_tbody_third{display:flex;flex-direction:column;align-items:flex-start;justify-content:left}.ul_tbody_forth{text-align:center;display:flex;justify-content:center}.depotNum{color:#666!important}.depotNum span:last-child{color:#333}.depotNum:hover span:last-child{color:#2a61ff} \ No newline at end of file +.ant-divider{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";background:#e8e8e8}.ant-divider,.ant-divider-vertical{position:relative;top:-.06em;display:inline-block;width:1px;height:.9em;margin:0 8px;vertical-align:middle}.ant-divider-horizontal{display:block;clear:both;width:100%;min-width:100%;height:1px;margin:24px 0}.ant-divider-horizontal.ant-divider-with-text-center,.ant-divider-horizontal.ant-divider-with-text-left,.ant-divider-horizontal.ant-divider-with-text-right{display:table;margin:16px 0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;white-space:nowrap;text-align:center;background:transparent}.ant-divider-horizontal.ant-divider-with-text-center:after,.ant-divider-horizontal.ant-divider-with-text-center:before,.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-left:before,.ant-divider-horizontal.ant-divider-with-text-right:after,.ant-divider-horizontal.ant-divider-with-text-right:before{position:relative;top:50%;display:table-cell;width:50%;border-top:1px solid #e8e8e8;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%);content:""}.ant-divider-horizontal.ant-divider-with-text-left .ant-divider-inner-text,.ant-divider-horizontal.ant-divider-with-text-right .ant-divider-inner-text{display:inline-block;padding:0 10px}.ant-divider-horizontal.ant-divider-with-text-left:before{top:50%;width:5%}.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-right:before{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:after{top:50%;width:5%}.ant-divider-inner-text{display:inline-block;padding:0 24px}.ant-divider-dashed{background:none;border:dashed #e8e8e8;border-width:1px 0 0}.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed{border-top:0}.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:before{border-style:dashed none none}.ant-divider-vertical.ant-divider-dashed{border-width:0 0 0 1px}.lineH2{line-height:2}.t_project_banner{background-color:#050d34}.ProjectListIndex{width:1200px;margin:20px auto;display:flex;align-items:flex-start;flex-wrap:wrap}.list-left{width:26%;padding-right:20px;box-sizing:border-box;margin-bottom:20px}.list-left>div{border:1px solid #eee}.list-left>div.bgcF{border:none}.list-right{width:74%;background:#fff;padding:10px;border:1px solid #eee}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:none!important}.ant-menu-vertical>.ant-menu-item{margin:0!important;height:35px;line-height:35px;border-bottom:1px solid #eee;font-size:14px!important}.ant-menu-vertical>.ant-menu-item:last-child{border-bottom:none}.list-r-operation{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;padding:25px 30px;border-bottom:1px solid #e0e0e0}.list-r-Search{width:400px}.padding0-25{padding:0 25px}.list-r-Search .ant-btn-lg{height:38px}.list-r-Search .ant-input-group-addon{border:none!important}.list-r-Search .ant-input-search-button{height:40px!important}.createBtn{border-radius:4px;margin-left:20px;display:inline-block;padding:3px 15px;background-color:#4cacff;color:#fff!important}.project-list{padding:0 30px}.border-top-grey{border-top:1px solid #eee}.p-r-Item:last-child{border-bottom:none!important}.p-r-Item{display:flex;border-bottom:1px solid #eee;padding:22px 0;justify-content:flex-start}.boxShandow{box-shadow:0 2px 20px 10px rgba(0,0,0,.03)}.p-r-photo{width:60px;height:60px;border-radius:50%;margin-right:22px;margin-top:8px}.p-r-Infos{flex:1;width:0}.p-r-name{display:flex;justify-content:space-between;align-items:center}.p-r-name>p{flex:1;width:0}.p-r-btn{display:flex;align-items:center}.p-r-btn>span{height:35px;line-height:35px;border:1px solid #f4f4f4;border-radius:5px;display:block;margin-left:20px;background-color:#fff;display:flex}.p-r-btn>span>a{display:flex;align-items:center;padding:0 12px;background:#ececec}.p-r-btn>span>a:active{background:#f4f4f4}.p-r-btn>span>span{padding:0 8px}.p-r-tags{display:flex;opacity:1}.p-r-tags.large>span{height:30px;line-height:30px;font-size:14px}.p-r-tags>span{margin-left:15px;padding:0 10px;border-radius:15px;background:#ebf4fe;color:#333;height:24px;line-height:24px;display:block;font-size:12px;display:flex}.p-r-tags>span.pariseTag{background:#fff3dc}.p-r-tags.large>span>label{padding:0 12px}.p-r-tags>span>label{padding:0 8px}.p-r-tags.large>span>span{padding:0 6px}.pariseImg{width:14px;height:12px;margin-top:6px;margin-right:3px}.p-r-tags>span>span{display:block;background:#fff;border-left:#efefef;padding:0 4px;border-radius:0 4px 4px 0;color:#999}.p-r-content{margin-top:10px;color:#666;display:flex}.p-r-detail>span{margin-right:22px;color:#888}.p-r-detail>span>label{color:#999}.p-r-about{display:flex;justify-content:space-between;flex-wrap:nowrap;margin-top:8px;color:#666}.spincontent{height:400px}.spinstyle .ant-spin-text{margin-top:30px;color:#888}.detailHeader-wrapper{background-color:#fbfcff;border-bottom:1px solid #e2e2e2}.headerMenu-wrapper{display:flex;flex-direction:row;cursor:pointer}.headerMenu-wrapper li{text-align:center;padding:0;margin-right:40px;display:flex}.headerMenu-wrapper li>a{position:relative;font-size:14px;height:36px;line-height:24px;display:block;color:#000!important}.headerMenu-wrapper li>a>span.num{line-height:24px;margin-left:5px;font-size:12px;float:right;color:#666!important;background-color:hsla(0,0%,60%,.13);border-radius:50%;width:24px;height:24px}.headerMenu-wrapper li.active a:after,.headerMenu-wrapper li:hover a:after{position:absolute;bottom:0;height:2px;background-color:hsla(0,0%,60%,.2);content:"";left:0;width:100%}.headerMenu-wrapper li.active span{font-weight:500}.headerMenu-wrapper li.active a:after{background-color:#466aff}.detail_tag_btn{height:32px;line-height:32px;border-radius:5px;border:1px solid #d0d0d0;display:flex;align-items:center;margin-left:10px;padding:0;background-color:#fafbfc;box-shadow:none}.detail_tag_btn .detail_tag_btn_name{padding:0 10px;text-align:center;height:30px;line-height:30px;border-radius:5px 0 0 5px}.detail_tag_btn .detail_tag_btn_name:hover{background-color:#f3f4f6}.detail_tag_btn .detail_tag_btn_name span{color:#333!important}.detail_tag_btn .detail_tag_btn_count{width:42px;text-align:center;background:#fff;border-radius:0 4px 4px 0;height:100%;border-left:1px solid #d0d0d0}.ant-tooltip{max-width:fit-content!important}.files-md{padding:20px}.branch-wrapper{border:1px solid #eee;border-radius:4px;display:flex;align-items:center;height:60px;padding:0 30px;width:1200px;background-color:#fff;margin:20px auto 0;justify-content:space-between}.branch-wrapper>a>i{color:#5091ff;margin-right:5px;cursor:default}.branch-wrapper a{display:flex;align-items:center;justify-content:center;text-align:center;height:30px;line-height:30px;cursor:pointer;font-size:16px;color:#333}.branch-wrapper a>span{position:relative;min-height:20px;display:block}.branch-wrapper a.active>span:after{position:absolute;content:"";bottom:-5px;width:30px;height:3px;left:0;background-color:#5091ff}.gitAddressClone{margin:14px 20px!important;border-radius:4px;border:1px solid #eee;background:#fff;margin-left:20px;position:relative}.gitAddressClone,.gitAddressClone>span{display:flex;height:40px;align-items:center}.gitAddressClone>span{line-height:40px;padding:0 12px;cursor:pointer}.addressTips{position:absolute;font-size:12px;color:#ff6e21;top:-34px;left:30px;background-color:#fff;border:1px solid #fe881d;padding:0 5px;height:28px;line-height:28px}.addressTips>span{position:relative;display:block}.addressTips>span:before{top:25px;border:8px solid transparent;border-top-color:#fff;z-index:12}.addressTips>span:after,.addressTips>span:before{box-sizing:content-box;width:0;height:0;position:absolute;left:50%;margin-left:-4px;padding:0;display:block;content:""}.addressTips>span:after{top:26px;border:8px solid transparent;border-top-color:#fe881d;z-index:11}.gitAddressClone>span.addressType{color:#4cacff}.gitAddressClone>span:last-child{border-right:none}.gitAddressClone>input{outline:none;padding:0 8px;height:38px;line-height:38px;border:none!important;border-right:1px solid #eee!important;border-radius:4px 0 0 4px;flex:1;max-width:249px}.wrap-commit-table .ant-table-small>.ant-table-content>.ant-table-body{margin:0}.wrap-commit-table .ant-table-title{background-color:#f1f8ff;padding:13px 16px!important}.commitKey{cursor:pointer;border:1px solid #fd7700;background-color:#fff3dc;color:#fd7700!important;padding:0 12px;height:20px;line-height:20px;margin-left:15px;border-radius:18px;max-width:100%}.branchTitle{padding:8px 10px;color:#333;font-size:16px;border-bottom:1px solid #d9d9d9}.branchUl li{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;padding:20px 0;border-bottom:1px solid #eee}.branchUl li:last-child{border-bottom:none}.operationBtn{border:1px solid #f4f4f4;border-radius:3px;padding:0 6px;background-color:#fff;color:#666!important;display:inline-block}.messages{max-width:700px}.leftPoint{margin-left:20px;position:relative}.leftPoint:before{position:absolute;left:-10px;top:8px;border-radius:50%;width:4px;height:4px;background-color:#dadada;content:""}.subFileName{position:relative;margin-left:15px;height:22px}.subFileName:before{position:absolute;content:"/";left:-10px;top:0;color:#999;height:22px;line-height:22px}.addFile{display:flex}.addFile a{display:block;background-color:rgba(76,172,255,.8);color:#fff;cursor:pointer;height:32px;line-height:32px;padding:0 10px}.addFile a:first-child{border-radius:4px}.addFile a:last-child{border-left:1px solid hsla(0,0%,96.9%,.3)}.addFile a:active{background-color:#4cacff}@media screen and (max-width:750px){.list-r-Search{flex:1}.list-left,.list-right{width:100%;padding:0}}@media screen and (max-width:400px){.list-r-Search{width:100%}.headerMenu-wrapper{flex-direction:column;width:100%}.headerMenu-wrapper li{width:100%}.gitAddressClone{width:100%;margin-left:0}.gitAddressClone>span{padding:0}.messages{max-width:100%}}.commonBox{border:1px solid #ddd;margin-top:18px;border-radius:4px}.commonBox .ant-anchor-wrapper{overflow:unset!important}.commonBox .commonBox-title{padding:0 20px;box-sizing:border-box;font-size:16px;background:#fafbfc;font-weight:700;height:45px;line-height:45px;border-bottom:1px solid #d9d9d9;border-radius:4px 4px 0 0}.readBox{border:none}.readBox.commonBox .commonBox-info{border:1px solid #d0d0d0;border-top:none;border-radius:0 0 4px 4px;padding:20px 38px}.commonBox .commonBox-title.boxTitle{display:flex;justify-content:space-between;height:55px;line-height:55px;background:#fafcff;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23)}.synchronism{display:block;height:34px;line-height:34px;padding:0 15px;color:#fff!important;background-color:#28bd6c;border-radius:4px}.files_info{cursor:pointer}.commonBox .commonBox-info{padding:20px 15px}.commonBox-title-read{vertical-align:middle;color:#000;font-size:14px}.commonBox-title-read:hover{color:#466aff}@media screen and (max-width:370px){.p-r-btn,.p-r-tags{opacity:0;display:none}.p-r-about{flex-wrap:wrap}.commitKey{margin-right:0}.list-r-Search{width:100%}}.null_data_box{width:100%;border:1px solid #d4d4d5;border-radius:3px}.title{font-weight:700;background:#f4f4f4;padding:10px 15px;box-sizing:border-box;border-bottom:1px solid #d4d4d5}.item_title{font-size:18px;font-weight:700;margin-bottom:15px}.item{padding:15px;border-bottom:1px solid #dededf}.item:last-child{border-bottom:none}.item_title small{font-weight:400;margin-left:10px}.item_title small a{color:#4183c6}.Markdown{background:#f7f7f7;padding:10px 20px}.item .gitAddressClone input:focus{border:1px solid #2185d0}.content-file{margin-top:8px}.content-file .CodeMirror{background-color:#f7f7f7;border:1px solid #e4e4e4;border-radius:4px;height:auto}.content-file.edit .CodeMirror{background-color:#fff}.content-file .CodeMirror .CodeMirror-scroll{min-height:450px}.text-center{text-align:center}.fork-css{position:absolute;left:0;top:50px;width:100%}.color-grey-ccc{color:#ccc!important}a.color-grey-ccc:hover{color:#4cacff!important}.pull-right{float:right}.commitList{padding:0 30px;min-height:400px}.main{margin:30px auto}.main .ant-timeline{margin-top:28px}.main .ant-timeline .commitList-item{position:relative;padding:20px;background:#fafcff;border:1px solid rgba(42,97,255,.23);border-radius:4px;margin-left:16px;align-items:center}.main .ant-timeline .commitList-item .markdown-body table{background:#fafcff}.main .ant-timeline .commitList-item:after,.main .ant-timeline .commitList-item:before{content:"";position:absolute;left:-10px;top:10px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:10px solid rgba(42,97,255,.23)}.main .ant-timeline .commitList-item:after{left:-8px;border-right:10px solid #fafcff}.main .ant-timeline .commitList-item:after:hover{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover{background:#eef6ff;border:1px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item:hover:after{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover:before{border-right:10px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item:hover .markdown-body table{background:#eef6ff}.main .ant-timeline .commitList-item .treecopy-cont{padding:4px 15px}.main .ant-timeline .commitList-item .btn-83{margin-left:20px}.main .ant-timeline .ant-timeline-item{padding:8px 0 20px}.main .ant-timeline .ant-timeline-item-tail{height:calc(100% - 20px);border-left:2px solid #eee;top:12px}.main .ant-timeline .ant-timeline-item-tail:after{content:" ";height:0;position:absolute;width:0;border:7px solid transparent;border-top-color:#eee;top:100%;left:50%;margin-left:-8px}.main .ant-timeline .ant-timeline-item-head-custom{top:20px;padding:0 1px}.div_table{border:1px solid #eee;border-radius:2px}.ul_thead{box-sizing:border-box;background:#fafafa;border-bottom:1px solid #eee;height:50px;line-height:50px}.ul_tbody,.ul_thead{padding:0 30px}.ul_tbody li,.ul_thead li{display:flex;align-items:center;text-align:left}.ul_tbody li{padding:18px 0;border-bottom:1px solid #eee}.ul_tbody li:last-child{border-bottom:none}.ul_tbody li>span,.ul_thead li>span{width:20%;padding-right:20px}.ul_tbody li>span:nth-child(2),.ul_thead li>span:nth-child(2){flex:1}.ul_tbody_third{display:flex;flex-direction:column;align-items:flex-start;justify-content:left}.ul_tbody_forth{text-align:center;display:flex;justify-content:center}.depotNum{color:#666!important}.depotNum span:last-child{color:#333}.depotNum:hover span:last-child{color:#2a61ff} \ No newline at end of file diff --git a/static/css/59.79f5f7f7.chunk.css b/static/css/59.79f5f7f7.chunk.css new file mode 100644 index 000000000..57349f476 --- /dev/null +++ b/static/css/59.79f5f7f7.chunk.css @@ -0,0 +1 @@ +.lineH2{line-height:2}.t_project_banner{background-color:#050d34}.ProjectListIndex{width:1200px;margin:20px auto;display:flex;align-items:flex-start;flex-wrap:wrap}.list-left{width:26%;padding-right:20px;box-sizing:border-box;margin-bottom:20px}.list-left>div{border:1px solid #eee}.list-left>div.bgcF{border:none}.list-right{width:74%;background:#fff;padding:10px;border:1px solid #eee}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:none!important}.ant-menu-vertical>.ant-menu-item{margin:0!important;height:35px;line-height:35px;border-bottom:1px solid #eee;font-size:14px!important}.ant-menu-vertical>.ant-menu-item:last-child{border-bottom:none}.list-r-operation{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;padding:25px 30px;border-bottom:1px solid #e0e0e0}.list-r-Search{width:400px}.padding0-25{padding:0 25px}.list-r-Search .ant-btn-lg{height:38px}.list-r-Search .ant-input-group-addon{border:none!important}.list-r-Search .ant-input-search-button{height:40px!important}.createBtn{border-radius:4px;margin-left:20px;display:inline-block;padding:3px 15px;background-color:#4cacff;color:#fff!important}.project-list{padding:0 30px}.border-top-grey{border-top:1px solid #eee}.p-r-Item:last-child{border-bottom:none!important}.p-r-Item{display:flex;border-bottom:1px solid #eee;padding:22px 0;justify-content:flex-start}.boxShandow{box-shadow:0 2px 20px 10px rgba(0,0,0,.03)}.p-r-photo{width:60px;height:60px;border-radius:50%;margin-right:22px;margin-top:8px}.p-r-Infos{flex:1;width:0}.p-r-name{display:flex;justify-content:space-between;align-items:center}.p-r-name>p{flex:1;width:0}.p-r-btn{display:flex;align-items:center}.p-r-btn>span{height:35px;line-height:35px;border:1px solid #f4f4f4;border-radius:5px;display:block;margin-left:20px;background-color:#fff;display:flex}.p-r-btn>span>a{display:flex;align-items:center;padding:0 12px;background:#ececec}.p-r-btn>span>a:active{background:#f4f4f4}.p-r-btn>span>span{padding:0 8px}.p-r-tags{display:flex;opacity:1}.p-r-tags.large>span{height:30px;line-height:30px;font-size:14px}.p-r-tags>span{margin-left:15px;padding:0 10px;border-radius:15px;background:#ebf4fe;color:#333;height:24px;line-height:24px;display:block;font-size:12px;display:flex}.p-r-tags>span.pariseTag{background:#fff3dc}.p-r-tags.large>span>label{padding:0 12px}.p-r-tags>span>label{padding:0 8px}.p-r-tags.large>span>span{padding:0 6px}.pariseImg{width:14px;height:12px;margin-top:6px;margin-right:3px}.p-r-tags>span>span{display:block;background:#fff;border-left:#efefef;padding:0 4px;border-radius:0 4px 4px 0;color:#999}.p-r-content{margin-top:10px;color:#666;display:flex}.p-r-detail>span{margin-right:22px;color:#888}.p-r-detail>span>label{color:#999}.p-r-about{display:flex;justify-content:space-between;flex-wrap:nowrap;margin-top:8px;color:#666}.spincontent{height:400px}.spinstyle .ant-spin-text{margin-top:30px;color:#888}.detailHeader-wrapper{background-color:#fbfcff;border-bottom:1px solid #e2e2e2}.headerMenu-wrapper{display:flex;flex-direction:row;cursor:pointer}.headerMenu-wrapper li{text-align:center;padding:0;margin-right:40px;display:flex}.headerMenu-wrapper li>a{position:relative;font-size:14px;height:36px;line-height:24px;display:block;color:#000!important}.headerMenu-wrapper li>a>span.num{line-height:24px;margin-left:5px;font-size:12px;float:right;color:#666!important;background-color:hsla(0,0%,60%,.13);border-radius:50%;width:24px;height:24px}.headerMenu-wrapper li.active a:after,.headerMenu-wrapper li:hover a:after{position:absolute;bottom:0;height:2px;background-color:hsla(0,0%,60%,.2);content:"";left:0;width:100%}.headerMenu-wrapper li.active span{font-weight:500}.headerMenu-wrapper li.active a:after{background-color:#466aff}.detail_tag_btn{height:32px;line-height:32px;border-radius:5px;border:1px solid #d0d0d0;display:flex;align-items:center;margin-left:10px;padding:0;background-color:#fafbfc;box-shadow:none}.detail_tag_btn .detail_tag_btn_name{padding:0 10px;text-align:center;height:30px;line-height:30px;border-radius:5px 0 0 5px}.detail_tag_btn .detail_tag_btn_name:hover{background-color:#f3f4f6}.detail_tag_btn .detail_tag_btn_name span{color:#333!important}.detail_tag_btn .detail_tag_btn_count{width:42px;text-align:center;background:#fff;border-radius:0 4px 4px 0;height:100%;border-left:1px solid #d0d0d0}.ant-tooltip{max-width:fit-content!important}.files-md{padding:20px}.branch-wrapper{border:1px solid #eee;border-radius:4px;display:flex;align-items:center;height:60px;padding:0 30px;width:1200px;background-color:#fff;margin:20px auto 0;justify-content:space-between}.branch-wrapper>a>i{color:#5091ff;margin-right:5px;cursor:default}.branch-wrapper a{display:flex;align-items:center;justify-content:center;text-align:center;height:30px;line-height:30px;cursor:pointer;font-size:16px;color:#333}.branch-wrapper a>span{position:relative;min-height:20px;display:block}.branch-wrapper a.active>span:after{position:absolute;content:"";bottom:-5px;width:30px;height:3px;left:0;background-color:#5091ff}.gitAddressClone{margin:14px 20px!important;border-radius:4px;border:1px solid #eee;background:#fff;margin-left:20px;position:relative}.gitAddressClone,.gitAddressClone>span{display:flex;height:40px;align-items:center}.gitAddressClone>span{line-height:40px;padding:0 12px;cursor:pointer}.addressTips{position:absolute;font-size:12px;color:#ff6e21;top:-34px;left:30px;background-color:#fff;border:1px solid #fe881d;padding:0 5px;height:28px;line-height:28px}.addressTips>span{position:relative;display:block}.addressTips>span:before{top:25px;border:8px solid transparent;border-top-color:#fff;z-index:12}.addressTips>span:after,.addressTips>span:before{box-sizing:content-box;width:0;height:0;position:absolute;left:50%;margin-left:-4px;padding:0;display:block;content:""}.addressTips>span:after{top:26px;border:8px solid transparent;border-top-color:#fe881d;z-index:11}.gitAddressClone>span.addressType{color:#4cacff}.gitAddressClone>span:last-child{border-right:none}.gitAddressClone>input{outline:none;padding:0 8px;height:38px;line-height:38px;border:none!important;border-right:1px solid #eee!important;border-radius:4px 0 0 4px;flex:1;max-width:249px}.wrap-commit-table .ant-table-small>.ant-table-content>.ant-table-body{margin:0}.wrap-commit-table .ant-table-title{background-color:#f1f8ff;padding:13px 16px!important}.commitKey{cursor:pointer;border:1px solid #fd7700;background-color:#fff3dc;color:#fd7700!important;padding:0 12px;height:20px;line-height:20px;margin-left:15px;border-radius:18px;max-width:100%}.branchTitle{padding:8px 10px;color:#333;font-size:16px;border-bottom:1px solid #d9d9d9}.branchUl li{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;padding:20px 0;border-bottom:1px solid #eee}.branchUl li:last-child{border-bottom:none}.operationBtn{border:1px solid #f4f4f4;border-radius:3px;padding:0 6px;background-color:#fff;color:#666!important;display:inline-block}.messages{max-width:700px}.leftPoint{margin-left:20px;position:relative}.leftPoint:before{position:absolute;left:-10px;top:8px;border-radius:50%;width:4px;height:4px;background-color:#dadada;content:""}.subFileName{position:relative;margin-left:15px;height:22px}.subFileName:before{position:absolute;content:"/";left:-10px;top:0;color:#999;height:22px;line-height:22px}.addFile{display:flex}.addFile a{display:block;background-color:rgba(76,172,255,.8);color:#fff;cursor:pointer;height:32px;line-height:32px;padding:0 10px}.addFile a:first-child{border-radius:4px}.addFile a:last-child{border-left:1px solid hsla(0,0%,96.9%,.3)}.addFile a:active{background-color:#4cacff}@media screen and (max-width:750px){.list-r-Search{flex:1}.list-left,.list-right{width:100%;padding:0}}@media screen and (max-width:400px){.list-r-Search{width:100%}.headerMenu-wrapper{flex-direction:column;width:100%}.headerMenu-wrapper li{width:100%}.gitAddressClone{width:100%;margin-left:0}.gitAddressClone>span{padding:0}.messages{max-width:100%}}.commonBox{border:1px solid #ddd;margin-top:18px;border-radius:4px}.commonBox .ant-anchor-wrapper{overflow:unset!important}.commonBox .commonBox-title{padding:0 20px;box-sizing:border-box;font-size:16px;background:#fafbfc;font-weight:700;height:45px;line-height:45px;border-bottom:1px solid #d9d9d9;border-radius:4px 4px 0 0}.readBox{border:none}.readBox.commonBox .commonBox-info{border:1px solid #d0d0d0;border-top:none;border-radius:0 0 4px 4px;padding:20px 38px}.commonBox .commonBox-title.boxTitle{display:flex;justify-content:space-between;height:55px;line-height:55px;background:#fafcff;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23)}.synchronism{display:block;height:34px;line-height:34px;padding:0 15px;color:#fff!important;background-color:#28bd6c;border-radius:4px}.files_info{cursor:pointer}.commonBox .commonBox-info{padding:20px 15px}.commonBox-title-read{vertical-align:middle;color:#000;font-size:14px}.commonBox-title-read:hover{color:#466aff}@media screen and (max-width:370px){.p-r-btn,.p-r-tags{opacity:0;display:none}.p-r-about{flex-wrap:wrap}.commitKey{margin-right:0}.list-r-Search{width:100%}}.null_data_box{width:100%;border:1px solid #d4d4d5;border-radius:3px}.title{font-weight:700;background:#f4f4f4;padding:10px 15px;box-sizing:border-box;border-bottom:1px solid #d4d4d5}.item_title{font-size:18px;font-weight:700;margin-bottom:15px}.item{padding:15px;border-bottom:1px solid #dededf}.item:last-child{border-bottom:none}.item_title small{font-weight:400;margin-left:10px}.item_title small a{color:#4183c6}.Markdown{background:#f7f7f7;padding:10px 20px}.item .gitAddressClone input:focus{border:1px solid #2185d0}.content-file{margin-top:8px}.content-file .CodeMirror{background-color:#f7f7f7;border:1px solid #e4e4e4;border-radius:4px;height:auto}.content-file.edit .CodeMirror{background-color:#fff}.content-file .CodeMirror .CodeMirror-scroll{min-height:450px}.text-center{text-align:center}.fork-css{position:absolute;left:0;top:50px;width:100%}.color-grey-ccc{color:#ccc!important}a.color-grey-ccc:hover{color:#4cacff!important}.pull-right{float:right}.commitList{padding:0 30px;min-height:400px}.main{margin:30px auto}.main .ant-timeline{margin-top:28px}.main .ant-timeline .commitList-item{position:relative;padding:20px;background:#fafcff;border:1px solid rgba(42,97,255,.23);border-radius:4px;margin-left:16px;align-items:center}.main .ant-timeline .commitList-item .markdown-body table{background:#fafcff}.main .ant-timeline .commitList-item:after,.main .ant-timeline .commitList-item:before{content:"";position:absolute;left:-10px;top:10px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:10px solid rgba(42,97,255,.23)}.main .ant-timeline .commitList-item:after{left:-8px;border-right:10px solid #fafcff}.main .ant-timeline .commitList-item:after:hover{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover{background:#eef6ff;border:1px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item:hover:after{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover:before{border-right:10px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item:hover .markdown-body table{background:#eef6ff}.main .ant-timeline .commitList-item .treecopy-cont{padding:4px 15px}.main .ant-timeline .commitList-item .btn-83{margin-left:20px}.main .ant-timeline .ant-timeline-item{padding:8px 0 20px}.main .ant-timeline .ant-timeline-item-tail{height:calc(100% - 20px);border-left:2px solid #eee;top:12px}.main .ant-timeline .ant-timeline-item-tail:after{content:" ";height:0;position:absolute;width:0;border:7px solid transparent;border-top-color:#eee;top:100%;left:50%;margin-left:-8px}.main .ant-timeline .ant-timeline-item-head-custom{top:20px;padding:0 1px}.div_table{border:1px solid #eee;border-radius:2px}.ul_thead{box-sizing:border-box;background:#fafafa;border-bottom:1px solid #eee;height:50px;line-height:50px}.ul_tbody,.ul_thead{padding:0 30px}.ul_tbody li,.ul_thead li{display:flex;align-items:center;text-align:left}.ul_tbody li{padding:18px 0;border-bottom:1px solid #eee}.ul_tbody li:last-child{border-bottom:none}.ul_tbody li>span,.ul_thead li>span{width:20%;padding-right:20px}.ul_tbody li>span:nth-child(2),.ul_thead li>span:nth-child(2){flex:1}.ul_tbody_third{display:flex;flex-direction:column;align-items:flex-start;justify-content:left}.ul_tbody_forth{text-align:center;display:flex;justify-content:center}.depotNum{color:#666!important}.depotNum span:last-child{color:#333}.depotNum:hover span:last-child{color:#2a61ff}.recommandOri.slick-slider{width:1300px;margin:20px auto 40px}.recommandOri.slick-slider .slick-track{margin-left:0}.recommandOri.slick-slider .slick-slide li>a{display:flex;align-items:center;justify-content:center}.iconBtn i{color:#666}.iconBtn span{margin-left:4px;color:#333!important}.iconBtn span:last-child{font-weight:500}.iconBtn:hover i,.iconBtn:hover span{color:#466aff!important}.recommandProjects.slick-slider{width:1230px;margin:20px auto 40px}.recommandProjects.slick-slider .slick-track{margin-left:0}.recommandProjects.slick-slider .slick-arrow.slick-next:before,.recommandProjects.slick-slider .slick-arrow.slick-next li.slick-active button:before,.recommandProjects.slick-slider .slick-arrow.slick-prev:before,.recommandProjects.slick-slider .slick-arrow.slick-prev li.slick-active button:before{color:#999}.recommandProjects.slick-slider .slick-dots{bottom:-29px}.recommandProjects.slick-slider .slick-dots li button:before{color:#909090}.recommandProjects.slick-slider .slick-slide{padding:0 15px;box-sizing:border-box}.recommandProjects.slick-slider .slick-slide>div{background-color:#fff;border-radius:10px;width:100%;cursor:pointer;border:1px solid #eee}.recommandProjects.slick-slider .slick-slide>div:hover{box-shadow:0 2px 20px 0 rgba(0,0,0,.1)}.recommandProjects.slick-slider .baseInfo{padding:18px 15px;display:flex;font-size:12px;color:#888}.recommandProjects.slick-slider .baseInfo .look{margin-right:10px}.recommandProjects.slick-slider .baseInfo .look i{margin-right:5px}.recommandProjects.slick-slider .baseInfo .type{flex:1;width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:right}.recommandProjects.slick-slider .mainInfo{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;border-bottom:1px solid #eee;padding:20px;box-sizing:border-box}.recommandProjects.slick-slider .mainInfo img{height:50px;width:50px;border-radius:50%}.recommandProjects.slick-slider .mainInfo .name{font-size:13px;color:#666;height:18px;line-height:18px;margin-top:12px}.recommandProjects.slick-slider .mainInfo .school{margin-top:12px;color:#333;font-size:16px;height:22px;line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.Panels{max-width:1200px;margin:0 auto}.Panels .panelmenu{padding-top:30px}.Panels .panelmenu .depotBtn .mr-5{margin-right:-5px}.Panels .panelmenu .depotBtn .ant-btn{height:32px;line-height:32px;width:83px;text-align:center;padding:0;font-weight:500;font-size:14px}.Panels .panelmenu .depotBtn .ant-btn-default{color:#333;border-color:#d0d0d0}.Panels .panelmenu .depotBtn .ant-btn-default:hover{background:#f3f4f6}.Panels .panelmenu .depotBtn .ant-btn-primary{color:#fff;background-color:#466aff;border:none}.Panels .panelmenu .depotBtn .ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.Panels .addOptionBtn,.Panels .depotBtn{display:flex}.Panels .addOptionBtn a,.Panels .depotBtn a{color:#333!important;font-weight:500!important;border-radius:5px;width:83px;height:32px;line-height:30px;background:#fff;border:1px solid #d0d0d0;margin-right:10px;text-align:center}.Panels .addOptionBtn a:active,.Panels .addOptionBtn a:hover,.Panels .depotBtn a:active,.Panels .depotBtn a:hover{background:#f3f4f6}.Panels .infoCount{display:inline-block;width:24px;text-align:center;height:24px;line-height:24px;background-color:hsla(0,0%,60%,.13);color:#666;border-radius:12px;margin-left:6px;font-size:12px}.Panels .attrPerson{padding-top:12px;display:flex;flex-wrap:wrap;padding-bottom:2px}.Panels .attrPerson a{margin:0 17px 10px 0}.Panels .attrPerson a img{border-radius:50%;width:40px;height:40px}.Panels .attrPerson a:nth-child(5){margin-right:0}.Panels .progress{display:flex;border-radius:2px;height:11px;margin-top:12px}.Panels .progress span:first-child{border-radius:2px 0 0 2px}.Panels .progress span:last-child{border-radius:0 2px 2px 0}.Panels .progresstip{margin-top:15px;flex-wrap:wrap}.Panels .progresstip i.zero{position:absolute;display:block;border-radius:50%;height:8px;width:8px;left:0;top:8px}.Panels .progresstip>span{padding-left:15px;position:relative;min-width:33.5%;font-size:12px;font-weight:400;color:#666}.Panels .progresstip>span span:last-child{margin-left:5px}.Panels .listtable{margin-top:20px}.Panels .listtable .listtablehead{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 20px 11px;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23);background-color:#fafcff}.Panels .listtable .listtablehead .ellipsistxt{margin-top:2px;margin-left:13px;line-height:18px;flex:1;width:0;color:#666}.Panels .listtable .listtablehead .ellipsistxt:hover .markdown-body,.Panels .listtable .listtablehead .ellipsistxt:hover .markdown-body a{color:#466aff}.Panels .listtable .listtablehead .ellipsistxt #ptxt{margin-bottom:0;word-break:break-all;overflow:unset;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body{line-height:10px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body p{margin:0!important}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ol,.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ul{padding-bottom:3px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ol li,.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ul li{min-height:18px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body table{line-height:1;background:#fafcff}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body:first-child{margin-top:-1px!important}.Panels .listtable .listtablehead .ellipsistxt.hidetxt{height:24px;overflow:hidden;position:relative;padding-right:8px}.Panels .listtable .listtablehead .ellipsis{margin-left:8px;cursor:pointer;height:16px;background:hsla(0,0%,60%,.2);border-radius:2px;padding:0 4px;height:14px;line-height:14px;margin-top:9px}.Panels .listtable .listtablehead .ellipsis i{font-size:15px!important;color:#333;height:14px;line-height:14px}.Panels .listtable .listtablebody{border-radius:0 0 4px 4px;border:1px solid #d0d0d0;border-top:none}.Panels .listtable .listtablebody li.listtablepath a{color:#40a9ff}.Panels .listtable .listtablebody li.listtablepath p{margin-bottom:0!important}.Panels .listtable .listtablebody>li{height:38px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9d9d9;padding:0 20px 0 24px}.Panels .listtable .listtablebody>li:hover{background-color:#f3f4f6}.Panels .listtable .listtablebody>li>span:first-child{width:30%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(2){width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(3){width:10%;text-align:right}.Panels .listtable .listtablebody>li:last-child{border-bottom:none}.drawerBtn{position:fixed;left:-13px;width:33px;background:#fff;border:1px solid #666;border-radius:0 12px 12px 0;height:70px;top:50%;margin-top:-35px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-left:7px}.drawerBtn,.drawerBtn:hover{box-shadow:0 0 8px 3px rgba(0,0,0,.09)}.drawerBtn span{writing-mode:vertical-lr;color:#333;width:25px;font-size:14px}.drawerBtn i{color:#333;height:14px;line-height:14px;width:14px;margin-left:2px;margin-bottom:3px}.downMenu{width:329px;background-color:#fff;box-shadow:0 1px 8px 1px hsla(0,0%,83.1%,.5);padding-bottom:14px}.downMenu .ant-menu-item{height:50px;line-height:50px}.fileMenu{width:83px}.fileMenu li{padding:6px 0!important;text-align:center;width:100%}.catelogue{cursor:pointer;background:#fafbfc;border-radius:4px;border:1px solid #d0d0d0;font-size:15px;font-weight:400;margin-right:12px;padding:0 10px;height:30px;line-height:30px;color:#666!important;display:flex;align-items:center}.catelogue .ant-dropdown-menu-item{border-radius:8px;text-align:left!important}.catelogue .ant-dropdown-menu-item a{width:350px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.catelogue:hover{background-color:#f3f4f6}.catelogue span{margin-top:1px}.submoduleStyle,.submoduleStyle i{cursor:default}.submoduleStyle:hover{color:#05101a}.pinfos a,.pinfos i{color:#666}.pinfos:hover a,.pinfos:hover i{color:#2a61ff!important}.graph{flex:1;margin:0 12px}.graph .ant-typography{white-space:pre-wrap;margin-bottom:0}.ant-anchor-wrapper{padding-left:2px}.ant-anchor-wrapper .ant-anchor-ink:before{background-color:#fff}.coderSubPage{width:1200px;margin:0 auto}.griditemAnchor{margin-left:0;padding:0;border-bottom:1px solid #ddd}.griditemAnchor .ant-anchor{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}.griditemAnchor .griditemCate{color:#333;font-size:16px;display:flex;align-items:center}.griditemAnchor .griditemCate .catelogue{margin-left:0} \ No newline at end of file diff --git a/static/css/59.d180e9c7.chunk.css b/static/css/59.d180e9c7.chunk.css deleted file mode 100644 index 72c907e0c..000000000 --- a/static/css/59.d180e9c7.chunk.css +++ /dev/null @@ -1 +0,0 @@ -.lineH2{line-height:2}.t_project_banner{background-color:#050d34}.ProjectListIndex{width:1200px;margin:20px auto;display:flex;align-items:flex-start;flex-wrap:wrap}.list-left{width:26%;padding-right:20px;box-sizing:border-box;margin-bottom:20px}.list-left>div{border:1px solid #eee}.list-left>div.bgcF{border:none}.list-right{width:74%;background:#fff;padding:10px;border:1px solid #eee}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:none!important}.ant-menu-vertical>.ant-menu-item{margin:0!important;height:35px;line-height:35px;border-bottom:1px solid #eee;font-size:14px!important}.ant-menu-vertical>.ant-menu-item:last-child{border-bottom:none}.list-r-operation{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;padding:25px 30px;border-bottom:1px solid #e0e0e0}.list-r-Search{width:400px}.padding0-25{padding:0 25px}.list-r-Search .ant-btn-lg{height:38px}.list-r-Search .ant-input-group-addon{border:none!important}.list-r-Search .ant-input-search-button{height:40px!important}.createBtn{border-radius:4px;margin-left:20px;display:inline-block;padding:3px 15px;background-color:#4cacff;color:#fff!important}.project-list{padding:0 30px}.border-top-grey{border-top:1px solid #eee}.p-r-Item:last-child{border-bottom:none!important}.p-r-Item{display:flex;border-bottom:1px solid #eee;padding:22px 0;justify-content:flex-start}.boxShandow{box-shadow:0 2px 20px 10px rgba(0,0,0,.03)}.p-r-photo{width:60px;height:60px;border-radius:50%;margin-right:22px;margin-top:8px}.p-r-Infos{flex:1;width:0}.p-r-name{display:flex;justify-content:space-between;align-items:center}.p-r-name>p{flex:1;width:0}.p-r-btn{display:flex;align-items:center}.p-r-btn>span{height:35px;line-height:35px;border:1px solid #f4f4f4;border-radius:5px;display:block;margin-left:20px;background-color:#fff;display:flex}.p-r-btn>span>a{display:flex;align-items:center;padding:0 12px;background:#ececec}.p-r-btn>span>a:active{background:#f4f4f4}.p-r-btn>span>span{padding:0 8px}.p-r-tags{display:flex;opacity:1}.p-r-tags.large>span{height:30px;line-height:30px;font-size:14px}.p-r-tags>span{margin-left:15px;padding:0 10px;border-radius:15px;background:#ebf4fe;color:#333;height:24px;line-height:24px;display:block;font-size:12px;display:flex}.p-r-tags>span.pariseTag{background:#fff3dc}.p-r-tags.large>span>label{padding:0 12px}.p-r-tags>span>label{padding:0 8px}.p-r-tags.large>span>span{padding:0 6px}.pariseImg{width:14px;height:12px;margin-top:6px;margin-right:3px}.p-r-tags>span>span{display:block;background:#fff;border-left:#efefef;padding:0 4px;border-radius:0 4px 4px 0;color:#999}.p-r-content{margin-top:10px;color:#666;display:flex}.p-r-detail>span{margin-right:22px;color:#888}.p-r-detail>span>label{color:#999}.p-r-about{display:flex;justify-content:space-between;flex-wrap:nowrap;margin-top:8px;color:#666}.spincontent{height:400px}.spinstyle .ant-spin-text{margin-top:30px;color:#888}.detailHeader-wrapper{background-color:#fbfcff;border-bottom:1px solid #e2e2e2}.headerMenu-wrapper{display:flex;flex-direction:row;cursor:pointer}.headerMenu-wrapper li{text-align:center;padding:0;margin-right:40px;display:flex}.headerMenu-wrapper li>a{position:relative;font-size:14px;height:36px;line-height:24px;display:block;color:#000!important}.headerMenu-wrapper li>a>span.num{line-height:24px;margin-left:5px;font-size:12px;float:right;color:#666!important;background-color:hsla(0,0%,60%,.13);border-radius:50%;width:24px;height:24px}.headerMenu-wrapper li.active a:after,.headerMenu-wrapper li:hover a:after{position:absolute;bottom:0;height:2px;background-color:hsla(0,0%,60%,.2);content:"";left:0;width:100%}.headerMenu-wrapper li.active span{font-weight:500}.headerMenu-wrapper li.active a:after{background-color:#466aff}.detail_tag_btn{height:32px;line-height:32px;border-radius:5px;border:1px solid #d0d0d0;display:flex;align-items:center;margin-left:10px;padding:0;background-color:#fafbfc;box-shadow:none}.detail_tag_btn .detail_tag_btn_name{padding:0 10px;text-align:center;height:30px;line-height:30px;border-radius:5px 0 0 5px}.detail_tag_btn .detail_tag_btn_name:hover{background-color:#f3f4f6}.detail_tag_btn .detail_tag_btn_name span{color:#333!important}.detail_tag_btn .detail_tag_btn_count{width:42px;text-align:center;background:#fff;border-radius:0 4px 4px 0;height:100%;border-left:1px solid #d0d0d0}.ant-tooltip{max-width:fit-content!important}.files-md{padding:20px}.branch-wrapper{border:1px solid #eee;border-radius:4px;display:flex;align-items:center;height:60px;padding:0 30px;width:1200px;background-color:#fff;margin:20px auto 0;justify-content:space-between}.branch-wrapper>a>i{color:#5091ff;margin-right:5px;cursor:default}.branch-wrapper a{display:flex;align-items:center;justify-content:center;text-align:center;height:30px;line-height:30px;cursor:pointer;font-size:16px;color:#333}.branch-wrapper a>span{position:relative;min-height:20px;display:block}.branch-wrapper a.active>span:after{position:absolute;content:"";bottom:-5px;width:30px;height:3px;left:0;background-color:#5091ff}.gitAddressClone{margin:14px 20px!important;border-radius:4px;border:1px solid #eee;background:#fff;margin-left:20px;position:relative}.gitAddressClone,.gitAddressClone>span{display:flex;height:40px;align-items:center}.gitAddressClone>span{line-height:40px;padding:0 12px;cursor:pointer}.addressTips{position:absolute;font-size:12px;color:#ff6e21;top:-34px;left:30px;background-color:#fff;border:1px solid #fe881d;padding:0 5px;height:28px;line-height:28px}.addressTips>span{position:relative;display:block}.addressTips>span:before{top:25px;border:8px solid transparent;border-top-color:#fff;z-index:12}.addressTips>span:after,.addressTips>span:before{box-sizing:content-box;width:0;height:0;position:absolute;left:50%;margin-left:-4px;padding:0;display:block;content:""}.addressTips>span:after{top:26px;border:8px solid transparent;border-top-color:#fe881d;z-index:11}.gitAddressClone>span.addressType{color:#4cacff}.gitAddressClone>span:last-child{border-right:none}.gitAddressClone>input{outline:none;padding:0 8px;height:38px;line-height:38px;border:none!important;border-right:1px solid #eee!important;border-radius:4px 0 0 4px;flex:1;max-width:249px}.wrap-commit-table .ant-table-small>.ant-table-content>.ant-table-body{margin:0}.wrap-commit-table .ant-table-title{background-color:#f1f8ff;padding:13px 16px!important}.commitKey{cursor:pointer;border:1px solid #fd7700;background-color:#fff3dc;color:#fd7700!important;padding:0 12px;height:20px;line-height:20px;margin-left:15px;border-radius:18px;max-width:100%}.branchTitle{padding:8px 10px;color:#333;font-size:16px;border-bottom:1px solid #d9d9d9}.branchUl li{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;padding:20px 0;border-bottom:1px solid #eee}.branchUl li:last-child{border-bottom:none}.operationBtn{border:1px solid #f4f4f4;border-radius:3px;padding:0 6px;background-color:#fff;color:#666!important;display:inline-block}.messages{max-width:700px}.leftPoint{margin-left:20px;position:relative}.leftPoint:before{position:absolute;left:-10px;top:8px;border-radius:50%;width:4px;height:4px;background-color:#dadada;content:""}.subFileName{position:relative;margin-left:15px;height:22px}.subFileName:before{position:absolute;content:"/";left:-10px;top:0;color:#999;height:22px;line-height:22px}.addFile{display:flex}.addFile a{display:block;background-color:rgba(76,172,255,.8);color:#fff;cursor:pointer;height:32px;line-height:32px;padding:0 10px}.addFile a:first-child{border-radius:4px}.addFile a:last-child{border-left:1px solid hsla(0,0%,96.9%,.3)}.addFile a:active{background-color:#4cacff}@media screen and (max-width:750px){.list-r-Search{flex:1}.list-left,.list-right{width:100%;padding:0}}@media screen and (max-width:400px){.list-r-Search{width:100%}.headerMenu-wrapper{flex-direction:column;width:100%}.headerMenu-wrapper li{width:100%}.gitAddressClone{width:100%;margin-left:0}.gitAddressClone>span{padding:0}.messages{max-width:100%}}.commonBox{border:1px solid #ddd;margin-top:18px;border-radius:4px}.commonBox .ant-anchor-wrapper{overflow:unset!important}.commonBox .commonBox-title{padding:0 20px;box-sizing:border-box;font-size:16px;background:#fafbfc;font-weight:700;height:45px;line-height:45px;border-bottom:1px solid #d9d9d9;border-radius:4px 4px 0 0}.readBox{border:none}.readBox.commonBox .commonBox-info{border:1px solid #d0d0d0;border-top:none;border-radius:0 0 4px 4px;padding:20px 38px}.commonBox .commonBox-title.boxTitle{display:flex;justify-content:space-between;height:55px;line-height:55px;background:#fafcff;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23)}.synchronism{display:block;height:34px;line-height:34px;padding:0 15px;color:#fff!important;background-color:#28bd6c;border-radius:4px}.files_info{cursor:pointer}.commonBox .commonBox-info{padding:20px 15px}.commonBox-title-read{vertical-align:middle;color:#000;font-size:14px}.commonBox-title-read:hover{color:#466aff}@media screen and (max-width:370px){.p-r-btn,.p-r-tags{opacity:0;display:none}.p-r-about{flex-wrap:wrap}.commitKey{margin-right:0}.list-r-Search{width:100%}}.null_data_box{width:100%;border:1px solid #d4d4d5;border-radius:3px}.title{font-weight:700;background:#f4f4f4;padding:10px 15px;box-sizing:border-box;border-bottom:1px solid #d4d4d5}.item_title{font-size:18px;font-weight:700;margin-bottom:15px}.item{padding:15px;border-bottom:1px solid #dededf}.item:last-child{border-bottom:none}.item_title small{font-weight:400;margin-left:10px}.item_title small a{color:#4183c6}.Markdown{background:#f7f7f7;padding:10px 20px}.item .gitAddressClone input:focus{border:1px solid #2185d0}.content-file{margin-top:8px}.content-file .CodeMirror{background-color:#f7f7f7;border:1px solid #e4e4e4;border-radius:4px;height:auto}.content-file.edit .CodeMirror{background-color:#fff}.content-file .CodeMirror .CodeMirror-scroll{min-height:450px}.text-center{text-align:center}.fork-css{position:absolute;left:0;top:50px;width:100%}.color-grey-ccc{color:#ccc!important}a.color-grey-ccc:hover{color:#4cacff!important}.pull-right{float:right}.commitList{padding:0 30px;min-height:400px}.main{margin:30px auto}.main .ant-timeline{margin-top:28px}.main .ant-timeline .commitList-item{position:relative;padding:20px;background:#fafcff;border:1px solid rgba(42,97,255,.23);border-radius:4px;margin-left:16px;align-items:center}.main .ant-timeline .commitList-item:after,.main .ant-timeline .commitList-item:before{content:"";position:absolute;left:-10px;top:10px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:10px solid rgba(42,97,255,.23)}.main .ant-timeline .commitList-item:after{left:-8px;border-right:10px solid #fafcff}.main .ant-timeline .commitList-item:after:hover{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover{background:#eef6ff;border:1px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item:hover:after{border-right:10px solid #eef6ff}.main .ant-timeline .commitList-item:hover:before{border-right:10px solid rgba(42,97,255,.58)}.main .ant-timeline .commitList-item .treecopy-cont{padding:4px 15px}.main .ant-timeline .commitList-item .btn-83{margin-left:20px}.main .ant-timeline .ant-timeline-item{padding:8px 0 20px}.main .ant-timeline .ant-timeline-item-tail{height:calc(100% - 20px);border-left:2px solid #eee;top:12px}.main .ant-timeline .ant-timeline-item-tail:after{content:" ";height:0;position:absolute;width:0;border:7px solid transparent;border-top-color:#eee;top:100%;left:50%;margin-left:-8px}.main .ant-timeline .ant-timeline-item-head-custom{top:20px;padding:0 1px}.div_table{border:1px solid #eee;border-radius:2px}.ul_thead{box-sizing:border-box;background:#fafafa;border-bottom:1px solid #eee;height:50px;line-height:50px}.ul_tbody,.ul_thead{padding:0 30px}.ul_tbody li,.ul_thead li{display:flex;align-items:center;text-align:left}.ul_tbody li{padding:18px 0;border-bottom:1px solid #eee}.ul_tbody li:last-child{border-bottom:none}.ul_tbody li>span,.ul_thead li>span{width:20%;padding-right:20px}.ul_tbody li>span:nth-child(2),.ul_thead li>span:nth-child(2){flex:1}.ul_tbody_third{display:flex;flex-direction:column;align-items:flex-start;justify-content:left}.ul_tbody_forth{text-align:center;display:flex;justify-content:center}.depotNum{color:#666!important}.depotNum span:last-child{color:#333}.depotNum:hover span:last-child{color:#2a61ff}.recommandOri.slick-slider{width:1300px;margin:20px auto 40px}.recommandOri.slick-slider .slick-track{margin-left:0}.recommandOri.slick-slider .slick-slide li>a{display:flex;align-items:center;justify-content:center}.iconBtn i{color:#666}.iconBtn span{margin-left:4px;color:#333!important}.iconBtn span:last-child{font-weight:500}.iconBtn:hover i,.iconBtn:hover span{color:#466aff!important}.recommandProjects.slick-slider{width:1230px;margin:20px auto 40px}.recommandProjects.slick-slider .slick-track{margin-left:0}.recommandProjects.slick-slider .slick-arrow.slick-next:before,.recommandProjects.slick-slider .slick-arrow.slick-next li.slick-active button:before,.recommandProjects.slick-slider .slick-arrow.slick-prev:before,.recommandProjects.slick-slider .slick-arrow.slick-prev li.slick-active button:before{color:#999}.recommandProjects.slick-slider .slick-dots{bottom:-29px}.recommandProjects.slick-slider .slick-dots li button:before{color:#909090}.recommandProjects.slick-slider .slick-slide{padding:0 15px;box-sizing:border-box}.recommandProjects.slick-slider .slick-slide>div{background-color:#fff;border-radius:10px;width:100%;cursor:pointer;border:1px solid #eee}.recommandProjects.slick-slider .slick-slide>div:hover{box-shadow:0 2px 20px 0 rgba(0,0,0,.1)}.recommandProjects.slick-slider .baseInfo{padding:18px 15px;display:flex;font-size:12px;color:#888}.recommandProjects.slick-slider .baseInfo .look{margin-right:10px}.recommandProjects.slick-slider .baseInfo .look i{margin-right:5px}.recommandProjects.slick-slider .baseInfo .type{flex:1;width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:right}.recommandProjects.slick-slider .mainInfo{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;border-bottom:1px solid #eee;padding:20px;box-sizing:border-box}.recommandProjects.slick-slider .mainInfo img{height:50px;width:50px;border-radius:50%}.recommandProjects.slick-slider .mainInfo .name{font-size:13px;color:#666;height:18px;line-height:18px;margin-top:12px}.recommandProjects.slick-slider .mainInfo .school{margin-top:12px;color:#333;font-size:16px;height:22px;line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.Panels{max-width:1200px;margin:0 auto}.Panels .panelmenu{padding-top:30px}.Panels .panelmenu .depotBtn .mr-5{margin-right:-5px}.Panels .panelmenu .depotBtn .ant-btn{height:32px;line-height:32px;width:83px;text-align:center;padding:0;font-weight:500;font-size:14px}.Panels .panelmenu .depotBtn .ant-btn-default{color:#333;border-color:#d0d0d0}.Panels .panelmenu .depotBtn .ant-btn-default:hover{background:#f3f4f6}.Panels .panelmenu .depotBtn .ant-btn-primary{color:#fff;background-color:#466aff;border:none}.Panels .panelmenu .depotBtn .ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.Panels .addOptionBtn,.Panels .depotBtn{display:flex}.Panels .addOptionBtn a,.Panels .depotBtn a{color:#333!important;font-weight:500!important;border-radius:5px;width:83px;height:32px;line-height:30px;background:#fff;border:1px solid #d0d0d0;margin-right:10px;text-align:center}.Panels .addOptionBtn a:active,.Panels .addOptionBtn a:hover,.Panels .depotBtn a:active,.Panels .depotBtn a:hover{background:#f3f4f6}.Panels .infoCount{display:inline-block;width:24px;text-align:center;height:24px;line-height:24px;background-color:hsla(0,0%,60%,.13);color:#666;border-radius:12px;margin-left:6px;font-size:12px}.Panels .attrPerson{padding-top:12px;display:flex;flex-wrap:wrap;padding-bottom:2px}.Panels .attrPerson a{margin:0 17px 10px 0}.Panels .attrPerson a img{border-radius:50%;width:40px;height:40px}.Panels .attrPerson a:nth-child(5){margin-right:0}.Panels .progress{display:flex;border-radius:2px;height:11px;margin-top:12px}.Panels .progress span:first-child{border-radius:2px 0 0 2px}.Panels .progress span:last-child{border-radius:0 2px 2px 0}.Panels .progresstip{margin-top:15px;flex-wrap:wrap}.Panels .progresstip i.zero{position:absolute;display:block;border-radius:50%;height:8px;width:8px;left:0;top:10px}.Panels .progresstip>span{padding-left:15px;position:relative;min-width:33.5%;font-size:12px;font-weight:400;color:#666}.Panels .progresstip>span span:last-child{margin-left:5px}.Panels .listtable{margin-top:20px}.Panels .listtable .listtablehead{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 20px 11px;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23);background-color:#fafcff}.Panels .listtable .listtablehead .ellipsistxt{margin-top:6px;margin-left:13px;line-height:18px;flex:1;width:0;color:#666}.Panels .listtable .listtablehead .ellipsistxt #ptxt{margin-bottom:0;word-break:break-all;overflow:unset;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.Panels .listtable .listtablehead .ellipsistxt.hidetxt{height:18px;overflow:hidden;position:relative;padding-right:8px}.Panels .listtable .listtablehead .ellipsis{margin-left:8px;cursor:pointer;height:16px;background:hsla(0,0%,60%,.2);border-radius:2px;padding:0 4px;height:14px;line-height:14px;margin-top:9px}.Panels .listtable .listtablehead .ellipsis i{font-size:15px!important;color:#333;height:14px;line-height:14px}.Panels .listtable .listtablebody{border-radius:0 0 4px 4px;border:1px solid #d0d0d0;border-top:none}.Panels .listtable .listtablebody li.listtablepath a{color:#40a9ff}.Panels .listtable .listtablebody li.listtablepath p{margin-bottom:0!important}.Panels .listtable .listtablebody>li{height:38px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9d9d9;padding:0 20px 0 24px}.Panels .listtable .listtablebody>li:hover{background-color:#f3f4f6}.Panels .listtable .listtablebody>li>span:first-child{width:30%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(2){width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(3){width:10%;text-align:right}.Panels .listtable .listtablebody>li:last-child{border-bottom:none}.drawerBtn{position:fixed;left:-13px;width:33px;background:#fff;border:1px solid #666;border-radius:0 12px 12px 0;height:70px;top:50%;margin-top:-35px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-left:7px}.drawerBtn,.drawerBtn:hover{box-shadow:0 0 8px 3px rgba(0,0,0,.09)}.drawerBtn span{writing-mode:vertical-lr;color:#333;width:25px;font-size:14px}.drawerBtn i{color:#333;height:14px;line-height:14px;width:14px;margin-left:2px;margin-bottom:3px}.downMenu{width:329px;background-color:#fff;box-shadow:0 1px 8px 1px hsla(0,0%,83.1%,.5);padding-bottom:14px}.downMenu .ant-menu-item{height:50px;line-height:50px}.fileMenu{width:83px}.fileMenu li{padding:6px 0!important;text-align:center;width:100%}.catelogue{cursor:pointer;background:#fafbfc;border-radius:4px;border:1px solid #d0d0d0;font-size:15px;font-weight:400;margin-right:12px;padding:0 10px;height:30px;line-height:30px;color:#666!important;display:flex;align-items:center}.catelogue .ant-dropdown-menu-item{border-radius:8px;text-align:left!important}.catelogue .ant-dropdown-menu-item a{width:350px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.catelogue:hover{background-color:#f3f4f6}.catelogue span{margin-top:1px}.submoduleStyle,.submoduleStyle i{cursor:default}.submoduleStyle:hover{color:#05101a}.pinfos a,.pinfos i{color:#666}.pinfos:hover a,.pinfos:hover i{color:#2a61ff!important}.graph{flex:1;margin:0 12px}.graph .ant-typography{white-space:pre-wrap;margin-bottom:0}.ant-anchor-wrapper{padding-left:2px}.ant-anchor-wrapper .ant-anchor-ink:before{background-color:#fff}.coderSubPage{width:1200px;margin:0 auto}.griditemAnchor{margin-left:0;padding:0;border-bottom:1px solid #ddd}.griditemAnchor .ant-anchor{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}.griditemAnchor .griditemCate{color:#333;font-size:16px;display:flex;align-items:center}.griditemAnchor .griditemCate .catelogue{margin-left:0} \ No newline at end of file diff --git a/static/css/67.8758c8a2.chunk.css b/static/css/66.8758c8a2.chunk.css similarity index 100% rename from static/css/67.8758c8a2.chunk.css rename to static/css/66.8758c8a2.chunk.css diff --git a/static/css/66.ea97577b.chunk.css b/static/css/67.ea97577b.chunk.css similarity index 100% rename from static/css/66.ea97577b.chunk.css rename to static/css/67.ea97577b.chunk.css diff --git a/static/css/main.63a200c7.chunk.css b/static/css/main.9813a6b6.chunk.css similarity index 90% rename from static/css/main.63a200c7.chunk.css rename to static/css/main.9813a6b6.chunk.css index 69b3dcd28..da87b2187 100644 --- a/static/css/main.63a200c7.chunk.css +++ b/static/css/main.9813a6b6.chunk.css @@ -19,6 +19,6 @@ * https://quilljs.com/ * Copyright (c) 2014, Jason Chen * Copyright (c) 2013, salesforce.com - */.ql-container{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-bubble.ql-toolbar:after,.ql-bubble .ql-toolbar:after{clear:both;content:"";display:table}.ql-bubble.ql-toolbar button,.ql-bubble .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-bubble.ql-toolbar button svg,.ql-bubble .ql-toolbar button svg{float:left;height:100%}.ql-bubble.ql-toolbar button:active:hover,.ql-bubble .ql-toolbar button:active:hover{outline:none}.ql-bubble.ql-toolbar input.ql-image[type=file],.ql-bubble .ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble.ql-toolbar button:focus,.ql-bubble .ql-toolbar button:focus,.ql-bubble.ql-toolbar button:hover,.ql-bubble .ql-toolbar button:hover{color:#fff}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill{fill:#fff}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter{stroke:#fff}@media (pointer:coarse){.ql-bubble.ql-toolbar button:hover:not(.ql-active),.ql-bubble .ql-toolbar button:hover:not(.ql-active){color:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#ccc}}.ql-bubble,.ql-bubble *{-webkit-box-sizing:border-box;box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;-webkit-transform:translateY(10px);-ms-transform:translateY(10px);transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{-webkit-transform:translateY(-10px);-ms-transform:translateY(-10px);transform:translateY(-10px)}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:"";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-stroke.ql-thin,.ql-bubble .ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor h1{font-size:2em}.ql-bubble .ql-editor h2{font-size:1.5em}.ql-bubble .ql-editor h3{font-size:1.17em}.ql-bubble .ql-editor h4{font-size:1em}.ql-bubble .ql-editor h5{font-size:.83em}.ql-bubble .ql-editor h6{font-size:.67em}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor code,.ql-bubble .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-bubble .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-bubble .ql-editor code{font-size:85%;padding:2px 4px}.ql-bubble .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#ccc;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:22px}.ql-bubble .ql-picker-options{background-color:#444;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:28px}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-item:before,.ql-bubble .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-item:before,.ql-bubble .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-item:before,.ql-bubble .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-toolbar .ql-formats{margin:8px 12px 8px 0}.ql-bubble .ql-toolbar .ql-formats:first-child{margin-left:12px}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip{background-color:#444;border-radius:25px;color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:" ";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #444;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #444;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;color:#fff;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{top:10px;position:absolute;right:20px}.ql-bubble .ql-tooltip-editor a:before{color:#ccc;content:"\D7";font-size:16px;font-weight:700}.ql-container.ql-bubble:not(.ql-disabled) a{position:relative;white-space:nowrap}.ql-container.ql-bubble:not(.ql-disabled) a:before{background-color:#444;border-radius:15px;top:-5px;font-size:12px;color:#fff;content:attr(href);font-weight:400;overflow:hidden;padding:5px 15px;text-decoration:none;z-index:1}.ql-container.ql-bubble:not(.ql-disabled) a:after{border-top:6px solid #444;border-left:6px solid transparent;border-right:6px solid transparent;top:0;content:" ";height:0;width:0}.ql-container.ql-bubble:not(.ql-disabled) a:after,.ql-container.ql-bubble:not(.ql-disabled) a:before{left:0;margin-left:50%;position:absolute;-webkit-transform:translate(-50%,-100%);-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transition:visibility 0s ease .2s;-o-transition:visibility 0s ease .2s;transition:visibility 0s ease .2s;visibility:hidden}.ql-container.ql-bubble:not(.ql-disabled) a:hover:after,.ql-container.ql-bubble:not(.ql-disabled) a:hover:before{visibility:visible}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=SimSun]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=SimSun]:before{content:"宋体";font-family:SimSun!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=SimHei]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=SimHei]:before{content:"黑体";font-family:SimHei!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Microsoft-YaHei]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Microsoft-YaHei]:before{content:"微软雅黑";font-family:Microsoft YaHei!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=KaiTi]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=KaiTi]:before{content:"楷体";font-family:KaiTi!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=FangSong]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=FangSong]:before{content:"仿宋";font-family:FangSong!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Arial]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Arial]:before{content:"Arial";font-family:Arial!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Times-New-Roman]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Times-New-Roman]:before{content:"Times New Roman";font-family:Times New Roman!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=sans-serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=sans-serif]:before{content:"sans-serif";font-family:sans-serif!important}.ql-font-SimSun{font-family:SimSun!important}.ql-font-SimHei{font-family:SimHei!important}.ql-font-Microsoft-YaHei{font-family:Microsoft YaHei!important}.ql-font-KaiTi{font-family:KaiTi!important}.ql-font-FangSong{font-family:FangSong!important}.ql-font-Arial{font-family:Arial!important}.ql-font-Times-New-Roman{font-family:Times New Roman!important}.ql-font-sans-serif{font-family:sans-serif!important}i.iconfont{cursor:pointer}.overflowHidden1{display:inline-block}.overflowHidden1,.overflowHidden2{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.CodeMirror pre{padding:0 4px}.CodeMirror-rulers{bottom:-20px}.CodeMirror pre{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.radioStyle{display:block;height:30px}.shixunScopeInput{width:218px;height:33px;display:block;margin-bottom:15px}#memoMD .CodeMirror{margin-top:31px!important;height:364px!important}#memoMD .editormd-preview{width:578px!important;top:40px!important;height:364px!important}.ml36{margin-left:26px}#person-unit a.white-btn.use_scope-btn:hover{border:1px solid #f06200;color:#fff!important}.newedu-class-leftnav,body #root{background:#fff}.newedu-class-leftnav li{height:50px;line-height:49px;font-size:16px;cursor:pointer;position:relative}.newedu-class-leftnav li a{padding-left:42px;width:93%;-webkit-box-sizing:border-box;box-sizing:border-box;color:#05101a;background:transparent}.newedu-class-leftnav>div:last-child .Draggablelichild:last-child li a{border-bottom:none}.newedu-class-leftnav li:hover{background-color:#f1f1f1}.newedu-class-leftnav li:hover a{color:#05101a;background:transparent}.newedu-class-leftnav li.active{color:#05101a!important}.newedu-class-leftnav li.active a{color:#05101a!important;background:transparent}.newedu-class-leftnav li a{padding-left:20px}.addtaskmodle{width:69px;height:50px;font-size:14px;font-family:MicrosoftYaHei;font-weight:400;color:#000}.addtaskmodle .iconfont{font-size:15px!important;color:#666}.newedu-class-leftnav li:hover a .addtaskmodle{color:#666}.martop1{margin-top:1px}.ml100{margin-left:100px}.ml110{margin-left:110px}.addjia{padding:20px;height:48px!important;line-height:10px!important}.newedu-class-leftnav .addjia:hover{background:#fff!important}.pl20{padding-left:20px}.ml90{margin-left:90px}.ebebeb{border-bottom:1px solid #ebebeb}.CheckboxGroup{background:#f9f9f9}.maxwidth155{max-width:155px;color:#666;font-size:14px}.maxwidth170{max-width:170px;color:#666;font-size:14px}.pl46{margin-left:46px!important;border-bottom:1px solid hsla(0,0%,93.3%,.93);width:90%!important}.hidden{overflow:hidden}.pd0{padding:0!important}.color999{color:#999!important}.maxwidth190{max-width:190px;color:#666;font-size:14px}.color05101A{color:#05101a}.liactive{border-left:1px solid #4cacff}.xaxisreverseorder .ant-input-group-addon .ant-btn-lg{height:38px}.ant-input-group-addon .ant-btn-lg{height:39px;border-radius:0 3px 3px 0!important;border:none!important}.bannername{max-width:907px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;height:40px}.bannnerusername{font-size:20px;margin-left:20px}.bannnerusernames{font-size:14px;margin-left:20px}.bannerimgname{width:40px;height:40px}.clearfixborder{padding-top:10px}.ml8{margin-left:8px}.bannerurli{border-right:1px solid hsla(0,0%,100%,.3)}.bannerurli,.bannerurlis{width:70px;margin-left:-10px}.pathInfobox li{margin-right:20px;height:20px;line-height:20px}.width70f{width:70px;margin-left:-10px}.width100f{width:100px}.mr10im{margin-right:10px!important}.width75f{width:75px}.width107f{width:107px}.mr0{margin-right:0!important}.mlf3{margin-left:-3px}.relative{position:relative}.courseedu-menu-list{right:262px;top:245px}.edu-menu-list li{width:100%;padding:0 15px;-webkit-box-sizing:border-box;box-sizing:border-box;height:35px!important;line-height:35px!important;cursor:pointer - /*!*text-align: center;*! 影响全局了*/}.marleftf20{margin-left:-20px}.marleftf10{margin-left:-10px}.sandianbox{width:92px;background:#fff}.sandianbox div{width:92px;height:35px;text-align:center;line-height:35px;cursor:pointer}.sandianbox div:hover{background:#f0f0f0}.sandianshow:hover .icon-sandian .sandianbox{display:block}.sandianboxs{width:92px;background:#fff}.sandianboxs div{width:92px;height:35px;text-align:center;line-height:35px}.sandianboxs div:hover{background:#f0f0f0}.sandianshows:hover .icon-sandian .sandianbox{display:block}.mr6{margin-right:6px}.mr28{margin-right:28px}.mr23{margin-right:23px}.width93{width:240px!important}.colortransparent{color:transparent!important}.inputNav{width:439px;height:30px;background:#f4f4f4;border:1px solid #eaeaea;border-radius:4px}.Navmodal{width:600px!important;height:237px;background:#fff;-webkit-box-shadow:0 2px 10px 0 rgba(76,76,76,.3);box-shadow:0 2px 10px 0 rgba(76,76,76,.3);border-radius:10px}.ant-modal-content{-webkit-box-shadow:0 4px 12px transparent!important;box-shadow:0 4px 12px transparent!important}.Navmodal .ant-modal-body{margin-top:10px}.ant-input:focus{border:1px solid #466aff!important}.btn.colorblue{color:#4cacff!important}.btn.colorblue:hover{color:#459be5!important}.btn.colorwhite{color:#fff!important}.btn.colorwhite:hover{color:#ccc!important}.btn.colorgrey{color:#999!important}.btn.colorgrey:hover{color:#05101a!important}.btn.hovercolorblue:hover{color:#459be5!important}.Actionbtn{display:inline-block;height:30px;line-height:30px;border-radius:2px;text-align:center}.greyWidthFixed{width:120px;border:1px solid #ccc;color:#ccc!important}.greyWidthFixed:hover{border:1px solid #4cacff;color:#4cacff!important}.blueFull{padding:0 7px;background-color:#4cacff;color:#fff!important}.colorBlue{padding:0 7px;background-color:#fff;color:#4cacff!important;border:1px solid #4cacff}.greyBack{background-color:#cbcbcb;color:#fff!important}.greenBack{padding:0 7px;background-color:#29bd8b;color:#fff!important}.Actionbtn.middle{padding:0 18px}.greyLine{border:1px solid #eaeaea;color:#999!important}.greyLine,.orangeLine{background:#fff;padding:0 10px}.orangeLine{border:1px solid #fe944b;color:#fe944b!important;line-height:28px;border-radius:4px}.colorFF6800{color:#ff6800}.color979797{color:#979797}.Draggableli:active .Draggablelichild,.Draggableli:focus .Draggablelichild,.Draggableli:hover .Draggablelichild{background:#f1f1f1!important}.Draggableli:focus-within .Draggablelichild{background:#f1f1f1!important}.Draggableli:active,.Draggableli:focus,.Draggableli:hover,.Draggableli:visited .Draggablelichild{background:#f1f1f1!important}.Draggableli:focus-within{background:#f1f1f1!important}.Draggableli:visited{background:#f1f1f1!important}.transparent{background:transparent}.HomeworkModal{width:600px!important}.HomeworkModal .ant-modal-content .ant-modal-body{padding:10px 20px}.ant-modal-title{height:38px;line-height:38px!important}.underline{text-decoration:underline}.HomeworkModal .task-popup-content #search_not_members_list{height:198px}.greybackHead{height:40px;line-height:40px;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#676767;background-color:#eaeaea}.mtf3{margin-top:-3px}.mtf5{margin-top:-5px}.color204{color:#ccc}.lesson-saved-list-itemdrop{height:93px;overflow:hidden}.lesson-saved-list{position:relative}.itempositionleft,.itempositionright{position:absolute}.ant-input:focus,.ant-input:focus .ant-input-suffix{background-color:#fff!important}.pathNavLine{bottom:-11px}#shixun_operation:hover{color:#fff!important}.cursor{cursor:pointer}.paragraph_nameid:hover{color:#4cacff!important}.next-loading{width:100%}.summaryname{font-size:22px;height:25px;font-family:MicrosoftYaHei;font-weight:400;color:#333;max-width:825px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.educontentbox{background:#fff;padding-top:40px;padding-bottom:40px}.commitcontents{margin-left:28px}.commitcontents,.commitcontentsysl{width:43px;height:15px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400}.commitcontentsysl{margin-left:-4px}.typestyle{min-width:68px;height:24px!important;line-height:24px!important;color:#fff!important}.edu-filter-btn-028d01{background:#028d01!important}.edu-filter-btn-CC317C{background:#cc317c!important}.edu-filter-btn-006B75{background:#006b75!important}.edu-filter-btn-E99695{background:#e99695!important}.edu-filter-btn-EDEDED{background:#ededed!important}.edu-filter-btn-4CACFF{background:#4cacff!important}.edu-filter-btn-84B6EB{background:#84b6eb!important}.edu-filter-btn-5E5FB9{background:#5e5fb9!important}.edu-filter-btn-FC2B6A{background:#fc2b6a!important}.edu-filter-btn-FF6800{background:#ff6800!important}.edu-filter-btn-7AD58B{background:#7ad58b!important}.color666666{color:#666!important}.TabsWarp{width:100px;height:31px;display:inline-block}.mt38{margin-top:38px}.poll_list a.active{color:#4cacff}.poll_list a{display:inline-block;padding:20px;font-size:18px;text-align:center;position:relative;color:#05101a}.poll_list a.active:after{content:"";width:94px;left:10px;bottom:0;height:2px;background-color:#4cacff;position:absolute}.ml22{margin-left:22px}code,kbd,pre,samp{font-family:"Monospaced Number",Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}.ant-table-tbody>tr>td,.ant-table-thead>tr>th{padding:16px 0}.ant-form label.font-14{font-size:14px!important}.ant-form label.font-12{font-size:12px!important}.mdInForm.ant-form-item{margin-bottom:0}.mdInForm .has-error .ant-form-explain{position:absolute;margin-top:-2px;margin-left:-7px}.courseForm .ant-select-selection,.courseForm .ant-select-selection--single,.courseForm .ant-select-selection-selected-value,.courseForm .ant-select-selection__rendered{height:40px;line-height:40px}.courseForm .ant-input-affix-wrapper .ant-input{height:40px}.courseForm .ant-select-auto-complete.ant-select .ant-select-selection__rendered{line-height:40px}.courseForm .ant-select-auto-complete.ant-select .ant-input{height:40px}.newcourses .ant-input{width:280px;margin-left:11px;height:40px!important}.newcourses .ant-select-selection--single{width:280px;height:40px;color:rgba(0,0,0,.65);background-color:#fafafa!important}.newcourses .ant-select-selection__rendered{line-height:40px}.newcourses .ant-select-selection-selected-value{opacity:1!important}.newcourses .ant-select-selection--single:focus{-webkit-box-shadow:none!important;box-shadow:none!important;background-color:#fff!important}.newcourses .ant-select-selection--single:hover{border:1px solid #466aff!important}.pd20{padding:20px}.newcoursestitle{font-size:12px;color:#989898;margin-left:40px}.newcoursestitleysl{font-size:12px;color:#989898;margin-left:51px}.coursenavbox .ant-form-item-label{margin-left:10px}.coursenavbox .ant-checkbox-wrapper{font-size:14px!important}.coursenavbox .ant-form-item-control-wrapper{padding-left:10px}.coursesselect{font-size:12px;color:#989898;padding:0;margin-left:-8px}.ant-col-offset-5{margin-left:2%!important;margin-top:-43px}.coursenavbox .ant-form-item-children-icon{display:none}.coursenavboxtow .ant-input{margin-left:0!important}.exercise .ant-form-item-label{margin-left:20px}#coursesNew_endTime,#coursesNew_endTime .ant-input,#coursesNew_startTime,#coursesNew_startTime .ant-input{width:210px!important}.exerciseselect{font-size:12px;color:#989898;padding:0;margin-left:20px}.ml28{margin-left:28px}.ant-calendar-picker-clear,.ant-calendar-picker-icon{right:12px!important}.exercise .ant-form-item-children-icon{display:none}.pd60{padding-left:60px}.pd28{padding-left:28px}.exerciselist .ant-form-explain{display:none}.exercisetime .ant-form-explain{margin-left:107px}.ant-input-search-icon:hover,.coursehomework:hover .activity-title{color:#4cacff!important}.martopf2{margin-top:-2px}.searchViewAfter{width:100%;height:40px}.searchViewAfter.ant-input{line-height:40px;height:40px;-webkit-box-shadow:none!important;box-shadow:none!important}.ant-input-group .ant-input:focus,.searchViewAfter,.searchViewAfter.ant-input,.searchViewAfter .ant-input:hover,.searchViewAfter:focus{border-right:none!important}.AboutInputForm .ant-form-item-label{overflow:unset;margin-bottom:18px}.AboutInputForm .ant-form-item label{font-size:16px}.AboutInputForm{background:#fff}.AboutInputForm.ant-form-item,.AboutInputForm .ant-form-item{padding:20px 30px 30px!important;position:relative;border-bottom:1px solid #ededed;margin-bottom:0}.AboutInputForm:last-child{border-bottom:none!important}.AboutInputForm .ant-form-item-required:before{position:absolute;left:-15px;top:4px;color:#fe4f4c}.graduationTaskMenu>a{display:block;position:relative;line-height:72px;font-size:16px;margin-right:30px;float:left}.graduationTaskMenu>a.active:after{position:absolute;left:0;height:2px;width:100%;content:"";background:#4cacff;bottom:0;font-weight:400}.graduationTaskMenu>a.active{color:#4cacff!important}.createPage{padding:20px 30px 30px;position:relative;border-bottom:1px solid #ededed}.createPage,.createPage .ant-form-item{margin-bottom:0}.createPage:last-child{border-bottom:none!important}.createPage{background:#fff}.createPage .ant-form-item-label{overflow:unset;margin-bottom:10px}.createPage .ant-form-item label{font-size:16px}.createPage .ant-form-explain{padding-left:0}.has-error .ant-input-group-addon{border-color:#f5222d!important}.createPage .ant-form-item-required{margin-left:-10px}.signPoint{position:absolute;left:15px;top:32px;color:#fe4f4c}.searchView{width:248px;height:40px}.searchView .ant-input{background-color:#fafafa!important}.searchView .ant-input-affix-wrapper{height:40px}.ant-input-affix-wrapper .ant-input-prefix,.ant-input-affix-wrapper .ant-input-suffix{background:#fafafa!important}.ant-input:focus{-webkit-box-shadow:none!important;box-shadow:none!important}.ant-input:focus,.ant-input:focus+.ant-input-group-addon{background-color:#fff!important}.check_on{background:#4cacff;color:#fff!important;border-radius:12px}.ant-table-thead tr th div{font-size:14px;font-family:MicrosoftYaHei;font-weight:400;color:#666}.searchFor .searchCon{width:215px}.search-new{width:237px!important;height:30px;margin-bottom:30px}.search-new-input{padding-left:16px;height:30px;width:210px}.search-span{border-radius:17px}.HotLabelList a{display:block;float:left;padding:0 9px;height:28px;line-height:28px;border-radius:14px;background-color:#f5f5f5;color:#666;margin-right:10px;margin-bottom:9px}.HotLabelList a.selected{background:#4cacff;color:#fff}.hotQuestionItem{padding:20px 0;border-bottom:1px solid #eee}.questiontName{max-width:100%;display:block}.user_default_btn{width:114px}.userPrivateName{line-height:25px;margin-bottom:9px}.userPrivatePost{line-height:20px}.noteDetailTitle{line-height:38px;font-size:24px;font-weight:400;text-align:justify}.noteDetailNum{float:left;padding:0 12px;position:relative;color:#999!important;height:28px;line-height:26px}.noteDetailNum.rightline:after{position:absolute;content:"";right:0;width:1px;background-color:#eaeaea;height:8px;top:10px}.noteDetailPoint{width:100px;height:70px;background-color:#4cacff;border-radius:35px;color:#fff;text-align:center;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;line-height:22px;padding:12px 0 2px}.Pointed{background-color:#f0f0f0;color:#b3b3b3;cursor:default}.notefileDownload{height:25px;line-height:22px}.comments_hideSecondReplyUserHeader .imageFuzzy{display:none}.comments_hideSecondReplyUserHeader .editormd{width:100%}.comments_hideSecondReplyUserHeader .orig_reply{margin-bottom:6px}.color9B9B{color:#9b9b9b}.color656565{color:#656565}.h20{height:20px}.xingrequired:before{display:inline-block;margin-right:4px;color:#f5222d;font-size:14px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.pl30{padding-left:30px!important}.pl36{padding-left:36px!important}.ml87{margin-left:87px}.textcenter{text-align:center}.members{width:416px;height:400px;background:#f4faff;border-radius:4px;padding:20px}.youjiangboxs{height:400px;width:56px;color:#9a9a9a;float:left;text-align:center;line-height:400px}.Association{width:100%;height:240px;margin-top:14px;overflow:auto}.click_adds{text-align:center;height:90px;line-height:90px;background-color:#fff;cursor:pointer}.selectAnswer{color:#666;background-color:#ededed;float:left;padding:0 15px;border-radius:12px;height:22px;line-height:22px;font-size:14px}.hideDisable .ant-calendar-time-picker-select-option-disabled{display:none}.upload_item{max-width:432px}.uploadBtn.ant-btn{border:none;color:#4cacff;-webkit-box-shadow:none;box-shadow:none;background:transparent;padding:0 6px 0 0}.uploadBtn.ant-btn i{display:none}.uploadBtn.ant-btn span{margin-left:0}.upload_1 .ant-upload-list{width:350px}.ant-tooltip-inner{word-wrap:break-word;word-break:break-all}.padding02010{padding:10px 30px 0;cursor:pointer}.ant-checkbox-group>div .boardsList{border-top:1px solid transparent;padding:10px 0 20px!important}.padding02010:hover{-webkit-box-shadow:0 2px 6px rgba(51,51,51,.09);box-shadow:0 2px 6px rgba(51,51,51,.09);opacity:1;border-radius:2px}.drop_down{position:relative}.drop_down>i{cursor:pointer}.drop_down_menu,.drop_down_normal{display:none;position:absolute;left:0;top:99%;background-color:#fff;-webkit-box-shadow:0 0 6px 0 rgba(76,76,76,.2);box-shadow:0 0 6px 0 rgba(76,76,76,.2);padding-top:10px;padding-bottom:10px;z-index:1000}.drop_down:hover .drop_down_menu,.drop_down:hover .drop_down_normal{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.drop_down_menu li{overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;padding:0 20px;height:34px;line-height:34px;width:262px;color:#333;display:block;float:none;font-size:14px;cursor:pointer}.drop_down_search{margin:0 18px 10px}.drop_down_menu li:hover,.drop_down_normal li:hover{background-color:#f0f0f0}.drop_down_menu .drop_down_btn{left:unset;display:block;margin:0 20px;border-top:1px solid #ebebeb;height:48px;line-height:48px;color:#666}.task_menu_ul .ant-menu-horizontal{border-bottom:none!important}.shixunreporttitle{max-width:1060px;padding-left:5px;text-align:justify}.shixunreporttitles{padding-left:5px}.padding1020,.padding10200{padding:10px 20px}.height100px{height:100px}.coursesselects{font-size:12px;color:#989898;padding:0;margin-left:10px}.ant-input-number-input{background:#f4f4f4}input.ant-input-number-input:focus{background:#fff}.FAFAFA{background:#fafafa}.has-success.has-feedback .ant-form-item-children:after{display:none}.noticeTip{border:1px solid red;border-radius:5px}@media screen and (min-width:1400px){.ant-modal-wrap{overflow:hidden}}.stageTable .ant-table-tbody tr:last-child td,.stageTable .ant-table-thead>tr>th{border-bottom:none!important}.new_li .markdown-body ul>li{list-style-type:disc!important;margin-bottom:0!important}.new_li .markdown-body ol>li{list-style-type:decimal!important}.new_li li{margin-bottom:0!important}.ant-table-thead>tr>th{border-bottom:1px solid transparent!important}.guidePanel{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.7);z-index:10000}.guideFirstRight{position:absolute;right:-90px}.guideFirstLeft{position:absolute;left:-95px;top:120px}.yslinputcourput .ant-form-explain{padding-left:0!important}.wechatloginfont{font-size:14px;font-family:PingFangSC-Regular,PingFangSC;font-weight:400;color:#555;line-height:20px;margin-top:10px}.wechatdiv,.wechatdivs{margin-top:40px!important}.wechatdivs{width:800px!important}.wechatContent{padding:0 50px;text-align:center}.wechatContents{padding:0 50px}.wechatpass{width:300px;height:46px}.wechatnewchat{background:#faa}.wechatnewchat,.wechatweoldchat{width:62px;height:62px;border-radius:50%;text-align:center;line-height:62px;color:#fff;margin:0 auto}.wechatweoldchat{background:#a4d3ff}.daishenp{color:#f79946!important;text-decoration:underline!important}.pointertooltip{background:#ddd}.CodeMirror-scroll{overflow:auto!important}.flex1 a.white-btn.orange-btn:hover,a.white-btn.orange-btn:hover{border:1px solid #f06200;color:#fff!important}.questionli{width:95%;margin-left:37px}#directory_file{height:200px;overflow-y:auto;background:#f5f5f5;padding:10px}.directory_filepath{width:120px;text-align:left}a{text-decoration:none;color:#05101a}.repository_url_tippostion{position:absolute;left:22%;width:500px;top:100%}.top-black-trangleft{display:block;position:absolute;top:-16px;border-color:transparent transparent rgba(5,16,26,.6);border-style:dashed solid dashed dashed;border-width:8px;font-size:0;line-height:0}#exercisememoMD .CodeMirror{margin-top:31px!important;height:370px!important}#exercisememoMD .editormd-preview{top:40px!important;height:370px!important;width:578px!important}#questioMD{height:417px!important;margin-left:0!important}#questioMD .CodeMirror{margin-top:31px!important;height:374px!important}#questioMD .editormd-preview{top:40px!important;height:375px!important;width:550px!important}#newquestioMD .CodeMirror{margin-top:31px!important;height:364px!important}#newquestioMD .editormd-preview{top:40px!important;height:364px!important;width:578px!important}#challenge_choose_answer .CodeMirror{margin-top:31px!important;height:364px!important}#challenge_choose_answer .editormd-preview{top:40px!important;height:364px!important;width:578px!important}#neweditanswer .CodeMirror{margin-top:31px!important;height:364px!important}#neweditanswer .editormd-preview{top:40px!important;height:364px!important;width:551px!important}#repository_url_tip{top:30px!important;left:249px!important;width:292px!important}#editanswers .CodeMirror{height:358px!important;margin-top:30px!important}#editanswers .editormd-preview{width:578px!important;height:358px!important}#newquestioMDs .CodeMirror{height:358px!important;margin-top:30px!important}#newquestioMDs .editormd-preview{width:578px!important;height:358px!important}.choose_names{width:80px;margin-left:20px}#answerMD .CodeMirror{height:600px!important;margin-top:30px!important}#answerMD .editormd-preview{width:578px!important;height:600px!important}#answerMD{height:600px!important}.textareavalue{width:100%;padding:5px;-webkit-box-sizing:border-box;box-sizing:border-box}.greyInput{width:107%}.greyInpus{width:100%}.pdr20{padding-right:20px}.winput-240-40s{background-color:#f5f5f5}.winput-240-40s:focus{background-color:#fff}.input-100-45{background-color:#f5f5f5}.input-100-45:focus{background-color:#fff}.wind100{width:100%!important}.color-bule-tip{color:#5485f7!important}.martopf4{margin-top:-4px}.headdfgf{display:block;width:100px;height:30px;line-height:30px;float:left}.color979797{color:#979797!important}.border-left{border-right:6px solid #cccbcb;left:30px;top:12px}.border-left,.border-left span{width:0;height:0;border-bottom:6px solid transparent;border-top:6px solid transparent;position:absolute}.border-left span{display:block;border-right:6px solid #fff;left:1px;top:-6px;z-index:10}.fillTip{position:absolute;left:36px;top:2px;width:125px;font-size:12px;display:block;padding:5px;border:1px solid #eaeaea;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box;height:32px;line-height:20px;font-family:微软雅黑,宋体}.borderbottomf4{border-bottom:1px solid #f4f4f4}.TPMchallengesnewtitles{height:76px;line-height:56px;padding:10px 20px}.newpadding1020{padding:20px;-webkit-box-sizing:border-box;box-sizing:border-box}.newpadding02020{padding:0 20px 20px}.mb10{margin-bottom:10px!important}.tpmpointer{cursor:pointer}.text-centers{text-align:center}.bor25510211{width:1180px;height:34px;border:1px solid #ff6601;line-height:34px}.padding1020tpms{padding:10px 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.bortopeeetpm{border-top:1px solid #eee}.borbottomeeetpm{border-bottom:1px solid #eee}.height40pxtpm{height:40px}.ml41{margin-left:41px}.wind500height45{width:500px;height:45px}.newaddswermargin{margin:0 auto}.editor-resize{display:block;width:120px;height:4px;left:54%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);border-top:1px solid #ccc;border-bottom:1px solid #ccc;cursor:row-resize;white-space:nowrap;overflow:hidden;text-transform:capitalize;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 auto}.mini .editormd-toolbar li{padding:0}.mini .editormd-toolbar,.mini .editormd-toolbar .editormd-toolbar-container{min-height:28px}.mini .editormd-toolbar i{margin-left:0}.mini .editormd-preview{top:30px}.mini .CodeMirror{margin-top:30px}.zbg{background:url(/images/edu_user/richEditer.png) -195px -2px no-repeat}.zbg,.zbg_latex{height:18px;cursor:pointer}.zbg_latex{background:url(/images/edu_user/richEditer.png) -315px -3px no-repeat}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-webkit-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.editor-content-panel-wrapper{margin-bottom:12px}.editor-content-panel-wrapper .editor-content-panel{display:flex;align-items:center;word-break:break-all;border-radius:2px;max-width:1056px;text-align:justify;height:auto;min-height:38px;border:1px solid #eaeaea;padding:4px;width:100%}.editor-content-panel-wrapper .editor-content-panel p{width:100%}.editor-content-panel-wrapper .hide{display:none}.editor-content-panel-wrapper .hasValue{color:#999}.md-error .edu-back-greyf5{border:1px solid red}.hideMd{display:none}.error{border:1px solid red}.taskResultLayer{color:#666;z-index:99999999999999;width:100%;height:100%;position:fixed;background:rgba(0,0,0,.8);top:0;overflow:hidden}.taskResultLayer .closeIcon{position:absolute;right:100px;top:46px;font-size:28px;z-index:999999;color:hsla(0,0%,100%,.7);cursor:pointer}.taskResultLayer .closeIcon:hover{color:#4cacff}.taskResultLayer .expGold{color:#b27919}.taskResultLayer .rateLabel{color:#fff;font-size:14px}.taskResultLayer .rc-rate-star{font-size:24px;color:silver}.taskResultLayer .rc-rate-star:nth-child(5){margin-right:0}.passContent{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;display:-webkit-flex;text-align:center;z-index:4}.closePanel,.passContent{height:100%;position:absolute;width:100%}.closePanel{z-index:5}.passImg{max-width:86%;max-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;min-width:300px}.passTaskContent{width:652px;height:100%;margin:4% auto 0}.passTaskImg{position:absolute;z-index:2;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.winpPerson{width:100%;z-index:3;color:#d1a448;margin-top:304px;font-size:18px}.winPanel,.winpPerson{position:absolute;text-align:center}.winPanel{width:308px;z-index:5;height:356px;border-radius:10px;top:435px;left:50%;margin:0 auto 0 -154px}.inlines{display:inline-block;width:auto;line-height:26px;font-size:16px}.inline.exp{margin-left:18px}.goldring{margin-right:8px;width:17px;height:17px;border-radius:50%;background-color:#ffd633;display:block;float:left;margin-top:5px}.passNext{margin:0 auto}.passed,.passNext{width:120px;height:30px;line-height:30px;border-radius:2px;display:block;background-color:#ccc;color:#fff!important}.passed{margin:12px auto 0}.passed.stared{background-color:#4cacff;opacity:.8}.passed.stared:hover{opacity:1}.vertical4{vertical-align:-4px}.ImageLayerbutton{position:absolute;top:0;right:10px;z-index:10}.ant-spin{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;display:none;color:#1890ff;text-align:center;vertical-align:middle;opacity:0;-webkit-transition:-webkit-transform .3s cubic-bezier(.78,.14,.15,.86);transition:-webkit-transform .3s cubic-bezier(.78,.14,.15,.86);-o-transition:transform .3s cubic-bezier(.78,.14,.15,.86);transition:transform .3s cubic-bezier(.78,.14,.15,.86);transition:transform .3s cubic-bezier(.78,.14,.15,.86),-webkit-transform .3s cubic-bezier(.78,.14,.15,.86)}.ant-spin-spinning{position:static;display:inline-block;opacity:1}.ant-spin-nested-loading{position:relative}.ant-spin-nested-loading>div>.ant-spin{position:absolute;top:0;left:0;z-index:4;display:block;width:100%;height:100%;max-height:400px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{position:absolute;top:50%;left:50%;margin:-10px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{position:absolute;top:50%;width:100%;padding-top:5px;text-shadow:0 1px 2px #fff}.ant-spin-nested-loading>div>.ant-spin.ant-spin-show-text .ant-spin-dot{margin-top:-20px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-dot{margin:-7px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-text{padding-top:2px}.ant-spin-nested-loading>div>.ant-spin-sm.ant-spin-show-text .ant-spin-dot{margin-top:-17px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-dot{margin:-16px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-text{padding-top:11px}.ant-spin-nested-loading>div>.ant-spin-lg.ant-spin-show-text .ant-spin-dot{margin-top:-26px}.ant-spin-container{position:relative;-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s}.ant-spin-container:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:none\9;width:100%;height:100%;background:#fff;opacity:0;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;content:"";pointer-events:none}.ant-spin-blur{clear:both;overflow:hidden;opacity:.5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ant-spin-blur:after{opacity:.4;pointer-events:auto}.ant-spin-tip{color:rgba(0,0,0,.45)}.ant-spin-dot{position:relative;display:inline-block;font-size:20px;width:1em;height:1em}.ant-spin-dot-item{position:absolute;display:block;width:9px;height:9px;background-color:#1890ff;border-radius:100%;-webkit-transform:scale(.75);-ms-transform:scale(.75);transform:scale(.75);-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%;opacity:.3;-webkit-animation:antSpinMove 1s linear infinite alternate;animation:antSpinMove 1s linear infinite alternate}.ant-spin-dot-item:first-child{top:0;left:0}.ant-spin-dot-item:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.ant-spin-dot-item:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.ant-spin-dot-item:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}.ant-spin-dot-spin{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:antRotate 1.2s linear infinite;animation:antRotate 1.2s linear infinite}.ant-spin-sm .ant-spin-dot{font-size:14px}.ant-spin-sm .ant-spin-dot i{width:6px;height:6px}.ant-spin-lg .ant-spin-dot{font-size:32px}.ant-spin-lg .ant-spin-dot i{width:14px;height:14px}.ant-spin.ant-spin-show-text .ant-spin-text{display:block}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.ant-spin-blur{background:#fff;opacity:.5}}@-webkit-keyframes antSpinMove{to{opacity:1}}@keyframes antSpinMove{to{opacity:1}}@-webkit-keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}} + */.ql-container{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-bubble.ql-toolbar:after,.ql-bubble .ql-toolbar:after{clear:both;content:"";display:table}.ql-bubble.ql-toolbar button,.ql-bubble .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-bubble.ql-toolbar button svg,.ql-bubble .ql-toolbar button svg{float:left;height:100%}.ql-bubble.ql-toolbar button:active:hover,.ql-bubble .ql-toolbar button:active:hover{outline:none}.ql-bubble.ql-toolbar input.ql-image[type=file],.ql-bubble .ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble.ql-toolbar button:focus,.ql-bubble .ql-toolbar button:focus,.ql-bubble.ql-toolbar button:hover,.ql-bubble .ql-toolbar button:hover{color:#fff}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill{fill:#fff}.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter{stroke:#fff}@media (pointer:coarse){.ql-bubble.ql-toolbar button:hover:not(.ql-active),.ql-bubble .ql-toolbar button:hover:not(.ql-active){color:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#ccc}}.ql-bubble,.ql-bubble *{-webkit-box-sizing:border-box;box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;-webkit-transform:translateY(10px);-ms-transform:translateY(10px);transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{-webkit-transform:translateY(-10px);-ms-transform:translateY(-10px);transform:translateY(-10px)}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:"";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-stroke.ql-thin,.ql-bubble .ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor h1{font-size:2em}.ql-bubble .ql-editor h2{font-size:1.5em}.ql-bubble .ql-editor h3{font-size:1.17em}.ql-bubble .ql-editor h4{font-size:1em}.ql-bubble .ql-editor h5{font-size:.83em}.ql-bubble .ql-editor h6{font-size:.67em}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor code,.ql-bubble .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-bubble .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-bubble .ql-editor code{font-size:85%;padding:2px 4px}.ql-bubble .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#ccc;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:22px}.ql-bubble .ql-picker-options{background-color:#444;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:28px}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-item:before,.ql-bubble .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-item:before,.ql-bubble .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-item:before,.ql-bubble .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-toolbar .ql-formats{margin:8px 12px 8px 0}.ql-bubble .ql-toolbar .ql-formats:first-child{margin-left:12px}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip{background-color:#444;border-radius:25px;color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:" ";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #444;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #444;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;color:#fff;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{top:10px;position:absolute;right:20px}.ql-bubble .ql-tooltip-editor a:before{color:#ccc;content:"\D7";font-size:16px;font-weight:700}.ql-container.ql-bubble:not(.ql-disabled) a{position:relative;white-space:nowrap}.ql-container.ql-bubble:not(.ql-disabled) a:before{background-color:#444;border-radius:15px;top:-5px;font-size:12px;color:#fff;content:attr(href);font-weight:400;overflow:hidden;padding:5px 15px;text-decoration:none;z-index:1}.ql-container.ql-bubble:not(.ql-disabled) a:after{border-top:6px solid #444;border-left:6px solid transparent;border-right:6px solid transparent;top:0;content:" ";height:0;width:0}.ql-container.ql-bubble:not(.ql-disabled) a:after,.ql-container.ql-bubble:not(.ql-disabled) a:before{left:0;margin-left:50%;position:absolute;-webkit-transform:translate(-50%,-100%);-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transition:visibility 0s ease .2s;-o-transition:visibility 0s ease .2s;transition:visibility 0s ease .2s;visibility:hidden}.ql-container.ql-bubble:not(.ql-disabled) a:hover:after,.ql-container.ql-bubble:not(.ql-disabled) a:hover:before{visibility:visible}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=SimSun]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=SimSun]:before{content:"宋体";font-family:SimSun!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=SimHei]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=SimHei]:before{content:"黑体";font-family:SimHei!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Microsoft-YaHei]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Microsoft-YaHei]:before{content:"微软雅黑";font-family:Microsoft YaHei!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=KaiTi]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=KaiTi]:before{content:"楷体";font-family:KaiTi!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=FangSong]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=FangSong]:before{content:"仿宋";font-family:FangSong!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Arial]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Arial]:before{content:"Arial";font-family:Arial!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Times-New-Roman]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Times-New-Roman]:before{content:"Times New Roman";font-family:Times New Roman!important}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=sans-serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=sans-serif]:before{content:"sans-serif";font-family:sans-serif!important}.ql-font-SimSun{font-family:SimSun!important}.ql-font-SimHei{font-family:SimHei!important}.ql-font-Microsoft-YaHei{font-family:Microsoft YaHei!important}.ql-font-KaiTi{font-family:KaiTi!important}.ql-font-FangSong{font-family:FangSong!important}.ql-font-Arial{font-family:Arial!important}.ql-font-Times-New-Roman{font-family:Times New Roman!important}.ql-font-sans-serif{font-family:sans-serif!important}i.iconfont{cursor:pointer}.overflowHidden1{display:inline-block}.overflowHidden1,.overflowHidden2{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.CodeMirror pre{padding:0 4px}.cm-animate-fat-cursor{border:0}.CodeMirror-rulers{bottom:-20px}.CodeMirror-sizer{border-right:30px solid transparent}.CodeMirror-gutter{margin-bottom:-30px}.CodeMirror pre{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.radioStyle{display:block;height:30px}.shixunScopeInput{width:218px;height:33px;display:block;margin-bottom:15px}#memoMD .CodeMirror{margin-top:31px!important;height:364px!important}#memoMD .editormd-preview{width:578px!important;top:40px!important;height:364px!important}.ml36{margin-left:26px}#person-unit a.white-btn.use_scope-btn:hover{border:1px solid #f06200;color:#fff!important}.newedu-class-leftnav,body #root{background:#fff}.newedu-class-leftnav li{height:50px;line-height:49px;font-size:16px;cursor:pointer;position:relative}.newedu-class-leftnav li a{padding-left:42px;width:93%;-webkit-box-sizing:border-box;box-sizing:border-box;color:#05101a;background:transparent}.newedu-class-leftnav>div:last-child .Draggablelichild:last-child li a{border-bottom:none}.newedu-class-leftnav li:hover{background-color:#f1f1f1}.newedu-class-leftnav li:hover a{color:#05101a;background:transparent}.newedu-class-leftnav li.active{color:#05101a!important}.newedu-class-leftnav li.active a{color:#05101a!important;background:transparent}.newedu-class-leftnav li a{padding-left:20px}.addtaskmodle{width:69px;height:50px;font-size:14px;font-family:MicrosoftYaHei;font-weight:400;color:#000}.addtaskmodle .iconfont{font-size:15px!important;color:#666}.newedu-class-leftnav li:hover a .addtaskmodle{color:#666}.martop1{margin-top:1px}.ml100{margin-left:100px}.ml110{margin-left:110px}.addjia{padding:20px;height:48px!important;line-height:10px!important}.newedu-class-leftnav .addjia:hover{background:#fff!important}.pl20{padding-left:20px}.ml90{margin-left:90px}.ebebeb{border-bottom:1px solid #ebebeb}.CheckboxGroup{background:#f9f9f9}.maxwidth155{max-width:155px;color:#666;font-size:14px}.maxwidth170{max-width:170px;color:#666;font-size:14px}.pl46{margin-left:46px!important;border-bottom:1px solid hsla(0,0%,93.3%,.93);width:90%!important}.hidden{overflow:hidden}.pd0{padding:0!important}.color999{color:#999!important}.maxwidth190{max-width:190px;color:#666;font-size:14px}.color05101A{color:#05101a}.liactive{border-left:1px solid #4cacff}.xaxisreverseorder .ant-input-group-addon .ant-btn-lg{height:38px}.ant-input-group-addon .ant-btn-lg{height:39px;border-radius:0 3px 3px 0!important;border:none!important}.bannername{max-width:907px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;height:40px}.bannnerusername{font-size:20px;margin-left:20px}.bannnerusernames{font-size:14px;margin-left:20px}.bannerimgname{width:40px;height:40px}.clearfixborder{padding-top:10px}.ml8{margin-left:8px}.bannerurli{border-right:1px solid hsla(0,0%,100%,.3)}.bannerurli,.bannerurlis{width:70px;margin-left:-10px}.pathInfobox li{margin-right:20px;height:20px;line-height:20px}.width70f{width:70px;margin-left:-10px}.width100f{width:100px}.mr10im{margin-right:10px!important}.width75f{width:75px}.width107f{width:107px}.mr0{margin-right:0!important}.mlf3{margin-left:-3px}.relative{position:relative}.courseedu-menu-list{right:262px;top:245px}.edu-menu-list li{width:100%;padding:0 15px;-webkit-box-sizing:border-box;box-sizing:border-box;height:35px!important;line-height:35px!important;cursor:pointer + /*!*text-align: center;*! 影响全局了*/}.marleftf20{margin-left:-20px}.marleftf10{margin-left:-10px}.sandianbox{width:92px;background:#fff}.sandianbox div{width:92px;height:35px;text-align:center;line-height:35px;cursor:pointer}.sandianbox div:hover{background:#f0f0f0}.sandianshow:hover .icon-sandian .sandianbox{display:block}.sandianboxs{width:92px;background:#fff}.sandianboxs div{width:92px;height:35px;text-align:center;line-height:35px}.sandianboxs div:hover{background:#f0f0f0}.sandianshows:hover .icon-sandian .sandianbox{display:block}.mr6{margin-right:6px}.mr28{margin-right:28px}.mr23{margin-right:23px}.width93{width:240px!important}.colortransparent{color:transparent!important}.inputNav{width:439px;height:30px;background:#f4f4f4;border:1px solid #eaeaea;border-radius:4px}.Navmodal{width:600px!important;height:237px;background:#fff;-webkit-box-shadow:0 2px 10px 0 rgba(76,76,76,.3);box-shadow:0 2px 10px 0 rgba(76,76,76,.3);border-radius:10px}.ant-modal-content{-webkit-box-shadow:0 4px 12px transparent!important;box-shadow:0 4px 12px transparent!important}.Navmodal .ant-modal-body{margin-top:10px}.ant-input:focus{border:1px solid #466aff!important}.btn.colorblue{color:#4cacff!important}.btn.colorblue:hover{color:#459be5!important}.btn.colorwhite{color:#fff!important}.btn.colorwhite:hover{color:#ccc!important}.btn.colorgrey{color:#999!important}.btn.colorgrey:hover{color:#05101a!important}.btn.hovercolorblue:hover{color:#459be5!important}.Actionbtn{display:inline-block;height:30px;line-height:30px;border-radius:2px;text-align:center}.greyWidthFixed{width:120px;border:1px solid #ccc;color:#ccc!important}.greyWidthFixed:hover{border:1px solid #4cacff;color:#4cacff!important}.blueFull{padding:0 7px;background-color:#4cacff;color:#fff!important}.colorBlue{padding:0 7px;background-color:#fff;color:#4cacff!important;border:1px solid #4cacff}.greyBack{background-color:#cbcbcb;color:#fff!important}.greenBack{padding:0 7px;background-color:#29bd8b;color:#fff!important}.Actionbtn.middle{padding:0 18px}.greyLine{border:1px solid #eaeaea;color:#999!important}.greyLine,.orangeLine{background:#fff;padding:0 10px}.orangeLine{border:1px solid #fe944b;color:#fe944b!important;line-height:28px;border-radius:4px}.colorFF6800{color:#ff6800}.color979797{color:#979797}.Draggableli:active .Draggablelichild,.Draggableli:focus .Draggablelichild,.Draggableli:hover .Draggablelichild{background:#f1f1f1!important}.Draggableli:focus-within .Draggablelichild{background:#f1f1f1!important}.Draggableli:active,.Draggableli:focus,.Draggableli:hover,.Draggableli:visited .Draggablelichild{background:#f1f1f1!important}.Draggableli:focus-within{background:#f1f1f1!important}.Draggableli:visited{background:#f1f1f1!important}.transparent{background:transparent}.HomeworkModal{width:600px!important}.HomeworkModal .ant-modal-content .ant-modal-body{padding:10px 20px}.ant-modal-title{height:38px;line-height:38px!important}.underline{text-decoration:underline}.HomeworkModal .task-popup-content #search_not_members_list{height:198px}.greybackHead{height:40px;line-height:40px;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#676767;background-color:#eaeaea}.mtf3{margin-top:-3px}.mtf5{margin-top:-5px}.color204{color:#ccc}.lesson-saved-list-itemdrop{height:93px;overflow:hidden}.lesson-saved-list{position:relative}.itempositionleft,.itempositionright{position:absolute}.ant-input:focus,.ant-input:focus .ant-input-suffix{background-color:#fff!important}.pathNavLine{bottom:-11px}#shixun_operation:hover{color:#fff!important}.cursor{cursor:pointer}.paragraph_nameid:hover{color:#4cacff!important}.next-loading{width:100%}.summaryname{font-size:22px;height:25px;font-family:MicrosoftYaHei;font-weight:400;color:#333;max-width:825px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.educontentbox{background:#fff;padding-top:40px;padding-bottom:40px}.commitcontents{margin-left:28px}.commitcontents,.commitcontentsysl{width:43px;height:15px;font-size:16px;font-family:MicrosoftYaHei;font-weight:400}.commitcontentsysl{margin-left:-4px}.typestyle{min-width:68px;height:24px!important;line-height:24px!important;color:#fff!important}.edu-filter-btn-028d01{background:#028d01!important}.edu-filter-btn-CC317C{background:#cc317c!important}.edu-filter-btn-006B75{background:#006b75!important}.edu-filter-btn-E99695{background:#e99695!important}.edu-filter-btn-EDEDED{background:#ededed!important}.edu-filter-btn-4CACFF{background:#4cacff!important}.edu-filter-btn-84B6EB{background:#84b6eb!important}.edu-filter-btn-5E5FB9{background:#5e5fb9!important}.edu-filter-btn-FC2B6A{background:#fc2b6a!important}.edu-filter-btn-FF6800{background:#ff6800!important}.edu-filter-btn-7AD58B{background:#7ad58b!important}.color666666{color:#666!important}.TabsWarp{width:100px;height:31px;display:inline-block}.mt38{margin-top:38px}.poll_list a.active{color:#4cacff}.poll_list a{display:inline-block;padding:20px;font-size:18px;text-align:center;position:relative;color:#05101a}.poll_list a.active:after{content:"";width:94px;left:10px;bottom:0;height:2px;background-color:#4cacff;position:absolute}.ml22{margin-left:22px}code,kbd,pre,samp{font-family:"Monospaced Number",Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}.ant-table-tbody>tr>td,.ant-table-thead>tr>th{padding:16px 0}.ant-form label.font-14{font-size:14px!important}.ant-form label.font-12{font-size:12px!important}.mdInForm.ant-form-item{margin-bottom:0}.mdInForm .has-error .ant-form-explain{position:absolute;margin-top:-2px;margin-left:-7px}.courseForm .ant-select-selection,.courseForm .ant-select-selection--single,.courseForm .ant-select-selection-selected-value,.courseForm .ant-select-selection__rendered{height:40px;line-height:40px}.courseForm .ant-input-affix-wrapper .ant-input{height:40px}.courseForm .ant-select-auto-complete.ant-select .ant-select-selection__rendered{line-height:40px}.courseForm .ant-select-auto-complete.ant-select .ant-input{height:40px}.newcourses .ant-input{width:280px;margin-left:11px;height:40px!important}.newcourses .ant-select-selection--single{width:280px;height:40px;color:rgba(0,0,0,.65);background-color:#fafafa!important}.newcourses .ant-select-selection__rendered{line-height:40px}.newcourses .ant-select-selection-selected-value{opacity:1!important}.newcourses .ant-select-selection--single:focus{-webkit-box-shadow:none!important;box-shadow:none!important;background-color:#fff!important}.newcourses .ant-select-selection--single:hover{border:1px solid #466aff!important}.pd20{padding:20px}.newcoursestitle{font-size:12px;color:#989898;margin-left:40px}.newcoursestitleysl{font-size:12px;color:#989898;margin-left:51px}.coursenavbox .ant-form-item-label{margin-left:10px}.coursenavbox .ant-checkbox-wrapper{font-size:14px!important}.coursenavbox .ant-form-item-control-wrapper{padding-left:10px}.coursesselect{font-size:12px;color:#989898;padding:0;margin-left:-8px}.ant-col-offset-5{margin-left:2%!important;margin-top:-43px}.coursenavbox .ant-form-item-children-icon{display:none}.coursenavboxtow .ant-input{margin-left:0!important}.exercise .ant-form-item-label{margin-left:20px}#coursesNew_endTime,#coursesNew_endTime .ant-input,#coursesNew_startTime,#coursesNew_startTime .ant-input{width:210px!important}.exerciseselect{font-size:12px;color:#989898;padding:0;margin-left:20px}.ml28{margin-left:28px}.ant-calendar-picker-clear,.ant-calendar-picker-icon{right:12px!important}.exercise .ant-form-item-children-icon{display:none}.pd60{padding-left:60px}.pd28{padding-left:28px}.exerciselist .ant-form-explain{display:none}.exercisetime .ant-form-explain{margin-left:107px}.ant-input-search-icon:hover,.coursehomework:hover .activity-title{color:#4cacff!important}.martopf2{margin-top:-2px}.searchViewAfter{width:100%;height:40px}.searchViewAfter.ant-input{line-height:40px;height:40px;-webkit-box-shadow:none!important;box-shadow:none!important}.ant-input-group .ant-input:focus,.searchViewAfter,.searchViewAfter.ant-input,.searchViewAfter .ant-input:hover,.searchViewAfter:focus{border-right:none!important}.AboutInputForm .ant-form-item-label{overflow:unset;margin-bottom:18px}.AboutInputForm .ant-form-item label{font-size:16px}.AboutInputForm{background:#fff}.AboutInputForm.ant-form-item,.AboutInputForm .ant-form-item{padding:20px 30px 30px!important;position:relative;border-bottom:1px solid #ededed;margin-bottom:0}.AboutInputForm:last-child{border-bottom:none!important}.AboutInputForm .ant-form-item-required:before{position:absolute;left:-15px;top:4px;color:#fe4f4c}.graduationTaskMenu>a{display:block;position:relative;line-height:72px;font-size:16px;margin-right:30px;float:left}.graduationTaskMenu>a.active:after{position:absolute;left:0;height:2px;width:100%;content:"";background:#4cacff;bottom:0;font-weight:400}.graduationTaskMenu>a.active{color:#4cacff!important}.createPage{padding:20px 30px 30px;position:relative;border-bottom:1px solid #ededed}.createPage,.createPage .ant-form-item{margin-bottom:0}.createPage:last-child{border-bottom:none!important}.createPage{background:#fff}.createPage .ant-form-item-label{overflow:unset;margin-bottom:10px}.createPage .ant-form-item label{font-size:16px}.createPage .ant-form-explain{padding-left:0}.has-error .ant-input-group-addon{border-color:#f5222d!important}.createPage .ant-form-item-required{margin-left:-10px}.signPoint{position:absolute;left:15px;top:32px;color:#fe4f4c}.searchView{width:248px;height:40px}.searchView .ant-input{background-color:#fafafa!important}.searchView .ant-input-affix-wrapper{height:40px}.ant-input-affix-wrapper .ant-input-prefix,.ant-input-affix-wrapper .ant-input-suffix{background:#fafafa!important}.ant-input:focus{-webkit-box-shadow:none!important;box-shadow:none!important}.ant-input:focus,.ant-input:focus+.ant-input-group-addon{background-color:#fff!important}.check_on{background:#4cacff;color:#fff!important;border-radius:12px}.ant-table-thead tr th div{font-size:14px;font-family:MicrosoftYaHei;font-weight:400;color:#666}.searchFor .searchCon{width:215px}.search-new{width:237px!important;height:30px;margin-bottom:30px}.search-new-input{padding-left:16px;height:30px;width:210px}.search-span{border-radius:17px}.HotLabelList a{display:block;float:left;padding:0 9px;height:28px;line-height:28px;border-radius:14px;background-color:#f5f5f5;color:#666;margin-right:10px;margin-bottom:9px}.HotLabelList a.selected{background:#4cacff;color:#fff}.hotQuestionItem{padding:20px 0;border-bottom:1px solid #eee}.questiontName{max-width:100%;display:block}.user_default_btn{width:114px}.userPrivateName{line-height:25px;margin-bottom:9px}.userPrivatePost{line-height:20px}.noteDetailTitle{line-height:38px;font-size:24px;font-weight:400;text-align:justify}.noteDetailNum{float:left;padding:0 12px;position:relative;color:#999!important;height:28px;line-height:26px}.noteDetailNum.rightline:after{position:absolute;content:"";right:0;width:1px;background-color:#eaeaea;height:8px;top:10px}.noteDetailPoint{width:100px;height:70px;background-color:#4cacff;border-radius:35px;color:#fff;text-align:center;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;line-height:22px;padding:12px 0 2px}.Pointed{background-color:#f0f0f0;color:#b3b3b3;cursor:default}.notefileDownload{height:25px;line-height:22px}.comments_hideSecondReplyUserHeader .imageFuzzy{display:none}.comments_hideSecondReplyUserHeader .editormd{width:100%}.comments_hideSecondReplyUserHeader .orig_reply{margin-bottom:6px}.color9B9B{color:#9b9b9b}.color656565{color:#656565}.h20{height:20px}.xingrequired:before{display:inline-block;margin-right:4px;color:#f5222d;font-size:14px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.pl30{padding-left:30px!important}.pl36{padding-left:36px!important}.ml87{margin-left:87px}.textcenter{text-align:center}.members{width:416px;height:400px;background:#f4faff;border-radius:4px;padding:20px}.youjiangboxs{height:400px;width:56px;color:#9a9a9a;float:left;text-align:center;line-height:400px}.Association{width:100%;height:240px;margin-top:14px;overflow:auto}.click_adds{text-align:center;height:90px;line-height:90px;background-color:#fff;cursor:pointer}.selectAnswer{color:#666;background-color:#ededed;float:left;padding:0 15px;border-radius:12px;height:22px;line-height:22px;font-size:14px}.hideDisable .ant-calendar-time-picker-select-option-disabled{display:none}.upload_item{max-width:432px}.uploadBtn.ant-btn{border:none;color:#4cacff;-webkit-box-shadow:none;box-shadow:none;background:transparent;padding:0 6px 0 0}.uploadBtn.ant-btn i{display:none}.uploadBtn.ant-btn span{margin-left:0}.upload_1 .ant-upload-list{width:350px}.ant-tooltip-inner{word-wrap:break-word;word-break:break-all}.padding02010{padding:10px 30px 0;cursor:pointer}.ant-checkbox-group>div .boardsList{border-top:1px solid transparent;padding:10px 0 20px!important}.padding02010:hover{-webkit-box-shadow:0 2px 6px rgba(51,51,51,.09);box-shadow:0 2px 6px rgba(51,51,51,.09);opacity:1;border-radius:2px}.drop_down{position:relative}.drop_down>i{cursor:pointer}.drop_down_menu,.drop_down_normal{display:none;position:absolute;left:0;top:99%;background-color:#fff;-webkit-box-shadow:0 0 6px 0 rgba(76,76,76,.2);box-shadow:0 0 6px 0 rgba(76,76,76,.2);padding-top:10px;padding-bottom:10px;z-index:1000}.drop_down:hover .drop_down_menu,.drop_down:hover .drop_down_normal{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.drop_down_menu li{overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;padding:0 20px;height:34px;line-height:34px;width:262px;color:#333;display:block;float:none;font-size:14px;cursor:pointer}.drop_down_search{margin:0 18px 10px}.drop_down_menu li:hover,.drop_down_normal li:hover{background-color:#f0f0f0}.drop_down_menu .drop_down_btn{left:unset;display:block;margin:0 20px;border-top:1px solid #ebebeb;height:48px;line-height:48px;color:#666}.task_menu_ul .ant-menu-horizontal{border-bottom:none!important}.shixunreporttitle{max-width:1060px;padding-left:5px;text-align:justify}.shixunreporttitles{padding-left:5px}.padding1020,.padding10200{padding:10px 20px}.height100px{height:100px}.coursesselects{font-size:12px;color:#989898;padding:0;margin-left:10px}.ant-input-number-input{background:#f4f4f4}input.ant-input-number-input:focus{background:#fff}.FAFAFA{background:#fafafa}.has-success.has-feedback .ant-form-item-children:after{display:none}.noticeTip{border:1px solid red;border-radius:5px}@media screen and (min-width:1400px){.ant-modal-wrap{overflow:hidden}}.stageTable .ant-table-tbody tr:last-child td,.stageTable .ant-table-thead>tr>th{border-bottom:none!important}.new_li .markdown-body ul>li{list-style-type:disc!important;margin-bottom:0!important}.new_li .markdown-body ol>li{list-style-type:decimal!important}.new_li li{margin-bottom:0!important}.ant-table-thead>tr>th{border-bottom:1px solid transparent!important}.guidePanel{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.7);z-index:10000}.guideFirstRight{position:absolute;right:-90px}.guideFirstLeft{position:absolute;left:-95px;top:120px}.yslinputcourput .ant-form-explain{padding-left:0!important}.wechatloginfont{font-size:14px;font-family:PingFangSC-Regular,PingFangSC;font-weight:400;color:#555;line-height:20px;margin-top:10px}.wechatdiv,.wechatdivs{margin-top:40px!important}.wechatdivs{width:800px!important}.wechatContent{padding:0 50px;text-align:center}.wechatContents{padding:0 50px}.wechatpass{width:300px;height:46px}.wechatnewchat{background:#faa}.wechatnewchat,.wechatweoldchat{width:62px;height:62px;border-radius:50%;text-align:center;line-height:62px;color:#fff;margin:0 auto}.wechatweoldchat{background:#a4d3ff}.daishenp{color:#f79946!important;text-decoration:underline!important}.pointertooltip{background:#ddd}.CodeMirror-scroll{overflow:auto!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px}.flex1 a.white-btn.orange-btn:hover,a.white-btn.orange-btn:hover{border:1px solid #f06200;color:#fff!important}.questionli{width:95%;margin-left:37px}#directory_file{height:200px;overflow-y:auto;background:#f5f5f5;padding:10px}.directory_filepath{width:120px;text-align:left}a{text-decoration:none;color:#05101a}.repository_url_tippostion{position:absolute;left:22%;width:500px;top:100%}.top-black-trangleft{display:block;position:absolute;top:-16px;border-color:transparent transparent rgba(5,16,26,.6);border-style:dashed solid dashed dashed;border-width:8px;font-size:0;line-height:0}#exercisememoMD .CodeMirror{margin-top:31px!important;height:370px!important}#exercisememoMD .editormd-preview{top:40px!important;height:370px!important;width:578px!important}#questioMD{height:417px!important;margin-left:0!important}#questioMD .CodeMirror{margin-top:31px!important;height:374px!important}#questioMD .editormd-preview{top:40px!important;height:375px!important;width:550px!important}#newquestioMD .CodeMirror{margin-top:31px!important;height:364px!important}#newquestioMD .editormd-preview{top:40px!important;height:364px!important;width:578px!important}#challenge_choose_answer .CodeMirror{margin-top:31px!important;height:364px!important}#challenge_choose_answer .editormd-preview{top:40px!important;height:364px!important;width:578px!important}#neweditanswer .CodeMirror{margin-top:31px!important;height:364px!important}#neweditanswer .editormd-preview{top:40px!important;height:364px!important;width:551px!important}#repository_url_tip{top:30px!important;left:249px!important;width:292px!important}#editanswers .CodeMirror{height:358px!important;margin-top:30px!important}#editanswers .editormd-preview{width:578px!important;height:358px!important}#newquestioMDs .CodeMirror{height:358px!important;margin-top:30px!important}#newquestioMDs .editormd-preview{width:578px!important;height:358px!important}.choose_names{width:80px;margin-left:20px}#answerMD .CodeMirror{height:600px!important;margin-top:30px!important}#answerMD .editormd-preview{width:578px!important;height:600px!important}#answerMD{height:600px!important}.textareavalue{width:100%;padding:5px;-webkit-box-sizing:border-box;box-sizing:border-box}.greyInput{width:107%}.greyInpus{width:100%}.pdr20{padding-right:20px}.winput-240-40s{background-color:#f5f5f5}.winput-240-40s:focus{background-color:#fff}.input-100-45{background-color:#f5f5f5}.input-100-45:focus{background-color:#fff}.wind100{width:100%!important}.color-bule-tip{color:#5485f7!important}.martopf4{margin-top:-4px}.headdfgf{display:block;width:100px;height:30px;line-height:30px;float:left}.color979797{color:#979797!important}.border-left{border-right:6px solid #cccbcb;left:30px;top:12px}.border-left,.border-left span{width:0;height:0;border-bottom:6px solid transparent;border-top:6px solid transparent;position:absolute}.border-left span{display:block;border-right:6px solid #fff;left:1px;top:-6px;z-index:10}.fillTip{position:absolute;left:36px;top:2px;width:125px;font-size:12px;display:block;padding:5px;border:1px solid #eaeaea;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box;height:32px;line-height:20px;font-family:微软雅黑,宋体}.borderbottomf4{border-bottom:1px solid #f4f4f4}.TPMchallengesnewtitles{height:76px;line-height:56px;padding:10px 20px}.newpadding1020{padding:20px;-webkit-box-sizing:border-box;box-sizing:border-box}.newpadding02020{padding:0 20px 20px}.mb10{margin-bottom:10px!important}.tpmpointer{cursor:pointer}.text-centers{text-align:center}.bor25510211{width:1180px;height:34px;border:1px solid #ff6601;line-height:34px}.padding1020tpms{padding:10px 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.bortopeeetpm{border-top:1px solid #eee}.borbottomeeetpm{border-bottom:1px solid #eee}.height40pxtpm{height:40px}.ml41{margin-left:41px}.wind500height45{width:500px;height:45px}.newaddswermargin{margin:0 auto}.editor-resize{display:block;width:120px;height:4px;left:54%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);border-top:1px solid #ccc;border-bottom:1px solid #ccc;cursor:row-resize;white-space:nowrap;overflow:hidden;text-transform:capitalize;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 auto}.mini .editormd-toolbar li{padding:0}.mini .editormd-toolbar,.mini .editormd-toolbar .editormd-toolbar-container{min-height:28px}.mini .editormd-toolbar i{margin-left:0}.mini .editormd-preview{top:30px}.mini .CodeMirror{margin-top:30px}.zbg{background:url(/images/edu_user/richEditer.png) -195px -2px no-repeat}.zbg,.zbg_latex{height:18px;cursor:pointer}.zbg_latex{background:url(/images/edu_user/richEditer.png) -315px -3px no-repeat}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-webkit-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.editor-content-panel-wrapper{margin-bottom:12px}.editor-content-panel-wrapper .editor-content-panel{display:flex;align-items:center;word-break:break-all;border-radius:2px;max-width:1056px;text-align:justify;height:auto;min-height:38px;border:1px solid #eaeaea;padding:4px;width:100%}.editor-content-panel-wrapper .editor-content-panel p{width:100%}.editor-content-panel-wrapper .hide{display:none}.editor-content-panel-wrapper .hasValue{color:#999}.md-error .edu-back-greyf5{border:1px solid red}.hideMd{display:none}.error{border:1px solid red}.taskResultLayer{color:#666;z-index:99999999999999;width:100%;height:100%;position:fixed;background:rgba(0,0,0,.8);top:0;overflow:hidden}.taskResultLayer .closeIcon{position:absolute;right:100px;top:46px;font-size:28px;z-index:999999;color:hsla(0,0%,100%,.7);cursor:pointer}.taskResultLayer .closeIcon:hover{color:#4cacff}.taskResultLayer .expGold{color:#b27919}.taskResultLayer .rateLabel{color:#fff;font-size:14px}.taskResultLayer .rc-rate-star{font-size:24px;color:silver}.taskResultLayer .rc-rate-star:nth-child(5){margin-right:0}.passContent{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;display:-webkit-flex;text-align:center;z-index:4}.closePanel,.passContent{height:100%;position:absolute;width:100%}.closePanel{z-index:5}.passImg{max-width:86%;max-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;min-width:300px}.passTaskContent{width:652px;height:100%;margin:4% auto 0}.passTaskImg{position:absolute;z-index:2;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.winpPerson{width:100%;z-index:3;color:#d1a448;margin-top:304px;font-size:18px}.winPanel,.winpPerson{position:absolute;text-align:center}.winPanel{width:308px;z-index:5;height:356px;border-radius:10px;top:435px;left:50%;margin:0 auto 0 -154px}.inlines{display:inline-block;width:auto;line-height:26px;font-size:16px}.inline.exp{margin-left:18px}.goldring{margin-right:8px;width:17px;height:17px;border-radius:50%;background-color:#ffd633;display:block;float:left;margin-top:5px}.passNext{margin:0 auto}.passed,.passNext{width:120px;height:30px;line-height:30px;border-radius:2px;display:block;background-color:#ccc;color:#fff!important}.passed{margin:12px auto 0}.passed.stared{background-color:#4cacff;opacity:.8}.passed.stared:hover{opacity:1}.vertical4{vertical-align:-4px}.ImageLayerbutton{position:absolute;top:0;right:10px;z-index:10}.ant-spin{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;display:none;color:#1890ff;text-align:center;vertical-align:middle;opacity:0;-webkit-transition:-webkit-transform .3s cubic-bezier(.78,.14,.15,.86);transition:-webkit-transform .3s cubic-bezier(.78,.14,.15,.86);-o-transition:transform .3s cubic-bezier(.78,.14,.15,.86);transition:transform .3s cubic-bezier(.78,.14,.15,.86);transition:transform .3s cubic-bezier(.78,.14,.15,.86),-webkit-transform .3s cubic-bezier(.78,.14,.15,.86)}.ant-spin-spinning{position:static;display:inline-block;opacity:1}.ant-spin-nested-loading{position:relative}.ant-spin-nested-loading>div>.ant-spin{position:absolute;top:0;left:0;z-index:4;display:block;width:100%;height:100%;max-height:400px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{position:absolute;top:50%;left:50%;margin:-10px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{position:absolute;top:50%;width:100%;padding-top:5px;text-shadow:0 1px 2px #fff}.ant-spin-nested-loading>div>.ant-spin.ant-spin-show-text .ant-spin-dot{margin-top:-20px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-dot{margin:-7px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-text{padding-top:2px}.ant-spin-nested-loading>div>.ant-spin-sm.ant-spin-show-text .ant-spin-dot{margin-top:-17px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-dot{margin:-16px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-text{padding-top:11px}.ant-spin-nested-loading>div>.ant-spin-lg.ant-spin-show-text .ant-spin-dot{margin-top:-26px}.ant-spin-container{position:relative;-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s}.ant-spin-container:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:none\9;width:100%;height:100%;background:#fff;opacity:0;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;content:"";pointer-events:none}.ant-spin-blur{clear:both;overflow:hidden;opacity:.5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ant-spin-blur:after{opacity:.4;pointer-events:auto}.ant-spin-tip{color:rgba(0,0,0,.45)}.ant-spin-dot{position:relative;display:inline-block;font-size:20px;width:1em;height:1em}.ant-spin-dot-item{position:absolute;display:block;width:9px;height:9px;background-color:#1890ff;border-radius:100%;-webkit-transform:scale(.75);-ms-transform:scale(.75);transform:scale(.75);-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%;opacity:.3;-webkit-animation:antSpinMove 1s linear infinite alternate;animation:antSpinMove 1s linear infinite alternate}.ant-spin-dot-item:first-child{top:0;left:0}.ant-spin-dot-item:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.ant-spin-dot-item:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.ant-spin-dot-item:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}.ant-spin-dot-spin{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:antRotate 1.2s linear infinite;animation:antRotate 1.2s linear infinite}.ant-spin-sm .ant-spin-dot{font-size:14px}.ant-spin-sm .ant-spin-dot i{width:6px;height:6px}.ant-spin-lg .ant-spin-dot{font-size:32px}.ant-spin-lg .ant-spin-dot i{width:14px;height:14px}.ant-spin.ant-spin-show-text .ant-spin-text{display:block}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.ant-spin-blur{background:#fff;opacity:.5}}@-webkit-keyframes antSpinMove{to{opacity:1}}@keyframes antSpinMove{to{opacity:1}}@-webkit-keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}} /* !*display: flex;*!*/.login_register_content .ant-input{background:#f4f4f4}.login_register_content .loginInputzhucheyslass,.login_register_content .loginInputzhucheyslass:hover{border:1px solid red!important}.login_register_content{width:434px;-webkit-box-shadow:3px 10px 21px 0 rgba(76,76,76,.15);box-shadow:3px 10px 21px 0 rgba(76,76,76,.15);border-radius:6px;background:#fff}.login_register_content .ant-tabs-ink-bar{width:21px!important;left:19px}.login_register_content .ant-tabs{width:354px}.login_section{-ms-flex-pack:center;justify-content:center}.login_section,.login_sectionysl{width:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}.loginInput{width:100%;margin-bottom:16px;height:45px}.educouddiv{-ms-flex-direction:column;flex-direction:column}.educouddiv,.left_right{display:-ms-flexbox;display:flex}.left_right{width:100%;-ms-flex-pack:justify;justify-content:space-between}.login_btn{width:100%;margin-top:26px;margin-bottom:26px}.dragValidator{margin-bottom:16px}.ysldivhome1{-ms-flex-direction:row;flex-direction:row;margin-left:100px;margin-right:129px}.ysldivhome1,.ysldivhome2{display:-ms-flexbox;display:flex}.ysldivhome2{width:800px;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-line-pack:stretch;align-content:stretch}.ysldivhomediv{width:101px}.ysldivhomediv1{margin-top:1%}.ysldivhomediv1,.ysldivhomediv2{width:17%;height:100px;border-radius:50%;-webkit-box-shadow:3px 10px 21px 0 rgba(76,76,76,.15);box-shadow:3px 10px 21px 0 rgba(76,76,76,.15);background:#fff;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-left:6.5%}.ysldivhomediv2{margin-top:3%}.ysldivhomedivtxt{width:86%;height:27px;margin-bottom:5px;font-size:14px;text-align:center}.ysldivhomedivimg{width:80%}.ysllogin_register_contents{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.ysllogin_section{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:3px 10px 21px 0 rgba(76,76,76,.15);box-shadow:3px 10px 21px 0 rgba(76,76,76,.15);border-radius:6px;background:#fff}.yslspans1{color:#111c24}.yslspans1,.yslspans2{text-align:center;font-size:13px}.yslspans2{color:#05101a;margin-top:1%}.yslspans3{text-align:center;font-size:12px;color:#656565}.yslbutton{width:255px;height:36px;margin-top:20px}.mt22{margin-top:22px}.gouxuanimg{margin-right:10px;margin-bottom:2px}.textall{text-align:center;font-size:13px;color:#4b4b4b}.div1img{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:42%;margin-left:30%}.yslgouxuanimg{width:20%;height:20px;margin-left:86%;float:right}.yslgouxuanimg2{height:20px}.yslbutondls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.loginInputzhuche,.loginInputzhucheyslass{width:100%;background-color:#fff!important;height:45px!important;padding:5px}.loginInputzhucheyslass .ant-input{width:100%;background-color:#fff!important;height:45px!important;padding:5px;position:relative;right:5px;width:103%;border:1px solid red!important;border-radius:4px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.loginInputzhucheyslass .ant-input:hover{border:1px solid red!important}.loginInputzhuche .ant-input{width:100%;background-color:#fff!important;height:45px!important;padding:5px;position:relative;right:5px;width:103%}.loginInputzhucheysl{width:100%;border-radius:4px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.loginInputzhucheysl,.loginInputzhucheysl .ant-input{background-color:#fff!important;height:45px!important;padding:5px}.loginInputzhucheysl .ant-input{width:100%;position:relative;right:5px;width:103%;border:1px solid red!important;border-radius:4px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.loginInputzhucheysl .ant-input:hover{border:1px solid red!important}.bth100{width:100px;margin:0 auto}.ant-input-affix-wrapper .ant-input-prefix,.ant-input-affix-wrapper .ant-input-suffix{background:transparent!important}.startlogin{color:#888}.weixinheight390{height:390px}#log_reg_content{padding:38px 30px 20px!important}.ant-popover{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:left;cursor:auto;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ant-popover:after{position:absolute;background:hsla(0,0%,100%,.01);content:""}.ant-popover-hidden{display:none}.ant-popover-placement-top,.ant-popover-placement-topLeft,.ant-popover-placement-topRight{padding-bottom:10px}.ant-popover-placement-right,.ant-popover-placement-rightBottom,.ant-popover-placement-rightTop{padding-left:10px}.ant-popover-placement-bottom,.ant-popover-placement-bottomLeft,.ant-popover-placement-bottomRight{padding-top:10px}.ant-popover-placement-left,.ant-popover-placement-leftBottom,.ant-popover-placement-leftTop{padding-right:10px}.ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15);-webkit-box-shadow:0 0 8px rgba(0,0,0,.15)\9;box-shadow:0 0 8px rgba(0,0,0,.15)\9}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ant-popover-inner{-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}}.ant-popover-title{min-width:177px;min-height:32px;margin:0;padding:5px 16px 4px;color:rgba(0,0,0,.85);font-weight:500;border-bottom:1px solid #e8e8e8}.ant-popover-inner-content{padding:12px 16px;color:rgba(0,0,0,.65)}.ant-popover-message{position:relative;padding:4px 0 12px;color:rgba(0,0,0,.65);font-size:14px}.ant-popover-message>.anticon{position:absolute;top:8px;color:#faad14;font-size:14px}.ant-popover-message-title{padding-left:22px}.ant-popover-buttons{margin-bottom:4px;text-align:right}.ant-popover-buttons button{margin-left:8px}.ant-popover-arrow{position:absolute;display:block;width:8.48528137px;height:8.48528137px;background:transparent;border-style:solid;border-width:4.24264069px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-topLeft>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-topRight>.ant-popover-content>.ant-popover-arrow{bottom:6.2px;border-color:transparent #fff #fff transparent;-webkit-box-shadow:3px 3px 7px rgba(0,0,0,.07);box-shadow:3px 3px 7px rgba(0,0,0,.07)}.ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow{left:50%;-webkit-transform:translateX(-50%) rotate(45deg);-ms-transform:translateX(-50%) rotate(45deg);transform:translateX(-50%) rotate(45deg)}.ant-popover-placement-topLeft>.ant-popover-content>.ant-popover-arrow{left:16px}.ant-popover-placement-topRight>.ant-popover-content>.ant-popover-arrow{right:16px}.ant-popover-placement-right>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-rightBottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-rightTop>.ant-popover-content>.ant-popover-arrow{left:6px;border-color:transparent transparent #fff #fff;-webkit-box-shadow:-3px 3px 7px rgba(0,0,0,.07);box-shadow:-3px 3px 7px rgba(0,0,0,.07)}.ant-popover-placement-right>.ant-popover-content>.ant-popover-arrow{top:50%;-webkit-transform:translateY(-50%) rotate(45deg);-ms-transform:translateY(-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}.ant-popover-placement-rightTop>.ant-popover-content>.ant-popover-arrow{top:12px}.ant-popover-placement-rightBottom>.ant-popover-content>.ant-popover-arrow{bottom:12px}.ant-popover-placement-bottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-bottomLeft>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-bottomRight>.ant-popover-content>.ant-popover-arrow{top:6px;border-color:#fff transparent transparent #fff;-webkit-box-shadow:-2px -2px 5px rgba(0,0,0,.06);box-shadow:-2px -2px 5px rgba(0,0,0,.06)}.ant-popover-placement-bottom>.ant-popover-content>.ant-popover-arrow{left:50%;-webkit-transform:translateX(-50%) rotate(45deg);-ms-transform:translateX(-50%) rotate(45deg);transform:translateX(-50%) rotate(45deg)}.ant-popover-placement-bottomLeft>.ant-popover-content>.ant-popover-arrow{left:16px}.ant-popover-placement-bottomRight>.ant-popover-content>.ant-popover-arrow{right:16px}.ant-popover-placement-left>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-leftBottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-leftTop>.ant-popover-content>.ant-popover-arrow{right:6px;border-color:#fff #fff transparent transparent;-webkit-box-shadow:3px -3px 7px rgba(0,0,0,.07);box-shadow:3px -3px 7px rgba(0,0,0,.07)}.ant-popover-placement-left>.ant-popover-content>.ant-popover-arrow{top:50%;-webkit-transform:translateY(-50%) rotate(45deg);-ms-transform:translateY(-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}.ant-popover-placement-leftTop>.ant-popover-content>.ant-popover-arrow{top:12px}.ant-popover-placement-leftBottom>.ant-popover-content>.ant-popover-arrow{bottom:12px}ul.ant-menu{border-right:none}ul.ant-menu li:last-child{border-bottom:none}li.ant-menu-item{margin:0!important;border-bottom:1px solid #eee}.flags{border:1px solid red;border-radius:5px}.cards{padding:20px 34px;background-color:#fff;margin-bottom:18px;min-height:130px}.cards,.cards .img{display:flex;align-items:center;border:1px solid #eee}.cards .img{margin-right:20px;width:190px;height:90px;justify-content:center;overflow:hidden}.cards .img img{max-width:100%;max-height:100%}.cards .content{flex:1;width:0}.cards .content .titles{display:flex;justify-content:space-between;margin-bottom:10px!important;align-items:center;height:22px;line-height:22px}.cards .content .titles>a{font-size:18px;color:#333}.cards .content .desc{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:20px}.tabsStyle{border:1px solid #eee}.tabsStyle .ant-tabs-bar.ant-tabs-top-bar{padding-left:35px;margin-bottom:0}.tabsStyle .ant-tabs-nav .ant-tabs-tab{padding:19px 0;margin-right:40px}.tabsStyle .ant-tabs-ink-bar{width:25px!important;bottom:10px}.statusColor{display:inline-block;padding:0 10px;height:20px;line-height:20px;border-radius:11px;color:#fff;margin-left:5px;font-size:12px}.statusColor.running{background:#5091ff;color:#f1f8ff}.statusColor.Preparing{background:#ff6e21;color:#fff8f4}.statusColor.pass{background:#28bd6c;color:#eefdf5}.statusColor.failed{background:#f73030;color:#fceeee}.statusColor.killed{background:#eee;color:#999}.handleBox{position:fixed;top:45%;right:240px;z-index:10000}.laterest{background-color:#ef3131;color:#fff;font-size:12px;margin-left:10px;padding:0 5px;border-radius:2px;height:18px;line-height:18px}@media screen and (max-width:1800px){.handleBox{right:190px}}@media screen and (max-width:1700px){.handleBox{right:140px}}@media screen and (max-width:1600px){.handleBox{right:90px}}@media screen and (max-width:1450px){.handleBox{right:10px}}@media screen and (max-width:1380px){.handleBox{right:0}}.ant-drawer{z-index:10000!important}.ant-drawer-body{padding:0!important}.ant-drawer-body .drawerHead{background-color:#333;color:#fff;padding:15px 20px}.ant-drawer-body .ant-tree{margin:0 20px!important}.hoverA{display:flex;align-items:center;max-width:78px}.hoverA:hover a{color:#2a61ff!important}.menuPanels{width:295px}.menuPanels .leftline{position:relative;color:#666;height:16px;margin-left:14px;font-size:12px}.menuPanels .leftline:before{position:absolute;left:-7px;top:3px;height:12px;width:1px;background-color:#999;content:""}.menuPanels .ant-btn{height:36px;line-height:34px;width:83px;text-align:center;padding:0;font-weight:500;font-size:14px}.menuPanels .ant-btn.currentBtn{cursor:default;color:#333}.menuPanels .ant-btn-default,.menuPanels .ant-btn.currentBtn:hover{color:#333;border-color:#d0d0d0}.menuPanels .ant-btn-default:hover{background:#f3f4f6}.menuPanels .ant-btn{width:102px;height:32px;line-height:30px}.menuPanels .ant-btn-primary{color:#fff;background-color:#466aff;border:none}.menuPanels .ant-btn-primary:hover{background-color:rgba(70,106,255,.85)}.menuPanels .focusPanelHeadInfo{padding:14px 16px;border-bottom:1px solid #eee}.menuPanels .ant-popover-content,.menuPanels .ant-popover-inner{height:100%;width:100%}.menuPanels .ant-popover-inner-content{padding:0}.halfs{margin-top:24px;padding:24px 0 0;border-top:1px solid #e8e8e8}.aboutSubTitle{display:flex;align-items:center}.menuMaininfos{padding:10px 16px 14px;border-bottom:1px solid #eee}.menuinfos{padding:10px 20px 16px}.menuinfos>a{display:flex;flex-direction:column;align-items:center;flex:1}.menuinfos>a>span:first-child{font-size:16px;font-weight:500;color:#333;line-height:22px}.menuinfos>a>span:last-child{color:#666;font-weight:400;line-height:20px;margin-top:6px}.-task-sidebar{position:fixed;width:40px;right:0;bottom:80px;z-index:10}@media screen and (max-width:1920px){.-task-sidebar{right:220px}}@media screen and (max-width:1750px){.-task-sidebar{right:160px}}@media screen and (max-width:1650px){.-task-sidebar{right:115px}}@media screen and (max-width:1550px){.-task-sidebar{right:90px}}@media screen and (max-width:1450px){.-task-sidebar{right:45px}}@media screen and (max-width:1200px){.-task-sidebar{right:0;display:none}}.-task-sidebar>div{height:40px;line-height:40px;box-sizing:border-box;width:40px;color:#999;font-size:20px;text-align:center;margin-bottom:20px;border-radius:50%;background:#fff;box-shadow:0 0 10px 1px #f1f1f1}.-task-sidebar>div i{color:#999}.-task-sidebar>div:hover i{color:#fff!important}.-task-sidebar>div:hover{background:#1890ff;box-shadow:0 0 10px 2px #b6d0fc}.helpBox{width:260px;z-index:103}.helpBox.shareContent{width:200px}.helpBox .ant-popover-inner-content{padding:0}.helpBox p.titlecontent{font-size:18px;color:#333;line-height:20px;padding:15px 20px}.helpBox .faqUl{padding:0 20px 10px;max-height:230px;overflow-y:auto}.helpBox .faqUl li{background:#f5f5f5;border-radius:20px;padding:0 20px;color:#333;height:34px;line-height:34px;margin-bottom:10px}.helpBox .faqUl li a{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.helpBox .faqUl li:hover{background-color:#d1e9ff}.helpBox .faqUl li:hover a{color:#333!important}.helpBox .shareUl{padding:10px 0;display:flex;align-items:center}.helpBox .shareUl .titlecontent{margin-right:20px}.helpBox .shareUl li>i{font-size:32px!important}.-task-desc{background:#494949;width:90px;line-height:36px;text-align:center;position:absolute;color:#fff;font-size:13px;z-index:999999;opacity:0}.-task-desc div{position:absolute;top:10px;right:-7px;height:13px}.-task-desc div img{float:left}.-task-sidebar .scan_ewm{position:absolute!important;right:45px!important;bottom:0!important;background-color:#494949!important;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;font-size:14px!important;line-height:16px!important;display:none;height:213px!important}.trangle_right{position:absolute;right:-5px;bottom:15px;width:0;height:0;border-top:6px solid transparent;border-left:5px solid #494949;border-bottom:6px solid transparent}.ant-message{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:fixed;top:16px;left:0;z-index:1010;width:100%;pointer-events:none}.ant-message-notice{padding:8px;text-align:center}.ant-message-notice:first-child{margin-top:-8px}.ant-message-notice-content{display:inline-block;padding:10px 16px;background:#fff;border-radius:4px;-webkit-box-shadow:0 4px 12px rgba(0,0,0,.15);box-shadow:0 4px 12px rgba(0,0,0,.15);pointer-events:all}.ant-message-success .anticon{color:#52c41a}.ant-message-error .anticon{color:#f5222d}.ant-message-warning .anticon{color:#faad14}.ant-message-info .anticon,.ant-message-loading .anticon{color:#1890ff}.ant-message .anticon{position:relative;top:1px;margin-right:8px;font-size:16px}.ant-message-notice.move-up-leave.move-up-leave-active{overflow:hidden;-webkit-animation-name:MessageMoveOut;animation-name:MessageMoveOut;-webkit-animation-duration:.3s;animation-duration:.3s}@-webkit-keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}}@keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}} \ No newline at end of file diff --git a/static/js/106.1647278d.chunk.js b/static/js/106.dbcd524a.chunk.js similarity index 97% rename from static/js/106.1647278d.chunk.js rename to static/js/106.dbcd524a.chunk.js index 6d593430f..177e0c99e 100644 --- a/static/js/106.1647278d.chunk.js +++ b/static/js/106.dbcd524a.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[106],{VUSe:function(e,t,n){},dtw8:function(e,t,n){"use strict";n.r(t);var r=n("8Wa3");n.d(t,"MemoryRouter",(function(){return r.a}));var a=n("LWYa");n.d(t,"Prompt",(function(){return a.a}));var u=n("mLw1");n.d(t,"Redirect",(function(){return u.a}));var l=n("4p7I");n.d(t,"Route",(function(){return l.a}));var d=n("nr6O");n.d(t,"Router",(function(){return d.a}));var i=n("yczp");n.d(t,"StaticRouter",(function(){return i.a}));var o=n("yoKv");n.d(t,"Switch",(function(){return o.a}));var f=n("l1PF");n.d(t,"generatePath",(function(){return f.a}));var c=n("SsKX");n.d(t,"matchPath",(function(){return c.a}));var m=n("9C/b");n.d(t,"withRouter",(function(){return m.a}))},"p+DR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0;)r[u.charAt(d)]=c;var p=c[1],f=""+p;a.hasOwnProperty(f)||(i.push(p),a[f]=null)}i.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,i=e.length;o122||(u<65||d>90||n.push([32|Math.max(65,d),32|Math.min(u,90)]),u<97||d>122||n.push([-33&Math.max(97,d),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],f=[];for(i=0;im[0]&&(m[1]+1>m[0]&&o.push("-"),o.push(s(m[1])))}return o.push("]"),o.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),o=r.length,i=[],a=0,l=0;a=2&&"["===p?r[a]=c(d):"\\"!==p&&(r[a]=d.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var d=[];for(o=0,i=e.length;o=5&&"lang-"===v.substring(0,5))||b&&"string"==typeof b[1]||(h=!1,v="src"),h||(f[y]=v)}var T=u;if(u+=y.length,h){var A=b[1],N=y.indexOf(A),_=N+A.length;b[2]&&(N=(_=y.length-b[2].length)-A.length);var C=v.substring(5);p(s,l+T,y.substring(0,N),i,c),p(s,l+T+N,A,S(C,A),c),p(s,l+T+_,y.substring(_),i,c)}else c.push(l+T,v)}e.decorations=c};return i}function h(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var o=e.regexLiterals;if(o){var i=o>1?"":"\n\r",a=i?".":"[\\S\\s]",l="/(?=[^/*"+i+"])(?:[^/\\x5B\\x5C"+i+"]|\\x5C"+a+"|\\x5B(?:[^\\x5C\\x5D"+i+"]|\\x5C"+a+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),g(t,n)}var y=h({keywords:[r,i,o,a,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function v(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,i=e.ownerDocument,a=i.createElement("li");e.firstChild;)a.appendChild(e.firstChild);var l=[a];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var a=e.nodeValue,l=a.match(o);if(l){var u=a.substring(0,l.index);e.nodeValue=u;var d=a.substring(l.index+l[0].length);if(d)e.parentNode.insertBefore(i.createTextNode(d),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,o=t.parentNode;if(o){var i=e(o,1),a=t.nextSibling;i.appendChild(r);for(var l=a;l;l=a)a=l.nextSibling,i.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u=0;){var o=n[r];b.hasOwnProperty(o)?e.console&&console.warn("cannot override language handler %s",o):b[o]=t}}function S(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*=x&&(u+=2),l>=S&&(f+=2)}}finally{y&&(y.style.display=v)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function T(e,t,n){var r=n||!1,o=t||null,i=document.createElement("div");return i.innerHTML="
"+e+"
",i=i.firstChild,r&&v(i,r,!0),w({langExtension:o,numberLines:r,sourceNode:i,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),i.innerHTML}function A(t,n){var r=n||document.body,o=r.ownerDocument||document;function i(e){return r.getElementsByTagName(e)}for(var a=[i("pre"),i("code"),i("xmp")],l=[],s=0;s]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),x(g([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),x(g([],[["atv",/^[\s\S]+/]]),["uq.val"]),x(h({keywords:r,hashComments:!0,cStyleComments:!0,types:d}),["c","cc","cpp","cxx","cyc","m"]),x(h({keywords:"null,true,false"}),["json"]),x(h({keywords:i,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:d}),["cs"]),x(h({keywords:o,cStyleComments:!0}),["java"]),x(h({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),x(h({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),x(h({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),x(h({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),x(h({keywords:a,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),x(h({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),x(g([],[["str",/^[\s\S]+/]]),["regex"]);var N=e.PR={createSimpleLexer:g,registerLangHandler:x,sourceDecorator:h,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:T,prettyPrint:A},_=e.define;"function"==typeof _&&_.amd&&_("google-code-prettify",[],(function(){return N}))}()},vg9a:function(e,t,n){},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,o=Object.freeze,i=Object.seal,a=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),o||(o=function(e){return e}),i||(i=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?n-1:0),o=1;o/gm),H=i(/^data-[\-\w.\u00B7-\uFFFF]/),j=i(/^aria-[\-\w]+$/),$=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=i(/^(?:\w+script|data):/i),B=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:V(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var i=t.document,a=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,A=t.Node,N=t.NodeFilter,Y=t.NamedNodeMap,K=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,J=t.Text,Q=t.Comment,Z=t.DOMParser,X=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=W(X,i),ne=te&&Pe?te.createHTML(""):"",re=l,oe=re.implementation,ie=re.createNodeIterator,ae=re.getElementsByTagName,le=re.createDocumentFragment,se=i.importNode,ce=C(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var de=F,pe=I,fe=H,me=j,ge=U,he=B,ye=$,ve=null,be=_({},[].concat(q(k),q(E),q(L),q(R),q(D))),xe=null,Se=_({},[].concat(q(M),q(O),q(P),q(z))),we=null,Te=null,Ae=!0,Ne=!0,_e=!1,Ce=!1,ke=!1,Ee=!1,Le=!1,Re=!1,De=!1,Me=!1,Oe=!1,Pe=!1,ze=!0,Fe=!0,Ie=!1,He={},je=_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),$e=null,Ue=_({},["audio","video","img","source","image","track"]),Be=null,Ge=_({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),qe=null,Ve=l.createElement("form"),We=function(e){qe&&qe===e||(e&&"object"===(void 0===e?"undefined":G(e))||(e={}),e=C(e),ve="ALLOWED_TAGS"in e?_({},e.ALLOWED_TAGS):be,xe="ALLOWED_ATTR"in e?_({},e.ALLOWED_ATTR):Se,Be="ADD_URI_SAFE_ATTR"in e?_(C(Ge),e.ADD_URI_SAFE_ATTR):Ge,$e="ADD_DATA_URI_TAGS"in e?_(C(Ue),e.ADD_DATA_URI_TAGS):Ue,we="FORBID_TAGS"in e?_({},e.FORBID_TAGS):{},Te="FORBID_ATTR"in e?_({},e.FORBID_ATTR):{},He="USE_PROFILES"in e&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,Ne=!1!==e.ALLOW_DATA_ATTR,_e=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Ee=e.WHOLE_DOCUMENT||!1,De=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Oe=e.RETURN_DOM_IMPORT||!1,Pe=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,ze=!1!==e.SANITIZE_DOM,Fe=!1!==e.KEEP_CONTENT,Ie=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,ke&&(Ne=!1),Me&&(De=!0),He&&(ve=_({},[].concat(q(D))),xe=[],!0===He.html&&(_(ve,k),_(xe,M)),!0===He.svg&&(_(ve,E),_(xe,O),_(xe,z)),!0===He.svgFilters&&(_(ve,L),_(xe,O),_(xe,z)),!0===He.mathMl&&(_(ve,R),_(xe,P),_(xe,z))),e.ADD_TAGS&&(ve===be&&(ve=C(ve)),_(ve,e.ADD_TAGS)),e.ADD_ATTR&&(xe===Se&&(xe=C(xe)),_(xe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&_(Be,e.ADD_URI_SAFE_ATTR),Fe&&(ve["#text"]=!0),Ee&&_(ve,["html","head","body"]),ve.table&&(_(ve,["tbody"]),delete we.tbody),o&&o(e),qe=e)},Ye=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ke=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(Re)e=""+e;else{var r=y(e,/^[\r\n\t ]+/);n=r&&r[0]}var o=te?te.createHTML(e):e;try{t=(new Z).parseFromString(o,"text/html")}catch(e){}if(a&&_(we,["title"]),!t||!t.documentElement){var i=(t=oe.createHTMLDocument("")).body;i.parentNode.removeChild(i.parentNode.firstElementChild),i.outerHTML=o}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ae.call(t,Ee?"html":"body")[0]};n.isSupported&&function(){try{var e=Je("</title><img>");S(/<\/title/,e.querySelector("title").innerHTML)&&(a=!0)}catch(e){}}();var Qe=function(e){return ie.call(e.ownerDocument||e,e,N.SHOW_ELEMENT|N.SHOW_COMMENT|N.SHOW_TEXT,(function(){return N.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof J||e instanceof Q||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof K&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},Xe=function(e){return"object"===(void 0===A?"undefined":G(A))?e instanceof A:e&&"object"===(void 0===e?"undefined":G(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,qe)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ze(e))return Ye(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return Ye(e),!0;var r=h(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:ve}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ve[r]||we[r]){if(Fe&&!je[r]&&"function"==typeof e.insertAdjacentHTML)try{var o=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(o):o)}catch(e){}return Ye(e),!0}return"noscript"===r&&S(/<\/noscript/i,e.innerHTML)||"noembed"===r&&S(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ce||Xe(e.firstElementChild)||Xe(e.content)&&Xe(e.content.firstElementChild)||!S(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=v(e.innerHTML,/</g,"<"):e.innerHTML=v(e.textContent,/</g,"<")),ke&&3===e.nodeType&&(t=e.textContent,t=v(t,de," "),t=v(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(ze&&("id"===t||"name"===t)&&(n in l||n in Ve))return!1;if(Ne&&S(fe,t));else if(Ae&&S(me,t));else{if(!xe[t]||Te[t])return!1;if(Be[t]);else if(S(ye,v(n,he,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!$e[e])if(_e&&!S(ge,v(n,he,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,i=void 0,a=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe};for(l=s.length;l--;){var u=t=s[l],m=u.name,y=u.namespaceURI;if(o=x(t.value),i=h(m),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===i&&"IMG"===e.nodeName&&s.id)a=s.id,s=g(s,[]),Ke("id",e),Ke(m,e),d(s,a)>l&&e.setAttribute("id",a.value);else{if("INPUT"===e.nodeName&&"type"===i&&"file"===o&&c.keepAttr&&(xe[i]||!Te[i]))continue;"id"===m&&e.setAttribute(m,""),Ke(m,e)}if(c.keepAttr)if(Ce&&S(/\/>/i,o))Ke(m,e);else if(S(/svg|math/i,e.namespaceURI)&&S(w("</("+p(r(je),"|")+")","i"),o))Ke(m,e);else{ke&&(o=v(o,de," "),o=v(o,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,i,o))try{y?e.setAttributeNS(y,m,o):e.setAttribute(m,o),f(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},ot=function e(t){var n=void 0,r=Qe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var o=void 0,a=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!Xe(e)){if("function"!=typeof e.toString)throw T("toString is not a function");if("string"!=typeof(e=e.toString()))throw T("dirty is not a string, aborting")}if(!n.isSupported){if("object"===G(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(Xe(e))return t.toStaticHTML(e.outerHTML)}return e}if(Le||We(r),n.removed=[],"string"==typeof e&&(Ie=!1),Ie);else if(e instanceof A)1===(a=(o=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a);else{if(!De&&!ke&&!Ee&&-1===e.indexOf("<"))return te&&Pe?te.createHTML(e):e;if(!(o=Je(e)))return De?null:ne}o&&Re&&Ye(o.firstChild);for(var d=Qe(Ie?e:o);l=d.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&ot(l.content),rt(l),c=l);if(c=null,Ie)return e;if(De){if(Me)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Oe&&(u=se.call(i,u,!0)),u}var p=Ee?o.outerHTML:o.innerHTML;return ke&&(p=v(p,de," "),p=v(p,pe," ")),te&&Pe?te.createHTML(p):p},n.setConfig=function(e){We(e),Le=!0},n.clearConfig=function(){qe=null,Le=!1},n.isValidAttribute=function(e,t,n){qe||We({});var r=h(e),o=h(t);return nt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&f(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()}}]); \ No newline at end of file +/*! For license information please see 11.d3ab602a.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[11],{SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],o=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],i=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],a=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],d=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,o){if(n){var i={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(i),o.push.apply(o,i.decorations)}}var f=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&f.test(n.nodeValue)?e:t}return t===e?void 0:t}function g(e,t){var n,r={};!function(){for(var o=e.concat(t),i=[],a={},l=0,s=o.length;l<s;++l){var c=o[l],u=c[3];if(u)for(var d=u.length;--d>=0;)r[u.charAt(d)]=c;var p=c[1],f=""+p;a.hasOwnProperty(f)||(i.push(p),a[f]=null)}i.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,i=e.length;o<i;++o){if((p=e[o]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var a={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=a[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],o=["["];r&&o.push("^");for(var i=r?1:0,a=t.length;i<a;++i){var c=t[i];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,d=l(c);i+2<a&&"-"===t[i+1]?(u=l(t[i+2]),i+=2):u=d,n.push([d,u]),u<65||d>122||(u<65||d>90||n.push([32|Math.max(65,d),32|Math.min(u,90)]),u<97||d>122||n.push([-33&Math.max(97,d),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],f=[];for(i=0;i<n.length;++i){(m=n[i])[0]<=f[1]+1?f[1]=Math.max(f[1],m[1]):p.push(f=m)}for(i=0;i<p.length;++i){var m=p[i];o.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&o.push("-"),o.push(s(m[1])))}return o.push("]"),o.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),o=r.length,i=[],a=0,l=0;a<o;++a){if("("===(d=r[a]))++l;else if("\\"===d.charAt(0)){(u=+d.substring(1))&&(u<=l?i[u]=-1:r[a]=s(u))}}for(a=1;a<i.length;++a)-1===i[a]&&(i[a]=++t);for(a=0,l=0;a<o;++a){if("("===(d=r[a]))i[++l]||(r[a]="(?:");else if("\\"===d.charAt(0)){var u;(u=+d.substring(1))&&u<=l&&(r[a]="\\"+i[u])}}for(a=0;a<o;++a)"^"===r[a]&&"^"!==r[a+1]&&(r[a]="");if(e.ignoreCase&&n)for(a=0;a<o;++a){var d,p=(d=r[a]).charAt(0);d.length>=2&&"["===p?r[a]=c(d):"\\"!==p&&(r[a]=d.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var d=[];for(o=0,i=e.length;o<i;++o){var p;if((p=e[o]).global||p.multiline)throw new Error(""+p);d.push("(?:"+u(p)+")")}return new RegExp(d.join("|"),r?"gi":"g")}(i)}();var o=t.length,i=function(e){for(var a=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,d=a.match(n)||[],f={},m=0,g=d.length;m<g;++m){var h,y=d[m],v=f[y],b=void 0;if("string"==typeof v)h=!1;else{var x=r[y.charAt(0)];if(x)b=y.match(x[1]),v=x[0];else{for(var w=0;w<o;++w)if(x=t[w],b=y.match(x[1])){v=x[0];break}b||(v="pln")}!(h=v.length>=5&&"lang-"===v.substring(0,5))||b&&"string"==typeof b[1]||(h=!1,v="src"),h||(f[y]=v)}var T=u;if(u+=y.length,h){var A=b[1],N=y.indexOf(A),_=N+A.length;b[2]&&(N=(_=y.length-b[2].length)-A.length);var C=v.substring(5);p(s,l+T,y.substring(0,N),i,c),p(s,l+T+N,A,S(C,A),c),p(s,l+T+_,y.substring(_),i,c)}else c.push(l+T,v)}e.decorations=c};return i}function h(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var o=e.regexLiterals;if(o){var i=o>1?"":"\n\r",a=i?".":"[\\S\\s]",l="/(?=[^/*"+i+"])(?:[^/\\x5B\\x5C"+i+"]|\\x5C"+a+"|\\x5B(?:[^\\x5C\\x5D"+i+"]|\\x5C"+a+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),g(t,n)}var y=h({keywords:[r,i,o,a,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function v(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,i=e.ownerDocument,a=i.createElement("li");e.firstChild;)a.appendChild(e.firstChild);var l=[a];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var a=e.nodeValue,l=a.match(o);if(l){var u=a.substring(0,l.index);e.nodeValue=u;var d=a.substring(l.index+l[0].length);if(d)e.parentNode.insertBefore(i.createTextNode(d),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,o=t.parentNode;if(o){var i=e(o,1),a=t.nextSibling;i.appendChild(r);for(var l=a;l;l=a)a=l.nextSibling,i.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var d=i.createElement("ol");d.className="linenums";for(var p=Math.max(0,t-1|0)||0,f=(u=0,l.length);u<f;++u)(a=l[u]).className="L"+(u+p)%10,a.firstChild||a.appendChild(i.createTextNode(" ")),d.appendChild(a);e.appendChild(d)}var b={};function x(t,n){for(var r=n.length;--r>=0;){var o=n[r];b.hasOwnProperty(o)?e.console&&console.warn("cannot override language handler %s",o):b[o]=t}}function S(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function w(t){var n,r,o,i,a,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,i=[],a=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(o.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(i[s]="\n",l[s<<1]=a++,l[s++<<1|1]=t)}else if(3==n||4==n){var d=t.nodeValue;d.length&&(d=r?d.replace(/\r\n?/g,"\n"):d.replace(/[ \t\r\n]+/g," "),i[s]=d,l[s<<1]=a,a+=d.length,l[s++<<1|1]=t)}}(n),{sourceCode:i.join("").replace(/\n$/,""),spans:l}),d=u.sourceCode;t.sourceCode=d,t.spans=u.spans,t.basePos=0,S(c,d)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,o=/\n/g,i=e.sourceCode,a=i.length,l=0,s=e.spans,c=s.length,u=0,d=e.decorations,p=d.length,f=0;for(d[p]=a,r=n=0;r<p;)d[r]!==d[r+2]?(d[n++]=d[r++],d[n++]=d[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=d[r],g=d[r+1],h=r+2;h+2<=p&&d[h+1]===g;)h+=2;d[n++]=m,d[n++]=g,r=h}p=d.length=n;var y=e.sourceNode,v="";y&&(v=y.style.display,y.style.display="none");try{for(;u<c;){s[u];var b,x=s[u+2]||a,S=d[f+2]||a,w=(h=Math.min(x,S),s[u+1]);if(1!==w.nodeType&&(b=i.substring(l,h))){t&&(b=b.replace(o,"\r")),w.nodeValue=b;var T=w.ownerDocument,A=T.createElement("span");A.className=d[f+1];var N=w.parentNode;N.replaceChild(A,w),A.appendChild(w),l<x&&(s[u+1]=w=T.createTextNode(i.substring(h,x)),N.insertBefore(w,A.nextSibling))}(l=h)>=x&&(u+=2),l>=S&&(f+=2)}}finally{y&&(y.style.display=v)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function T(e,t,n){var r=n||!1,o=t||null,i=document.createElement("div");return i.innerHTML="<pre>"+e+"</pre>",i=i.firstChild,r&&v(i,r,!0),w({langExtension:o,numberLines:r,sourceNode:i,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),i.innerHTML}function A(t,n){var r=n||document.body,o=r.ownerDocument||document;function i(e){return r.getElementsByTagName(e)}for(var a=[i("pre"),i("code"),i("xmp")],l=[],s=0;s<a.length;++s)for(var c=0,u=a[s].length;c<u;++c)l.push(a[s][c]);a=null;var d=Date;d.now||(d={now:function(){return+new Date}});var p=0,f=/\blang(?:uage)?-([\w.]+)(?!\S)/,g=/\bprettyprint\b/,h=/\bprettyprinted\b/,y=/pre|xmp/i,b=/^code$/i,x=/^(?:pre|code|xmp)$/i,S={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?d.now()+250:1/0;p<l.length&&d.now()<r;p++){for(var i=l[p],a=S,s=i;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){a={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){a[t]=n}));break}}var T=i.className;if((a!==S||g.test(T))&&!h.test(T)){for(var A=!1,N=i.parentNode;N;N=N.parentNode){var _=N.tagName;if(x.test(_)&&N.className&&g.test(N.className)){A=!0;break}}if(!A){i.className+=" prettyprinted";var C,k,E=a.lang;if(!E)!(E=T.match(f))&&(C=m(i))&&b.test(C.tagName)&&(E=C.className.match(f)),E&&(E=E[1]);if(y.test(i.tagName))k=1;else{var L=i.currentStyle,R=o.defaultView,D=L?L.whiteSpace:R&&R.getComputedStyle?R.getComputedStyle(i,null).getPropertyValue("white-space"):0;k=D&&"pre"===D.substring(0,3)}var M=a.linenums;(M="true"===M||+M)||(M=!!(M=T.match(/\blinenums\b(?::(\d+))?/))&&(!M[1]||!M[1].length||+M[1])),M&&v(i,M,k),w({langExtension:E,sourceNode:i,numberLines:M,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}x(y,["default-code"]),x(g([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),x(g([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),x(g([],[["atv",/^[\s\S]+/]]),["uq.val"]),x(h({keywords:r,hashComments:!0,cStyleComments:!0,types:d}),["c","cc","cpp","cxx","cyc","m"]),x(h({keywords:"null,true,false"}),["json"]),x(h({keywords:i,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:d}),["cs"]),x(h({keywords:o,cStyleComments:!0}),["java"]),x(h({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),x(h({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),x(h({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),x(h({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),x(h({keywords:a,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),x(h({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),x(g([],[["str",/^[\s\S]+/]]),["regex"]);var N=e.PR={createSimpleLexer:g,registerLangHandler:x,sourceDecorator:h,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:T,prettyPrint:A},_=e.define;"function"==typeof _&&_.amd&&_("google-code-prettify",[],(function(){return N}))}()},vg9a:function(e,t,n){},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,o=Object.freeze,i=Object.seal,a=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),o||(o=function(e){return e}),i||(i=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=A(Array.prototype.forEach),d=A(Array.prototype.indexOf),p=A(Array.prototype.join),f=A(Array.prototype.pop),m=A(Array.prototype.push),g=A(Array.prototype.slice),h=A(String.prototype.toLowerCase),y=A(String.prototype.match),v=A(String.prototype.replace),b=A(String.prototype.indexOf),x=A(String.prototype.trim),S=A(RegExp.prototype.test),w=N(RegExp),T=N(TypeError);function A(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return s(e,t,r)}}function N(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function _(e,r){t&&t(e,null);for(var o=r.length;o--;){var i=r[o];if("string"==typeof i){var a=h(i);a!==i&&(n(r)||(r[o]=a),i=a)}e[i]=!0}return e}function C(t){var n=a(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),L=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),R=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),D=o(["#text"]),M=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),O=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=i(/\{\{[\s\S]*|[\s\S]*\}\}/gm),I=i(/<%[\s\S]*|[\s\S]*%>/gm),H=i(/^data-[\-\w.\u00B7-\uFFFF]/),j=i(/^aria-[\-\w]+$/),$=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=i(/^(?:\w+script|data):/i),B=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var V=function(){return"undefined"==typeof window?null:window},W=function(e,t){if("object"!==(void 0===e?"undefined":G(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var i=t.document,a=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,A=t.Node,N=t.NodeFilter,Y=t.NamedNodeMap,K=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,J=t.Text,Q=t.Comment,Z=t.DOMParser,X=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=W(X,i),ne=te&&Pe?te.createHTML(""):"",re=l,oe=re.implementation,ie=re.createNodeIterator,ae=re.getElementsByTagName,le=re.createDocumentFragment,se=i.importNode,ce=C(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var de=F,pe=I,fe=H,me=j,ge=U,he=B,ye=$,ve=null,be=_({},[].concat(q(k),q(E),q(L),q(R),q(D))),xe=null,Se=_({},[].concat(q(M),q(O),q(P),q(z))),we=null,Te=null,Ae=!0,Ne=!0,_e=!1,Ce=!1,ke=!1,Ee=!1,Le=!1,Re=!1,De=!1,Me=!1,Oe=!1,Pe=!1,ze=!0,Fe=!0,Ie=!1,He={},je=_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),$e=null,Ue=_({},["audio","video","img","source","image","track"]),Be=null,Ge=_({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),qe=null,Ve=l.createElement("form"),We=function(e){qe&&qe===e||(e&&"object"===(void 0===e?"undefined":G(e))||(e={}),e=C(e),ve="ALLOWED_TAGS"in e?_({},e.ALLOWED_TAGS):be,xe="ALLOWED_ATTR"in e?_({},e.ALLOWED_ATTR):Se,Be="ADD_URI_SAFE_ATTR"in e?_(C(Ge),e.ADD_URI_SAFE_ATTR):Ge,$e="ADD_DATA_URI_TAGS"in e?_(C(Ue),e.ADD_DATA_URI_TAGS):Ue,we="FORBID_TAGS"in e?_({},e.FORBID_TAGS):{},Te="FORBID_ATTR"in e?_({},e.FORBID_ATTR):{},He="USE_PROFILES"in e&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,Ne=!1!==e.ALLOW_DATA_ATTR,_e=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Ee=e.WHOLE_DOCUMENT||!1,De=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Oe=e.RETURN_DOM_IMPORT||!1,Pe=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,ze=!1!==e.SANITIZE_DOM,Fe=!1!==e.KEEP_CONTENT,Ie=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,ke&&(Ne=!1),Me&&(De=!0),He&&(ve=_({},[].concat(q(D))),xe=[],!0===He.html&&(_(ve,k),_(xe,M)),!0===He.svg&&(_(ve,E),_(xe,O),_(xe,z)),!0===He.svgFilters&&(_(ve,L),_(xe,O),_(xe,z)),!0===He.mathMl&&(_(ve,R),_(xe,P),_(xe,z))),e.ADD_TAGS&&(ve===be&&(ve=C(ve)),_(ve,e.ADD_TAGS)),e.ADD_ATTR&&(xe===Se&&(xe=C(xe)),_(xe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&_(Be,e.ADD_URI_SAFE_ATTR),Fe&&(ve["#text"]=!0),Ee&&_(ve,["html","head","body"]),ve.table&&(_(ve,["tbody"]),delete we.tbody),o&&o(e),qe=e)},Ye=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ke=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(Re)e="<remove></remove>"+e;else{var r=y(e,/^[\r\n\t ]+/);n=r&&r[0]}var o=te?te.createHTML(e):e;try{t=(new Z).parseFromString(o,"text/html")}catch(e){}if(a&&_(we,["title"]),!t||!t.documentElement){var i=(t=oe.createHTMLDocument("")).body;i.parentNode.removeChild(i.parentNode.firstElementChild),i.outerHTML=o}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ae.call(t,Ee?"html":"body")[0]};n.isSupported&&function(){try{var e=Je("<x/><title></title><img>");S(/<\/title/,e.querySelector("title").innerHTML)&&(a=!0)}catch(e){}}();var Qe=function(e){return ie.call(e.ownerDocument||e,e,N.SHOW_ELEMENT|N.SHOW_COMMENT|N.SHOW_TEXT,(function(){return N.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof J||e instanceof Q||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof K&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},Xe=function(e){return"object"===(void 0===A?"undefined":G(A))?e instanceof A:e&&"object"===(void 0===e?"undefined":G(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,qe)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ze(e))return Ye(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return Ye(e),!0;var r=h(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:ve}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ve[r]||we[r]){if(Fe&&!je[r]&&"function"==typeof e.insertAdjacentHTML)try{var o=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(o):o)}catch(e){}return Ye(e),!0}return"noscript"===r&&S(/<\/noscript/i,e.innerHTML)||"noembed"===r&&S(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ce||Xe(e.firstElementChild)||Xe(e.content)&&Xe(e.content.firstElementChild)||!S(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=v(e.innerHTML,/</g,"<"):e.innerHTML=v(e.textContent,/</g,"<")),ke&&3===e.nodeType&&(t=e.textContent,t=v(t,de," "),t=v(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(ze&&("id"===t||"name"===t)&&(n in l||n in Ve))return!1;if(Ne&&S(fe,t));else if(Ae&&S(me,t));else{if(!xe[t]||Te[t])return!1;if(Be[t]);else if(S(ye,v(n,he,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!$e[e])if(_e&&!S(ge,v(n,he,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,i=void 0,a=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe};for(l=s.length;l--;){var u=t=s[l],m=u.name,y=u.namespaceURI;if(o=x(t.value),i=h(m),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===i&&"IMG"===e.nodeName&&s.id)a=s.id,s=g(s,[]),Ke("id",e),Ke(m,e),d(s,a)>l&&e.setAttribute("id",a.value);else{if("INPUT"===e.nodeName&&"type"===i&&"file"===o&&c.keepAttr&&(xe[i]||!Te[i]))continue;"id"===m&&e.setAttribute(m,""),Ke(m,e)}if(c.keepAttr)if(Ce&&S(/\/>/i,o))Ke(m,e);else if(S(/svg|math/i,e.namespaceURI)&&S(w("</("+p(r(je),"|")+")","i"),o))Ke(m,e);else{ke&&(o=v(o,de," "),o=v(o,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,i,o))try{y?e.setAttributeNS(y,m,o):e.setAttribute(m,o),f(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},ot=function e(t){var n=void 0,r=Qe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var o=void 0,a=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!Xe(e)){if("function"!=typeof e.toString)throw T("toString is not a function");if("string"!=typeof(e=e.toString()))throw T("dirty is not a string, aborting")}if(!n.isSupported){if("object"===G(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(Xe(e))return t.toStaticHTML(e.outerHTML)}return e}if(Le||We(r),n.removed=[],"string"==typeof e&&(Ie=!1),Ie);else if(e instanceof A)1===(a=(o=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a);else{if(!De&&!ke&&!Ee&&-1===e.indexOf("<"))return te&&Pe?te.createHTML(e):e;if(!(o=Je(e)))return De?null:ne}o&&Re&&Ye(o.firstChild);for(var d=Qe(Ie?e:o);l=d.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&ot(l.content),rt(l),c=l);if(c=null,Ie)return e;if(De){if(Me)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Oe&&(u=se.call(i,u,!0)),u}var p=Ee?o.outerHTML:o.innerHTML;return ke&&(p=v(p,de," "),p=v(p,pe," ")),te&&Pe?te.createHTML(p):p},n.setConfig=function(e){We(e),Le=!0},n.clearConfig=function(){qe=null,Le=!1},n.isValidAttribute=function(e,t,n){qe||We({});var r=h(e),o=h(t);return nt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&f(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()}}]); \ No newline at end of file diff --git a/static/js/14.f0cf283b.chunk.js.LICENSE.txt b/static/js/11.d3ab602a.chunk.js.LICENSE.txt similarity index 100% rename from static/js/14.f0cf283b.chunk.js.LICENSE.txt rename to static/js/11.d3ab602a.chunk.js.LICENSE.txt diff --git a/static/js/111.ea827803.chunk.js b/static/js/111.c0fcff02.chunk.js similarity index 92% rename from static/js/111.ea827803.chunk.js rename to static/js/111.c0fcff02.chunk.js index add5626bc..9644635e0 100644 --- a/static/js/111.ea827803.chunk.js +++ b/static/js/111.c0fcff02.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[111],{"cuo/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=c(n("q1tI")),a=n("spEH");n("y8uv");var u=n("eO8H"),o=c(n("CnBM")),d=c(n("HUFq"));function c(e){return e&&e.__esModule?e:{default:e}}var f=(0,o.default)({loader:function(){return n.e(101).then(n.t.bind(null,"+BVi",7))},loading:d.default}),i=(0,o.default)({loader:function(){return Promise.all([n.e(11),n.e(85),n.e(60)]).then(n.t.bind(null,"JtPb",7))},loading:d.default}),s=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(44)]).then(n.t.bind(null,"Jwem",7))},loading:d.default}),p=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(47)]).then(n.t.bind(null,"t8ff",7))},loading:d.default}),m=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(11),n.e(39)]).then(n.t.bind(null,"ZYHo",7))},loading:d.default}),h=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(45)]).then(n.t.bind(null,"ZxKT",7))},loading:d.default});t.default=function(e){return l.default.createElement(a.WhiteBack,{className:"opsPanel"},l.default.createElement(u.Switch,e,l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops/params",render:function(t){return l.default.createElement(h,r({},e,t))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops/mould",render:function(t){return l.default.createElement(m,r({},e,t))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops/new",render:function(t){return l.default.createElement(i,r({},e,t))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops/list/:branch",render:function(t){return l.default.createElement(p,r({},e,t))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops/:disposeId",render:function(t){return l.default.createElement(i,r({},e,t))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops",render:function(t){return t.location.state.open_devops?l.default.createElement(s,r({},e,t)):l.default.createElement(f,r({},e,t))}})))}},y8uv:function(e,t,n){}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[111],{"cuo/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=c(n("q1tI")),a=n("spEH");n("y8uv");var u=n("eO8H"),o=c(n("CnBM")),d=c(n("HUFq"));function c(e){return e&&e.__esModule?e:{default:e}}var f=(0,o.default)({loader:function(){return n.e(101).then(n.t.bind(null,"+BVi",7))},loading:d.default}),i=(0,o.default)({loader:function(){return Promise.all([n.e(12),n.e(85),n.e(60)]).then(n.t.bind(null,"JtPb",7))},loading:d.default}),s=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(44)]).then(n.t.bind(null,"Jwem",7))},loading:d.default}),p=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(47)]).then(n.t.bind(null,"t8ff",7))},loading:d.default}),m=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(12),n.e(39)]).then(n.t.bind(null,"ZYHo",7))},loading:d.default}),h=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(45)]).then(n.t.bind(null,"ZxKT",7))},loading:d.default});t.default=function(e){return l.default.createElement(a.WhiteBack,{className:"opsPanel"},l.default.createElement(u.Switch,e,l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops/params",render:function(t){return l.default.createElement(h,r({},e,t))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops/mould",render:function(t){return l.default.createElement(m,r({},e,t))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops/new",render:function(t){return l.default.createElement(i,r({},e,t))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops/list/:branch",render:function(t){return l.default.createElement(p,r({},e,t))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops/:disposeId",render:function(t){return l.default.createElement(i,r({},e,t))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/devops",render:function(t){return t.location.state.open_devops?l.default.createElement(s,r({},e,t)):l.default.createElement(f,r({},e,t))}})))}},y8uv:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/112.3bed1031.chunk.js b/static/js/112.3bed1031.chunk.js deleted file mode 100644 index 34ff70dff..000000000 --- a/static/js/112.3bed1031.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[112],{"+JVH":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n("q1tI"),u=d(a),l=n("eO8H"),c=d(n("CnBM")),i=d(n("HUFq")),f=d(n("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}n("/oTB");var p=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(11),n.e(56)]).then(n.t.bind(null,"eacs",7))},loading:i.default}),s=(0,c.default)({loader:function(){return Promise.all([n.e(3),n.e(4),n.e(9),n.e(91)]).then(n.t.bind(null,"jP00",7))},loading:i.default}),m=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(18)]).then(n.t.bind(null,"VEFH",7))},loading:i.default}),h=(0,c.default)({loader:function(){return n.e(88).then(n.t.bind(null,"GU58",7))},loading:i.default}),b=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(43)]).then(n.t.bind(null,"n5qf",7))},loading:i.default}),g=(0,c.default)({loader:function(){return n.e(90).then(n.t.bind(null,"Qe4H",7))},loading:i.default}),w=(0,c.default)({loader:function(){return Promise.all([n.e(4),n.e(67)]).then(n.t.bind(null,"cfbA",7))},loading:i.default}),E=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.Init()},n.componentDidUpdate=function(e){n.props.location!==(e&&e.location)&&n.Init()},n.Init=function(){var e=n.props.match.params.branchName,t=n.props.defaultBranch;n.getTopCount(e||t)},n.getTopCount=function(e){var t=n.props.match.params,r=t.projectsId,o="/"+t.owner+"/"+r+"/top_counts.json";f.default.get(o,{params:{ref:e}}).then((function(e){e&&n.setState({coderCount:e.data})})).catch((function(e){console.log(e)}))},n.state={coderCount:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=this;return u.default.createElement("div",{className:"coderSubPage"},u.default.createElement(l.Switch,this.props,u.default.createElement(l.Route,{path:"/:owner/:projectsId/:branch/newfile/:path",render:function(t){return u.default.createElement(p,r({},e.props,t,e.state))}}),u.default.createElement(l.Route,{path:"/:owner/:projectsId/:branch/uploadfile",render:function(t){return u.default.createElement(s,r({},e.props,t,e.state))}}),u.default.createElement(l.Route,{path:"/:owner/:projectsId/:branch/newfile",render:function(t){return u.default.createElement(p,r({},e.props,t,e.state,{getTopCount:e.getTopCount}))}}),u.default.createElement(l.Route,{path:"/:owner/:projectsId/commits/branch/:branchName",render:function(){return u.default.createElement(m,r({},e.props,e.state,{commit_class:"main",getTopCount:e.getTopCount}))}}),u.default.createElement(l.Route,{path:"/:owner/:projectsId/commits/:sha",render:function(t){return u.default.createElement(w,r({},e.props,t,e.state))}}),u.default.createElement(l.Route,{path:"/:owner/:projectsId/commits",render:function(){return u.default.createElement(m,r({},e.props,e.state,{commit_class:"main",getTopCount:e.getTopCount}))}}),u.default.createElement(l.Route,{path:"/:owner/:projectsId/releases",render:function(){return u.default.createElement(g,r({},e.props,e.state))}}),u.default.createElement(l.Route,{path:"/:owner/:projectsId/tags",render:function(){return u.default.createElement(b,r({},e.props,e.state))}}),u.default.createElement(l.Route,{path:"/:owner/:projectsId/branches",render:function(){return u.default.createElement(h,r({},e.props,e.state))}})))}}]),t}(a.Component);t.default=E},"/oTB":function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/112.4be9dfb3.chunk.js b/static/js/112.4be9dfb3.chunk.js new file mode 100644 index 000000000..7c0f9e07c --- /dev/null +++ b/static/js/112.4be9dfb3.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[112],{"+JVH":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n("q1tI"),l=i(o),u=n("eO8H"),c=i(n("CnBM")),f=i(n("HUFq"));function i(e){return e&&e.__esModule?e:{default:e}}n("/oTB");var d=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(12),n.e(56)]).then(n.t.bind(null,"eacs",7))},loading:f.default}),s=(0,c.default)({loader:function(){return Promise.all([n.e(3),n.e(4),n.e(9),n.e(91)]).then(n.t.bind(null,"jP00",7))},loading:f.default}),p=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(11),n.e(18)]).then(n.t.bind(null,"VEFH",7))},loading:f.default}),m=(0,c.default)({loader:function(){return n.e(88).then(n.t.bind(null,"GU58",7))},loading:f.default}),h=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(43)]).then(n.t.bind(null,"n5qf",7))},loading:f.default}),b=(0,c.default)({loader:function(){return n.e(90).then(n.t.bind(null,"Qe4H",7))},loading:f.default}),E=(0,c.default)({loader:function(){return Promise.all([n.e(4),n.e(11),n.e(66)]).then(n.t.bind(null,"cfbA",7))},loading:f.default}),w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={coderCount:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this;return l.default.createElement("div",{className:"coderSubPage"},l.default.createElement(u.Switch,this.props,l.default.createElement(u.Route,{path:"/:owner/:projectsId/:branch/newfile/:path",render:function(t){return l.default.createElement(d,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/:branch/uploadfile",render:function(t){return l.default.createElement(s,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/:branch/newfile",render:function(t){return l.default.createElement(d,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/commits/branch/:branchName",render:function(){return l.default.createElement(p,r({},e.props,e.state,{commit_class:"main"}))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/commits/:sha",render:function(t){return l.default.createElement(E,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/commits",render:function(){return l.default.createElement(p,r({},e.props,e.state,{commit_class:"main"}))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/releases",render:function(){return l.default.createElement(b,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/tags",render:function(){return l.default.createElement(h,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/branches",render:function(){return l.default.createElement(m,r({},e.props,e.state))}})))}}]),t}(o.Component);t.default=w},"/oTB":function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/119.b9d81ed6.chunk.js b/static/js/119.e051329b.chunk.js similarity index 97% rename from static/js/119.b9d81ed6.chunk.js rename to static/js/119.e051329b.chunk.js index 6bd214c10..3961d5fac 100644 --- a/static/js/119.b9d81ed6.chunk.js +++ b/static/js/119.e051329b.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[119],{"6dZj":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=n("q1tI"),o=f(l),u=n("eO8H");n("7dqz"),n("NzgE");var s=f(n("CnBM")),c=f(n("HUFq")),i=n("spEH");function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(22),n.e(124)]).then(n.t.bind(null,"pSeD",7))},loading:c.default}),h=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(77)]).then(n.t.bind(null,"RIeY",7))},loading:c.default}),E=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(69),n.e(89)]).then(n.t.bind(null,"32zL",7))},loading:c.default}),b=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(11),n.e(53),n.e(74)]).then(n.t.bind(null,"gfxg",7))},loading:c.default}),g=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(72)]).then(n.t.bind(null,"5ZNU",7))},loading:c.default}),w=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(16),n.e(96)]).then(n.t.bind(null,"XyF/",7))},loading:c.default}),y=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(8),n.e(31)]).then(n.t.bind(null,"Un2r",7))},loading:c.default}),j=(0,s.default)({loader:function(){return n.e(110).then(n.t.bind(null,"qh7/",7))},loading:c.default}),N=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(81)]).then(n.t.bind(null,"ejHd",7))},loading:c.default}),v=function(e){function t(){return d(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this,t=this.props.match.params,n=t.projectsId,r=t.owner,l=this.props.history.location.pathname,s=l==="/"+r+"/"+n+"/settings";return o.default.createElement(i.Box,{className:"ProjectListIndex"},o.default.createElement(i.Short,null,o.default.createElement("ul",{className:"list-l-Menu"},o.default.createElement("li",{className:s?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/"+r+"/"+n+"/settings",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-huabanfuben font-18 mr10"}),"基本设置"))),o.default.createElement("li",{className:l.indexOf("settings/collaborators")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/"+r+"/"+n+"/settings/collaborators",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-chengyuan font-18 mr10"}),"协作者管理"))),o.default.createElement("li",{className:l.indexOf("settings/webhooks")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/"+r+"/"+n+"/settings/webhooks",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-a-xuanzhongwebhookicon font-18 mr10 color-grey-9"}),"Webhooks"))),o.default.createElement("li",{className:l.indexOf("settings/branch")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/"+r+"/"+n+"/settings/branches",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-fenzhi font-20 mr10"}),"分支设置"))),o.default.createElement("li",{className:l.indexOf("settings/labels")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/"+r+"/"+n+"/settings/labels",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-xiangmubiaoqian font-18 mr10 color-grey-6"}),"项目标记"))))),o.default.createElement(i.Long,null,o.default.createElement(i.Gap,null,o.default.createElement(u.Switch,this.props,o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/webhooks/new",render:function(t){return o.default.createElement(b,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/webhooks/:id",render:function(t){return o.default.createElement(b,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/webhooks",render:function(t){return o.default.createElement(g,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/collaborators",render:function(t){return o.default.createElement(w,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/labels",render:function(t){return o.default.createElement(y,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/branches/:branch",render:function(t){return o.default.createElement(m,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/branches",render:function(t){return o.default.createElement(h,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/manage/new",render:function(t){return o.default.createElement(N,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/manage",render:function(t){return o.default.createElement(j,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings",render:function(t){return o.default.createElement(E,a({},e.props,t,e.state))}})))))}}]),t}(l.Component);t.default=v},NzgE:function(e,t,n){}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[119],{"6dZj":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=n("q1tI"),o=f(l),u=n("eO8H");n("7dqz"),n("NzgE");var s=f(n("CnBM")),c=f(n("HUFq")),i=n("spEH");function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(22),n.e(124)]).then(n.t.bind(null,"pSeD",7))},loading:c.default}),h=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(77)]).then(n.t.bind(null,"RIeY",7))},loading:c.default}),E=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(69),n.e(89)]).then(n.t.bind(null,"32zL",7))},loading:c.default}),b=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(12),n.e(53),n.e(74)]).then(n.t.bind(null,"gfxg",7))},loading:c.default}),g=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(72)]).then(n.t.bind(null,"5ZNU",7))},loading:c.default}),w=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(16),n.e(96)]).then(n.t.bind(null,"XyF/",7))},loading:c.default}),y=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(8),n.e(31)]).then(n.t.bind(null,"Un2r",7))},loading:c.default}),j=(0,s.default)({loader:function(){return n.e(110).then(n.t.bind(null,"qh7/",7))},loading:c.default}),N=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(81)]).then(n.t.bind(null,"ejHd",7))},loading:c.default}),v=function(e){function t(){return d(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this,t=this.props.match.params,n=t.projectsId,r=t.owner,l=this.props.history.location.pathname,s=l==="/"+r+"/"+n+"/settings";return o.default.createElement(i.Box,{className:"ProjectListIndex"},o.default.createElement(i.Short,null,o.default.createElement("ul",{className:"list-l-Menu"},o.default.createElement("li",{className:s?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/"+r+"/"+n+"/settings",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-huabanfuben font-18 mr10"}),"基本设置"))),o.default.createElement("li",{className:l.indexOf("settings/collaborators")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/"+r+"/"+n+"/settings/collaborators",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-chengyuan font-18 mr10"}),"协作者管理"))),o.default.createElement("li",{className:l.indexOf("settings/webhooks")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/"+r+"/"+n+"/settings/webhooks",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-a-xuanzhongwebhookicon font-18 mr10 color-grey-9"}),"Webhooks"))),o.default.createElement("li",{className:l.indexOf("settings/branch")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/"+r+"/"+n+"/settings/branches",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-fenzhi font-20 mr10"}),"分支设置"))),o.default.createElement("li",{className:l.indexOf("settings/labels")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/"+r+"/"+n+"/settings/labels",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-xiangmubiaoqian font-18 mr10 color-grey-6"}),"项目标记"))))),o.default.createElement(i.Long,null,o.default.createElement(i.Gap,null,o.default.createElement(u.Switch,this.props,o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/webhooks/new",render:function(t){return o.default.createElement(b,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/webhooks/:id",render:function(t){return o.default.createElement(b,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/webhooks",render:function(t){return o.default.createElement(g,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/collaborators",render:function(t){return o.default.createElement(w,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/labels",render:function(t){return o.default.createElement(y,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/branches/:branch",render:function(t){return o.default.createElement(m,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/branches",render:function(t){return o.default.createElement(h,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/manage/new",render:function(t){return o.default.createElement(N,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings/manage",render:function(t){return o.default.createElement(j,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/:owner/:projectsId/settings",render:function(t){return o.default.createElement(E,a({},e.props,t,e.state))}})))))}}]),t}(l.Component);t.default=v},NzgE:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/11.faaf8a93.chunk.js b/static/js/12.af8f9caa.chunk.js similarity index 99% rename from static/js/11.faaf8a93.chunk.js rename to static/js/12.af8f9caa.chunk.js index 64fd61005..f19885366 100644 --- a/static/js/11.faaf8a93.chunk.js +++ b/static/js/12.af8f9caa.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[11],{"+Fos":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("Ll0s"),o=n("cGHE"),r=n("aokT"),s=n("N0LK"),a=function(e,t,n){this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=n},u=function(){function e(){}return e.leftPosition=function(e,t,n){return n>e.getLineMinColumn(t)?n-=s.D(e.getLineContent(t),n-1):t>1&&(t-=1,n=e.getLineMaxColumn(t)),new o.a(t,n)},e.left=function(t,n,i,o){var r=e.leftPosition(n,i,o);return new a(r.lineNumber,r.column,0)},e.moveLeft=function(t,n,i,o,r){var s,a;if(i.hasSelection()&&!o)s=i.selection.startLineNumber,a=i.selection.startColumn;else{var u=e.left(t,n,i.position.lineNumber,i.position.column-(r-1));s=u.lineNumber,a=u.column}return i.move(o,s,a,0)},e.rightPosition=function(e,t,n){return n<e.getLineMaxColumn(t)?n+=s.C(e.getLineContent(t),n-1):t<e.getLineCount()&&(t+=1,n=e.getLineMinColumn(t)),new o.a(t,n)},e.right=function(t,n,i,o){var r=e.rightPosition(n,i,o);return new a(r.lineNumber,r.column,0)},e.moveRight=function(t,n,i,o,r){var s,a;if(i.hasSelection()&&!o)s=i.selection.endLineNumber,a=i.selection.endColumn;else{var u=e.right(t,n,i.position.lineNumber,i.position.column+(r-1));s=u.lineNumber,a=u.column}return i.move(o,s,a,0)},e.down=function(e,t,n,o,r,s,u){var l=i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize)+r;n+=s;var c=t.getLineCount();return n>c?(n=c,o=u?t.getLineMaxColumn(n):Math.min(t.getLineMaxColumn(n),o)):o=i.a.columnFromVisibleColumn2(e,t,n,l),r=l-i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize),new a(n,o,r)},e.moveDown=function(t,n,i,o,r){var s,a;i.hasSelection()&&!o?(s=i.selection.endLineNumber,a=i.selection.endColumn):(s=i.position.lineNumber,a=i.position.column);var u=e.down(t,n,s,a,i.leftoverVisibleColumns,r,!0);return i.move(o,u.lineNumber,u.column,u.leftoverVisibleColumns)},e.translateDown=function(t,n,s){var a=s.selection,u=e.down(t,n,a.selectionStartLineNumber,a.selectionStartColumn,s.selectionStartLeftoverVisibleColumns,1,!1),l=e.down(t,n,a.positionLineNumber,a.positionColumn,s.leftoverVisibleColumns,1,!1);return new i.f(new r.a(u.lineNumber,u.column,u.lineNumber,u.column),u.leftoverVisibleColumns,new o.a(l.lineNumber,l.column),l.leftoverVisibleColumns)},e.up=function(e,t,n,o,r,s,u){var l=i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize)+r;return(n-=s)<1?(n=1,o=u?t.getLineMinColumn(n):Math.min(t.getLineMaxColumn(n),o)):o=i.a.columnFromVisibleColumn2(e,t,n,l),r=l-i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize),new a(n,o,r)},e.moveUp=function(t,n,i,o,r){var s,a;i.hasSelection()&&!o?(s=i.selection.startLineNumber,a=i.selection.startColumn):(s=i.position.lineNumber,a=i.position.column);var u=e.up(t,n,s,a,i.leftoverVisibleColumns,r,!0);return i.move(o,u.lineNumber,u.column,u.leftoverVisibleColumns)},e.translateUp=function(t,n,s){var a=s.selection,u=e.up(t,n,a.selectionStartLineNumber,a.selectionStartColumn,s.selectionStartLeftoverVisibleColumns,1,!1),l=e.up(t,n,a.positionLineNumber,a.positionColumn,s.leftoverVisibleColumns,1,!1);return new i.f(new r.a(u.lineNumber,u.column,u.lineNumber,u.column),u.leftoverVisibleColumns,new o.a(l.lineNumber,l.column),l.leftoverVisibleColumns)},e.moveToBeginningOfLine=function(e,t,n,i){var o,r=n.position.lineNumber,s=t.getLineMinColumn(r),a=t.getLineFirstNonWhitespaceColumn(r)||s;return o=n.position.column===a?s:a,n.move(i,r,o,0)},e.moveToEndOfLine=function(e,t,n,i){var o=n.position.lineNumber,r=t.getLineMaxColumn(o);return n.move(i,o,r,0)},e.moveToBeginningOfBuffer=function(e,t,n,i){return n.move(i,1,1,0)},e.moveToEndOfBuffer=function(e,t,n,i){var o=t.getLineCount(),r=t.getLineMaxColumn(o);return n.move(i,o,r,0)},e}()},"+a1H":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return n.e(153).then(n.bind(null,"O3xE"))}})},"+hIS":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i="undefined"==typeof monaco?self.monaco:monaco,o={},r={},s=function(){function e(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((function(e,n){t._lazyLoadPromiseResolve=e,t._lazyLoadPromiseReject=n}))}return e.getOrCreate=function(t){return r[t]||(r[t]=new e(t)),r[t]},e.prototype.whenLoaded=function(){return this._lazyLoadPromise},e.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,o[this._languageId].loader().then((function(t){return e._lazyLoadPromiseResolve(t)}),(function(t){return e._lazyLoadPromiseReject(t)}))),this._lazyLoadPromise},e}();function a(e){var t=e.id;o[t]=e,i.languages.register(e);var n=s.getOrCreate(t);i.languages.setMonarchTokensProvider(t,n.whenLoaded().then((function(e){return e.language}))),i.languages.onLanguage(t,(function(){n.load().then((function(e){i.languages.setLanguageConfiguration(t,e.conf)}))}))}},"/UlZ":function(e,t,n){"use strict";n.d(t,"f",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"g",(function(){return C})),n.d(t,"d",(function(){return D})),n.d(t,"j",(function(){return B})),n.d(t,"b",(function(){return G})),n.d(t,"c",(function(){return Y})),n.d(t,"i",(function(){return Z})),n.d(t,"e",(function(){return J}));var i,o=n("3/fG"),r=n("MNsG"),s=n("0JNc"),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return(u=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},l=8,c=function(){function e(e){this._values=e}return e.prototype.hasChanged=function(e){return this._values[e]},e}(),d=function(){function e(){this._values=[]}return e.prototype._read=function(e){return this._values[e]},e.prototype.get=function(e){return this._values[e]},e.prototype._write=function(e,t){this._values[e]=t},e}(),h=function(){function e(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}return e.prototype.compute=function(e,t,n){return n},e}(),f=function(){function e(e,t){void 0===t&&(t=null),this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0,this.deps=t}return e.prototype.validate=function(e){return this.defaultValue},e}(),p=function(){function e(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}return e.prototype.validate=function(e){return void 0===e?this.defaultValue:e},e.prototype.compute=function(e,t,n){return n},e}(),g=function(e){function t(t,n,i,o){void 0===o&&(o=void 0);return void 0!==o&&(o.type="boolean",o.default=i),e.call(this,t,n,i,o)||this}return a(t,e),t.boolean=function(e,t){return void 0===e?t:"false"!==e&&Boolean(e)},t.prototype.validate=function(e){return t.boolean(e,this.defaultValue)},t}(p),m=function(e){function t(t,n,i,o,r,s){void 0===s&&(s=void 0);var a=this;return void 0!==s&&(s.type="integer",s.default=i,s.minimum=o,s.maximum=r),(a=e.call(this,t,n,i,s)||this).minimum=o,a.maximum=r,a}return a(t,e),t.clampedInt=function(e,t,n,i){var o;return void 0===e?o=t:(o=parseInt(e,10),isNaN(o)&&(o=t)),o=Math.max(n,o),0|(o=Math.min(i,o))},t.prototype.validate=function(e){return t.clampedInt(e,this.defaultValue,this.minimum,this.maximum)},t}(p),v=function(e){function t(t,n,i,o,r){var s=this;return void 0!==r&&(r.type="number",r.default=i),(s=e.call(this,t,n,i,r)||this).validationFn=o,s}return a(t,e),t.clamp=function(e,t,n){return e<t?t:e>n?n:e},t.float=function(e,t){if("number"==typeof e)return e;if(void 0===e)return t;var n=parseFloat(e);return isNaN(n)?t:n},t.prototype.validate=function(e){return this.validationFn(t.float(e,this.defaultValue))},t}(p),_=function(e){function t(t,n,i,o){void 0===o&&(o=void 0);return void 0!==o&&(o.type="string",o.default=i),e.call(this,t,n,i,o)||this}return a(t,e),t.string=function(e,t){return"string"!=typeof e?t:e},t.prototype.validate=function(e){return t.string(e,this.defaultValue)},t}(p),y=function(e){function t(t,n,i,o,r){void 0===r&&(r=void 0);var s=this;return void 0!==r&&(r.type="string",r.enum=o,r.default=i),(s=e.call(this,t,n,i,r)||this)._allowedValues=o,s}return a(t,e),t.stringSet=function(e,t,n){return"string"!=typeof e||-1===n.indexOf(e)?t:e},t.prototype.validate=function(e){return t.stringSet(e,this.defaultValue,this._allowedValues)},t}(p),b=function(e){function t(t,n,i,o,r,s,a){void 0===a&&(a=void 0);var u=this;return void 0!==a&&(a.type="string",a.enum=r,a.default=o),(u=e.call(this,t,n,i,a)||this)._allowedValues=r,u._convert=s,u}return a(t,e),t.prototype.validate=function(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)},t}(h);var C,w=function(e){function t(){return e.call(this,2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[o.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),o.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),o.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:o.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})||this}return a(t,e),t.prototype.validate=function(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue},t.prototype.compute=function(e,t,n){return 0===n?e.accessibilitySupport:n},t}(h),S=function(e){function t(){var t={insertSpace:!0};return e.call(this,13,"comments",t,{"editor.comments.insertSpace":{type:"boolean",default:t.insertSpace,description:o.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{insertSpace:g.boolean(t.insertSpace,this.defaultValue.insertSpace)}},t}(h);!function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(C||(C={}));var L=function(e){function t(){return e.call(this,104,[55,26])||this}return a(t,e),t.prototype.compute=function(e,t,n){var i="monaco-editor";return t.get(26)&&(i+=" "+t.get(26)),e.extraEditorClassName&&(i+=" "+e.extraEditorClassName),"default"===t.get(55)?i+=" mouse-default":"copy"===t.get(55)&&(i+=" mouse-copy"),t.get(85)&&(i+=" showUnused"),i},t}(f),N=function(e){function t(){return e.call(this,25,"emptySelectionClipboard",!0,{description:o.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})||this}return a(t,e),t.prototype.compute=function(e,t,n){return n&&e.emptySelectionClipboard},t}(g),O=function(e){function t(){var t={seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0};return e.call(this,28,"find",t,{"editor.find.seedSearchStringFromSelection":{type:"boolean",default:t.seedSearchStringFromSelection,description:o.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:t.autoFindInSelection,enumDescriptions:[o.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),o.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),o.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:o.a("find.autoFindInSelection","Controls whether the find operation is carried out on selected text or the entire file in the editor.")},"editor.find.globalFindClipboard":{type:"boolean",default:t.globalFindClipboard,description:o.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:r.e},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:t.addExtraSpaceOnTop,description:o.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{seedSearchStringFromSelection:g.boolean(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":y.stringSet(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:g.boolean(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:g.boolean(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop)}},t}(h),D=function(e){function t(){return e.call(this,35,"fontLigatures",t.OFF,{anyOf:[{type:"boolean",description:o.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:o.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:o.a("fontLigaturesGeneral","Configures font ligatures."),default:!1})||this}return a(t,e),t.prototype.validate=function(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?t.OFF:"true"===e?t.ON:e:Boolean(e)?t.ON:t.OFF},t.OFF='"liga" off, "calt" off',t.ON='"liga" on, "calt" on',t}(h),x=function(e){function t(){return e.call(this,34)||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.fontInfo},t}(f),E=function(e){function t(){return e.call(this,36,"fontSize",G.fontSize,{type:"number",minimum:6,maximum:100,default:G.fontSize,description:o.a("fontSize","Controls the font size in pixels.")})||this}return a(t,e),t.prototype.validate=function(e){var t=v.float(e,this.defaultValue);return 0===t?G.fontSize:v.clamp(t,6,100)},t.prototype.compute=function(e,t,n){return e.fontInfo.fontSize},t}(p),k=function(e){function t(){var t={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},n={type:"string",enum:["peek","gotoAndPeek","goto"],default:t.multiple,enumDescriptions:[o.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),o.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),o.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};return e.call(this,41,"gotoLocation",t,{"editor.gotoLocation.multiple":{deprecationMessage:o.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":u({description:o.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleTypeDefinitions":u({description:o.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleDeclarations":u({description:o.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleImplementations":u({description:o.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleReferences":u({description:o.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},n),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:t.alternativeDefinitionCommand,description:o.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:t.alternativeTypeDefinitionCommand,description:o.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:t.alternativeDeclarationCommand,description:o.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:t.alternativeImplementationCommand,description:o.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:t.alternativeReferenceCommand,description:o.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})||this}return a(t,e),t.prototype.validate=function(e){var t,n,i,o,r;if("object"!=typeof e)return this.defaultValue;var s=e;return{multiple:y.stringSet(s.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=s.multipleDefinitions)&&void 0!==t?t:y.stringSet(s.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=s.multipleTypeDefinitions)&&void 0!==n?n:y.stringSet(s.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=s.multipleDeclarations)&&void 0!==i?i:y.stringSet(s.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(o=s.multipleImplementations)&&void 0!==o?o:y.stringSet(s.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(r=s.multipleReferences)&&void 0!==r?r:y.stringSet(s.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:_.string(s.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:_.string(s.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:_.string(s.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:_.string(s.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:_.string(s.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}},t}(h),I=function(e){function t(){var t={enabled:!0,delay:300,sticky:!0};return e.call(this,44,"hover",t,{"editor.hover.enabled":{type:"boolean",default:t.enabled,description:o.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:t.delay,description:o.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:t.sticky,description:o.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled),delay:m.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:g.boolean(t.sticky,this.defaultValue.sticky)}},t}(h),M=function(e){function t(){return e.call(this,107,[40,48,30,54,78,50])||this}return a(t,e),t.prototype.compute=function(e,n,i){return t.computeLayout(n,{outerWidth:e.outerWidth,outerHeight:e.outerHeight,lineHeight:e.fontInfo.lineHeight,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})},t.computeLayout=function(e,t){var n,i=0|t.outerWidth,o=0|t.outerHeight,r=0|t.lineHeight,s=0|t.lineNumbersDigitCount,a=t.typicalHalfwidthCharacterWidth,u=t.maxDigitWidth,c=t.pixelRatio,d=e.get(40),h=0!==e.get(50).renderType,f=0|e.get(51),p=e.get(54),g=p.enabled,v=p.side,_=p.renderCharacters,y=c>=2?Math.round(2*p.scale):p.scale,b=0|p.maxColumn,C=e.get(78),w=0|C.verticalScrollbarSize,S=C.verticalHasArrows,L=0|C.arrowSize,N=0|C.horizontalScrollbarSize,O=e.get(48),D=e.get(30);if("string"==typeof O&&/^\d+(\.\d+)?ch$/.test(O)){var x=parseFloat(O.substr(0,O.length-2));n=m.clampedInt(x*a,0,0,1e3)}else n=m.clampedInt(O,0,0,1e3);D&&(n+=16);var E=0;if(h){var k=Math.max(s,f);E=Math.round(k*u)}var I=0;d&&(I=r);var M,T,A,R,P=0,F=P+I,V=F+E,W=V+n,B=i-I-E-n;if(g){var j=y/c;M=_?1:2,(A=Math.max(0,Math.floor((B-w-2)*j/(a+j)))+l)/j>b&&(A=Math.floor(b*j)),R=B-A,"left"===v?(T=0,P+=A,F+=A,V+=A,W+=A):T=i-A-w}else T=0,A=0,M=0,R=B;var H=S?L:0;return{width:i,height:o,glyphMarginLeft:P,glyphMarginWidth:I,lineNumbersLeft:F,lineNumbersWidth:E,decorationsLeft:V,decorationsWidth:n,contentLeft:W,contentWidth:R,renderMinimap:M,minimapLeft:T,minimapWidth:A,viewportColumn:Math.max(1,Math.floor((R-w-2)/a)),verticalScrollbarWidth:w,horizontalScrollbarHeight:N,overviewRuler:{top:H,width:w,height:o-2*H,right:0}}},t}(f),T=function(e){function t(){var t={enabled:!0};return e.call(this,47,"lightbulb",t,{"editor.lightbulb.enabled":{type:"boolean",default:t.enabled,description:o.a("codeActions","Enables the code action lightbulb in the editor.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled)}},t}(h),A=function(e){function t(){return e.call(this,49,"lineHeight",G.lineHeight,0,150,{description:o.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.fontInfo.lineHeight},t}(m),R=function(e){function t(){var t={enabled:!0,side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};return e.call(this,54,"minimap",t,{"editor.minimap.enabled":{type:"boolean",default:t.enabled,description:o.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:t.side,description:o.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:t.showSlider,description:o.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:t.scale,minimum:1,maximum:3,description:o.a("minimap.scale","Scale of content drawn in the minimap.")},"editor.minimap.renderCharacters":{type:"boolean",default:t.renderCharacters,description:o.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:t.maxColumn,description:o.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled),side:y.stringSet(t.side,this.defaultValue.side,["right","left"]),showSlider:y.stringSet(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:g.boolean(t.renderCharacters,this.defaultValue.renderCharacters),scale:m.clampedInt(t.scale,1,1,3),maxColumn:m.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}},t}(h);var P=function(e){function t(){var t={enabled:!0,cycle:!1};return e.call(this,64,"parameterHints",t,{"editor.parameterHints.enabled":{type:"boolean",default:t.enabled,description:o.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:t.cycle,description:o.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled),cycle:g.boolean(t.cycle,this.defaultValue.cycle)}},t}(h),F=function(e){function t(){return e.call(this,105)||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.pixelRatio},t}(f),V=function(e){function t(){var t=this,n={other:!0,comments:!1,strings:!1};return(t=e.call(this,66,"quickSuggestions",n,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:n.strings,description:o.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:n.comments,description:o.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:n.other,description:o.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:n,description:o.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")})||this).defaultValue=n,t}return a(t,e),t.prototype.validate=function(e){if("boolean"==typeof e)return e;if("object"==typeof e){var t=e,n={other:g.boolean(t.other,this.defaultValue.other),comments:g.boolean(t.comments,this.defaultValue.comments),strings:g.boolean(t.strings,this.defaultValue.strings)};return!!(n.other&&n.comments&&n.strings)||!!(n.other||n.comments||n.strings)&&n}return this.defaultValue},t}(h),W=function(e){function t(){return e.call(this,50,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[o.a("lineNumbers.off","Line numbers are not rendered."),o.a("lineNumbers.on","Line numbers are rendered as absolute number."),o.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),o.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:o.a("lineNumbers","Controls the display of line numbers.")})||this}return a(t,e),t.prototype.validate=function(e){var t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}},t}(h);function B(e){var t=e.get(73);return"editable"===t?e.get(68):"on"!==t}var j=function(e){function t(){var t=[];return e.call(this,77,"rulers",t,{type:"array",items:{type:"number"},default:t,description:o.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})||this}return a(t,e),t.prototype.validate=function(e){if(Array.isArray(e)){for(var t=[],n=0,i=e;n<i.length;n++){var o=i[n];t.push(m.clampedInt(o,0,0,1e4))}return t.sort((function(e,t){return e-t})),t}return this.defaultValue},t}(p);function H(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}var z=function(e){function t(){return e.call(this,78,"scrollbar",{vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:10,horizontalSliderSize:10,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e,n=m.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=m.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:m.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:H(t.vertical,this.defaultValue.vertical),horizontal:H(t.horizontal,this.defaultValue.horizontal),useShadows:g.boolean(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:g.boolean(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:g.boolean(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:g.boolean(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:g.boolean(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:m.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:i,verticalSliderSize:m.clampedInt(t.verticalSliderSize,i,0,1e3)}},t}(h),U=function(e){function t(){var t={insertMode:"insert",insertHighlight:!1,filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,maxVisibleSuggestions:12,showMethods:!0,showFunctions:!0,showConstructors:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,hideStatusBar:!0};return e.call(this,89,"suggest",t,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[o.a("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),o.a("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:t.insertMode,description:o.a("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.insertHighlight":{type:"boolean",default:t.insertHighlight,description:o.a("suggest.insertHighlight","Controls whether unexpected text modifications while accepting completions should be highlighted, e.g `insertMode` is `replace` but the completion only supports `insert`.")},"editor.suggest.filterGraceful":{type:"boolean",default:t.filterGraceful,description:o.a("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:t.localityBonus,description:o.a("suggest.localityBonus","Controls whether sorting favours words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:t.shareSuggestSelections,markdownDescription:o.a("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:t.snippetsPreventQuickSuggestions,description:o.a("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:t.showIcons,description:o.a("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.maxVisibleSuggestions":{type:"number",default:t.maxVisibleSuggestions,minimum:1,maximum:15,description:o.a("suggest.maxVisibleSuggestions","Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:o.a("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.hideStatusBar":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.hideStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{insertMode:y.stringSet(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),insertHighlight:g.boolean(t.insertHighlight,this.defaultValue.insertHighlight),filterGraceful:g.boolean(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:g.boolean(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:g.boolean(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:g.boolean(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:g.boolean(t.showIcons,this.defaultValue.showIcons),maxVisibleSuggestions:m.clampedInt(t.maxVisibleSuggestions,this.defaultValue.maxVisibleSuggestions,1,15),showMethods:g.boolean(t.showMethods,this.defaultValue.showMethods),showFunctions:g.boolean(t.showFunctions,this.defaultValue.showFunctions),showConstructors:g.boolean(t.showConstructors,this.defaultValue.showConstructors),showFields:g.boolean(t.showFields,this.defaultValue.showFields),showVariables:g.boolean(t.showVariables,this.defaultValue.showVariables),showClasses:g.boolean(t.showClasses,this.defaultValue.showClasses),showStructs:g.boolean(t.showStructs,this.defaultValue.showStructs),showInterfaces:g.boolean(t.showInterfaces,this.defaultValue.showInterfaces),showModules:g.boolean(t.showModules,this.defaultValue.showModules),showProperties:g.boolean(t.showProperties,this.defaultValue.showProperties),showEvents:g.boolean(t.showEvents,this.defaultValue.showEvents),showOperators:g.boolean(t.showOperators,this.defaultValue.showOperators),showUnits:g.boolean(t.showUnits,this.defaultValue.showUnits),showValues:g.boolean(t.showValues,this.defaultValue.showValues),showConstants:g.boolean(t.showConstants,this.defaultValue.showConstants),showEnums:g.boolean(t.showEnums,this.defaultValue.showEnums),showEnumMembers:g.boolean(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:g.boolean(t.showKeywords,this.defaultValue.showKeywords),showWords:g.boolean(t.showWords,this.defaultValue.showWords),showColors:g.boolean(t.showColors,this.defaultValue.showColors),showFiles:g.boolean(t.showFiles,this.defaultValue.showFiles),showReferences:g.boolean(t.showReferences,this.defaultValue.showReferences),showFolders:g.boolean(t.showFolders,this.defaultValue.showFolders),showTypeParameters:g.boolean(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:g.boolean(t.showSnippets,this.defaultValue.showSnippets),hideStatusBar:g.boolean(t.hideStatusBar,this.defaultValue.hideStatusBar)}},t}(h),K=function(e){function t(){return e.call(this,106,[68])||this}return a(t,e),t.prototype.compute=function(e,t,n){return!!t.get(68)||e.tabFocusMode},t}(f);var q=function(e){function t(){return e.call(this,108,[97,100,101,107,2])||this}return a(t,e),t.prototype.compute=function(e,t,n){var i=t.get(97),o=t.get(100),r=t.get(101),s=t.get(107),a=null;return a=2===t.get(2)?{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1}:r&&e.isDominatedByLongLines?{isWordWrapMinified:!0,isViewportWrapping:!0,wrappingColumn:Math.max(1,s.viewportColumn)}:"on"===i?{isWordWrapMinified:!1,isViewportWrapping:!0,wrappingColumn:Math.max(1,s.viewportColumn)}:"bounded"===i?{isWordWrapMinified:!1,isViewportWrapping:!0,wrappingColumn:Math.min(Math.max(1,s.viewportColumn),o)}:"wordWrapColumn"===i?{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:o}:{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1},{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:a.isWordWrapMinified,isViewportWrapping:a.isViewportWrapping,wrappingColumn:a.wrappingColumn}},t}(f),G={fontFamily:r.e?"Menlo, Monaco, 'Courier New', monospace":r.d?"'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:r.e?12:14,lineHeight:0,letterSpacing:0},Y={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0},Z=[];function X(e){return Z[e.id]=e,e}var J={acceptSuggestionOnCommitCharacter:X(new g(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:o.a("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:X(new y(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",o.a("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:o.a("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:X(new w),accessibilityPageSize:X(new m(3,"accessibilityPageSize",10,1,1073741824,{description:o.a("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:X(new _(4,"ariaLabel",o.a("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:X(new y(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",o.a("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),o.a("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:o.a("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingOvertype:X(new y(6,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",o.a("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:o.a("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:X(new y(7,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",o.a("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),o.a("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:o.a("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:X(new b(8,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],(function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}),{enumDescriptions:[o.a("editor.autoIndent.none","The editor will not insert indentation automatically."),o.a("editor.autoIndent.keep","The editor will keep the current line's indentation."),o.a("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),o.a("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),o.a("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:o.a("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:X(new g(9,"automaticLayout",!1)),autoSurround:X(new y(10,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[o.a("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),o.a("editor.autoSurround.quotes","Surround with quotes but not brackets."),o.a("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:o.a("autoSurround","Controls whether the editor should automatically surround selections.")})),codeLens:X(new g(11,"codeLens",!0,{description:o.a("codeLens","Controls whether the editor shows CodeLens.")})),colorDecorators:X(new g(12,"colorDecorators",!0,{description:o.a("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),comments:X(new S),contextmenu:X(new g(14,"contextmenu",!0)),copyWithSyntaxHighlighting:X(new g(15,"copyWithSyntaxHighlighting",!0,{description:o.a("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:X(new b(16,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],(function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}),{description:o.a("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:X(new g(17,"cursorSmoothCaretAnimation",!1,{description:o.a("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:X(new b(18,"cursorStyle",C.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],(function(e){switch(e){case"line":return C.Line;case"block":return C.Block;case"underline":return C.Underline;case"line-thin":return C.LineThin;case"block-outline":return C.BlockOutline;case"underline-thin":return C.UnderlineThin}}),{description:o.a("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:X(new m(19,"cursorSurroundingLines",0,0,1073741824,{description:o.a("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or `scrollOffset` in some other editors.")})),cursorSurroundingLinesStyle:X(new y(20,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[o.a("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),o.a("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:o.a("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:X(new m(21,"cursorWidth",0,0,1073741824,{markdownDescription:o.a("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:X(new g(22,"disableLayerHinting",!1)),disableMonospaceOptimizations:X(new g(23,"disableMonospaceOptimizations",!1)),dragAndDrop:X(new g(24,"dragAndDrop",!0,{description:o.a("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:X(new N),extraEditorClassName:X(new _(26,"extraEditorClassName","")),fastScrollSensitivity:X(new v(27,"fastScrollSensitivity",5,(function(e){return e<=0?5:e}),{markdownDescription:o.a("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:X(new O),fixedOverflowWidgets:X(new g(29,"fixedOverflowWidgets",!1)),folding:X(new g(30,"folding",!0,{description:o.a("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:X(new y(31,"foldingStrategy","auto",["auto","indentation"],{markdownDescription:o.a("foldingStrategy","Controls the strategy for computing folding ranges. `auto` uses a language specific folding strategy, if available. `indentation` uses the indentation based folding strategy.")})),foldingHighlight:X(new g(32,"foldingHighlight",!0,{description:o.a("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),fontFamily:X(new _(33,"fontFamily",G.fontFamily,{description:o.a("fontFamily","Controls the font family.")})),fontInfo:X(new x),fontLigatures2:X(new D),fontSize:X(new E),fontWeight:X(new _(37,"fontWeight",G.fontWeight,{enum:["normal","bold","100","200","300","400","500","600","700","800","900"],description:o.a("fontWeight","Controls the font weight.")})),formatOnPaste:X(new g(38,"formatOnPaste",!1,{description:o.a("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:X(new g(39,"formatOnType",!1,{description:o.a("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:X(new g(40,"glyphMargin",!0,{description:o.a("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:X(new k),hideCursorInOverviewRuler:X(new g(42,"hideCursorInOverviewRuler",!1,{description:o.a("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),highlightActiveIndentGuide:X(new g(43,"highlightActiveIndentGuide",!0,{description:o.a("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")})),hover:X(new I),inDiffEditor:X(new g(45,"inDiffEditor",!1)),letterSpacing:X(new v(46,"letterSpacing",G.letterSpacing,(function(e){return v.clamp(e,-5,20)}),{description:o.a("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:X(new T),lineDecorationsWidth:X(new p(48,"lineDecorationsWidth",10)),lineHeight:X(new A),lineNumbers:X(new W),lineNumbersMinChars:X(new m(51,"lineNumbersMinChars",5,1,300)),links:X(new g(52,"links",!0,{description:o.a("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:X(new y(53,"matchBrackets","always",["always","near","never"],{description:o.a("matchBrackets","Highlight matching brackets.")})),minimap:X(new R),mouseStyle:X(new y(55,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:X(new v(56,"mouseWheelScrollSensitivity",1,(function(e){return 0===e?1:e}),{markdownDescription:o.a("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:X(new g(57,"mouseWheelZoom",!1,{markdownDescription:o.a("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:X(new g(58,"multiCursorMergeOverlapping",!0,{description:o.a("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:X(new b(59,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],(function(e){return"ctrlCmd"===e?r.e?"metaKey":"ctrlKey":"altKey"}),{markdownEnumDescriptions:[o.a("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),o.a("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:o.a({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:X(new y(60,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[o.a("multiCursorPaste.spread","Each cursor pastes a single line of the text."),o.a("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:o.a("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:X(new g(61,"occurrencesHighlight",!0,{description:o.a("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:X(new g(62,"overviewRulerBorder",!0,{description:o.a("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:X(new m(63,"overviewRulerLanes",3,0,3)),parameterHints:X(new P),peekWidgetDefaultFocus:X(new y(65,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[o.a("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),o.a("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:o.a("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),quickSuggestions:X(new V),quickSuggestionsDelay:X(new m(67,"quickSuggestionsDelay",10,0,1073741824,{description:o.a("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:X(new g(68,"readOnly",!1)),renderControlCharacters:X(new g(69,"renderControlCharacters",!1,{description:o.a("renderControlCharacters","Controls whether the editor should render control characters.")})),renderIndentGuides:X(new g(70,"renderIndentGuides",!0,{description:o.a("renderIndentGuides","Controls whether the editor should render indent guides.")})),renderFinalNewline:X(new g(71,"renderFinalNewline",!0,{description:o.a("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:X(new y(72,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",o.a("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:o.a("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderValidationDecorations:X(new y(73,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:X(new y(74,"renderWhitespace","none",["none","boundary","selection","all"],{enumDescriptions:["",o.a("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),o.a("renderWhitespace.selection","Render whitespace characters only on selected text."),""],description:o.a("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:X(new m(75,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:X(new g(76,"roundedSelection",!0,{description:o.a("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:X(new j),scrollbar:X(new z),scrollBeyondLastColumn:X(new m(79,"scrollBeyondLastColumn",5,0,1073741824,{description:o.a("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:X(new g(80,"scrollBeyondLastLine",!0,{description:o.a("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),selectionClipboard:X(new g(81,"selectionClipboard",!0,{description:o.a("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:r.d})),selectionHighlight:X(new g(82,"selectionHighlight",!0,{description:o.a("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:X(new g(83,"selectOnLineNumbers",!0)),showFoldingControls:X(new y(84,"showFoldingControls","mouseover",["always","mouseover"],{description:o.a("showFoldingControls","Controls whether the fold controls on the gutter are automatically hidden.")})),showUnused:X(new g(85,"showUnused",!0,{description:o.a("showUnused","Controls fading out of unused code.")})),snippetSuggestions:X(new y(86,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[o.a("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),o.a("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),o.a("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),o.a("snippetSuggestions.none","Do not show snippet suggestions.")],description:o.a("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smoothScrolling:X(new g(87,"smoothScrolling",!1,{description:o.a("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:X(new m(88,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:X(new U),suggestFontSize:X(new m(90,"suggestFontSize",0,0,1e3,{markdownDescription:o.a("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:X(new m(91,"suggestLineHeight",0,0,1e3,{markdownDescription:o.a("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")})),suggestOnTriggerCharacters:X(new g(92,"suggestOnTriggerCharacters",!0,{description:o.a("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:X(new y(93,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[o.a("suggestSelection.first","Always select the first suggestion."),o.a("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),o.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:o.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:X(new y(94,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[o.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),o.a("tabCompletion.off","Disable tab completions."),o.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:o.a("tabCompletion","Enables tab completions.")})),useTabStops:X(new g(95,"useTabStops",!0,{description:o.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:X(new _(96,"wordSeparators",s.b,{description:o.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:X(new y(97,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[o.a("wordWrap.off","Lines will never wrap."),o.a("wordWrap.on","Lines will wrap at the viewport width."),o.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),o.a({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:o.a({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:X(new _(98,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:X(new _(99,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:X(new m(100,"wordWrapColumn",80,1,1073741824,{markdownDescription:o.a({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapMinified:X(new g(101,"wordWrapMinified",!0)),wrappingIndent:X(new b(102,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],(function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}),{enumDescriptions:[o.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),o.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),o.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),o.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:o.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:X(new y(103,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[o.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),o.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:o.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:X(new L),pixelRatio:X(new F),tabFocusMode:X(new K),layoutInfo:X(new M),wrappingInfo:X(new q)}},"/cAr":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return n.e(160).then(n.bind(null,"8m5U"))}})},"/cxE":function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return r})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return l}));var i=new(function(){function e(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((function(){if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}return e.prototype.emit=function(e){this.listeners.forEach((function(t){t(e)}))},e.prototype.onUnexpectedError=function(e){this.unexpectedErrorHandler(e),this.emit(e)},e.prototype.onUnexpectedExternalError=function(e){this.unexpectedErrorHandler(e)},e}());function o(e){s(e)||i.onUnexpectedError(e)}function r(e){return e instanceof Error?{$isError:!0,name:e.name,message:e.message,stack:e.stacktrace||e.stack}:e}function s(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function a(){var e=new Error("Canceled");return e.name=e.message,e}function u(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function l(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},"/kV6":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return g}));var i,o=n("/cxE"),r=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),s=new r,a=new r,u=new r;function l(e,t){return(e|(65535&t)<<16>>>0)>>>0}function c(e,t){if(0===e)return null;var n=(65535&e)>>>0,i=(4294901760&e)>>>16;return new f(0!==i?[d(n,t),d(i,t)]:[d(n,t)])}function d(e,t){var n=!!(2048&e),i=!!(256&e);return new h(2===t?i:n,!!(1024&e),!!(512&e),2===t?n:i,255&e)}!function(){function e(e,t,n,i){void 0===n&&(n=t),void 0===i&&(i=n),s.define(e,t),a.define(e,n),u.define(e,i)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return s.keyCodeToStr(e)},e.fromString=function(e){return s.strToKeyCode(e)},e.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return u.keyCodeToStr(e)},e.fromUserSettings=function(e){return a.strToKeyCode(e)||u.strToKeyCode(e)}}(i||(i={}));var h=function(){function e(e,t,n,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=o}return e.prototype.equals=function(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.toChord=function(){return new f([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode},e}(),f=function(){function e(e){if(0===e.length)throw Object(o.b)("parts");this.parts=e}return e.prototype.equals=function(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(var t=0;t<this.parts.length;t++)if(!this.parts[t].equals(e.parts[t]))return!1;return!0},e}(),p=function(e,t,n,i,o,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyLabel=o,this.keyAriaLabel=r},g=function(){}},"0JNc":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return s}));var i="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";var o=function(e){void 0===e&&(e="");for(var t="(-?\\d*\\.\\d\\w*)|([^",n=0,o=i;n<o.length;n++){var r=o[n];e.indexOf(r)>=0||(t+="\\"+r)}return t+="\\s]+)",new RegExp(t,"g")}();function r(e){var t=o;if(e&&e instanceof RegExp)if(e.global)t=e;else{var n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}function s(e,t,n,i){t.lastIndex=0;var o=t.exec(n);if(!o)return null;var r=o[0].indexOf(" ")>=0?function(e,t,n,i){var o,r=e-1-i;for(t.lastIndex=0;o=t.exec(n);){var s=o.index||0;if(s>r)return null;if(t.lastIndex>=r)return{word:o[0],startColumn:i+1+s,endColumn:i+1+t.lastIndex}}return null}(e,t,n,i):function(e,t,n,i){var o,r=e-1-i,s=n.lastIndexOf(" ",r-1)+1;for(t.lastIndex=s;o=t.exec(n);){var a=o.index||0;if(a<=r&&t.lastIndex>=r)return{word:o[0],startColumn:i+1+a,endColumn:i+1+t.lastIndex}}return null}(e,t,n,i);return t.lastIndex=0,r}},"1YUG":function(e,t,n){"use strict";n.r(t),n.d(t,"CoreEditorCommand",(function(){return R})),n.d(t,"EditorScroll_",(function(){return w})),n.d(t,"RevealLine_",(function(){return L})),n.d(t,"CoreNavigationCommands",(function(){return O})),n.d(t,"CoreEditingCommands",(function(){return D}));var i,o=n("3/fG"),r=n("746U"),s=n("sswD"),a=n("Vxe3"),u=n("Ll0s"),l=n("cGHE"),c=n("aokT"),d=function(){function e(){}return e.columnSelect=function(e,t,n,i,o,r){for(var s=Math.abs(o-n)+1,a=n>o,d=i>r,h=i<r,f=[],p=0;p<s;p++){var g=n+(a?-p:p),m=u.a.columnFromVisibleColumn2(e,t,g,i),v=u.a.columnFromVisibleColumn2(e,t,g,r),_=u.a.visibleColumnFromColumn2(e,t,new l.a(g,m)),y=u.a.visibleColumnFromColumn2(e,t,new l.a(g,v));if(h){if(_>r)continue;if(y<i)continue}if(d){if(y>i)continue;if(_<r)continue}f.push(new u.f(new c.a(g,m,g,m),0,new l.a(g,v),0))}if(0===f.length)for(p=0;p<s;p++){g=n+(a?-p:p);var b=t.getLineMaxColumn(g);f.push(new u.f(new c.a(g,b,g,b),0,new l.a(g,b),0))}return{viewStates:f,reversed:a,fromLineNumber:n,fromVisualColumn:i,toLineNumber:o,toVisualColumn:r}},e.columnSelectLeft=function(t,n,i){var o=i.toViewVisualColumn;return o>1&&o--,e.columnSelect(t,n,i.fromViewLineNumber,i.fromViewVisualColumn,i.toViewLineNumber,o)},e.columnSelectRight=function(e,t,n){for(var i=0,o=Math.min(n.fromViewLineNumber,n.toViewLineNumber),r=Math.max(n.fromViewLineNumber,n.toViewLineNumber),s=o;s<=r;s++){var a=t.getLineMaxColumn(s),c=u.a.visibleColumnFromColumn2(e,t,new l.a(s,a));i=Math.max(i,c)}var d=n.toViewVisualColumn;return d<i&&d++,this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,d)},e.columnSelectUp=function(e,t,n,i){var o=i?e.pageSize:1,r=Math.max(1,n.toViewLineNumber-o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)},e.columnSelectDown=function(e,t,n,i){var o=i?e.pageSize:1,r=Math.min(t.getLineCount(),n.toViewLineNumber+o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)},e}(),h=n("snIX"),f=n("+Fos"),p=n("N0LK"),g=n("5v8Y"),m=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=function(){function e(){}return e._createWord=function(e,t,n,i,o){return{start:i,end:o,wordType:t,nextCharClass:n}},e._findPreviousWordOnLine=function(e,t,n){var i=t.getLineContent(n.lineNumber);return this._doFindPreviousWordOnLine(i,e,n)},e._doFindPreviousWordOnLine=function(e,t,n){for(var i=0,o=n.column-2;o>=0;o--){var r=e.charCodeAt(o),s=t.get(r);if(0===s){if(2===i)return this._createWord(e,i,s,o+1,this._findEndOfWord(e,t,i,o+1));i=1}else if(2===s){if(1===i)return this._createWord(e,i,s,o+1,this._findEndOfWord(e,t,i,o+1));i=2}else if(1===s&&0!==i)return this._createWord(e,i,s,o+1,this._findEndOfWord(e,t,i,o+1))}return 0!==i?this._createWord(e,i,1,0,this._findEndOfWord(e,t,i,0)):null},e._findEndOfWord=function(e,t,n,i){for(var o=e.length,r=i;r<o;r++){var s=e.charCodeAt(r),a=t.get(s);if(1===a)return r;if(1===n&&2===a)return r;if(2===n&&0===a)return r}return o},e._findNextWordOnLine=function(e,t,n){var i=t.getLineContent(n.lineNumber);return this._doFindNextWordOnLine(i,e,n)},e._doFindNextWordOnLine=function(e,t,n){for(var i=0,o=e.length,r=n.column-1;r<o;r++){var s=e.charCodeAt(r),a=t.get(s);if(0===a){if(2===i)return this._createWord(e,i,a,this._findStartOfWord(e,t,i,r-1),r);i=1}else if(2===a){if(1===i)return this._createWord(e,i,a,this._findStartOfWord(e,t,i,r-1),r);i=2}else if(1===a&&0!==i)return this._createWord(e,i,a,this._findStartOfWord(e,t,i,r-1),r)}return 0!==i?this._createWord(e,i,1,this._findStartOfWord(e,t,i,o-1),o):null},e._findStartOfWord=function(e,t,n,i){for(var o=i;o>=0;o--){var r=e.charCodeAt(o),s=t.get(r);if(1===s)return o+1;if(1===n&&2===s)return o+1;if(2===n&&0===s)return o+1}return 0},e.moveWordLeft=function(t,n,i,o){var r=i.lineNumber,s=i.column,a=!1;1===s&&r>1&&(a=!0,r-=1,s=n.getLineMaxColumn(r));var u=e._findPreviousWordOnLine(t,n,new l.a(r,s));if(0===o){if(u&&!a)if(n.getLineLastNonWhitespaceColumn(r)<s)return new l.a(r,u.end+1);return new l.a(r,u?u.start+1:1)}if(1===o)return u&&2===u.wordType&&u.end-u.start==1&&0===u.nextCharClass&&(u=e._findPreviousWordOnLine(t,n,new l.a(r,u.start+1))),new l.a(r,u?u.start+1:1);if(3===o){for(;u&&2===u.wordType;)u=e._findPreviousWordOnLine(t,n,new l.a(r,u.start+1));return new l.a(r,u?u.start+1:1)}return u&&s<=u.end+1&&(u=e._findPreviousWordOnLine(t,n,new l.a(r,u.start+1))),new l.a(r,u?u.end+1:1)},e._moveWordPartLeft=function(e,t){var n=t.lineNumber,i=e.getLineMaxColumn(n);if(1===t.column)return n>1?new l.a(n-1,e.getLineMaxColumn(n-1)):t;for(var o=e.getLineContent(n),r=t.column-1;r>1;r--){var s=o.charCodeAt(r-2),a=o.charCodeAt(r-1);if(95!==s&&95===a)return new l.a(n,r);if(p.z(s)&&p.A(a))return new l.a(n,r);if(p.A(s)&&p.A(a)&&r+1<i){var u=o.charCodeAt(r);if(p.z(u))return new l.a(n,r)}}return new l.a(n,1)},e.moveWordRight=function(t,n,i,o){var r=i.lineNumber,s=i.column,a=!1;s===n.getLineMaxColumn(r)&&r<n.getLineCount()&&(a=!0,r+=1,s=1);var u=e._findNextWordOnLine(t,n,new l.a(r,s));if(2===o)u&&2===u.wordType&&u.end-u.start==1&&0===u.nextCharClass&&(u=e._findNextWordOnLine(t,n,new l.a(r,u.end+1))),s=u?u.end+1:n.getLineMaxColumn(r);else if(3===o){for(a&&(s=0);u&&(2===u.wordType||u.start+1<=s);)u=e._findNextWordOnLine(t,n,new l.a(r,u.end+1));s=u?u.start+1:n.getLineMaxColumn(r)}else u&&!a&&s>=u.start+1&&(u=e._findNextWordOnLine(t,n,new l.a(r,u.end+1))),s=u?u.start+1:n.getLineMaxColumn(r);return new l.a(r,s)},e._moveWordPartRight=function(e,t){var n=t.lineNumber,i=e.getLineMaxColumn(n);if(t.column===i)return n<e.getLineCount()?new l.a(n+1,1):t;for(var o=e.getLineContent(n),r=t.column+1;r<i;r++){var s=o.charCodeAt(r-2),a=o.charCodeAt(r-1);if(95===s&&95!==a)return new l.a(n,r);if(p.z(s)&&p.A(a))return new l.a(n,r);if(p.A(s)&&p.A(a)&&r+1<i){var u=o.charCodeAt(r);if(p.z(u))return new l.a(n,r)}}return new l.a(n,i)},e._deleteWordLeftWhitespace=function(e,t){var n=e.getLineContent(t.lineNumber),i=t.column-2,o=p.B(n,i);return o+1<i?new c.a(t.lineNumber,o+2,t.lineNumber,t.column):null},e.deleteWordLeft=function(t,n,i,o,r){if(!i.isEmpty())return i;var s=new l.a(i.positionLineNumber,i.positionColumn),a=s.lineNumber,u=s.column;if(1===a&&1===u)return null;if(o){var d=this._deleteWordLeftWhitespace(n,s);if(d)return d}var h=e._findPreviousWordOnLine(t,n,s);return 0===r?h?u=h.start+1:u>1?u=1:(a--,u=n.getLineMaxColumn(a)):(h&&u<=h.end+1&&(h=e._findPreviousWordOnLine(t,n,new l.a(a,h.start+1))),h?u=h.end+1:u>1?u=1:(a--,u=n.getLineMaxColumn(a))),new c.a(a,u,s.lineNumber,s.column)},e._deleteWordPartLeft=function(t,n){if(!n.isEmpty())return n;var i=n.getPosition(),o=e._moveWordPartLeft(t,i);return new c.a(i.lineNumber,i.column,o.lineNumber,o.column)},e._findFirstNonWhitespaceChar=function(e,t){for(var n=e.length,i=t;i<n;i++){var o=e.charAt(i);if(" "!==o&&"\t"!==o)return i}return n},e._deleteWordRightWhitespace=function(e,t){var n=e.getLineContent(t.lineNumber),i=t.column-1,o=this._findFirstNonWhitespaceChar(n,i);return i+1<o?new c.a(t.lineNumber,t.column,t.lineNumber,o+1):null},e.deleteWordRight=function(t,n,i,o,r){if(!i.isEmpty())return i;var s=new l.a(i.positionLineNumber,i.positionColumn),a=s.lineNumber,u=s.column,d=n.getLineCount(),h=n.getLineMaxColumn(a);if(a===d&&u===h)return null;if(o){var f=this._deleteWordRightWhitespace(n,s);if(f)return f}var p=e._findNextWordOnLine(t,n,s);return 2===r?p?u=p.end+1:u<h||a===d?u=h:(a++,u=(p=e._findNextWordOnLine(t,n,new l.a(a,1)))?p.start+1:n.getLineMaxColumn(a)):(p&&u>=p.start+1&&(p=e._findNextWordOnLine(t,n,new l.a(a,p.end+1))),p?u=p.start+1:u<h||a===d?u=h:(a++,u=(p=e._findNextWordOnLine(t,n,new l.a(a,1)))?p.start+1:n.getLineMaxColumn(a))),new c.a(a,u,s.lineNumber,s.column)},e._deleteWordPartRight=function(t,n){if(!n.isEmpty())return n;var i=n.getPosition(),o=e._moveWordPartRight(t,i);return new c.a(i.lineNumber,i.column,o.lineNumber,o.column)},e.word=function(t,n,i,o,r){var s,a,d,h,f=Object(g.a)(t.wordSeparators),p=e._findPreviousWordOnLine(f,n,r),m=e._findNextWordOnLine(f,n,r);if(!o)return p&&1===p.wordType&&p.start<=r.column-1&&r.column-1<=p.end?(s=p.start+1,a=p.end+1):m&&1===m.wordType&&m.start<=r.column-1&&r.column-1<=m.end?(s=m.start+1,a=m.end+1):(s=p?p.end+1:1,a=m?m.start+1:n.getLineMaxColumn(r.lineNumber)),new u.f(new c.a(r.lineNumber,s,r.lineNumber,a),0,new l.a(r.lineNumber,a),0);p&&1===p.wordType&&p.start<r.column-1&&r.column-1<p.end?(d=p.start+1,h=p.end+1):m&&1===m.wordType&&m.start<r.column-1&&r.column-1<m.end?(d=m.start+1,h=m.end+1):(d=r.column,h=r.column);var v,_=r.lineNumber;if(i.selectionStart.containsPosition(r))v=i.selectionStart.endColumn;else if(r.isBeforeOrEqual(i.selectionStart.getStartPosition())){v=d;var y=new l.a(_,v);i.selectionStart.containsPosition(y)&&(v=i.selectionStart.endColumn)}else{v=h;y=new l.a(_,v);i.selectionStart.containsPosition(y)&&(v=i.selectionStart.startColumn)}return i.move(!0,_,v,0)},e}();!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}m(t,e),t.deleteWordPartLeft=function(e,t,n,i){var o=_([v.deleteWordLeft(e,t,n,i,0),v.deleteWordLeft(e,t,n,i,2),v._deleteWordPartLeft(t,n)]);return o.sort(c.a.compareRangesUsingEnds),o[2]},t.deleteWordPartRight=function(e,t,n,i){var o=_([v.deleteWordRight(e,t,n,i,0),v.deleteWordRight(e,t,n,i,2),v._deleteWordPartRight(t,n)]);return o.sort(c.a.compareRangesUsingStarts),o[0]},t.moveWordPartLeft=function(e,t,n){var i=_([v.moveWordLeft(e,t,n,0),v.moveWordLeft(e,t,n,2),v._moveWordPartLeft(t,n)]);return i.sort(l.a.compare),i[2]},t.moveWordPartRight=function(e,t,n){var i=_([v.moveWordRight(e,t,n,0),v.moveWordRight(e,t,n,2),v._moveWordPartRight(t,n)]);return i.sort(l.a.compare),i[0]}}(v);function _(e){return e.filter((function(e){return Boolean(e)}))}var y,b,C=function(){function e(){}return e.addCursorDown=function(e,t,n){for(var i=[],o=0,r=0,s=t.length;r<s;r++){var a=t[r];i[o++]=new u.d(a.modelState,a.viewState),i[o++]=n?u.d.fromModelState(f.a.translateDown(e.config,e.model,a.modelState)):u.d.fromViewState(f.a.translateDown(e.config,e.viewModel,a.viewState))}return i},e.addCursorUp=function(e,t,n){for(var i=[],o=0,r=0,s=t.length;r<s;r++){var a=t[r];i[o++]=new u.d(a.modelState,a.viewState),i[o++]=n?u.d.fromModelState(f.a.translateUp(e.config,e.model,a.modelState)):u.d.fromViewState(f.a.translateUp(e.config,e.viewModel,a.viewState))}return i},e.moveToBeginningOfLine=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o];i[o]=this._moveToLineStart(e,s,n)}return i},e._moveToLineStart=function(e,t,n){var i=t.viewState.position.column,o=i===t.modelState.position.column,r=t.viewState.position.lineNumber,s=e.viewModel.getLineFirstNonWhitespaceColumn(r);return o||i===s?this._moveToLineStartByModel(e,t,n):this._moveToLineStartByView(e,t,n)},e._moveToLineStartByView=function(e,t,n){return u.d.fromViewState(f.a.moveToBeginningOfLine(e.config,e.viewModel,t.viewState,n))},e._moveToLineStartByModel=function(e,t,n){return u.d.fromModelState(f.a.moveToBeginningOfLine(e.config,e.model,t.modelState,n))},e.moveToEndOfLine=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o];i[o]=this._moveToLineEnd(e,s,n)}return i},e._moveToLineEnd=function(e,t,n){var i=t.viewState.position,o=e.viewModel.getLineMaxColumn(i.lineNumber),r=i.column===o,s=t.modelState.position,a=e.model.getLineMaxColumn(s.lineNumber),u=o-i.column==a-s.column;return r||u?this._moveToLineEndByModel(e,t,n):this._moveToLineEndByView(e,t,n)},e._moveToLineEndByView=function(e,t,n){return u.d.fromViewState(f.a.moveToEndOfLine(e.config,e.viewModel,t.viewState,n))},e._moveToLineEndByModel=function(e,t,n){return u.d.fromModelState(f.a.moveToEndOfLine(e.config,e.model,t.modelState,n))},e.expandLineSelection=function(e,t){for(var n=[],i=0,o=t.length;i<o;i++){var r=t[i],s=r.modelState.selection.startLineNumber,a=e.model.getLineCount(),d=r.modelState.selection.endLineNumber,h=void 0;d===a?h=e.model.getLineMaxColumn(a):(d++,h=1),n[i]=u.d.fromModelState(new u.f(new c.a(s,1,s,1),0,new l.a(d,h),0))}return n},e.moveToBeginningOfBuffer=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o];i[o]=u.d.fromModelState(f.a.moveToBeginningOfBuffer(e.config,e.model,s.modelState,n))}return i},e.moveToEndOfBuffer=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o];i[o]=u.d.fromModelState(f.a.moveToEndOfBuffer(e.config,e.model,s.modelState,n))}return i},e.selectAll=function(e,t){var n=e.model.getLineCount(),i=e.model.getLineMaxColumn(n);return u.d.fromModelState(new u.f(new c.a(1,1,1,1),0,new l.a(n,i),0))},e.line=function(e,t,n,i,o){var r=e.model.validatePosition(i),s=o?e.validateViewPosition(new l.a(o.lineNumber,o.column),r):e.convertModelPositionToViewPosition(r);if(!n||!t.modelState.hasSelection()){var a=e.model.getLineCount(),d=r.lineNumber+1,h=1;return d>a&&(d=a,h=e.model.getLineMaxColumn(d)),u.d.fromModelState(new u.f(new c.a(r.lineNumber,1,d,h),0,new l.a(d,h),0))}var f=t.modelState.selectionStart.getStartPosition().lineNumber;if(r.lineNumber<f)return u.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),s.lineNumber,1,0));if(r.lineNumber>f){a=e.viewModel.getLineCount();var p=s.lineNumber+1,g=1;return p>a&&(p=a,g=e.viewModel.getLineMaxColumn(p)),u.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),p,g,0))}var m=t.modelState.selectionStart.getEndPosition();return u.d.fromModelState(t.modelState.move(t.modelState.hasSelection(),m.lineNumber,m.column,0))},e.word=function(e,t,n,i){var o=e.model.validatePosition(i);return u.d.fromModelState(v.word(e.config,e.model,t.modelState,n,o))},e.cancelSelection=function(e,t){if(!t.modelState.hasSelection())return new u.d(t.modelState,t.viewState);var n=t.viewState.position.lineNumber,i=t.viewState.position.column;return u.d.fromViewState(new u.f(new c.a(n,i,n,i),0,new l.a(n,i),0))},e.moveTo=function(e,t,n,i,o){var r=e.model.validatePosition(i),s=o?e.validateViewPosition(new l.a(o.lineNumber,o.column),r):e.convertModelPositionToViewPosition(r);return u.d.fromViewState(t.viewState.move(n,s.lineNumber,s.column,0))},e.move=function(e,t,n){var i=n.select,o=n.value;switch(n.direction){case 0:return 4===n.unit?this._moveHalfLineLeft(e,t,i):this._moveLeft(e,t,i,o);case 1:return 4===n.unit?this._moveHalfLineRight(e,t,i):this._moveRight(e,t,i,o);case 2:return 2===n.unit?this._moveUpByViewLines(e,t,i,o):this._moveUpByModelLines(e,t,i,o);case 3:return 2===n.unit?this._moveDownByViewLines(e,t,i,o):this._moveDownByModelLines(e,t,i,o);case 4:return this._moveToViewMinColumn(e,t,i);case 5:return this._moveToViewFirstNonWhitespaceColumn(e,t,i);case 6:return this._moveToViewCenterColumn(e,t,i);case 7:return this._moveToViewMaxColumn(e,t,i);case 8:return this._moveToViewLastNonWhitespaceColumn(e,t,i);case 9:var r=t[0],s=e.getCompletelyVisibleModelRange(),a=this._firstLineNumberInRange(e.model,s,o),u=e.model.getLineFirstNonWhitespaceColumn(a);return[this._moveToModelPosition(e,r,i,a,u)];case 11:r=t[0],s=e.getCompletelyVisibleModelRange(),a=this._lastLineNumberInRange(e.model,s,o),u=e.model.getLineFirstNonWhitespaceColumn(a);return[this._moveToModelPosition(e,r,i,a,u)];case 10:r=t[0],s=e.getCompletelyVisibleModelRange(),a=Math.round((s.startLineNumber+s.endLineNumber)/2),u=e.model.getLineFirstNonWhitespaceColumn(a);return[this._moveToModelPosition(e,r,i,a,u)];case 12:for(var l=e.getCompletelyVisibleViewRange(),c=[],d=0,h=t.length;d<h;d++){r=t[d];c[d]=this.findPositionInViewportIfOutside(e,r,l,i)}return c}return null},e.findPositionInViewportIfOutside=function(e,t,n,i){var o=t.viewState.position.lineNumber;if(n.startLineNumber<=o&&o<=n.endLineNumber-1)return new u.d(t.modelState,t.viewState);o>n.endLineNumber-1&&(o=n.endLineNumber-1),o<n.startLineNumber&&(o=n.startLineNumber);var r=e.viewModel.getLineFirstNonWhitespaceColumn(o);return this._moveToViewPosition(e,t,i,o,r)},e._firstLineNumberInRange=function(e,t,n){var i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.min(t.endLineNumber,i+n-1)},e._lastLineNumberInRange=function(e,t,n){var i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.max(i,t.endLineNumber-n+1)},e._moveLeft=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r],l=f.a.moveLeft(e.config,e.viewModel,a.viewState,n,i);if(1===i&&l.position.lineNumber!==a.viewState.position.lineNumber)e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(l.position).lineNumber===a.modelState.position.lineNumber&&(l=f.a.moveLeft(e.config,e.viewModel,l,n,1));o[r]=u.d.fromViewState(l)}return o},e._moveHalfLineLeft=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,l=Math.round(e.viewModel.getLineContent(a).length/2);i[o]=u.d.fromViewState(f.a.moveLeft(e.config,e.viewModel,s.viewState,n,l))}return i},e._moveRight=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r],l=f.a.moveRight(e.config,e.viewModel,a.viewState,n,i);if(1===i&&l.position.lineNumber!==a.viewState.position.lineNumber)e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(l.position).lineNumber===a.modelState.position.lineNumber&&(l=f.a.moveRight(e.config,e.viewModel,l,n,1));o[r]=u.d.fromViewState(l)}return o},e._moveHalfLineRight=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,l=Math.round(e.viewModel.getLineContent(a).length/2);i[o]=u.d.fromViewState(f.a.moveRight(e.config,e.viewModel,s.viewState,n,l))}return i},e._moveDownByViewLines=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r];o[r]=u.d.fromViewState(f.a.moveDown(e.config,e.viewModel,a.viewState,n,i))}return o},e._moveDownByModelLines=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r];o[r]=u.d.fromModelState(f.a.moveDown(e.config,e.model,a.modelState,n,i))}return o},e._moveUpByViewLines=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r];o[r]=u.d.fromViewState(f.a.moveUp(e.config,e.viewModel,a.viewState,n,i))}return o},e._moveUpByModelLines=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r];o[r]=u.d.fromModelState(f.a.moveUp(e.config,e.model,a.modelState,n,i))}return o},e._moveToViewPosition=function(e,t,n,i,o){return u.d.fromViewState(t.viewState.move(n,i,o,0))},e._moveToModelPosition=function(e,t,n,i,o){return u.d.fromModelState(t.modelState.move(n,i,o,0))},e._moveToViewMinColumn=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,u=e.viewModel.getLineMinColumn(a);i[o]=this._moveToViewPosition(e,s,n,a,u)}return i},e._moveToViewFirstNonWhitespaceColumn=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,u=e.viewModel.getLineFirstNonWhitespaceColumn(a);i[o]=this._moveToViewPosition(e,s,n,a,u)}return i},e._moveToViewCenterColumn=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,u=Math.round((e.viewModel.getLineMaxColumn(a)+e.viewModel.getLineMinColumn(a))/2);i[o]=this._moveToViewPosition(e,s,n,a,u)}return i},e._moveToViewMaxColumn=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,u=e.viewModel.getLineMaxColumn(a);i[o]=this._moveToViewPosition(e,s,n,a,u)}return i},e._moveToViewLastNonWhitespaceColumn=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,u=e.viewModel.getLineLastNonWhitespaceColumn(a);i[o]=this._moveToViewPosition(e,s,n,a,u)}return i},e}();(b=y||(y={})).description={description:"Move cursor to a logical position in the view",args:[{name:"Cursor move argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory logical position value providing where to move the cursor.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'left', 'right', 'up', 'down'\n\t\t\t\t\t\t'wrappedLineStart', 'wrappedLineEnd', 'wrappedLineColumnCenter'\n\t\t\t\t\t\t'wrappedLineFirstNonWhitespaceCharacter', 'wrappedLineLastNonWhitespaceCharacter'\n\t\t\t\t\t\t'viewPortTop', 'viewPortCenter', 'viewPortBottom', 'viewPortIfOutside'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'character', 'halfLine'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'select': If 'true' makes the selection. Default is 'false'.\n\t\t\t\t",constraint:function(e){if(!r.i(e))return!1;var t=e;return!(!r.j(t.to)||!r.k(t.select)&&!r.e(t.select)||!r.k(t.by)&&!r.j(t.by)||!r.k(t.value)&&!r.h(t.value))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},b.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},b.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},b.parse=function(e){if(!e.to)return null;var t;switch(e.to){case b.RawDirection.Left:t=0;break;case b.RawDirection.Right:t=1;break;case b.RawDirection.Up:t=2;break;case b.RawDirection.Down:t=3;break;case b.RawDirection.WrappedLineStart:t=4;break;case b.RawDirection.WrappedLineFirstNonWhitespaceCharacter:t=5;break;case b.RawDirection.WrappedLineColumnCenter:t=6;break;case b.RawDirection.WrappedLineEnd:t=7;break;case b.RawDirection.WrappedLineLastNonWhitespaceCharacter:t=8;break;case b.RawDirection.ViewPortTop:t=9;break;case b.RawDirection.ViewPortBottom:t=11;break;case b.RawDirection.ViewPortCenter:t=10;break;case b.RawDirection.ViewPortIfOutside:t=12;break;default:return null}var n=0;switch(e.by){case b.RawUnit.Line:n=1;break;case b.RawUnit.WrappedLine:n=2;break;case b.RawUnit.Character:n=3;break;case b.RawUnit.HalfLine:n=4}return{direction:t,unit:n,select:!!e.select,value:e.value||1}};var w,S,L,N,O,D,x,E,k=n("GR/f"),I=n("iuje"),M=n("wQH0"),T=n("T8No"),A=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=t._getCursors();i&&this.runCoreEditorCommand(i,n||{})},t}(s.c);function P(e){e.register()}(S=w||(w={})).description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory direction value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'up', 'down'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'page', 'halfPage'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n\t\t\t\t",constraint:function(e){if(!r.i(e))return!1;var t=e;return!(!r.j(t.to)||!r.k(t.by)&&!r.j(t.by)||!r.k(t.value)&&!r.h(t.value)||!r.k(t.revealCursor)&&!r.e(t.revealCursor))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},S.RawDirection={Up:"up",Down:"down"},S.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"},S.parse=function(e){var t,n;switch(e.to){case S.RawDirection.Up:t=1;break;case S.RawDirection.Down:t=2;break;default:return null}switch(e.by){case S.RawUnit.Line:n=1;break;case S.RawUnit.WrappedLine:n=2;break;case S.RawUnit.Page:n=3;break;case S.RawUnit.HalfPage:n=4;break;default:n=2}return{direction:t,unit:n,value:Math.floor(e.value||1),revealCursor:!!e.revealCursor,select:!!e.select}},(N=L||(L={})).description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'lineNumber': A mandatory line number value.\n\t\t\t\t\t* 'at': Logical position at which line has to be revealed .\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'top', 'center', 'bottom'\n\t\t\t\t\t\t```\n\t\t\t\t",constraint:function(e){if(!r.i(e))return!1;var t=e;return!(!r.h(t.lineNumber)||!r.k(t.at)&&!r.j(t.at))},schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:"number"},at:{type:"string",enum:["top","center","bottom"]}}}}]},N.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"},function(e){var t=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.moveTo(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position,t.viewPosition)]),e.reveal(t.source,!0,0,0)},t}(R);e.MoveTo=Object(s.f)(new t({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),e.MoveToSelect=Object(s.f)(new t({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement();var n=this._getColumnSelectResult(e.context,e.getPrimaryCursor(),e.getColumnSelectData(),t);e.setStates(t.source,3,n.viewStates.map((function(e){return u.d.fromViewState(e)}))),e.setColumnSelectData({isReal:!0,fromViewLineNumber:n.fromLineNumber,fromViewVisualColumn:n.fromVisualColumn,toViewLineNumber:n.toLineNumber,toViewVisualColumn:n.toVisualColumn}),e.reveal(t.source,!0,n.reversed?1:2,0)},t}(R);e.ColumnSelect=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"columnSelect",precondition:void 0})||this}return A(t,e),t.prototype._getColumnSelectResult=function(e,t,n,i){var o=e.model.validatePosition(i.position),r=e.validateViewPosition(new l.a(i.viewPosition.lineNumber,i.viewPosition.column),o),s=i.doColumnSelect?n.fromViewLineNumber:r.lineNumber,a=i.doColumnSelect?n.fromViewVisualColumn:i.mouseColumn-1;return d.columnSelect(e.config,e.viewModel,s,a,r.lineNumber,i.mouseColumn-1)},t}(n))),e.CursorColumnSelectLeft=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3599,linux:{primary:0}}})||this}return A(t,e),t.prototype._getColumnSelectResult=function(e,t,n,i){return d.columnSelectLeft(e.config,e.viewModel,n)},t}(n))),e.CursorColumnSelectRight=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3601,linux:{primary:0}}})||this}return A(t,e),t.prototype._getColumnSelectResult=function(e,t,n,i){return d.columnSelectRight(e.config,e.viewModel,n)},t}(n)));var i=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaged=t.isPaged,n}return A(t,e),t.prototype._getColumnSelectResult=function(e,t,n,i){return d.columnSelectUp(e.config,e.viewModel,n,this._isPaged)},t}(n);e.CursorColumnSelectUp=Object(s.f)(new i({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3600,linux:{primary:0}}})),e.CursorColumnSelectPageUp=Object(s.f)(new i({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3595,linux:{primary:0}}}));var o=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaged=t.isPaged,n}return A(t,e),t.prototype._getColumnSelectResult=function(e,t,n,i){return d.columnSelectDown(e.config,e.viewModel,n,this._isPaged)},t}(n);e.CursorColumnSelectDown=Object(s.f)(new o({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3602,linux:{primary:0}}})),e.CursorColumnSelectPageDown=Object(s.f)(new o({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3596,linux:{primary:0}}}));var r=function(e){function t(){return e.call(this,{id:"cursorMove",precondition:void 0,description:y.description})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=y.parse(t);n&&this._runCursorMove(e,t.source,n)},t.prototype._runCursorMove=function(e,t,n){e.context.model.pushStackElement(),e.setStates(t,3,C.move(e.context,e.getAll(),n)),e.reveal(t,!0,0,0)},t}(R);e.CursorMoveImpl=r,e.CursorMove=Object(s.f)(new r);var a=function(t){function n(e){var n=t.call(this,e)||this;return n._staticArgs=e.args,n}return A(n,t),n.prototype.runCoreEditorCommand=function(t,n){var i=this._staticArgs;-1===this._staticArgs.value&&(i={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:t.context.config.pageSize}),e.CursorMove._runCursorMove(t,n.source,i)},n}(R);e.CursorLeft=Object(s.f)(new a({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),e.CursorLeftSelect=Object(s.f)(new a({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1039}})),e.CursorRight=Object(s.f)(new a({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),e.CursorRightSelect=Object(s.f)(new a({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1041}})),e.CursorUp=Object(s.f)(new a({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),e.CursorUpSelect=Object(s.f)(new a({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),e.CursorPageUp=Object(s.f)(new a({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:11}})),e.CursorPageUpSelect=Object(s.f)(new a({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1035}})),e.CursorDown=Object(s.f)(new a({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),e.CursorDownSelect=Object(s.f)(new a({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),e.CursorPageDown=Object(s.f)(new a({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:12}})),e.CursorPageDownSelect=Object(s.f)(new a({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1036}})),e.CreateCursor=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"createCursor",precondition:void 0})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n,i=e.context;n=t.wholeLine?C.line(i,e.getPrimaryCursor(),!1,t.position,t.viewPosition):C.moveTo(i,e.getPrimaryCursor(),!1,t.position,t.viewPosition);var o=e.getAll();if(o.length>1)for(var r=n.modelState?n.modelState.position:null,s=n.viewState?n.viewState.position:null,a=0,u=o.length;a<u;a++){var l=o[a];if((!r||l.modelState.selection.containsPosition(r))&&(!s||l.viewState.selection.containsPosition(s)))return o.splice(a,1),e.context.model.pushStackElement(),void e.setStates(t.source,3,o)}o.push(n),e.context.model.pushStackElement(),e.setStates(t.source,3,o)},t}(R))),e.LastCursorMoveToSelect=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"_lastCursorMoveToSelect",precondition:void 0})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=e.context,i=e.getLastAddedCursorIndex(),o=e.getAll(),r=o.slice(0);r[i]=C.moveTo(n,o[i],!0,t.position,t.viewPosition),e.context.model.pushStackElement(),e.setStates(t.source,3,r)},t}(R)));var h=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,C.moveToBeginningOfLine(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(R);e.CursorHome=Object(s.f)(new h({inSelectionMode:!1,id:"cursorHome",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),e.CursorHomeSelect=Object(s.f)(new h({inSelectionMode:!0,id:"cursorHomeSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}})),e.CursorLineStart=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"cursorLineStart",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:0,mac:{primary:287}}})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,this._exec(e.context,e.getAll())),e.reveal(t.source,!0,0,0)},t.prototype._exec=function(e,t){for(var n=[],i=0,o=t.length;i<o;i++){var r=t[i],s=r.modelState.position.lineNumber;n[i]=u.d.fromModelState(r.modelState.move(!1,s,1,0))}return n},t}(R)));var f=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,C.moveToEndOfLine(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(R);e.CursorEnd=Object(s.f)(new f({inSelectionMode:!1,id:"cursorEnd",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}}})),e.CursorEndSelect=Object(s.f)(new f({inSelectionMode:!0,id:"cursorEndSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}}})),e.CursorLineEnd=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"cursorLineEnd",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:0,mac:{primary:291}}})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,this._exec(e.context,e.getAll())),e.reveal(t.source,!0,0,0)},t.prototype._exec=function(e,t){for(var n=[],i=0,o=t.length;i<o;i++){var r=t[i],s=r.modelState.position.lineNumber,a=e.model.getLineMaxColumn(s);n[i]=u.d.fromModelState(r.modelState.move(!1,s,a,0))}return n},t}(R)));var p=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,C.moveToBeginningOfBuffer(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(R);e.CursorTop=Object(s.f)(new p({inSelectionMode:!1,id:"cursorTop",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2062,mac:{primary:2064}}})),e.CursorTopSelect=Object(s.f)(new p({inSelectionMode:!0,id:"cursorTopSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3086,mac:{primary:3088}}}));var g=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,C.moveToEndOfBuffer(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(R);e.CursorBottom=Object(s.f)(new g({inSelectionMode:!1,id:"cursorBottom",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2061,mac:{primary:2066}}})),e.CursorBottomSelect=Object(s.f)(new g({inSelectionMode:!0,id:"cursorBottomSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3085,mac:{primary:3090}}}));var m=function(e){function t(){return e.call(this,{id:"editorScroll",precondition:void 0,description:w.description})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=w.parse(t);n&&this._runEditorScroll(e,t.source,n)},t.prototype._runEditorScroll=function(e,t,n){var i=this._computeDesiredScrollTop(e.context,n);if(n.revealCursor){var o=e.context.getCompletelyVisibleViewRangeAtScrollTop(i);e.setStates(t,3,[C.findPositionInViewportIfOutside(e.context,e.getPrimaryCursor(),o,n.select)])}e.scrollTo(i)},t.prototype._computeDesiredScrollTop=function(e,t){if(1===t.unit){var n=e.getCompletelyVisibleModelRange(),i=void 0;i=1===t.direction?Math.max(1,n.startLineNumber-t.value):Math.min(e.model.getLineCount(),n.startLineNumber+t.value);var o=e.convertModelPositionToViewPosition(new l.a(i,1));return e.getVerticalOffsetForViewLine(o.lineNumber)}var r;r=3===t.unit?e.config.pageSize*t.value:4===t.unit?Math.round(e.config.pageSize/2)*t.value:t.value;var s=(1===t.direction?-1:1)*r;return e.getCurrentScrollTop()+s*e.config.lineHeight},t}(R);e.EditorScrollImpl=m,e.EditorScroll=Object(s.f)(new m),e.ScrollLineUp=Object(s.f)(new(function(t){function n(){return t.call(this,{id:"scrollLineUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2064,mac:{primary:267}}})||this}return A(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})},n}(R))),e.ScrollPageUp=Object(s.f)(new(function(t){function n(){return t.call(this,{id:"scrollPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})||this}return A(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})},n}(R))),e.ScrollLineDown=Object(s.f)(new(function(t){function n(){return t.call(this,{id:"scrollLineDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2066,mac:{primary:268}}})||this}return A(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})},n}(R))),e.ScrollPageDown=Object(s.f)(new(function(t){function n(){return t.call(this,{id:"scrollPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})||this}return A(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})},n}(R)));var v=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.word(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position)]),e.reveal(t.source,!0,0,0)},t}(R);e.WordSelect=Object(s.f)(new v({inSelectionMode:!1,id:"_wordSelect",precondition:void 0})),e.WordSelectDrag=Object(s.f)(new v({inSelectionMode:!0,id:"_wordSelectDrag",precondition:void 0})),e.LastCursorWordSelect=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"lastCursorWordSelect",precondition:void 0})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=e.context,i=e.getLastAddedCursorIndex(),o=e.getAll(),r=o.slice(0),s=o[i];r[i]=C.word(n,s,s.modelState.hasSelection(),t.position),n.model.pushStackElement(),e.setStates(t.source,3,r)},t}(R)));var _=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.line(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position,t.viewPosition)]),e.reveal(t.source,!1,0,0)},t}(R);e.LineSelect=Object(s.f)(new _({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),e.LineSelectDrag=Object(s.f)(new _({inSelectionMode:!0,id:"_lineSelectDrag",precondition:void 0}));var b=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=e.getLastAddedCursorIndex(),i=e.getAll(),o=i.slice(0);o[n]=C.line(e.context,i[n],this._inSelectionMode,t.position,t.viewPosition),e.context.model.pushStackElement(),e.setStates(t.source,3,o)},t}(R);e.LastCursorLineSelect=Object(s.f)(new b({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:void 0})),e.LastCursorLineSelectDrag=Object(s.f)(new b({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:void 0})),e.ExpandLineSelection=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"expandLineSelection",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2090}})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,C.expandLineSelection(e.context,e.getAll())),e.reveal(t.source,!0,0,0)},t}(R))),e.CancelSelection=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"cancelSelection",precondition:M.a.hasNonEmptySelection,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:9,secondary:[1033]}})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.cancelSelection(e.context,e.getPrimaryCursor())]),e.reveal(t.source,!0,0,0)},t}(R))),e.RemoveSecondaryCursors=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"removeSecondaryCursors",precondition:M.a.hasMultipleSelections,kbOpts:{weight:1,kbExpr:M.a.textInputFocus,primary:9,secondary:[1033]}})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[e.getPrimaryCursor()]),e.reveal(t.source,!0,0,0)},t}(R))),e.RevealLine=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"revealLine",precondition:void 0,description:L.description})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=t,i=(n.lineNumber||0)+1;i<1&&(i=1);var o=e.context.model.getLineCount();i>o&&(i=o);var r=new c.a(i,1,i,e.context.model.getLineMaxColumn(i)),s=0;if(n.at)switch(n.at){case L.RawAtArgument.Top:s=3;break;case L.RawAtArgument.Center:s=1;break;case L.RawAtArgument.Bottom:s=4}var a=e.context.convertModelRangeToViewRange(r);e.revealRange(t.source,!1,a,s,0)},t}(R))),e.SelectAll=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"selectAll",precondition:void 0})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.selectAll(e.context,e.getPrimaryCursor())])},t}(R))),e.SetSelection=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"setSelection",precondition:void 0})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[u.d.fromModelSelection(t.selection)])},t}(R)))}(O||(O={})),x=D||(D={}),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=t._getCursors();i&&this.runCoreEditingCommand(t,i,n||{})},t}(s.c),x.CoreEditingCommand=E,x.LineBreakInsert=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"lineBreakInsert",precondition:M.a.writable,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:0,mac:{primary:301}}})||this}return A(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,k.a.lineBreakInsert(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))))},t}(E))),x.Outdent=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"outdent",precondition:M.a.writable,kbOpts:{weight:0,kbExpr:T.a.and(M.a.editorTextFocus,M.a.tabDoesNotMoveFocus),primary:1026}})||this}return A(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,k.a.outdent(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(E))),x.Tab=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"tab",precondition:M.a.writable,kbOpts:{weight:0,kbExpr:T.a.and(M.a.editorTextFocus,M.a.tabDoesNotMoveFocus),primary:2}})||this}return A(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,k.a.tab(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(E))),x.DeleteLeft=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"deleteLeft",precondition:M.a.writable,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})||this}return A(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var i=h.a.deleteLeft(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),o=i[0],r=i[1];o&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(2)},t}(E))),x.DeleteRight=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"deleteRight",precondition:M.a.writable,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})||this}return A(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var i=h.a.deleteRight(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),o=i[0],r=i[1];o&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(3)},t}(E)));var F=function(e){function t(t){var n=e.call(this,t)||this;return n._editorHandler=t.editorHandler,n._inputHandler=t.inputHandler,n}return A(t,e),t.prototype.runCommand=function(e,t){var n=e.get(a.a).getFocusedCodeEditor();if(n&&n.hasTextFocus())return this._runEditorHandler(e,n,t);var i=document.activeElement;if(!(i&&["input","textarea"].indexOf(i.tagName.toLowerCase())>=0)){var o=e.get(a.a).getActiveCodeEditor();return o?(o.focus(),this._runEditorHandler(e,o,t)):void 0}document.execCommand(this._inputHandler)},t.prototype._runEditorHandler=function(e,t,n){var i=this._editorHandler;"string"==typeof i?t.trigger("keyboard",i,n):((n=n||{}).source="keyboard",i.runEditorCommand(e,t,n))},t}(s.a),V=function(e){function t(t,n,i){var o=e.call(this,{id:t,precondition:void 0,description:i})||this;return o._handlerId=n,o}return A(t,e),t.prototype.runCommand=function(e,t){var n=e.get(a.a).getFocusedCodeEditor();n&&n.trigger("keyboard",this._handlerId,t)},t}(s.a);function W(e,t){P(new V("default:"+e,e)),P(new V(e,e,t))}P(new F({editorHandler:O.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:M.a.textInputFocus,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:{menuId:25,group:"1_basic",title:o.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1}})),P(new F({editorHandler:I.b.Undo,inputHandler:"undo",id:I.b.Undo,precondition:M.a.writable,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2104},menuOpts:{menuId:17,group:"1_do",title:o.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),P(new V("default:"+I.b.Undo,I.b.Undo)),P(new F({editorHandler:I.b.Redo,inputHandler:"redo",id:I.b.Redo,precondition:M.a.writable,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:{menuId:17,group:"1_do",title:o.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2}})),P(new V("default:"+I.b.Redo,I.b.Redo)),W(I.b.Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),W(I.b.ReplacePreviousChar),W(I.b.CompositionStart),W(I.b.CompositionEnd),W(I.b.Paste),W(I.b.Cut)},"23p7":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return n.e(142).then(n.bind(null,"aA7r"))}})},"24hK":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("JYp7"),o=function(){function e(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),r=function(){function e(){this._first=o.Undefined,this._last=o.Undefined,this._size=0}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this._first===o.Undefined},e.prototype.clear=function(){this._first=o.Undefined,this._last=o.Undefined,this._size=0},e.prototype.unshift=function(e){return this._insert(e,!1)},e.prototype.push=function(e){return this._insert(e,!0)},e.prototype._insert=function(e,t){var n=this,i=new o(e);if(this._first===o.Undefined)this._first=i,this._last=i;else if(t){var r=this._last;this._last=i,i.prev=r,r.next=i}else{var s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;var a=!1;return function(){a||(a=!0,n._remove(i))}},e.prototype.shift=function(){if(this._first!==o.Undefined){var e=this._first.element;return this._remove(this._first),e}},e.prototype.pop=function(){if(this._last!==o.Undefined){var e=this._last.element;return this._remove(this._last),e}},e.prototype._remove=function(e){if(e.prev!==o.Undefined&&e.next!==o.Undefined){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===o.Undefined&&e.next===o.Undefined?(this._first=o.Undefined,this._last=o.Undefined):e.next===o.Undefined?(this._last=this._last.prev,this._last.next=o.Undefined):e.prev===o.Undefined&&(this._first=this._first.next,this._first.prev=o.Undefined);this._size-=1},e.prototype.iterator=function(){var e,t=this._first;return{next:function(){return t===o.Undefined?i.b:(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e)}}},e.prototype.toArray=function(){for(var e=[],t=this._first;t!==o.Undefined;t=t.next)e.push(t.element);return e},e}()},"2MPD":function(e,t,n){},"2Tsy":function(e,t,n){},"2V9f":function(e,t,n){},"3/fG":function(e,t,n){"use strict";function i(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e}))}function o(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return i(t,n)}n.d(t,"a",(function(){return o}))},"3Rsk":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("ic2d"),o=n("MI8n"),r={JSONContribution:"base.contributions.json"};var s=new(function(){function e(){this._onDidChangeSchema=new o.a,this.schemasById={}}return e.prototype.registerSchema=function(e,t){var n;this.schemasById[(n=e,n.length>0&&"#"===n.charAt(n.length-1)?n.substring(0,n.length-1):n)]=t,this._onDidChangeSchema.fire(e)},e.prototype.notifySchemaChanged=function(e){this._onDidChangeSchema.fire(e)},e}());i.a.add(r.JSONContribution,s)},"4bUh":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("twdY"),o=function(){function e(e,t){this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t}return e.prototype.equals=function(t){return t instanceof e&&this.slicedEquals(t,0,this._tokensCount)},e.prototype.slicedEquals=function(e,t,n){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;for(var i=t<<1,o=i+(n<<1),r=i;r<o;r++)if(this._tokens[r]!==e._tokens[r])return!1;return!0},e.prototype.getLineContent=function(){return this._text},e.prototype.getCount=function(){return this._tokensCount},e.prototype.getStartOffset=function(e){return e>0?this._tokens[e-1<<1]:0},e.prototype.getMetadata=function(e){return this._tokens[1+(e<<1)]},e.prototype.getLanguageId=function(e){var t=this._tokens[1+(e<<1)];return i.x.getLanguageId(t)},e.prototype.getStandardTokenType=function(e){var t=this._tokens[1+(e<<1)];return i.x.getTokenType(t)},e.prototype.getForeground=function(e){var t=this._tokens[1+(e<<1)];return i.x.getForeground(t)},e.prototype.getClassName=function(e){var t=this._tokens[1+(e<<1)];return i.x.getClassNameFromMetadata(t)},e.prototype.getInlineStyle=function(e,t){var n=this._tokens[1+(e<<1)];return i.x.getInlineStyleFromMetadata(n,t)},e.prototype.getEndOffset=function(e){return this._tokens[e<<1]},e.prototype.findTokenIndexAtOffset=function(t){return e.findIndexInTokensArray(this._tokens,t)},e.prototype.inflate=function(){return this},e.prototype.sliceAndInflate=function(e,t,n){return new r(this,e,t,n)},e.convertToEndOffset=function(e,t){for(var n=(e.length>>>1)-1,i=0;i<n;i++)e[i<<1]=e[i+1<<1];e[n<<1]=t},e.findIndexInTokensArray=function(e,t){if(e.length<=2)return 0;for(var n=0,i=(e.length>>>1)-1;n<i;){var o=n+Math.floor((i-n)/2),r=e[o<<1];if(r===t)return o+1;r<t?n=o+1:r>t&&(i=o)}return n},e}(),r=function(){function e(e,t,n,i){this._source=e,this._startOffset=t,this._endOffset=n,this._deltaOffset=i,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(var o=this._firstTokenIndex,r=e.getCount();o<r;o++){if(e.getStartOffset(o)>=n)break;this._tokensCount++}}return e.prototype.equals=function(t){return t instanceof e&&(this._startOffset===t._startOffset&&this._endOffset===t._endOffset&&this._deltaOffset===t._deltaOffset&&this._source.slicedEquals(t._source,this._firstTokenIndex,this._tokensCount))},e.prototype.getCount=function(){return this._tokensCount},e.prototype.getForeground=function(e){return this._source.getForeground(this._firstTokenIndex+e)},e.prototype.getEndOffset=function(e){var t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset},e.prototype.getClassName=function(e){return this._source.getClassName(this._firstTokenIndex+e)},e.prototype.getInlineStyle=function(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)},e.prototype.findTokenIndexAtOffset=function(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex},e}()},"4rho":function(e,t,n){},"4y0V":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("MI8n"),o=function(e,t,n){var o=function(e){return r.fire(e)},r=new i.a({onFirstListenerAdd:function(){e.addEventListener(t,o,n)},onLastListenerRemove:function(){e.removeEventListener(t,o,n)}});return r.event}},"51f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=!1,o=null;function r(e){if(!e.parent||e.parent===e)return null;try{var t=e.location,n=e.parent.location;if(t.protocol!==n.protocol||t.hostname!==n.hostname||t.port!==n.port)return i=!0,null}catch(e){return i=!0,null}return e.parent}function s(e,t){for(var n,i=e.document.getElementsByTagName("iframe"),o=0,r=i.length;o<r;o++)if((n=i[o]).contentWindow===t)return n;return null}var a=function(){function e(){}return e.getSameOriginWindowChain=function(){if(!o){o=[];var e,t=window;do{(e=r(t))?o.push({window:t,iframeElement:s(e,t)}):o.push({window:t,iframeElement:null}),t=e}while(t)}return o.slice(0)},e.hasDifferentOriginAncestor=function(){return o||this.getSameOriginWindowChain(),i},e.getPositionOfChildWindowRelativeToAncestorWindow=function(e,t){if(!t||e===t)return{top:0,left:0};for(var n=0,i=0,o=0,r=this.getSameOriginWindowChain();o<r.length;o++){var s=r[o];if(s.window===t)break;if(!s.iframeElement)break;var a=s.iframeElement.getBoundingClientRect();n+=a.top,i+=a.left}return{top:n,left:i}},e}()},"5Y4S":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("MNsG"),o=i.b.performance&&"function"==typeof i.b.performance.now,r=function(){function e(e){this._highResolution=o&&e,this._startTime=this._now(),this._stopTime=-1}return e.create=function(t){return void 0===t&&(t=!0),new e(t)},e.prototype.stop=function(){this._stopTime=this._now()},e.prototype.elapsed=function(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime},e.prototype._now=function(){return this._highResolution?i.b.performance.now():(new Date).getTime()},e}()},"5v8Y":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i,o=n("MXAL"),r=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(t){for(var n=e.call(this,0)||this,i=0,o=t.length;i<o;i++)n.set(t.charCodeAt(i),2);return n.set(32,1),n.set(9,1),n}return r(t,e),t}(o.a);var a,u,l=(a=function(e){return new s(e)},u={},function(e){return u.hasOwnProperty(e)||(u[e]=a(e)),u[e]})},"6OMU":function(e,t,n){"use strict";function i(e,t){return void 0===t&&(t=0),e[e.length-(1+t)]}function o(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function r(e,t,n){if(void 0===n&&(n=function(e,t){return e===t}),e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var i=0,o=e.length;i<o;i++)if(!n(e[i],t[i]))return!1;return!0}function s(e,t,n){for(var i=0,o=e.length-1;i<=o;){var r=(i+o)/2|0,s=n(e[r],t);if(s<0)i=r+1;else{if(!(s>0))return r;o=r-1}}return-(i+1)}function a(e,t){return function e(t,n,i,o,r){if(o<=i)return;var s=i+(o-i)/2|0;if(e(t,n,i,s,r),e(t,n,s+1,o,r),n(t[s],t[s+1])<=0)return;!function(e,t,n,i,o,r){for(var s=n,a=i+1,u=n;u<=o;u++)r[u]=e[u];for(u=n;u<=o;u++)s>i?e[u]=r[a++]:a>o?e[u]=r[s++]:t(r[a],r[s])<0?e[u]=r[a++]:e[u]=r[s++]}(t,n,i,s,o,r)}(e,t,0,e.length-1,[]),e}function u(e){return e.filter((function(e){return!!e}))}function l(e){return!Array.isArray(e)||0===e.length}function c(e){return Array.isArray(e)&&e.length>0}function d(e,t){if(!t)return e.filter((function(t,n){return e.indexOf(t)===n}));var n=Object.create(null);return e.filter((function(e){var i=t(e);return!n[i]&&(n[i]=!0,!0)}))}function h(e){var t=new Set;return e.filter((function(e){return!t.has(e)&&(t.add(e),!0)}))}function f(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function p(e,t){for(var n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function g(e,t,n){void 0===n&&(n=void 0);var i=p(e,t);return i<0?n:e[i]}function m(e,t){return e.length>0?e[0]:t}function v(e){var t;return(t=[]).concat.apply(t,e)}function _(e,t){var n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);var i=[];if(n<=t)for(var o=n;o<t;o++)i.push(o);else for(o=n;o>t;o--)i.push(o);return i}function y(e,t,n){var i=e.slice(0,t),o=e.slice(t);return i.concat(n,o)}n.d(t,"p",(function(){return i})),n.d(t,"q",(function(){return o})),n.d(t,"f",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"n",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"l",(function(){return l})),n.d(t,"m",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"g",(function(){return g})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return v})),n.d(t,"o",(function(){return _})),n.d(t,"a",(function(){return y}))},"746U":function(e,t,n){"use strict";n.d(t,"d",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"i",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return p})),n.d(t,"a",(function(){return g})),n.d(t,"f",(function(){return v})),n.d(t,"g",(function(){return _})),n.d(t,"m",(function(){return y})),n.d(t,"c",(function(){return C})),n.d(t,"b",(function(){return w})),n.d(t,"n",(function(){return S})),n.d(t,"o",(function(){return L}));var i="number",o="string",r="undefined",s="object",a="function";function u(e){return Array.isArray?Array.isArray(e):!(!e||typeof e.length!==i||e.constructor!==Array)}function l(e){return typeof e===o||e instanceof String}function c(e){return!(typeof e!==s||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function d(e){return(typeof e===i||e instanceof Number)&&!isNaN(e)}function h(e){return!0===e||!1===e}function f(e){return typeof e===r}function p(e){return f(e)||null===e}function g(e,t){if(!e)throw new Error(t?"Unexpected type, expected '"+t+"'":"Unexpected type")}var m=Object.prototype.hasOwnProperty;function v(e){if(!c(e))return!1;for(var t in e)if(m.call(e,t))return!1;return!0}function _(e){return typeof e===a}function y(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i++)b(e[i],t[i])}function b(e,t){if(l(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(_(t)){try{if(e instanceof t)return}catch(e){}if(!p(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function C(e){for(var t=[],n=0,i=function(e){for(var t=[],n=Object.getPrototypeOf(e);Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e);n<i.length;n++){var o=i[n];"function"==typeof e[o]&&t.push(o)}return t}function w(e,t){for(var n=function(e){return function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)}},i={},o=0,r=e;o<r.length;o++){var s=r[o];i[s]=n(s)}return i}function S(e){return null===e?void 0:e}function L(e){return void 0===e?null:e}},"7zd4":function(e,t,n){},"8HAY":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var i,o=n("pmY6"),r=n("MI8n"),s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},u=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},l=function(e){function t(t,n,i,o,s){void 0===n&&(n=""),void 0===i&&(i=""),void 0===o&&(o=!0);var a=e.call(this)||this;return a._onDidChange=a._register(new r.a),a.onDidChange=a._onDidChange.event,a._enabled=!0,a._checked=!1,a._id=t,a._label=n,a._cssClass=i,a._enabled=o,a._actionCallback=s,a}return s(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this._label},set:function(e){this._setLabel(e)},enumerable:!0,configurable:!0}),t.prototype._setLabel=function(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))},Object.defineProperty(t.prototype,"tooltip",{get:function(){return this._tooltip||""},set:function(e){this._setTooltip(e)},enumerable:!0,configurable:!0}),t.prototype._setTooltip=function(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))},Object.defineProperty(t.prototype,"class",{get:function(){return this._cssClass},set:function(e){this._setClass(e)},enumerable:!0,configurable:!0}),t.prototype._setClass=function(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))},Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._setEnabled(e)},enumerable:!0,configurable:!0}),t.prototype._setEnabled=function(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))},Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(e){this._setChecked(e)},enumerable:!0,configurable:!0}),t.prototype._setChecked=function(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))},t.prototype.run=function(e,t){return this._actionCallback?this._actionCallback(e):Promise.resolve(!0)},t}(o.a),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onDidBeforeRun=t._register(new r.a),t.onDidBeforeRun=t._onDidBeforeRun.event,t._onDidRun=t._register(new r.a),t.onDidRun=t._onDidRun.event,t}return s(t,e),t.prototype.run=function(e,t){return a(this,void 0,void 0,(function(){var n,i;return u(this,(function(o){switch(o.label){case 0:if(!e.enabled)return[2,Promise.resolve(null)];this._onDidBeforeRun.fire({action:e}),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.runAction(e,t)];case 2:return n=o.sent(),this._onDidRun.fire({action:e,result:n}),[3,4];case 3:return i=o.sent(),this._onDidRun.fire({action:e,error:i}),[3,4];case 4:return[2]}}))}))},t.prototype.runAction=function(e,t){var n=t?e.run(t):e.run();return Promise.resolve(n)},t}(o.a)},"8gvo":function(e,t,n){},"8z58":function(e,t,n){"use strict";n.r(t),n.d(t,"CancellationTokenSource",(function(){return k_})),n.d(t,"Emitter",(function(){return I_})),n.d(t,"KeyCode",(function(){return M_})),n.d(t,"KeyMod",(function(){return T_})),n.d(t,"Position",(function(){return A_})),n.d(t,"Range",(function(){return R_})),n.d(t,"Selection",(function(){return P_})),n.d(t,"SelectionDirection",(function(){return F_})),n.d(t,"MarkerSeverity",(function(){return V_})),n.d(t,"MarkerTag",(function(){return W_})),n.d(t,"Uri",(function(){return B_})),n.d(t,"Token",(function(){return j_})),n.d(t,"editor",(function(){return H_})),n.d(t,"languages",(function(){return z_}));var i,o,r,s,a,u,l,c,d,h,f,p,g,m,v,_,y,b,C,w,S,L,N,O,D,x,E,k,I,M,T,A,R,P,F=n("/UlZ"),V=(n("URDS"),n("JQT/")),W=n("MI8n"),B=n("/kV6"),j=n("bY76"),H=n("cGHE"),z=n("aokT"),U=n("gCVg"),K=n("Tcc1");!function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(i||(i={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(o||(o={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.Snippet=25]="Snippet"}(r||(r={})),function(e){e[e.Deprecated=1]="Deprecated"}(s||(s={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(a||(a={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(u||(u={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(l||(l={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(c||(c={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(d||(d={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(h||(h={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.comments=13]="comments",e[e.contextmenu=14]="contextmenu",e[e.copyWithSyntaxHighlighting=15]="copyWithSyntaxHighlighting",e[e.cursorBlinking=16]="cursorBlinking",e[e.cursorSmoothCaretAnimation=17]="cursorSmoothCaretAnimation",e[e.cursorStyle=18]="cursorStyle",e[e.cursorSurroundingLines=19]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=20]="cursorSurroundingLinesStyle",e[e.cursorWidth=21]="cursorWidth",e[e.disableLayerHinting=22]="disableLayerHinting",e[e.disableMonospaceOptimizations=23]="disableMonospaceOptimizations",e[e.dragAndDrop=24]="dragAndDrop",e[e.emptySelectionClipboard=25]="emptySelectionClipboard",e[e.extraEditorClassName=26]="extraEditorClassName",e[e.fastScrollSensitivity=27]="fastScrollSensitivity",e[e.find=28]="find",e[e.fixedOverflowWidgets=29]="fixedOverflowWidgets",e[e.folding=30]="folding",e[e.foldingStrategy=31]="foldingStrategy",e[e.foldingHighlight=32]="foldingHighlight",e[e.fontFamily=33]="fontFamily",e[e.fontInfo=34]="fontInfo",e[e.fontLigatures=35]="fontLigatures",e[e.fontSize=36]="fontSize",e[e.fontWeight=37]="fontWeight",e[e.formatOnPaste=38]="formatOnPaste",e[e.formatOnType=39]="formatOnType",e[e.glyphMargin=40]="glyphMargin",e[e.gotoLocation=41]="gotoLocation",e[e.hideCursorInOverviewRuler=42]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=43]="highlightActiveIndentGuide",e[e.hover=44]="hover",e[e.inDiffEditor=45]="inDiffEditor",e[e.letterSpacing=46]="letterSpacing",e[e.lightbulb=47]="lightbulb",e[e.lineDecorationsWidth=48]="lineDecorationsWidth",e[e.lineHeight=49]="lineHeight",e[e.lineNumbers=50]="lineNumbers",e[e.lineNumbersMinChars=51]="lineNumbersMinChars",e[e.links=52]="links",e[e.matchBrackets=53]="matchBrackets",e[e.minimap=54]="minimap",e[e.mouseStyle=55]="mouseStyle",e[e.mouseWheelScrollSensitivity=56]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=57]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=58]="multiCursorMergeOverlapping",e[e.multiCursorModifier=59]="multiCursorModifier",e[e.multiCursorPaste=60]="multiCursorPaste",e[e.occurrencesHighlight=61]="occurrencesHighlight",e[e.overviewRulerBorder=62]="overviewRulerBorder",e[e.overviewRulerLanes=63]="overviewRulerLanes",e[e.parameterHints=64]="parameterHints",e[e.peekWidgetDefaultFocus=65]="peekWidgetDefaultFocus",e[e.quickSuggestions=66]="quickSuggestions",e[e.quickSuggestionsDelay=67]="quickSuggestionsDelay",e[e.readOnly=68]="readOnly",e[e.renderControlCharacters=69]="renderControlCharacters",e[e.renderIndentGuides=70]="renderIndentGuides",e[e.renderFinalNewline=71]="renderFinalNewline",e[e.renderLineHighlight=72]="renderLineHighlight",e[e.renderValidationDecorations=73]="renderValidationDecorations",e[e.renderWhitespace=74]="renderWhitespace",e[e.revealHorizontalRightPadding=75]="revealHorizontalRightPadding",e[e.roundedSelection=76]="roundedSelection",e[e.rulers=77]="rulers",e[e.scrollbar=78]="scrollbar",e[e.scrollBeyondLastColumn=79]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=80]="scrollBeyondLastLine",e[e.selectionClipboard=81]="selectionClipboard",e[e.selectionHighlight=82]="selectionHighlight",e[e.selectOnLineNumbers=83]="selectOnLineNumbers",e[e.showFoldingControls=84]="showFoldingControls",e[e.showUnused=85]="showUnused",e[e.snippetSuggestions=86]="snippetSuggestions",e[e.smoothScrolling=87]="smoothScrolling",e[e.stopRenderingLineAfter=88]="stopRenderingLineAfter",e[e.suggest=89]="suggest",e[e.suggestFontSize=90]="suggestFontSize",e[e.suggestLineHeight=91]="suggestLineHeight",e[e.suggestOnTriggerCharacters=92]="suggestOnTriggerCharacters",e[e.suggestSelection=93]="suggestSelection",e[e.tabCompletion=94]="tabCompletion",e[e.useTabStops=95]="useTabStops",e[e.wordSeparators=96]="wordSeparators",e[e.wordWrap=97]="wordWrap",e[e.wordWrapBreakAfterCharacters=98]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=99]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=100]="wordWrapColumn",e[e.wordWrapMinified=101]="wordWrapMinified",e[e.wrappingIndent=102]="wrappingIndent",e[e.wrappingStrategy=103]="wrappingStrategy",e[e.editorClassName=104]="editorClassName",e[e.pixelRatio=105]="pixelRatio",e[e.tabFocusMode=106]="tabFocusMode",e[e.layoutInfo=107]="layoutInfo",e[e.wrappingInfo=108]="wrappingInfo"}(f||(f={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(p||(p={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(m||(m={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(v||(v={})),(y=_||(_={}))[y.Hint=1]="Hint",y[y.Info=2]="Info",y[y.Warning=4]="Warning",y[y.Error=8]="Error",function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(b||(b={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(C||(C={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(w||(w={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(S||(S={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(L||(L={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(N||(N={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(O||(O={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(D||(D={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(x||(x={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(E||(E={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(k||(k={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(I||(I={})),function(e){e[e.Deprecated=1]="Deprecated"}(M||(M={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(T||(T={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(A||(A={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(R||(R={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(P||(P={}));var q=function(){function e(){}return e.chord=function(e,t){return Object(B.a)(e,t)},e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256,e}();function G(){return{editor:void 0,languages:void 0,CancellationTokenSource:V.a,Emitter:W.a,KeyCode:v,KeyMod:q,Position:H.a,Range:z.a,Selection:U.a,SelectionDirection:E,MarkerSeverity:_,MarkerTag:b,Uri:j.a,Token:K.a}}n("siPX");var Y=n("Vxe3"),Z=n("EffR"),X=n("24hK");function J(e){var t=JSON.parse(e);return t=function e(t,n){void 0===n&&(n=0);if(!t||n>200)return t;if("object"==typeof t){switch(t.$mid){case 1:return j.a.revive(t);case 2:return new RegExp(t.source,t.flags)}for(var i in t)Object.hasOwnProperty.call(t,i)&&(t[i]=e(t[i],n+1))}return t}(t)}var Q,$=n("tYmi"),ee=n("PTeM"),te=n("MrjW"),ne=n("N0LK"),ie=n("MNsG"),oe=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i};function re(e){var t,n=e.path;return t=e.authority&&n.length>1&&e.scheme===$.b.file?"//"+e.authority+n:ie.h&&47===n.charCodeAt(0)&&ee.b(n.charCodeAt(1))&&58===n.charCodeAt(2)?n.substr(1):n,ie.h&&(t=t.replace(/\//g,"\\")),t}!function(e){e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=function(t){var n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach((function(e){var t=e.split(":"),i=t[0],o=t[1];i&&o&&n.set(i,o)}));var i=t.path.substring(0,t.path.indexOf(";"));return i&&n.set(e.META_DATA_MIME,i),n}}(Q||(Q={}));var se,ae=n("nnTU"),ue=n("Cg/j"),le=n("pmY6"),ce=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},de=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},he=Object(ue.c)("openerService");Object.freeze({_serviceBrand:void 0,registerOpener:function(){return le.a.None},registerValidator:function(){return le.a.None},registerExternalUriResolver:function(){return le.a.None},setExternalOpener:function(){},open:function(){return ce(this,void 0,void 0,(function(){return de(this,(function(e){return[2,!1]}))}))},resolveExternalUri:function(e){return ce(this,void 0,void 0,(function(){return de(this,(function(t){return[2,{resolved:e,dispose:function(){}}]}))}))}});function fe(e,t){return j.a.isUri(e)?Object(ne.l)(e.scheme,t):Object(ne.I)(e,t+":")}!function(e){e[e.API=0]="API",e[e.USER=1]="USER"}(se||(se={}));var pe,ge=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},me=function(e,t){return function(n,i){t(n,i,e)}},ve=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},_e=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},ye=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},be=function(){function e(e){this._commandService=e}return e.prototype.open=function(e){return ve(this,void 0,void 0,(function(){var t,n;return _e(this,(function(i){switch(i.label){case 0:if(!fe(e,$.b.command))return[2,!1];if("string"==typeof e&&(e=j.a.parse(e)),!ae.a.getCommand(e.path))throw new Error("command '"+e.path+"' NOT known");t=[];try{t=J(decodeURIComponent(e.query))}catch(n){try{t=J(e.query)}catch(e){}}return Array.isArray(t)||(t=[t]),[4,(n=this._commandService).executeCommand.apply(n,ye([e.path],t))];case 1:return i.sent(),[2,!0]}}))}))},e=ge([me(0,ae.b)],e)}(),Ce=function(){function e(e){this._editorService=e}return e.prototype.open=function(e,t){return ve(this,void 0,void 0,(function(){var n,i;return _e(this,(function(o){switch(o.label){case 0:return"string"==typeof e&&(e=j.a.parse(e)),n=void 0,(i=/^L?(\d+)(?:,(\d+))?/.exec(e.fragment))&&(n={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1},e=e.with({fragment:""})),e.scheme===$.b.file&&(e=(r=e).path.length?(s=r.scheme===$.b.file?j.a.file(te.normalize(re(r))).path:te.posix.normalize(r.path),r.with({path:s})):r),[4,this._editorService.openCodeEditor({resource:e,options:{selection:n,context:(null==t?void 0:t.fromUserGesture)?se.USER:se.API}},this._editorService.getFocusedCodeEditor(),null==t?void 0:t.openToSide)];case 1:return o.sent(),[2,!0]}var r,s}))}))},e=ge([me(0,Y.a)],e)}(),we=function(){function e(e,t){var n=this;this._openers=new X.a,this._validators=new X.a,this._resolvers=new X.a,this._externalOpener={openExternal:function(e){return Z.U(e),Promise.resolve(!0)}},this._openers.push({open:function(e,t){return ve(n,void 0,void 0,(function(){return _e(this,(function(n){switch(n.label){case 0:return(null==t?void 0:t.openExternal)||fe(e,$.b.mailto)||fe(e,$.b.http)||fe(e,$.b.https)?[4,this._doOpenExternal(e,t)]:[3,2];case 1:return n.sent(),[2,!0];case 2:return[2,!1]}}))}))}}),this._openers.push(new be(t)),this._openers.push(new Ce(e))}return e.prototype.open=function(e,t){return ve(this,void 0,void 0,(function(){var n,i,o,r;return _e(this,(function(s){switch(s.label){case 0:n=0,i=this._validators.toArray(),s.label=1;case 1:return n<i.length?[4,i[n].shouldOpen(e)]:[3,4];case 2:if(!s.sent())return[2,!1];s.label=3;case 3:return n++,[3,1];case 4:o=0,r=this._openers.toArray(),s.label=5;case 5:return o<r.length?[4,r[o].open(e,t)]:[3,8];case 6:if(s.sent())return[2,!0];s.label=7;case 7:return o++,[3,5];case 8:return[2,!1]}}))}))},e.prototype.resolveExternalUri=function(e,t){return ve(this,void 0,void 0,(function(){var n,i,o;return _e(this,(function(r){switch(r.label){case 0:n=0,i=this._resolvers.toArray(),r.label=1;case 1:return n<i.length?[4,i[n].resolveExternalUri(e,t)]:[3,4];case 2:if(o=r.sent())return[2,o];r.label=3;case 3:return n++,[3,1];case 4:return[2,{resolved:e,dispose:function(){}}]}}))}))},e.prototype._doOpenExternal=function(e,t){return ve(this,void 0,void 0,(function(){var n,i;return _e(this,(function(o){switch(o.label){case 0:return n="string"==typeof e?j.a.parse(e):e,[4,this.resolveExternalUri(n,t)];case 1:return i=o.sent().resolved,"string"==typeof e&&n.toString()===i.toString()?[2,this._externalOpener.openExternal(e)]:[2,this._externalOpener.openExternal(encodeURI(i.toString(!0)))]}}))}))},e.prototype.dispose=function(){this._validators.clear()},e=ge([me(0,Y.a),me(1,ae.b)],e)}(),Se=n("FWmy"),Le=n("qj0h"),Ne=(pe=function(e,t){return(pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}pe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oe={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0},De=function(e){function t(t,n){void 0===n&&(n={});var i=e.call(this)||this;return i._onDidUpdate=i._register(new W.a),i._editor=t,i._options=Le.d(n,Oe,!1),i.disposed=!1,i.nextIdx=-1,i.ranges=[],i.ignoreSelectionChange=!1,i.revealFirst=Boolean(i._options.alwaysRevealFirst),i._register(i._editor.onDidDispose((function(){return i.dispose()}))),i._register(i._editor.onDidUpdateDiff((function(){return i._onDiffUpdated()}))),i._options.followsCaret&&i._register(i._editor.getModifiedEditor().onDidChangeCursorPosition((function(e){i.ignoreSelectionChange||(i.nextIdx=-1)}))),i._options.alwaysRevealFirst&&i._register(i._editor.getModifiedEditor().onDidChangeModel((function(e){i.revealFirst=!0}))),i._init(),i}return Ne(t,e),t.prototype._init=function(){this._editor.getLineChanges()},t.prototype._onDiffUpdated=function(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))},t.prototype._compute=function(e){var t=this;this.ranges=[],e&&e.forEach((function(e){!t._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach((function(e){t.ranges.push({rhs:!0,range:new z.a(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})})):t.ranges.push({rhs:!0,range:new z.a(e.modifiedStartLineNumber,1,e.modifiedStartLineNumber,1)})})),this.ranges.sort((function(e,t){return e.range.getStartPosition().isBeforeOrEqual(t.range.getStartPosition())?-1:t.range.getStartPosition().isBeforeOrEqual(e.range.getStartPosition())?1:0})),this._onDidUpdate.fire(this)},t.prototype._initIdx=function(e){var t=!1,n=this._editor.getPosition();if(n){for(var i=0,o=this.ranges.length;i<o&&!t;i++){var r=this.ranges[i].range;n.isBeforeOrEqual(r.getStartPosition())&&(this.nextIdx=i+(e?0:-1),t=!0)}t||(this.nextIdx=e?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}else this.nextIdx=0},t.prototype._move=function(e,t){if(Se.a(!this.disposed,"Illegal State - diff navigator has been disposed"),this.canNavigate()){-1===this.nextIdx?this._initIdx(e):e?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var i=n.range.getStartPosition();this._editor.setPosition(i),this._editor.revealPositionInCenter(i,t)}finally{this.ignoreSelectionChange=!1}}},t.prototype.canNavigate=function(){return this.ranges&&this.ranges.length>0},t.prototype.next=function(e){void 0===e&&(e=0),this._move(!0,e)},t.prototype.previous=function(e){void 0===e&&(e=0),this._move(!1,e)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.ranges=[],this.disposed=!0},t}(le.a),xe=new(function(){function e(){this._zoomLevel=0,this._onDidChangeZoomLevel=new W.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return e.prototype.getZoomLevel=function(){return this._zoomLevel},e.prototype.setZoomLevel=function(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))},e}()),Ee=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ke=ie.e?1.5:1.35,Ie=function(){function e(e){this.zoomLevel=e.zoomLevel,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}return e.createFromValidatedSettings=function(t,n,i){var o=t.get(33),r=t.get(37),s=t.get(36),a=t.get(35),u=t.get(49),l=t.get(46);return e._create(o,r,s,a,u,l,n,i)},e._create=function(t,n,i,o,r,s,a,u){0===r?r=Math.round(ke*i):r<8&&(r=8);var l=1+(u?0:.1*xe.getZoomLevel());return new e({zoomLevel:a,fontFamily:t,fontWeight:n,fontSize:i*=l,fontFeatureSettings:o,lineHeight:r*=l,letterSpacing:s})},e.prototype.getId=function(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing},e.prototype.getMassagedFontFamily=function(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?'"'+this.fontFamily+'"':this.fontFamily},e}(),Me=function(e){function t(t,n){var i=e.call(this,t)||this;return i.isTrusted=n,i.isMonospace=t.isMonospace,i.typicalHalfwidthCharacterWidth=t.typicalHalfwidthCharacterWidth,i.typicalFullwidthCharacterWidth=t.typicalFullwidthCharacterWidth,i.canUseHalfwidthRightwardsArrow=t.canUseHalfwidthRightwardsArrow,i.spaceWidth=t.spaceWidth,i.middotWidth=t.middotWidth,i.maxDigitWidth=t.maxDigitWidth,i}return Ee(t,e),t.prototype.equals=function(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.maxDigitWidth===e.maxDigitWidth},t}(Ie),Te=n("iuje"),Ae=n("M1Kb"),Re=n("twdY"),Pe=n("i/Ef"),Fe=Object(ue.c)("editorWorkerService"),Ve=n("t49l"),We=n("X+cX"),Be=n("/cxE"),je=n("746U"),He=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ze=!1;function Ue(e){ie.g&&(ze||(ze=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}var Ke=function(){function e(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return e.prototype.setWorkerId=function(e){this._workerId=e},e.prototype.sendMessage=function(e,t){var n=this,i=String(++this._lastSentReq);return new Promise((function(o,r){n._pendingReplies[i]={resolve:o,reject:r},n._send({vsWorker:n._workerId,req:i,method:e,args:t})}))},e.prototype.handleMessage=function(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))},e.prototype._handleMessage=function(e){var t=this;if(e.seq){var n=e;if(!this._pendingReplies[n.seq])return void console.warn("Got reply to unknown seq");var i=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){var o=n.err;return n.err.$isError&&((o=new Error).name=n.err.name,o.message=n.err.message,o.stack=n.err.stack),void i.reject(o)}i.resolve(n.res)}else{var r=e,s=r.req;this._handler.handleMessage(r.method,r.args).then((function(e){t._send({vsWorker:t._workerId,seq:s,res:e,err:void 0})}),(function(e){e.detail instanceof Error&&(e.detail=Object(Be.f)(e.detail)),t._send({vsWorker:t._workerId,seq:s,res:void 0,err:Object(Be.f)(e)})}))}},e.prototype._send=function(e){var t=[];if(e.req)for(var n=e,i=0;i<n.args.length;i++)n.args[i]instanceof ArrayBuffer&&t.push(n.args[i]);else(n=e).res instanceof ArrayBuffer&&t.push(n.res);this._handler.sendMessage(e,t)},e}(),qe=function(e){function t(t,n,i){var o=e.call(this)||this,r=null;o._worker=o._register(t.create("vs/base/common/worker/simpleWorker",(function(e){o._protocol.handleMessage(e)}),(function(e){r&&r(e)}))),o._protocol=new Ke({sendMessage:function(e,t){o._worker.postMessage(e,t)},handleMessage:function(e,t){if("function"!=typeof i[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(i[e].apply(i,t))}catch(e){return Promise.reject(e)}}}),o._protocol.setWorkerId(o._worker.getId());var s=null;void 0!==self.require&&"function"==typeof self.require.getConfig?s=self.require.getConfig():void 0!==self.requirejs&&(s=self.requirejs.s.contexts._.config);var a=je.c(i);o._onModuleLoaded=o._protocol.sendMessage("$initialize",[o._worker.getId(),JSON.parse(JSON.stringify(s)),n,a]);var u=function(e,t){return o._request(e,t)};return o._lazyProxy=new Promise((function(e,t){r=t,o._onModuleLoaded.then((function(t){e(je.b(t,u))}),(function(e){t(e),o._onError("Worker failed to load "+n,e)}))})),o}return He(t,e),t.prototype.getProxyObject=function(){return this._lazyProxy},t.prototype._request=function(e,t){var n=this;return new Promise((function(i,o){n._onModuleLoaded.then((function(){n._protocol.sendMessage(e,t).then(i,o)}),o)}))},t.prototype._onError=function(e,t){console.error(e),console.info(t)},t}(le.a);!function(){function e(e,t){var n=this;this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new Ke({sendMessage:function(t,n){e(t,n)},handleMessage:function(e,t){return n._handleMessage(e,t)}})}e.prototype.onmessage=function(e){this._protocol.handleMessage(e)},e.prototype._handleMessage=function(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}},e.prototype.initialize=function(e,t,n,i){var o=this;this._protocol.setWorkerId(e);var r=je.b(i,(function(e,t){return o._protocol.sendMessage(e,t)}));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(je.c(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((function(e,t){self.require([n],(function(n){o._requestHandler=n.create(r),o._requestHandler?e(je.c(o._requestHandler)):t(new Error("No RequestHandler!"))}),t)})))}}();var Ge=function(){function e(e,t,n,i,o){this.id=t;var r=function(e,t){if(ie.b.MonacoEnvironment){if("function"==typeof ie.b.MonacoEnvironment.getWorker)return ie.b.MonacoEnvironment.getWorker(e,t);if("function"==typeof ie.b.MonacoEnvironment.getWorkerUrl)return new Worker(ie.b.MonacoEnvironment.getWorkerUrl(e,t))}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}("workerMain.js",n);"function"==typeof r.then?this.worker=r:this.worker=Promise.resolve(r),this.postMessage(e,[]),this.worker.then((function(e){e.onmessage=function(e){i(e.data)},e.onmessageerror=o,"function"==typeof e.addEventListener&&e.addEventListener("error",o)}))}return e.prototype.getId=function(){return this.id},e.prototype.postMessage=function(e,t){this.worker&&this.worker.then((function(n){return n.postMessage(e,t)}))},e.prototype.dispose=function(){this.worker&&this.worker.then((function(e){return e.terminate()})),this.worker=null},e}(),Ye=function(){function e(e){this._label=e,this._webWorkerFailedBeforeError=!1}return e.prototype.create=function(t,n,i){var o=this,r=++e.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new Ge(t,r,this._label||"anonymous"+r,n,(function(e){Ue(e),o._webWorkerFailedBeforeError=e,i(e)}))},e.LAST_WORKER_ID=0,e}(),Ze=n("cMvZ"),Xe=n("6OMU"),Je=function(){function e(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}();function Qe(e,t){return(t<<5)-t+e|0}function $e(e,t){t=Qe(149417,t);for(var n=0,i=e.length;n<i;n++)t=Qe(e.charCodeAt(n),t);return t}var et=function(){function e(e){this.source=e}return e.prototype.getElements=function(){for(var e=this.source,t=new Int32Array(e.length),n=0,i=e.length;n<i;n++)t[n]=e.charCodeAt(n);return t},e}();function tt(e,t,n){return new rt(new et(e),new et(t)).ComputeDiff(n).changes}var nt=function(){function e(){}return e.Assert=function(e,t){if(!e)throw new Error(t)},e}(),it=function(){function e(){}return e.Copy=function(e,t,n,i,o){for(var r=0;r<o;r++)n[i+r]=e[t+r]},e.Copy2=function(e,t,n,i,o){for(var r=0;r<o;r++)n[i+r]=e[t+r]},e}(),ot=function(){function e(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}return e.prototype.MarkNextChange=function(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new Je(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824},e.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),rt=function(){function e(t,n,i){void 0===i&&(i=null),this.ContinueProcessingPredicate=i;var o=e._getElements(t),r=o[0],s=o[1],a=o[2],u=e._getElements(n),l=u[0],c=u[1],d=u[2];this._hasStrings=a&&d,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=c,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e._isStringArray=function(e){return e.length>0&&"string"==typeof e[0]},e._getElements=function(t){var n=t.getElements();if(e._isStringArray(n)){for(var i=new Int32Array(n.length),o=0,r=n.length;o<r;o++)i[o]=$e(n[o],0);return[n,i,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]},e.prototype.ElementsAreEqual=function(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])},e.prototype.OriginalElementsAreEqual=function(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])},e.prototype.ModifiedElementsAreEqual=function(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])},e.prototype.ComputeDiff=function(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)},e.prototype._ComputeDiff=function(e,t,n,i,o){var r=[!1],s=this.ComputeDiffRecursive(e,t,n,i,r);return o&&(s=this.PrettifyChanges(s)),{quitEarly:r[0],changes:s}},e.prototype.ComputeDiffRecursive=function(e,t,n,i,o){for(o[0]=!1;e<=t&&n<=i&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){var r=void 0;return n<=i?(nt.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new Je(e,0,n,i-n+1)]):e<=t?(nt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[new Je(e,t-e+1,n,0)]):(nt.Assert(e===t+1,"originalStart should only be one more than originalEnd"),nt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}var s=[0],a=[0],u=this.ComputeRecursionPoint(e,t,n,i,s,a,o),l=s[0],c=a[0];if(null!==u)return u;if(!o[0]){var d=this.ComputeDiffRecursive(e,l,n,c,o),h=[];return h=o[0]?[new Je(l+1,t-(l+1)+1,c+1,i-(c+1)+1)]:this.ComputeDiffRecursive(l+1,t,c+1,i,o),this.ConcatenateChanges(d,h)}return[new Je(e,t-e+1,n,i-n+1)]},e.prototype.WALKTRACE=function(e,t,n,i,o,r,s,a,u,l,c,d,h,f,p,g,m,v){var _,y=null,b=new ot,C=t,w=n,S=h[0]-g[0]-i,L=-1073741824,N=this.m_forwardHistory.length-1;do{(E=S+e)===C||E<w&&u[E-1]<u[E+1]?(f=(c=u[E+1])-S-i,c<L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f),S=E+1-e):(f=(c=u[E-1]+1)-S-i,c<L&&b.MarkNextChange(),L=c-1,b.AddOriginalElement(c,f+1),S=E-1-e),N>=0&&(e=(u=this.m_forwardHistory[N])[0],C=1,w=u.length-1)}while(--N>=-1);if(_=b.getReverseChanges(),v[0]){var O=h[0]+1,D=g[0]+1;if(null!==_&&_.length>0){var x=_[_.length-1];O=Math.max(O,x.getOriginalEnd()),D=Math.max(D,x.getModifiedEnd())}y=[new Je(O,d-O+1,D,p-D+1)]}else{b=new ot,C=r,w=s,S=h[0]-g[0]-a,L=1073741824,N=m?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var E;(E=S+o)===C||E<w&&l[E-1]>=l[E+1]?(f=(c=l[E+1]-1)-S-a,c>L&&b.MarkNextChange(),L=c+1,b.AddOriginalElement(c+1,f+1),S=E+1-o):(f=(c=l[E-1])-S-a,c>L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f+1),S=E-1-o),N>=0&&(o=(l=this.m_reverseHistory[N])[0],C=1,w=l.length-1)}while(--N>=-1);y=b.getChanges()}return this.ConcatenateChanges(_,y)},e.prototype.ComputeRecursionPoint=function(e,t,n,i,o,r,s){var a=0,u=0,l=0,c=0,d=0,h=0;e--,n--,o[0]=0,r[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var f=t-e+(i-n),p=f+1,g=new Int32Array(p),m=new Int32Array(p),v=i-n,_=t-e,y=e-n,b=t-i,C=(_-v)%2==0;g[v]=e,m[_]=t,s[0]=!1;for(var w=1;w<=f/2+1;w++){var S=0,L=0;l=this.ClipDiagonalBound(v-w,w,v,p),c=this.ClipDiagonalBound(v+w,w,v,p);for(var N=l;N<=c;N+=2){u=(a=N===l||N<c&&g[N-1]<g[N+1]?g[N+1]:g[N-1]+1)-(N-v)-y;for(var O=a;a<t&&u<i&&this.ElementsAreEqual(a+1,u+1);)a++,u++;if(g[N]=a,a+u>S+L&&(S=a,L=u),!C&&Math.abs(N-_)<=w-1&&a>=m[N])return o[0]=a,r[0]=u,O<=m[N]&&w<=1448?this.WALKTRACE(v,l,c,y,_,d,h,b,g,m,a,t,o,u,i,r,C,s):null}var D=(S-e+(L-n)-w)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(S,D))return s[0]=!0,o[0]=S,r[0]=L,D>0&&w<=1448?this.WALKTRACE(v,l,c,y,_,d,h,b,g,m,a,t,o,u,i,r,C,s):(e++,n++,[new Je(e,t-e+1,n,i-n+1)]);d=this.ClipDiagonalBound(_-w,w,_,p),h=this.ClipDiagonalBound(_+w,w,_,p);for(N=d;N<=h;N+=2){u=(a=N===d||N<h&&m[N-1]>=m[N+1]?m[N+1]-1:m[N-1])-(N-_)-b;for(O=a;a>e&&u>n&&this.ElementsAreEqual(a,u);)a--,u--;if(m[N]=a,C&&Math.abs(N-v)<=w&&a<=g[N])return o[0]=a,r[0]=u,O>=g[N]&&w<=1448?this.WALKTRACE(v,l,c,y,_,d,h,b,g,m,a,t,o,u,i,r,C,s):null}if(w<=1447){var x=new Int32Array(c-l+2);x[0]=v-l+1,it.Copy2(g,l,x,1,c-l+1),this.m_forwardHistory.push(x),(x=new Int32Array(h-d+2))[0]=_-d+1,it.Copy2(m,d,x,1,h-d+1),this.m_reverseHistory.push(x)}}return this.WALKTRACE(v,l,c,y,_,d,h,b,g,m,a,t,o,u,i,r,C,s)},e.prototype.PrettifyChanges=function(e){for(var t=0;t<e.length;t++){for(var n=e[t],i=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,o=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,r=n.originalLength>0,s=n.modifiedLength>0;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<o&&(!r||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;var a=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],a)&&(e[t]=a[0],e.splice(t+1,1),t--)}for(t=e.length-1;t>=0;t--){n=e[t],i=0,o=0;if(t>0){var u=e[t-1];u.originalLength>0&&(i=u.originalStart+u.originalLength),u.modifiedLength>0&&(o=u.modifiedStart+u.modifiedLength)}r=n.originalLength>0,s=n.modifiedLength>0;for(var l=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),d=1;;d++){var h=n.originalStart-d,f=n.modifiedStart-d;if(h<i||f<o)break;if(r&&!this.OriginalElementsAreEqual(h,h+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(f,f+n.modifiedLength))break;var p=this._boundaryScore(h,n.originalLength,f,n.modifiedLength);p>c&&(c=p,l=d)}n.originalStart-=l,n.modifiedStart-=l}return e},e.prototype._OriginalIsBoundary=function(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])},e.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])},e.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)},e.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var i=new Array(e.length+t.length-1);return it.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],it.Copy(t,1,i,e.length,t.length-1),i}i=new Array(e.length+t.length);return it.Copy(e,0,i,0,e.length),it.Copy(t,0,i,e.length,t.length),i},e.prototype.ChangesOverlap=function(e,t,n){if(nt.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),nt.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var i=e.originalStart,o=e.originalLength,r=e.modifiedStart,s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new Je(i,o,r,s),!0}return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,t,n,i){if(e>=0&&e<i)return e;var o=t%2==0;return e<0?o===(n%2==0)?0:1:o===((i-n-1)%2==0)?i-1:i-2},e}(),st=n("JYp7");function at(e,t,n,i){return new rt(e,t,n).ComputeDiff(i)}var ut=function(){function e(e){for(var t=[],n=[],i=0,o=e.length;i<o;i++)t[i]=ft(e[i],1),n[i]=pt(e[i],1);this.lines=e,this._startColumns=t,this._endColumns=n}return e.prototype.getElements=function(){for(var e=[],t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e},e.prototype.getStartLineNumber=function(e){return e+1},e.prototype.getEndLineNumber=function(e){return e+1},e.prototype.createCharSequence=function(e,t,n){for(var i=[],o=[],r=[],s=0,a=t;a<=n;a++)for(var u=this.lines[a],l=e?this._startColumns[a]:1,c=e?this._endColumns[a]:u.length+1,d=l;d<c;d++)i[s]=u.charCodeAt(d-1),o[s]=a+1,r[s]=d,s++;return new lt(i,o,r)},e}(),lt=function(){function e(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}return e.prototype.getElements=function(){return this._charCodes},e.prototype.getStartLineNumber=function(e){return this._lineNumbers[e]},e.prototype.getStartColumn=function(e){return this._columns[e]},e.prototype.getEndLineNumber=function(e){return this._lineNumbers[e]},e.prototype.getEndColumn=function(e){return this._columns[e]+1},e}(),ct=function(){function e(e,t,n,i,o,r,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=o,this.modifiedStartColumn=r,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}return e.createFromDiffChange=function(t,n,i){var o,r,s,a,u,l,c,d;return 0===t.originalLength?(o=0,r=0,s=0,a=0):(o=n.getStartLineNumber(t.originalStart),r=n.getStartColumn(t.originalStart),s=n.getEndLineNumber(t.originalStart+t.originalLength-1),a=n.getEndColumn(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=0,l=0,c=0,d=0):(u=i.getStartLineNumber(t.modifiedStart),l=i.getStartColumn(t.modifiedStart),c=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),d=i.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new e(o,r,s,a,u,l,c,d)},e}();var dt=function(){function e(e,t,n,i,o){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=o}return e.createFromDiffResult=function(t,n,i,o,r,s,a){var u,l,c,d,h=void 0;if(0===n.originalLength?(u=i.getStartLineNumber(n.originalStart)-1,l=0):(u=i.getStartLineNumber(n.originalStart),l=i.getEndLineNumber(n.originalStart+n.originalLength-1)),0===n.modifiedLength?(c=o.getStartLineNumber(n.modifiedStart)-1,d=0):(c=o.getStartLineNumber(n.modifiedStart),d=o.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),s&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&r()){var f=i.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),p=o.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),g=at(f,p,r,!0).changes;a&&(g=function(e){if(e.length<=1)return e;for(var t=[e[0]],n=t[0],i=1,o=e.length;i<o;i++){var r=e[i],s=r.originalStart-(n.originalStart+n.originalLength),a=r.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(s,a)<3?(n.originalLength=r.originalStart+r.originalLength-n.originalStart,n.modifiedLength=r.modifiedStart+r.modifiedLength-n.modifiedStart):(t.push(r),n=r)}return t}(g)),h=[];for(var m=0,v=g.length;m<v;m++)h.push(ct.createFromDiffChange(g[m],f,p))}return new e(u,l,c,d,h)},e}(),ht=function(){function e(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new ut(e),this.modified=new ut(t),this.continueLineDiff=gt(n.maxComputationTime),this.continueCharDiff=gt(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}return e.prototype.computeDiff=function(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};var e=at(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){for(var i=[],o=0,r=t.length;o<r;o++)i.push(dt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[o],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:i}}for(var s=[],a=0,u=0,l=(o=-1,t.length);o<l;o++){for(var c=o+1<l?t[o+1]:null,d=c?c.originalStart:this.originalLines.length,h=c?c.modifiedStart:this.modifiedLines.length;a<d&&u<h;){var f=this.originalLines[a],p=this.modifiedLines[u];if(f!==p){for(var g=ft(f,1),m=ft(p,1);g>1&&m>1;){if(f.charCodeAt(g-2)!==p.charCodeAt(m-2))break;g--,m--}(g>1||m>1)&&this._pushTrimWhitespaceCharChange(s,a+1,1,g,u+1,1,m);for(var v=pt(f,1),_=pt(p,1),y=f.length+1,b=p.length+1;v<y&&_<b;){if(f.charCodeAt(v-1)!==f.charCodeAt(_-1))break;v++,_++}(v<y||_<b)&&this._pushTrimWhitespaceCharChange(s,a+1,v,y,u+1,_,b)}a++,u++}c&&(s.push(dt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,c,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),a+=c.originalLength,u+=c.modifiedLength)}return{quitEarly:n,changes:s}},e.prototype._pushTrimWhitespaceCharChange=function(e,t,n,i,o,r,s){if(!this._mergeTrimWhitespaceCharChange(e,t,n,i,o,r,s)){var a=void 0;this.shouldComputeCharChanges&&(a=[new ct(t,n,t,i,o,r,o,s)]),e.push(new dt(t,t,o,o,a))}},e.prototype._mergeTrimWhitespaceCharChange=function(e,t,n,i,o,r,s){var a=e.length;if(0===a)return!1;var u=e[a-1];return 0!==u.originalEndLineNumber&&0!==u.modifiedEndLineNumber&&(u.originalEndLineNumber+1===t&&u.modifiedEndLineNumber+1===o&&(u.originalEndLineNumber=t,u.modifiedEndLineNumber=o,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new ct(t,n,t,i,o,r,o,s)),!0))},e}();function ft(e,t){var n=ne.o(e);return-1===n?t:n+1}function pt(e,t){var n=ne.B(e);return-1===n?t:n+2}function gt(e){if(0===e)return function(){return!0};var t=Date.now();return function(){return Date.now()-t<e}}var mt=n("CZ1j"),vt=function(e,t){this.index=e,this.remainder=t},_t=function(){function e(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return e.prototype.insertValues=function(e,t){e=Object(mt.a)(e);var n=this.values,i=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(e,t){return e=Object(mt.a)(e),t=Object(mt.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)},e.prototype.removeValues=function(e,t){e=Object(mt.a)(e),t=Object(mt.a)(t);var n=this.values,i=this.prefixSum;if(e>=n.length)return!1;var o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(e){return e<0?0:(e=Object(mt.a)(e),this._getAccumulatedValue(e))},e.prototype._getAccumulatedValue=function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(var n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]},e.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();for(var t=0,n=this.values.length-1,i=0,o=0,r=0;t<=n;)if(i=t+(n-t)/2|0,e<(r=(o=this.prefixSum[i])-this.values[i]))n=i-1;else{if(!(e>=o))break;t=i+1}return new vt(i,e-r)},e}(),yt=function(){function e(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null}return e.prototype.dispose=function(){this._lines.length=0},e.prototype.getText=function(){return this._lines.join(this._eol)},e.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var t=0,n=e.changes;t<n.length;t++){var i=n[t];this._acceptDeleteRange(i.range),this._acceptInsertText(new H.a(i.range.startLineNumber,i.range.startColumn),i.text)}this._versionId=e.versionId},e.prototype._ensureLineStarts=function(){if(!this._lineStarts){for(var e=this._eol.length,t=this._lines.length,n=new Uint32Array(t),i=0;i<t;i++)n[i]=this._lines[i].length+e;this._lineStarts=new _t(n)}},e.prototype._setLineText=function(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)},e.prototype._acceptDeleteRange=function(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}},e.prototype._acceptInsertText=function(e,t){if(0!==t.length){var n=t.split(/\r\n|\r|\n/);if(1!==n.length){n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);for(var i=new Uint32Array(n.length-1),o=1;o<n.length;o++)this._lines.splice(e.lineNumber+o-1,0,n[o]),i[o-1]=n[o].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,i)}else this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1))}},e}(),bt=n("0JNc"),Ct=n("MXAL"),wt=function(){function e(e,t,n){for(var i=new Uint8Array(e*t),o=0,r=e*t;o<r;o++)i[o]=n;this._data=i,this.rows=e,this.cols=t}return e.prototype.get=function(e,t){return this._data[e*this.cols+t]},e.prototype.set=function(e,t,n){this._data[e*this.cols+t]=n},e}(),St=function(){function e(e){for(var t=0,n=0,i=0,o=e.length;i<o;i++){var r=e[i],s=r[0];(l=r[1])>t&&(t=l),s>n&&(n=s),(c=r[2])>n&&(n=c)}t++,n++;var a=new wt(n,t,0);for(i=0,o=e.length;i<o;i++){var u=e[i],l=(s=u[0],u[1]),c=u[2];a.set(s,l,c)}this._states=a,this._maxCharCode=t}return e.prototype.nextState=function(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)},e}(),Lt=null;var Nt=null;var Ot=function(){function e(){}return e._createLink=function(e,t,n,i,o){var r=o-1;do{var s=t.charCodeAt(r);if(2!==e.get(s))break;r--}while(r>i);if(i>0){var a=t.charCodeAt(i-1),u=t.charCodeAt(r);(40===a&&41===u||91===a&&93===u||123===a&&125===u)&&r--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:r+2},url:t.substring(i,r+1)}},e.computeLinks=function(t,n){void 0===n&&(null===Lt&&(Lt=new St([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),n=Lt);for(var i=function(){if(null===Nt){Nt=new Ct.a(0);for(var e=0;e<" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".length;e++)Nt.set(" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".charCodeAt(e),1);for(e=0;e<".,;".length;e++)Nt.set(".,;".charCodeAt(e),2)}return Nt}(),o=[],r=1,s=t.getLineCount();r<=s;r++){for(var a=t.getLineContent(r),u=a.length,l=0,c=0,d=0,h=1,f=!1,p=!1,g=!1;l<u;){var m=!1,v=a.charCodeAt(l);if(13===h){var _=void 0;switch(v){case 40:f=!0,_=0;break;case 41:_=f?0:1;break;case 91:p=!0,_=0;break;case 93:_=p?0:1;break;case 123:g=!0,_=0;break;case 125:_=g?0:1;break;case 39:_=34===d||96===d?0:1;break;case 34:_=39===d||96===d?0:1;break;case 96:_=39===d||34===d?0:1;break;case 42:_=42===d?1:0;break;case 124:_=124===d?1:0;break;default:_=i.get(v)}1===_&&(o.push(e._createLink(i,a,r,c,l)),m=!0)}else if(12===h){_=void 0;91===v?(p=!0,_=0):_=i.get(v),1===_?m=!0:h=13}else 0===(h=n.nextState(h,v))&&(m=!0);m&&(h=1,f=!1,p=!1,g=!1,c=l+1,d=v),l++}13===h&&o.push(e._createLink(i,a,r,c,u))}return o},e}();function Dt(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?Ot.computeLinks(e):[]}var xt=function(){function e(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}return e.prototype.navigateValueSet=function(e,t,n,i,o){var r;if(e&&t&&(r=this.doNavigateValueSet(t,o)))return{range:e,value:r};if(n&&i&&(r=this.doNavigateValueSet(i,o)))return{range:n,value:r};return null},e.prototype.doNavigateValueSet=function(e,t){var n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)},e.prototype.numberReplace=function(e,t){var n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),i=Number(e),o=parseFloat(e);return isNaN(i)||isNaN(o)||i!==o?null:0!==i||t?(i=Math.floor(i*n),i+=t?n:-n,String(i/n)):null},e.prototype.textReplace=function(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)},e.prototype.valueSetsReplace=function(e,t,n){for(var i=null,o=0,r=e.length;null===i&&o<r;o++)i=this.valueSetReplace(e[o],t,n);return i},e.prototype.valueSetReplace=function(e,t,n){var i=e.indexOf(t);return i>=0?((i+=n?1:-1)<0?i=e.length-1:i%=e.length,e[i]):null},e.INSTANCE=new e,e}(),Et=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),kt=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},It=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},Mt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Et(t,e),Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){return this.getText()},t.prototype.getLinesContent=function(){return this._lines.slice(0)},t.prototype.getLineCount=function(){return this._lines.length},t.prototype.getLineContent=function(e){return this._lines[e-1]},t.prototype.getWordAtPosition=function(e,t){var n=Object(bt.d)(e.column,Object(bt.c)(t),this._lines[e.lineNumber-1],0);return n?new z.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null},t.prototype.createWordIterator=function(e){var t,n,i=this,o=0,r=0,s=[],a=function(){if(r<s.length){var u=n.substring(s[r].start,s[r].end);return r+=1,t?t.value=u:t={done:!1,value:u},t}return o>=i._lines.length?st.b:(n=i._lines[o],s=i._wordenize(n,e),r=0,o+=1,a())};return{next:a}},t.prototype.getLineWords=function(e,t){for(var n=this._lines[e-1],i=[],o=0,r=this._wordenize(n,t);o<r.length;o++){var s=r[o];i.push({word:n.substring(s.start,s.end),startColumn:s.start+1,endColumn:s.end+1})}return i},t.prototype._wordenize=function(e,t){var n,i=[];for(t.lastIndex=0;(n=t.exec(e))&&0!==n[0].length;)i.push({start:n.index,end:n.index+n[0].length});return i},t.prototype.getValueInRange=function(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);var t=this._eol,n=e.startLineNumber-1,i=e.endLineNumber-1,o=[];o.push(this._lines[n].substring(e.startColumn-1));for(var r=n+1;r<i;r++)o.push(this._lines[r]);return o.push(this._lines[i].substring(0,e.endColumn-1)),o.join(t)},t.prototype.offsetAt=function(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)},t.prototype.positionAt=function(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();var t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}},t.prototype._validateRange=function(e){var t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e},t.prototype._validatePosition=function(e){if(!H.a.isIPosition(e))throw new Error("bad position");var t=e.lineNumber,n=e.column,i=!1;if(t<1)t=1,n=1,i=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{var o=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>o&&(n=o,i=!0)}return i?{lineNumber:t,column:n}:e},t}(yt),Tt=function(){function e(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}return e.prototype.dispose=function(){this._models=Object.create(null)},e.prototype._getModel=function(e){return this._models[e]},e.prototype._getModels=function(){var e=this,t=[];return Object.keys(this._models).forEach((function(n){return t.push(e._models[n])})),t},e.prototype.acceptNewModel=function(e){this._models[e.url]=new Mt(j.a.parse(e.url),e.lines,e.EOL,e.versionId)},e.prototype.acceptModelChanged=function(e,t){this._models[e]&&this._models[e].onEvents(t)},e.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},e.prototype.computeDiff=function(e,t,n,i){return kt(this,void 0,void 0,(function(){var o,r,s,a,u,l,c;return It(this,(function(d){return o=this._getModel(e),r=this._getModel(t),o&&r?(s=o.getLinesContent(),a=r.getLinesContent(),u=new ht(s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}),l=u.computeDiff(),c=!(l.changes.length>0)&&this._modelsAreIdentical(o,r),[2,{quitEarly:l.quitEarly,identical:c,changes:l.changes}]):[2,null]}))}))},e.prototype._modelsAreIdentical=function(e,t){var n=e.getLineCount();if(n!==t.getLineCount())return!1;for(var i=1;i<=n;i++){if(e.getLineContent(i)!==t.getLineContent(i))return!1}return!0},e.prototype.computeMoreMinimalEdits=function(t,n){return kt(this,void 0,void 0,(function(){var i,o,r,s,a,u,l,c,d,h,f,p,g,m,v,_,y,b;return It(this,(function(C){if(!(i=this._getModel(t)))return[2,n];for(o=[],r=void 0,n=Object(Xe.n)(n,(function(e,t){return e.range&&t.range?z.a.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)})),s=0,a=n;s<a.length;s++)if(u=a[s],l=u.range,c=u.text,"number"==typeof(d=u.eol)&&(r=d),(!z.a.isEmpty(l)||c)&&(h=i.getValueInRange(l),c=c.replace(/\r\n|\n|\r/g,i.eol),h!==c))if(Math.max(c.length,h.length)>e._diffLimit)o.push({range:l,text:c});else for(f=tt(h,c,!1),p=i.offsetAt(z.a.lift(l).getStartPosition()),g=0,m=f;g<m.length;g++)v=m[g],_=i.positionAt(p+v.originalStart),y=i.positionAt(p+v.originalStart+v.originalLength),b={text:c.substr(v.modifiedStart,v.modifiedLength),range:{startLineNumber:_.lineNumber,startColumn:_.column,endLineNumber:y.lineNumber,endColumn:y.column}},i.getValueInRange(b.range)!==b.text&&o.push(b);return"number"==typeof r&&o.push({eol:r,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),[2,o]}))}))},e.prototype.computeLinks=function(e){return kt(this,void 0,void 0,(function(){var t;return It(this,(function(n){return(t=this._getModel(e))?[2,Dt(t)]:[2,null]}))}))},e.prototype.textualSuggest=function(t,n,i,o){return kt(this,void 0,void 0,(function(){var r,s,a,u,l,c,d,h;return It(this,(function(f){if(!(r=this._getModel(t)))return[2,null];for(s=[],a=new Set,u=new RegExp(i,o),(l=r.getWordAtPosition(n,u))&&a.add(r.getValueInRange(l)),c=r.createWordIterator(u),d=c.next();!d.done&&a.size<=e._suggestionsLimit;d=c.next())h=d.value,a.has(h)||(a.add(h),isNaN(Number(h))&&s.push(h));return[2,s]}))}))},e.prototype.computeWordRanges=function(e,t,n,i){return kt(this,void 0,void 0,(function(){var o,r,s,a,u,l,c,d,h;return It(this,(function(f){if(!(o=this._getModel(e)))return[2,Object.create(null)];for(r=new RegExp(n,i),s=Object.create(null),a=t.startLineNumber;a<t.endLineNumber;a++)for(u=o.getLineWords(a,r),l=0,c=u;l<c.length;l++)d=c[l],isNaN(Number(d.word))&&((h=s[d.word])||(h=[],s[d.word]=h),h.push({startLineNumber:a,startColumn:d.startColumn,endLineNumber:a,endColumn:d.endColumn}));return[2,s]}))}))},e.prototype.navigateValueSet=function(e,t,n,i,o){return kt(this,void 0,void 0,(function(){var r,s,a,u,l;return It(this,(function(c){return(r=this._getModel(e))?(s=new RegExp(i,o),t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1}),a=r.getValueInRange(t),(u=r.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s))?(l=r.getValueInRange(u),[2,xt.INSTANCE.navigateValueSet(t,a,u,l,n)]):[2,null]):[2,null]}))}))},e.prototype.loadForeignModule=function(e,t,n){var i=this,o={host:je.b(n,(function(e,t){return i._host.fhr(e,t)})),getMirrorModels:function(){return i._getModels()}};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,t),Promise.resolve(je.c(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))},e.prototype.fmr=function(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}},e._diffLimit=1e5,e._suggestionsLimit=1e4,e}();"function"==typeof importScripts&&(ie.b.monaco=G());var At,Rt=n("G2kB"),Pt=Object(ue.c)("textResourceConfigurationService"),Ft=Object(ue.c)("textResourcePropertiesService"),Vt=Object(ue.c)("logService");!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Info=2]="Info",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.Off=6]="Off"}(At||(At={}));var Wt=function(){function e(){}return e.prototype.getLevel=function(){return At.Info},e.prototype.trace=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n]},e.prototype.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n]},e.prototype.dispose=function(){},e}(),Bt=n("5Y4S"),jt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ht=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},zt=function(e,t){return function(n,i){t(n,i,e)}},Ut=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},Kt=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}};function qt(e,t){var n=e.getModel(t);return!!n&&!n.isTooLargeForSyncing()}var Gt=function(e){function t(t,n,i){var o=e.call(this)||this;return o._modelService=t,o._workerManager=o._register(new Zt(o._modelService)),o._logService=i,o._register(Re.r.register("*",{provideLinks:function(e,t){return qt(o._modelService,e.uri)?o._workerManager.withWorker().then((function(t){return t.computeLinks(e.uri)})).then((function(e){return e&&{links:e}})):Promise.resolve({links:[]})}})),o._register(Re.d.register("*",new Yt(o._workerManager,n,o._modelService))),o}return jt(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.canComputeDiff=function(e,t){return qt(this._modelService,e)&&qt(this._modelService,t)},t.prototype.computeDiff=function(e,t,n,i){return this._workerManager.withWorker().then((function(o){return o.computeDiff(e,t,n,i)}))},t.prototype.computeMoreMinimalEdits=function(e,t){var n=this;if(Object(Xe.m)(t)){if(!qt(this._modelService,e))return Promise.resolve(t);var i=Bt.a.create(!0),o=this._workerManager.withWorker().then((function(n){return n.computeMoreMinimalEdits(e,t)}));return o.finally((function(){return n._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),i.elapsed())})),o}return Promise.resolve(void 0)},t.prototype.canNavigateValueSet=function(e){return qt(this._modelService,e)},t.prototype.navigateValueSet=function(e,t,n){return this._workerManager.withWorker().then((function(i){return i.navigateValueSet(e,t,n)}))},t.prototype.canComputeWordRanges=function(e){return qt(this._modelService,e)},t.prototype.computeWordRanges=function(e,t){return this._workerManager.withWorker().then((function(n){return n.computeWordRanges(e,t)}))},t=Ht([zt(0,Rt.a),zt(1,Pt),zt(2,Vt)],t)}(le.a),Yt=function(){function e(e,t,n){this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=n}return e.prototype.provideCompletionItems=function(e,t){return Ut(this,void 0,void 0,(function(){var n,i,o,r;return Kt(this,(function(s){switch(s.label){case 0:return this._configurationService.getValue(e.uri,t,"editor").wordBasedSuggestions&&qt(this._modelService,e.uri)?(n=e.getWordAtPosition(t),i=n?new z.a(t.lineNumber,n.startColumn,t.lineNumber,n.endColumn):z.a.fromPositions(t),o=i.setEndPosition(t.lineNumber,t.column),[4,this._workerManager.withWorker()]):[2,void 0];case 1:return[4,s.sent().textualSuggest(e.uri,t)];case 2:return(r=s.sent())?[2,{suggestions:r.map((function(e){return{kind:18,label:e,insertText:e,range:{insert:o,replace:i}}}))}]:[2,void 0]}}))}))},e}(),Zt=function(e){function t(t){var n=e.call(this)||this;return n._modelService=t,n._editorWorkerClient=null,n._lastWorkerUsedTime=(new Date).getTime(),n._register(new We.c).cancelAndSet((function(){return n._checkStopIdleWorker()}),Math.round(15e4)),n._register(n._modelService.onModelRemoved((function(e){return n._checkStopEmptyWorker()}))),n}return jt(t,e),t.prototype.dispose=function(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),e.prototype.dispose.call(this)},t.prototype._checkStopEmptyWorker=function(){this._editorWorkerClient&&(0===this._modelService.getModels().length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null))},t.prototype._checkStopIdleWorker=function(){this._editorWorkerClient&&((new Date).getTime()-this._lastWorkerUsedTime>3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null))},t.prototype.withWorker=function(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new $t(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)},t}(le.a),Xt=function(e){function t(t,n,i){var o=e.call(this)||this;if(o._syncedModels=Object.create(null),o._syncedModelsLastUsedTime=Object.create(null),o._proxy=t,o._modelService=n,!i){var r=new We.c;r.cancelAndSet((function(){return o._checkStopModelSync()}),Math.round(3e4)),o._register(r)}return o}return jt(t,e),t.prototype.dispose=function(){for(var t in this._syncedModels)Object(le.e)(this._syncedModels[t]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),e.prototype.dispose.call(this)},t.prototype.ensureSyncedResources=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t],o=i.toString();this._syncedModels[o]||this._beginModelSync(i),this._syncedModels[o]&&(this._syncedModelsLastUsedTime[o]=(new Date).getTime())}},t.prototype._checkStopModelSync=function(){var e=(new Date).getTime(),t=[];for(var n in this._syncedModelsLastUsedTime){e-this._syncedModelsLastUsedTime[n]>6e4&&t.push(n)}for(var i=0,o=t;i<o.length;i++){var r=o[i];this._stopModelSync(r)}},t.prototype._beginModelSync=function(e){var t=this,n=this._modelService.getModel(e);if(n&&!n.isTooLargeForSyncing()){var i=e.toString();this._proxy.acceptNewModel({url:n.uri.toString(),lines:n.getLinesContent(),EOL:n.getEOL(),versionId:n.getVersionId()});var o=new le.b;o.add(n.onDidChangeContent((function(e){t._proxy.acceptModelChanged(i.toString(),e)}))),o.add(n.onWillDispose((function(){t._stopModelSync(i)}))),o.add(Object(le.f)((function(){t._proxy.acceptRemovedModel(i)}))),this._syncedModels[i]=o}},t.prototype._stopModelSync=function(e){var t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],Object(le.e)(t)},t}(le.a),Jt=function(){function e(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}return e.prototype.dispose=function(){this._instance.dispose()},e.prototype.getProxyObject=function(){return this._proxyObj},e}(),Qt=function(){function e(e){this._workerClient=e}return e.prototype.fhr=function(e,t){return this._workerClient.fhr(e,t)},e}(),$t=function(e){function t(t,n,i){var o=e.call(this)||this;return o._modelService=t,o._keepIdleModels=n,o._workerFactory=new Ye(i),o._worker=null,o._modelManager=null,o}return jt(t,e),t.prototype.fhr=function(e,t){throw new Error("Not implemented!")},t.prototype._getOrCreateWorker=function(){if(!this._worker)try{this._worker=this._register(new qe(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new Qt(this)))}catch(e){Ue(e),this._worker=new Jt(new Tt(new Qt(this),null))}return this._worker},t.prototype._getProxy=function(){var e=this;return this._getOrCreateWorker().getProxyObject().then(void 0,(function(t){return Ue(t),e._worker=new Jt(new Tt(new Qt(e),null)),e._getOrCreateWorker().getProxyObject()}))},t.prototype._getOrCreateModelManager=function(e){return this._modelManager||(this._modelManager=this._register(new Xt(e,this._modelService,this._keepIdleModels))),this._modelManager},t.prototype._withSyncedResources=function(e){var t=this;return this._getProxy().then((function(n){return t._getOrCreateModelManager(n).ensureSyncedResources(e),n}))},t.prototype.computeDiff=function(e,t,n,i){return this._withSyncedResources([e,t]).then((function(o){return o.computeDiff(e.toString(),t.toString(),n,i)}))},t.prototype.computeMoreMinimalEdits=function(e,t){return this._withSyncedResources([e]).then((function(n){return n.computeMoreMinimalEdits(e.toString(),t)}))},t.prototype.computeLinks=function(e){return this._withSyncedResources([e]).then((function(t){return t.computeLinks(e.toString())}))},t.prototype.textualSuggest=function(e,t){var n=this;return this._withSyncedResources([e]).then((function(i){var o=n._modelService.getModel(e);if(!o)return null;var r=Ze.a.getWordDefinition(o.getLanguageIdentifier().id),s=r.source,a=Object(ne.E)(r);return i.textualSuggest(e.toString(),t,s,a)}))},t.prototype.computeWordRanges=function(e,t){var n=this;return this._withSyncedResources([e]).then((function(i){var o=n._modelService.getModel(e);if(!o)return Promise.resolve(null);var r=Ze.a.getWordDefinition(o.getLanguageIdentifier().id),s=r.source,a=Object(ne.E)(r);return i.computeWordRanges(e.toString(),t,s,a)}))},t.prototype.navigateValueSet=function(e,t,n){var i=this;return this._withSyncedResources([e]).then((function(o){var r=i._modelService.getModel(e);if(!r)return null;var s=Ze.a.getWordDefinition(r.getLanguageIdentifier().id),a=s.source,u=Object(ne.E)(s);return o.navigateValueSet(e.toString(),t,n,a,u)}))},t}(le.a),en=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();var tn,nn=function(e){function t(t,n){var i=e.call(this,t,n.keepIdleModels||!1,n.label)||this;return i._foreignModuleId=n.moduleId,i._foreignModuleCreateData=n.createData||null,i._foreignModuleHost=n.host||null,i._foreignProxy=null,i}return en(t,e),t.prototype.fhr=function(e,t){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[e])return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(e){return Promise.reject(e)}},t.prototype._getForeignProxy=function(){var e=this;return this._foreignProxy||(this._foreignProxy=this._getProxy().then((function(t){var n=e._foreignModuleHost?je.c(e._foreignModuleHost):[];return t.loadForeignModule(e._foreignModuleId,e._foreignModuleCreateData,n).then((function(n){e._foreignModuleCreateData=null;for(var i=function(e,n){return t.fmr(e,n)},o=function(e,t){return function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)}},r={},s=0,a=n;s<a.length;s++){var u=a[s];r[u]=o(u,i)}return r}))}))),this._foreignProxy},t.prototype.getProxy=function(){return this._getForeignProxy()},t.prototype.withSyncedResources=function(e){var t=this;return this._withSyncedResources(e).then((function(e){return t.getProxy()}))},t}($t),on=n("4bUh");tn="undefined"!=typeof TextDecoder?function(e){return new rn(e)}:function(e){return new sn};var rn=function(){function e(e){this._decoder=new TextDecoder("UTF-16LE"),this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}return e.prototype.reset=function(){this._completedStrings=null,this._bufferLength=0},e.prototype.build=function(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()},e.prototype._buildBuffer=function(){if(0===this._bufferLength)return"";var e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return this._decoder.decode(e)},e.prototype._flushBuffer=function(){var e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e},e.prototype.write1=function(e){var t=this._capacity-this._bufferLength;t<=1&&(0===t||ne.x(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e},e.prototype.appendASCII=function(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e},e.prototype.appendASCIIString=function(e){var t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(var n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)},e}(),sn=function(){function e(){this._pieces=[],this._piecesLen=0}return e.prototype.reset=function(){this._pieces=[],this._piecesLen=0},e.prototype.build=function(){return this._pieces.join("")},e.prototype.write1=function(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)},e.prototype.appendASCII=function(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)},e.prototype.appendASCIIString=function(e){this._pieces[this._piecesLen++]=e},e}(),an=function(){function e(e,t,n,i){this.startColumn=e,this.endColumn=t,this.className=n,this.type=i}return e._equals=function(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type},e.equalsArr=function(t,n){var i=t.length;if(i!==n.length)return!1;for(var o=0;o<i;o++)if(!e._equals(t[o],n[o]))return!1;return!0},e.filter=function(t,n,i,o){if(0===t.length)return[];for(var r=[],s=0,a=0,u=t.length;a<u;a++){var l=t[a],c=l.range;if(!(c.endLineNumber<n||c.startLineNumber>n)&&(!c.isEmpty()||0!==l.type&&3!==l.type)){var d=c.startLineNumber===n?c.startColumn:i,h=c.endLineNumber===n?c.endColumn:o;r[s++]=new e(d,h,l.inlineClassName,l.type)}}return r},e.compare=function(e,t){return e.startColumn===t.startColumn?e.endColumn===t.endColumn?e.className<t.className?-1:e.className>t.className?1:0:e.endColumn-t.endColumn:e.startColumn-t.startColumn},e}(),un=function(e,t,n){this.startOffset=e,this.endOffset=t,this.className=n},ln=function(){function e(){this.stopOffsets=[],this.classNames=[],this.count=0}return e.prototype.consumeLowerThan=function(e,t,n){for(;this.count>0&&this.stopOffsets[0]<e;){for(var i=0;i+1<this.count&&this.stopOffsets[i]===this.stopOffsets[i+1];)i++;n.push(new un(t,this.stopOffsets[i],this.classNames.join(" "))),t=this.stopOffsets[i]+1,this.stopOffsets.splice(0,i+1),this.classNames.splice(0,i+1),this.count-=i+1}return this.count>0&&t<e&&(n.push(new un(t,e-1,this.classNames.join(" "))),t=e),t},e.prototype.insert=function(e,t){if(0===this.count||this.stopOffsets[this.count-1]<=e)this.stopOffsets.push(e),this.classNames.push(t);else for(var n=0;n<this.count;n++)if(this.stopOffsets[n]>=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t);break}this.count++},e}(),cn=function(){function e(){}return e.normalize=function(e,t){if(0===t.length)return[];for(var n=[],i=new ln,o=0,r=0,s=t.length;r<s;r++){var a=t[r],u=a.startColumn,l=a.endColumn,c=a.className;if(u>1){var d=e.charCodeAt(u-2);ne.x(d)&&u--}if(l>1){d=e.charCodeAt(l-2);ne.x(d)&&l--}var h=u-1,f=l-2;o=i.consumeLowerThan(h,o,n),0===i.count&&(o=h),i.insert(f,c)}return i.consumeLowerThan(1073741824,o,n),n},e}(),dn=function(e,t){this.endIndex=e,this.type=t},hn=function(){function e(e,t){this.startOffset=e,this.endOffset=t}return e.prototype.equals=function(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset},e}(),fn=function(){function e(e,t,n,i,o,r,s,a,u,l,c,d,h,f,p,g,m,v){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=i,this.isBasicASCII=o,this.containsRTL=r,this.fauxIndentLength=s,this.lineTokens=a,this.lineDecorations=u,this.tabSize=l,this.startVisibleColumn=c,this.spaceWidth=d,this.middotWidth=h,this.stopRenderingLineAfter=f,this.renderWhitespace="all"===p?3:"boundary"===p?1:"selection"===p?2:0,this.renderControlCharacters=g,this.fontLigatures=m,this.selectionsOnLine=v&&v.sort((function(e,t){return e.startOffset<t.startOffset?-1:1}))}return e.prototype.sameSelection=function(e){if(null===this.selectionsOnLine)return null===e;if(null===e)return!1;if(e.length!==this.selectionsOnLine.length)return!1;for(var t=0;t<this.selectionsOnLine.length;t++)if(!this.selectionsOnLine[t].equals(e[t]))return!1;return!0},e.prototype.equals=function(e){return this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineContent===e.lineContent&&this.continuesWithWrappedLine===e.continuesWithWrappedLine&&this.isBasicASCII===e.isBasicASCII&&this.containsRTL===e.containsRTL&&this.fauxIndentLength===e.fauxIndentLength&&this.tabSize===e.tabSize&&this.startVisibleColumn===e.startVisibleColumn&&this.spaceWidth===e.spaceWidth&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.fontLigatures===e.fontLigatures&&an.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)&&this.sameSelection(e.selectionsOnLine)},e}(),pn=function(){function e(e,t){this.length=e,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}return e.getPartIndex=function(e){return(4294901760&e)>>>16},e.getCharIndex=function(e){return(65535&e)>>>0},e.prototype.setPartData=function(e,t,n,i){var o=(t<<16|n<<0)>>>0;this._data[e]=o,this._absoluteOffsets[e]=i+n},e.prototype.getAbsoluteOffsets=function(){return this._absoluteOffsets},e.prototype.charOffsetToPartData=function(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]},e.prototype.partDataToCharOffset=function(t,n,i){if(0===this.length)return 0;for(var o=(t<<16|i<<0)>>>0,r=0,s=this.length-1;r+1<s;){var a=r+s>>>1,u=this._data[a];if(u===o)return a;u>o?s=a:r=a}if(r===s)return r;var l=this._data[r],c=this._data[s];if(l===o)return r;if(c===o)return s;var d=e.getPartIndex(l);return i-e.getCharIndex(l)<=(d!==e.getPartIndex(c)?n:e.getCharIndex(c))-i?r:s},e}(),gn=function(e,t,n){this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n};function mn(e,t){if(0===e.lineContent.length){var n=0,i="<span><span> </span></span>";if(e.lineDecorations.length>0){for(var o=[],r=[],s=0,a=e.lineDecorations.length;s<a;s++){var u=e.lineDecorations[s];1===u.type&&(o.push(e.lineDecorations[s].className),n|=1),2===u.type&&(r.push(e.lineDecorations[s].className),n|=2)}if(0!==n)i="<span>"+(o.length>0?'<span class="'+o.join(" ")+'"></span>':"")+(r.length>0?'<span class="'+r.join(" ")+'"></span>':"")+"</span>"}return t.appendASCIIString(i),new gn(new pn(0,0),!1,n)}return function(e,t){var n=e.fontIsMonospace,i=e.canUseHalfwidthRightwardsArrow,o=e.containsForeignElements,r=e.lineContent,s=e.len,a=e.isOverflowing,u=e.parts,l=e.fauxIndentLength,c=e.tabSize,d=e.startVisibleColumn,h=e.containsRTL,f=e.spaceWidth,p=e.middotWidth,g=e.renderWhitespace,m=e.renderControlCharacters,v=p>f?11825:183,_=new pn(s+1,u.length),y=0,b=d,C=0,w=0,S=0;t.appendASCIIString("<span>");for(var L=0,N=u.length;L<N;L++){S+=w;var O=u[L],D=O.endIndex,x=O.type,E=0!==g&&x.indexOf("vs-whitespace")>=0;if(C=0,t.appendASCIIString('<span class="'),t.appendASCIIString(x),t.appendASCII(34),E){for(var k=0,I=y,M=b;I<D;I++){var T=r.charCodeAt(I);k+=A=0|(9===T?c-M%c:1),I>=l&&(M+=A)}if(!n)!("vs-whitespace"===x)&&o||(t.appendASCIIString(' style="display:inline-block;width:'),t.appendASCIIString(String(f*k)),t.appendASCIIString('px"'));for(t.appendASCII(62);y<D;y++){_.setPartData(y,L,C,S);T=r.charCodeAt(y);var A=void 0;if(9===T){A=c-b%c|0,!i||A>1?t.write1(8594):t.write1(65515);for(var R=2;R<=A;R++)t.write1(160)}else A=1,t.write1(v);C+=A,y>=l&&(b+=A)}w=k}else{k=0;for(h&&t.appendASCIIString(' dir="ltr"'),t.appendASCII(62);y<D;y++){_.setPartData(y,L,C,S);T=r.charCodeAt(y);var P=1;A=1;switch(T){case 9:A=P=c-b%c;for(R=1;R<=P;R++)t.write1(160);break;case 32:t.write1(160);break;case 60:t.appendASCIIString("<");break;case 62:t.appendASCIIString(">");break;case 38:t.appendASCIIString("&");break;case 0:t.appendASCIIString("�");break;case 65279:case 8232:t.write1(65533);break;default:ne.w(T)&&A++,m&&T<32?t.write1(9216+T):t.write1(T)}C+=P,k+=P,y>=l&&(b+=A)}w=k}t.appendASCIIString("</span>")}_.setPartData(s,u.length-1,C,S),a&&t.appendASCIIString("<span>…</span>");return t.appendASCIIString("</span>"),new gn(_,h,o)}(function(e){var t,n,i=e.useMonospaceOptimizations,o=e.lineContent;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter<o.length?(t=!0,n=e.stopRenderingLineAfter):(t=!1,n=o.length);var r=function(e,t,n){var i=[],o=0;t>0&&(i[o++]=new dn(t,""));for(var r=0,s=e.getCount();r<s;r++){var a=e.getEndOffset(r);if(!(a<=t)){var u=e.getClassName(r);if(a>=n){i[o++]=new dn(n,u);break}i[o++]=new dn(a,u)}}return i}(e.lineTokens,e.fauxIndentLength,n);(3===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine)&&(r=function(e,t,n,i,o,r,s,a,u,l){var c,d=[],h=0,f=0,p=i[f].type,g=i[f].endIndex,m=i.length,v=ne.o(e);-1===v?(v=t,c=t):c=ne.B(e);for(var _=!1,y=0,b=u&&u[y],C=s%r,w=o;w<t;w++){var S=e.charCodeAt(w);b&&w>=b.endOffset&&(y++,b=u&&u[y]);var L=void 0;if(w<v||w>c)L=!0;else if(9===S)L=!0;else if(32===S)if(l)if(_)L=!0;else{var N=w+1<t?e.charCodeAt(w+1):0;L=32===N||9===N}else L=!0;else L=!1;L&&u&&(L=!!b&&b.startOffset<=w&&b.endOffset>w),_?(!L||!a&&C>=r)&&(d[h++]=new dn(w,"vs-whitespace"),C%=r):(w===g||L&&w>o)&&(d[h++]=new dn(w,p),C%=r),9===S?C=r:ne.w(S)?C+=2:C++,_=L,w===g&&++f<m&&(p=i[f].type,g=i[f].endIndex)}var O=!1;if(_)if(n&&l){var D=t>0?e.charCodeAt(t-1):0,x=t>1?e.charCodeAt(t-2):0;32===D&&32!==x&&9!==x||(O=!0)}else O=!0;return d[h++]=new dn(t,O?"vs-whitespace":p),d}(o,n,e.continuesWithWrappedLine,r,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,i,e.selectionsOnLine,1===e.renderWhitespace));var s=0;if(e.lineDecorations.length>0){for(var a=0,u=e.lineDecorations.length;a<u;a++){var l=e.lineDecorations[a];3===l.type||1===l.type?s|=1:2===l.type&&(s|=2)}r=function(e,t,n,i){i.sort(an.compare);for(var o=cn.normalize(e,i),r=o.length,s=0,a=[],u=0,l=0,c=0,d=n.length;c<d;c++){for(var h=n[c],f=h.endIndex,p=h.type;s<r&&o[s].startOffset<f;){var g=o[s];if(g.startOffset>l&&(l=g.startOffset,a[u++]=new dn(l,p)),!(g.endOffset+1<=f)){l=f,a[u++]=new dn(l,p+" "+g.className);break}l=g.endOffset+1,a[u++]=new dn(l,p+" "+g.className),s++}f>l&&(l=f,a[u++]=new dn(l,p))}var m=n[n.length-1].endIndex;if(s<r&&o[s].startOffset===m){for(var v=[];s<r&&o[s].startOffset===m;)v.push(o[s].className),s++;a[u++]=new dn(l,v.join(" "))}return a}(o,0,r,e.lineDecorations)}e.containsRTL||(r=function(e,t,n){var i=0,o=[],r=0;if(n)for(var s=0,a=t.length;s<a;s++){var u=(f=t[s]).endIndex;if(i+50<u){for(var l=f.type,c=-1,d=i,h=i;h<u;h++)32===e.charCodeAt(h)&&(c=h),-1!==c&&h-d>=50&&(o[r++]=new dn(c+1,l),d=c+1,c=-1);d!==u&&(o[r++]=new dn(u,l))}else o[r++]=f;i=u}else for(s=0,a=t.length;s<a;s++){var f=t[s],p=(u=f.endIndex)-i;if(p>50){l=f.type;var g=Math.ceil(p/50);for(h=1;h<g;h++){var m=i+50*h;o[r++]=new dn(m,l)}o[r++]=new dn(u,l)}else o[r++]=f;i=u}return o}(o,r,!e.isBasicASCII||e.fontLigatures));return new yn(i,e.canUseHalfwidthRightwardsArrow,o,n,t,r,s,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,e.containsRTL,e.spaceWidth,e.middotWidth,e.renderWhitespace,e.renderControlCharacters)}(e),t)}var vn=function(e,t,n,i){this.characterMapping=e,this.html=t,this.containsRTL=n,this.containsForeignElements=i};function _n(e){var t=tn(1e4),n=mn(e,t);return new vn(n.characterMapping,t.build(),n.containsRTL,n.containsForeignElements)}var yn=function(e,t,n,i,o,r,s,a,u,l,c,d,h,f,p){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.len=i,this.isOverflowing=o,this.parts=r,this.containsForeignElements=s,this.fauxIndentLength=a,this.tabSize=u,this.startVisibleColumn=l,this.containsRTL=c,this.spaceWidth=d,this.middotWidth=h,this.renderWhitespace=f,this.renderControlCharacters=p};var bn=function(e,t,n,i){this.top=0|e,this.left=0|t,this.width=0|n,this.height=0|i},Cn=function(e,t){this.tabSize=e,this.data=t},wn=function(e,t,n,i,o,r){this.content=e,this.continuesWithWrappedLine=t,this.minColumn=n,this.maxColumn=i,this.startVisibleColumn=o,this.tokens=r},Sn=function(){function e(t,n,i,o,r,s,a,u,l,c){this.minColumn=t,this.maxColumn=n,this.content=i,this.continuesWithWrappedLine=o,this.isBasicASCII=e.isBasicASCII(i,s),this.containsRTL=e.containsRTL(i,this.isBasicASCII,r),this.tokens=a,this.inlineDecorations=u,this.tabSize=l,this.startVisibleColumn=c}return e.isBasicASCII=function(e,t){return!t||ne.t(e)},e.containsRTL=function(e,t,n){return!(t||!n)&&ne.g(e)},e}(),Ln=function(e,t,n){this.range=e,this.inlineClassName=t,this.type=n},Nn=function(e,t){this.range=e,this.options=t};function On(e){return!function(e){return Array.isArray(e)}(e)}function Dn(e){return"string"==typeof e}function xn(e){return!Dn(e)}function En(e){return!e}function kn(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function In(e){return e.replace(/[&<>'"_]/g,"-")}function Mn(e,t){return new Error(e.languageId+": "+t)}function Tn(e,t,n,i,o){var r=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,(function(t,s,a,u,l,c,d,h,f){return En(a)?En(u)?!En(l)&&l<i.length?kn(e,i[l]):!En(d)&&e&&"string"==typeof e[d]?e[d]:(null===r&&(r=o.split(".")).unshift(o),!En(c)&&c<r.length?kn(e,r[c]):""):kn(e,n):"$"}))}function An(e,t){for(var n=t;n&&n.length>0;){var i=e.tokenizer[n];if(i)return i;var o=n.lastIndexOf(".");n=o<0?null:n.substr(0,o)}return null}var Rn=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new Pn(e,t);var n=Pn.getStackElementId(e);n.length>0&&(n+="|"),n+=t;var i=this._entries[n];return i||(i=new Pn(e,t),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),Pn=function(){function e(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}return e.getStackElementId=function(e){for(var t="";null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t},e._equals=function(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t},e.prototype.equals=function(t){return e._equals(this,t)},e.prototype.push=function(e){return Rn.create(this,e)},e.prototype.pop=function(){return this.parent},e.prototype.popall=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.switchTo=function(e){return Rn.create(this.parent,e)},e}(),Fn=function(){function e(e,t){this.modeId=e,this.state=t}return e.prototype.equals=function(e){return this.modeId===e.modeId&&this.state.equals(e.state)},e.prototype.clone=function(){return this.state.clone()===this.state?this:new e(this.modeId,this.state)},e}(),Vn=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==t)return new Wn(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new Wn(e,t);var n=Pn.getStackElementId(e),i=this._entries[n];return i||(i=new Wn(e,null),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),Wn=function(){function e(e,t){this.stack=e,this.embeddedModeData=t}return e.prototype.clone=function(){return(this.embeddedModeData?this.embeddedModeData.clone():null)===this.embeddedModeData?this:Vn.create(this.stack,this.embeddedModeData)},e.prototype.equals=function(t){return t instanceof e&&(!!this.stack.equals(t.stack)&&(null===this.embeddedModeData&&null===t.embeddedModeData||null!==this.embeddedModeData&&null!==t.embeddedModeData&&this.embeddedModeData.equals(t.embeddedModeData)))},e}(),Bn=function(){function e(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}return e.prototype.enterMode=function(e,t){this._language=t},e.prototype.emit=function(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._language||(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new K.a(e,t,this._language)))},e.prototype.nestedModeTokenize=function(e,t,n){var i=t.modeId,o=t.state,r=Re.y.get(i);if(!r)return this.enterMode(n,i),this.emit(n,""),o;var s=r.tokenize(e,o,n);return this._tokens=this._tokens.concat(s.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,s.endState},e.prototype.finalize=function(e){return new K.b(this._tokens,e)},e}(),jn=function(){function e(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}return e.prototype.enterMode=function(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id},e.prototype.emit=function(e,t){var n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))},e._merge=function(e,t,n){var i=null!==e?e.length:0,o=t.length,r=null!==n?n.length:0;if(0===i&&0===o&&0===r)return new Uint32Array(0);if(0===i&&0===o)return n;if(0===o&&0===r)return e;var s=new Uint32Array(i+o+r);null!==e&&s.set(e);for(var a=0;a<o;a++)s[i+a]=t[a];return null!==n&&s.set(n,i+o),s},e.prototype.nestedModeTokenize=function(t,n,i){var o=n.modeId,r=n.state,s=Re.y.get(o);if(!s)return this.enterMode(i,o),this.emit(i,""),r;var a=s.tokenize2(t,r,i);return this._prependTokens=e._merge(this._prependTokens,this._tokens,a.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,a.endState},e.prototype.finalize=function(t){return new K.c(e._merge(this._prependTokens,this._tokens,null),t)},e}(),Hn=function(){function e(e,t,n,i){var o=this;this._modeService=e,this._standaloneThemeService=t,this._modeId=n,this._lexer=i,this._embeddedModes=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);var r=!1;this._tokenizationRegistryListener=Re.y.onDidChange((function(e){if(!r){for(var t=!1,n=0,i=e.changedLanguages.length;n<i;n++){var s=e.changedLanguages[n];if(o._embeddedModes[s]){t=!0;break}}t&&(r=!0,Re.y.fire([o._modeId]),r=!1)}}))}return e.prototype.dispose=function(){this._tokenizationRegistryListener.dispose()},e.prototype.getLoadStatus=function(){var t=[];for(var n in this._embeddedModes){var i=Re.y.get(n);if(i){if(i instanceof e){var o=i.getLoadStatus();!1===o.loaded&&t.push(o.promise)}}else{var r=Re.y.getPromise(n);r&&t.push(r)}}return 0===t.length?{loaded:!0}:{loaded:!1,promise:Promise.all(t).then((function(e){}))}},e.prototype.getInitialState=function(){var e=Rn.create(null,this._lexer.start);return Vn.create(e,null)},e.prototype.tokenize=function(e,t,n){var i=new Bn,o=this._tokenize(e,t,n,i);return i.finalize(o)},e.prototype.tokenize2=function(e,t,n){var i=new jn(this._modeService,this._standaloneThemeService.getTheme().tokenTheme),o=this._tokenize(e,t,n,i);return i.finalize(o)},e.prototype._tokenize=function(e,t,n,i){return t.embeddedModeData?this._nestedTokenize(e,t,n,i):this._myTokenize(e,t,n,i)},e.prototype._findLeavingNestedModeOffset=function(e,t){var n=this._lexer.tokenizer[t.stack.state];if(!n&&!(n=An(this._lexer,t.stack.state)))throw Mn(this._lexer,"tokenizer state is not defined: "+t.stack.state);for(var i=-1,o=!1,r=0,s=n;r<s.length;r++){var a=s[r];if(xn(a.action)&&"@pop"===a.action.nextEmbedded){o=!0;var u=a.regex,l=a.regex.source;"^(?:"===l.substr(0,4)&&")"===l.substr(l.length-1,1)&&(u=new RegExp(l.substr(4,l.length-5),u.ignoreCase?"i":""));var c=e.search(u);-1===c||0!==c&&a.matchOnlyAtLineStart||(-1===i||c<i)&&(i=c)}}if(!o)throw Mn(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+t.stack.state);return i},e.prototype._nestedTokenize=function(e,t,n,i){var o=this._findLeavingNestedModeOffset(e,t);if(-1===o){var r=i.nestedModeTokenize(e,t.embeddedModeData,n);return Vn.create(t.stack,new Fn(t.embeddedModeData.modeId,r))}var s=e.substring(0,o);s.length>0&&i.nestedModeTokenize(s,t.embeddedModeData,n);var a=e.substring(o);return this._myTokenize(a,t,n+o,i)},e.prototype._safeRuleName=function(e){return e?e.name:"(unknown)"},e.prototype._myTokenize=function(e,t,n,i){i.enterMode(n,this._modeId);for(var o,r,s=e.length,a=t.embeddedModeData,u=t.stack,l=0,c=null,d=!0;d||l<s;){var h=l,f=u.depth,p=c?c.groups.length:0,g=u.state,m=null,v=null,_=null,y=null,b=null;if(c){m=c.matches;var C=c.groups.shift();v=C.matched,_=C.action,y=c.rule,0===c.groups.length&&(c=null)}else{if(!d&&l>=s)break;d=!1;var w=this._lexer.tokenizer[g];if(!w&&!(w=An(this._lexer,g)))throw Mn(this._lexer,"tokenizer state is not defined: "+g);for(var S=e.substr(l),L=0,N=w;L<N.length;L++){var O=N[L];if((0===l||!O.matchOnlyAtLineStart)&&(m=S.match(O.regex))){v=m[0],_=O.action;break}}}if(m||(m=[""],v=""),_||(l<s&&(v=(m=[e.charAt(l)])[0]),_=this._lexer.defaultToken),null===v)break;for(l+=v.length;On(_)&&xn(_)&&_.test;)_=_.test(v,m,g,l===s);var D=null;if("string"==typeof _||Array.isArray(_))D=_;else if(_.group)D=_.group;else if(null!==_.token&&void 0!==_.token){if(D=_.tokenSubst?Tn(this._lexer,_.token,v,m,g):_.token,_.nextEmbedded)if("@pop"===_.nextEmbedded){if(!a)throw Mn(this._lexer,"cannot pop embedded mode if not inside one");a=null}else{if(a)throw Mn(this._lexer,"cannot enter embedded mode from within an embedded mode");b=Tn(this._lexer,_.nextEmbedded,v,m,g)}if(_.goBack&&(l=Math.max(0,l-_.goBack)),_.switchTo&&"string"==typeof _.switchTo){if("@"===(x=Tn(this._lexer,_.switchTo,v,m,g))[0]&&(x=x.substr(1)),!An(this._lexer,x))throw Mn(this._lexer,"trying to switch to a state '"+x+"' that is undefined in rule: "+this._safeRuleName(y));u=u.switchTo(x)}else{if(_.transform&&"function"==typeof _.transform)throw Mn(this._lexer,"action.transform not supported");if(_.next)if("@push"===_.next){if(u.depth>=this._lexer.maxStack)throw Mn(this._lexer,"maximum tokenizer stack size reached: ["+u.state+","+u.parent.state+",...]");u=u.push(g)}else if("@pop"===_.next){if(u.depth<=1)throw Mn(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(y));u=u.pop()}else if("@popall"===_.next)u=u.popall();else{var x;if("@"===(x=Tn(this._lexer,_.next,v,m,g))[0]&&(x=x.substr(1)),!An(this._lexer,x))throw Mn(this._lexer,"trying to set a next state '"+x+"' that is undefined in rule: "+this._safeRuleName(y));u=u.push(x)}}_.log&&"string"==typeof _.log&&(o=this._lexer,r=this._lexer.languageId+": "+Tn(this._lexer,_.log,v,m,g),console.log(o.languageId+": "+r))}if(null===D)throw Mn(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(y));if(Array.isArray(D)){if(c&&c.groups.length>0)throw Mn(this._lexer,"groups cannot be nested: "+this._safeRuleName(y));if(m.length!==D.length+1)throw Mn(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(y));for(var E=0,k=1;k<m.length;k++)E+=m[k].length;if(E!==v.length)throw Mn(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(y));c={rule:y,matches:m,groups:[]};for(k=0;k<D.length;k++)c.groups[k]={action:D[k],matched:m[k+1]};l-=v.length}else{if("@rematch"===D&&(l-=v.length,v="",m=null,D=""),0===v.length){if(0===s||f!==u.depth||g!==u.state||(c?c.groups.length:0)!==p)continue;throw Mn(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(y))}var I=null;if(Dn(D)&&0===D.indexOf("@brackets")){var M=D.substr("@brackets".length),T=zn(this._lexer,v);if(!T)throw Mn(this._lexer,"@brackets token returned but no bracket defined as: "+v);I=In(T.token+M)}else{I=In(""===D?"":D+this._lexer.tokenPostfix)}if(i.emit(h+n,I),null!==b){var A=this._modeService.getModeIdForLanguageName(b);A&&(b=A);var R=this._getNestedEmbeddedModeData(b);if(l<s){S=e.substr(l);return this._nestedTokenize(S,Vn.create(u,R),n+l,i)}return Vn.create(u,R)}}}return Vn.create(u,a)},e.prototype._getNestedEmbeddedModeData=function(e){var t=this._locateMode(e);if(t){var n=Re.y.get(t);if(n)return new Fn(t,n.getInitialState())}return new Fn(t||Pe.b,Pe.c)},e.prototype._locateMode=function(e){if(!e||!this._modeService.isRegisteredMode(e))return null;if(e===this._modeId)return e;var t=this._modeService.getModeId(e);return t&&(this._modeService.triggerMode(t),this._embeddedModes[t]=!0),t},e}();function zn(e,t){if(!t)return null;t=kn(e,t);for(var n=0,i=e.brackets;n<i.length;n++){var o=i[n];if(o.open===t)return{token:o.token,bracketType:1};if(o.close===t)return{token:o.token,bracketType:-1}}return null}var Un=function(){function e(){}return e.colorizeElement=function(e,t,n,i){var o=(i=i||{}).theme||"vs",r=i.mimeType||n.getAttribute("lang")||n.getAttribute("data-lang");if(!r)return console.error("Mode not detected"),Promise.resolve();e.setTheme(o);var s=n.firstChild?n.firstChild.nodeValue:"";n.className+=" "+o;return this.colorize(t,s||"",r,i).then((function(e){n.innerHTML=e}),(function(e){return console.error(e)}))},e.colorize=function(e,t,n,i){var o=4;i&&"number"==typeof i.tabSize&&(o=i.tabSize),ne.J(t)&&(t=t.substr(1));var r=t.split(/\r\n|\r|\n/),s=e.getModeId(n);if(!s)return Promise.resolve(qn(r,o));e.triggerMode(s);var a=Re.y.get(s);if(a)return Kn(r,o,a);var u=Re.y.getPromise(s);return new Promise(u?function(e,t){u.then((function(n){Kn(r,o,n).then(e,t)}),t)}:function(e,t){var n=null,i=null,a=function(){n&&(n.dispose(),n=null),i&&(i.dispose(),i=null);var a=Re.y.get(s);a?Kn(r,o,a).then(e,t):e(qn(r,o))};(i=new We.e).cancelAndSet(a,500),n=Re.y.onDidChange((function(e){e.changedLanguages.indexOf(s)>=0&&a()}))})},e.colorizeLine=function(e,t,n,i,o){void 0===o&&(o=4);var r=Sn.isBasicASCII(e,t),s=Sn.containsRTL(e,r,n);return _n(new fn(!1,!0,e,!1,r,s,0,i,[],o,0,0,0,-1,"none",!1,!1,null)).html},e.colorizeModelLine=function(e,t,n){void 0===n&&(n=4);var i=e.getLineContent(t);e.forceTokenization(t);var o=e.getLineTokens(t).inflate();return this.colorizeLine(i,e.mightContainNonBasicASCII(),e.mightContainRTL(),o,n)},e}();function Kn(e,t,n){return new Promise((function(i,o){var r=function(){var s=function(e,t,n){for(var i=[],o=n.getInitialState(),r=0,s=e.length;r<s;r++){var a=e[r],u=n.tokenize2(a,o,0);on.a.convertToEndOffset(u.tokens,a.length);var l=new on.a(u.tokens,a),c=Sn.isBasicASCII(a,!0),d=Sn.containsRTL(a,c,!0),h=_n(new fn(!1,!0,a,!1,c,d,0,l.inflate(),[],t,0,0,0,-1,"none",!1,!1,null));(i=i.concat(h.html)).push("<br/>"),o=u.endState}return i.join("")}(e,t,n);if(n instanceof Hn){var a=n.getLoadStatus();if(!1===a.loaded)return void a.promise.then(r,o)}i(s)};r()}))}function qn(e,t){var n=[],i=new Uint32Array(2);i[0]=0,i[1]=16793600;for(var o=0,r=e.length;o<r;o++){var s=e[o];i[0]=s.length;var a=new on.a(i,s),u=Sn.isBasicASCII(s,!0),l=Sn.containsRTL(s,u,!0),c=_n(new fn(!1,!0,s,!1,u,l,0,a,[],t,0,0,0,-1,"none",!1,!1,null));(n=n.concat(c.html)).push("<br/>")}return n.join("")}var Gn=n("uDWl"),Yn=n("S3by");var Zn=n("3/fG"),Xn=n("ic2d"),Jn=n("3Rsk"),Qn=n("QDVR"),$n="base.contributions.configuration",ei={properties:{},patternProperties:{}},ti={properties:{},patternProperties:{}},ni={properties:{},patternProperties:{}},ii={properties:{},patternProperties:{}},oi={properties:{},patternProperties:{}},ri={properties:{},patternProperties:{}},si=Xn.a.as(Jn.a.JSONContribution),ai=function(){function e(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new W.a,this._onDidUpdateConfiguration=new W.a,this.defaultOverridesConfigurationNode={id:"defaultOverrides",title:Zn.a("defaultConfigurations.title","Default Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultOverridesConfigurationNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},si.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema)}return e.prototype.registerConfiguration=function(e,t){void 0===t&&(t=!0),this.registerConfigurations([e],t)},e.prototype.registerConfigurations=function(e,t){var n=this;void 0===t&&(t=!0);var i=[];e.forEach((function(e){i.push.apply(i,n.validateAndRegisterProperties(e,t)),n.configurationContributors.push(e),n.registerJSONConfiguration(e)})),si.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(i)},e.prototype.registerOverrideIdentifiers=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];this.overrideIdentifiers.add(i)}this.updateOverridePropertyPatternKey()},e.prototype.validateAndRegisterProperties=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=3),n=je.l(e.scope)?n:e.scope;var i=[],o=e.properties;if(o)for(var r in o)if(t&&di(r))delete o[r];else{var s=o[r],a=s.default;je.k(a)&&(s.default=li(s.type)),ui.test(r)?s.scope=void 0:s.scope=je.l(s.scope)?n:s.scope,!o[r].hasOwnProperty("included")||o[r].included?(this.configurationProperties[r]=o[r],i.push(r)):(this.excludedConfigurationProperties[r]=o[r],delete o[r])}var u=e.allOf;if(u)for(var l=0,c=u;l<c.length;l++){var d=c[l];i.push.apply(i,this.validateAndRegisterProperties(d,t,n))}return i},e.prototype.getConfigurationProperties=function(){return this.configurationProperties},e.prototype.registerJSONConfiguration=function(e){var t=this,n=function(e){var i=e.properties;if(i)for(var o in i)switch(ei.properties[o]=i[o],i[o].scope){case 1:ti.properties[o]=i[o];break;case 2:ni.properties[o]=i[o];break;case 6:ii.properties[o]=i[o];break;case 3:oi.properties[o]=i[o];break;case 4:ri.properties[o]=i[o];break;case 5:ri.properties[o]=i[o],t.resourceLanguageSettingsSchema.properties[o]=i[o]}var r=e.allOf;r&&r.forEach(n)};n(e)},e.prototype.updateOverridePropertyPatternKey=function(){for(var e,t=0,n=Object(Qn.e)(this.overrideIdentifiers);t<n.length;t++){var i="["+n[t]+"]",o={type:"object",description:Zn.a("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:Zn.a("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:"vscode://schemas/settings/resourceLanguage",default:null===(e=this.defaultOverridesConfigurationNode.properties[i])||void 0===e?void 0:e.default};ei.properties[i]=o,ti.properties[i]=o,ni.properties[i]=o,ii.properties[i]=o,oi.properties[i]=o,ri.properties[i]=o}this._onDidSchemaChange.fire()},e}(),ui=new RegExp("\\[.*\\]$");function li(e){switch(Array.isArray(e)?e[0]:e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}var ci=new ai;function di(e){return ui.test(e)?Zn.a("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==ci.getConfigurationProperties()[e]?Zn.a("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):null}Xn.a.add($n,ci);var hi=Object.prototype.hasOwnProperty;function fi(e,t){var n=function(n){if(hi.call(e,n)&&!1===t({key:n,value:e[n]},(function(){delete e[n]})))return{value:void 0}};for(var i in e){var o=n(i);if("object"==typeof o)return o.value}}var pi=function(){function e(){this.map=new Map}return e.prototype.add=function(e,t){var n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)},e.prototype.delete=function(e,t){var n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))},e.prototype.forEach=function(e,t){var n=this.map.get(e);n&&n.forEach(t)},e}(),gi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),mi=function(){return(mi=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},vi=new(function(){function e(){this._tabFocus=!1,this._onDidChangeTabFocus=new W.a,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}return e.prototype.getTabFocusMode=function(){return this._tabFocus},e.prototype.setTabFocusMode=function(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))},e}()),_i=Object.hasOwnProperty,yi=function(){function e(){this._values=[]}return e.prototype._read=function(e){return this._values[e]},e.prototype.get=function(e){return this._values[e]},e.prototype._write=function(e,t){this._values[e]=t},e}(),bi=function(){function e(){this._values=[]}return e.prototype._read=function(e){return this._values[e]},e.prototype._write=function(e,t){this._values[e]=t},e}(),Ci=function(){function e(){}return e.readOptions=function(e){for(var t=e,n=new bi,i=0,o=F.i;i<o.length;i++){var r=o[i],s="_never_"===r.name?void 0:t[r.name];n._write(r.id,s)}return n},e.validateOptions=function(e){for(var t=new F.h,n=0,i=F.i;n<i.length;n++){var o=i[n];t._write(o.id,o.validate(e._read(o.id)))}return t},e.computeOptions=function(e,t){for(var n=new yi,i=0,o=F.i;i<o.length;i++){var r=o[i];n._write(r.id,r.compute(t,n,e._read(r.id)))}return n},e._deepEquals=function(t,n){if("object"!=typeof t||"object"!=typeof n)return t===n;if(Array.isArray(t)||Array.isArray(n))return!(!Array.isArray(t)||!Array.isArray(n))&&Xe.f(t,n);for(var i in t)if(!e._deepEquals(t[i],n[i]))return!1;return!0},e.checkEquals=function(t,n){for(var i=[],o=!1,r=0,s=F.i;r<s.length;r++){var a=s[r],u=!e._deepEquals(t._read(a.id),n._read(a.id));i[a.id]=u,u&&(o=!0)}return o?new F.a(i):null},e}();function wi(e){var t=Le.a(e);return function(e){var t=e.wordWrap;!0===t?e.wordWrap="on":!1===t&&(e.wordWrap="off");var n=e.lineNumbers;!0===n?e.lineNumbers="on":!1===n&&(e.lineNumbers="off"),!1===e.autoClosingBrackets&&(e.autoClosingBrackets="never",e.autoClosingQuotes="never",e.autoSurround="never"),"visible"===e.cursorBlinking&&(e.cursorBlinking="solid");var i=e.renderWhitespace;!0===i?e.renderWhitespace="boundary":!1===i&&(e.renderWhitespace="none");var o=e.renderLineHighlight;!0===o?e.renderLineHighlight="line":!1===o&&(e.renderLineHighlight="none");var r=e.acceptSuggestionOnEnter;!0===r?e.acceptSuggestionOnEnter="on":!1===r&&(e.acceptSuggestionOnEnter="off");var s=e.tabCompletion;!1===s?e.tabCompletion="off":!0===s&&(e.tabCompletion="onlySnippets");var a=e.suggest;if(a&&"object"==typeof a.filteredTypes&&a.filteredTypes){var u={method:"showMethods",function:"showFunctions",constructor:"showConstructors",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};fi(u,(function(e){var t=a.filteredTypes[e.key];!1===t&&(a[e.value]=t)}))}var l=e.hover;!0===l?e.hover={enabled:!0}:!1===l&&(e.hover={enabled:!1});var c=e.parameterHints;!0===c?e.parameterHints={enabled:!0}:!1===c&&(e.parameterHints={enabled:!1});var d=e.autoIndent;!0===d?e.autoIndent="full":!1===d&&(e.autoIndent="advanced");var h=e.matchBrackets;!0===h?e.matchBrackets="always":!1===h&&(e.matchBrackets="never")}(t),t}var Si,Li=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidChange=i._register(new W.a),i.onDidChange=i._onDidChange.event,i.isSimpleWidget=t,i._isDominatedByLongLines=!1,i._lineNumbersDigitCount=1,i._rawOptions=wi(n),i._readOptions=Ci.readOptions(i._rawOptions),i._validatedOptions=Ci.validateOptions(i._readOptions),i._register(xe.onDidChangeZoomLevel((function(e){return i._recomputeOptions()}))),i._register(vi.onDidChangeTabFocus((function(e){return i._recomputeOptions()}))),i}return gi(t,e),t.prototype.observeReferenceElement=function(e){},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._recomputeOptions=function(){var e=this.options,t=this._computeInternalOptions();if(e){var n=Ci.checkEquals(e,t);if(null===n)return;this.options=t,this._onDidChange.fire(n)}else this.options=t},t.prototype.getRawOptions=function(){return this._rawOptions},t.prototype._computeInternalOptions=function(){var e=this._getEnvConfiguration(),t=Ie.createFromValidatedSettings(this._validatedOptions,e.zoomLevel,this.isSimpleWidget),n={outerWidth:e.outerWidth,outerHeight:e.outerHeight,fontInfo:this.readConfiguration(t),extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:vi.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport};return Ci.computeOptions(this._validatedOptions,n)},t._subsetEquals=function(e,t){for(var n in t)if(_i.call(t,n)){var i=t[n],o=e[n];if(o===i)continue;if(Array.isArray(o)&&Array.isArray(i)){if(!Xe.f(o,i))return!1;continue}if("object"==typeof o&&"object"==typeof i){if(!this._subsetEquals(o,i))return!1;continue}return!1}return!0},t.prototype.updateOptions=function(e){if(void 0!==e){var n=wi(e);t._subsetEquals(this._rawOptions,n)||(this._rawOptions=Le.d(this._rawOptions,n||{}),this._readOptions=Ci.readOptions(this._rawOptions),this._validatedOptions=Ci.validateOptions(this._readOptions),this._recomputeOptions())}},t.prototype.setIsDominatedByLongLines=function(e){this._isDominatedByLongLines=e,this._recomputeOptions()},t.prototype.setMaxLineNumber=function(e){var n=t._digitCount(e);this._lineNumbersDigitCount!==n&&(this._lineNumbersDigitCount=n,this._recomputeOptions())},t._digitCount=function(e){for(var t=0;e;)e=Math.floor(e/10),t++;return t||1},t}(le.a),Ni=Object.freeze({id:"editor",order:5,type:"object",title:Zn.a("editorConfigurationTitle","Editor"),scope:5}),Oi=Xn.a.as($n),Di=mi(mi({},Ni),{properties:{"editor.tabSize":{type:"number",default:F.c.tabSize,minimum:1,markdownDescription:Zn.a("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:F.c.insertSpaces,markdownDescription:Zn.a("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:F.c.detectIndentation,markdownDescription:Zn.a("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:F.c.trimAutoWhitespace,description:Zn.a("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:F.c.largeFileOptimizations,description:Zn.a("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:Zn.a("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.semanticHighlighting.enabled":{type:"boolean",default:!1,description:Zn.a("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:Zn.a("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:Zn.a("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:Zn.a("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:Zn.a("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:Zn.a("ignoreTrimWhitespace","Controls whether the diff editor shows changes in leading or trailing whitespace as diffs.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:Zn.a("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")}}});for(var xi=0,Ei=F.i;xi<Ei.length;xi++){var ki=Ei[xi],Ii=ki.schema;if(void 0!==Ii)if(void 0!==(Si=Ii).type||void 0!==Si.anyOf)Di.properties["editor."+ki.name]=Ii;else for(var Mi in Ii)_i.call(Ii,Mi)&&(Di.properties[Mi]=Ii[Mi])}var Ti=null;function Ai(){return null===Ti&&(Ti=Object.create(null),Object.keys(Di.properties).forEach((function(e){Ti[e]=!0}))),Ti}Oi.registerConfiguration(Di);var Ri=function(){function e(){}return e.insert=function(e,t){return{range:new z.a(e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}},e.delete=function(e){return{range:e,text:null}},e.replace=function(e,t){return{range:e,text:t}},e.replaceMove=function(e,t){return{range:e,text:t,forceMoveMarkers:!0}},e}(),Pi=Object(ue.c)("configurationService");function Fi(e,t){var n=Object.create(null);for(var i in e)Vi(n,i,e[i],t);return n}function Vi(e,t,n,i){for(var o=t.split("."),r=o.pop(),s=e,a=0;a<o.length;a++){var u=o[a],l=s[u];switch(typeof l){case"undefined":l=s[u]=Object.create(null);break;case"object":break;default:return void i("Ignoring "+t+" as "+o.slice(0,a+1).join(".")+" is "+JSON.stringify(l))}s=l}"object"==typeof s?s[r]=n:i("Ignoring "+t+" as "+o.join(".")+" is "+JSON.stringify(s))}function Wi(e,t){!function e(t,n){var i=n.shift();if(0===n.length)return void delete t[i];if(-1!==Object.keys(t).indexOf(i)){var o=t[i];"object"!=typeof o||Array.isArray(o)||(e(o,n),0===Object.keys(o).length&&delete t[i])}}(e,t.split("."))}function Bi(e,t,n){var i=function(e,t){for(var n=e,i=0,o=t;i<o.length;i++){var r=o[i];if("object"!=typeof n||null===n)return;n=n[r]}return n}(e,t.split("."));return void 0===i?n:i}function ji(e){return e.substring(1,e.length-1)}var Hi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),zi=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Ui=function(){function e(e,t,n){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===n&&(n=[]),this._contents=e,this._keys=t,this._overrides=n,this.isFrozen=!1}return Object.defineProperty(e.prototype,"contents",{get:function(){return this.checkAndFreeze(this._contents)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overrides",{get:function(){return this.checkAndFreeze(this._overrides)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keys",{get:function(){return this.checkAndFreeze(this._keys)},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length},e.prototype.getValue=function(e){return e?Bi(this.contents,e):this.contents},e.prototype.getOverrideValue=function(e,t){var n=this.getContentsForOverrideIdentifer(t);return n?e?Bi(n,e):n:void 0},e.prototype.override=function(t){var n=this.getContentsForOverrideIdentifer(t);if(!n||"object"!=typeof n||!Object.keys(n).length)return this;for(var i={},o=0,r=Xe.d(zi(Object.keys(this.contents),Object.keys(n)));o<r.length;o++){var s=r[o],a=this.contents[s],u=n[s];u&&("object"==typeof a&&"object"==typeof u?(a=Le.a(a),this.mergeContents(a,u)):a=u),i[s]=a}return new e(i,this.keys,this.overrides)},e.prototype.merge=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i=Le.a(this.contents),o=Le.a(this.overrides),r=zi(this.keys),s=0,a=t;s<a.length;s++){var u=a[s];this.mergeContents(i,u.contents);for(var l=function(e){var t=o.filter((function(t){return Xe.f(t.identifiers,e.identifiers)}))[0];t?c.mergeContents(t.contents,e.contents):o.push(Le.a(e))},c=this,d=0,h=u.overrides;d<h.length;d++){var f=h[d];l(f)}for(var p=0,g=u.keys;p<g.length;p++){var m=g[p];-1===r.indexOf(m)&&r.push(m)}}return new e(i,r,o)},e.prototype.freeze=function(){return this.isFrozen=!0,this},e.prototype.mergeContents=function(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var o=i[n];o in e&&je.i(e[o])&&je.i(t[o])?this.mergeContents(e[o],t[o]):e[o]=Le.a(t[o])}},e.prototype.checkAndFreeze=function(e){return this.isFrozen&&!Object.isFrozen(e)?Le.b(e):e},e.prototype.getContentsForOverrideIdentifer=function(e){for(var t=0,n=this.overrides;t<n.length;t++){var i=n[t];if(-1!==i.identifiers.indexOf(e))return i.contents}return null},e.prototype.toJSON=function(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}},e.prototype.setValue=function(e,t){this.addKey(e),Vi(this.contents,e,t,(function(e){throw new Error(e)}))},e.prototype.removeValue=function(e){this.removeKey(e)&&Wi(this.contents,e)},e.prototype.addKey=function(e){for(var t=this.keys.length,n=0;n<t;n++)0===e.indexOf(this.keys[n])&&(t=n);this.keys.splice(t,1,e)},e.prototype.removeKey=function(e){var t=this.keys.indexOf(e);return-1!==t&&(this.keys.splice(t,1),!0)},e}(),Ki=function(e){function t(){for(var t,n=function(){var e=Object.create(null),t=Xn.a.as($n).getConfigurationProperties();for(var n in t){Vi(e,n,t[n].default,(function(e){return console.error("Conflict in default settings: "+e)}))}return e}(),i=(t=Xn.a.as($n).getConfigurationProperties(),Object.keys(t)),o=[],r=0,s=Object.keys(n);r<s.length;r++){var a=s[r];ui.test(a)&&o.push({identifiers:[ji(a).trim()],keys:Object.keys(n[a]),contents:Fi(n[a],(function(e){return console.error("Conflict in default settings file: "+e)}))})}return e.call(this,n,i,o)||this}return Hi(t,e),t}(Ui),qi=function(){function e(e,t,n,i,o,r,s,a){void 0===n&&(n=new Ui),void 0===i&&(i=new Ui),void 0===o&&(o=new Qn.b),void 0===r&&(r=new Ui),void 0===s&&(s=new Qn.b),void 0===a&&(a=!0),this._defaultConfiguration=e,this._localUserConfiguration=t,this._remoteUserConfiguration=n,this._workspaceConfiguration=i,this._folderConfigurations=o,this._memoryConfiguration=r,this._memoryConfigurationByResource=s,this._freeze=a,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new Qn.b,this._userConfiguration=null}return e.prototype.getValue=function(e,t,n){return this.getConsolidateConfigurationModel(t,n).getValue(e)},e.prototype.updateValue=function(e,t,n){var i;void 0===n&&(n={}),n.resource?(i=this._memoryConfigurationByResource.get(n.resource))||(i=new Ui,this._memoryConfigurationByResource.set(n.resource,i)):i=this._memoryConfiguration,void 0===t?i.removeValue(e):i.setValue(e,t),n.resource||(this._workspaceConsolidatedConfiguration=null)},e.prototype.inspect=function(e,t,n){var i=this.getConsolidateConfigurationModel(t,n),o=this.getFolderConfigurationModelForResource(t.resource,n),r=t.resource&&this._memoryConfigurationByResource.get(t.resource)||this._memoryConfiguration,s=t.overrideIdentifier?this._defaultConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._defaultConfiguration.freeze().getValue(e),a=t.overrideIdentifier?this.userConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.userConfiguration.freeze().getValue(e),u=t.overrideIdentifier?this.localUserConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.localUserConfiguration.freeze().getValue(e),l=t.overrideIdentifier?this.remoteUserConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.remoteUserConfiguration.freeze().getValue(e),c=n?t.overrideIdentifier?this._workspaceConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._workspaceConfiguration.freeze().getValue(e):void 0,d=o?t.overrideIdentifier?o.freeze().override(t.overrideIdentifier).getValue(e):o.freeze().getValue(e):void 0,h=t.overrideIdentifier?r.override(t.overrideIdentifier).getValue(e):r.getValue(e),f=i.getValue(e),p=Xe.d(Xe.j(i.overrides.map((function(e){return e.identifiers})))).filter((function(t){return void 0!==i.getOverrideValue(e,t)}));return{defaultValue:s,userValue:a,userLocalValue:u,userRemoteValue:l,workspaceValue:c,workspaceFolderValue:d,memoryValue:h,value:f,default:void 0!==s?{value:this._defaultConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this._defaultConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,user:void 0!==a?{value:this.userConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.userConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,userLocal:void 0!==u?{value:this.localUserConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.localUserConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,userRemote:void 0!==l?{value:this.remoteUserConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.remoteUserConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,workspace:void 0!==c?{value:this._workspaceConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this._workspaceConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,workspaceFolder:void 0!==d?{value:null==o?void 0:o.freeze().getValue(e),override:t.overrideIdentifier?null==o?void 0:o.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,memory:void 0!==h?{value:r.getValue(e),override:t.overrideIdentifier?r.getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,overrideIdentifiers:p.length?p:void 0}},Object.defineProperty(e.prototype,"userConfiguration",{get:function(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"localUserConfiguration",{get:function(){return this._localUserConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"remoteUserConfiguration",{get:function(){return this._remoteUserConfiguration},enumerable:!0,configurable:!0}),e.prototype.getConsolidateConfigurationModel=function(e,t){var n=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?n.override(e.overrideIdentifier):n},e.prototype.getConsolidatedConfigurationModelForResource=function(e,t){var n=e.resource,i=this.getWorkspaceConsolidatedConfiguration();if(t&&n){var o=t.getFolder(n);o&&(i=this.getFolderConsolidatedConfiguration(o.uri)||i);var r=this._memoryConfigurationByResource.get(n);r&&(i=i.merge(r))}return i},e.prototype.getWorkspaceConsolidatedConfiguration=function(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration},e.prototype.getFolderConsolidatedConfiguration=function(e){var t=this._foldersConsolidatedConfigurations.get(e);if(!t){var n=this.getWorkspaceConsolidatedConfiguration(),i=this._folderConfigurations.get(e);i?(t=n.merge(i),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t},e.prototype.getFolderConfigurationModelForResource=function(e,t){if(t&&e){var n=t.getFolder(e);if(n)return this._folderConfigurations.get(n.uri)}},e}(),Gi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Yi=function(e){function t(t,n,i,o){var r=e.call(this)||this;return r._contextKeyService=t,r._commandService=n,r._telemetryService=i,r._notificationService=o,r._onDidUpdateKeybindings=r._register(new W.a),r._currentChord=null,r._currentChordChecker=new We.c,r._currentChordStatusMessage=null,r}return Gi(t,e),Object.defineProperty(t.prototype,"onDidUpdateKeybindings",{get:function(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:W.b.None},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getKeybindings=function(){return this._getResolver().getKeybindings()},t.prototype.lookupKeybinding=function(e){var t=this._getResolver().lookupPrimaryKeybinding(e);if(t)return t.resolvedKeybinding},t.prototype.softDispatch=function(e,t){var n=this.resolveKeyboardEvent(e);if(n.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;var i=n.getDispatchParts()[0];if(null===i)return null;var o=this._contextKeyService.getContext(t),r=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(o,r,i)},t.prototype._enterChordMode=function(e,t){var n=this;this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(Zn.a("first.chord","({0}) was pressed. Waiting for second key of chord...",t));var i=Date.now();this._currentChordChecker.cancelAndSet((function(){n._documentHasFocus()?Date.now()-i>5e3&&n._leaveChordMode():n._leaveChordMode()}),500)},t.prototype._leaveChordMode=function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null},t.prototype._dispatch=function(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t)},t.prototype._doDispatch=function(e,t){var n=this,i=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var o=e.getDispatchParts()[0];if(null===o)return i;var r=this._contextKeyService.getContext(t),s=this._currentChord?this._currentChord.keypress:null,a=e.getLabel(),u=this._getResolver().resolve(r,s,o);return u&&u.enterChord?(i=!0,this._enterChordMode(o,a),i):(this._currentChord&&(u&&u.commandId||(this._notificationService.status(Zn.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,a),{hideAfter:1e4}),i=!0)),this._leaveChordMode(),u&&u.commandId&&(u.bubble||(i=!0),void 0===u.commandArgs?this._commandService.executeCommand(u.commandId).then(void 0,(function(e){return n._notificationService.warn(e)})):this._commandService.executeCommand(u.commandId,u.commandArgs).then(void 0,(function(e){return n._notificationService.warn(e)})),this._telemetryService.publicLog2("workbenchActionExecuted",{id:u.commandId,from:"keybinding"})),i)},t.prototype.mightProducePrintableCharacter=function(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)},t}(le.a),Zi=n("T8No"),Xi=function(){function e(t,n){this._defaultKeybindings=t,this._defaultBoundCommands=new Map;for(var i=0,o=t.length;i<o;i++){var r=t[i].command;r&&this._defaultBoundCommands.set(r,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=e.combine(t,n);for(i=0,o=this._keybindings.length;i<o;i++){var s=this._keybindings[i];0!==s.keypressParts.length&&this._addKeyPress(s.keypressParts[0],s)}}return e._isTargetedForRemoval=function(e,t,n,i,o){if(e.command!==i)return!1;if(t&&e.keypressParts[0]!==t)return!1;if(n&&e.keypressParts[1]!==n)return!1;if(o){if(!e.when)return!1;if(!o.equals(e.when))return!1}return!0},e.combine=function(e,t){e=e.slice(0);for(var n=[],i=0,o=t;i<o.length;i++){var r=o[i];if(r.command&&0!==r.command.length&&"-"===r.command.charAt(0))for(var s=r.command.substr(1),a=r.keypressParts[0],u=r.keypressParts[1],l=r.when,c=e.length-1;c>=0;c--)this._isTargetedForRemoval(e[c],a,u,s,l)&&e.splice(c,1);else n.push(r)}return e.concat(n)},e.prototype._addKeyPress=function(t,n){var i=this._map.get(t);if(void 0===i)return this._map.set(t,[n]),void this._addToLookupMap(n);for(var o=i.length-1;o>=0;o--){var r=i[o];if(r.command!==n.command){var s=r.keypressParts.length>1,a=n.keypressParts.length>1;s&&a&&r.keypressParts[1]!==n.keypressParts[1]||e.whenIsEntirelyIncluded(r.when,n.when)&&this._removeFromLookupMap(r)}}i.push(n),this._addToLookupMap(n)},e.prototype._addToLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);void 0===t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}},e.prototype._removeFromLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);if(void 0!==t)for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return void t.splice(n,1)}},e.whenIsEntirelyIncluded=function(e,t){return!t||!!e&&this._implies(e,t)},e._implies=function(e,t){for(var n=function(e){return e instanceof Zi.b?e.expr:[e]},i=n(e.negate()).concat(n(t)),o=0;o<i.length;o++)for(var r=i[o].negate(),s=o+1;s<i.length;s++){var a=i[s];if(r.equals(a))return!0}return!1},e.prototype.getKeybindings=function(){return this._keybindings},e.prototype.lookupPrimaryKeybinding=function(e){var t=this._lookupMap.get(e);return void 0===t||0===t.length?null:t[t.length-1]},e.prototype.resolve=function(e,t,n){var i=null;if(null!==t){if(void 0===(a=this._map.get(t)))return null;i=[];for(var o=0,r=a.length;o<r;o++){var s=a[o];s.keypressParts[1]===n&&i.push(s)}}else{var a;if(void 0===(a=this._map.get(n)))return null;i=a}var u=this._findCommand(e,i);return u?null===t&&u.keypressParts.length>1&&null!==u.keypressParts[1]?{enterChord:!0,commandId:null,commandArgs:null,bubble:!1}:{enterChord:!1,commandId:u.command,commandArgs:u.commandArgs,bubble:u.bubble}:null},e.prototype._findCommand=function(t,n){for(var i=n.length-1;i>=0;i--){var o=n[i];if(e.contextMatchesRules(t,o.when))return o}return null},e.contextMatchesRules=function(e,t){return!t||t.evaluate(e)},e}(),Ji=n("nrhi"),Qi=function(e,t,n,i,o){this.resolvedKeybinding=e,this.keypressParts=e?function(e){for(var t=[],n=0,i=e.length;n<i;n++){var o=e[n];if(!o)return t;t.push(o)}return t}(e.getDispatchParts()):[],this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=n,this.when=i,this.isDefault=o};var $i=function(){function e(e,t,n){void 0===n&&(n=t),this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=n}return e.prototype.toLabel=function(e,t,n){if(0===t.length)return null;for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=n(s);if(null===a)return null;i[o]=no(s,a,this.modifierLabels[e])}return i.join(" ")},e}(),eo=new $i({ctrlKey:"⌃",shiftKey:"⇧",altKey:"⌥",metaKey:"⌘",separator:""},{ctrlKey:Zn.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:Zn.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:Zn.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:Zn.a({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:Zn.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:Zn.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:Zn.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:Zn.a({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),to=new $i({ctrlKey:Zn.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Zn.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Zn.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Zn.a({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:Zn.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Zn.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Zn.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Zn.a({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:Zn.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Zn.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Zn.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Zn.a({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function no(e,t,n){if(null===t)return"";var i=[];return e.ctrlKey&&i.push(n.ctrlKey),e.shiftKey&&i.push(n.shiftKey),e.altKey&&i.push(n.altKey),e.metaKey&&i.push(n.metaKey),i.push(t),i.join(n.separator)}var io,oo,ro=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),so=function(e){function t(t,n){var i=e.call(this)||this;if(0===n.length)throw Object(Be.b)("parts");return i._os=t,i._parts=n,i}return ro(t,e),t.prototype.getLabel=function(){var e=this;return eo.toLabel(this._os,this._parts,(function(t){return e._getLabel(t)}))},t.prototype.getAriaLabel=function(){var e=this;return to.toLabel(this._os,this._parts,(function(t){return e._getAriaLabel(t)}))},t.prototype.isChord=function(){return this._parts.length>1},t.prototype.getParts=function(){var e=this;return this._parts.map((function(t){return e._getPart(t)}))},t.prototype._getPart=function(e){return new B.d(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))},t.prototype.getDispatchParts=function(){var e=this;return this._parts.map((function(t){return e._getDispatchPart(t)}))},t}(B.c),ao=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),uo=function(e){function t(t,n){return e.call(this,n,t.parts)||this}return ao(t,e),t.prototype._keyCodeToUILabel=function(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return B.b.toString(e)},t.prototype._getLabel=function(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)},t.prototype._getAriaLabel=function(e){return e.isDuplicateModifierCase()?"":B.b.toString(e.keyCode)},t.prototype._getDispatchPart=function(e){return t.getDispatchStr(e)},t.getDispatchStr=function(e){if(e.isModifierKey())return null;var t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=B.b.toString(e.keyCode)},t}(so),lo=n("sM1p"),co=Object(ue.c)("contextService");!function(e){e.isIWorkspace=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&Array.isArray(e.folders)}}(io||(io={})),(oo||(oo={})).isIWorkspaceFolder=function(e){return e&&"object"==typeof e&&j.a.isUri(e.uri)&&"string"==typeof e.name&&"function"==typeof e.toResource};!function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=null),this._id=e,this._configuration=n,this._foldersMap=Qn.c.forPaths(),this.folders=t}Object.defineProperty(e.prototype,"folders",{get:function(){return this._folders},set:function(e){this._folders=e,this.updateFoldersMap()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"configuration",{get:function(){return this._configuration},set:function(e){this._configuration=e},enumerable:!0,configurable:!0}),e.prototype.getFolder=function(e){return e&&this._foldersMap.findSubstr(e.with({scheme:e.scheme,authority:e.authority,path:e.path}).toString())||null},e.prototype.updateFoldersMap=function(){this._foldersMap=Qn.c.forPaths();for(var e=0,t=this.folders;e<t.length;e++){var n=t[e];this._foldersMap.set(n.uri.toString(),n)}},e.prototype.toJSON=function(){return{id:this.id,folders:this.folders,configuration:this.configuration}}}();var ho,fo,po,go,mo,vo,_o,yo,bo,Co,wo,So,Lo,No=function(){function e(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}return e.prototype.toResource=function(e){return function(e){for(var t,n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return n=e.scheme===$.b.file?j.a.file(te.join.apply(te,oe([re(e)],i))).path:(t=te.posix).join.apply(t,oe([e.path||"/"],i)),e.with({path:n})}(this.uri,e)},e.prototype.toJSON=function(){return{uri:this.uri,name:this.name,index:this.index}},e}();(fo=ho||(ho={})).noSelection=Zn.a("noSelection","No selection"),fo.singleSelectionRange=Zn.a("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),fo.singleSelection=Zn.a("singleSelection","Line {0}, Column {1}"),fo.multiSelectionRange=Zn.a("multiSelectionRange","{0} selections ({1} characters selected)"),fo.multiSelection=Zn.a("multiSelection","{0} selections"),fo.emergencyConfOn=Zn.a("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),fo.openingDocs=Zn.a("openingDocs","Now opening the Editor Accessibility documentation page."),fo.readonlyDiffEditor=Zn.a("readonlyDiffEditor"," in a read-only pane of a diff editor."),fo.editableDiffEditor=Zn.a("editableDiffEditor"," in a pane of a diff editor."),fo.readonlyEditor=Zn.a("readonlyEditor"," in a read-only code editor"),fo.editableEditor=Zn.a("editableEditor"," in a code editor"),fo.changeConfigToOnMac=Zn.a("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),fo.changeConfigToOnWinLinux=Zn.a("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),fo.auto_on=Zn.a("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),fo.auto_off=Zn.a("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),fo.tabFocusModeOnMsg=Zn.a("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),fo.tabFocusModeOnMsgNoKb=Zn.a("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),fo.tabFocusModeOffMsg=Zn.a("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),fo.tabFocusModeOffMsgNoKb=Zn.a("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),fo.openDocMac=Zn.a("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),fo.openDocWinLinux=Zn.a("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),fo.outroMsg=Zn.a("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),fo.showAccessibilityHelpAction=Zn.a("showAccessibilityHelpAction","Show Accessibility Help"),(po||(po={})).inspectTokensAction=Zn.a("inspectTokens","Developer: Inspect Tokens"),(mo=go||(go={})).gotoLineLabelValidLineAndColumn=Zn.a("gotoLineLabelValidLineAndColumn","Go to line {0} and character {1}"),mo.gotoLineLabelValidLine=Zn.a("gotoLineLabelValidLine","Go to line {0}"),mo.gotoLineLabelEmptyWithLineLimit=Zn.a("gotoLineLabelEmptyWithLineLimit","Type a line number between 1 and {0} to navigate to"),mo.gotoLineLabelEmptyWithLineAndColumnLimit=Zn.a("gotoLineLabelEmptyWithLineAndColumnLimit","Type a character between 1 and {0} to navigate to"),mo.gotoLineAriaLabel=Zn.a("gotoLineAriaLabel","Current Line: {0}. Go to line {1}."),mo.gotoLineActionInput=Zn.a("gotoLineActionInput","Type a line number, followed by an optional colon and a character number to navigate to"),mo.gotoLineActionLabel=Zn.a("gotoLineActionLabel","Go to Line..."),(_o=vo||(vo={})).ariaLabelEntryWithKey=Zn.a("ariaLabelEntryWithKey","{0}, {1}, commands"),_o.ariaLabelEntry=Zn.a("ariaLabelEntry","{0}, commands"),_o.quickCommandActionInput=Zn.a("quickCommandActionInput","Type the name of an action you want to execute"),_o.quickCommandActionLabel=Zn.a("quickCommandActionLabel","Command Palette"),(bo=yo||(yo={})).entryAriaLabel=Zn.a("entryAriaLabel","{0}, symbols"),bo.quickOutlineActionInput=Zn.a("quickOutlineActionInput","Type the name of an identifier you wish to navigate to"),bo.quickOutlineActionLabel=Zn.a("quickOutlineActionLabel","Go to Symbol..."),bo._symbols_=Zn.a("symbols","symbols ({0})"),bo._modules_=Zn.a("modules","modules ({0})"),bo._class_=Zn.a("class","classes ({0})"),bo._interface_=Zn.a("interface","interfaces ({0})"),bo._method_=Zn.a("method","methods ({0})"),bo._function_=Zn.a("function","functions ({0})"),bo._property_=Zn.a("property","properties ({0})"),bo._variable_=Zn.a("variable","variables ({0})"),bo._variable2_=Zn.a("variable2","variables ({0})"),bo._constructor_=Zn.a("_constructor","constructors ({0})"),bo._call_=Zn.a("call","calls ({0})"),(wo=Co||(Co={})).editorViewAccessibleLabel=Zn.a("editorViewAccessibleLabel","Editor content"),wo.accessibilityHelpMessageIE=Zn.a("accessibilityHelpMessageIE","Press Ctrl+F1 for Accessibility Options."),wo.accessibilityHelpMessage=Zn.a("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options."),(So||(So={})).toggleHighContrast=Zn.a("toggleHighContrast","Toggle High Contrast Theme"),(Lo||(Lo={})).bulkEditServiceSummary=Zn.a("bulkEditServiceSummary","Made {0} edits in {1} files");var Oo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Do=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},xo=function(e,t){return function(n,i){t(n,i,e)}},Eo=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},ko=function(){function e(e){this.model=e,this._onDispose=new W.a}return Object.defineProperty(e.prototype,"textEditorModel",{get:function(){return this.model},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._onDispose.fire()},e}();function Io(e,t,n){return(i=e)&&"function"==typeof i.getEditorType&&i.getEditorType()===Te.a.ICodeEditor?t(e):n(e);var i}var Mo=function(){function e(e){this.modelService=e}return e.prototype.setEditor=function(e){this.editor=e},e.prototype.createModelReference=function(e){var t=this,n=null;return this.editor&&(n=Io(this.editor,(function(n){return t.findModel(n,e)}),(function(n){return t.findModel(n.getOriginalEditor(),e)||t.findModel(n.getModifiedEditor(),e)}))),n?Promise.resolve(new le.c(new ko(n))):Promise.reject(new Error("Model not found"))},e.prototype.findModel=function(e,t){var n=this.modelService?this.modelService.getModel(t):e.getModel();return n&&n.uri.toString()!==t.toString()?null:n},e}(),To=function(){function e(){}return e.prototype.show=function(){return e.NULL_PROGRESS_RUNNER},e.prototype.showWhile=function(e,t){return Promise.resolve(void 0)},e.NULL_PROGRESS_RUNNER={done:function(){},total:function(){},worked:function(){}},e}(),Ao=function(){},Ro=function(){function e(){}return e.prototype.info=function(e){return this.notify({severity:Yn.a.Info,message:e})},e.prototype.warn=function(e){return this.notify({severity:Yn.a.Warning,message:e})},e.prototype.error=function(e){return this.notify({severity:Yn.a.Error,message:e})},e.prototype.notify=function(t){switch(t.severity){case Yn.a.Error:console.error(t.message);break;case Yn.a.Warning:console.warn(t.message);break;default:console.log(t.message)}return e.NO_OP},e.prototype.status=function(e,t){return le.a.None},e.NO_OP=new lo.b,e}(),Po=function(){function e(e){this._onWillExecuteCommand=new W.a,this._onDidExecuteCommand=new W.a,this._instantiationService=e,this._dynamicCommands=Object.create(null)}return e.prototype.addCommand=function(e){var t=this,n=e.id;return this._dynamicCommands[n]=e,Object(le.f)((function(){delete t._dynamicCommands[n]}))},e.prototype.executeCommand=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=ae.a.getCommand(e)||this._dynamicCommands[e];if(!i)return Promise.reject(new Error("command '"+e+"' not found"));try{this._onWillExecuteCommand.fire({commandId:e,args:t});var o=this._instantiationService.invokeFunction.apply(this._instantiationService,Eo([i.handler],t));return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(o)}catch(e){return Promise.reject(e)}},e}(),Fo=function(e){function t(t,n,i,o,r){var s=e.call(this,t,n,i,o)||this;return s._cachedResolver=null,s._dynamicKeybindings=[],s._register(Z.g(r,Z.c.KEY_DOWN,(function(e){var t=new Gn.a(e);s._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())}))),s}return Oo(t,e),t.prototype.addDynamicKeybinding=function(e,t,n,i){var o=this,r=Object(B.f)(t,ie.a),s=new le.b;r&&(this._dynamicKeybindings.push({keybinding:r,command:e,when:i,weight1:1e3,weight2:0}),s.add(Object(le.f)((function(){for(var t=0;t<o._dynamicKeybindings.length;t++){if(o._dynamicKeybindings[t].command===e)return o._dynamicKeybindings.splice(t,1),void o.updateResolver({source:1})}}))));var a=this._commandService;if(!(a instanceof Po))throw new Error("Unknown command service!");return s.add(a.addCommand({id:e,handler:n})),this.updateResolver({source:1}),s},t.prototype.updateResolver=function(e){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(e)},t.prototype._getResolver=function(){if(!this._cachedResolver){var e=this._toNormalizedKeybindingItems(Ji.a.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new Xi(e,t)}return this._cachedResolver},t.prototype._documentHasFocus=function(){return document.hasFocus()},t.prototype._toNormalizedKeybindingItems=function(e,t){for(var n=[],i=0,o=0,r=e;o<r.length;o++){var s=r[o],a=s.when||void 0,u=s.keybinding;if(u)for(var l=0,c=this.resolveKeybinding(u);l<c.length;l++){var d=c[l];n[i++]=new Qi(d,s.command,s.commandArgs,a,t)}else n[i++]=new Qi(void 0,s.command,s.commandArgs,a,t)}return n},t.prototype.resolveKeybinding=function(e){return[new uo(e,ie.a)]},t.prototype.resolveKeyboardEvent=function(e){var t=new B.e(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new uo(t,ie.a)},t}(Yi);function Vo(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof j.a)}var Wo=function(){function e(){this._onDidChangeConfiguration=new W.a,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new qi(new Ki,new Ui)}return e.prototype.configuration=function(){return this._configuration},e.prototype.getValue=function(e,t){var n="string"==typeof e?e:void 0,i=Vo(e)?e:Vo(t)?t:{};return this.configuration().getValue(n,i,void 0)},e.prototype.updateValue=function(e,t,n,i){return this.configuration().updateValue(e,t),Promise.resolve()},e.prototype.inspect=function(e,t){return void 0===t&&(t={}),this.configuration().inspect(e,t,void 0)},e}(),Bo=function(){function e(e){var t=this;this.configurationService=e,this._onDidChangeConfiguration=new W.a,this.configurationService.onDidChangeConfiguration((function(e){t._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:function(t,n){return e.affectsConfiguration(n)}})}))}return e.prototype.getValue=function(e,t,n){var i=(H.a.isIPosition(t)?t:null)?"string"==typeof n?n:void 0:"string"==typeof t?t:void 0;return void 0===i?this.configurationService.getValue():this.configurationService.getValue(i)},e}(),jo=function(){function e(e){this.configurationService=e}return e.prototype.getEOL=function(e,t){var n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"auto"!==n?n:ie.d||ie.e?"\n":"\r\n"},e=Do([xo(0,Pi)],e)}(),Ho=function(){function e(){}return e.prototype.publicLog=function(e,t){return Promise.resolve(void 0)},e.prototype.publicLog2=function(e,t){return this.publicLog(e,t)},e}(),zo=function(){function e(){var t=j.a.from({scheme:e.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new No({uri:t,name:"",index:0})]}}return e.prototype.getWorkspace=function(){return this.workspace},e.prototype.getWorkspaceFolder=function(t){return t&&t.scheme===e.SCHEME?this.workspace.folders[0]:null},e.SCHEME="inmemory",e}();function Uo(e,t,n){t&&e instanceof Wo&&Object.keys(t).forEach((function(i){(function(e){return Ai()["editor."+e]||!1})(i)&&e.updateValue("editor."+i,t[i]),n&&function(e){return Ai()["diffEditor."+e]||!1}(i)&&e.updateValue("diffEditor."+i,t[i])}))}var Ko=function(){function e(e){this._modelService=e}return e.prototype.hasPreviewHandler=function(){return!1},e.prototype.apply=function(e,t){var n=new Map;if(e.edits)for(var i=0,o=e.edits;i<o.length;i++){var r=o[i];if(!Re.A.is(r))return Promise.reject(new Error("bad edit - only text edits are supported"));var s=this._modelService.getModel(r.resource);if(!s)return Promise.reject(new Error("bad edit - model not found"));var a=n.get(s);a||(a=[],n.set(s,a)),a.push(r.edit)}var u=0,l=0;return n.forEach((function(e,t){t.pushStackElement(),t.pushEditOperations([],e.map((function(e){return Ri.replaceMove(z.a.lift(e.range),e.text)})),(function(){return[]})),t.pushStackElement(),l+=1,u+=e.length})),Promise.resolve({selection:void 0,ariaSummary:ne.p(Lo.bulkEditServiceSummary,u,l)})},e}(),qo=function(){function e(){}return e.prototype.getUriLabel=function(e,t){return"file"===e.scheme?e.fsPath:e.path},e}(),Go=function(){function e(e){this._container=e,this.onLayout=W.b.None}return Object.defineProperty(e.prototype,"container",{get:function(){return this._container},enumerable:!0,configurable:!0}),e}(),Yo=n("D3Dy"),Zo=n("OBOq"),Xo=(n("lrmC"),function(){function e(e,t){this.chr=e,this.type=t,this.width=0}return e.prototype.fulfill=function(e){this.width=e},e}()),Jo=function(){function e(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}return e.prototype.read=function(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null},e.prototype._createDomElements=function(){var t=document.createElement("div");t.style.position="absolute",t.style.top="-50000px",t.style.width="50000px";var n=document.createElement("div");n.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),n.style.fontWeight=this._bareFontInfo.fontWeight,n.style.fontSize=this._bareFontInfo.fontSize+"px",n.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,n.style.lineHeight=this._bareFontInfo.lineHeight+"px",n.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",t.appendChild(n);var i=document.createElement("div");i.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),i.style.fontWeight="bold",i.style.fontSize=this._bareFontInfo.fontSize+"px",i.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,i.style.lineHeight=this._bareFontInfo.lineHeight+"px",i.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",t.appendChild(i);var o=document.createElement("div");o.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),o.style.fontWeight=this._bareFontInfo.fontWeight,o.style.fontSize=this._bareFontInfo.fontSize+"px",o.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,o.style.lineHeight=this._bareFontInfo.lineHeight+"px",o.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",o.style.fontStyle="italic",t.appendChild(o);for(var r=[],s=0,a=this._requests;s<a.length;s++){var u=a[s],l=void 0;0===u.type&&(l=n),2===u.type&&(l=i),1===u.type&&(l=o),l.appendChild(document.createElement("br"));var c=document.createElement("span");e._render(c,u),l.appendChild(c),r.push(c)}this._container=t,this._testElements=r},e._render=function(e,t){if(" "===t.chr){for(var n=" ",i=0;i<8;i++)n+=n;e.innerHTML=n}else{var o=t.chr;for(i=0;i<8;i++)o+=o;e.textContent=o}},e.prototype._readFromDomElements=function(){for(var e=0,t=this._requests.length;e<t;e++){var n=this._requests[e],i=this._testElements[e];n.fulfill(i.offsetWidth/256)}},e}();var Qo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),$o=function(e){function t(t,n,i){var o=e.call(this)||this;return o.referenceDomElement=t,o.changeCallback=i,o.width=-1,o.height=-1,o.mutationObserver=null,o.windowSizeListener=null,o.measureReferenceDomElement(!1,n),o}return Qo(t,e),t.prototype.dispose=function(){this.stopObserving(),e.prototype.dispose.call(this)},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.startObserving=function(){var e=this;!this.mutationObserver&&this.referenceDomElement&&(this.mutationObserver=new MutationObserver((function(){return e._onDidMutate()})),this.mutationObserver.observe(this.referenceDomElement,{attributes:!0})),this.windowSizeListener||(this.windowSizeListener=Z.g(window,"resize",(function(){return e._onDidResizeWindow()})))},t.prototype.stopObserving=function(){this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=null),this.windowSizeListener&&(this.windowSizeListener.dispose(),this.windowSizeListener=null)},t.prototype.observe=function(e){this.measureReferenceDomElement(!0,e)},t.prototype._onDidMutate=function(){this.measureReferenceDomElement(!0)},t.prototype._onDidResizeWindow=function(){this.measureReferenceDomElement(!0)},t.prototype.measureReferenceDomElement=function(e,t){var n=0,i=0;t?(n=t.width,i=t.height):this.referenceDomElement&&(n=this.referenceDomElement.clientWidth,i=this.referenceDomElement.clientHeight),n=Math.max(5,n),i=Math.max(5,i),this.width===n&&this.height===i||(this.width=n,this.height=i,e&&this.changeCallback())},t}(le.a),er=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),tr=function(){function e(){this._keys=Object.create(null),this._values=Object.create(null)}return e.prototype.has=function(e){var t=e.getId();return!!this._values[t]},e.prototype.get=function(e){var t=e.getId();return this._values[t]},e.prototype.put=function(e,t){var n=e.getId();this._keys[n]=e,this._values[n]=t},e.prototype.remove=function(e){var t=e.getId();delete this._keys[t],delete this._values[t]},e.prototype.getValues=function(){var e=this;return Object.keys(this._keys).map((function(t){return e._values[t]}))},e}();var nr=function(e){function t(){var t=e.call(this)||this;return t._onDidChange=t._register(new W.a),t.onDidChange=t._onDidChange.event,t._cache=new tr,t._evictUntrustedReadingsTimeout=-1,t}return er(t,e),t.prototype.dispose=function(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),e.prototype.dispose.call(this)},t.prototype.clearCache=function(){this._cache=new tr,this._onDidChange.fire()},t.prototype._writeToCache=function(e,t){var n=this;this._cache.put(e,t),t.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=setTimeout((function(){n._evictUntrustedReadingsTimeout=-1,n._evictUntrustedReadings()}),5e3))},t.prototype._evictUntrustedReadings=function(){for(var e=this._cache.getValues(),t=!1,n=0,i=e.length;n<i;n++){var o=e[n];o.isTrusted||(t=!0,this._cache.remove(o))}t&&this._onDidChange.fire()},t.prototype.readConfiguration=function(e){if(!this._cache.has(e)){var n=t._actualReadConfiguration(e);(n.typicalHalfwidthCharacterWidth<=2||n.typicalFullwidthCharacterWidth<=2||n.spaceWidth<=2||n.maxDigitWidth<=2)&&(n=new Me({zoomLevel:Yo.c(),fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,fontFeatureSettings:n.fontFeatureSettings,lineHeight:n.lineHeight,letterSpacing:n.letterSpacing,isMonospace:n.isMonospace,typicalHalfwidthCharacterWidth:Math.max(n.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(n.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:n.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(n.spaceWidth,5),middotWidth:Math.max(n.middotWidth,5),maxDigitWidth:Math.max(n.maxDigitWidth,5)},!1)),this._writeToCache(e,n)}return this._cache.get(e)},t.createRequest=function(e,t,n,i){var o=new Xo(e,t);return n.push(o),i&&i.push(o),o},t._actualReadConfiguration=function(e){var t=[],n=[],i=this.createRequest("n",0,t,n),o=this.createRequest("m",0,t,null),r=this.createRequest(" ",0,t,n),s=this.createRequest("0",0,t,n),a=this.createRequest("1",0,t,n),u=this.createRequest("2",0,t,n),l=this.createRequest("3",0,t,n),c=this.createRequest("4",0,t,n),d=this.createRequest("5",0,t,n),h=this.createRequest("6",0,t,n),f=this.createRequest("7",0,t,n),p=this.createRequest("8",0,t,n),g=this.createRequest("9",0,t,n),m=this.createRequest("→",0,t,n),v=this.createRequest("→",0,t,null),_=this.createRequest("·",0,t,n);this.createRequest("|",0,t,n),this.createRequest("/",0,t,n),this.createRequest("-",0,t,n),this.createRequest("_",0,t,n),this.createRequest("i",0,t,n),this.createRequest("l",0,t,n),this.createRequest("m",0,t,n),this.createRequest("|",1,t,n),this.createRequest("_",1,t,n),this.createRequest("i",1,t,n),this.createRequest("l",1,t,n),this.createRequest("m",1,t,n),this.createRequest("n",1,t,n),this.createRequest("|",2,t,n),this.createRequest("_",2,t,n),this.createRequest("i",2,t,n),this.createRequest("l",2,t,n),this.createRequest("m",2,t,n),this.createRequest("n",2,t,n),function(e,t){new Jo(e,t).read()}(e,t);for(var y=Math.max(s.width,a.width,u.width,l.width,c.width,d.width,h.width,f.width,p.width,g.width),b=e.fontFeatureSettings===F.d.OFF,C=n[0].width,w=1,S=n.length;b&&w<S;w++){var L=C-n[w].width;if(L<-.001||L>.001){b=!1;break}}var N=!0;b&&v.width!==C&&(N=!1),v.width>m.width&&(N=!1);var O=Yo.b()>2e3;return new Me({zoomLevel:Yo.c(),fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:b,typicalHalfwidthCharacterWidth:i.width,typicalFullwidthCharacterWidth:o.width,canUseHalfwidthRightwardsArrow:N,spaceWidth:r.width,middotWidth:_.width,maxDigitWidth:y},O)},t.INSTANCE=new t,t}(le.a),ir=function(e){function t(t,n,i,o){void 0===i&&(i=null);var r=e.call(this,t,n)||this;return r.accessibilityService=o,r._elementSizeObserver=r._register(new $o(i,n.dimension,(function(){return r._onReferenceDomElementSizeChanged()}))),r._register(nr.INSTANCE.onDidChange((function(){return r._onCSSBasedConfigurationChanged()}))),r._validatedOptions.get(9)&&r._elementSizeObserver.startObserving(),r._register(Yo.o((function(e){return r._recomputeOptions()}))),r._register(r.accessibilityService.onDidChangeScreenReaderOptimized((function(){return r._recomputeOptions()}))),r._recomputeOptions(),r}return er(t,e),t.applyFontInfoSlow=function(e,t){e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px"},t.applyFontInfo=function(e,t){e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)},t.prototype._onReferenceDomElementSizeChanged=function(){this._recomputeOptions()},t.prototype._onCSSBasedConfigurationChanged=function(){this._recomputeOptions()},t.prototype.observeReferenceElement=function(e){this._elementSizeObserver.observe(e)},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._getExtraEditorClassName=function(){var e="";return Yo.k||Yo.n||(e+="no-user-select "),ie.e&&(e+="mac "),e},t.prototype._getEnvConfiguration=function(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:Yo.m||Yo.h,pixelRatio:Yo.a(),zoomLevel:Yo.c(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}},t.prototype.readConfiguration=function(e){return nr.INSTANCE.readConfiguration(e)},t}(Li),or=n("sswD"),rr=n("ZlPH"),sr=n("pg8w"),ar=n("XSiN"),ur=n("AKMP"),lr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),cr=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.toClientCoordinates=function(){return new dr(this.x-Z.d.scrollX,this.y-Z.d.scrollY)},e}(),dr=function(){function e(e,t){this.clientX=e,this.clientY=t}return e.prototype.toPageCoordinates=function(){return new cr(this.clientX+Z.d.scrollX,this.clientY+Z.d.scrollY)},e}(),hr=function(e,t,n,i){this.x=e,this.y=t,this.width=n,this.height=i};function fr(e){var t=Z.w(e);return new hr(t.left,t.top,t.width,t.height)}var pr=function(e){function t(t,n){var i=e.call(this,t)||this;return i.pos=new cr(i.posx,i.posy),i.editorPos=fr(n),i}return lr(t,e),t}(ar.a),gr=function(){function e(e){this._editorViewDomNode=e}return e.prototype._create=function(e){return new pr(e,this._editorViewDomNode)},e.prototype.onContextMenu=function(e,t){var n=this;return Z.g(e,"contextmenu",(function(e){t(n._create(e))}))},e.prototype.onMouseUp=function(e,t){var n=this;return Z.g(e,"mouseup",(function(e){t(n._create(e))}))},e.prototype.onMouseDown=function(e,t){var n=this;return Z.g(e,"mousedown",(function(e){t(n._create(e))}))},e.prototype.onMouseLeave=function(e,t){var n=this;return Z.h(e,(function(e){t(n._create(e))}))},e.prototype.onMouseMoveThrottled=function(e,t,n,i){var o=this;return Z.j(e,"mousemove",t,(function(e,t){return n(e,o._create(t))}),i)},e}(),mr=function(){function e(e){this._editorViewDomNode=e}return e.prototype._create=function(e){return new pr(e,this._editorViewDomNode)},e.prototype.onPointerUp=function(e,t){var n=this;return Z.g(e,"pointerup",(function(e){t(n._create(e))}))},e.prototype.onPointerDown=function(e,t){var n=this;return Z.g(e,"pointerdown",(function(e){t(n._create(e))}))},e.prototype.onPointerLeave=function(e,t){var n=this;return Z.i(e,(function(e){t(n._create(e))}))},e.prototype.onPointerMoveThrottled=function(e,t,n,i){var o=this;return Z.j(e,"pointermove",t,(function(e,t){return n(e,o._create(t))}),i)},e}(),vr=function(e){function t(t){var n=e.call(this)||this;return n._editorViewDomNode=t,n._globalMouseMoveMonitor=n._register(new ur.a),n._keydownListener=null,n}return lr(t,e),t.prototype.startMonitoring=function(e,t,n,i,o){var r=this;this._keydownListener=Z.k(document,"keydown",(function(e){e.toKeybinding().isModifierKey()||r._globalMouseMoveMonitor.stopMonitoring(!0)}),!0);this._globalMouseMoveMonitor.startMonitoring(e,t,(function(e,t){return n(e,new pr(t,r._editorViewDomNode))}),i,(function(){r._keydownListener.dispose(),o()}))},t}(le.a),_r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),yr=function(e){function t(){var t=e.call(this)||this;return t._shouldRender=!0,t}return _r(t,e),t.prototype.shouldRender=function(){return this._shouldRender},t.prototype.forceShouldRender=function(){this._shouldRender=!0},t.prototype.setShouldRender=function(){this._shouldRender=!0},t.prototype.onDidRender=function(){this._shouldRender=!1},t.prototype.onConfigurationChanged=function(e){return!1},t.prototype.onContentSizeChanged=function(e){return!1},t.prototype.onCursorStateChanged=function(e){return!1},t.prototype.onDecorationsChanged=function(e){return!1},t.prototype.onFlushed=function(e){return!1},t.prototype.onFocusChanged=function(e){return!1},t.prototype.onLanguageConfigurationChanged=function(e){return!1},t.prototype.onLineMappingChanged=function(e){return!1},t.prototype.onLinesChanged=function(e){return!1},t.prototype.onLinesDeleted=function(e){return!1},t.prototype.onLinesInserted=function(e){return!1},t.prototype.onRevealRangeRequest=function(e){return!1},t.prototype.onScrollChanged=function(e){return!1},t.prototype.onThemeChanged=function(e){return!1},t.prototype.onTokensChanged=function(e){return!1},t.prototype.onTokensColorsChanged=function(e){return!1},t.prototype.onZonesChanged=function(e){return!1},t.prototype.handleEvents=function(e){for(var t=!1,n=0,i=e.length;n<i;n++){var o=e[n];switch(o.type){case 1:this.onConfigurationChanged(o)&&(t=!0);break;case 2:this.onContentSizeChanged(o)&&(t=!0);break;case 3:this.onCursorStateChanged(o)&&(t=!0);break;case 4:this.onDecorationsChanged(o)&&(t=!0);break;case 5:this.onFlushed(o)&&(t=!0);break;case 6:this.onFocusChanged(o)&&(t=!0);break;case 7:this.onLanguageConfigurationChanged(o)&&(t=!0);break;case 8:this.onLineMappingChanged(o)&&(t=!0);break;case 9:this.onLinesChanged(o)&&(t=!0);break;case 10:this.onLinesDeleted(o)&&(t=!0);break;case 11:this.onLinesInserted(o)&&(t=!0);break;case 12:this.onRevealRangeRequest(o)&&(t=!0);break;case 13:this.onScrollChanged(o)&&(t=!0);break;case 15:this.onTokensChanged(o)&&(t=!0);break;case 14:this.onThemeChanged(o)&&(t=!0);break;case 16:this.onTokensColorsChanged(o)&&(t=!0);break;case 17:this.onZonesChanged(o)&&(t=!0);break;default:console.info("View received unknown event: "),console.info(o)}}t&&(this._shouldRender=!0)},t}(le.a),br=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Cr=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._context.addEventHandler(n),n}return br(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t}(yr),wr=function(){function e(){}return e.write=function(e,t){rr.a,e.setAttribute("data-mprt",String(t))},e.read=function(e){var t=e.getAttribute("data-mprt");return null===t?0:parseInt(t,10)},e.collect=function(e,t){for(var n=[],i=0;e&&e!==document.body&&e!==t;)e.nodeType===e.ELEMENT_NODE&&(n[i++]=this.read(e)),e=e.parentElement;for(var o=new Uint8Array(i),r=0;r<i;r++)o[r]=n[i-r-1];return o},e}(),Sr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Lr=function(e){function t(t,n,i){var o=e.call(this,t,n)||this;return o._viewLines=i,o}return Sr(t,e),t.prototype.linesVisibleRangesForRange=function(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)},t.prototype.visibleRangeForPosition=function(e){return this._viewLines.visibleRangeForPosition(e)},t}(function(){function e(e,t){this._viewLayout=e,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;var n=this._viewLayout.getCurrentViewport();this.scrollTop=n.top,this.scrollLeft=n.left,this.viewportWidth=n.width,this.viewportHeight=n.height}return e.prototype.getScrolledTopFromAbsoluteTop=function(e){return e-this.scrollTop},e.prototype.getVerticalOffsetForLineNumber=function(e){return this._viewLayout.getVerticalOffsetForLineNumber(e)},e.prototype.getDecorationsInViewport=function(){return this.viewportData.getDecorationsInViewport()},e}()),Nr=function(e,t,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=n},Or=function(){function e(e,t){this.left=Math.round(e),this.width=Math.round(t)}return e.prototype.toString=function(){return"["+this.left+","+this.width+"]"},e}(),Dr=function(e,t){this.outsideRenderedLine=e,this.left=Math.round(t)},xr=function(e,t){this.outsideRenderedLine=e,this.ranges=t},Er=function(){function e(e,t){this.left=e,this.width=t}return e.prototype.toString=function(){return"["+this.left+","+this.width+"]"},e.compare=function(e,t){return e.left-t.left},e}(),kr=function(){function e(){}return e._createRange=function(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange},e._detachRange=function(e,t){e.selectNodeContents(t)},e._readClientRects=function(e,t,n,i,o){var r=this._createRange();try{return r.setStart(e,t),r.setEnd(n,i),r.getClientRects()}catch(e){return null}finally{this._detachRange(r,o)}},e._mergeAdjacentRanges=function(e){if(1===e.length)return[new Or(e[0].left,e[0].width)];e.sort(Er.compare);for(var t=[],n=0,i=e[0].left,o=e[0].width,r=1,s=e.length;r<s;r++){var a=e[r],u=a.left,l=a.width;i+o+.9>=u?o=Math.max(o,u+l-i):(t[n++]=new Or(i,o),i=u,o=l)}return t[n++]=new Or(i,o),t},e._createHorizontalRangesFromClientRects=function(e,t){if(!e||0===e.length)return null;for(var n=[],i=0,o=e.length;i<o;i++){var r=e[i];n[i]=new Er(Math.max(0,r.left-t),r.width)}return this._mergeAdjacentRanges(n)},e.readHorizontalRanges=function(e,t,n,i,o,r,s){var a=e.children.length-1;if(0>a)return null;(t=Math.min(a,Math.max(0,t)))!==(i=Math.min(a,Math.max(0,i)))&&i>0&&0===o&&(i--,o=1073741824);var u=e.children[t].firstChild,l=e.children[i].firstChild;if(u&&l||(!u&&0===n&&t>0&&(u=e.children[t-1].firstChild,n=1073741824),!l&&0===o&&i>0&&(l=e.children[i-1].firstChild,o=1073741824)),!u||!l)return null;n=Math.min(u.textContent.length,Math.max(0,n)),o=Math.min(l.textContent.length,Math.max(0,o));var c=this._readClientRects(u,n,l,o,s);return this._createHorizontalRangesFromClientRects(c,r)},e}(),Ir=n("t9D7"),Mr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Tr=!!ie.f||!(ie.d||Yo.h||Yo.k),Ar=Yo.f,Rr=function(){function e(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}return Object.defineProperty(e.prototype,"clientRectDeltaLeft",{get:function(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft},enumerable:!0,configurable:!0}),e}(),Pr=function(){function e(e,t){this.themeType=t;var n=e.options,i=n.get(34);this.renderWhitespace=n.get(74),this.renderControlCharacters=n.get(69),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.useMonospaceOptimizations=i.isMonospace&&!n.get(23),this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=n.get(49),this.stopRenderingLineAfter=n.get(88),this.fontLigatures=n.get(35)}return e.prototype.equals=function(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures},e}(),Fr=function(){function e(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}return e.prototype.getDomNode=function(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null},e.prototype.setDomNode=function(e){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=Object(rr.b)(e)},e.prototype.onContentChanged=function(){this._isMaybeInvalid=!0},e.prototype.onTokensChanged=function(){this._isMaybeInvalid=!0},e.prototype.onDecorationsChanged=function(){this._isMaybeInvalid=!0},e.prototype.onOptionsChanged=function(e){this._isMaybeInvalid=!0,this._options=e},e.prototype.onSelectionChanged=function(){return!(!Ar&&this._options.themeType!==Ir.b&&"selection"!==this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)},e.prototype.renderLine=function(t,n,i,o){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;var r=i.getViewLineRenderingData(t),s=this._options,a=an.filter(r.inlineDecorations,t,r.minColumn,r.maxColumn),u=null;if(Ar||s.themeType===Ir.b||"selection"===this._options.renderWhitespace)for(var l=0,c=i.selections;l<c.length;l++){var d=c[l];if(!(d.endLineNumber<t||d.startLineNumber>t)){var h=d.startLineNumber===t?d.startColumn:r.minColumn,f=d.endLineNumber===t?d.endColumn:r.maxColumn;h<f&&("selection"!==this._options.renderWhitespace?a.push(new an(h,f,"inline-selected-text",0)):(u||(u=[]),u.push(new hn(h-1,f-1))))}}var p=new fn(s.useMonospaceOptimizations,s.canUseHalfwidthRightwardsArrow,r.content,r.continuesWithWrappedLine,r.isBasicASCII,r.containsRTL,r.minColumn-1,r.tokens,a,r.tabSize,r.startVisibleColumn,s.spaceWidth,s.middotWidth,s.stopRenderingLineAfter,s.renderWhitespace,s.renderControlCharacters,s.fontLigatures!==F.d.OFF,u);if(this._renderedViewLine&&this._renderedViewLine.input.equals(p))return!1;o.appendASCIIString('<div style="top:'),o.appendASCIIString(String(n)),o.appendASCIIString("px;height:"),o.appendASCIIString(String(this._options.lineHeight)),o.appendASCIIString('px;" class="'),o.appendASCIIString(e.CLASS_NAME),o.appendASCIIString('">');var g=mn(p,o);o.appendASCIIString("</div>");var m=null;return Tr&&r.isBasicASCII&&s.useMonospaceOptimizations&&0===g.containsForeignElements&&r.content.length<300&&p.lineTokens.getCount()<100&&(m=new Vr(this._renderedViewLine?this._renderedViewLine.domNode:null,p,g.characterMapping)),m||(m=jr(this._renderedViewLine?this._renderedViewLine.domNode:null,p,g.characterMapping,g.containsRTL,g.containsForeignElements)),this._renderedViewLine=m,!0},e.prototype.layoutLine=function(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))},e.prototype.getWidth=function(){return this._renderedViewLine?this._renderedViewLine.getWidth():0},e.prototype.getWidthIsFast=function(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this._renderedViewLine)return null;e|=0,t|=0,e=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,e)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));var i=0|this._renderedViewLine.input.stopRenderingLineAfter,o=!1;-1!==i&&e>i+1&&t>i+1&&(o=!0),-1!==i&&e>i+1&&(e=i+1),-1!==i&&t>i+1&&(t=i+1);var r=this._renderedViewLine.getVisibleRangesForRange(e,t,n);return r&&r.length>0?new xr(o,r):null},e.prototype.getColumnOfNodeOffset=function(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1},e.CLASS_NAME="view-line",e}(),Vr=function(){function e(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}return e.prototype.getWidth=function(){return this._getCharPosition(this._characterMapping.length)},e.prototype.getWidthIsFast=function(){return!0},e.prototype.getVisibleRangesForRange=function(e,t,n){var i=this._getCharPosition(e),o=this._getCharPosition(t);return[new Or(i,o-i)]},e.prototype._getCharPosition=function(e){var t=this._characterMapping.getAbsoluteOffsets();return 0===t.length?0:Math.round(this._charWidth*t[e-1])},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var i=t.textContent.length,o=-1;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,i,n)+1},e}(),Wr=function(){function e(e,t,n,i,o){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=o,this._cachedWidth=-1,this._pixelOffsetCache=null,!i||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(var r=0,s=this._characterMapping.length;r<=s;r++)this._pixelOffsetCache[r]=-1}}return e.prototype._getReadingTarget=function(e){return e.domNode.firstChild},e.prototype.getWidth=function(){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0},e.prototype.getWidthIsFast=function(){return-1!==this._cachedWidth},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){var i=this._readPixelOffset(this.domNode,e,n);if(-1===i)return null;var o=this._readPixelOffset(this.domNode,t,n);return-1===o?null:[new Or(i,o-i)]}return this._readVisibleRangesForRange(this.domNode,e,t,n)},e.prototype._readVisibleRangesForRange=function(e,t,n,i){if(t===n){var o=this._readPixelOffset(e,t,i);return-1===o?null:[new Or(o,0)]}return this._readRawVisibleRangesForRange(e,t,n,i)},e.prototype._readPixelOffset=function(e,t,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth();var i=this._getReadingTarget(e);return i.firstChild?i.firstChild.offsetWidth:0}if(null!==this._pixelOffsetCache){var o=this._pixelOffsetCache[t];if(-1!==o)return o;var r=this._actualReadPixelOffset(e,t,n);return this._pixelOffsetCache[t]=r,r}return this._actualReadPixelOffset(e,t,n)},e.prototype._actualReadPixelOffset=function(e,t,n){if(0===this._characterMapping.length){var i=kr.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n.clientRectDeltaLeft,n.endNode);return i&&0!==i.length?i[0].left:-1}if(t===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();var o=this._characterMapping.charOffsetToPartData(t-1),r=pn.getPartIndex(o),s=pn.getCharIndex(o),a=kr.readHorizontalRanges(this._getReadingTarget(e),r,s,r,s,n.clientRectDeltaLeft,n.endNode);return a&&0!==a.length?a[0].left:-1},e.prototype._readRawVisibleRangesForRange=function(e,t,n,i){if(1===t&&n===this._characterMapping.length)return[new Or(0,this.getWidth())];var o=this._characterMapping.charOffsetToPartData(t-1),r=pn.getPartIndex(o),s=pn.getCharIndex(o),a=this._characterMapping.charOffsetToPartData(n-1),u=pn.getPartIndex(a),l=pn.getCharIndex(a);return kr.readHorizontalRanges(this._getReadingTarget(e),r,s,u,l,i.clientRectDeltaLeft,i.endNode)},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var i=t.textContent.length,o=-1;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,i,n)+1},e}(),Br=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Mr(t,e),t.prototype._readVisibleRangesForRange=function(t,n,i,o){var r=e.prototype._readVisibleRangesForRange.call(this,t,n,i,o);if(!r||0===r.length||n===i||1===n&&i===this._characterMapping.length)return r;if(!this.input.containsRTL){var s=this._readPixelOffset(t,i,o);if(-1!==s){var a=r[r.length-1];a.left<s&&(a.width=s-a.left)}}return r},t}(Wr),jr=Yo.m?Hr:zr;function Hr(e,t,n,i,o){return new Br(e,t,n,i,o)}function zr(e,t,n,i,o){return new Wr(e,t,n,i,o)}var Ur=n("Ll0s"),Kr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),qr=function(e,t){this.lastViewCursorsRenderData=e,this.lastTextareaPosition=t},Gr=function(){function e(e,t,n,i,o,r){void 0===n&&(n=0),void 0===i&&(i=null),void 0===o&&(o=null),void 0===r&&(r=null),this.element=e,this.type=t,this.mouseColumn=n,this.position=i,!o&&i&&(o=new z.a(i.lineNumber,i.column,i.lineNumber,i.column)),this.range=o,this.detail=r}return e._typeToString=function(e){return 1===e?"TEXTAREA":2===e?"GUTTER_GLYPH_MARGIN":3===e?"GUTTER_LINE_NUMBERS":4===e?"GUTTER_LINE_DECORATIONS":5===e?"GUTTER_VIEW_ZONE":6===e?"CONTENT_TEXT":7===e?"CONTENT_EMPTY":8===e?"CONTENT_VIEW_ZONE":9===e?"CONTENT_WIDGET":10===e?"OVERVIEW_RULER":11===e?"SCROLLBAR":12===e?"OVERLAY_WIDGET":"UNKNOWN"},e.toString=function(e){return this._typeToString(e.type)+": "+e.position+" - "+e.range+" - "+e.detail},e.prototype.toString=function(){return e.toString(this)},e}(),Yr=function(){function e(){}return e.isTextArea=function(e){return 2===e.length&&3===e[0]&&6===e[1]},e.isChildOfViewLines=function(e){return e.length>=4&&3===e[0]&&7===e[3]},e.isStrictChildOfViewLines=function(e){return e.length>4&&3===e[0]&&7===e[3]},e.isChildOfScrollableElement=function(e){return e.length>=2&&3===e[0]&&5===e[1]},e.isChildOfMinimap=function(e){return e.length>=2&&3===e[0]&&8===e[1]},e.isChildOfContentWidgets=function(e){return e.length>=4&&3===e[0]&&1===e[3]},e.isChildOfOverflowingContentWidgets=function(e){return e.length>=1&&2===e[0]},e.isChildOfOverlayWidgets=function(e){return e.length>=2&&3===e[0]&&4===e[1]},e}(),Zr=function(){function e(e,t,n){this.model=e.model;var i=e.configuration.options;this.layoutInfo=i.get(107),this.viewDomNode=t.viewDomNode,this.lineHeight=i.get(49),this.typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,this.lastRenderData=n,this._context=e,this._viewHelper=t}return e.prototype.getZoneAtCoord=function(t){return e.getZoneAtCoord(this._context,t)},e.getZoneAtCoord=function(e,t){var n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){var i=n.verticalOffset+n.height/2,o=e.model.getLineCount(),r=null,s=void 0,a=null;return n.afterLineNumber!==o&&(a=new H.a(n.afterLineNumber+1,1)),n.afterLineNumber>0&&(r=new H.a(n.afterLineNumber,e.model.getLineMaxColumn(n.afterLineNumber))),s=null===a?r:null===r?a:t<i?r:a,{viewZoneId:n.id,afterLineNumber:n.afterLineNumber,positionBefore:r,positionAfter:a,position:s}}return null},e.prototype.getFullLineRangeAtCoord=function(e){if(this._context.viewLayout.isAfterLines(e)){var t=this._context.model.getLineCount(),n=this._context.model.getLineMaxColumn(t);return{range:new z.a(t,n,t,n),isAfterLines:!0}}var i=this._context.viewLayout.getLineNumberAtVerticalOffset(e),o=this._context.model.getLineMaxColumn(i);return{range:new z.a(i,1,i,o),isAfterLines:!1}},e.prototype.getLineNumberAtVerticalOffset=function(e){return this._context.viewLayout.getLineNumberAtVerticalOffset(e)},e.prototype.isAfterLines=function(e){return this._context.viewLayout.isAfterLines(e)},e.prototype.getVerticalOffsetForLineNumber=function(e){return this._context.viewLayout.getVerticalOffsetForLineNumber(e)},e.prototype.findAttribute=function(t,n){return e._findAttribute(t,n,this._viewHelper.viewDomNode)},e._findAttribute=function(e,t,n){for(;e&&e!==document.body;){if(e.hasAttribute&&e.hasAttribute(t))return e.getAttribute(t);if(e===n)return null;e=e.parentNode}return null},e.prototype.getLineWidth=function(e){return this._viewHelper.getLineWidth(e)},e.prototype.visibleRangeForPosition=function(e,t){return this._viewHelper.visibleRangeForPosition(e,t)},e.prototype.getPositionFromDOMInfo=function(e,t){return this._viewHelper.getPositionFromDOMInfo(e,t)},e.prototype.getCurrentScrollTop=function(){return this._context.viewLayout.getCurrentScrollTop()},e.prototype.getCurrentScrollLeft=function(){return this._context.viewLayout.getCurrentScrollLeft()},e}(),Xr=function(e){function t(t,n,i,o){var r=e.call(this,t,n,i)||this;return r._ctx=t,o?(r.target=o,r.targetPath=wr.collect(o,t.viewDomNode)):(r.target=null,r.targetPath=new Uint8Array(0)),r}return Kr(t,e),t.prototype.toString=function(){return"pos("+this.pos.x+","+this.pos.y+"), editorPos("+this.editorPos.x+","+this.editorPos.y+"), mouseVerticalOffset: "+this.mouseVerticalOffset+", mouseContentHorizontalOffset: "+this.mouseContentHorizontalOffset+"\n\ttarget: "+(this.target?this.target.outerHTML:null)},t.prototype.fulfill=function(e,t,n,i){void 0===t&&(t=null),void 0===n&&(n=null),void 0===i&&(i=null);var o=this.mouseColumn;return t&&t.column<this._ctx.model.getLineMaxColumn(t.lineNumber)&&(o=Ur.a.visibleColumnFromColumn(this._ctx.model.getLineContent(t.lineNumber),t.column,this._ctx.model.getOptions().tabSize)+1),new Gr(this.target,e,o,t,n,i)},t.prototype.withTarget=function(e){return new t(this._ctx,this.editorPos,this.pos,e)},t}((function(e,t,n){this.editorPos=t,this.pos=n,this.mouseVerticalOffset=Math.max(0,e.getCurrentScrollTop()+n.y-t.y),this.mouseContentHorizontalOffset=e.getCurrentScrollLeft()+n.x-t.x-e.layoutInfo.contentLeft,this.isInMarginArea=n.x-t.x<e.layoutInfo.contentLeft&&n.x-t.x>=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,$r._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))})),Jr={isAfterLines:!0};function Qr(e){return{isAfterLines:!1,horizontalDistanceToText:e}}var $r=function(){function e(e,t){this._context=e,this._viewHelper=t}return e.prototype.mouseTargetIsWidget=function(e){var t=e.target,n=wr.collect(t,this._viewHelper.viewDomNode);return!(!Yr.isChildOfContentWidgets(n)&&!Yr.isChildOfOverflowingContentWidgets(n))||!!Yr.isChildOfOverlayWidgets(n)},e.prototype.createMouseTarget=function(t,n,i,o){var r=new Zr(this._context,this._viewHelper,t),s=new Xr(r,n,i,o);try{return e._createMouseTarget(r,s,!1)}catch(e){return s.fulfill(0)}},e._createMouseTarget=function(t,n,i){if(null===n.target){if(i)return n.fulfill(0);var o=e._doHitTest(t,n);return o.position?e.createMouseTargetFromHitTestPosition(t,n,o.position.lineNumber,o.position.column):this._createMouseTarget(t,n.withTarget(o.hitTarget),!0)}var r=n,s=null;return(s=(s=(s=(s=(s=(s=(s=(s=(s=(s=s||e._hitTestContentWidget(t,r))||e._hitTestOverlayWidget(t,r))||e._hitTestMinimap(t,r))||e._hitTestScrollbarSlider(t,r))||e._hitTestViewZone(t,r))||e._hitTestMargin(t,r))||e._hitTestViewCursor(t,r))||e._hitTestTextArea(t,r))||e._hitTestViewLines(t,r,i))||e._hitTestScrollbar(t,r))||n.fulfill(0)},e._hitTestContentWidget=function(e,t){if(Yr.isChildOfContentWidgets(t.targetPath)||Yr.isChildOfOverflowingContentWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(9,null,null,n):t.fulfill(0)}return null},e._hitTestOverlayWidget=function(e,t){if(Yr.isChildOfOverlayWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(12,null,null,n):t.fulfill(0)}return null},e._hitTestViewCursor=function(e,t){if(t.target)for(var n=0,i=r=e.lastRenderData.lastViewCursorsRenderData;n<i.length;n++){var o=i[n];if(t.target===o.domNode)return t.fulfill(6,o.position)}if(t.isInContentArea)for(var r=e.lastRenderData.lastViewCursorsRenderData,s=t.mouseContentHorizontalOffset,a=t.mouseVerticalOffset,u=0,l=r;u<l.length;u++){if(!(s<(o=l[u]).contentLeft)&&!(s>o.contentLeft+o.width)){var c=e.getVerticalOffsetForLineNumber(o.position.lineNumber);if(c<=a&&a<=c+o.height)return t.fulfill(6,o.position)}}return null},e._hitTestViewZone=function(e,t){var n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){var i=t.isInContentArea?8:5;return t.fulfill(i,n.position,null,n)}return null},e._hitTestTextArea=function(e,t){return Yr.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfill(6,e.lastRenderData.lastTextareaPosition):t.fulfill(1,e.lastRenderData.lastTextareaPosition):null},e._hitTestMargin=function(e,t){if(t.isInMarginArea){var n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),i=n.range.getStartPosition(),o=Math.abs(t.pos.x-t.editorPos.x),r={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:o};return(o-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,i,n.range,r):(o-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,i,n.range,r):(o-=e.layoutInfo.lineNumbersWidth,t.fulfill(4,i,n.range,r))}return null},e._hitTestViewLines=function(t,n,i){if(!Yr.isChildOfViewLines(n.targetPath))return null;if(t.isAfterLines(n.mouseVerticalOffset)){var o=t.model.getLineCount(),r=t.model.getLineMaxColumn(o);return n.fulfill(7,new H.a(o,r),void 0,Jr)}if(i){if(Yr.isStrictChildOfViewLines(n.targetPath)){var s=t.getLineNumberAtVerticalOffset(n.mouseVerticalOffset);if(0===t.model.getLineLength(s)){var a=t.getLineWidth(s),u=Qr(n.mouseContentHorizontalOffset-a);return n.fulfill(7,new H.a(s,1),void 0,u)}var l=t.getLineWidth(s);if(n.mouseContentHorizontalOffset>=l){u=Qr(n.mouseContentHorizontalOffset-l);var c=new H.a(s,t.model.getLineMaxColumn(s));return n.fulfill(7,c,void 0,u)}}return n.fulfill(0)}var d=e._doHitTest(t,n);return d.position?e.createMouseTargetFromHitTestPosition(t,n,d.position.lineNumber,d.position.column):this._createMouseTarget(t,n.withTarget(d.hitTarget),!0)},e._hitTestMinimap=function(e,t){if(Yr.isChildOfMinimap(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new H.a(n,i))}return null},e._hitTestScrollbarSlider=function(e,t){if(Yr.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){var n=t.target.className;if(n&&/\b(slider|scrollbar)\b/.test(n)){var i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),o=e.model.getLineMaxColumn(i);return t.fulfill(11,new H.a(i,o))}}return null},e._hitTestScrollbar=function(e,t){if(Yr.isChildOfScrollableElement(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new H.a(n,i))}return null},e.prototype.getMouseColumn=function(t,n){var i=this._context.configuration.options,o=i.get(107),r=this._context.viewLayout.getCurrentScrollLeft()+n.x-t.x-o.contentLeft;return e._getMouseColumn(r,i.get(34).typicalHalfwidthCharacterWidth)},e._getMouseColumn=function(e,t){return e<0?1:Math.round(e/t)+1},e.createMouseTargetFromHitTestPosition=function(e,t,n,i){var o=new H.a(n,i),r=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>r){if(Yo.e&&1===o.column){var s=Qr(t.mouseContentHorizontalOffset-r);return t.fulfill(7,new H.a(n,e.model.getLineMaxColumn(n)),void 0,s)}var a=Qr(t.mouseContentHorizontalOffset-r);return t.fulfill(7,o,void 0,a)}var u=e.visibleRangeForPosition(n,i);if(!u)return t.fulfill(0,o);var l=u.left;if(t.mouseContentHorizontalOffset===l)return t.fulfill(6,o);var c=[];if(c.push({offset:u.left,column:i}),i>1){var d=e.visibleRangeForPosition(n,i-1);d&&c.push({offset:d.left,column:i-1})}if(i<e.model.getLineMaxColumn(n)){var h=e.visibleRangeForPosition(n,i+1);h&&c.push({offset:h.left,column:i+1})}c.sort((function(e,t){return e.offset-t.offset}));for(var f=1;f<c.length;f++){var p=c[f-1],g=c[f];if(p.offset<=t.mouseContentHorizontalOffset&&t.mouseContentHorizontalOffset<=g.offset){var m=new z.a(n,p.column,n,g.column);return t.fulfill(6,o,m)}}return t.fulfill(6,o)},e._doHitTestWithCaretRangeFromPoint=function(e,t){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.getVerticalOffsetForLineNumber(n)+Math.floor(e.lineHeight/2),o=t.pos.y+(i-t.mouseVerticalOffset);o<=t.editorPos.y&&(o=t.editorPos.y+1),o>=t.editorPos.y+e.layoutInfo.height&&(o=t.editorPos.y+e.layoutInfo.height-1);var r=new cr(t.pos.x,o),s=this._actualDoHitTestWithCaretRangeFromPoint(e,r.toClientCoordinates());return s.position?s:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())},e._actualDoHitTestWithCaretRangeFromPoint=function(e,t){var n,i=Z.y(e.viewDomNode);if(!(n=i?void 0===i.caretRangeFromPoint?function(e,t,n){var i=document.createRange(),o=e.elementFromPoint(t,n);if(null!==o){for(;o&&o.firstChild&&o.firstChild.nodeType!==o.firstChild.TEXT_NODE;)o=o.lastChild;var r=o.getBoundingClientRect(),s=window.getComputedStyle(o,null).getPropertyValue("font"),a=o.innerText,u=r.left,l=0,c=void 0;if(t>r.left+r.width)l=a.length;else for(var d=es.getInstance(),h=0;h<a.length+1;h++){if(c=d.getCharWidth(a.charAt(h),s)/2,t<(u+=c)){l=h;break}u+=c}i.setStart(o.firstChild,l),i.setEnd(o.firstChild,l)}return i}(i,t.clientX,t.clientY):i.caretRangeFromPoint(t.clientX,t.clientY):document.caretRangeFromPoint(t.clientX,t.clientY))||!n.startContainer)return{position:null,hitTarget:null};var o=n.startContainer,r=null;if(o.nodeType===o.TEXT_NODE){var s=(u=(a=o.parentNode)?a.parentNode:null)?u.parentNode:null;if((s&&s.nodeType===s.ELEMENT_NODE?s.className:null)===Fr.CLASS_NAME)return{position:e.getPositionFromDOMInfo(a,n.startOffset),hitTarget:null};r=o.parentNode}else if(o.nodeType===o.ELEMENT_NODE){var a,u;if(((u=(a=o.parentNode)?a.parentNode:null)&&u.nodeType===u.ELEMENT_NODE?u.className:null)===Fr.CLASS_NAME)return{position:e.getPositionFromDOMInfo(o,o.textContent.length),hitTarget:null};r=o}return{position:null,hitTarget:r}},e._doHitTestWithCaretPositionFromPoint=function(e,t){var n=document.caretPositionFromPoint(t.clientX,t.clientY);if(n.offsetNode.nodeType===n.offsetNode.TEXT_NODE){var i=n.offsetNode.parentNode,o=i?i.parentNode:null,r=o?o.parentNode:null;return(r&&r.nodeType===r.ELEMENT_NODE?r.className:null)===Fr.CLASS_NAME?{position:e.getPositionFromDOMInfo(n.offsetNode.parentNode,n.offset),hitTarget:null}:{position:null,hitTarget:n.offsetNode.parentNode}}return{position:null,hitTarget:n.offsetNode}},e._doHitTestWithMoveToPoint=function(e,t){var n=null,i=null,o=document.body.createTextRange();try{o.moveToPoint(t.clientX,t.clientY)}catch(e){return{position:null,hitTarget:null}}o.collapse(!0);var r=o?o.parentElement():null,s=r?r.parentNode:null,a=s?s.parentNode:null;if((a&&a.nodeType===a.ELEMENT_NODE?a.className:"")===Fr.CLASS_NAME){var u=o.duplicate();u.moveToElementText(r),u.setEndPoint("EndToStart",o),n=e.getPositionFromDOMInfo(r,u.text.length),u.moveToElementText(e.viewDomNode)}else i=r;return o.moveToElementText(e.viewDomNode),{position:n,hitTarget:i}},e._doHitTest=function(e,t){return"function"==typeof document.caretRangeFromPoint?this._doHitTestWithCaretRangeFromPoint(e,t):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(e,t.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(e,t.pos.toClientCoordinates()):{position:null,hitTarget:null}},e}();var es=function(){function e(){this._cache={},this._canvas=document.createElement("canvas")}return e.getInstance=function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE},e.prototype.getCharWidth=function(e,t){var n=e+t;if(this._cache[n])return this._cache[n];var i=this._canvas.getContext("2d");i.font=t;var o=i.measureText(e).width;return this._cache[n]=o,o},e._INSTANCE=null,e}(),ts=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function ns(e){return function(t,n){var i=!1;return e&&(i=e.mouseTargetIsWidget(n)),i||n.preventDefault(),n}}var is=function(e){function t(n,i,o){var r=e.call(this)||this;r._isFocused=!1,r._context=n,r.viewController=i,r.viewHelper=o,r.mouseTargetFactory=new $r(r._context,o),r._mouseDownOperation=r._register(new os(r._context,r.viewController,r.viewHelper,(function(e,t){return r._createMouseTarget(e,t)}),(function(e){return r._getMouseColumn(e)}))),r._asyncFocus=r._register(new We.d((function(){return r.viewHelper.focusTextArea()}),0)),r.lastMouseLeaveTime=-1;var s=new gr(r.viewHelper.viewDomNode);r._register(s.onContextMenu(r.viewHelper.viewDomNode,(function(e){return r._onContextMenu(e,!0)}))),r._register(s.onMouseMoveThrottled(r.viewHelper.viewDomNode,(function(e){return r._onMouseMove(e)}),ns(r.mouseTargetFactory),t.MOUSE_MOVE_MINIMUM_TIME)),r._register(s.onMouseUp(r.viewHelper.viewDomNode,(function(e){return r._onMouseUp(e)}))),r._register(s.onMouseLeave(r.viewHelper.viewDomNode,(function(e){return r._onMouseLeave(e)}))),r._register(s.onMouseDown(r.viewHelper.viewDomNode,(function(e){return r._onMouseDown(e)})));return r._register(Z.g(r.viewHelper.viewDomNode,Yo.f?"mousewheel":"wheel",(function(e){if(r.viewController.emitMouseWheel(e),r._context.configuration.options.get(57)){var t=new ar.b(e);if(t.browserEvent.ctrlKey||t.browserEvent.metaKey){var n=xe.getZoomLevel(),i=t.deltaY>0?1:-1;xe.setZoomLevel(n+i),t.preventDefault(),t.stopPropagation()}}}),{capture:!0,passive:!1})),r._context.addEventHandler(r),r}return ts(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onCursorStateChanged=function(e){return this._mouseDownOperation.onCursorStateChanged(e),!1},t.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!1},t.prototype.onScrollChanged=function(e){return this._mouseDownOperation.onScrollChanged(),!1},t.prototype.getTargetAtClientPoint=function(e,t){var n=new dr(e,t).toPageCoordinates(),i=fr(this.viewHelper.viewDomNode);return n.y<i.y||n.y>i.y+i.height||n.x<i.x||n.x>i.x+i.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),i,n,null)},t.prototype._createMouseTarget=function(e,t){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,t?e.target:null)},t.prototype._getMouseColumn=function(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)},t.prototype._onContextMenu=function(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})},t.prototype._onMouseMove=function(e){this._mouseDownOperation.isActive()||(e.timestamp<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:e,target:this._createMouseTarget(e,!0)}))},t.prototype._onMouseLeave=function(e){this.lastMouseLeaveTime=(new Date).getTime(),this.viewController.emitMouseLeave({event:e,target:null})},t.prototype._onMouseUp=function(e){this.viewController.emitMouseUp({event:e,target:this._createMouseTarget(e,!0)})},t.prototype._onMouseDown=function(e){var t=this,n=this._createMouseTarget(e,!0),i=6===n.type||7===n.type,o=2===n.type||3===n.type||4===n.type,r=3===n.type,s=this._context.configuration.options.get(83),a=8===n.type||5===n.type,u=9===n.type,l=e.leftButton||e.middleButton;ie.e&&e.leftButton&&e.ctrlKey&&(l=!1);var c=function(){Yo.i&&!t._isFocused?t._asyncFocus.schedule():(e.preventDefault(),t.viewHelper.focusTextArea())};if(l&&(i||r&&s))c(),this._mouseDownOperation.start(n.type,e);else if(o)e.preventDefault();else if(a){var d=n.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(d.viewZoneId)&&(c(),this._mouseDownOperation.start(n.type,e),e.preventDefault())}else u&&this.viewHelper.shouldSuppressMouseDownOnWidget(n.detail)&&(c(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:n})},t.MOUSE_MOVE_MINIMUM_TIME=100,t}(yr),os=function(e){function t(t,n,i,o,r){var s=e.call(this)||this;return s._context=t,s._viewController=n,s._viewHelper=i,s._createMouseTarget=o,s._getMouseColumn=r,s._mouseMoveMonitor=s._register(new vr(s._viewHelper.viewDomNode)),s._onScrollTimeout=s._register(new We.e),s._mouseState=new rs,s._currentSelection=new U.a(1,1,1,1),s._isActive=!1,s._lastMouseEvent=null,s}return ts(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.isActive=function(){return this._isActive},t.prototype._onMouseDownThenMove=function(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);var t=this._findMousePosition(e,!0);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))},t.prototype.start=function(e,t){var n=this;this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);var i=this._findMousePosition(t,!0);if(i&&i.position){this._mouseState.trySetCount(t.detail,i.position),t.detail=this._mouseState.count;var o=this._context.configuration.options;if(!o.get(68)&&o.get(24)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===i.type&&i.position&&this._currentSelection.containsPosition(i.position))return this._mouseState.isDragAndDrop=!0,this._isActive=!0,void this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,ns(null),(function(e){return n._onMouseDownThenMove(e)}),(function(){var e=n._findMousePosition(n._lastMouseEvent,!0);n._viewController.emitMouseDrop({event:n._lastMouseEvent,target:e?n._createMouseTarget(n._lastMouseEvent,!0):null}),n._stop()}));this._mouseState.isDragAndDrop=!1,this._dispatchMouse(i,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,ns(null),(function(e){return n._onMouseDownThenMove(e)}),(function(){return n._stop()})))}},t.prototype._stop=function(){this._isActive=!1,this._onScrollTimeout.cancel()},t.prototype.onScrollChanged=function(){var e=this;this._isActive&&this._onScrollTimeout.setIfNotSet((function(){if(e._lastMouseEvent){var t=e._findMousePosition(e._lastMouseEvent,!1);t&&(e._mouseState.isDragAndDrop||e._dispatchMouse(t,!0))}}),10)},t.prototype.onCursorStateChanged=function(e){this._currentSelection=e.selections[0]},t.prototype._getPositionOutsideEditor=function(e){var t=e.editorPos,n=this._context.model,i=this._context.viewLayout,o=this._getMouseColumn(e);if(e.posy<t.y){var r=Math.max(i.getCurrentScrollTop()-(t.y-e.posy),0);if(a=Zr.getZoneAtCoord(this._context,r))if(u=this._helpPositionJumpOverViewZone(a))return new Gr(null,13,o,u);var s=i.getLineNumberAtVerticalOffset(r);return new Gr(null,13,o,new H.a(s,1))}if(e.posy>t.y+t.height){var a,u;r=i.getCurrentScrollTop()+(e.posy-t.y);if(a=Zr.getZoneAtCoord(this._context,r))if(u=this._helpPositionJumpOverViewZone(a))return new Gr(null,13,o,u);var l=i.getLineNumberAtVerticalOffset(r);return new Gr(null,13,o,new H.a(l,n.getLineMaxColumn(l)))}var c=i.getLineNumberAtVerticalOffset(i.getCurrentScrollTop()+(e.posy-t.y));return e.posx<t.x?new Gr(null,13,o,new H.a(c,1)):e.posx>t.x+t.width?new Gr(null,13,o,new H.a(c,n.getLineMaxColumn(c))):null},t.prototype._findMousePosition=function(e,t){var n=this._getPositionOutsideEditor(e);if(n)return n;var i=this._createMouseTarget(e,t);if(!i.position)return null;if(8===i.type||5===i.type){var o=this._helpPositionJumpOverViewZone(i.detail);if(o)return new Gr(i.element,i.type,i.mouseColumn,o,null,i.detail)}return i},t.prototype._helpPositionJumpOverViewZone=function(e){var t=new H.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,i=e.positionAfter;return n&&i?n.isBefore(t)?n:i:null},t.prototype._dispatchMouse=function(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})},t}(le.a),rs=function(){function e(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}return Object.defineProperty(e.prototype,"altKey",{get:function(){return this._altKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ctrlKey",{get:function(){return this._ctrlKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"metaKey",{get:function(){return this._metaKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftKey",{get:function(){return this._shiftKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftButton",{get:function(){return this._leftButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleButton",{get:function(){return this._middleButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startedOnLineNumbers",{get:function(){return this._startedOnLineNumbers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this._lastMouseDownCount},enumerable:!0,configurable:!0}),e.prototype.setModifiers=function(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey},e.prototype.setStartButtons=function(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton},e.prototype.setStartedOnLineNumbers=function(e){this._startedOnLineNumbers=e},e.prototype.trySetCount=function(t,n){var i=(new Date).getTime();i-this._lastSetMouseDownCountTime>e.CLEAR_MOUSE_DOWN_COUNT_TIME&&(t=1),this._lastSetMouseDownCountTime=i,t>this._lastMouseDownCount+1&&(t=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(n)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=n,this._lastMouseDownCount=Math.min(t,this._lastMouseDownPositionEqualCount)},e.CLEAR_MOUSE_DOWN_COUNT_TIME=400,e}(),ss=n("CjF5"),as=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function us(e,t){var n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n}var ls=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o.viewHelper.linesContentDomNode.style.msTouchAction="none",o.viewHelper.linesContentDomNode.style.msContentZooming="none",o._installGestureHandlerTimeout=window.setTimeout((function(){if(o._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=o.viewHelper.linesContentDomNode,t.target=o.viewHelper.linesContentDomNode,o.viewHelper.linesContentDomNode.addEventListener("MSPointerDown",(function(n){var i=n.pointerType;i!==(n.MSPOINTER_TYPE_MOUSE||"mouse")?i===(n.MSPOINTER_TYPE_TOUCH||"touch")?(o._lastPointerType="touch",e.addPointer(n.pointerId)):(o._lastPointerType="pen",t.addPointer(n.pointerId)):o._lastPointerType="mouse"})),o._register(Z.j(o.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return o._onGestureChange(e)}),us)),o._register(Z.g(o.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return o._onCaptureGestureTap(e)}),!0))}}),100),o._lastPointerType="mouse",o}return as(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new pr(e,this.viewHelper.viewDomNode),i=this._createMouseTarget(n,!1);i.position&&this.viewController.moveTo(i.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(is),cs=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o.viewHelper.linesContentDomNode.style.touchAction="none",o._installGestureHandlerTimeout=window.setTimeout((function(){if(o._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=o.viewHelper.linesContentDomNode,t.target=o.viewHelper.linesContentDomNode,o.viewHelper.linesContentDomNode.addEventListener("pointerdown",(function(n){var i=n.pointerType;"mouse"!==i?"touch"===i?(o._lastPointerType="touch",e.addPointer(n.pointerId)):(o._lastPointerType="pen",t.addPointer(n.pointerId)):o._lastPointerType="mouse"})),o._register(Z.j(o.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return o._onGestureChange(e)}),us)),o._register(Z.g(o.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return o._onCaptureGestureTap(e)}),!0))}}),100),o._lastPointerType="mouse",o}return as(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new pr(e,this.viewHelper.viewDomNode),i=this._createMouseTarget(n,!1);i.position&&this.viewController.moveTo(i.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(is),ds=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;o._register(sr.b.addTarget(o.viewHelper.linesContentDomNode)),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Tap,(function(e){return o.onTap(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Change,(function(e){return o.onChange(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Contextmenu,(function(e){return o._onContextMenu(new pr(e,o.viewHelper.viewDomNode),!1)}))),o._lastPointerType="mouse",o._register(Z.g(o.viewHelper.linesContentDomNode,"pointerdown",(function(e){var t=e.pointerType;o._lastPointerType="mouse"!==t?"touch"===t?"touch":"pen":"mouse"})));var r=new mr(o.viewHelper.viewDomNode);return o._register(r.onPointerMoveThrottled(o.viewHelper.viewDomNode,(function(e){return o._onMouseMove(e)}),ns(o.mouseTargetFactory),is.MOUSE_MOVE_MINIMUM_TIME)),o._register(r.onPointerUp(o.viewHelper.viewDomNode,(function(e){return o._onMouseUp(e)}))),o._register(r.onPointerLeave(o.viewHelper.viewDomNode,(function(e){return o._onMouseLeave(e)}))),o._register(r.onPointerDown(o.viewHelper.viewDomNode,(function(e){return o._onMouseDown(e)}))),o}return as(t,e),t.prototype.onTap=function(e){if(e.initialTarget&&this.viewHelper.linesContentDomNode.contains(e.initialTarget)){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new pr(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})}},t.prototype.onChange=function(e){"touch"===this._lastPointerType&&this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype._onMouseDown=function(t){t.target&&this.viewHelper.linesContentDomNode.contains(t.target)&&"touch"===this._lastPointerType||e.prototype._onMouseDown.call(this,t)},t}(is),hs=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o._register(sr.b.addTarget(o.viewHelper.linesContentDomNode)),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Tap,(function(e){return o.onTap(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Change,(function(e){return o.onChange(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Contextmenu,(function(e){return o._onContextMenu(new pr(e,o.viewHelper.viewDomNode),!1)}))),o}return as(t,e),t.prototype.onTap=function(e){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new pr(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.moveTo(t.position)},t.prototype.onChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t}(is),fs=function(e){function t(t,n,i){var o=e.call(this)||this;return window.navigator.msPointerEnabled?o.handler=o._register(new ls(t,n,i)):ie.c&&ss.a.pointerEvents?o.handler=o._register(new ds(t,n,i)):window.TouchEvent?o.handler=o._register(new hs(t,n,i)):window.navigator.pointerEnabled||window.PointerEvent?o.handler=o._register(new cs(t,n,i)):o.handler=o._register(new is(t,n,i)),o}return as(t,e),t.prototype.getTargetAtClientPoint=function(e,t){return this.handler.getTargetAtClientPoint(e,t)},t}(le.a),ps=(n("VvMK"),function(){function e(e,t,n,i,o){this.value=e,this.selectionStart=t,this.selectionEnd=n,this.selectionStartPosition=i,this.selectionEndPosition=o}return e.prototype.toString=function(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"},e.readFromTextArea=function(t){return new e(t.getValue(),t.getSelectionStart(),t.getSelectionEnd(),null,null)},e.prototype.collapseSelection=function(){return new e(this.value,this.value.length,this.value.length,null,null)},e.prototype.writeToTextArea=function(e,t,n){t.setValue(e,this.value),n&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)},e.prototype.deduceEditorPosition=function(e){if(e<=this.selectionStart){var t=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(e>=this.selectionEnd){t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}var n=this.value.substring(this.selectionStart,e);if(-1===n.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,n,1);var i=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,i,-1)},e.prototype._finishDeduceEditorPosition=function(e,t,n){for(var i=0,o=-1;-1!==(o=t.indexOf("\n",o+1));)i++;return[e,n*t.length,i]},e.selectedText=function(t){return new e(t,0,t.length,null,null)},e.deduceInput=function(e,t,n){if(!e)return{text:"",replaceCharCnt:0};var i=e.value,o=e.selectionStart,r=e.selectionEnd,s=t.value,a=t.selectionStart,u=t.selectionEnd,l=i.substring(r),c=s.substring(u),d=ne.d(l,c);s=s.substring(0,s.length-d);var h=(i=i.substring(0,i.length-d)).substring(0,o),f=s.substring(0,a),p=ne.c(h,f);if(s=s.substring(p),i=i.substring(p),a-=p,o-=p,u-=p,r-=p,n&&a===u&&i.length>0){var g=null;if(a===s.length?ne.H(s,i)&&(g=s.substring(i.length)):ne.k(s,i)&&(g=s.substring(0,s.length-i.length)),null!==g&&g.length>0&&(/\uFE0F/.test(g)||ne.e(g)))return{text:g,replaceCharCnt:0}}return a===u?i===s&&0===o&&r===i.length&&a===s.length&&-1===s.indexOf("\n")&&ne.f(s)?{text:"",replaceCharCnt:0}:{text:s,replaceCharCnt:h.length-p}:{text:s,replaceCharCnt:r-o}},e.EMPTY=new e("",0,0,null,null),e}()),gs=function(){function e(){}return e._getPageOfLine=function(e,t){return Math.floor((e-1)/t)},e._getRangeForPage=function(e,t){var n=e*t,i=n+1,o=n+t;return new z.a(i,1,o+1,1)},e.fromEditorSelection=function(t,n,i,o,r){var s,a=e._getPageOfLine(i.startLineNumber,o),u=e._getRangeForPage(a,o),l=e._getPageOfLine(i.endLineNumber,o),c=e._getRangeForPage(l,o),d=u.intersectRanges(new z.a(1,1,i.startLineNumber,i.startColumn)),h=n.getValueInRange(d,1),f=n.getLineCount(),p=n.getLineMaxColumn(f),g=c.intersectRanges(new z.a(i.endLineNumber,i.endColumn,f,p)),m=n.getValueInRange(g,1);if(a===l||a+1===l)s=n.getValueInRange(i,1);else{var v=u.intersectRanges(i),_=c.intersectRanges(i);s=n.getValueInRange(v,1)+String.fromCharCode(8230)+n.getValueInRange(_,1)}if(r){h.length>500&&(h=h.substring(h.length-500,h.length)),m.length>500&&(m=m.substring(0,500)),s.length>1e3&&(s=s.substring(0,500)+String.fromCharCode(8230)+s.substring(s.length-500,s.length))}return new ps(h+s+m,h.length,h.length+s.length,new H.a(i.startLineNumber,i.startColumn),new H.a(i.endLineNumber,i.endColumn))},e}(),ms=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),vs=!1,_s=function(){function e(){this._lastState=null}return e.prototype.set=function(e,t){this._lastState={lastCopiedValue:e,data:t}},e.prototype.get=function(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)},e.INSTANCE=new e,e}(),ys=function(e){function t(t,n){var i=e.call(this)||this;i.textArea=n,i._onFocus=i._register(new W.a),i.onFocus=i._onFocus.event,i._onBlur=i._register(new W.a),i.onBlur=i._onBlur.event,i._onKeyDown=i._register(new W.a),i.onKeyDown=i._onKeyDown.event,i._onKeyUp=i._register(new W.a),i.onKeyUp=i._onKeyUp.event,i._onCut=i._register(new W.a),i.onCut=i._onCut.event,i._onPaste=i._register(new W.a),i.onPaste=i._onPaste.event,i._onType=i._register(new W.a),i.onType=i._onType.event,i._onCompositionStart=i._register(new W.a),i.onCompositionStart=i._onCompositionStart.event,i._onCompositionUpdate=i._register(new W.a),i.onCompositionUpdate=i._onCompositionUpdate.event,i._onCompositionEnd=i._register(new W.a),i.onCompositionEnd=i._onCompositionEnd.event,i._onSelectionChangeRequest=i._register(new W.a),i.onSelectionChangeRequest=i._onSelectionChangeRequest.event,i._host=t,i._textArea=i._register(new Cs(n)),i._asyncTriggerCut=i._register(new We.d((function(){return i._onCut.fire()}),0)),i._textAreaState=ps.EMPTY,i._selectionChangeListener=null,i.writeScreenReaderContent("ctor"),i._hasFocus=!1,i._isDoingComposition=!1,i._nextCommand=0,i._register(Z.k(n.domNode,"keydown",(function(e){!i._isDoingComposition||109!==e.keyCode&&1!==e.keyCode||e.stopPropagation(),e.equals(9)&&e.preventDefault(),i._onKeyDown.fire(e)}))),i._register(Z.k(n.domNode,"keyup",(function(e){i._onKeyUp.fire(e)}))),i._register(Z.g(n.domNode,"compositionstart",(function(e){i._isDoingComposition||(i._isDoingComposition=!0,Yo.f||i._setAndWriteTextAreaState("compositionstart",ps.EMPTY),i._onCompositionStart.fire())})));var o=function(e){var t=i._textAreaState,n=ps.readFromTextArea(i._textArea);return[n,ps.deduceInput(t,n,e)]},r=function(e){var t=i._textAreaState,n=ps.selectedText(e);return[n,{text:n.value,replaceCharCnt:t.selectionEnd-t.selectionStart}]},s=function(e){return!(!Yo.f||"ja"!==e)||!(!Yo.i||0!==e.indexOf("zh-Han"))};return i._register(Z.g(n.domNode,"compositionupdate",(function(e){if(s(e.locale)){var t=o(!1),n=t[0],a=t[1];return i._textAreaState=n,i._onType.fire(a),void i._onCompositionUpdate.fire(e)}var u=r(e.data),l=u[0],c=u[1];i._textAreaState=l,i._onType.fire(c),i._onCompositionUpdate.fire(e)}))),i._register(Z.g(n.domNode,"compositionend",(function(e){if(i._isDoingComposition){if(s(e.locale)){var t=o(!1),n=t[0],a=t[1];i._textAreaState=n,i._onType.fire(a)}else{var u=r(e.data);n=u[0],a=u[1];i._textAreaState=n,i._onType.fire(a)}(Yo.f||Yo.d)&&(i._textAreaState=ps.readFromTextArea(i._textArea)),i._isDoingComposition&&(i._isDoingComposition=!1,i._onCompositionEnd.fire())}}))),i._register(Z.g(n.domNode,"input",(function(){if(i._textArea.setIgnoreSelectionChangeTime("received input event"),!i._isDoingComposition){var e=o(ie.e),t=e[0],n=e[1];0===n.replaceCharCnt&&1===n.text.length&&ne.x(n.text.charCodeAt(0))||(i._textAreaState=t,0===i._nextCommand?""!==n.text&&i._onType.fire(n):(""===n.text&&0===n.replaceCharCnt||i._firePaste(n.text,null),i._nextCommand=0))}}))),i._register(Z.g(n.domNode,"cut",(function(e){i._textArea.setIgnoreSelectionChangeTime("received cut event"),i._ensureClipboardGetsEditorSelection(e),i._asyncTriggerCut.schedule()}))),i._register(Z.g(n.domNode,"copy",(function(e){i._ensureClipboardGetsEditorSelection(e)}))),i._register(Z.g(n.domNode,"paste",(function(e){if(i._textArea.setIgnoreSelectionChangeTime("received paste event"),bs.canUseTextData(e)){var t=bs.getTextData(e),n=t[0],o=t[1];""!==n&&i._firePaste(n,o)}else i._textArea.getSelectionStart()!==i._textArea.getSelectionEnd()&&i._setAndWriteTextAreaState("paste",ps.EMPTY),i._nextCommand=1}))),i._register(Z.g(n.domNode,"focus",(function(){i._setHasFocus(!0)}))),i._register(Z.g(n.domNode,"blur",(function(){i._setHasFocus(!1)}))),i}return ms(t,e),t.prototype._installSelectionChangeListener=function(){var e=this,t=0;return Z.g(document,"selectionchange",(function(n){if(e._hasFocus&&!e._isDoingComposition&&Yo.d&&ie.h){var i=Date.now(),o=i-t;if(t=i,!(o<5)){var r=i-e._textArea.getIgnoreSelectionChangeTime();if(e._textArea.resetSelectionChangeTime(),!(r<100)&&e._textAreaState.selectionStartPosition&&e._textAreaState.selectionEndPosition){var s=e._textArea.getValue();if(e._textAreaState.value===s){var a=e._textArea.getSelectionStart(),u=e._textArea.getSelectionEnd();if(e._textAreaState.selectionStart!==a||e._textAreaState.selectionEnd!==u){var l=e._textAreaState.deduceEditorPosition(a),c=e._host.deduceModelPosition(l[0],l[1],l[2]),d=e._textAreaState.deduceEditorPosition(u),h=e._host.deduceModelPosition(d[0],d[1],d[2]),f=new U.a(c.lineNumber,c.column,h.lineNumber,h.column);e._onSelectionChangeRequest.fire(f)}}}}}}))},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)},t.prototype.focusTextArea=function(){this._setHasFocus(!0),this.refreshFocusState()},t.prototype.isFocused=function(){return this._hasFocus},t.prototype.refreshFocusState=function(){var e=Z.y(this.textArea.domNode);e?this._setHasFocus(e.activeElement===this.textArea.domNode):Z.G(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)},t.prototype._setHasFocus=function(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(Yo.e?this._setAndWriteTextAreaState("focusgain",ps.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire())},t.prototype._setAndWriteTextAreaState=function(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t},t.prototype.writeScreenReaderContent=function(e){this._isDoingComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))},t.prototype._ensureClipboardGetsEditorSelection=function(e){var t=this._host.getDataToCopy(bs.canUseTextData(e)&&ss.a.clipboard.richText),n={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};_s.INSTANCE.set(Yo.h?t.text.replace(/\r\n/g,"\n"):t.text,n),bs.canUseTextData(e)?bs.setTextData(e,t.text,t.html,n):this._setAndWriteTextAreaState("copy or cut",ps.selectedText(t.text))},t.prototype._firePaste=function(e,t){t||(t=_s.INSTANCE.get(e)),this._onPaste.fire({text:e,metadata:t})},t}(le.a),bs=function(){function e(){}return e.canUseTextData=function(e){return!!e.clipboardData||!!window.clipboardData},e.getTextData=function(e){if(e.clipboardData){e.preventDefault();var t=e.clipboardData.getData("text/plain"),n=null,i=e.clipboardData.getData("vscode-editor-data");if("string"==typeof i)try{1!==(n=JSON.parse(i)).version&&(n=null)}catch(e){}return[t,n]}if(window.clipboardData)return e.preventDefault(),[t=window.clipboardData.getData("Text"),null];throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")},e.setTextData=function(e,t,n,i){if(e.clipboardData)return e.clipboardData.setData("text/plain",t),"string"==typeof n&&e.clipboardData.setData("text/html",n),e.clipboardData.setData("vscode-editor-data",JSON.stringify(i)),void e.preventDefault();if(window.clipboardData)return window.clipboardData.setData("Text",t),void e.preventDefault();throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")},e}(),Cs=function(e){function t(t){var n=e.call(this)||this;return n._actual=t,n._ignoreSelectionChangeTime=0,n}return ms(t,e),t.prototype.setIgnoreSelectionChangeTime=function(e){this._ignoreSelectionChangeTime=Date.now()},t.prototype.getIgnoreSelectionChangeTime=function(){return this._ignoreSelectionChangeTime},t.prototype.resetSelectionChangeTime=function(){this._ignoreSelectionChangeTime=0},t.prototype.getValue=function(){return this._actual.domNode.value},t.prototype.setValue=function(e,t){var n=this._actual.domNode;n.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),n.value=t)},t.prototype.getSelectionStart=function(){return this._actual.domNode.selectionStart},t.prototype.getSelectionEnd=function(){return this._actual.domNode.selectionEnd},t.prototype.setSelectionRange=function(e,t,n){var i=this._actual.domNode,o=Z.y(i),r=(o?o.activeElement:document.activeElement)===i,s=i.selectionStart,a=i.selectionEnd;if(r&&s===t&&a===n)Yo.h&&window.parent!==window&&i.focus();else{if(r)return this.setIgnoreSelectionChangeTime("setSelectionRange"),i.setSelectionRange(t,n),void(Yo.h&&window.parent!==window&&i.focus());try{var u=Z.P(i);this.setIgnoreSelectionChangeTime("setSelectionRange"),i.focus(),i.setSelectionRange(t,n),Z.N(i,u)}catch(e){}}},t}(le.a),ws=(n("Krc3"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Ss=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ws(t,e),t}(yr),Ls=n("zrhQ"),Ns=n("MD5Z"),Os=Object(Ns.Eb)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},Zn.a("lineHighlight","Background color for the highlight of line at the cursor position.")),Ds=Object(Ns.Eb)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},Zn.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),xs=Object(Ns.Eb)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},Zn.a("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),Es=Object(Ns.Eb)("editor.rangeHighlightBorder",{dark:null,light:null,hc:Ns.b},Zn.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),ks=Object(Ns.Eb)("editor.symbolHighlightBackground",{dark:Ns.s,light:Ns.s,hc:null},Zn.a("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),Is=Object(Ns.Eb)("editor.symbolHighlightBorder",{dark:null,light:null,hc:Ns.b},Zn.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),Ms=Object(Ns.Eb)("editorCursor.foreground",{dark:"#AEAFAD",light:Ls.a.black,hc:Ls.a.white},Zn.a("caret","Color of the editor cursor.")),Ts=Object(Ns.Eb)("editorCursor.background",null,Zn.a("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),As=Object(Ns.Eb)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},Zn.a("editorWhitespaces","Color of whitespace characters in the editor.")),Rs=Object(Ns.Eb)("editorIndentGuide.background",{dark:As,light:As,hc:As},Zn.a("editorIndentGuides","Color of the editor indentation guides.")),Ps=Object(Ns.Eb)("editorIndentGuide.activeBackground",{dark:As,light:As,hc:As},Zn.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),Fs=Object(Ns.Eb)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:Ls.a.white},Zn.a("editorLineNumbers","Color of editor line numbers.")),Vs=Object(Ns.Eb)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:Ns.b},Zn.a("editorActiveLineNumber","Color of editor active line number"),!1,Zn.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),Ws=Object(Ns.Eb)("editorLineNumber.activeForeground",{dark:Vs,light:Vs,hc:Vs},Zn.a("editorActiveLineNumber","Color of editor active line number")),Bs=Object(Ns.Eb)("editorRuler.foreground",{dark:"#5A5A5A",light:Ls.a.lightgrey,hc:Ls.a.white},Zn.a("editorRuler","Color of the editor rulers.")),js=(Object(Ns.Eb)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},Zn.a("editorCodeLensForeground","Foreground color of editor code lenses")),Object(Ns.Eb)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},Zn.a("editorBracketMatchBackground","Background color behind matching brackets")),Object(Ns.Eb)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:Ns.e},Zn.a("editorBracketMatchBorder","Color for matching brackets boxes")),Object(Ns.Eb)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},Zn.a("editorOverviewRulerBorder","Color of the overview ruler border."))),Hs=Object(Ns.Eb)("editorGutter.background",{dark:Ns.n,light:Ns.n,hc:Ns.n},Zn.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),zs=Object(Ns.Eb)("editorUnnecessaryCode.border",{dark:null,light:null,hc:Ls.a.fromHex("#fff").transparent(.8)},Zn.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),Us=Object(Ns.Eb)("editorUnnecessaryCode.opacity",{dark:Ls.a.fromHex("#000a"),light:Ls.a.fromHex("#0007"),hc:null},Zn.a("unnecessaryCodeOpacity","Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.")),Ks=Object(Ns.Eb)("editorOverviewRuler.errorForeground",{dark:new Ls.a(new Ls.b(255,18,18,.7)),light:new Ls.a(new Ls.b(255,18,18,.7)),hc:new Ls.a(new Ls.b(255,50,50,1))},Zn.a("overviewRuleError","Overview ruler marker color for errors.")),qs=Object(Ns.Eb)("editorOverviewRuler.warningForeground",{dark:Ns.G,light:Ns.G,hc:Ns.F},Zn.a("overviewRuleWarning","Overview ruler marker color for warnings.")),Gs=Object(Ns.Eb)("editorOverviewRuler.infoForeground",{dark:Ns.B,light:Ns.B,hc:Ns.A},Zn.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(Ir.e)((function(e,t){var n=e.getColor(Ns.n);n&&t.addRule(".monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: "+n+"; }");var i=e.getColor(Ns.w);i&&t.addRule(".monaco-editor, .monaco-editor .inputarea.ime-input { color: "+i+"; }");var o=e.getColor(Hs);o&&t.addRule(".monaco-editor .margin { background-color: "+o+"; }");var r=e.getColor(xs);r&&t.addRule(".monaco-editor .rangeHighlight { background-color: "+r+"; }");var s=e.getColor(Es);s&&t.addRule(".monaco-editor .rangeHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+s+"; }");var a=e.getColor(ks);a&&t.addRule(".monaco-editor .symbolHighlight { background-color: "+a+"; }");var u=e.getColor(Is);u&&t.addRule(".monaco-editor .symbolHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+u+"; }");var l=e.getColor(As);l&&t.addRule(".vs-whitespace { color: "+l+" !important; }")}));var Ys=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Zs=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._readConfig(),n._lastCursorModelPosition=new H.a(1,1),n._renderResult=null,n._context.addEventHandler(n),n}return Ys(t,e),t.prototype._readConfig=function(){var e=this._context.configuration.options;this._lineHeight=e.get(49);var t=e.get(50);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(71);var n=e.get(107);this._lineNumbersLeft=n.lineNumbersLeft,this._lineNumbersWidth=n.lineNumbersWidth},t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return this._readConfig(),!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(t),2===this._renderLineNumbers||3===this._renderLineNumbers},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getLineRenderLineNumber=function(e){var t=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new H.a(e,1));if(1!==t.column)return"";var n=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(2===this._renderLineNumbers){var i=Math.abs(this._lastCursorModelPosition.lineNumber-n);return 0===i?'<span class="relative-current-line-number">'+n+"</span>":String(i)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===n||n%10==0?String(n):"":String(n)},t.prototype.prepareRender=function(e){if(0!==this._renderLineNumbers){for(var n=ie.d?this._lineHeight%2==0?" lh-even":" lh-odd":"",i=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,r='<div class="'+t.CLASS_NAME+n+'" style="left:'+this._lineNumbersLeft.toString()+"px;width:"+this._lineNumbersWidth.toString()+'px;">',s=this._context.model.getLineCount(),a=[],u=i;u<=o;u++){var l=u-i;if(this._renderFinalNewline||u!==s||0!==this._context.model.getLineLength(u)){var c=this._getLineRenderLineNumber(u);a[l]=c?r+c+"</div>":""}else a[l]=""}this._renderResult=a}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t.CLASS_NAME="line-numbers",t}(Ss);Object(Ir.e)((function(e,t){var n=e.getColor(Fs);n&&t.addRule(".monaco-editor .line-numbers { color: "+n+"; }");var i=e.getColor(Ws);i&&t.addRule(".monaco-editor .current-line ~ .line-numbers { color: "+i+"; }")}));var Xs=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Js=function(e){function t(n){var i=e.call(this,n)||this,o=i._context.configuration.options,r=o.get(107);return i._canUseLayerHinting=!o.get(22),i._contentLeft=r.contentLeft,i._glyphMarginLeft=r.glyphMarginLeft,i._glyphMarginWidth=r.glyphMarginWidth,i._domNode=Object(rr.b)(document.createElement("div")),i._domNode.setClassName(t.OUTER_CLASS_NAME),i._domNode.setPosition("absolute"),i._domNode.setAttribute("role","presentation"),i._domNode.setAttribute("aria-hidden","true"),i._glyphMarginBackgroundDomNode=Object(rr.b)(document.createElement("div")),i._glyphMarginBackgroundDomNode.setClassName(t.CLASS_NAME),i._domNode.appendChild(i._glyphMarginBackgroundDomNode),i}return Xs(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._canUseLayerHinting=!t.get(22),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollTopChanged},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");var t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);var n=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(n),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(n)},t.CLASS_NAME="glyph-margin",t.OUTER_CLASS_NAME="margin",t}(Cr),Qs=n("5v8Y"),$s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ea=function(){function e(e){this.type=1,this._source=e}return e.prototype.hasChanged=function(e){return this._source.hasChanged(e)},e}(),ta=function(e){this.type=2,this.contentWidth=e.contentWidth,this.contentHeight=e.contentHeight,this.contentWidthChanged=e.contentWidthChanged,this.contentHeightChanged=e.contentHeightChanged},na=function(e,t){this.type=3,this.selections=e,this.modelSelections=t},ia=function(){this.type=4},oa=function(){this.type=5},ra=function(e){this.type=6,this.isFocused=e},sa=function(){this.type=7},aa=function(){this.type=8},ua=function(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t},la=function(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t},ca=function(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t},da=function(e,t,n,i,o){this.type=12,this.source=e,this.range=t,this.verticalType=n,this.revealHorizontal=i,this.scrollType=o},ha=function(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged},fa=function(){this.type=14},pa=function(e){this.type=15,this.ranges=e},ga=function(){this.type=16},ma=function(){this.type=17},va=function(e){function t(){var t=e.call(this)||this;return t._listeners=[],t._collector=null,t._collectorCnt=0,t}return $s(t,e),t.prototype.dispose=function(){this._listeners=[],e.prototype.dispose.call(this)},t.prototype._beginEmit=function(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new _a),this._collector},t.prototype._endEmit=function(){if(this._collectorCnt--,0===this._collectorCnt){var e=this._collector.finalize();this._collector=null,e.length>0&&this._emit(e)}},t.prototype._emit=function(e){for(var t=this._listeners.slice(0),n=0,i=t.length;n<i;n++)ya(t[n],e)},t.prototype.addEventListener=function(e){var t=this;return this._listeners.push(e),Object(le.f)((function(){for(var n=t._listeners,i=0,o=n.length;i<o;i++)if(n[i]===e){n.splice(i,1);break}}))},t}(le.a),_a=function(){function e(){this._eventsLen=0,this._events=[],this._eventsLen=0}return e.prototype.emit=function(e){this._events[this._eventsLen++]=e},e.prototype.finalize=function(){var e=this._events;return this._events=[],e},e}();function ya(e,t){try{e(t)}catch(e){Be.e(e)}}var ba=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ca=function(){function e(e,t,n){this.top=e,this.left=t,this.width=n}return e.prototype.setWidth=function(t){return new e(this.top,this.left,t)},e}(),wa=Yo.f||Yo.h,Sa=function(e){function t(t,n,i){var o=e.call(this,t)||this;o._primaryCursorPosition=new H.a(1,1),o._primaryCursorVisibleRange=null,o._viewController=n,o._viewHelper=i,o._scrollLeft=0,o._scrollTop=0;var r=o._context.configuration.options,s=r.get(107);o._setAccessibilityOptions(r),o._contentLeft=s.contentLeft,o._contentWidth=s.contentWidth,o._contentHeight=s.height,o._fontInfo=r.get(34),o._lineHeight=r.get(49),o._emptySelectionClipboard=r.get(25),o._copyWithSyntaxHighlighting=r.get(15),o._visibleTextArea=null,o._selections=[new U.a(1,1,1,1)],o._modelSelections=[new U.a(1,1,1,1)],o._lastRenderPosition=null,o.textArea=Object(rr.b)(document.createElement("textarea")),wr.write(o.textArea,6),o.textArea.setClassName("inputarea"),o.textArea.setAttribute("wrap","off"),o.textArea.setAttribute("autocorrect","off"),o.textArea.setAttribute("autocapitalize","off"),o.textArea.setAttribute("autocomplete","off"),o.textArea.setAttribute("spellcheck","false"),o.textArea.setAttribute("aria-label",o._getAriaLabel(r)),o.textArea.setAttribute("role","textbox"),o.textArea.setAttribute("aria-multiline","true"),o.textArea.setAttribute("aria-haspopup","false"),o.textArea.setAttribute("aria-autocomplete","both"),ie.g&&r.get(68)&&o.textArea.setAttribute("readonly","true"),o.textAreaCover=Object(rr.b)(document.createElement("div")),o.textAreaCover.setPosition("absolute");var a={getLineCount:function(){return o._context.model.getLineCount()},getLineMaxColumn:function(e){return o._context.model.getLineMaxColumn(e)},getValueInRange:function(e,t){return o._context.model.getValueInRange(e,t)}},u={getDataToCopy:function(e){var t=o._context.model.getPlainTextToCopy(o._modelSelections,o._emptySelectionClipboard,ie.h),n=o._context.model.getEOL(),i=o._emptySelectionClipboard&&1===o._modelSelections.length&&o._modelSelections[0].isEmpty(),r=Array.isArray(t)?t:null,s=Array.isArray(t)?t.join(n):t,a=void 0,u=null;if(e&&(vs||o._copyWithSyntaxHighlighting&&s.length<65536)){var l=o._context.model.getRichTextToCopy(o._modelSelections,o._emptySelectionClipboard);l&&(a=l.html,u=l.mode)}return{isFromEmptySelection:i,multicursorText:r,text:s,html:a,mode:u}},getScreenReaderContent:function(e){if(Yo.j)return ps.EMPTY;if(1===o._accessibilitySupport){if(ie.e){var t=o._selections[0];if(t.isEmpty()){var n=t.getStartPosition(),i=o._getWordBeforePosition(n);if(0===i.length&&(i=o._getCharacterBeforePosition(n)),i.length>0)return new ps(i,i.length,i.length,n,n)}}return ps.EMPTY}return gs.fromEditorSelection(e,a,o._selections[0],o._accessibilityPageSize,0===o._accessibilitySupport)},deduceModelPosition:function(e,t,n){return o._context.model.deduceModelPositionRelativeToViewPosition(e,t,n)}};return o._textAreaInput=o._register(new ys(u,o.textArea)),o._register(o._textAreaInput.onKeyDown((function(e){o._viewController.emitKeyDown(e)}))),o._register(o._textAreaInput.onKeyUp((function(e){o._viewController.emitKeyUp(e)}))),o._register(o._textAreaInput.onPaste((function(e){var t=!1,n=null,i=null;e.metadata&&(t=o._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,n=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,i=e.metadata.mode),o._viewController.paste("keyboard",e.text,t,n,i)}))),o._register(o._textAreaInput.onCut((function(){o._viewController.cut("keyboard")}))),o._register(o._textAreaInput.onType((function(e){e.replaceCharCnt?o._viewController.replacePreviousChar("keyboard",e.text,e.replaceCharCnt):o._viewController.type("keyboard",e.text)}))),o._register(o._textAreaInput.onSelectionChangeRequest((function(e){o._viewController.setSelection("keyboard",e)}))),o._register(o._textAreaInput.onCompositionStart((function(){var e=o._selections[0].startLineNumber,t=o._selections[0].startColumn;o._context.privateViewEventBus.emit(new da("keyboard",new z.a(e,t,e,t),0,!0,1));var n=o._viewHelper.visibleRangeForPositionRelativeToEditor(e,t);n&&(o._visibleTextArea=new Ca(o._context.viewLayout.getVerticalOffsetForLineNumber(e),n.left,wa?0:1),o._render()),o.textArea.setClassName("inputarea ime-input"),o._viewController.compositionStart("keyboard")}))),o._register(o._textAreaInput.onCompositionUpdate((function(e){Yo.f?o._visibleTextArea=o._visibleTextArea.setWidth(0):o._visibleTextArea=o._visibleTextArea.setWidth(function(e,t){var n=document.createElement("canvas").getContext("2d");n.font=(i=t,o="normal",r=i.fontWeight,s=i.fontSize,a=i.lineHeight,u=i.fontFamily,o+" normal "+r+" "+s+"px / "+a+"px "+u);var i,o,r,s,a,u;var l=n.measureText(e);return Yo.h?l.width+2:l.width}(e.data,o._fontInfo)),o._render()}))),o._register(o._textAreaInput.onCompositionEnd((function(){o._visibleTextArea=null,o._render(),o.textArea.setClassName("inputarea"),o._viewController.compositionEnd("keyboard")}))),o._register(o._textAreaInput.onFocus((function(){o._context.privateViewEventBus.emit(new ra(!0))}))),o._register(o._textAreaInput.onBlur((function(){o._context.privateViewEventBus.emit(new ra(!1))}))),o}return ba(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._getWordBeforePosition=function(e){for(var t=this._context.model.getLineContent(e.lineNumber),n=Object(Qs.a)(this._context.configuration.options.get(96)),i=e.column,o=0;i>1;){var r=t.charCodeAt(i-2);if(0!==n.get(r)||o>50)return t.substring(i-1,e.column-1);o++,i--}return t.substring(0,e.column-1)},t.prototype._getCharacterBeforePosition=function(e){if(e.column>1){var t=this._context.model.getLineContent(e.lineNumber).charAt(e.column-2);if(!ne.x(t.charCodeAt(0)))return t}return""},t.prototype._getAriaLabel=function(e){return 1===e.get(2)?Zn.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press Alt+F1 for options."):e.get(4)},t.prototype._setAccessibilityOptions=function(e){this._accessibilitySupport=e.get(2);var t=e.get(3);2===this._accessibilitySupport&&t===F.e.accessibilityPageSize.defaultValue?this._accessibilityPageSize=160:this._accessibilityPageSize=t},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._setAccessibilityOptions(t),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._contentHeight=n.height,this._fontInfo=t.get(34),this._lineHeight=t.get(49),this._emptySelectionClipboard=t.get(25),this._copyWithSyntaxHighlighting=t.get(15),this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),ie.g&&e.hasChanged(68)&&(t.get(68)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),e.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0},t.prototype.onZonesChanged=function(e){return!0},t.prototype.isFocused=function(){return this._textAreaInput.isFocused()},t.prototype.focusTextArea=function(){this._textAreaInput.focusTextArea()},t.prototype.getLastRenderData=function(){return this._lastRenderPosition},t.prototype.setAriaOptions=function(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant"))},t.prototype.prepareRender=function(e){this._primaryCursorPosition=new H.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition)},t.prototype.render=function(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()},t.prototype._render=function(){if(this._visibleTextArea)this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);else if(this._primaryCursorVisibleRange){var e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(e<this._contentLeft||e>this._contentLeft+this._contentWidth)this._renderAtTopLeft();else{var t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;t<0||t>this._contentHeight?this._renderAtTopLeft():ie.e?this._renderInsideEditor(this._primaryCursorPosition,t,e,wa?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,t,e,wa?0:1,wa?0:1)}}else this._renderAtTopLeft()},t.prototype._renderInsideEditor=function(e,t,n,i,o){this._lastRenderPosition=e;var r=this.textArea,s=this.textAreaCover;ir.applyFontInfo(r,this._fontInfo),r.setTop(t),r.setLeft(n),r.setWidth(i),r.setHeight(o),s.setTop(0),s.setLeft(0),s.setWidth(0),s.setHeight(0)},t.prototype._renderAtTopLeft=function(){this._lastRenderPosition=null;var e=this.textArea,t=this.textAreaCover;if(ir.applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),wa)return e.setWidth(0),e.setHeight(0),t.setWidth(0),void t.setHeight(0);e.setWidth(1),e.setHeight(1),t.setWidth(1),t.setHeight(1);var n=this._context.configuration.options;n.get(40)?t.setClassName("monaco-editor-background textAreaCover "+Js.OUTER_CLASS_NAME):0!==n.get(50).renderType?t.setClassName("monaco-editor-background textAreaCover "+Zs.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")},t}(Cr);var La=n("1YUG"),Na=function(){function e(e,t,n,i){this.configuration=e,this.viewModel=t,this.outgoingEvents=n,this.commandDelegate=i}return e.prototype._execMouseCommand=function(e,t){t.source="mouse",this.commandDelegate.executeEditorCommand(e,t)},e.prototype.paste=function(e,t,n,i,o){this.commandDelegate.paste(e,t,n,i,o)},e.prototype.type=function(e,t){this.commandDelegate.type(e,t)},e.prototype.replacePreviousChar=function(e,t,n){this.commandDelegate.replacePreviousChar(e,t,n)},e.prototype.compositionStart=function(e){this.commandDelegate.compositionStart(e)},e.prototype.compositionEnd=function(e){this.commandDelegate.compositionEnd(e)},e.prototype.cut=function(e){this.commandDelegate.cut(e)},e.prototype.setSelection=function(e,t){this.commandDelegate.executeEditorCommand(La.CoreNavigationCommands.SetSelection,{source:e,selection:t})},e.prototype._validateViewColumn=function(e){var t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column<t?new H.a(e.lineNumber,t):e},e.prototype._hasMulticursorModifier=function(e){switch(this.configuration.options.get(59)){case"altKey":return e.altKey;case"ctrlKey":return e.ctrlKey;case"metaKey":return e.metaKey}return!1},e.prototype._hasNonMulticursorModifier=function(e){switch(this.configuration.options.get(59)){case"altKey":return e.ctrlKey||e.metaKey;case"ctrlKey":return e.altKey||e.metaKey;case"metaKey":return e.ctrlKey||e.altKey}return!1},e.prototype.dispatchMouse=function(e){var t=ie.d&&this.configuration.options.get(81);e.middleButton&&!t?this._columnSelect(e.position,e.mouseColumn,e.inSelectionMode):e.startedOnLineNumbers?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelect(e.position):this._createCursor(e.position,!0):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):e.mouseDownCount>=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):2===e.mouseDownCount?this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position):this.moveTo(e.position)},e.prototype._usualArgs=function(e){return e=this._validateViewColumn(e),{position:this._convertViewToModelPosition(e),viewPosition:e}},e.prototype.moveTo=function(e){this._execMouseCommand(La.CoreNavigationCommands.MoveTo,this._usualArgs(e))},e.prototype._moveToSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.MoveToSelect,this._usualArgs(e))},e.prototype._columnSelect=function(e,t,n){e=this._validateViewColumn(e),this._execMouseCommand(La.CoreNavigationCommands.ColumnSelect,{position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})},e.prototype._createCursor=function(e,t){e=this._validateViewColumn(e),this._execMouseCommand(La.CoreNavigationCommands.CreateCursor,{position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})},e.prototype._lastCursorMoveToSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.LastCursorMoveToSelect,this._usualArgs(e))},e.prototype._wordSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.WordSelect,this._usualArgs(e))},e.prototype._wordSelectDrag=function(e){this._execMouseCommand(La.CoreNavigationCommands.WordSelectDrag,this._usualArgs(e))},e.prototype._lastCursorWordSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.LastCursorWordSelect,this._usualArgs(e))},e.prototype._lineSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.LineSelect,this._usualArgs(e))},e.prototype._lineSelectDrag=function(e){this._execMouseCommand(La.CoreNavigationCommands.LineSelectDrag,this._usualArgs(e))},e.prototype._lastCursorLineSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.LastCursorLineSelect,this._usualArgs(e))},e.prototype._lastCursorLineSelectDrag=function(e){this._execMouseCommand(La.CoreNavigationCommands.LastCursorLineSelectDrag,this._usualArgs(e))},e.prototype._selectAll=function(){this._execMouseCommand(La.CoreNavigationCommands.SelectAll,{})},e.prototype._convertViewToModelPosition=function(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)},e.prototype.emitKeyDown=function(e){this.outgoingEvents.emitKeyDown(e)},e.prototype.emitKeyUp=function(e){this.outgoingEvents.emitKeyUp(e)},e.prototype.emitContextMenu=function(e){this.outgoingEvents.emitContextMenu(e)},e.prototype.emitMouseMove=function(e){this.outgoingEvents.emitMouseMove(e)},e.prototype.emitMouseLeave=function(e){this.outgoingEvents.emitMouseLeave(e)},e.prototype.emitMouseUp=function(e){this.outgoingEvents.emitMouseUp(e)},e.prototype.emitMouseDown=function(e){this.outgoingEvents.emitMouseDown(e)},e.prototype.emitMouseDrag=function(e){this.outgoingEvents.emitMouseDrag(e)},e.prototype.emitMouseDrop=function(e){this.outgoingEvents.emitMouseDrop(e)},e.prototype.emitMouseWheel=function(e){this.outgoingEvents.emitMouseWheel(e)},e}(),Oa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Da=function(e){function t(t){var n=e.call(this)||this;return n.onDidContentSizeChange=null,n.onDidScroll=null,n.onDidGainFocus=null,n.onDidLoseFocus=null,n.onKeyDown=null,n.onKeyUp=null,n.onContextMenu=null,n.onMouseMove=null,n.onMouseLeave=null,n.onMouseUp=null,n.onMouseDown=null,n.onMouseDrag=null,n.onMouseDrop=null,n.onMouseWheel=null,n._viewModel=t,n}return Oa(t,e),t.prototype.emitContentSizeChange=function(e){this.onDidContentSizeChange&&this.onDidContentSizeChange(e)},t.prototype.emitScrollChanged=function(e){this.onDidScroll&&this.onDidScroll(e)},t.prototype.emitViewFocusGained=function(){this.onDidGainFocus&&this.onDidGainFocus(void 0)},t.prototype.emitViewFocusLost=function(){this.onDidLoseFocus&&this.onDidLoseFocus(void 0)},t.prototype.emitKeyDown=function(e){this.onKeyDown&&this.onKeyDown(e)},t.prototype.emitKeyUp=function(e){this.onKeyUp&&this.onKeyUp(e)},t.prototype.emitContextMenu=function(e){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseMove=function(e){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseLeave=function(e){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseUp=function(e){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDown=function(e){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDrag=function(e){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDrop=function(e){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseWheel=function(e){this.onMouseWheel&&this.onMouseWheel(e)},t.prototype._convertViewToModelMouseEvent=function(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e},t.prototype._convertViewToModelMouseTarget=function(e){return t.convertViewToModelMouseTarget(e,this._viewModel.coordinatesConverter)},t.convertViewToModelMouseTarget=function(e,t){return new xa(e.element,e.type,e.mouseColumn,e.position?t.convertViewPositionToModelPosition(e.position):null,e.range?t.convertViewRangeToModelRange(e.range):null,e.detail)},t}(le.a),xa=function(){function e(e,t,n,i,o,r){this.element=e,this.type=t,this.mouseColumn=n,this.position=i,this.range=o,this.detail=r}return e.prototype.toString=function(){return Gr.toString(this)},e}(),Ea=function(){function e(e){this._createLine=e,this._set(1,[])}return e.prototype.flush=function(){this._set(1,[])},e.prototype._set=function(e,t){this._lines=t,this._rendLineNumberStart=e},e.prototype._get=function(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}},e.prototype.getStartLineNumber=function(){return this._rendLineNumberStart},e.prototype.getEndLineNumber=function(){return this._rendLineNumberStart+this._lines.length-1},e.prototype.getCount=function(){return this._lines.length},e.prototype.getLine=function(e){var t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]},e.prototype.onLinesDeleted=function(e,t){if(0===this.getCount())return null;var n=this.getStartLineNumber(),i=this.getEndLineNumber();if(t<n){var o=t-e+1;return this._rendLineNumberStart-=o,null}if(e>i)return null;for(var r=0,s=0,a=n;a<=i;a++){var u=a-this._rendLineNumberStart;e<=a&&a<=t&&(0===s?(r=u,s=1):s++)}if(e<n){var l=0;l=t<n?t-e+1:n-e,this._rendLineNumberStart-=l}return this._lines.splice(r,s)},e.prototype.onLinesChanged=function(e,t){if(0===this.getCount())return!1;for(var n=this.getStartLineNumber(),i=this.getEndLineNumber(),o=!1,r=e;r<=t;r++)r>=n&&r<=i&&(this._lines[r-this._rendLineNumberStart].onContentChanged(),o=!0);return o},e.prototype.onLinesInserted=function(e,t){if(0===this.getCount())return null;var n=t-e+1,i=this.getStartLineNumber(),o=this.getEndLineNumber();if(e<=i)return this._rendLineNumberStart+=n,null;if(e>o)return null;if(n+e>o)return this._lines.splice(e-this._rendLineNumberStart,o-e+1);for(var r=[],s=0;s<n;s++)r[s]=this._createLine();var a=e-this._rendLineNumberStart,u=this._lines.slice(0,a),l=this._lines.slice(a,this._lines.length-n),c=this._lines.slice(this._lines.length-n,this._lines.length);return this._lines=u.concat(r).concat(l),c},e.prototype.onTokensChanged=function(e){if(0===this.getCount())return!1;for(var t=this.getStartLineNumber(),n=this.getEndLineNumber(),i=!1,o=0,r=e.length;o<r;o++){var s=e[o];if(!(s.toLineNumber<t||s.fromLineNumber>n))for(var a=Math.max(t,s.fromLineNumber),u=Math.min(n,s.toLineNumber),l=a;l<=u;l++){var c=l-this._rendLineNumberStart;this._lines[c].onTokensChanged(),i=!0}}return i},e}(),ka=function(){function e(e){var t=this;this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new Ea((function(){return t._host.createVisibleLine()}))}return e.prototype._createDomNode=function(){var e=Object(rr.b)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e},e.prototype.onConfigurationChanged=function(e){return!!e.hasChanged(107)},e.prototype.onFlushed=function(e){return this._linesCollection.flush(),!0},e.prototype.onLinesChanged=function(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesDeleted=function(e){var t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,i=t.length;n<i;n++){var o=t[n].getDomNode();o&&this.domNode.domNode.removeChild(o)}return!0},e.prototype.onLinesInserted=function(e){var t=this._linesCollection.onLinesInserted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,i=t.length;n<i;n++){var o=t[n].getDomNode();o&&this.domNode.domNode.removeChild(o)}return!0},e.prototype.onScrollChanged=function(e){return e.scrollTopChanged},e.prototype.onTokensChanged=function(e){return this._linesCollection.onTokensChanged(e.ranges)},e.prototype.onZonesChanged=function(e){return!0},e.prototype.getStartLineNumber=function(){return this._linesCollection.getStartLineNumber()},e.prototype.getEndLineNumber=function(){return this._linesCollection.getEndLineNumber()},e.prototype.getVisibleLine=function(e){return this._linesCollection.getLine(e)},e.prototype.renderLines=function(e){var t=this._linesCollection._get(),n=new Ia(this.domNode.domNode,this._host,e),i={rendLineNumberStart:t.rendLineNumberStart,lines:t.lines,linesLength:t.lines.length},o=n.render(i,e.startLineNumber,e.endLineNumber,e.relativeVerticalOffset);this._linesCollection._set(o.rendLineNumberStart,o.lines)},e}(),Ia=function(){function e(e,t,n){this.domNode=e,this.host=t,this.viewportData=n}return e.prototype.render=function(e,t,n,i){var o={rendLineNumberStart:e.rendLineNumberStart,lines:e.lines.slice(0),linesLength:e.linesLength};if(o.rendLineNumberStart+o.linesLength-1<t||n<o.rendLineNumberStart){o.rendLineNumberStart=t,o.linesLength=n-t+1,o.lines=[];for(var r=t;r<=n;r++)o.lines[r-t]=this.host.createVisibleLine();return this._finishRendering(o,!0,i),o}if(this._renderUntouchedLines(o,Math.max(t-o.rendLineNumberStart,0),Math.min(n-o.rendLineNumberStart,o.linesLength-1),i,t),o.rendLineNumberStart>t)(u=t)<=(s=Math.min(n,o.rendLineNumberStart-1))&&(this._insertLinesBefore(o,u,s,i,t),o.linesLength+=s-u+1);else if(o.rendLineNumberStart<t){(a=Math.min(o.linesLength,t-o.rendLineNumberStart))>0&&(this._removeLinesBefore(o,a),o.linesLength-=a)}if(o.rendLineNumberStart=t,o.rendLineNumberStart+o.linesLength-1<n)(u=o.rendLineNumberStart+o.linesLength)<=(s=n)&&(this._insertLinesAfter(o,u,s,i,t),o.linesLength+=s-u+1);else if(o.rendLineNumberStart+o.linesLength-1>n){var s,a,u=Math.max(0,n-o.rendLineNumberStart+1);(a=(s=o.linesLength-1)-u+1)>0&&(this._removeLinesAfter(o,a),o.linesLength-=a)}return this._finishRendering(o,!1,i),o},e.prototype._renderUntouchedLines=function(e,t,n,i,o){for(var r=e.rendLineNumberStart,s=e.lines,a=t;a<=n;a++){var u=r+a;s[a].layoutLine(u,i[u-o])}},e.prototype._insertLinesBefore=function(e,t,n,i,o){for(var r=[],s=0,a=t;a<=n;a++)r[s++]=this.host.createVisibleLine();e.lines=r.concat(e.lines)},e.prototype._removeLinesBefore=function(e,t){for(var n=0;n<t;n++){var i=e.lines[n].getDomNode();i&&this.domNode.removeChild(i)}e.lines.splice(0,t)},e.prototype._insertLinesAfter=function(e,t,n,i,o){for(var r=[],s=0,a=t;a<=n;a++)r[s++]=this.host.createVisibleLine();e.lines=e.lines.concat(r)},e.prototype._removeLinesAfter=function(e,t){for(var n=e.linesLength-t,i=0;i<t;i++){var o=e.lines[n+i].getDomNode();o&&this.domNode.removeChild(o)}e.lines.splice(n,t)},e.prototype._finishRenderingNewLines=function(e,t,n,i){var o=this.domNode.lastChild;t||!o?this.domNode.innerHTML=n:o.insertAdjacentHTML("afterend",n);for(var r=this.domNode.lastChild,s=e.linesLength-1;s>=0;s--){var a=e.lines[s];i[s]&&(a.setDomNode(r),r=r.previousSibling)}},e.prototype._finishRenderingInvalidLines=function(e,t,n){var i=document.createElement("div");i.innerHTML=t;for(var o=0;o<e.linesLength;o++){var r=e.lines[o];if(n[o]){var s=i.firstChild,a=r.getDomNode();a.parentNode.replaceChild(s,a),r.setDomNode(s)}}},e.prototype._finishRendering=function(t,n,i){var o=e._sb,r=t.linesLength,s=t.lines,a=t.rendLineNumberStart,u=[];o.reset();for(var l=!1,c=0;c<r;c++){var d=s[c];if(u[c]=!1,!d.getDomNode())d.renderLine(c+a,i[c],this.viewportData,o)&&(u[c]=!0,l=!0)}l&&this._finishRenderingNewLines(t,n,o.build(),u),o.reset();var h=!1,f=[];for(c=0;c<r;c++){d=s[c];if(f[c]=!1,!u[c])d.renderLine(c+a,i[c],this.viewportData,o)&&(f[c]=!0,h=!0)}h&&this._finishRenderingInvalidLines(t,o.build(),f)},e._sb=tn(1e5),e}(),Ma=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ta=function(e){function t(t){var n=e.call(this,t)||this;return n._visibleLines=new ka(n),n.domNode=n._visibleLines.domNode,n._dynamicOverlays=[],n._isFocused=!1,n.domNode.setClassName("view-overlays"),n}return Ma(t,e),t.prototype.shouldRender=function(){if(e.prototype.shouldRender.call(this))return!0;for(var t=0,n=this._dynamicOverlays.length;t<n;t++){if(this._dynamicOverlays[t].shouldRender())return!0}return!1},t.prototype.dispose=function(){e.prototype.dispose.call(this);for(var t=0,n=this._dynamicOverlays.length;t<n;t++){this._dynamicOverlays[t].dispose()}this._dynamicOverlays=[]},t.prototype.getDomNode=function(){return this.domNode},t.prototype.createVisibleLine=function(){return new Aa(this._context.configuration,this._dynamicOverlays)},t.prototype.addDynamicOverlay=function(e){this._dynamicOverlays.push(e)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e);for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=t;i<=n;i++){this._visibleLines.getVisibleLine(i).onConfigurationChanged(e)}return!0},t.prototype.onFlushed=function(e){return this._visibleLines.onFlushed(e)},t.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!0},t.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},t.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},t.prototype.onScrollChanged=function(e){return this._visibleLines.onScrollChanged(e)||!0},t.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},t.prototype.onZonesChanged=function(e){return this._visibleLines.onZonesChanged(e)},t.prototype.prepareRender=function(e){for(var t=this._dynamicOverlays.filter((function(e){return e.shouldRender()})),n=0,i=t.length;n<i;n++){var o=t[n];o.prepareRender(e),o.onDidRender()}},t.prototype.render=function(e){this._viewOverlaysRender(e),this.domNode.toggleClassName("focused",this._isFocused)},t.prototype._viewOverlaysRender=function(e){this._visibleLines.renderLines(e.viewportData)},t}(Cr),Aa=function(){function e(e,t){this._configuration=e,this._lineHeight=this._configuration.options.get(49),this._dynamicOverlays=t,this._domNode=null,this._renderedContent=null}return e.prototype.getDomNode=function(){return this._domNode?this._domNode.domNode:null},e.prototype.setDomNode=function(e){this._domNode=Object(rr.b)(e)},e.prototype.onContentChanged=function(){},e.prototype.onTokensChanged=function(){},e.prototype.onConfigurationChanged=function(e){this._lineHeight=this._configuration.options.get(49)},e.prototype.renderLine=function(e,t,n,i){for(var o="",r=0,s=this._dynamicOverlays.length;r<s;r++){o+=this._dynamicOverlays[r].render(n.startLineNumber,e)}return this._renderedContent!==o&&(this._renderedContent=o,i.appendASCIIString('<div style="position:absolute;top:'),i.appendASCIIString(String(t)),i.appendASCIIString("px;width:100%;height:"),i.appendASCIIString(String(this._lineHeight)),i.appendASCIIString('px;">'),i.appendASCIIString(o),i.appendASCIIString("</div>"),!0)},e.prototype.layoutLine=function(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))},e}(),Ra=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options.get(107);return n._contentWidth=i.contentWidth,n.domNode.setHeight(0),n}return Ma(t,e),t.prototype.onConfigurationChanged=function(t){var n=this._context.configuration.options.get(107);return this._contentWidth=n.contentWidth,e.prototype.onConfigurationChanged.call(this,t)||!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollWidthChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t),this.domNode.setWidth(Math.max(t.scrollWidth,this._contentWidth))},t}(Ta),Pa=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options,o=i.get(107);return n._contentLeft=o.contentLeft,n.domNode.setClassName("margin-view-overlays"),n.domNode.setWidth(1),ir.applyFontInfo(n.domNode,i.get(34)),n}return Ma(t,e),t.prototype.onConfigurationChanged=function(t){var n=this._context.configuration.options;ir.applyFontInfo(this.domNode,n.get(34));var i=n.get(107);return this._contentLeft=i.contentLeft,e.prototype.onConfigurationChanged.call(this,t)||!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollHeightChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t);var n=Math.min(t.scrollHeight,1e6);this.domNode.setHeight(n),this.domNode.setWidth(this._contentLeft)},t}(Ta),Fa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Va=function(e,t){this.top=e,this.left=t},Wa=function(e){function t(t,n){var i=e.call(this,t)||this;return i._viewDomNode=n,i._widgets={},i.domNode=Object(rr.b)(document.createElement("div")),wr.write(i.domNode,1),i.domNode.setClassName("contentWidgets"),i.domNode.setPosition("absolute"),i.domNode.setTop(0),i.overflowingContentWidgetsDomNode=Object(rr.b)(document.createElement("div")),wr.write(i.overflowingContentWidgetsDomNode,2),i.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),i}return Fa(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.onConfigurationChanged=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var i=n[t];this._widgets[i].onConfigurationChanged(e)}return!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLineMappingChanged=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var i=n[t];this._widgets[i].onLineMappingChanged(e)}return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onZonesChanged=function(e){return!0},t.prototype.addWidget=function(e){var t=new Ba(this._context,this._viewDomNode,e);this._widgets[t.id]=t,t.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(t.domNode):this.domNode.appendChild(t.domNode),this.setShouldRender()},t.prototype.setWidgetPosition=function(e,t,n){this._widgets[e.getId()].setPosition(t,n),this.setShouldRender()},t.prototype.removeWidget=function(e){var t=e.getId();if(this._widgets.hasOwnProperty(t)){var n=this._widgets[t];delete this._widgets[t];var i=n.domNode.domNode;i.parentNode.removeChild(i),i.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}},t.prototype.shouldSuppressMouseDownOnWidget=function(e){return!!this._widgets.hasOwnProperty(e)&&this._widgets[e].suppressMouseDown},t.prototype.onBeforeRender=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var i=n[t];this._widgets[i].onBeforeRender(e)}},t.prototype.prepareRender=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var i=n[t];this._widgets[i].prepareRender(e)}},t.prototype.render=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var i=n[t];this._widgets[i].render(e)}},t}(Cr),Ba=function(){function e(e,t,n){this._context=e,this._viewDomNode=t,this._actual=n,this.domNode=Object(rr.b)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;var i=this._context.configuration.options,o=i.get(107);this._fixedOverflowWidgets=i.get(29),this._contentWidth=o.contentWidth,this._contentLeft=o.contentLeft,this._lineHeight=i.get(49),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}return e.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;if(this._lineHeight=t.get(49),e.hasChanged(107)){var n=t.get(107);this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._maxWidth=this._getMaxWidth()}},e.prototype.onLineMappingChanged=function(e){this._setPosition(this._range)},e.prototype._setPosition=function(e){if(this._range=e,this._viewRange=null,this._range){var t=this._context.model.validateModelRange(this._range);(this._context.model.coordinatesConverter.modelPositionIsVisible(t.getStartPosition())||this._context.model.coordinatesConverter.modelPositionIsVisible(t.getEndPosition()))&&(this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(t))}},e.prototype._getMaxWidth=function(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth},e.prototype.setPosition=function(e,t){this._setPosition(e),this._preference=t,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1},e.prototype._layoutBoxInViewport=function(e,t,n,i,o){var r=e.top,s=r,a=t.top+this._lineHeight,u=r-i,l=s>=i,c=a,d=o.viewportHeight-a>=i,h=e.left,f=t.left;return h+n>o.scrollLeft+o.viewportWidth&&(h=o.scrollLeft+o.viewportWidth-n),f+n>o.scrollLeft+o.viewportWidth&&(f=o.scrollLeft+o.viewportWidth-n),h<o.scrollLeft&&(h=o.scrollLeft),f<o.scrollLeft&&(f=o.scrollLeft),{fitsAbove:l,aboveTop:u,aboveLeft:h,fitsBelow:d,belowTop:c,belowLeft:f}},e.prototype._layoutHorizontalSegmentInPage=function(e,t,n,i){var o,r=Math.max(0,t.left-i),s=Math.min(t.left+t.width+i,e.width),a=t.left+n-Z.d.scrollX;a+i>s&&(a-=o=a-(s-i),n-=o);a<r&&(a-=o=a-r,n-=o);return[n,a]},e.prototype._layoutBoxInPage=function(e,t,n,i,o){var r=e.top-i,s=t.top+this._lineHeight,a=Z.w(this._viewDomNode.domNode),u=a.top+r-Z.d.scrollY,l=a.top+s-Z.d.scrollY,c=Z.s(document.body),d=this._layoutHorizontalSegmentInPage(c,a,e.left-o.scrollLeft+this._contentLeft,n),h=d[0],f=d[1],p=this._layoutHorizontalSegmentInPage(c,a,t.left-o.scrollLeft+this._contentLeft,n),g=p[0],m=p[1],v=u>=22,_=l+i<=c.height-22;return this._fixedOverflowWidgets?{fitsAbove:v,aboveTop:Math.max(u,22),aboveLeft:f,fitsBelow:_,belowTop:l,belowLeft:m}:{fitsAbove:v,aboveTop:Math.max(r,22),aboveLeft:h,fitsBelow:_,belowTop:s,belowLeft:g}},e.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(e){return new Va(e.top,e.left+this._contentLeft)},e.prototype._getTopAndBottomLeft=function(e){if(!this._viewRange)return[null,null];var t=e.linesVisibleRangesForRange(this._viewRange,!1);if(!t||0===t.length)return[null,null];for(var n=t[0],i=t[0],o=0,r=t;o<r.length;o++){var s=r[o];s.lineNumber<n.lineNumber&&(n=s),s.lineNumber>i.lineNumber&&(i=s)}for(var a=1073741824,u=0,l=n.ranges;u<l.length;u++){(f=l[u]).left<a&&(a=f.left)}for(var c=1073741824,d=0,h=i.ranges;d<h.length;d++){var f;(f=h[d]).left<c&&(c=f.left)}var p=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.scrollTop,g=new Va(p,a),m=e.getVerticalOffsetForLineNumber(i.lineNumber)-e.scrollTop;return[g,new Va(m,c)]},e.prototype._prepareRenderWidget=function(e){var t,n=this._getTopAndBottomLeft(e),i=n[0],o=n[1];if(!i||!o)return null;if(-1===this._cachedDomNodeClientWidth||-1===this._cachedDomNodeClientHeight){var r=this.domNode.domNode;this._cachedDomNodeClientWidth=r.clientWidth,this._cachedDomNodeClientHeight=r.clientHeight}if(t=this.allowEditorOverflow?this._layoutBoxInPage(i,o,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e):this._layoutBoxInViewport(i,o,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e),this._preference)for(var s=1;s<=2;s++)for(var a=0,u=this._preference;a<u.length;a++){var l=u[a];if(1===l){if(!t)return null;if(2===s||t.fitsAbove)return new Va(t.aboveTop,t.aboveLeft)}else{if(2!==l)return this.allowEditorOverflow?this._prepareRenderWidgetAtExactPositionOverflowing(i):i;if(!t)return null;if(2===s||t.fitsBelow)return new Va(t.belowTop,t.belowLeft)}}return null},e.prototype.onBeforeRender=function(e){this._viewRange&&this._preference&&(this._viewRange.endLineNumber<e.startLineNumber||this._viewRange.startLineNumber>e.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))},e.prototype.prepareRender=function(e){this._renderData=this._prepareRenderWidget(e)},e.prototype.render=function(e){this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)):this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"))},e}(),ja=(n("kw+w"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Ha=!0,za=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options,o=i.get(107);return n._lineHeight=i.get(49),n._renderLineHighlight=i.get(72),n._contentLeft=o.contentLeft,n._contentWidth=o.contentWidth,n._selectionIsEmpty=!0,n._cursorLineNumbers=[],n._selections=[],n._renderData=null,n._context.addEventHandler(n),n}return ja(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype._readFromSelections=function(){var e=!1,t=Ha?this._selections.slice(0,1):this._selections,n=t.map((function(e){return e.positionLineNumber}));n.sort((function(e,t){return e-t})),Xe.f(this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,e=!0);var i=t.every((function(e){return e.isEmpty()}));return this._selectionIsEmpty!==i&&(this._selectionIsEmpty=i,e=!0),e},t.prototype.onThemeChanged=function(e){return this._readFromSelections()},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._lineHeight=t.get(49),this._renderLineHighlight=t.get(72),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections,this._readFromSelections()},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollWidthChanged||e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){if(this._shouldRenderThis()){for(var t=this._renderOne(e),n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o=this._cursorLineNumbers.length,r=0,s=[],a=n;a<=i;a++){for(var u=a-n;r<o&&this._cursorLineNumbers[r]<a;)r++;r<o&&this._cursorLineNumbers[r]===a?s[u]=t:s[u]=""}this._renderData=s}else this._renderData=null},t.prototype.render=function(e,t){if(!this._renderData)return"";var n=t-e;return n>=this._renderData.length?"":this._renderData[n]},t}(Ss),Ua=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ja(t,e),t.prototype._renderOne=function(e){return'<div class="'+("current-line"+(this._shouldRenderOther()?" current-line-both":""))+'" style="width:'+Math.max(e.scrollWidth,this._contentWidth)+"px; height:"+this._lineHeight+'px;"></div>'},t.prototype._shouldRenderThis=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t.prototype._shouldRenderOther=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t}(za),Ka=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ja(t,e),t.prototype._renderOne=function(e){return'<div class="'+("current-line current-line-margin"+(this._shouldRenderOther()?" current-line-margin-both":""))+'" style="width:'+this._contentLeft+"px; height:"+this._lineHeight+'px;"></div>'},t.prototype._shouldRenderThis=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t.prototype._shouldRenderOther=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t}(za);Object(Ir.e)((function(e,t){Ha=!1;var n=e.getColor(Os);if(n&&(t.addRule(".monaco-editor .view-overlays .current-line { background-color: "+n+"; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: "+n+"; border: none; }")),!n||n.isTransparent()||e.defines(Ds)){var i=e.getColor(Ds);i&&(Ha=!0,t.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid "+i+"; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid "+i+"; }"),"hc"===e.type&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}}));n("Vtyv");var qa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ga=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options;return n._lineHeight=i.get(49),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return qa(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;o<r;o++){var s=t[o];s.options.className&&(n[i++]=s)}n=n.sort((function(e,t){if(e.options.zIndex<t.options.zIndex)return-1;if(e.options.zIndex>t.options.zIndex)return 1;var n=e.options.className,i=t.options.className;return n<i?-1:n>i?1:z.a.compareRangesUsingStarts(e.range,t.range)}));for(var a=e.visibleRange.startLineNumber,u=e.visibleRange.endLineNumber,l=[],c=a;c<=u;c++){l[c-a]=""}this._renderWholeLineDecorations(e,n,l),this._renderNormalDecorations(e,n,l),this._renderResult=l},t.prototype._renderWholeLineDecorations=function(e,t,n){for(var i=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,s=0,a=t.length;s<a;s++){var u=t[s];if(u.options.isWholeLine)for(var l='<div class="cdr '+u.options.className+'" style="left:0;width:100%;height:'+i+'px;"></div>',c=Math.max(u.range.startLineNumber,o),d=Math.min(u.range.endLineNumber,r),h=c;h<=d;h++){n[h-o]+=l}}},t.prototype._renderNormalDecorations=function(e,t,n){for(var i=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=null,s=!1,a=null,u=0,l=t.length;u<l;u++){var c=t[u];if(!c.options.isWholeLine){var d=c.options.className,h=Boolean(c.options.showIfCollapsed),f=c.range;h&&1===f.endColumn&&f.endLineNumber!==f.startLineNumber&&(f=new z.a(f.startLineNumber,f.startColumn,f.endLineNumber-1,this._context.model.getLineMaxColumn(f.endLineNumber-1))),r===d&&s===h&&z.a.areIntersectingOrTouching(a,f)?a=z.a.plusRange(a,f):(null!==r&&this._renderNormalDecoration(e,a,r,s,i,o,n),r=d,s=h,a=f)}}null!==r&&this._renderNormalDecoration(e,a,r,s,i,o,n)},t.prototype._renderNormalDecoration=function(e,t,n,i,o,r,s){var a=e.linesVisibleRangesForRange(t,"findMatch"===n);if(a)for(var u=0,l=a.length;u<l;u++){var c=a[u];if(!c.outsideRenderedLine){var d=c.lineNumber-r;if(i&&1===c.ranges.length){var h=c.ranges[0];0===h.width&&(c.ranges[0]=new Or(h.left,this._typicalHalfwidthCharacterWidth))}for(var f=0,p=c.ranges.length;f<p;f++){var g=c.ranges[f],m='<div class="cdr '+n+'" style="left:'+String(g.left)+"px;width:"+String(g.width)+"px;height:"+o+'px;"></div>';s[d]+=m}}}},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(Ss),Ya=n("GJhM"),Za=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Xa=function(e){function t(t,n,i,o){var r=e.call(this,t)||this,s=r._context.configuration.options,a=s.get(78),u=s.get(56),l=s.get(27),c={listenOnDomNode:i.domNode,className:"editor-scrollable "+Object(Ir.d)(t.theme.type),useShadows:!1,lazyRender:!0,vertical:a.vertical,horizontal:a.horizontal,verticalHasArrows:a.verticalHasArrows,horizontalHasArrows:a.horizontalHasArrows,verticalScrollbarSize:a.verticalScrollbarSize,verticalSliderSize:a.verticalSliderSize,horizontalScrollbarSize:a.horizontalScrollbarSize,horizontalSliderSize:a.horizontalSliderSize,handleMouseWheel:a.handleMouseWheel,alwaysConsumeMouseWheel:a.alwaysConsumeMouseWheel,arrowSize:a.arrowSize,mouseWheelScrollSensitivity:u,fastScrollSensitivity:l};r.scrollbar=r._register(new Ya.c(n.domNode,c,r._context.viewLayout.getScrollable())),wr.write(r.scrollbar.getDomNode(),5),r.scrollbarDomNode=Object(rr.b)(r.scrollbar.getDomNode()),r.scrollbarDomNode.setPosition("absolute"),r._setLayout();var d=function(e,t,n){var i={};if(t){var o=e.scrollTop;o&&(i.scrollTop=r._context.viewLayout.getCurrentScrollTop()+o,e.scrollTop=0)}if(n){var s=e.scrollLeft;s&&(i.scrollLeft=r._context.viewLayout.getCurrentScrollLeft()+s,e.scrollLeft=0)}r._context.viewLayout.setScrollPositionNow(i)};return r._register(Z.g(i.domNode,"scroll",(function(e){return d(i.domNode,!0,!0)}))),r._register(Z.g(n.domNode,"scroll",(function(e){return d(n.domNode,!0,!1)}))),r._register(Z.g(o.domNode,"scroll",(function(e){return d(o.domNode,!0,!1)}))),r._register(Z.g(r.scrollbarDomNode.domNode,"scroll",(function(e){return d(r.scrollbarDomNode.domNode,!0,!1)}))),r}return Za(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._setLayout=function(){var e=this._context.configuration.options,t=e.get(107);this.scrollbarDomNode.setLeft(t.contentLeft),"right"===e.get(54).side?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)},t.prototype.getOverviewRulerLayoutInfo=function(){return this.scrollbar.getOverviewRulerLayoutInfo()},t.prototype.getDomNode=function(){return this.scrollbarDomNode},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)},t.prototype.onConfigurationChanged=function(e){if(e.hasChanged(78)||e.hasChanged(56)||e.hasChanged(27)){var t=this._context.configuration.options,n=t.get(78),i=t.get(56),o=t.get(27),r={handleMouseWheel:n.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:o};this.scrollbar.updateOptions(r)}return e.hasChanged(107)&&this._setLayout(),!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onThemeChanged=function(e){return this.scrollbar.updateClassName("editor-scrollable "+Object(Ir.d)(this._context.theme.type)),!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this.scrollbar.renderNow()},t}(Cr),Ja=(n("hHjc"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Qa=function(e,t,n){this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)},$a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ja(t,e),t.prototype._render=function(e,t,n){for(var i=[],o=e;o<=t;o++){i[o-e]=[]}if(0===n.length)return i;n.sort((function(e,t){return e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className<t.className?-1:1}));for(var r=null,s=0,a=0,u=n.length;a<u;a++){var l=n[a],c=l.className,d=Math.max(l.startLineNumber,e)-e,h=Math.min(l.endLineNumber,t)-e;r===c?(d=Math.max(s+1,d),s=Math.max(s,h)):(r=c,s=h);for(var f=d;f<=s;f++)i[f].push(r)}return i},t}(Ss),eu=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options,o=i.get(107);return n._lineHeight=i.get(49),n._glyphMargin=i.get(40),n._glyphMarginLeft=o.glyphMarginLeft,n._glyphMarginWidth=o.glyphMarginWidth,n._renderResult=null,n._context.addEventHandler(n),n}return Ja(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._lineHeight=t.get(49),this._glyphMargin=t.get(40),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;o<r;o++){var s=t[o],a=s.options.glyphMarginClassName;a&&(n[i++]=new Qa(s.range.startLineNumber,s.range.endLineNumber,a))}return n},t.prototype.prepareRender=function(e){if(this._glyphMargin){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o=this._lineHeight.toString(),r='" style="left:'+this._glyphMarginLeft.toString()+"px;width:"+this._glyphMarginWidth.toString()+"px;height:"+o+'px;"></div>',s=[],a=t;a<=n;a++){var u=a-t,l=i[u];0===l.length?s[u]="":s[u]='<div class="cgmr codicon '+l.join(" ")+r}this._renderResult=s}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}($a),tu=(n("C6rC"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),nu=function(e){function t(t){var n=e.call(this)||this;n._context=t,n._primaryLineNumber=0;var i=n._context.configuration.options,o=i.get(108),r=i.get(34);return n._lineHeight=i.get(49),n._spaceWidth=r.spaceWidth,n._enabled=i.get(70),n._activeIndentEnabled=i.get(43),n._maxIndentLeft=-1===o.wrappingColumn?-1:o.wrappingColumn*r.typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return tu(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(108),i=t.get(34);return this._lineHeight=t.get(49),this._spaceWidth=i.spaceWidth,this._enabled=t.get(70),this._activeIndentEnabled=t.get(43),this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0],n=t.isEmpty()?t.positionLineNumber:0;return this._primaryLineNumber!==n&&(this._primaryLineNumber=n,!0)},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onLanguageConfigurationChanged=function(e){return!0},t.prototype.prepareRender=function(e){if(this._enabled){var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._context.model.getOptions().indentSize*this._spaceWidth,o=e.scrollWidth,r=this._lineHeight,s=this._context.model.getLinesIndentGuides(t,n),a=0,u=0,l=0;if(this._activeIndentEnabled&&this._primaryLineNumber){var c=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,n);a=c.startLineNumber,u=c.endLineNumber,l=c.indent}for(var d=[],h=t;h<=n;h++){var f=a<=h&&h<=u,p=h-t,g=s[p],m="";if(g>=1)for(var v=e.visibleRangeForPosition(new H.a(h,1)),_=v?v.left:0,y=1;y<=g;y++){if(m+='<div class="'+(f&&y===l?"cigra":"cigr")+'" style="left:'+_+"px;height:"+r+"px;width:"+i+'px"></div>',(_+=i)>o||this._maxIndentLeft>0&&_>this._maxIndentLeft)break}d[p]=m}this._renderResult=d}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(Ss);Object(Ir.e)((function(e,t){var n=e.getColor(Rs);n&&t.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 "+n+" inset; }");var i=e.getColor(Ps)||n;i&&t.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 "+i+" inset; }")}));n("OKK6");var iu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ou=function(){function e(){this._currentVisibleRange=new z.a(1,1,1,1)}return e.prototype.getCurrentVisibleRange=function(){return this._currentVisibleRange},e.prototype.setCurrentVisibleRange=function(e){this._currentVisibleRange=e},e}(),ru=function(e,t,n,i,o,r){this.lineNumber=e,this.startColumn=t,this.endColumn=n,this.startScrollTop=i,this.stopScrollTop=o,this.scrollType=r},su=function(e){function t(t,n){var i=e.call(this,t)||this;i._linesContent=n,i._textRangeRestingSpot=document.createElement("div"),i._visibleLines=new ka(i),i.domNode=i._visibleLines.domNode;var o=i._context.configuration,r=i._context.configuration.options,s=r.get(34),a=r.get(108);return i._lineHeight=r.get(49),i._typicalHalfwidthCharacterWidth=s.typicalHalfwidthCharacterWidth,i._isViewportWrapping=a.isViewportWrapping,i._revealHorizontalRightPadding=r.get(75),i._cursorSurroundingLines=r.get(19),i._cursorSurroundingLinesStyle=r.get(20),i._canUseLayerHinting=!r.get(22),i._viewLineOptions=new Pr(o,i._context.theme.type),wr.write(i.domNode,7),i.domNode.setClassName("view-lines"),ir.applyFontInfo(i.domNode,s),i._maxLineWidth=0,i._asyncUpdateLineWidths=new We.d((function(){i._updateLineWidthsSlow()}),200),i._lastRenderedData=new ou,i._horizontalRevealRequest=null,i}return iu(t,e),t.prototype.dispose=function(){this._asyncUpdateLineWidths.dispose(),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this.domNode},t.prototype.createVisibleLine=function(){return new Fr(this._viewLineOptions)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(108)&&(this._maxLineWidth=0);var t=this._context.configuration.options,n=t.get(34),i=t.get(108);return this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._isViewportWrapping=i.isViewportWrapping,this._revealHorizontalRightPadding=t.get(75),this._cursorSurroundingLines=t.get(19),this._cursorSurroundingLinesStyle=t.get(20),this._canUseLayerHinting=!t.get(22),ir.applyFontInfo(this.domNode,n),this._onOptionsMaybeChanged(),e.hasChanged(107)&&(this._maxLineWidth=0),!0},t.prototype._onOptionsMaybeChanged=function(){var e=this._context.configuration,t=new Pr(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;for(var n=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),o=n;o<=i;o++){this._visibleLines.getVisibleLine(o).onOptionsChanged(this._viewLineOptions)}return!0}return!1},t.prototype.onCursorStateChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=!1,o=t;o<=n;o++)i=this._visibleLines.getVisibleLine(o).onSelectionChanged()||i;return i},t.prototype.onDecorationsChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=t;i<=n;i++)this._visibleLines.getVisibleLine(i).onDecorationsChanged();return!0},t.prototype.onFlushed=function(e){var t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t},t.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},t.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},t.prototype.onRevealRangeRequest=function(e){var t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.range,e.verticalType),n=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range.startLineNumber!==e.range.endLineNumber?n={scrollTop:n.scrollTop,scrollLeft:0}:this._horizontalRevealRequest=new ru(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):this._horizontalRevealRequest=null;var i=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop);return 0===e.scrollType&&i>this._lineHeight?this._context.viewLayout.setScrollPositionSmooth(n):this._context.viewLayout.setScrollPositionNow(n),!0},t.prototype.onScrollChanged=function(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){var t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),n=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTop<t||e.scrollTop>n)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0},t.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},t.prototype.onZonesChanged=function(e){return this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth),this._visibleLines.onZonesChanged(e)},t.prototype.onThemeChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.getPositionFromDOMInfo=function(e,t){var n=this._getViewLineDomNode(e);if(null===n)return null;var i=this._getLineNumberFor(n);if(-1===i)return null;if(i<1||i>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(i))return new H.a(i,1);var o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(i<o||i>r)return null;var s=this._visibleLines.getVisibleLine(i).getColumnOfNodeOffset(i,e,t),a=this._context.model.getLineMinColumn(i);return s<a&&(s=a),new H.a(i,s)},t.prototype._getViewLineDomNode=function(e){for(;e&&1===e.nodeType;){if(e.className===Fr.CLASS_NAME)return e;e=e.parentElement}return null},t.prototype._getLineNumberFor=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=t;i<=n;i++){if(e===this._visibleLines.getVisibleLine(i).getDomNode())return i}return-1},t.prototype.getLineWidth=function(e){var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();return e<t||e>n?-1:this._visibleLines.getVisibleLine(e).getWidth()},t.prototype.linesVisibleRangesForRange=function(e,t){if(this.shouldRender())return null;var n=e.endLineNumber,i=z.a.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!i)return null;var o=[],r=0,s=new Rr(this.domNode.domNode,this._textRangeRestingSpot),a=0;t&&(a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new H.a(i.startLineNumber,1)).lineNumber);for(var u=this._visibleLines.getStartLineNumber(),l=this._visibleLines.getEndLineNumber(),c=i.startLineNumber;c<=i.endLineNumber;c++)if(!(c<u||c>l)){var d=c===i.startLineNumber?i.startColumn:1,h=c===i.endLineNumber?i.endColumn:this._context.model.getLineMaxColumn(c),f=this._visibleLines.getVisibleLine(c).getVisibleRangesForRange(d,h,s);if(f){if(t&&c<n)a!==(a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new H.a(c+1,1)).lineNumber)&&(f.ranges[f.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth);o[r++]=new Nr(f.outsideRenderedLine,c,f.ranges)}}return 0===r?null:o},t.prototype._visibleRangesForLineRange=function(e,t,n){return this.shouldRender()||e<this._visibleLines.getStartLineNumber()||e>this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(t,n,new Rr(this.domNode.domNode,this._textRangeRestingSpot))},t.prototype.visibleRangeForPosition=function(e){var t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new Dr(t.outsideRenderedLine,t.ranges[0].left):null},t.prototype.updateLineWidths=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidthsFast=function(){return this._updateLineWidths(!0)},t.prototype._updateLineWidthsSlow=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidths=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=1,o=!0,r=t;r<=n;r++){var s=this._visibleLines.getVisibleLine(r);!e||s.getWidthIsFast()?i=Math.max(i,s.getWidth()):o=!1}return o&&1===t&&n===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(i),o},t.prototype.prepareRender=function(){throw new Error("Not supported")},t.prototype.render=function(){throw new Error("Not supported")},t.prototype.renderText=function(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){var t=this._horizontalRevealRequest.lineNumber,n=this._horizontalRevealRequest.startColumn,i=this._horizontalRevealRequest.endColumn,o=this._horizontalRevealRequest.scrollType;if(e.startLineNumber<=t&&t<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();var r=this._computeScrollLeftToRevealRange(t,n,i);this._isViewportWrapping||this._ensureMaxLineWidth(r.maxHorizontalOffset),0===o?this._context.viewLayout.setScrollPositionSmooth({scrollLeft:r.scrollLeft}):this._context.viewLayout.setScrollPositionNow({scrollLeft:r.scrollLeft})}}this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");var s=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-s),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())},t.prototype._ensureMaxLineWidth=function(e){var t=Math.ceil(e);this._maxLineWidth<t&&(this._maxLineWidth=t,this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth))},t.prototype._computeScrollTopToRevealRange=function(e,t,n,i){var o,r,s,a=e.top,u=e.height,l=a+u;if(o=this._context.viewLayout.getVerticalOffsetForLineNumber(n.startLineNumber),r=this._context.viewLayout.getVerticalOffsetForLineNumber(n.endLineNumber)+this._lineHeight,!("mouse"===t&&"default"===this._cursorSurroundingLinesStyle)){var c=Math.min(u/this._lineHeight/2,this._cursorSurroundingLines);o-=c*this._lineHeight,r+=Math.max(0,c-1)*this._lineHeight}if(0!==i&&4!==i||(r+=this._lineHeight),r-o>u)s=o;else if(1===i||2===i)if(2===i&&a<=o&&r<=l)s=a;else{var d=(o+r)/2;s=Math.max(0,d-u/2)}else s=this._computeMinimumScrolling(a,l,o,r,3===i,4===i);return s},t.prototype._computeScrollLeftToRevealRange=function(e,n,i){var o=0,r=this._context.viewLayout.getCurrentViewport(),s=r.left,a=s+r.width,u=this._visibleRangesForLineRange(e,n,i),l=1073741824,c=0;if(!u)return{scrollLeft:s,maxHorizontalOffset:o};for(var d=0,h=u.ranges;d<h.length;d++){var f=h[d];f.left<l&&(l=f.left),f.left+f.width>c&&(c=f.left+f.width)}return o=c,l=Math.max(0,l-t.HORIZONTAL_EXTRA_PX),c+=this._revealHorizontalRightPadding,{scrollLeft:this._computeMinimumScrolling(s,a,l,c),maxHorizontalOffset:o}},t.prototype._computeMinimumScrolling=function(e,t,n,i,o,r){o=!!o,r=!!r;var s=(t|=0)-(e|=0);return(i|=0)-(n|=0)<s?o?n:r?Math.max(0,i-s):n<e?n:i>t?Math.max(0,i-s):e:n},t.HORIZONTAL_EXTRA_PX=30,t}(Cr),au=(n("J+ZK"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),uu=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options.get(107);return n._decorationsLeft=i.decorationsLeft,n._decorationsWidth=i.decorationsWidth,n._renderResult=null,n._context.addEventHandler(n),n}return au(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options.get(107);return this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.decorationsWidth,!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;o<r;o++){var s=t[o],a=s.options.linesDecorationsClassName;a&&(n[i++]=new Qa(s.range.startLineNumber,s.range.endLineNumber,a))}return n},t.prototype.prepareRender=function(e){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o='" style="left:'+this._decorationsLeft.toString()+"px;width:"+this._decorationsWidth.toString()+'px;"></div>',r=[],s=t;s<=n;s++){for(var a=s-t,u=i[a],l="",c=0,d=u.length;c<d;c++)l+='<div class="cldr '+u[c]+o;r[a]=l}this._renderResult=r},t.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},t}($a),lu=(n("XXBq"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),cu=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._renderResult=null,n._context.addEventHandler(n),n}return lu(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;o<r;o++){var s=t[o],a=s.options.marginClassName;a&&(n[i++]=new Qa(s.range.startLineNumber,s.range.endLineNumber,a))}return n},t.prototype.prepareRender=function(e){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o=[],r=t;r<=n;r++){for(var s=r-t,a=i[s],u="",l=0,c=a.length;l<c;l++)u+='<div class="cmdr '+a[l]+'" style=""></div>';o[s]=u}this._renderResult=o},t.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},t}($a),du=(n("8gvo"),function(){function e(t,n,i,o){this.r=e._clamp(t),this.g=e._clamp(n),this.b=e._clamp(i),this.a=e._clamp(o)}return e._clamp=function(e){return e<0?0:e>255?255:0|e},e.Empty=new e(0,0,0,0),e}()),hu=function(){function e(){var e=this;this._onDidChange=new W.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),Re.y.onDidChange((function(t){t.changedColorMap&&e._updateColorMap()}))}return e.getInstance=function(){return this._INSTANCE||(this._INSTANCE=new e),this._INSTANCE},e.prototype._updateColorMap=function(){var e=Re.y.getColorMap();if(!e)return this._colors=[du.Empty],void(this._backgroundIsLight=!0);this._colors=[du.Empty];for(var t=1;t<e.length;t++){var n=e[t].rgba;this._colors[t]=new du(n.r,n.g,n.b,Math.round(255*n.a))}var i=e[2].getRelativeLuminance();this._backgroundIsLight=i>=.5,this._onDidChange.fire(void 0)},e.prototype.getColor=function(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]},e.prototype.backgroundIsLight=function(){return this._backgroundIsLight},e._INSTANCE=null,e}(),fu=function(){for(var e=[],t=32;t<=126;t++)e.push(t);return e.push(65533),e}(),pu=function(){function e(t,n){this.scale=n,this.charDataNormal=e.soften(t,.8),this.charDataLight=e.soften(t,50/60)}return e.soften=function(e,t){for(var n=new Uint8ClampedArray(e.length),i=0,o=e.length;i<o;i++)n[i]=e[i]*t;return n},e.prototype.renderChar=function(e,t,n,i,o,r,s,a){var u=1*this.scale,l=2*this.scale;if(t+u>e.width||n+l>e.height)console.warn("bad render request outside image data");else for(var c=a?this.charDataLight:this.charDataNormal,d=function(e,t){return(e-=32)<0||e>96?t<=2?(e+96)%96:95:e}(i,s),h=4*e.width,f=r.r,p=r.g,g=r.b,m=o.r-f,v=o.g-p,_=o.b-g,y=e.data,b=d*u*l,C=n*h+4*t,w=0;w<l;w++){for(var S=C,L=0;L<u;L++){var N=c[b++]/255;y[S++]=f+m*N,y[S++]=p+v*N,y[S++]=g+_*N,S++}C+=h}},e.prototype.blockRenderChar=function(e,t,n,i,o,r){var s=1*this.scale,a=2*this.scale;if(t+s>e.width||n+a>e.height)console.warn("bad render request outside image data");else for(var u=4*e.width,l=o.r,c=o.g,d=o.b,h=l+.5*(i.r-l),f=c+.5*(i.g-c),p=d+.5*(i.b-d),g=e.data,m=n*u+4*t,v=0;v<a;v++){for(var _=m,y=0;y<s;y++)g[_++]=h,g[_++]=f,g[_++]=p,_++;m+=u}},e}(),gu=n("C/vA"),mu={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15},vu=function(e){for(var t=new Uint8ClampedArray(e.length/2),n=0;n<e.length;n+=2)t[n>>1]=mu[e[n]]<<4|15&mu[e[n+1]];return t},_u={1:Object(gu.a)((function(){return vu("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")})),2:Object(gu.a)((function(){return vu("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126")}))},yu=function(){function e(){}return e.create=function(t,n){return this.lastCreated&&t===this.lastCreated.scale&&n===this.lastFontFamily?this.lastCreated:(i=_u[t]?new pu(_u[t](),t):e.createFromSampleData(e.createSampleData(n).data,t),this.lastFontFamily=n,this.lastCreated=i,i);var i},e.createSampleData=function(e){var t=document.createElement("canvas"),n=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",n.fillStyle="#ffffff",n.font="bold 16px "+e,n.textBaseline="middle";for(var i=0,o=0,r=fu;o<r.length;o++){var s=r[o];n.fillText(String.fromCharCode(s),i,8),i+=10}return n.getImageData(0,0,960,16)},e.createFromSampleData=function(t,n){if(61440!==t.length)throw new Error("Unexpected source in MinimapCharRenderer");var i=e._downsample(t,n);return new pu(i,n)},e._downsampleChar=function(e,t,n,i,o){for(var r=1*o,s=2*o,a=i,u=0,l=0;l<s;l++)for(var c=l/s*16,d=(l+1)/s*16,h=0;h<r;h++){for(var f=h/r*10,p=(h+1)/r*10,g=0,m=0,v=c;v<d;v++)for(var _=t+3840*Math.floor(v),y=1-(v-Math.floor(v)),b=f;b<p;b++){var C=1-(b-Math.floor(b)),w=_+4*Math.floor(b),S=C*y;m+=S,g+=e[w]*e[w+3]/255*S}var L=g/m;u=Math.max(u,L),n[a++]=L}return u},e._downsample=function(e,t){for(var n=2*t*1*t,i=96*n,o=new Uint8ClampedArray(i),r=0,s=0,a=0,u=0;u<96;u++)a=Math.max(a,this._downsampleChar(e,s,o,r,t)),r+=n,s+=40;if(a>0)for(var l=255/a,c=0;c<i;c++)o[c]*=l;return o},e}(),bu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function Cu(e,t){return 1===e?2*t:3*t}function wu(e,t){return 1*t}var Su=function(){function e(e){var t=this,n=e.options,i=n.get(105),o=n.get(107),r=n.get(34);this.renderMinimap=0|o.renderMinimap,this.scrollBeyondLastLine=n.get(80);var s=n.get(54);this.showSlider=s.showSlider,this.fontScale=Math.round(s.scale*i),this.charRenderer=Object(gu.a)((function(){return yu.create(t.fontScale,r.fontFamily)})),this.pixelRatio=i,this.typicalHalfwidthCharacterWidth=r.typicalHalfwidthCharacterWidth,this.lineHeight=n.get(49),this.minimapLeft=o.minimapLeft,this.minimapWidth=o.minimapWidth,this.minimapHeight=o.height,this.canvasInnerWidth=Math.floor(i*this.minimapWidth),this.canvasInnerHeight=Math.floor(i*this.minimapHeight),this.canvasOuterWidth=this.canvasInnerWidth/i,this.canvasOuterHeight=this.canvasInnerHeight/i}return e.prototype.equals=function(e){return this.renderMinimap===e.renderMinimap&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.fontScale===e.fontScale&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight},e}(),Lu=function(){function e(e,t,n,i,o,r,s){this.scrollTop=e,this.scrollHeight=t,this._computedSliderRatio=n,this.sliderTop=i,this.sliderHeight=o,this.startLineNumber=r,this.endLineNumber=s}return e.prototype.getDesiredScrollTopFromDelta=function(e){var t=this.sliderTop+e;return Math.round(t/this._computedSliderRatio)},e.prototype.getDesiredScrollTopFromTouchLocation=function(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)},e.create=function(t,n,i,o,r,s,a,u,l){var c,d,h=t.pixelRatio,f=Cu(t.renderMinimap,t.fontScale),p=Math.floor(t.canvasInnerHeight/f),g=t.lineHeight;if(r&&i!==s){var m=i-n+1;c=Math.floor(m*f/h)}else{var v=o/g;c=Math.floor(v*f/h)}d=t.scrollBeyondLastLine?(s-1)*f/h:Math.max(0,s*f/h-c);var _=(d=Math.min(t.minimapHeight-c,d))/(u-o),y=a*_,b=0;t.scrollBeyondLastLine&&(b=v=o/g);if(p>=s+b)return new e(a,u,_,y,c,C=1,s);var C=Math.max(1,Math.floor(n-y*h/f));return l&&l.scrollHeight===u&&(l.scrollTop>a&&(C=Math.min(C,l.startLineNumber)),l.scrollTop<a&&(C=Math.max(C,l.startLineNumber))),new e(a,u,_,y,c,C,Math.min(s,C+p-1))},e}(),Nu=function(){function e(e){this.dy=e}return e.prototype.onContentChanged=function(){this.dy=-1},e.prototype.onTokensChanged=function(){this.dy=-1},e.INVALID=new e(-1),e}(),Ou=function(){function e(e,t,n){this.renderedLayout=e,this._imageData=t,this._renderedLines=new Ea((function(){return Nu.INVALID})),this._renderedLines._set(e.startLineNumber,n)}return e.prototype.linesEquals=function(e){if(!this.scrollEquals(e))return!1;for(var t=this._renderedLines._get().lines,n=0,i=t.length;n<i;n++)if(-1===t[n].dy)return!1;return!0},e.prototype.scrollEquals=function(e){return this.renderedLayout.startLineNumber===e.startLineNumber&&this.renderedLayout.endLineNumber===e.endLineNumber},e.prototype._get=function(){var e=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:e.rendLineNumberStart,lines:e.lines}},e.prototype.onLinesChanged=function(e){return this._renderedLines.onLinesChanged(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesDeleted=function(e){this._renderedLines.onLinesDeleted(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesInserted=function(e){this._renderedLines.onLinesInserted(e.fromLineNumber,e.toLineNumber)},e.prototype.onTokensChanged=function(e){return this._renderedLines.onTokensChanged(e.ranges)},e}(),Du=function(){function e(t,n,i,o){this._backgroundFillData=e._createBackgroundFillData(n,i,o),this._buffers=[t.createImageData(n,i),t.createImageData(n,i)],this._lastUsedBuffer=0}return e.prototype.getBuffer=function(){this._lastUsedBuffer=1-this._lastUsedBuffer;var e=this._buffers[this._lastUsedBuffer];return e.data.set(this._backgroundFillData),e},e._createBackgroundFillData=function(e,t,n){for(var i=n.r,o=n.g,r=n.b,s=new Uint8ClampedArray(e*t*4),a=0,u=0;u<t;u++)for(var l=0;l<e;l++)s[a]=i,s[a+1]=o,s[a+2]=r,s[a+3]=255,a+=4;return s},e}(),xu=function(e){function t(t){var n=e.call(this,t)||this;return n._selections=[],n._renderDecorations=!1,n._gestureInProgress=!1,n._options=new Su(n._context.configuration),n._lastRenderData=null,n._buffers=null,n._selectionColor=n._context.theme.getColor(Ns.yb),n._domNode=Object(rr.b)(document.createElement("div")),wr.write(n._domNode,8),n._domNode.setClassName(n._getMinimapDomNodeClassName()),n._domNode.setPosition("absolute"),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n._shadow=Object(rr.b)(document.createElement("div")),n._shadow.setClassName("minimap-shadow-hidden"),n._domNode.appendChild(n._shadow),n._canvas=Object(rr.b)(document.createElement("canvas")),n._canvas.setPosition("absolute"),n._canvas.setLeft(0),n._domNode.appendChild(n._canvas),n._decorationsCanvas=Object(rr.b)(document.createElement("canvas")),n._decorationsCanvas.setPosition("absolute"),n._decorationsCanvas.setClassName("minimap-decorations-layer"),n._decorationsCanvas.setLeft(0),n._domNode.appendChild(n._decorationsCanvas),n._slider=Object(rr.b)(document.createElement("div")),n._slider.setPosition("absolute"),n._slider.setClassName("minimap-slider"),n._slider.setLayerHinting(!0),n._slider.setContain("strict"),n._domNode.appendChild(n._slider),n._sliderHorizontal=Object(rr.b)(document.createElement("div")),n._sliderHorizontal.setPosition("absolute"),n._sliderHorizontal.setClassName("minimap-slider-horizontal"),n._slider.appendChild(n._sliderHorizontal),n._tokensColorTracker=hu.getInstance(),n._applyLayout(),n._mouseDownListener=Z.k(n._domNode.domNode,"mousedown",(function(e){e.preventDefault();var t=n._options.renderMinimap;if(0!==t&&n._lastRenderData){var i=Cu(t,n._options.fontScale),o=n._options.pixelRatio*e.browserEvent.offsetY,r=Math.floor(o/i)+n._lastRenderData.renderedLayout.startLineNumber;r=Math.min(r,n._context.model.getLineCount()),n._context.privateViewEventBus.emit(new da("mouse",new z.a(r,1,r,1),1,!1,0))}})),n._sliderMouseMoveMonitor=new ur.a,n._sliderMouseDownListener=Z.k(n._slider.domNode,"mousedown",(function(e){if(e.preventDefault(),e.stopPropagation(),e.leftButton&&n._lastRenderData){var t=e.posy,i=e.posx,o=n._lastRenderData.renderedLayout;n._slider.toggleClassName("active",!0),n._sliderMouseMoveMonitor.startMonitoring(e.target,e.buttons,ur.b,(function(e){var r=Math.abs(e.posx-i);if(ie.h&&r>140)n._context.viewLayout.setScrollPositionNow({scrollTop:o.scrollTop});else{var s=e.posy-t;n._context.viewLayout.setScrollPositionNow({scrollTop:o.getDesiredScrollTopFromDelta(s)})}}),(function(){n._slider.toggleClassName("active",!1)}))}})),n._gestureDisposable=sr.b.addTarget(n._domNode.domNode),n._sliderTouchStartListener=Z.g(n._domNode.domNode,sr.a.Start,(function(e){e.preventDefault(),e.stopPropagation(),n._lastRenderData&&(n._slider.toggleClassName("active",!0),n._gestureInProgress=!0,n.scrollDueToTouchEvent(e))})),n._sliderTouchMoveListener=Z.k(n._domNode.domNode,sr.a.Change,(function(e){e.preventDefault(),e.stopPropagation(),n._lastRenderData&&n._gestureInProgress&&n.scrollDueToTouchEvent(e)})),n._sliderTouchEndListener=Z.k(n._domNode.domNode,sr.a.End,(function(e){e.preventDefault(),e.stopPropagation(),n._gestureInProgress=!1,n._slider.toggleClassName("active",!1)})),n}return bu(t,e),t.prototype.scrollDueToTouchEvent=function(e){var t=this._domNode.domNode.getBoundingClientRect().top,n=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._context.viewLayout.setScrollPositionNow({scrollTop:n})},t.prototype.dispose=function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),e.prototype.dispose.call(this)},t.prototype._getMinimapDomNodeClassName=function(){return"always"===this._options.showSlider?"minimap slider-always":"minimap slider-mouseover"},t.prototype.getDomNode=function(){return this._domNode},t.prototype._applyLayout=function(){this._domNode.setLeft(this._options.minimapLeft),this._domNode.setWidth(this._options.minimapWidth),this._domNode.setHeight(this._options.minimapHeight),this._shadow.setHeight(this._options.minimapHeight),this._canvas.setWidth(this._options.canvasOuterWidth),this._canvas.setHeight(this._options.canvasOuterHeight),this._canvas.domNode.width=this._options.canvasInnerWidth,this._canvas.domNode.height=this._options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._options.canvasInnerHeight,this._slider.setWidth(this._options.minimapWidth)},t.prototype._getBuffer=function(){return this._buffers||this._options.canvasInnerWidth>0&&this._options.canvasInnerHeight>0&&(this._buffers=new Du(this._canvas.domNode.getContext("2d"),this._options.canvasInnerWidth,this._options.canvasInnerHeight,this._tokensColorTracker.getColor(2))),this._buffers?this._buffers.getBuffer():null},t.prototype._onOptionsMaybeChanged=function(){var e=new Su(this._context.configuration);return!this._options.equals(e)&&(this._options=e,this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName()),!0)},t.prototype.onConfigurationChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections,this._renderDecorations=!0,!0},t.prototype.onFlushed=function(e){return this._lastRenderData=null,!0},t.prototype.onLinesChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e),!0},t.prototype.onLinesInserted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e),!0},t.prototype.onScrollChanged=function(e){return this._renderDecorations=!0,!0},t.prototype.onTokensChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)},t.prototype.onTokensColorsChanged=function(e){return this._lastRenderData=null,this._buffers=null,!0},t.prototype.onZonesChanged=function(e){return this._lastRenderData=null,!0},t.prototype.onDecorationsChanged=function(e){return this._renderDecorations=!0,!0},t.prototype.onThemeChanged=function(e){return this._context.model.invalidateMinimapColorCache(),this._selectionColor=this._context.theme.getColor(Ns.yb),this._renderDecorations=!0,!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){if(0===this._options.renderMinimap)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");var t=Lu.create(this._options,e.visibleRange.startLineNumber,e.visibleRange.endLineNumber,e.viewportHeight,e.viewportData.whitespaceViewportData.length>0,this._context.model.getLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setTop(t.sliderTop),this._slider.setHeight(t.sliderHeight);var n=e.scrollLeft/this._options.typicalHalfwidthCharacterWidth,i=Math.min(this._options.minimapWidth,Math.round(n*wu(this._options.renderMinimap,this._options.fontScale)/this._options.pixelRatio));this._sliderHorizontal.setLeft(i),this._sliderHorizontal.setWidth(this._options.minimapWidth-i),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this.renderDecorations(t),this._lastRenderData=this.renderLines(t)},t.prototype.renderDecorations=function(e){if(this._renderDecorations){this._renderDecorations=!1;var t=this._context.model.getDecorationsInViewport(new z.a(e.startLineNumber,1,e.endLineNumber,this._context.model.getLineMaxColumn(e.endLineNumber))),n=this._options,i=n.renderMinimap,o=n.canvasInnerWidth,r=n.canvasInnerHeight,s=Cu(i,this._options.fontScale),a=wu(0,this._options.fontScale),u=this._context.model.getOptions().tabSize,l=this._decorationsCanvas.domNode.getContext("2d");l.clearRect(0,0,o,r);for(var c=new Map,d=0;d<this._selections.length;d++)for(var h=this._selections[d],f=h.startLineNumber;f<=h.endLineNumber;f++)this.renderDecorationOnLine(l,c,h,this._selectionColor,e,f,s,s,u,a);for(d=0;d<t.length;d++){var p=t[d];if(p.options.minimap){var g=p.options.minimap.getColor(this._context.theme);for(f=p.range.startLineNumber;f<=p.range.endLineNumber;f++)switch(p.options.minimap.position){case Ae.c.Inline:this.renderDecorationOnLine(l,c,p.range,g,e,f,s,s,u,a);continue;case Ae.c.Gutter:var m=(f-e.startLineNumber)*s;this.renderDecoration(l,g,2,m,2,s);continue}}}}},t.prototype.renderDecorationOnLine=function(e,t,n,i,o,r,s,a,u,l){var c=(r-o.startLineNumber)*a;if(!(c+s<0||c>this._options.canvasInnerHeight)){var d=t.get(r),h=!d;if(!d){var f=this._context.model.getLineContent(r);d=[F.f];for(var p=1;p<f.length+1;p++){var g=f.charCodeAt(p-1),m=9===g?u*l:ne.w(g)?2*l:l;d[p]=d[p-1]+m}t.set(r,d)}var v=n.startColumn,_=n.endColumn,y=n.startLineNumber,b=n.endLineNumber,C=y===r?d[v-1]:F.f,w=b>r?d.length-1:_-1;if(w>0){var S=d[w]-C||2;this.renderDecoration(e,i,C,c,S,s)}h&&this.renderLineHighlight(e,i,c,s)}},t.prototype.renderLineHighlight=function(e,t,n,i){e.fillStyle=t&&t.transparent(.5).toString()||"",e.fillRect(F.f,n,e.canvas.width,i)},t.prototype.renderDecoration=function(e,t,n,i,o,r){e.fillStyle=t&&t.toString()||"",e.fillRect(n,i,o,r)},t.prototype.renderLines=function(e){var n=this._options.renderMinimap,i=this._options.charRenderer(),o=e.startLineNumber,r=e.endLineNumber,s=Cu(n,this._options.fontScale);if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){var a=this._lastRenderData._get();return new Ou(e,a.imageData,a.lines)}var u=this._getBuffer();if(!u)return null;for(var l=t._renderUntouchedLines(u,o,r,s,this._lastRenderData),c=l[0],d=l[1],h=l[2],f=this._context.model.getMinimapLinesRenderingData(o,r,h),p=f.tabSize,g=this._tokensColorTracker.getColor(2),m=this._tokensColorTracker.backgroundIsLight(),v=0,_=[],y=0,b=r-o+1;y<b;y++)h[y]&&t._renderLine(u,g,m,n,this._tokensColorTracker,i,v,p,f.data[y],this._options.fontScale),_[y]=new Nu(v),v+=s;var C=-1===c?0:c,w=(-1===d?u.height:d)-C;return this._canvas.domNode.getContext("2d").putImageData(u,0,0,0,C,u.width,w),new Ou(e,u,_)},t._renderUntouchedLines=function(e,t,n,i,o){var r=[];if(!o){for(var s=0,a=n-t+1;s<a;s++)r[s]=!0;return[-1,-1,r]}for(var u=o._get(),l=u.imageData.data,c=u.rendLineNumberStart,d=u.lines,h=d.length,f=e.width,p=e.data,g=(n-t+1)*i*f*4,m=-1,v=-1,_=-1,y=-1,b=-1,C=-1,w=0,S=t;S<=n;S++){var L=S-t,N=S-c,O=N>=0&&N<h?d[N].dy:-1;if(-1!==O){var D=O*f*4,x=(O+i)*f*4,E=w*f*4,k=(w+i)*f*4;y===D&&C===E?(y=x,C=k):(-1!==_&&(p.set(l.subarray(_,y),b),-1===m&&0===_&&_===b&&(m=y),-1===v&&y===g&&_===b&&(v=_)),_=D,y=x,b=E,C=k),r[L]=!1,w+=i}else r[L]=!0,w+=i}return-1!==_&&(p.set(l.subarray(_,y),b),-1===m&&0===_&&_===b&&(m=y),-1===v&&y===g&&_===b&&(v=_)),[-1===m?-1:m/(4*f),-1===v?-1:v/(4*f),r]},t._renderLine=function(e,t,n,i,o,r,s,a,u,l){for(var c=u.content,d=u.tokens,h=wu(0,l),f=e.width-h,p=F.f,g=0,m=0,v=0,_=d.getCount();v<_;v++)for(var y=d.getEndOffset(v),b=d.getForeground(v),C=o.getColor(b);g<y;g++){if(p>f)return;var w=c.charCodeAt(g);if(9===w){var S=a-(g+m)%a;m+=S-1,p+=S*h}else if(32===w)p+=h;else for(var L=ne.w(w)?2:1,N=0;N<L;N++)if(2===i?r.blockRenderChar(e,p,s,C,t,n):r.renderChar(e,p,s,w,C,t,l,n),(p+=h)>f)return}},t}(Cr);Object(Ir.e)((function(e,t){var n=e.getColor(Ns.Ib);if(n){var i=n.transparent(.5);t.addRule(".monaco-editor .minimap-slider, .monaco-editor .minimap-slider .minimap-slider-horizontal { background: "+i+"; }")}var o=e.getColor(Ns.Jb);if(o){var r=o.transparent(.5);t.addRule(".monaco-editor .minimap-slider:hover, .monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: "+r+"; }")}var s=e.getColor(Ns.Hb);if(s){var a=s.transparent(.5);t.addRule(".monaco-editor .minimap-slider.active, .monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: "+a+"; }")}var u=e.getColor(Ns.Gb);u&&t.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+u+" -6px 0 6px -6px inset; }")}));n("cl4r");var Eu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ku=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options.get(107);return n._widgets={},n._verticalScrollbarWidth=i.verticalScrollbarWidth,n._minimapWidth=i.minimapWidth,n._horizontalScrollbarHeight=i.horizontalScrollbarHeight,n._editorHeight=i.height,n._editorWidth=i.width,n._domNode=Object(rr.b)(document.createElement("div")),wr.write(n._domNode,4),n._domNode.setClassName("overlayWidgets"),n}return Eu(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options.get(107);return this._verticalScrollbarWidth=t.verticalScrollbarWidth,this._minimapWidth=t.minimapWidth,this._horizontalScrollbarHeight=t.horizontalScrollbarHeight,this._editorHeight=t.height,this._editorWidth=t.width,!0},t.prototype.addWidget=function(e){var t=Object(rr.b)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()},t.prototype.setWidgetPosition=function(e,t){var n=this._widgets[e.getId()];return n.preference!==t&&(n.preference=t,this.setShouldRender(),!0)},t.prototype.removeWidget=function(e){var t=e.getId();if(this._widgets.hasOwnProperty(t)){var n=this._widgets[t].domNode.domNode;delete this._widgets[t],n.parentNode.removeChild(n),this.setShouldRender()}},t.prototype._renderWidget=function(e){var t=e.domNode;if(null!==e.preference)if(0===e.preference)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===e.preference){var n=t.domNode.clientHeight;t.setTop(this._editorHeight-n-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===e.preference&&(t.setTop(0),t.domNode.style.right="50%");else t.unsetTop()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._editorWidth);for(var t=Object.keys(this._widgets),n=0,i=t.length;n<i;n++){var o=t[n];this._renderWidget(this._widgets[o])}},t}(Cr),Iu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Mu=function(){function e(e,t){var n=e.options;this.lineHeight=n.get(49),this.pixelRatio=n.get(105),this.overviewRulerLanes=n.get(63),this.renderBorder=n.get(62);var i=t.getColor(js);this.borderColor=i?i.toString():null,this.hideCursor=n.get(42);var o=t.getColor(Ms);this.cursorColor=o?o.transparent(.7).toString():null,this.themeType=t.type;var r=n.get(54),s=r.enabled,a=r.side,u=s?Re.y.getDefaultBackground():null;this.backgroundColor=null===u||"left"===a?null:Ls.a.Format.CSS.formatHex(u);var l=n.get(107).overviewRuler;this.top=l.top,this.right=l.right,this.domWidth=l.width,this.domHeight=l.height,0===this.overviewRulerLanes?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);var c=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes),d=c[0],h=c[1];this.x=d,this.w=h}return e.prototype._initLanes=function(e,t,n){var i=t-e;if(n>=3){var o,r,s,a=i-(o=Math.floor(i/3))-(r=Math.floor(i/3)),u=(s=e)+o;return[[0,s,u,s,s+o+a,s,u,s],[0,o,a,o+a,r,o+a+r,a+r,o+a+r]]}if(2===n)return[[0,s=e,s,s,s+(o=Math.floor(i/2)),s,s,s],[0,o,o,o,r=i-o,o+r,o+r,o+r]];return[[0,e,e,e,e,e,e,e],[0,i,i,i,i,i,i,i]]},e.prototype.equals=function(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColor===e.cursorColor&&this.themeType===e.themeType&&this.backgroundColor===e.backgroundColor&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight},e}(),Tu=function(e){function t(t){var n=e.call(this,t)||this;return n._domNode=Object(rr.b)(document.createElement("canvas")),n._domNode.setClassName("decorationsOverviewRuler"),n._domNode.setPosition("absolute"),n._domNode.setLayerHinting(!0),n._domNode.setContain("strict"),n._domNode.setAttribute("aria-hidden","true"),n._updateSettings(!1),n._tokensColorTrackerListener=Re.y.onDidChange((function(e){e.changedColorMap&&n._updateSettings(!0)})),n._cursorPositions=[],n}return Iu(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},t.prototype._updateSettings=function(e){var t=new Mu(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)},t.prototype.onConfigurationChanged=function(e){return this._updateSettings(!1)},t.prototype.onCursorStateChanged=function(e){this._cursorPositions=[];for(var t=0,n=e.selections.length;t<n;t++)this._cursorPositions[t]=e.selections[t].getPosition();return this._cursorPositions.sort(H.a.compare),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onThemeChanged=function(e){return this._context.model.invalidateOverviewRulerColorCache(),this._updateSettings(!1)},t.prototype.getDomNode=function(){return this._domNode.domNode},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._render()},t.prototype._render=function(){if(0!==this._settings.overviewRulerLanes){var e=this._settings.canvasWidth,t=this._settings.canvasHeight,n=this._settings.lineHeight,i=this._context.viewLayout,o=t/this._context.viewLayout.getScrollHeight(),r=this._context.model.getAllOverviewRulerDecorations(this._context.theme),s=6*this._settings.pixelRatio|0,a=s/2|0,u=this._domNode.domNode.getContext("2d");null===this._settings.backgroundColor?u.clearRect(0,0,e,t):(u.fillStyle=this._settings.backgroundColor,u.fillRect(0,0,e,t));var l=this._settings.x,c=this._settings.w,d=Object.keys(r);d.sort();for(var h=0,f=d.length;h<f;h++){var p=d[h],g=r[p];u.fillStyle=p;for(var m=0,v=0,_=0,y=0,b=g.length;y<b;y++){var C=g[3*y],w=g[3*y+1],S=g[3*y+2],L=i.getVerticalOffsetForLineNumber(w)*o|0;if((I=(i.getVerticalOffsetForLineNumber(S)+n)*o|0)-L<s)(E=(L+I)/2|0)<a?E=a:E+a>t&&(E=t-a),L=E-a,I=E+a;L>_+1||C!==m?(0!==y&&u.fillRect(l[m],v,c[m],_-v),m=C,v=L,_=I):I>_&&(_=I)}u.fillRect(l[m],v,c[m],_-v)}if(!this._settings.hideCursor&&this._settings.cursorColor){var N=2*this._settings.pixelRatio|0,O=N/2|0,D=this._settings.x[7],x=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(v=-100,_=-100,y=0,b=this._cursorPositions.length;y<b;y++){var E,k=this._cursorPositions[y];(E=i.getVerticalOffsetForLineNumber(k.lineNumber)*o|0)<O?E=O:E+O>t&&(E=t-O);var I=(L=E-O)+N;L>_+1?(0!==y&&u.fillRect(D,v,x,_-v),v=L,_=I):I>_&&(_=I)}u.fillRect(D,v,x,_-v)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(u.beginPath(),u.lineWidth=1,u.strokeStyle=this._settings.borderColor,u.moveTo(0,0),u.lineTo(0,t),u.stroke(),u.moveTo(0,0),u.lineTo(e,0),u.stroke())}else this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:"")},t}(Cr),Au=function(){function e(e,t,n){this.from=0|e,this.to=0|t,this.colorId=0|n}return e.compare=function(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId},e}(),Ru=function(){function e(e,t,n){this.startLineNumber=e,this.endLineNumber=t,this.color=n,this._colorZone=null}return e.compare=function(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.color<t.color?-1:1},e.prototype.setColorZone=function(e){this._colorZone=e},e.prototype.getColorZones=function(){return this._colorZone},e}(),Pu=function(){function e(e){this._getVerticalOffsetForLine=e,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}return e.prototype.getId2Color=function(){return this._id2Color},e.prototype.setZones=function(e){this._zones=e,this._zones.sort(Ru.compare)},e.prototype.setLineHeight=function(e){return this._lineHeight!==e&&(this._lineHeight=e,this._colorZonesInvalid=!0,!0)},e.prototype.setPixelRatio=function(e){this._pixelRatio=e,this._colorZonesInvalid=!0},e.prototype.getDOMWidth=function(){return this._domWidth},e.prototype.getCanvasWidth=function(){return this._domWidth*this._pixelRatio},e.prototype.setDOMWidth=function(e){return this._domWidth!==e&&(this._domWidth=e,this._colorZonesInvalid=!0,!0)},e.prototype.getDOMHeight=function(){return this._domHeight},e.prototype.getCanvasHeight=function(){return this._domHeight*this._pixelRatio},e.prototype.setDOMHeight=function(e){return this._domHeight!==e&&(this._domHeight=e,this._colorZonesInvalid=!0,!0)},e.prototype.getOuterHeight=function(){return this._outerHeight},e.prototype.setOuterHeight=function(e){return this._outerHeight!==e&&(this._outerHeight=e,this._colorZonesInvalid=!0,!0)},e.prototype.resolveColorZones=function(){for(var e=this._colorZonesInvalid,t=Math.floor(this._lineHeight),n=Math.floor(this.getCanvasHeight()),i=n/Math.floor(this._outerHeight),o=Math.floor(4*this._pixelRatio/2),r=[],s=0,a=this._zones.length;s<a;s++){var u=this._zones[s];if(!e){var l=u.getColorZones();if(l){r.push(l);continue}}var c=Math.floor(i*this._getVerticalOffsetForLine(u.startLineNumber)),d=Math.floor(i*(this._getVerticalOffsetForLine(u.endLineNumber)+t)),h=Math.floor((c+d)/2),f=d-h;f<o&&(f=o),h-f<0&&(h=f),h+f>n&&(h=n-f);var p=u.color,g=this._color2Id[p];g||(g=++this._lastAssignedId,this._color2Id[p]=g,this._id2Color[g]=p);var m=new Au(h-f,h+f,g);u.setColorZone(m),r.push(m)}return this._colorZonesInvalid=!1,r.sort(Au.compare),r},e}(),Fu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Vu=function(e){function t(t,n){var i=e.call(this)||this;i._context=t;var o=i._context.configuration.options;return i._domNode=Object(rr.b)(document.createElement("canvas")),i._domNode.setClassName(n),i._domNode.setPosition("absolute"),i._domNode.setLayerHinting(!0),i._domNode.setContain("strict"),i._zoneManager=new Pu((function(e){return i._context.viewLayout.getVerticalOffsetForLineNumber(e)})),i._zoneManager.setDOMWidth(0),i._zoneManager.setDOMHeight(0),i._zoneManager.setOuterHeight(i._context.viewLayout.getScrollHeight()),i._zoneManager.setLineHeight(o.get(49)),i._zoneManager.setPixelRatio(o.get(105)),i._context.addEventHandler(i),i}return Fu(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return e.hasChanged(49)&&(this._zoneManager.setLineHeight(t.get(49)),this._render()),e.hasChanged(105)&&(this._zoneManager.setPixelRatio(t.get(105)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0},t.prototype.onFlushed=function(e){return this._render(),!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0},t.prototype.onZonesChanged=function(e){return this._render(),!0},t.prototype.getDomNode=function(){return this._domNode.domNode},t.prototype.setLayout=function(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);var t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,(t=this._zoneManager.setDOMHeight(e.height)||t)&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())},t.prototype.setZones=function(e){this._zoneManager.setZones(e),this._render()},t.prototype._render=function(){if(0===this._zoneManager.getOuterHeight())return!1;var e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),n=this._zoneManager.resolveColorZones(),i=this._zoneManager.getId2Color(),o=this._domNode.domNode.getContext("2d");return o.clearRect(0,0,e,t),n.length>0&&this._renderOneLane(o,n,i,e),!0},t.prototype._renderOneLane=function(e,t,n,i){for(var o=0,r=0,s=0,a=0,u=t;a<u.length;a++){var l=u[a],c=l.colorId,d=l.from,h=l.to;c!==o?(e.fillRect(0,r,i,s-r),o=c,e.fillStyle=n[o],r=d,s=h):s>=d?s=Math.max(s,h):(e.fillRect(0,r,i,s-r),r=d,s=h)}e.fillRect(0,r,i,s-r)},t}(yr),Wu=(n("7zd4"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Bu=function(e){function t(t){var n=e.call(this,t)||this;n.domNode=Object(rr.b)(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n.domNode.setClassName("view-rulers"),n._renderedRulers=[];var i=n._context.configuration.options;return n._rulers=i.get(77),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n}return Wu(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._rulers=t.get(77),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},t.prototype.prepareRender=function(e){},t.prototype._ensureRulersCount=function(){var e=this._renderedRulers.length,t=this._rulers.length;if(e!==t)if(e<t)for(var n=this._context.model.getOptions().tabSize,i=t-e;i>0;){(r=Object(rr.b)(document.createElement("div"))).setClassName("view-ruler"),r.setWidth(n),this.domNode.appendChild(r),this._renderedRulers.push(r),i--}else for(var o=e-t;o>0;){var r=this._renderedRulers.pop();this.domNode.removeChild(r),o--}},t.prototype.render=function(e){this._ensureRulersCount();for(var t=0,n=this._rulers.length;t<n;t++){var i=this._renderedRulers[t];i.setHeight(Math.min(e.scrollHeight,1e6)),i.setLeft(this._rulers[t]*this._typicalHalfwidthCharacterWidth)}},t}(Cr);Object(Ir.e)((function(e,t){var n=e.getColor(Bs);n&&t.addRule(".monaco-editor .view-ruler { box-shadow: 1px 0 0 0 "+n+" inset; }")}));n("2MPD");var ju=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Hu=function(e){function t(t){var n=e.call(this,t)||this;n._scrollTop=0,n._width=0,n._updateWidth(),n._shouldShow=!1;var i=n._context.configuration.options.get(78);return n._useShadows=i.useShadows,n._domNode=Object(rr.b)(document.createElement("div")),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n}return ju(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._updateShouldShow=function(){var e=this._useShadows&&this._scrollTop>0;return this._shouldShow!==e&&(this._shouldShow=e,!0)},t.prototype.getDomNode=function(){return this._domNode},t.prototype._updateWidth=function(){var e=this._context.configuration.options.get(107);0===e.renderMinimap||e.minimapWidth>0&&0===e.minimapLeft?this._width=e.width:this._width=e.width-e.minimapWidth-e.verticalScrollbarWidth},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options.get(78);return this._useShadows=t.useShadows,this._updateWidth(),this._updateShouldShow(),!0},t.prototype.onScrollChanged=function(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")},t}(Cr);Object(Ir.e)((function(e,t){var n=e.getColor(Ns.Gb);n&&t.addRule(".monaco-editor .scroll-decoration { box-shadow: "+n+" 0 6px 6px -6px inset; }")}));n("eC1c");var zu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Uu=function(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null},Ku=function(e,t){this.lineNumber=e,this.ranges=t};function qu(e){return new Uu(e)}function Gu(e){return new Ku(e.lineNumber,e.ranges.map(qu))}var Yu=Yo.f,Zu=function(e){function t(t){var n=e.call(this)||this;n._previousFrameVisibleRangesWithStyle=[],n._context=t;var i=n._context.configuration.options;return n._lineHeight=i.get(49),n._roundedSelection=i.get(76),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n._selections=[],n._renderResult=null,n._context.addEventHandler(n),n}return zu(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._lineHeight=t.get(49),this._roundedSelection=t.get(76),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._visibleRangesHaveGaps=function(e){for(var t=0,n=e.length;t<n;t++){if(e[t].ranges.length>1)return!0}return!1},t.prototype._enrichVisibleRangesWithStyle=function(e,t,n){var i=this._typicalHalfwidthCharacterWidth/4,o=null,r=null;if(n&&n.length>0&&t.length>0){var s=t[0].lineNumber;if(s===e.startLineNumber)for(var a=0;!o&&a<n.length;a++)n[a].lineNumber===s&&(o=n[a].ranges[0]);var u=t[t.length-1].lineNumber;if(u===e.endLineNumber)for(a=n.length-1;!r&&a>=0;a--)n[a].lineNumber===u&&(r=n[a].ranges[0]);o&&!o.startStyle&&(o=null),r&&!r.startStyle&&(r=null)}a=0;for(var l=t.length;a<l;a++){var c=t[a].ranges[0],d=c.left,h=c.left+c.width,f={top:0,bottom:0},p={top:0,bottom:0};if(a>0){var g=t[a-1].ranges[0].left,m=t[a-1].ranges[0].left+t[a-1].ranges[0].width;Xu(d-g)<i?f.top=2:d>g&&(f.top=1),Xu(h-m)<i?p.top=2:g<h&&h<m&&(p.top=1)}else o&&(f.top=o.startStyle.top,p.top=o.endStyle.top);if(a+1<l){var v=t[a+1].ranges[0].left,_=t[a+1].ranges[0].left+t[a+1].ranges[0].width;Xu(d-v)<i?f.bottom=2:v<d&&d<_&&(f.bottom=1),Xu(h-_)<i?p.bottom=2:h<_&&(p.bottom=1)}else r&&(f.bottom=r.startStyle.bottom,p.bottom=r.endStyle.bottom);c.startStyle=f,c.endStyle=p}},t.prototype._getVisibleRangesWithStyle=function(e,t,n){var i=(t.linesVisibleRangesForRange(e,!0)||[]).map(Gu),o=this._visibleRangesHaveGaps(i);return Yu||o||!this._roundedSelection||this._enrichVisibleRangesWithStyle(t.visibleRange,i,n),i},t.prototype._createSelectionPiece=function(e,t,n,i,o){return'<div class="cslr '+n+'" style="top:'+e.toString()+"px;left:"+i.toString()+"px;width:"+o.toString()+"px;height:"+t+'px;"></div>'},t.prototype._actualRenderOneSelection=function(e,n,i,o){if(0!==o.length)for(var r=!!o[0].ranges[0].startStyle,s=this._lineHeight.toString(),a=(this._lineHeight-1).toString(),u=o[0].lineNumber,l=o[o.length-1].lineNumber,c=0,d=o.length;c<d;c++){for(var h=o[c],f=h.lineNumber,p=f-n,g=i&&(f===l||f===u)?a:s,m=i&&f===u?1:0,v="",_="",y=0,b=h.ranges.length;y<b;y++){var C=h.ranges[y];if(r){var w=C.startStyle,S=C.endStyle;if(1===w.top||1===w.bottom){v+=this._createSelectionPiece(m,g,t.SELECTION_CLASS_NAME,C.left-t.ROUNDED_PIECE_WIDTH,t.ROUNDED_PIECE_WIDTH);var L=t.EDITOR_BACKGROUND_CLASS_NAME;1===w.top&&(L+=" "+t.SELECTION_TOP_RIGHT),1===w.bottom&&(L+=" "+t.SELECTION_BOTTOM_RIGHT),v+=this._createSelectionPiece(m,g,L,C.left-t.ROUNDED_PIECE_WIDTH,t.ROUNDED_PIECE_WIDTH)}if(1===S.top||1===S.bottom){v+=this._createSelectionPiece(m,g,t.SELECTION_CLASS_NAME,C.left+C.width,t.ROUNDED_PIECE_WIDTH);var N=t.EDITOR_BACKGROUND_CLASS_NAME;1===S.top&&(N+=" "+t.SELECTION_TOP_LEFT),1===S.bottom&&(N+=" "+t.SELECTION_BOTTOM_LEFT),v+=this._createSelectionPiece(m,g,N,C.left+C.width,t.ROUNDED_PIECE_WIDTH)}}var O=t.SELECTION_CLASS_NAME;if(r){w=C.startStyle,S=C.endStyle;0===w.top&&(O+=" "+t.SELECTION_TOP_LEFT),0===w.bottom&&(O+=" "+t.SELECTION_BOTTOM_LEFT),0===S.top&&(O+=" "+t.SELECTION_TOP_RIGHT),0===S.bottom&&(O+=" "+t.SELECTION_BOTTOM_RIGHT)}_+=this._createSelectionPiece(m,g,O,C.left,C.width)}e[p][0]+=v,e[p][1]+=_}},t.prototype.prepareRender=function(e){for(var t=[],n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o=n;o<=i;o++){t[o-n]=["",""]}for(var r=[],s=0,a=this._selections.length;s<a;s++){var u=this._selections[s];if(u.isEmpty())r[s]=null;else{var l=this._getVisibleRangesWithStyle(u,e,this._previousFrameVisibleRangesWithStyle[s]);r[s]=l,this._actualRenderOneSelection(t,n,this._selections.length>1,l)}}this._previousFrameVisibleRangesWithStyle=r,this._renderResult=t.map((function(e){return e[0]+e[1]}))},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t.SELECTION_CLASS_NAME="selected-text",t.SELECTION_TOP_LEFT="top-left-radius",t.SELECTION_BOTTOM_LEFT="bottom-left-radius",t.SELECTION_TOP_RIGHT="top-right-radius",t.SELECTION_BOTTOM_RIGHT="bottom-right-radius",t.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",t.ROUNDED_PIECE_WIDTH=10,t}(Ss);function Xu(e){return e<0?-e:e}Object(Ir.e)((function(e,t){var n=e.getColor(Ns.C);n&&t.addRule(".monaco-editor .focused .selected-text { background-color: "+n+"; }");var i=e.getColor(Ns.z);i&&t.addRule(".monaco-editor .selected-text { background-color: "+i+"; }");var o=e.getColor(Ns.D);o&&t.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+o+"; }")}));n("2Tsy");var Ju=function(e,t,n,i,o,r){this.top=e,this.left=t,this.width=n,this.height=i,this.textContent=o,this.textContentClassName=r},Qu=function(){function e(e){this._context=e;var t=this._context.configuration.options,n=t.get(34);this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(rr.b)(document.createElement("div")),this._domNode.setClassName("cursor"),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),ir.applyFontInfo(this._domNode,n),this._domNode.setDisplay("none"),this._position=new H.a(1,1),this._lastRenderedContent="",this._renderData=null}return e.prototype.getDomNode=function(){return this._domNode},e.prototype.getPosition=function(){return this._position},e.prototype.show=function(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)},e.prototype.hide=function(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)},e.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(34);return this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),ir.applyFontInfo(this._domNode,n),!0},e.prototype.onCursorPositionChanged=function(e){return this._position=e,!0},e.prototype._prepareRender=function(e){var t="";if(this._cursorStyle===F.g.Line||this._cursorStyle===F.g.LineThin){var n,i=e.visibleRangeForPosition(this._position);if(!i||i.outsideRenderedLine)return null;if(this._cursorStyle===F.g.Line){if((n=Z.p(this._lineCursorWidth>0?this._lineCursorWidth:2))>2){var o=this._context.model.getLineContent(this._position.lineNumber),r=ne.C(o,this._position.column-1);t=o.substr(this._position.column-1,r)}}else n=Z.p(1);var s=i.left;n>=2&&s>=1&&(s-=1);var a=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta;return new Ju(a,s,n,this._lineHeight,t,"")}var u=this._context.model.getLineContent(this._position.lineNumber),l=ne.C(u,this._position.column-1),c=e.linesVisibleRangesForRange(new z.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+l),!1);if(!c||0===c.length)return null;var d=c[0];if(d.outsideRenderedLine||0===d.ranges.length)return null;var h=d.ranges[0],f=h.width<1?this._typicalHalfwidthCharacterWidth:h.width,p="";if(this._cursorStyle===F.g.Block){var g=this._context.model.getViewLineData(this._position.lineNumber);t=u.substr(this._position.column-1,l);var m=g.tokens.findTokenIndexAtOffset(this._position.column-1);p=g.tokens.getClassName(m)}var v=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta,_=this._lineHeight;return this._cursorStyle!==F.g.Underline&&this._cursorStyle!==F.g.UnderlineThin||(v+=this._lineHeight-2,_=2),new Ju(v,h.left,f,_,t,p)},e.prototype.prepareRender=function(e){this._renderData=this._prepareRender(e)},e.prototype.render=function(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName("cursor "+this._renderData.textContentClassName),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)},e}(),$u=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),el=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options;return n._readOnly=i.get(68),n._cursorBlinking=i.get(16),n._cursorStyle=i.get(18),n._cursorSmoothCaretAnimation=i.get(17),n._selectionIsEmpty=!0,n._isVisible=!1,n._primaryCursor=new Qu(n._context),n._secondaryCursors=[],n._renderData=[],n._domNode=Object(rr.b)(document.createElement("div")),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n._updateDomClassName(),n._domNode.appendChild(n._primaryCursor.getDomNode()),n._startCursorBlinkAnimation=new We.e,n._cursorFlatBlinkInterval=new We.c,n._blinkingEnabled=!1,n._editorHasFocus=!1,n._updateBlinking(),n}return $u(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;this._readOnly=t.get(68),this._cursorBlinking=t.get(16),this._cursorStyle=t.get(18),this._cursorSmoothCaretAnimation=t.get(17),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(var n=0,i=this._secondaryCursors.length;n<i;n++)this._secondaryCursors[n].onConfigurationChanged(e);return!0},t.prototype._onCursorPositionChanged=function(e,t){if(this._primaryCursor.onCursorPositionChanged(e),this._updateBlinking(),this._secondaryCursors.length<t.length)for(var n=t.length-this._secondaryCursors.length,i=0;i<n;i++){var o=new Qu(this._context);this._domNode.domNode.insertBefore(o.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(o)}else if(this._secondaryCursors.length>t.length){var r=this._secondaryCursors.length-t.length;for(i=0;i<r;i++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(i=0;i<t.length;i++)this._secondaryCursors[i].onCursorPositionChanged(t[i])},t.prototype.onCursorStateChanged=function(e){for(var t=[],n=0,i=e.selections.length;n<i;n++)t[n]=e.selections[n].getPosition();this._onCursorPositionChanged(t[0],t.slice(1));var o=e.selections[0].isEmpty();return this._selectionIsEmpty!==o&&(this._selectionIsEmpty=o,this._updateDomClassName()),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onFocusChanged=function(e){return this._editorHasFocus=e.isFocused,this._updateBlinking(),!1},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onTokensChanged=function(e){var t=function(t){for(var n=0,i=e.ranges.length;n<i;n++)if(e.ranges[n].fromLineNumber<=t.lineNumber&&t.lineNumber<=e.ranges[n].toLineNumber)return!0;return!1};if(t(this._primaryCursor.getPosition()))return!0;for(var n=0,i=this._secondaryCursors;n<i.length;n++){if(t(i[n].getPosition()))return!0}return!1},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getCursorBlinking=function(){return this._editorHasFocus?this._readOnly?5:this._cursorBlinking:0},t.prototype._updateBlinking=function(){var e=this;this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();var n=this._getCursorBlinking(),i=0===n,o=5===n;i?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),i||o||(1===n?this._cursorFlatBlinkInterval.cancelAndSet((function(){e._isVisible?e._hide():e._show()}),t.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet((function(){e._blinkingEnabled=!0,e._updateDomClassName()}),t.BLINK_INTERVAL))},t.prototype._updateDomClassName=function(){this._domNode.setClassName(this._getClassName())},t.prototype._getClassName=function(){var e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case F.g.Line:e+=" cursor-line-style";break;case F.g.Block:e+=" cursor-block-style";break;case F.g.Underline:e+=" cursor-underline-style";break;case F.g.LineThin:e+=" cursor-line-thin-style";break;case F.g.BlockOutline:e+=" cursor-block-outline-style";break;case F.g.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;case 5:e+=" cursor-solid";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(e+=" cursor-smooth-caret-animation"),e},t.prototype._show=function(){this._primaryCursor.show();for(var e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].show();this._isVisible=!0},t.prototype._hide=function(){this._primaryCursor.hide();for(var e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].hide();this._isVisible=!1},t.prototype.prepareRender=function(e){this._primaryCursor.prepareRender(e);for(var t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].prepareRender(e)},t.prototype.render=function(e){var t=[],n=0,i=this._primaryCursor.render(e);i&&(t[n++]=i);for(var o=0,r=this._secondaryCursors.length;o<r;o++){var s=this._secondaryCursors[o].render(e);s&&(t[n++]=s)}this._renderData=t},t.prototype.getLastRenderData=function(){return this._renderData},t.BLINK_INTERVAL=500,t}(Cr);Object(Ir.e)((function(e,t){var n=e.getColor(Ms);if(n){var i=e.getColor(Ts);i||(i=n.opposite()),t.addRule(".monaco-editor .cursor { background-color: "+n+"; border-color: "+n+"; color: "+i+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid "+i+"; border-right: 1px solid "+i+"; }")}}));var tl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),nl=function(){throw new Error("Invalid change accessor")},il=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options,o=i.get(107);return n._lineHeight=i.get(49),n._contentWidth=o.contentWidth,n._contentLeft=o.contentLeft,n.domNode=Object(rr.b)(document.createElement("div")),n.domNode.setClassName("view-zones"),n.domNode.setPosition("absolute"),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n.marginDomNode=Object(rr.b)(document.createElement("div")),n.marginDomNode.setClassName("margin-view-zones"),n.marginDomNode.setPosition("absolute"),n.marginDomNode.setAttribute("role","presentation"),n.marginDomNode.setAttribute("aria-hidden","true"),n._zones={},n}return tl(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._zones={}},t.prototype._recomputeWhitespacesProps=function(){for(var e=this,t=this._context.viewLayout.getWhitespaces(),n=new Map,i=0,o=t;i<o.length;i++){var r=o[i];n.set(r.id,r)}return this._context.viewLayout.changeWhitespace((function(t){for(var i=!1,o=Object.keys(e._zones),r=0,s=o.length;r<s;r++){var a=o[r],u=e._zones[a],l=e._computeWhitespaceProps(u.delegate),c=n.get(a);!c||c.afterLineNumber===l.afterViewLineNumber&&c.height===l.heightInPx||(t.changeOneWhitespace(a,l.afterViewLineNumber,l.heightInPx),e._safeCallOnComputedHeight(u.delegate,l.heightInPx),i=!0)}return i}))},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._lineHeight=t.get(49),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,e.hasChanged(49)&&this._recomputeWhitespacesProps(),!0},t.prototype.onLineMappingChanged=function(e){var t=this._recomputeWhitespacesProps();return t&&this._context.viewLayout.onHeightMaybeChanged(),t},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype._getZoneOrdinal=function(e){return void 0!==e.afterColumn?e.afterColumn:1e4},t.prototype._computeWhitespaceProps=function(e){if(0===e.afterLineNumber)return{afterViewLineNumber:0,heightInPx:this._heightInPixels(e),minWidthInPx:this._minWidthInPixels(e)};var t,n;if(void 0!==e.afterColumn)t=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:e.afterColumn});else{var i=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:1}).lineNumber;t=new H.a(i,this._context.model.getModelLineMaxColumn(i))}n=t.column===this._context.model.getModelLineMaxColumn(t.lineNumber)?this._context.model.validateModelPosition({lineNumber:t.lineNumber+1,column:1}):this._context.model.validateModelPosition({lineNumber:t.lineNumber,column:t.column+1});var o=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(t),r=this._context.model.coordinatesConverter.modelPositionIsVisible(n);return{afterViewLineNumber:o.lineNumber,heightInPx:r?this._heightInPixels(e):0,minWidthInPx:this._minWidthInPixels(e)}},t.prototype.changeViewZones=function(e){var t=this;return this._context.viewLayout.changeWhitespace((function(n){var i=!1,o={addZone:function(e){return i=!0,t._addZone(n,e)},removeZone:function(e){e&&(i=t._removeZone(n,e)||i)},layoutZone:function(e){e&&(i=t._layoutZone(n,e)||i)}};return function(e,t){try{e(t)}catch(e){Object(Be.e)(e)}}(e,o),o.addZone=nl,o.removeZone=nl,o.layoutZone=nl,i}))},t.prototype._addZone=function(e,t){var n=this._computeWhitespaceProps(t),i={whitespaceId:e.insertWhitespace(n.afterViewLineNumber,this._getZoneOrdinal(t),n.heightInPx,n.minWidthInPx),delegate:t,isVisible:!1,domNode:Object(rr.b)(t.domNode),marginDomNode:t.marginDomNode?Object(rr.b)(t.marginDomNode):null};return this._safeCallOnComputedHeight(i.delegate,n.heightInPx),i.domNode.setPosition("absolute"),i.domNode.domNode.style.width="100%",i.domNode.setDisplay("none"),i.domNode.setAttribute("monaco-view-zone",i.whitespaceId),this.domNode.appendChild(i.domNode),i.marginDomNode&&(i.marginDomNode.setPosition("absolute"),i.marginDomNode.domNode.style.width="100%",i.marginDomNode.setDisplay("none"),i.marginDomNode.setAttribute("monaco-view-zone",i.whitespaceId),this.marginDomNode.appendChild(i.marginDomNode)),this._zones[i.whitespaceId]=i,this.setShouldRender(),i.whitespaceId},t.prototype._removeZone=function(e,t){if(this._zones.hasOwnProperty(t)){var n=this._zones[t];return delete this._zones[t],e.removeWhitespace(n.whitespaceId),n.domNode.removeAttribute("monaco-visible-view-zone"),n.domNode.removeAttribute("monaco-view-zone"),n.domNode.domNode.parentNode.removeChild(n.domNode.domNode),n.marginDomNode&&(n.marginDomNode.removeAttribute("monaco-visible-view-zone"),n.marginDomNode.removeAttribute("monaco-view-zone"),n.marginDomNode.domNode.parentNode.removeChild(n.marginDomNode.domNode)),this.setShouldRender(),!0}return!1},t.prototype._layoutZone=function(e,t){if(this._zones.hasOwnProperty(t)){var n=this._zones[t],i=this._computeWhitespaceProps(n.delegate);return e.changeOneWhitespace(n.whitespaceId,i.afterViewLineNumber,i.heightInPx),this._safeCallOnComputedHeight(n.delegate,i.heightInPx),this.setShouldRender(),!0}return!1},t.prototype.shouldSuppressMouseDownOnViewZone=function(e){if(this._zones.hasOwnProperty(e)){var t=this._zones[e];return Boolean(t.delegate.suppressMouseDown)}return!1},t.prototype._heightInPixels=function(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight},t.prototype._minWidthInPixels=function(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0},t.prototype._safeCallOnComputedHeight=function(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){Object(Be.e)(e)}},t.prototype._safeCallOnDomNodeTop=function(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){Object(Be.e)(e)}},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){for(var t=e.viewportData.whitespaceViewportData,n={},i=!1,o=0,r=t.length;o<r;o++)n[t[o].id]=t[o],i=!0;var s=Object.keys(this._zones);for(o=0,r=s.length;o<r;o++){var a=s[o],u=this._zones[a],l=0,c=0,d="none";n.hasOwnProperty(a)?(l=n[a].verticalOffset-e.bigNumbersDelta,c=n[a].height,d="block",u.isVisible||(u.domNode.setAttribute("monaco-visible-view-zone","true"),u.isVisible=!0),this._safeCallOnDomNodeTop(u.delegate,e.getScrolledTopFromAbsoluteTop(n[a].verticalOffset))):(u.isVisible&&(u.domNode.removeAttribute("monaco-visible-view-zone"),u.isVisible=!1),this._safeCallOnDomNodeTop(u.delegate,e.getScrolledTopFromAbsoluteTop(-1e6))),u.domNode.setTop(l),u.domNode.setHeight(c),u.domNode.setDisplay(d),u.marginDomNode&&(u.marginDomNode.setTop(l),u.marginDomNode.setHeight(c),u.marginDomNode.setDisplay(d))}i&&(this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))},t}(Cr);var ol=function(){function e(e,t,n,i){this.configuration=e,this.theme=t,this.model=n,this.viewLayout=n.viewLayout,this.privateViewEventBus=i}return e.prototype.addEventHandler=function(e){this.privateViewEventBus.addEventHandler(e)},e.prototype.removeEventHandler=function(e){this.privateViewEventBus.removeEventHandler(e)},e}(),rl=function(){function e(e){this._eventHandlerGateKeeper=e,this._eventHandlers=[],this._eventQueue=null,this._isConsumingQueue=!1}return e.prototype.addEventHandler=function(e){for(var t=0,n=this._eventHandlers.length;t<n;t++)this._eventHandlers[t]===e&&console.warn("Detected duplicate listener in ViewEventDispatcher",e);this._eventHandlers.push(e)},e.prototype.removeEventHandler=function(e){for(var t=0;t<this._eventHandlers.length;t++)if(this._eventHandlers[t]===e){this._eventHandlers.splice(t,1);break}},e.prototype.emit=function(e){this._eventQueue?this._eventQueue.push(e):this._eventQueue=[e],this._isConsumingQueue||this.consumeQueue()},e.prototype.emitMany=function(e){this._eventQueue?this._eventQueue=this._eventQueue.concat(e):this._eventQueue=e,this._isConsumingQueue||this.consumeQueue()},e.prototype.consumeQueue=function(){var e=this;this._eventHandlerGateKeeper((function(){try{e._isConsumingQueue=!0,e._doConsumeQueue()}finally{e._isConsumingQueue=!1}}))},e.prototype._doConsumeQueue=function(){for(;this._eventQueue;){var e=this._eventQueue;this._eventQueue=null;for(var t=this._eventHandlers.slice(0),n=0,i=t.length;n<i;n++)t[n].handleEvents(e)}},e}(),sl=function(){function e(e,t,n,i){this.selections=e,this.startLineNumber=0|t.startLineNumber,this.endLineNumber=0|t.endLineNumber,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=0|t.bigNumbersDelta,this.whitespaceViewportData=n,this._model=i,this.visibleRange=new z.a(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}return e.prototype.getViewLineRenderingData=function(e){return this._model.getViewLineRenderingData(this.visibleRange,e)},e.prototype.getDecorationsInViewport=function(){return this._model.getDecorationsInViewport(this.visibleRange)},e}(),al=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ul=function(e){function t(t,n,i,o,r,s){var a=e.call(this)||this;a._cursor=r,a._renderAnimationFrame=null,a.outgoingEvents=s;var u=new Na(n,o,a.outgoingEvents,t);a.eventDispatcher=new rl((function(e){return a._renderOnce(e)})),a.eventDispatcher.addEventHandler(a),a._context=new ol(n,i.getTheme(),o,a.eventDispatcher),a._register(i.onThemeChange((function(e){a._context.theme=e,a.eventDispatcher.emit(new fa),a.render(!0,!1)}))),a.viewParts=[],a._textAreaHandler=new Sa(a._context,u,a.createTextAreaHandlerHelper()),a.viewParts.push(a._textAreaHandler),a.linesContent=Object(rr.b)(document.createElement("div")),a.linesContent.setClassName("lines-content monaco-editor-background"),a.linesContent.setPosition("absolute"),a.domNode=Object(rr.b)(document.createElement("div")),a.domNode.setClassName(a.getEditorClassName()),a.overflowGuardContainer=Object(rr.b)(document.createElement("div")),wr.write(a.overflowGuardContainer,3),a.overflowGuardContainer.setClassName("overflow-guard"),a._scrollbar=new Xa(a._context,a.linesContent,a.domNode,a.overflowGuardContainer),a.viewParts.push(a._scrollbar),a.viewLines=new su(a._context,a.linesContent),a.viewZones=new il(a._context),a.viewParts.push(a.viewZones);var l=new Tu(a._context);a.viewParts.push(l);var c=new Hu(a._context);a.viewParts.push(c);var d=new Ra(a._context);a.viewParts.push(d),d.addDynamicOverlay(new Ua(a._context)),d.addDynamicOverlay(new Zu(a._context)),d.addDynamicOverlay(new nu(a._context)),d.addDynamicOverlay(new Ga(a._context));var h=new Pa(a._context);a.viewParts.push(h),h.addDynamicOverlay(new Ka(a._context)),h.addDynamicOverlay(new eu(a._context)),h.addDynamicOverlay(new cu(a._context)),h.addDynamicOverlay(new uu(a._context)),h.addDynamicOverlay(new Zs(a._context));var f=new Js(a._context);f.getDomNode().appendChild(a.viewZones.marginDomNode),f.getDomNode().appendChild(h.getDomNode()),a.viewParts.push(f),a.contentWidgets=new Wa(a._context,a.domNode),a.viewParts.push(a.contentWidgets),a.viewCursors=new el(a._context),a.viewParts.push(a.viewCursors),a.overlayWidgets=new ku(a._context),a.viewParts.push(a.overlayWidgets);var p=new Bu(a._context);a.viewParts.push(p);var g=new xu(a._context);if(a.viewParts.push(g),l){var m=a._scrollbar.getOverviewRulerLayoutInfo();m.parent.insertBefore(l.getDomNode(),m.insertBefore)}return a.linesContent.appendChild(d.getDomNode()),a.linesContent.appendChild(p.domNode),a.linesContent.appendChild(a.viewZones.domNode),a.linesContent.appendChild(a.viewLines.getDomNode()),a.linesContent.appendChild(a.contentWidgets.domNode),a.linesContent.appendChild(a.viewCursors.getDomNode()),a.overflowGuardContainer.appendChild(f.getDomNode()),a.overflowGuardContainer.appendChild(a._scrollbar.getDomNode()),a.overflowGuardContainer.appendChild(c.getDomNode()),a.overflowGuardContainer.appendChild(a._textAreaHandler.textArea),a.overflowGuardContainer.appendChild(a._textAreaHandler.textAreaCover),a.overflowGuardContainer.appendChild(a.overlayWidgets.getDomNode()),a.overflowGuardContainer.appendChild(g.getDomNode()),a.domNode.appendChild(a.overflowGuardContainer),a.domNode.appendChild(a.contentWidgets.overflowingContentWidgetsDomNode),a._applyLayout(),a.pointerHandler=a._register(new fs(a._context,u,a.createPointerHandlerHelper())),a._register(o.addEventListener((function(e){a.eventDispatcher.emitMany(e)}))),a._register(a._cursor.addEventListener((function(e){a.eventDispatcher.emitMany(e)}))),a}return al(t,e),t.prototype._flushAccumulatedAndRenderNow=function(){this._renderNow()},t.prototype.createPointerHandlerHelper=function(){var e=this;return{viewDomNode:this.domNode.domNode,linesContentDomNode:this.linesContent.domNode,focusTextArea:function(){e.focus()},getLastRenderData:function(){var t=e.viewCursors.getLastRenderData()||[],n=e._textAreaHandler.getLastRenderData();return new qr(t,n)},shouldSuppressMouseDownOnViewZone:function(t){return e.viewZones.shouldSuppressMouseDownOnViewZone(t)},shouldSuppressMouseDownOnWidget:function(t){return e.contentWidgets.shouldSuppressMouseDownOnWidget(t)},getPositionFromDOMInfo:function(t,n){return e._flushAccumulatedAndRenderNow(),e.viewLines.getPositionFromDOMInfo(t,n)},visibleRangeForPosition:function(t,n){return e._flushAccumulatedAndRenderNow(),e.viewLines.visibleRangeForPosition(new H.a(t,n))},getLineWidth:function(t){return e._flushAccumulatedAndRenderNow(),e.viewLines.getLineWidth(t)}}},t.prototype.createTextAreaHandlerHelper=function(){var e=this;return{visibleRangeForPositionRelativeToEditor:function(t,n){return e._flushAccumulatedAndRenderNow(),e.viewLines.visibleRangeForPosition(new H.a(t,n))}}},t.prototype._applyLayout=function(){var e=this._context.configuration.options.get(107);this.domNode.setWidth(e.width),this.domNode.setHeight(e.height),this.overflowGuardContainer.setWidth(e.width),this.overflowGuardContainer.setHeight(e.height),this.linesContent.setWidth(1e6),this.linesContent.setHeight(1e6)},t.prototype.getEditorClassName=function(){var e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(104)+" "+Object(Ir.d)(this._context.theme.type)+e},t.prototype.onConfigurationChanged=function(e){return this.domNode.setClassName(this.getEditorClassName()),this._applyLayout(),!1},t.prototype.onContentSizeChanged=function(e){return this.outgoingEvents.emitContentSizeChange(e),!1},t.prototype.onFocusChanged=function(e){return this.domNode.setClassName(this.getEditorClassName()),this._context.model.setHasFocus(e.isFocused),e.isFocused?this.outgoingEvents.emitViewFocusGained():this.outgoingEvents.emitViewFocusLost(),!1},t.prototype.onScrollChanged=function(e){return this.outgoingEvents.emitScrollChanged(e),!1},t.prototype.onThemeChanged=function(e){return this.domNode.setClassName(this.getEditorClassName()),!1},t.prototype.dispose=function(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this.eventDispatcher.removeEventHandler(this),this.outgoingEvents.dispose(),this.viewLines.dispose();for(var t=0,n=this.viewParts.length;t<n;t++)this.viewParts[t].dispose();this.viewParts=[],e.prototype.dispose.call(this)},t.prototype._renderOnce=function(e){var t=ll(e);return this._scheduleRender(),t},t.prototype._scheduleRender=function(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=Z.O(this._onRenderScheduled.bind(this),100))},t.prototype._onRenderScheduled=function(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()},t.prototype._renderNow=function(){var e=this;ll((function(){return e._actualRender()}))},t.prototype._getViewPartsToRender=function(){for(var e=[],t=0,n=0,i=this.viewParts.length;n<i;n++){var o=this.viewParts[n];o.shouldRender()&&(e[t++]=o)}return e},t.prototype._actualRender=function(){if(Z.G(this.domNode.domNode)){var e=this._getViewPartsToRender();if(this.viewLines.shouldRender()||0!==e.length){var t=this._context.viewLayout.getLinesViewportData();this._context.model.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);var n=new sl(this._cursor.getViewSelections(),t,this._context.viewLayout.getWhitespaceViewportData(),this._context.model);this.contentWidgets.shouldRender()&&this.contentWidgets.onBeforeRender(n),this.viewLines.shouldRender()&&(this.viewLines.renderText(n),this.viewLines.onDidRender(),e=this._getViewPartsToRender());for(var i=new Lr(this._context.viewLayout,n,this.viewLines),o=0,r=e.length;o<r;o++){(s=e[o]).prepareRender(i)}for(o=0,r=e.length;o<r;o++){var s;(s=e[o]).render(i),s.onDidRender()}}}},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._scrollbar.delegateVerticalScrollbarMouseDown(e)},t.prototype.restoreState=function(e){this._context.viewLayout.setScrollPositionNow({scrollTop:e.scrollTop}),this._context.model.tokenizeViewport(),this._renderNow(),this.viewLines.updateLineWidths(),this._context.viewLayout.setScrollPositionNow({scrollLeft:e.scrollLeft})},t.prototype.getOffsetForColumn=function(e,t){var n=this._context.model.validateModelPosition({lineNumber:e,column:t}),i=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(n);this._flushAccumulatedAndRenderNow();var o=this.viewLines.visibleRangeForPosition(new H.a(i.lineNumber,i.column));return o?o.left:-1},t.prototype.getTargetAtClientPoint=function(e,t){var n=this.pointerHandler.getTargetAtClientPoint(e,t);return n?Da.convertViewToModelMouseTarget(n,this._context.model.coordinatesConverter):null},t.prototype.createOverviewRuler=function(e){return new Vu(this._context,e)},t.prototype.change=function(e){var t=this;return this._renderOnce((function(){var n=t.viewZones.changeViewZones(e);return n&&(t._context.viewLayout.onHeightMaybeChanged(),t._context.privateViewEventBus.emit(new ma)),n}))},t.prototype.render=function(e,t){if(t){this.viewLines.forceShouldRender();for(var n=0,i=this.viewParts.length;n<i;n++){this.viewParts[n].forceShouldRender()}}e?this._flushAccumulatedAndRenderNow():this._scheduleRender()},t.prototype.focus=function(){this._textAreaHandler.focusTextArea()},t.prototype.isFocused=function(){return this._textAreaHandler.isFocused()},t.prototype.setAriaOptions=function(e){this._textAreaHandler.setAriaOptions(e)},t.prototype.addContentWidget=function(e){this.contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()},t.prototype.layoutContentWidget=function(e){var t=e.position&&e.position.range||null;if(null===t){var n=e.position?e.position.position:null;null!==n&&(t=new z.a(n.lineNumber,n.column,n.lineNumber,n.column))}var i=e.position?e.position.preference:null;this.contentWidgets.setWidgetPosition(e.widget,t,i),this._scheduleRender()},t.prototype.removeContentWidget=function(e){this.contentWidgets.removeWidget(e.widget),this._scheduleRender()},t.prototype.addOverlayWidget=function(e){this.overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()},t.prototype.layoutOverlayWidget=function(e){var t=e.position?e.position.preference:null;this.overlayWidgets.setWidgetPosition(e.widget,t)&&this._scheduleRender()},t.prototype.removeOverlayWidget=function(e){this.overlayWidgets.removeWidget(e.widget),this._scheduleRender()},t}(yr);function ll(e){try{return e()}catch(e){Object(Be.e)(e)}}var cl=function(){function e(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new Ur.f(new z.a(1,1,1,1),0,new H.a(1,1),0),new Ur.f(new z.a(1,1,1,1),0,new H.a(1,1),0))}return e.prototype.dispose=function(e){this._removeTrackedRange(e)},e.prototype.startTrackingSelection=function(e){this._trackSelection=!0,this._updateTrackedRange(e)},e.prototype.stopTrackingSelection=function(e){this._trackSelection=!1,this._removeTrackedRange(e)},e.prototype._updateTrackedRange=function(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))},e.prototype._removeTrackedRange=function(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)},e.prototype.asCursorState=function(){return new Ur.d(this.modelState,this.viewState)},e.prototype.readSelectionFromMarkers=function(e){var t=e.model._getTrackedRange(this._selTrackedRange);return 0===this.modelState.selection.getDirection()?new U.a(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new U.a(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)},e.prototype.ensureValidState=function(e){this._setState(e,this.modelState,this.viewState)},e.prototype.setState=function(e,t,n){this._setState(e,t,n)},e.prototype._setState=function(e,t,n){if(t){r=e.model.validateRange(t.selectionStart);var i=t.selectionStart.equalsRange(r)?t.selectionStartLeftoverVisibleColumns:0,o=(s=e.model.validatePosition(t.position),t.position.equals(s)?t.leftoverVisibleColumns:0);t=new Ur.f(r,i,s,o)}else{if(!n)return;var r=e.model.validateRange(e.convertViewRangeToModelRange(n.selectionStart)),s=e.model.validatePosition(e.convertViewPositionToModelPosition(n.position.lineNumber,n.position.column));t=new Ur.f(r,n.selectionStartLeftoverVisibleColumns,s,n.leftoverVisibleColumns)}if(n){l=e.validateViewRange(n.selectionStart,t.selectionStart),c=e.validateViewPosition(n.position,t.position);n=new Ur.f(l,t.selectionStartLeftoverVisibleColumns,c,t.leftoverVisibleColumns)}else{var a=e.convertModelPositionToViewPosition(new H.a(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),u=e.convertModelPositionToViewPosition(new H.a(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),l=new z.a(a.lineNumber,a.column,u.lineNumber,u.column),c=e.convertModelPositionToViewPosition(t.position);n=new Ur.f(l,t.selectionStartLeftoverVisibleColumns,c,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=n,this._updateTrackedRange(e)},e}(),dl=function(){function e(e){this.context=e,this.primaryCursor=new cl(e),this.secondaryCursors=[],this.lastAddedCursorIndex=0}return e.prototype.dispose=function(){this.primaryCursor.dispose(this.context),this.killSecondaryCursors()},e.prototype.startTrackingSelections=function(){this.primaryCursor.startTrackingSelection(this.context);for(var e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].startTrackingSelection(this.context)},e.prototype.stopTrackingSelections=function(){this.primaryCursor.stopTrackingSelection(this.context);for(var e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].stopTrackingSelection(this.context)},e.prototype.updateContext=function(e){this.context=e},e.prototype.ensureValidState=function(){this.primaryCursor.ensureValidState(this.context);for(var e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].ensureValidState(this.context)},e.prototype.readSelectionFromMarkers=function(){var e=[];e[0]=this.primaryCursor.readSelectionFromMarkers(this.context);for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].readSelectionFromMarkers(this.context);return e},e.prototype.getAll=function(){var e=[];e[0]=this.primaryCursor.asCursorState();for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].asCursorState();return e},e.prototype.getViewPositions=function(){var e=[];e[0]=this.primaryCursor.viewState.position;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.position;return e},e.prototype.getSelections=function(){var e=[];e[0]=this.primaryCursor.modelState.selection;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].modelState.selection;return e},e.prototype.getViewSelections=function(){var e=[];e[0]=this.primaryCursor.viewState.selection;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.selection;return e},e.prototype.setSelections=function(e){this.setStates(Ur.d.fromModelSelections(e))},e.prototype.getPrimaryCursor=function(){return this.primaryCursor.asCursorState()},e.prototype.setStates=function(e){null!==e&&(this.primaryCursor.setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))},e.prototype._setSecondaryStates=function(e){var t=this.secondaryCursors.length,n=e.length;if(t<n)for(var i=n-t,o=0;o<i;o++)this._addSecondaryCursor();else if(t>n){var r=t-n;for(o=0;o<r;o++)this._removeSecondaryCursor(this.secondaryCursors.length-1)}for(o=0;o<n;o++)this.secondaryCursors[o].setState(this.context,e[o].modelState,e[o].viewState)},e.prototype.killSecondaryCursors=function(){this._setSecondaryStates([])},e.prototype._addSecondaryCursor=function(){this.secondaryCursors.push(new cl(this.context)),this.lastAddedCursorIndex=this.secondaryCursors.length},e.prototype.getLastAddedCursorIndex=function(){return 0===this.secondaryCursors.length||0===this.lastAddedCursorIndex?0:this.lastAddedCursorIndex},e.prototype._removeSecondaryCursor=function(e){this.lastAddedCursorIndex>=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)},e.prototype._getAll=function(){var e=[];e[0]=this.primaryCursor;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t];return e},e.prototype.normalize=function(){if(0!==this.secondaryCursors.length){for(var e=this._getAll(),t=[],n=0,i=e.length;n<i;n++)t.push({index:n,selection:e[n].modelState.selection});t.sort((function(e,t){return e.selection.startLineNumber===t.selection.startLineNumber?e.selection.startColumn-t.selection.startColumn:e.selection.startLineNumber-t.selection.startLineNumber}));for(var o=0;o<t.length-1;o++){var r=t[o],s=t[o+1],a=r.selection,u=s.selection;if(this.context.config.multiCursorMergeOverlapping){if(u.isEmpty()||a.isEmpty()?u.getStartPosition().isBeforeOrEqual(a.getEndPosition()):u.getStartPosition().isBefore(a.getEndPosition())){var l=r.index<s.index?o:o+1,c=r.index<s.index?o+1:o,d=t[c].index,h=t[l].index,f=t[c].selection,p=t[l].selection;if(!f.equalsSelection(p)){var g=f.plusRange(p),m=f.selectionStartLineNumber===f.startLineNumber&&f.selectionStartColumn===f.startColumn,v=p.selectionStartLineNumber===p.startLineNumber&&p.selectionStartColumn===p.startColumn,_=void 0;d===this.lastAddedCursorIndex?(_=m,this.lastAddedCursorIndex=h):_=v;var y=void 0;y=_?new U.a(g.startLineNumber,g.startColumn,g.endLineNumber,g.endColumn):new U.a(g.endLineNumber,g.endColumn,g.startLineNumber,g.startColumn),t[l].selection=y;var b=Ur.d.fromModelSelection(y);e[h].setState(this.context,b.modelState,b.viewState)}for(var C=0,w=t;C<w.length;C++){var S=w[C];S.index>d&&S.index--}e.splice(d,1),t.splice(c,1),this._removeSecondaryCursor(d-1),o--}}}}},e}(),hl=n("snIX"),fl=n("GR/f"),pl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();var gl=function(e,t,n,i,o,r){this.selections=e,this.modelVersionId=t,this.oldSelections=n,this.oldModelVersionId=i,this.source=o,this.reason=r},ml=function(){function e(e,t){this.modelVersionId=e.getVersionId(),this.cursorState=t.getAll()}return e.prototype.equals=function(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(var t=0,n=this.cursorState.length;t<n;t++)if(!this.cursorState[t].equals(e.cursorState[t]))return!1;return!0},e}(),vl=function(){function e(e,t,n){this._model=e,this._autoClosedCharactersDecorations=t,this._autoClosedEnclosingDecorations=n}return e.getAllAutoClosedCharacters=function(e){for(var t=[],n=0,i=e;n<i.length;n++){var o=i[n];t=t.concat(o.getAutoClosedCharactersRanges())}return t},e.prototype.dispose=function(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])},e.prototype.getAutoClosedCharactersRanges=function(){for(var e=[],t=0;t<this._autoClosedCharactersDecorations.length;t++){var n=this._model.getDecorationRange(this._autoClosedCharactersDecorations[t]);n&&e.push(n)}return e},e.prototype.isValid=function(e){for(var t=[],n=0;n<this._autoClosedEnclosingDecorations.length;n++){var i=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[n]);if(i&&(t.push(i),i.startLineNumber!==i.endLineNumber))return!1}t.sort(z.a.compareRangesUsingStarts),e.sort(z.a.compareRangesUsingStarts);for(n=0;n<e.length;n++){if(n>=t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0},e}(),_l=function(e){function t(t,n,i){var o=e.call(this)||this;o._onDidReachMaxCursorCount=o._register(new W.a),o.onDidReachMaxCursorCount=o._onDidReachMaxCursorCount.event,o._onDidAttemptReadOnlyEdit=o._register(new W.a),o.onDidAttemptReadOnlyEdit=o._onDidAttemptReadOnlyEdit.event,o._onDidChange=o._register(new W.a),o.onDidChange=o._onDidChange.event,o._configuration=t,o._model=n,o._knownModelVersionId=o._model.getVersionId(),o._viewModel=i,o.context=new Ur.c(o._configuration,o._model,o._viewModel),o._cursors=new dl(o.context),o._isHandling=!1,o._isDoingComposition=!1,o._selectionsWhenCompositionStarted=null,o._columnSelectData=null,o._autoClosedActions=[],o._prevEditOperationType=0,o._register(o._model.onDidChangeRawContent((function(e){if(o._knownModelVersionId=e.versionId,!o._isHandling){var t=e.containsEvent(1);o._onModelContentChanged(t)}}))),o._register(i.addEventListener((function(e){(function(e){for(var t=0,n=e.length;t<n;t++)if(8===e[t].type)return!0;return!1})(e)&&o._knownModelVersionId===o._model.getVersionId()&&o.setStates("viewModel",0,o.getAll())})));var r=function(){o.context=new Ur.c(o._configuration,o._model,o._viewModel),o._cursors.updateContext(o.context)};return o._register(o._model.onDidChangeLanguage((function(e){r()}))),o._register(o._model.onDidChangeLanguageConfiguration((function(){r()}))),o._register(o._model.onDidChangeOptions((function(){r()}))),o._register(o._configuration.onDidChange((function(e){Ur.b.shouldRecreate(e)&&r()}))),o}return pl(t,e),t.prototype.dispose=function(){this._cursors.dispose(),this._autoClosedActions=Object(le.e)(this._autoClosedActions),e.prototype.dispose.call(this)},t.prototype._validateAutoClosedActions=function(){if(this._autoClosedActions.length>0)for(var e=this._cursors.getSelections(),t=0;t<this._autoClosedActions.length;t++){var n=this._autoClosedActions[t];n.isValid(e)||(n.dispose(),this._autoClosedActions.splice(t,1),t--)}},t.prototype.getPrimaryCursor=function(){return this._cursors.getPrimaryCursor()},t.prototype.getLastAddedCursorIndex=function(){return this._cursors.getLastAddedCursorIndex()},t.prototype.getAll=function(){return this._cursors.getAll()},t.prototype.setStates=function(e,n,i){null!==i&&i.length>t.MAX_CURSOR_COUNT&&(i=i.slice(0,t.MAX_CURSOR_COUNT),this._onDidReachMaxCursorCount.fire(void 0));var o=new ml(this._model,this);this._cursors.setStates(i),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,n,o)},t.prototype.setColumnSelectData=function(e){this._columnSelectData=e},t.prototype.reveal=function(e,t,n,i){this._revealRange(e,n,0,t,i)},t.prototype.revealRange=function(e,t,n,i,o){this.emitCursorRevealRange(e,n,i,t,o)},t.prototype.scrollTo=function(e){this._viewModel.viewLayout.setScrollPositionSmooth({scrollTop:e})},t.prototype.saveState=function(){for(var e=[],t=this._cursors.getSelections(),n=0,i=t.length;n<i;n++){var o=t[n];e.push({inSelectionMode:!o.isEmpty(),selectionStart:{lineNumber:o.selectionStartLineNumber,column:o.selectionStartColumn},position:{lineNumber:o.positionLineNumber,column:o.positionColumn}})}return e},t.prototype.restoreState=function(e){for(var t=[],n=0,i=e.length;n<i;n++){var o=e[n],r=1,s=1;o.position&&o.position.lineNumber&&(r=o.position.lineNumber),o.position&&o.position.column&&(s=o.position.column);var a=r,u=s;o.selectionStart&&o.selectionStart.lineNumber&&(a=o.selectionStart.lineNumber),o.selectionStart&&o.selectionStart.column&&(u=o.selectionStart.column),t.push({selectionStartLineNumber:a,selectionStartColumn:u,positionLineNumber:r,positionColumn:s})}this.setStates("restoreState",0,Ur.d.fromModelSelections(t)),this.reveal("restoreState",!0,0,1)},t.prototype._onModelContentChanged=function(e){if(this._prevEditOperationType=0,e)this._cursors.dispose(),this._cursors=new dl(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary("model",1,null);else{var t=this._cursors.readSelectionFromMarkers();this.setStates("modelChange",2,Ur.d.fromModelSelections(t))}},t.prototype.getSelection=function(){return this._cursors.getPrimaryCursor().modelState.selection},t.prototype.getColumnSelectData=function(){if(this._columnSelectData)return this._columnSelectData;var e=this._cursors.getPrimaryCursor().viewState.selectionStart.getStartPosition(),t=e.lineNumber,n=Ur.a.visibleColumnFromColumn2(this.context.config,this.context.viewModel,e);return{isReal:!1,fromViewLineNumber:t,fromViewVisualColumn:n,toViewLineNumber:t,toViewVisualColumn:n}},t.prototype.getSelections=function(){return this._cursors.getSelections()},t.prototype.getViewSelections=function(){return this._cursors.getViewSelections()},t.prototype.getPosition=function(){return this._cursors.getPrimaryCursor().modelState.position},t.prototype.setSelections=function(e,t){this.setStates(e,0,Ur.d.fromModelSelections(t))},t.prototype.getPrevEditOperationType=function(){return this._prevEditOperationType},t.prototype.setPrevEditOperationType=function(e){this._prevEditOperationType=e},t.prototype._pushAutoClosedAction=function(e,t){for(var n=[],i=[],o=0,r=e.length;o<r;o++)n.push({range:e[o],options:{inlineClassName:"auto-closed-character",stickiness:1}}),i.push({range:t[o],options:{stickiness:1}});var s=this._model.deltaDecorations([],n),a=this._model.deltaDecorations([],i);this._autoClosedActions.push(new vl(this._model,s,a))},t.prototype._executeEditOperation=function(e){if(e){e.shouldPushStackElementBefore&&this._model.pushStackElement();var t=yl.executeCommands(this._model,this._cursors.getSelections(),e.commands);if(t){this._interpretCommandResult(t);for(var n=[],i=[],o=0;o<e.commands.length;o++){var r=e.commands[o];r instanceof fl.b&&r.enclosingRange&&r.closeCharacterRange&&(n.push(r.closeCharacterRange),i.push(r.enclosingRange))}n.length>0&&this._pushAutoClosedAction(n,i),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}},t.prototype._interpretCommandResult=function(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()},t.prototype._emitStateChangedIfNecessary=function(e,t,n){var i=new ml(this._model,this);if(i.equals(n))return!1;var o=this._cursors.getSelections(),r=this._cursors.getViewSelections();try{this._beginEmit().emit(new na(r,o))}finally{this._endEmit()}if(!n||n.cursorState.length!==i.cursorState.length||i.cursorState.some((function(e,t){return!e.modelState.equals(n.cursorState[t].modelState)}))){var s=n?n.cursorState.map((function(e){return e.modelState.selection})):null,a=n?n.modelVersionId:0;this._onDidChange.fire(new gl(o,i.modelVersionId,s,a,e||"keyboard",t))}return!0},t.prototype._revealRange=function(e,t,n,i,o){var r=this._cursors.getViewPositions(),s=r[0];if(1===t)for(var a=1;a<r.length;a++)r[a].isBefore(s)&&(s=r[a]);else if(2===t)for(a=1;a<r.length;a++)s.isBeforeOrEqual(r[a])&&(s=r[a]);else if(r.length>1)return;var u=new z.a(s.lineNumber,s.column,s.lineNumber,s.column);this.emitCursorRevealRange(e,u,n,i,o)},t.prototype.emitCursorRevealRange=function(e,t,n,i,o){try{this._beginEmit().emit(new da(e,t,n,i,o))}finally{this._endEmit()}},t.prototype._findAutoClosingPairs=function(e){if(!e.length)return null;for(var t=[],n=0,i=e.length;n<i;n++){var o=e[n];if(!o.text||o.text.indexOf("\n")>=0)return null;var r=o.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!r)return null;var s=r[1],a=this.context.config.autoClosingPairsClose2.get(s);if(!a||1!==a.length)return null;var u=a[0].open,l=o.text.length-r[2].length-1,c=o.text.lastIndexOf(u,l-1);if(-1===c)return null;t.push([c,l])}return t},t.prototype.executeEdits=function(e,t,n){var i=this,o=null;"snippet"===e&&(o=this._findAutoClosingPairs(t)),o&&(t[0]._isTracked=!0);var r=[],s=[],a=this._model.pushEditOperations(this.getSelections(),t,(function(e){if(o)for(var t=0,a=o.length;t<a;t++){var u=o[t],l=u[0],c=u[1],d=e[t],h=d.range.startLineNumber,f=d.range.startColumn-1+l,p=d.range.startColumn-1+c;r.push(new z.a(h,p+1,h,p+2)),s.push(new z.a(h,f+1,h,p+2))}var g=n(e);return g&&(i._isHandling=!0),g}));a&&(this._isHandling=!1,this.setSelections(e,a)),r.length>0&&this._pushAutoClosedAction(r,s)},t.prototype.trigger=function(e,t,n){var i=Te.b;if(t===i.CompositionStart)return this._isDoingComposition=!0,void(this._selectionsWhenCompositionStarted=this.getSelections().slice(0));if(t===i.CompositionEnd&&(this._isDoingComposition=!1),this._configuration.options.get(68))this._onDidAttemptReadOnlyEdit.fire(void 0);else{var o=new ml(this._model,this),r=0;t!==i.Undo&&t!==i.Redo&&this._cursors.stopTrackingSelections(),this._cursors.ensureValidState(),this._isHandling=!0;try{switch(t){case i.Type:this._type(e,n.text);break;case i.ReplacePreviousChar:this._replacePreviousChar(n.text,n.replaceCharCnt);break;case i.Paste:r=4,this._paste(n.text,n.pasteOnNewLine,n.multicursorText||[]);break;case i.Cut:this._cut();break;case i.Undo:r=5,this._interpretCommandResult(this._model.undo());break;case i.Redo:r=6,this._interpretCommandResult(this._model.redo());break;case i.ExecuteCommand:this._externalExecuteCommand(n);break;case i.ExecuteCommands:this._externalExecuteCommands(n);break;case i.CompositionEnd:this._interpretCompositionEnd(e)}}catch(e){Object(Be.e)(e)}this._isHandling=!1,t!==i.Undo&&t!==i.Redo&&this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,r,o)&&this._revealRange(e,0,0,!0,0)}},t.prototype._interpretCompositionEnd=function(e){if(!this._isDoingComposition&&"keyboard"===e){var t=vl.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(fl.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this._selectionsWhenCompositionStarted,this.getSelections(),t)),this._selectionsWhenCompositionStarted=null}},t.prototype._type=function(e,t){if(this._isDoingComposition||"keyboard"!==e)this._executeEditOperation(fl.a.typeWithoutInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),t));else for(var n=t.length,i=0;i<n;){var o=ne.C(t,i),r=t.substr(i,o),s=vl.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(fl.a.typeWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),s,r)),i+=o}},t.prototype._replacePreviousChar=function(e,t){this._executeEditOperation(fl.a.replacePreviousChar(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),e,t))},t.prototype._paste=function(e,t,n){this._executeEditOperation(fl.a.paste(this.context.config,this.context.model,this.getSelections(),e,t,n))},t.prototype._cut=function(){this._executeEditOperation(hl.a.cut(this.context.config,this.context.model,this.getSelections()))},t.prototype._externalExecuteCommand=function(e){this._cursors.killSecondaryCursors(),this._executeEditOperation(new Ur.e(0,[e],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},t.prototype._externalExecuteCommands=function(e){this._executeEditOperation(new Ur.e(0,e,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},t.MAX_CURSOR_COUNT=1e4,t}(va),yl=function(){function e(){}return e.executeCommands=function(e,t,n){for(var i={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},o=this._innerExecuteCommands(i,n),r=0,s=i.trackedRanges.length;r<s;r++)i.model._setTrackedRange(i.trackedRanges[r],null,0);return o},e._innerExecuteCommands=function(e,t){if(this._arrayIsEmpty(t))return null;var n=this._getEditOperations(e,t);if(0===n.operations.length)return null;var i=n.operations,o=this._getLoserCursorMap(i);if(o.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;for(var r=[],s=0,a=i.length;s<a;s++)o.hasOwnProperty(i[s].identifier.major.toString())||r.push(i[s]);n.hadTrackedEditOperation&&r.length>0&&(r[0]._isTracked=!0);var u=e.model.pushEditOperations(e.selectionsBefore,r,(function(n){for(var i=[],o=0;o<e.selectionsBefore.length;o++)i[o]=[];for(var r=0,s=n;r<s.length;r++){var a=s[r];a.identifier&&i[a.identifier.major].push(a)}var u=function(e,t){return e.identifier.minor-t.identifier.minor},l=[],c=function(n){i[n].length>0?(i[n].sort(u),l[n]=t[n].computeCursorState(e.model,{getInverseEditOperations:function(){return i[n]},getTrackedSelection:function(t){var n=parseInt(t,10),i=e.model._getTrackedRange(e.trackedRanges[n]);return 0===e.trackedRangesDirection[n]?new U.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new U.a(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):l[n]=e.selectionsBefore[n]};for(o=0;o<e.selectionsBefore.length;o++)c(o);return l}));u||(u=e.selectionsBefore);var l=[];for(var c in o)o.hasOwnProperty(c)&&l.push(parseInt(c,10));l.sort((function(e,t){return t-e}));for(var d=0,h=l;d<h.length;d++){var f=h[d];u.splice(f,1)}return u},e._arrayIsEmpty=function(e){for(var t=0,n=e.length;t<n;t++)if(e[t])return!1;return!0},e._getEditOperations=function(e,t){for(var n=[],i=!1,o=0,r=t.length;o<r;o++){var s=t[o];if(s){var a=this._getEditOperationsFromCommand(e,o,s);n=n.concat(a.operations),i=i||a.hadTrackedEditOperation}}return{operations:n,hadTrackedEditOperation:i}},e._getEditOperationsFromCommand=function(e,t,n){var i=[],o=0,r=function(e,r,s){void 0===s&&(s=!1),e.isEmpty()&&""===r||i.push({identifier:{major:t,minor:o++},range:e,text:r,forceMoveMarkers:s,isAutoWhitespaceEdit:n.insertsAutoWhitespace})},s=!1,a={addEditOperation:r,addTrackedEditOperation:function(e,t,n){s=!0,r(e,t,n)},trackSelection:function(t,n){var i;if(t.isEmpty())if("boolean"==typeof n)i=n?2:3;else{var o=e.model.getLineMaxColumn(t.startLineNumber);i=t.startColumn===o?2:3}else i=1;var r=e.trackedRanges.length,s=e.model._setTrackedRange(null,t,i);return e.trackedRanges[r]=s,e.trackedRangesDirection[r]=t.getDirection(),r.toString()}};try{n.getEditOperations(e.model,a)}catch(e){return Object(Be.e)(e),{operations:[],hadTrackedEditOperation:!1}}return{operations:i,hadTrackedEditOperation:s}},e._getLoserCursorMap=function(e){(e=e.slice(0)).sort((function(e,t){return-z.a.compareRangesUsingEnds(e.range,t.range)}));for(var t={},n=1;n<e.length;n++){var i=e[n-1],o=e[n];if(i.range.getStartPosition().isBefore(o.range.getEndPosition())){var r=void 0;t[(r=i.identifier.major>o.identifier.major?i.identifier.major:o.identifier.major).toString()]=!0;for(var s=0;s<e.length;s++)e[s].identifier.major===r&&(e.splice(s,1),s<n&&n--,s--);n>0&&n--}}return t},e}(),bl=function(){function e(e,t,n,i,o,r){this.id=e,this.label=t,this.alias=n,this._precondition=i,this._run=o,this._contextKeyService=r}return e.prototype.isSupported=function(){return this._contextKeyService.contextMatchesRules(this._precondition)},e.prototype.run=function(){if(!this.isSupported())return Promise.resolve(void 0);var e=this._run();return e||Promise.resolve(void 0)},e}(),Cl=n("wQH0");function wl(e,t,n,i,o,r,s){for(var a="<div>",u=i,l=0,c=0,d=t.getCount();c<d;c++){var h=t.getEndOffset(c);if(!(h<=i)){for(var f="";u<h&&u<o;u++){var p=e.charCodeAt(u);switch(p){case 9:var g=r-(u+l)%r;for(l+=g-1;g>0;)f+=s?" ":" ",g--;break;case 60:f+="<";break;case 62:f+=">";break;case 38:f+="&";break;case 0:f+="�";break;case 65279:case 8232:f+="�";break;case 13:f+="​";break;case 32:f+=s?" ":" ";break;default:f+=String.fromCharCode(p)}}if(a+='<span style="'+t.getInlineStyle(c,n)+'">'+f+"</span>",h>o||u>=o)break}}return a+="</div>"}var Sl=n("QuOb"),Ll=function(){function e(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}return e.prototype.insert=function(e){this._hasPending=!0,this._inserts.push(e)},e.prototype.change=function(e){this._hasPending=!0,this._changes.push(e)},e.prototype.remove=function(e){this._hasPending=!0,this._removes.push(e)},e.prototype.mustCommit=function(){return this._hasPending},e.prototype.commit=function(e){if(this._hasPending){var t=this._inserts,n=this._changes,i=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],e._commitPendingChanges(t,n,i)}},e}(),Nl=function(e,t,n,i,o){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=i,this.minWidth=o,this.prefixSum=0},Ol=function(){function e(t,n){this._instanceId=ne.G(++e.INSTANCE_COUNT),this._pendingChanges=new Ll,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=t,this._lineHeight=n}return e.findInsertionIndex=function(e,t,n){for(var i=0,o=e.length;i<o;){var r=i+o>>>1;t===e[r].afterLineNumber?n<e[r].ordinal?o=r:i=r+1:t<e[r].afterLineNumber?o=r:i=r+1}return i},e.prototype.setLineHeight=function(e){this._checkPendingChanges(),this._lineHeight=e},e.prototype.onFlushed=function(e){this._checkPendingChanges(),this._lineCount=e},e.prototype.changeWhitespace=function(e){var t=this;try{return e({insertWhitespace:function(e,n,i,o){e|=0,n|=0,i|=0,o|=0;var r=t._instanceId+ ++t._lastWhitespaceId;return t._pendingChanges.insert(new Nl(r,e,n,i,o)),r},changeOneWhitespace:function(e,n,i){n|=0,i|=0,t._pendingChanges.change({id:e,newAfterLineNumber:n,newHeight:i})},removeWhitespace:function(e){t._pendingChanges.remove({id:e})}})}finally{this._pendingChanges.commit(this)}},e.prototype._commitPendingChanges=function(e,t,n){if((e.length>0||n.length>0)&&(this._minWidth=-1),e.length+t.length+n.length<=1){for(var i=0,o=e;i<o.length;i++){var r=o[i];this._insertWhitespace(r)}for(var s=0,a=t;s<a.length;s++){var u=a[s];this._changeOneWhitespace(u.id,u.newAfterLineNumber,u.newHeight)}for(var l=0,c=n;l<c.length;l++){var d=c[l],h=this._findWhitespaceIndex(d.id);-1!==h&&this._removeWhitespace(h)}}else{for(var f=new Set,p=0,g=n;p<g.length;p++){d=g[p];f.add(d.id)}for(var m=new Map,v=0,_=t;v<_.length;v++){u=_[v];m.set(u.id,u)}var y=function(e){for(var t=[],n=0,i=e;n<i.length;n++){var o=i[n];if(!f.has(o.id)){if(m.has(o.id)){var r=m.get(o.id);o.afterLineNumber=r.newAfterLineNumber,o.height=r.newHeight}t.push(o)}}return t},b=y(this._arr).concat(y(e));b.sort((function(e,t){return e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber})),this._arr=b,this._prefixSumValidIndex=-1}},e.prototype._checkPendingChanges=function(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)},e.prototype._insertWhitespace=function(t){var n=e.findInsertionIndex(this._arr,t.afterLineNumber,t.ordinal);this._arr.splice(n,0,t),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,n-1)},e.prototype._findWhitespaceIndex=function(e){for(var t=this._arr,n=0,i=t.length;n<i;n++)if(t[n].id===e)return n;return-1},e.prototype._changeOneWhitespace=function(e,t,n){var i=this._findWhitespaceIndex(e);if(-1!==i&&(this._arr[i].height!==n&&(this._arr[i].height=n,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,i-1)),this._arr[i].afterLineNumber!==t)){var o=this._arr[i];this._removeWhitespace(i),o.afterLineNumber=t,this._insertWhitespace(o)}},e.prototype._removeWhitespace=function(e){this._arr.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1)},e.prototype.onLinesDeleted=function(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount-=t-e+1;for(var n=0,i=this._arr.length;n<i;n++){var o=this._arr[n].afterLineNumber;e<=o&&o<=t?this._arr[n].afterLineNumber=e-1:o>t&&(this._arr[n].afterLineNumber-=t-e+1)}},e.prototype.onLinesInserted=function(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(var n=0,i=this._arr.length;n<i;n++){e<=this._arr[n].afterLineNumber&&(this._arr[n].afterLineNumber+=t-e+1)}},e.prototype.getWhitespacesTotalHeight=function(){return this._checkPendingChanges(),0===this._arr.length?0:this.getWhitespacesAccumulatedHeight(this._arr.length-1)},e.prototype.getWhitespacesAccumulatedHeight=function(e){this._checkPendingChanges(),e|=0;var t=Math.max(0,this._prefixSumValidIndex+1);0===t&&(this._arr[0].prefixSum=this._arr[0].height,t++);for(var n=t;n<=e;n++)this._arr[n].prefixSum=this._arr[n-1].prefixSum+this._arr[n].height;return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,e),this._arr[e].prefixSum},e.prototype.getLinesTotalHeight=function(){return this._checkPendingChanges(),this._lineHeight*this._lineCount+this.getWhitespacesTotalHeight()},e.prototype.getWhitespaceAccumulatedHeightBeforeLineNumber=function(e){this._checkPendingChanges(),e|=0;var t=this._findLastWhitespaceBeforeLineNumber(e);return-1===t?0:this.getWhitespacesAccumulatedHeight(t)},e.prototype._findLastWhitespaceBeforeLineNumber=function(e){e|=0;for(var t=this._arr,n=0,i=t.length-1;n<=i;){var o=n+((i-n|0)/2|0)|0;if(t[o].afterLineNumber<e){if(o+1>=t.length||t[o+1].afterLineNumber>=e)return o;n=o+1|0}else i=o-1|0}return-1},e.prototype._findFirstWhitespaceAfterLineNumber=function(e){e|=0;var t=this._findLastWhitespaceBeforeLineNumber(e)+1;return t<this._arr.length?t:-1},e.prototype.getFirstWhitespaceIndexAfterLineNumber=function(e){return this._checkPendingChanges(),e|=0,this._findFirstWhitespaceAfterLineNumber(e)},e.prototype.getVerticalOffsetForLineNumber=function(e){return this._checkPendingChanges(),((e|=0)>1?this._lineHeight*(e-1):0)+this.getWhitespaceAccumulatedHeightBeforeLineNumber(e)},e.prototype.getWhitespaceMinWidth=function(){if(this._checkPendingChanges(),-1===this._minWidth){for(var e=0,t=0,n=this._arr.length;t<n;t++)e=Math.max(e,this._arr[t].minWidth);this._minWidth=e}return this._minWidth},e.prototype.isAfterLines=function(e){return this._checkPendingChanges(),e>this.getLinesTotalHeight()},e.prototype.getLineNumberAtOrAfterVerticalOffset=function(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;for(var t=0|this._lineCount,n=this._lineHeight,i=1,o=t;i<o;){var r=(i+o)/2|0,s=0|this.getVerticalOffsetForLineNumber(r);if(e>=s+n)i=r+1;else{if(e>=s)return r;o=r}}return i>t?t:i},e.prototype.getLinesViewportData=function(e,t){this._checkPendingChanges(),e|=0,t|=0;var n,i,o=this._lineHeight,r=0|this.getLineNumberAtOrAfterVerticalOffset(e),s=0|this.getVerticalOffsetForLineNumber(r),a=0|this._lineCount,u=0|this.getFirstWhitespaceIndexAfterLineNumber(r),l=0|this.getWhitespacesCount();-1===u?(u=l,i=a+1,n=0):(i=0|this.getAfterLineNumberForWhitespaceIndex(u),n=0|this.getHeightForWhitespaceIndex(u));var c=s,d=c,h=0;s>=5e5&&(h=5e5*Math.floor(s/5e5),d-=h=Math.floor(h/o)*o);for(var f=[],p=e+(t-e)/2,g=-1,m=r;m<=a;m++){if(-1===g){(c<=p&&p<c+o||c>p)&&(g=m)}for(c+=o,f[m-r]=d,d+=o;i===m;)d+=n,c+=n,++u>=l?i=a+1:(i=0|this.getAfterLineNumberForWhitespaceIndex(u),n=0|this.getHeightForWhitespaceIndex(u));if(c>=t){a=m;break}}-1===g&&(g=a);var v=0|this.getVerticalOffsetForLineNumber(a),_=r,y=a;return _<y&&s<e&&_++,_<y&&v+o>t&&y--,{bigNumbersDelta:h,startLineNumber:r,endLineNumber:a,relativeVerticalOffset:f,centeredLineNumber:g,completelyVisibleStartLineNumber:_,completelyVisibleEndLineNumber:y}},e.prototype.getVerticalOffsetForWhitespaceIndex=function(e){this._checkPendingChanges(),e|=0;var t=this.getAfterLineNumberForWhitespaceIndex(e);return(t>=1?this._lineHeight*t:0)+(e>0?this.getWhitespacesAccumulatedHeight(e-1):0)},e.prototype.getWhitespaceIndexAtOrAfterVerticallOffset=function(e){this._checkPendingChanges(),e|=0;var t=0,n=this.getWhitespacesCount()-1;if(n<0)return-1;if(e>=this.getVerticalOffsetForWhitespaceIndex(n)+this.getHeightForWhitespaceIndex(n))return-1;for(;t<n;){var i=Math.floor((t+n)/2),o=this.getVerticalOffsetForWhitespaceIndex(i);if(e>=o+this.getHeightForWhitespaceIndex(i))t=i+1;else{if(e>=o)return i;n=i}}return t},e.prototype.getWhitespaceAtVerticalOffset=function(e){this._checkPendingChanges(),e|=0;var t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this.getWhitespacesCount())return null;var n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;var i=this.getHeightForWhitespaceIndex(t);return{id:this.getIdForWhitespaceIndex(t),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(t),verticalOffset:n,height:i}},e.prototype.getWhitespaceViewportData=function(e,t){this._checkPendingChanges(),e|=0,t|=0;var n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),i=this.getWhitespacesCount()-1;if(n<0)return[];for(var o=[],r=n;r<=i;r++){var s=this.getVerticalOffsetForWhitespaceIndex(r),a=this.getHeightForWhitespaceIndex(r);if(s>=t)break;o.push({id:this.getIdForWhitespaceIndex(r),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(r),verticalOffset:s,height:a})}return o},e.prototype.getWhitespaces=function(){return this._checkPendingChanges(),this._arr.slice(0)},e.prototype.getWhitespacesCount=function(){return this._checkPendingChanges(),this._arr.length},e.prototype.getIdForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].id},e.prototype.getAfterLineNumberForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber},e.prototype.getHeightForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].height},e.INSTANCE_COUNT=0,e}(),Dl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),xl=function(){function e(e,t,n,i){(e|=0)<0&&(e=0),(t|=0)<0&&(t=0),(n|=0)<0&&(n=0),(i|=0)<0&&(i=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=n,this.contentHeight=i,this.scrollHeight=Math.max(n,i)}return e.prototype.equals=function(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight},e}(),El=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidContentSizeChange=i._register(new W.a),i.onDidContentSizeChange=i._onDidContentSizeChange.event,i._dimensions=new xl(0,0,0,0),i._scrollable=i._register(new Sl.a(t,n)),i.onDidScroll=i._scrollable.onScroll,i}return Dl(t,e),t.prototype.getScrollable=function(){return this._scrollable},t.prototype.setSmoothScrollDuration=function(e){this._scrollable.setSmoothScrollDuration(e)},t.prototype.validateScrollPosition=function(e){return this._scrollable.validateScrollPosition(e)},t.prototype.getScrollDimensions=function(){return this._dimensions},t.prototype.setScrollDimensions=function(e){if(!this._dimensions.equals(e)){var t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight});var n=t.contentWidth!==e.contentWidth,i=t.contentHeight!==e.contentHeight;(n||i)&&this._onDidContentSizeChange.fire({contentWidth:e.contentWidth,contentHeight:e.contentHeight,contentWidthChanged:n,contentHeightChanged:i})}},t.prototype.getFutureScrollPosition=function(){return this._scrollable.getFutureScrollPosition()},t.prototype.getCurrentScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t.prototype.setScrollPositionNow=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.setScrollPositionSmooth=function(e){this._scrollable.setScrollPositionSmooth(e)},t}(le.a),kl=function(e){function t(t,n,i){var o=e.call(this)||this;o._configuration=t;var r=o._configuration.options,s=r.get(107);return o._linesLayout=new Ol(n,r.get(49)),o._scrollable=o._register(new El(0,i)),o._configureSmoothScrollDuration(),o._scrollable.setScrollDimensions(new xl(s.contentWidth,0,s.height,0)),o.onDidScroll=o._scrollable.onDidScroll,o.onDidContentSizeChange=o._scrollable.onDidContentSizeChange,o._updateHeight(),o}return Dl(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getScrollable=function(){return this._scrollable.getScrollable()},t.prototype.onHeightMaybeChanged=function(){this._updateHeight()},t.prototype._configureSmoothScrollDuration=function(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(87)?125:0)},t.prototype.onConfigurationChanged=function(e){var t=this._configuration.options;if(e.hasChanged(49)&&this._linesLayout.setLineHeight(t.get(49)),e.hasChanged(107)){var n=t.get(107),i=n.contentWidth,o=n.height,r=this._scrollable.getScrollDimensions(),s=r.scrollWidth;this._scrollable.setScrollDimensions(new xl(i,r.contentWidth,o,this._getContentHeight(i,o,s)))}else this._updateHeight();e.hasChanged(87)&&this._configureSmoothScrollDuration()},t.prototype.onFlushed=function(e){this._linesLayout.onFlushed(e)},t.prototype.onLinesDeleted=function(e,t){this._linesLayout.onLinesDeleted(e,t)},t.prototype.onLinesInserted=function(e,t){this._linesLayout.onLinesInserted(e,t)},t.prototype._getHorizontalScrollbarHeight=function(e,t){var n=this._configuration.options.get(78);return 2===n.horizontal||e>=t?0:n.horizontalScrollbarSize},t.prototype._getContentHeight=function(e,t,n){var i=this._configuration.options,o=this._linesLayout.getLinesTotalHeight();return i.get(80)?o+=t-i.get(49):o+=this._getHorizontalScrollbarHeight(e,n),o},t.prototype._updateHeight=function(){var e=this._scrollable.getScrollDimensions(),t=e.width,n=e.height,i=e.scrollWidth;this._scrollable.setScrollDimensions(new xl(t,e.contentWidth,n,this._getContentHeight(t,n,i)))},t.prototype.getCurrentViewport=function(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new bn(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype.getFutureViewport=function(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new bn(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype._computeContentWidth=function(e){var t=this._configuration.options,n=t.get(108),i=t.get(34);if(n.isViewportWrapping){var o=t.get(107),r=t.get(54);return e>o.contentWidth+i.typicalHalfwidthCharacterWidth&&r.enabled&&"right"===r.side?e+o.verticalScrollbarWidth:e}var s=t.get(79)*i.typicalHalfwidthCharacterWidth,a=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+s,a)},t.prototype.onMaxLineWidthChanged=function(e){var t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new xl(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()},t.prototype.saveState=function(){var e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t);return{scrollTop:t,scrollTopWithoutViewZones:t-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n),scrollLeft:e.scrollLeft}},t.prototype.changeWhitespace=function(e){return this._linesLayout.changeWhitespace(e)},t.prototype.getVerticalOffsetForLineNumber=function(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)},t.prototype.isAfterLines=function(e){return this._linesLayout.isAfterLines(e)},t.prototype.getLineNumberAtVerticalOffset=function(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)},t.prototype.getWhitespaceAtVerticalOffset=function(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)},t.prototype.getLinesViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)},t.prototype.getLinesViewportDataAtScrollTop=function(e){var t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)},t.prototype.getWhitespaceViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)},t.prototype.getWhitespaces=function(){return this._linesLayout.getWhitespaces()},t.prototype.getContentWidth=function(){return this._scrollable.getScrollDimensions().contentWidth},t.prototype.getScrollWidth=function(){return this._scrollable.getScrollDimensions().scrollWidth},t.prototype.getContentHeight=function(){return this._scrollable.getScrollDimensions().contentHeight},t.prototype.getScrollHeight=function(){return this._scrollable.getScrollDimensions().scrollHeight},t.prototype.getCurrentScrollLeft=function(){return this._scrollable.getCurrentScrollPosition().scrollLeft},t.prototype.getCurrentScrollTop=function(){return this._scrollable.getCurrentScrollPosition().scrollTop},t.prototype.validateScrollPosition=function(e){return this._scrollable.validateScrollPosition(e)},t.prototype.setScrollPositionNow=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.setScrollPositionSmooth=function(e){this._scrollable.setScrollPositionSmooth(e)},t.prototype.deltaScrollNow=function(e,t){var n=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})},t}(le.a),Il=n("tX9W"),Ml=function(e,t){this.outputLineIndex=e,this.outputOffset=t},Tl=function(){function e(e,t,n){this.breakOffsets=e,this.breakOffsetsVisibleColumn=t,this.wrappedTextIndentLength=n}return e.getInputOffsetOfOutputPosition=function(e,t,n){return 0===t?n:e[t-1]+n},e.getOutputPositionOfInputOffset=function(e,t){for(var n=0,i=e.length-1,o=0,r=0;n<=i;){var s=e[o=n+(i-n)/2|0];if(t<(r=o>0?e[o-1]:0))i=o-1;else{if(!(t>=s))break;n=o+1}}return new Ml(o,t-r)},e}(),Al=function(){function e(e){this._lines=e}return e.prototype.convertViewPositionToModelPosition=function(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)},e.prototype.convertViewRangeToModelRange=function(e){return this._lines.convertViewRangeToModelRange(e)},e.prototype.validateViewPosition=function(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)},e.prototype.validateViewRange=function(e,t){return this._lines.validateViewRange(e,t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)},e.prototype.convertModelRangeToViewRange=function(e){return this._lines.convertModelRangeToViewRange(e)},e.prototype.modelPositionIsVisible=function(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)},e}(),Rl=function(){function e(e){this._counts=e,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}return e.prototype._invalidate=function(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)},e.prototype._ensureValid=function(){if(!this._isValid){for(var e=this._validEndIndex+1,t=this._counts.length;e<t;e++){var n=this._counts[e],i=e>0?this._modelToView[e-1]:0;this._modelToView[e]=i+n;for(var o=0;o<n;o++)this._viewToModel[i+o]=e}this._modelToView.length=this._counts.length,this._viewToModel.length=this._modelToView[this._modelToView.length-1],this._isValid=!0,this._validEndIndex=this._counts.length-1}},e.prototype.changeValue=function(e,t){this._counts[e]!==t&&(this._counts[e]=t,this._invalidate(e))},e.prototype.removeValues=function(e,t){this._counts.splice(e,t),this._invalidate(e)},e.prototype.insertValues=function(e,t){this._counts=Xe.a(this._counts,e,t),this._invalidate(e)},e.prototype.getTotalValue=function(){return this._ensureValid(),this._viewToModel.length},e.prototype.getAccumulatedValue=function(e){return this._ensureValid(),this._modelToView[e]},e.prototype.getIndexOf=function(e){this._ensureValid();var t=this._viewToModel[e],n=t>0?this._modelToView[t-1]:0;return new vt(t,e-n)},e}(),Pl=function(){function e(e,t,n,i,o,r,s,a){this.model=e,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=t,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=i,this.tabSize=o,this.wrappingStrategy=r,this.wrappingColumn=s,this.wrappingIndent=a,this._constructLines(!0,null)}return e.prototype.dispose=function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])},e.prototype.createCoordinatesConverter=function(){return new Al(this)},e.prototype._constructLines=function(e,t){var n=this;this.lines=[],e&&(this.hiddenAreasIds=[]);for(var i=this.model.getLinesContent(),o=i.length,r=this.createLineBreaksComputer(),s=0;s<o;s++)r.addRequest(i[s],t?t[s]:null);var a=r.finalize(),u=[],l=this.hiddenAreasIds.map((function(e){return n.model.getDecorationRange(e)})).sort(z.a.compareRangesUsingStarts),c=1,d=0,h=-1,f=h+1<l.length?d+1:o+2;for(s=0;s<o;s++){var p=s+1;p===f&&(c=l[++h].startLineNumber,d=l[h].endLineNumber,f=h+1<l.length?d+1:o+2);var g=p>=c&&p<=d,m=zl(a[s],!g);u[s]=m.getViewLineCount(),this.lines[s]=m}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new Rl(u)},e.prototype.getHiddenAreas=function(){var e=this;return this.hiddenAreasIds.map((function(t){return e.model.getDecorationRange(t)}))},e.prototype._reduceRanges=function(e){var t=this;if(0===e.length)return[];for(var n=e.map((function(e){return t.model.validateRange(e)})).sort(z.a.compareRangesUsingStarts),i=[],o=n[0].startLineNumber,r=n[0].endLineNumber,s=1,a=n.length;s<a;s++){var u=n[s];u.startLineNumber>r+1?(i.push(new z.a(o,1,r,1)),o=u.startLineNumber,r=u.endLineNumber):u.endLineNumber>r&&(r=u.endLineNumber)}return i.push(new z.a(o,1,r,1)),i},e.prototype.setHiddenAreas=function(e){var t=this,n=this._reduceRanges(e),i=this.hiddenAreasIds.map((function(e){return t.model.getDecorationRange(e)})).sort(z.a.compareRangesUsingStarts);if(n.length===i.length){for(var o=!1,r=0;r<n.length;r++)if(!n[r].equalsRange(i[r])){o=!0;break}if(!o)return!1}for(var s=[],a=0,u=n;a<u.length;a++){var l=u[a];s.push({range:l,options:Il.a.EMPTY})}this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,s);var c=n,d=1,h=0,f=-1,p=f+1<c.length?h+1:this.lines.length+2,g=!1;for(r=0;r<this.lines.length;r++){var m=r+1;m===p&&(d=c[++f].startLineNumber,h=c[f].endLineNumber,p=f+1<c.length?h+1:this.lines.length+2);var v=!1;if(m>=d&&m<=h?this.lines[r].isVisible()&&(this.lines[r]=this.lines[r].setVisible(!1),v=!0):(g=!0,this.lines[r].isVisible()||(this.lines[r]=this.lines[r].setVisible(!0),v=!0)),v){var _=this.lines[r].getViewLineCount();this.prefixSumComputer.changeValue(r,_)}}return g||this.setHiddenAreas([]),!0},e.prototype.modelPositionIsVisible=function(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()},e.prototype.setTabSize=function(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)},e.prototype.setWrappingSettings=function(e,t,n,i){var o=this.fontInfo.equals(e),r=this.wrappingStrategy===t,s=this.wrappingColumn===n,a=this.wrappingIndent===i;if(o&&r&&s&&a)return!1;var u=o&&r&&!s&&a;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=n,this.wrappingIndent=i;var l=null;if(u){l=[];for(var c=0,d=this.lines.length;c<d;c++)l[c]=this.lines[c].getLineBreakData()}return this._constructLines(!1,l),!0},e.prototype.createLineBreaksComputer=function(){return("advanced"===this.wrappingStrategy?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory).createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent)},e.prototype.onModelFlushed=function(){this._constructLines(!0,null)},e.prototype.onModelLinesDeleted=function(e,t,n){if(e<=this._validModelVersionId)return null;var i=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,o=this.prefixSumComputer.getAccumulatedValue(n-1);return this.lines.splice(t-1,n-t+1),this.prefixSumComputer.removeValues(t-1,n-t+1),new la(i,o)},e.prototype.onModelLinesInserted=function(e,t,n,i){if(e<=this._validModelVersionId)return null;for(var o=this.getHiddenAreas(),r=!1,s=new H.a(t,1),a=0,u=o;a<u.length;a++){if(u[a].containsPosition(s)){r=!0;break}}for(var l=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=0,d=[],h=[],f=0,p=i.length;f<p;f++){var g=zl(i[f],!r);d.push(g);var m=g.getViewLineCount();c+=m,h[f]=m}return this.lines=this.lines.slice(0,t-1).concat(d).concat(this.lines.slice(t-1)),this.prefixSumComputer.insertValues(t-1,h),new ca(l,l+c-1)},e.prototype.onModelLineChanged=function(e,t,n){if(e<=this._validModelVersionId)return[!1,null,null,null];var i=t-1,o=this.lines[i].getViewLineCount(),r=zl(n,this.lines[i].isVisible());this.lines[i]=r;var s=this.lines[i].getViewLineCount(),a=!1,u=0,l=-1,c=0,d=-1,h=0,f=-1;return o>s?(f=(h=(l=(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+s-1)+1)+(o-s)-1,a=!0):o<s?(d=(c=(l=(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+o-1)+1)+(s-o)-1,a=!0):l=(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+s-1,this.prefixSumComputer.changeValue(i,s),[a,u<=l?new ua(u,l):null,c<=d?new ca(c,d):null,h<=f?new la(h,f):null]},e.prototype.acceptVersionId=function(e){this._validModelVersionId=e,1!==this.lines.length||this.lines[0].isVisible()||this.setHiddenAreas([])},e.prototype.getViewLineCount=function(){return this.prefixSumComputer.getTotalValue()},e.prototype._toValidViewLineNumber=function(e){if(e<1)return 1;var t=this.getViewLineCount();return e>t?t:0|e},e.prototype.getActiveIndentGuide=function(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);var i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),r=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),s=this.model.getActiveIndentGuide(i.lineNumber,o.lineNumber,r.lineNumber),a=this.convertModelPositionToViewPosition(s.startLineNumber,1),u=this.convertModelPositionToViewPosition(s.endLineNumber,this.model.getLineMaxColumn(s.endLineNumber));return{startLineNumber:a.lineNumber,endLineNumber:u.lineNumber,indent:s.indent}},e.prototype.getViewLinesIndentGuides=function(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),i=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),o=[],r=[],s=[],a=n.lineNumber-1,u=i.lineNumber-1,l=null,c=a;c<=u;c++){var d=this.lines[c];if(d.isVisible()){var h=d.getViewLineNumberOfModelPosition(0,c===a?n.column:1),f=d.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(c+1)),p=0;(C=f-h+1)>1&&1===d.getViewLineMinColumn(this.model,c+1,f)&&(p=0===h?1:2),r.push(C),s.push(p),null===l&&(l=new H.a(c+1,0))}else null!==l&&(o=o.concat(this.model.getLinesIndentGuides(l.lineNumber,c)),l=null)}null!==l&&(o=o.concat(this.model.getLinesIndentGuides(l.lineNumber,i.lineNumber)),l=null);for(var g=t-e+1,m=new Array(g),v=0,_=0,y=o.length;_<y;_++){var b=o[_],C=Math.min(g-v,r[_]),w=void 0;w=2===(p=s[_])?0:1===p?1:C;for(var S=0;S<C;S++)S===w&&(b=0),m[v++]=b}return m},e.prototype.getViewLineContent=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineContent(this.model,n+1,i)},e.prototype.getViewLineLength=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineLength(this.model,n+1,i)},e.prototype.getViewLineMinColumn=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineMinColumn(this.model,n+1,i)},e.prototype.getViewLineMaxColumn=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineMaxColumn(this.model,n+1,i)},e.prototype.getViewLineData=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineData(this.model,n+1,i)},e.prototype.getViewLinesData=function(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var i=this.prefixSumComputer.getIndexOf(e-1),o=e,r=i.index,s=i.remainder,a=[],u=r,l=this.model.getLineCount();u<l;u++){var c=this.lines[u];if(c.isVisible()){var d=u===r?s:0,h=c.getViewLineCount()-d,f=!1;o+h>t&&(f=!0,h=t-o+1);var p=d+h;if(c.getViewLinesData(this.model,u+1,d,p,o-e,n,a),o+=h,f)break}}return a},e.prototype.validateViewPosition=function(e,t,n){e=this._toValidViewLineNumber(e);var i=this.prefixSumComputer.getIndexOf(e-1),o=i.index,r=i.remainder,s=this.lines[o],a=s.getViewLineMinColumn(this.model,o+1,r),u=s.getViewLineMaxColumn(this.model,o+1,r);t<a&&(t=a),t>u&&(t=u);var l=s.getModelColumnOfViewPosition(r,t);return this.model.validatePosition(new H.a(o+1,l)).equals(n)?new H.a(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)},e.prototype.validateViewRange=function(e,t){var n=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),i=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new z.a(n.lineNumber,n.column,i.lineNumber,i.column)},e.prototype.convertViewPositionToModelPosition=function(e,t){e=this._toValidViewLineNumber(e);var n=this.prefixSumComputer.getIndexOf(e-1),i=n.index,o=n.remainder,r=this.lines[i].getModelColumnOfViewPosition(o,t);return this.model.validatePosition(new H.a(i+1,r))},e.prototype.convertViewRangeToModelRange=function(e){var t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new z.a(t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype.convertModelPositionToViewPosition=function(e,t){for(var n=this.model.validatePosition(new H.a(e,t)),i=n.lineNumber,o=n.column,r=i-1,s=!1;r>0&&!this.lines[r].isVisible();)r--,s=!0;if(0===r&&!this.lines[r].isVisible())return new H.a(1,1);var a=1+(0===r?0:this.prefixSumComputer.getAccumulatedValue(r-1));return s?this.lines[r].getViewPositionOfModelPosition(a,this.model.getLineMaxColumn(r+1)):this.lines[i-1].getViewPositionOfModelPosition(a,o)},e.prototype.convertModelRangeToViewRange=function(e){var t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),n=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return e.startLineNumber===e.endLineNumber&&t.lineNumber!==n.lineNumber&&n.column===this.getViewLineMinColumn(n.lineNumber)?new z.a(t.lineNumber,t.column,n.lineNumber-1,this.getViewLineMaxColumn(n.lineNumber-1)):new z.a(t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype._getViewLineNumberForModelPosition=function(e,t){var n=e-1;if(this.lines[n].isVisible()){var i=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(i,t)}for(;n>0&&!this.lines[n].isVisible();)n--;if(0===n&&!this.lines[n].isVisible())return 1;var o=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(o,this.model.getLineMaxColumn(n+1))},e.prototype.getAllOverviewRulerDecorations=function(e,t,n){for(var i=this.model.getOverviewRulerDecorations(e,t),o=new ql,r=0,s=i;r<s.length;r++){var a=s[r],u=a.options.overviewRuler,l=u?u.position:0;if(0!==l){var c=u.getColor(n),d=this._getViewLineNumberForModelPosition(a.range.startLineNumber,a.range.startColumn),h=this._getViewLineNumberForModelPosition(a.range.endLineNumber,a.range.endColumn);o.accept(c,d,h,l)}}return o.result},e.prototype.getDecorationsInRange=function(e,t,n){var i=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),o=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(o.lineNumber-i.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new z.a(i.lineNumber,1,o.lineNumber,o.column),t,n);for(var r=[],s=i.lineNumber-1,a=o.lineNumber-1,u=null,l=s;l<=a;l++){if(this.lines[l].isVisible())null===u&&(u=new H.a(l+1,l===s?i.column:1));else if(null!==u){var c=this.model.getLineMaxColumn(l);r=r.concat(this.model.getDecorationsInRange(new z.a(u.lineNumber,u.column,l,c),t,n)),u=null}}null!==u&&(r=r.concat(this.model.getDecorationsInRange(new z.a(u.lineNumber,u.column,o.lineNumber,o.column),t,n)),u=null),r.sort((function(e,t){var n=z.a.compareRangesUsingStarts(e.range,t.range);return 0===n?e.id<t.id?-1:e.id>t.id?1:0:n}));for(var d=[],h=0,f=null,p=0,g=r;p<g.length;p++){var m=g[p],v=m.id;f!==v&&(f=v,d[h++]=m)}return d},e}(),Fl=function(){function e(){}return e.prototype.isVisible=function(){return!0},e.prototype.setVisible=function(e){return e?this:Vl.INSTANCE},e.prototype.getLineBreakData=function(){return null},e.prototype.getViewLineCount=function(){return 1},e.prototype.getViewLineContent=function(e,t,n){return e.getLineContent(t)},e.prototype.getViewLineLength=function(e,t,n){return e.getLineLength(t)},e.prototype.getViewLineMinColumn=function(e,t,n){return e.getLineMinColumn(t)},e.prototype.getViewLineMaxColumn=function(e,t,n){return e.getLineMaxColumn(t)},e.prototype.getViewLineData=function(e,t,n){var i=e.getLineTokens(t),o=i.getLineContent();return new wn(o,!1,1,o.length+1,0,i.inflate())},e.prototype.getViewLinesData=function(e,t,n,i,o,r,s){r[o]?s[o]=this.getViewLineData(e,t,0):s[o]=null},e.prototype.getModelColumnOfViewPosition=function(e,t){return t},e.prototype.getViewPositionOfModelPosition=function(e,t){return new H.a(e,t)},e.prototype.getViewLineNumberOfModelPosition=function(e,t){return e},e.INSTANCE=new e,e}(),Vl=function(){function e(){}return e.prototype.isVisible=function(){return!1},e.prototype.setVisible=function(e){return e?Fl.INSTANCE:this},e.prototype.getLineBreakData=function(){return null},e.prototype.getViewLineCount=function(){return 0},e.prototype.getViewLineContent=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineLength=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineMinColumn=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineMaxColumn=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineData=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLinesData=function(e,t,n,i,o,r,s){throw new Error("Not supported")},e.prototype.getModelColumnOfViewPosition=function(e,t){throw new Error("Not supported")},e.prototype.getViewPositionOfModelPosition=function(e,t){throw new Error("Not supported")},e.prototype.getViewLineNumberOfModelPosition=function(e,t){throw new Error("Not supported")},e.INSTANCE=new e,e}(),Wl=function(){function e(e,t){this._lineBreakData=e,this._isVisible=t}return e.prototype.isVisible=function(){return this._isVisible},e.prototype.setVisible=function(e){return this._isVisible=e,this},e.prototype.getLineBreakData=function(){return this._lineBreakData},e.prototype.getViewLineCount=function(){return this._isVisible?this._lineBreakData.breakOffsets.length:0},e.prototype.getInputStartOffsetOfOutputLineIndex=function(e){return Tl.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,0)},e.prototype.getInputEndOffsetOfOutputLineIndex=function(e,t,n){return n+1===this._lineBreakData.breakOffsets.length?e.getLineMaxColumn(t)-1:Tl.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,n+1,0)},e.prototype.getViewLineContent=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:o+1});return n>0&&(r=jl(this._lineBreakData.wrappedTextIndentLength)+r),r},e.prototype.getViewLineLength=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n)-i;return n>0&&(o=this._lineBreakData.wrappedTextIndentLength+o),o},e.prototype.getViewLineMinColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return n>0?this._lineBreakData.wrappedTextIndentLength+1:1},e.prototype.getViewLineMaxColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(e,t,n).length+1},e.prototype.getViewLineData=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:o+1});n>0&&(r=jl(this._lineBreakData.wrappedTextIndentLength)+r);var s=n>0?this._lineBreakData.wrappedTextIndentLength+1:1,a=r.length+1,u=n+1<this.getViewLineCount(),l=0;n>0&&(l=this._lineBreakData.wrappedTextIndentLength);var c=e.getLineTokens(t),d=0===n?0:this._lineBreakData.breakOffsetsVisibleColumn[n-1];return new wn(r,u,s,a,d,c.sliceAndInflate(i,o,l))},e.prototype.getViewLinesData=function(e,t,n,i,o,r,s){if(!this._isVisible)throw new Error("Not supported");for(var a=n;a<i;a++){var u=o+a-n;r[u]?s[u]=this.getViewLineData(e,t,a):s[u]=null}},e.prototype.getModelColumnOfViewPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var n=t-1;return e>0&&(n<this._lineBreakData.wrappedTextIndentLength?n=0:n-=this._lineBreakData.wrappedTextIndentLength),Tl.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,n)+1},e.prototype.getViewPositionOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var n=Tl.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1),i=n.outputLineIndex,o=n.outputOffset+1;return i>0&&(o+=this._lineBreakData.wrappedTextIndentLength),new H.a(e+i,o)},e.prototype.getViewLineNumberOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");return e+Tl.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1).outputLineIndex},e}(),Bl=[""];function jl(e){if(e>=Bl.length)for(var t=1;t<=e;t++)Bl[t]=Hl(t);return Bl[e]}function Hl(e){return new Array(e+1).join(" ")}function zl(e,t){return null===e?t?Fl.INSTANCE:Vl.INSTANCE:new Wl(e,t)}var Ul=function(){function e(e){this._lines=e}return e.prototype._validPosition=function(e){return this._lines.model.validatePosition(e)},e.prototype._validRange=function(e){return this._lines.model.validateRange(e)},e.prototype.convertViewPositionToModelPosition=function(e){return this._validPosition(e)},e.prototype.convertViewRangeToModelRange=function(e){return this._validRange(e)},e.prototype.validateViewPosition=function(e,t){return this._validPosition(t)},e.prototype.validateViewRange=function(e,t){return this._validRange(t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._validPosition(e)},e.prototype.convertModelRangeToViewRange=function(e){return this._validRange(e)},e.prototype.modelPositionIsVisible=function(e){var t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)},e}(),Kl=function(){function e(e){this.model=e}return e.prototype.dispose=function(){},e.prototype.createCoordinatesConverter=function(){return new Ul(this)},e.prototype.getHiddenAreas=function(){return[]},e.prototype.setHiddenAreas=function(e){return!1},e.prototype.setTabSize=function(e){return!1},e.prototype.setWrappingSettings=function(e,t,n,i){return!1},e.prototype.createLineBreaksComputer=function(){var e=[];return{addRequest:function(t,n){e.push(null)},finalize:function(){return e}}},e.prototype.onModelFlushed=function(){},e.prototype.onModelLinesDeleted=function(e,t,n){return new la(t,n)},e.prototype.onModelLinesInserted=function(e,t,n,i){return new ca(t,n)},e.prototype.onModelLineChanged=function(e,t,n){return[!1,new ua(t,t),null,null]},e.prototype.acceptVersionId=function(e){},e.prototype.getViewLineCount=function(){return this.model.getLineCount()},e.prototype.getActiveIndentGuide=function(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}},e.prototype.getViewLinesIndentGuides=function(e,t){for(var n=t-e+1,i=new Array(n),o=0;o<n;o++)i[o]=0;return i},e.prototype.getViewLineContent=function(e){return this.model.getLineContent(e)},e.prototype.getViewLineLength=function(e){return this.model.getLineLength(e)},e.prototype.getViewLineMinColumn=function(e){return this.model.getLineMinColumn(e)},e.prototype.getViewLineMaxColumn=function(e){return this.model.getLineMaxColumn(e)},e.prototype.getViewLineData=function(e){var t=this.model.getLineTokens(e),n=t.getLineContent();return new wn(n,!1,1,n.length+1,0,t.inflate())},e.prototype.getViewLinesData=function(e,t,n){var i=this.model.getLineCount();e=Math.min(Math.max(1,e),i),t=Math.min(Math.max(1,t),i);for(var o=[],r=e;r<=t;r++){var s=r-e;n[s]||(o[s]=null),o[s]=this.getViewLineData(r)}return o},e.prototype.getAllOverviewRulerDecorations=function(e,t,n){for(var i=this.model.getOverviewRulerDecorations(e,t),o=new ql,r=0,s=i;r<s.length;r++){var a=s[r],u=a.options.overviewRuler,l=u?u.position:0;if(0!==l){var c=u.getColor(n),d=a.range.startLineNumber,h=a.range.endLineNumber;o.accept(c,d,h,l)}}return o.result},e.prototype.getDecorationsInRange=function(e,t,n){return this.model.getDecorationsInRange(e,t,n)},e}(),ql=function(){function e(){this.result=Object.create(null)}return e.prototype.accept=function(e,t,n,i){var o=this.result[e];if(o){var r=o[o.length-3],s=o[o.length-1];if(r===i&&s+1>=t)return void(n>s&&(o[o.length-1]=n));o.push(i,t,n)}else this.result[e]=[i,t,n]},e}(),Gl=function(){function e(e,t,n,i,o){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=i,this._coordinatesConverter=o,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}return e.prototype._clearCachedModelDecorationsResolver=function(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null},e.prototype.dispose=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.reset=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onModelDecorationsChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onLineMappingChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype._getOrCreateViewModelDecoration=function(e){var t=e.id,n=this._decorationsCache[t];if(!n){var i=e.range,o=e.options,r=void 0;if(o.isWholeLine){var s=this._coordinatesConverter.convertModelPositionToViewPosition(new H.a(i.startLineNumber,1)),a=this._coordinatesConverter.convertModelPositionToViewPosition(new H.a(i.endLineNumber,this.model.getLineMaxColumn(i.endLineNumber)));r=new z.a(s.lineNumber,s.column,a.lineNumber,a.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(i);n=new Nn(r,o),this._decorationsCache[t]=n}return n},e.prototype.getDecorationsViewportData=function(e){var t=null!==this._cachedModelDecorationsResolver;return(t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange))||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver},e.prototype._getDecorationsViewportData=function(e){for(var t=this._linesCollection.getDecorationsInRange(e,this.editorId,Object(F.j)(this.configuration.options)),n=e.startLineNumber,i=e.endLineNumber,o=[],r=0,s=[],a=n;a<=i;a++)s[a-n]=[];for(var u=0,l=t.length;u<l;u++){var c=t[u],d=c.options,h=this._getOrCreateViewModelDecoration(c),f=h.range;if(o[r++]=h,d.inlineClassName){var p=new Ln(f,d.inlineClassName,d.inlineClassNameAffectsLetterSpacing?3:0),g=Math.max(n,f.startLineNumber),m=Math.min(i,f.endLineNumber);for(a=g;a<=m;a++)s[a-n].push(p)}if(d.beforeContentClassName&&n<=f.startLineNumber&&f.startLineNumber<=i){p=new Ln(new z.a(f.startLineNumber,f.startColumn,f.startLineNumber,f.startColumn),d.beforeContentClassName,1);s[f.startLineNumber-n].push(p)}if(d.afterContentClassName&&n<=f.endLineNumber&&f.endLineNumber<=i){p=new Ln(new z.a(f.endLineNumber,f.endColumn,f.endLineNumber,f.endColumn),d.afterContentClassName,2);s[f.endLineNumber-n].push(p)}}return{decorations:o,inlineDecorations:s}},e}(),Yl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Zl=function(e){function t(t,n,i,o,r,s){var a=e.call(this)||this;if(a.editorId=t,a.configuration=n,a.model=i,a._tokenizeViewportSoon=a._register(new We.d((function(){return a.tokenizeViewport()}),50)),a.hasFocus=!1,a.viewportStartLine=-1,a.viewportStartLineTrackedRange=null,a.viewportStartLineDelta=0,a.model.isTooLargeForTokenization())a.lines=new Kl(a.model);else{var u=a.configuration.options,l=u.get(34),c=u.get(103),d=u.get(108),h=u.get(102);a.lines=new Pl(a.model,o,r,l,a.model.getOptions().tabSize,c,d.wrappingColumn,h)}return a.coordinatesConverter=a.lines.createCoordinatesConverter(),a.viewLayout=a._register(new kl(a.configuration,a.getLineCount(),s)),a._register(a.viewLayout.onDidScroll((function(e){e.scrollTopChanged&&a._tokenizeViewportSoon.schedule();try{a._beginEmit().emit(new ha(e))}finally{a._endEmit()}}))),a._register(a.viewLayout.onDidContentSizeChange((function(e){try{a._beginEmit().emit(new ta(e))}finally{a._endEmit()}}))),a.decorations=new Gl(a.editorId,a.model,a.configuration,a.lines,a.coordinatesConverter),a._registerModelEvents(),a._register(a.configuration.onDidChange((function(e){try{var t=a._beginEmit();a._onConfigurationChanged(t,e)}finally{a._endEmit()}}))),a._register(hu.getInstance().onDidChange((function(){try{a._beginEmit().emit(new ga)}finally{a._endEmit()}}))),a}return Yl(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this.decorations.dispose(),this.lines.dispose(),this.invalidateMinimapColorCache(),this.viewportStartLineTrackedRange=this.model._setTrackedRange(this.viewportStartLineTrackedRange,null,1)},t.prototype.tokenizeViewport=function(){var e=this.viewLayout.getLinesViewportData(),t=this.coordinatesConverter.convertViewPositionToModelPosition(new H.a(e.startLineNumber,1)),n=this.coordinatesConverter.convertViewPositionToModelPosition(new H.a(e.endLineNumber,1));this.model.tokenizeViewport(t.lineNumber,n.lineNumber)},t.prototype.setHasFocus=function(e){this.hasFocus=e},t.prototype._onConfigurationChanged=function(e,t){var n=null;if(-1!==this.viewportStartLine){var i=new H.a(this.viewportStartLine,this.getLineMinColumn(this.viewportStartLine));n=this.coordinatesConverter.convertViewPositionToModelPosition(i)}var o=!1,r=this.configuration.options,s=r.get(34),a=r.get(103),u=r.get(108),l=r.get(102);if(this.lines.setWrappingSettings(s,a,u.wrappingColumn,l)&&(e.emit(new oa),e.emit(new aa),e.emit(new ia),this.decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(o=!0)),t.hasChanged(68)&&(this.decorations.reset(),e.emit(new ia)),e.emit(new ea(t)),this.viewLayout.onConfigurationChanged(t),o&&n){var c=this.coordinatesConverter.convertModelPositionToViewPosition(n),d=this.viewLayout.getVerticalOffsetForLineNumber(c.lineNumber);this.viewLayout.setScrollPositionNow({scrollTop:d+this.viewportStartLineDelta})}},t.prototype._registerModelEvents=function(){var e=this;this._register(this.model.onDidChangeRawContentFast((function(t){try{for(var n=e._beginEmit(),i=!1,o=!1,r=t.changes,s=t.versionId,a=e.lines.createLineBreaksComputer(),u=0,l=r;u<l.length;u++){switch((v=l[u]).changeType){case 4:for(var c=0,d=v.detail;c<d.length;c++){var h=d[c];a.addRequest(h,null)}break;case 2:a.addRequest(v.detail,null)}}for(var f=a.finalize(),p=0,g=0,m=r;g<m.length;g++){var v;switch((v=m[g]).changeType){case 1:e.lines.onModelFlushed(),n.emit(new oa),e.decorations.reset(),e.viewLayout.onFlushed(e.getLineCount()),i=!0;break;case 3:null!==(L=e.lines.onModelLinesDeleted(s,v.fromLineNumber,v.toLineNumber))&&(n.emit(L),e.viewLayout.onLinesDeleted(L.fromLineNumber,L.toLineNumber)),i=!0;break;case 4:var _=f.slice(p,p+v.detail.length);p+=v.detail.length,null!==(S=e.lines.onModelLinesInserted(s,v.fromLineNumber,v.toLineNumber,_))&&(n.emit(S),e.viewLayout.onLinesInserted(S.fromLineNumber,S.toLineNumber)),i=!0;break;case 2:var y=f[p];p++;var b=e.lines.onModelLineChanged(s,v.lineNumber,y),C=b[0],w=b[1],S=b[2],L=b[3];o=C,w&&n.emit(w),S&&(n.emit(S),e.viewLayout.onLinesInserted(S.fromLineNumber,S.toLineNumber)),L&&(n.emit(L),e.viewLayout.onLinesDeleted(L.fromLineNumber,L.toLineNumber))}}e.lines.acceptVersionId(s),e.viewLayout.onHeightMaybeChanged(),!i&&o&&(n.emit(new aa),n.emit(new ia),e.decorations.onLineMappingChanged())}finally{e._endEmit()}if(e.viewportStartLine=-1,e.configuration.setMaxLineNumber(e.model.getLineCount()),!e.hasFocus&&e.model.getAttachedEditorCount()>=2&&e.viewportStartLineTrackedRange){var N=e.model._getTrackedRange(e.viewportStartLineTrackedRange);if(N){var O=e.coordinatesConverter.convertModelPositionToViewPosition(N.getStartPosition()),D=e.viewLayout.getVerticalOffsetForLineNumber(O.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:D+e.viewportStartLineDelta})}}}))),this._register(this.model.onDidChangeTokens((function(t){for(var n=[],i=0,o=t.ranges.length;i<o;i++){var r=t.ranges[i],s=e.coordinatesConverter.convertModelPositionToViewPosition(new H.a(r.fromLineNumber,1)).lineNumber,a=e.coordinatesConverter.convertModelPositionToViewPosition(new H.a(r.toLineNumber,e.model.getLineMaxColumn(r.toLineNumber))).lineNumber;n[i]={fromLineNumber:s,toLineNumber:a}}try{e._beginEmit().emit(new pa(n))}finally{e._endEmit()}t.tokenizationSupportChanged&&e._tokenizeViewportSoon.schedule()}))),this._register(this.model.onDidChangeLanguageConfiguration((function(t){try{e._beginEmit().emit(new sa)}finally{e._endEmit()}}))),this._register(this.model.onDidChangeOptions((function(t){if(e.lines.setTabSize(e.model.getOptions().tabSize)){e.decorations.onLineMappingChanged(),e.viewLayout.onFlushed(e.getLineCount());try{var n=e._beginEmit();n.emit(new oa),n.emit(new aa),n.emit(new ia)}finally{e._endEmit()}}}))),this._register(this.model.onDidChangeDecorations((function(t){e.decorations.onModelDecorationsChanged();try{e._beginEmit().emit(new ia)}finally{e._endEmit()}})))},t.prototype.setHiddenAreas=function(e){try{var t=this._beginEmit();this.lines.setHiddenAreas(e)&&(t.emit(new oa),t.emit(new aa),t.emit(new ia),this.decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._endEmit()}},t.prototype.getVisibleRanges=function(){var e=this.getCompletelyVisibleViewRange(),t=this.coordinatesConverter.convertViewRangeToModelRange(e),n=this.lines.getHiddenAreas();if(0===n.length)return[t];for(var i=[],o=0,r=t.startLineNumber,s=t.startColumn,a=t.endLineNumber,u=t.endColumn,l=0,c=n.length;l<c;l++){var d=n[l].startLineNumber,h=n[l].endLineNumber;h<r||(d>a||(r<d&&(i[o++]=new z.a(r,s,d-1,this.model.getLineMaxColumn(d-1))),r=h+1,s=1))}return(r<a||r===a&&s<u)&&(i[o++]=new z.a(r,s,a,u)),i},t.prototype.getCompletelyVisibleViewRange=function(){var e=this.viewLayout.getLinesViewportData(),t=e.completelyVisibleStartLineNumber,n=e.completelyVisibleEndLineNumber;return new z.a(t,this.getLineMinColumn(t),n,this.getLineMaxColumn(n))},t.prototype.getCompletelyVisibleViewRangeAtScrollTop=function(e){var t=this.viewLayout.getLinesViewportDataAtScrollTop(e),n=t.completelyVisibleStartLineNumber,i=t.completelyVisibleEndLineNumber;return new z.a(n,this.getLineMinColumn(n),i,this.getLineMaxColumn(i))},t.prototype.saveState=function(){var e=this.viewLayout.saveState(),t=e.scrollTop,n=this.viewLayout.getLineNumberAtVerticalOffset(t),i=this.coordinatesConverter.convertViewPositionToModelPosition(new H.a(n,this.getLineMinColumn(n))),o=this.viewLayout.getVerticalOffsetForLineNumber(n)-t;return{scrollLeft:e.scrollLeft,firstPosition:i,firstPositionDeltaTop:o}},t.prototype.reduceRestoreState=function(e){if(void 0===e.firstPosition)return this._reduceRestoreStateCompatibility(e);var t=this.model.validatePosition(e.firstPosition),n=this.coordinatesConverter.convertModelPositionToViewPosition(t),i=this.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber)-e.firstPositionDeltaTop;return{scrollLeft:e.scrollLeft,scrollTop:i}},t.prototype._reduceRestoreStateCompatibility=function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTopWithoutViewZones}},t.prototype.getTabSize=function(){return this.model.getOptions().tabSize},t.prototype.getOptions=function(){return this.model.getOptions()},t.prototype.getLineCount=function(){return this.lines.getViewLineCount()},t.prototype.setViewport=function(e,t,n){this.viewportStartLine=e;var i=this.coordinatesConverter.convertViewPositionToModelPosition(new H.a(e,this.getLineMinColumn(e)));this.viewportStartLineTrackedRange=this.model._setTrackedRange(this.viewportStartLineTrackedRange,new z.a(i.lineNumber,i.column,i.lineNumber,i.column),1);var o=this.viewLayout.getVerticalOffsetForLineNumber(e),r=this.viewLayout.getCurrentScrollTop();this.viewportStartLineDelta=r-o},t.prototype.getActiveIndentGuide=function(e,t,n){return this.lines.getActiveIndentGuide(e,t,n)},t.prototype.getLinesIndentGuides=function(e,t){return this.lines.getViewLinesIndentGuides(e,t)},t.prototype.getLineContent=function(e){return this.lines.getViewLineContent(e)},t.prototype.getLineLength=function(e){return this.lines.getViewLineLength(e)},t.prototype.getLineMinColumn=function(e){return this.lines.getViewLineMinColumn(e)},t.prototype.getLineMaxColumn=function(e){return this.lines.getViewLineMaxColumn(e)},t.prototype.getLineFirstNonWhitespaceColumn=function(e){var t=ne.o(this.getLineContent(e));return-1===t?0:t+1},t.prototype.getLineLastNonWhitespaceColumn=function(e){var t=ne.B(this.getLineContent(e));return-1===t?0:t+2},t.prototype.getDecorationsInViewport=function(e){return this.decorations.getDecorationsViewportData(e).decorations},t.prototype.getViewLineRenderingData=function(e,t){var n=this.model.mightContainRTL(),i=this.model.mightContainNonBasicASCII(),o=this.getTabSize(),r=this.lines.getViewLineData(t),s=this.decorations.getDecorationsViewportData(e).inlineDecorations[t-e.startLineNumber];return new Sn(r.minColumn,r.maxColumn,r.content,r.continuesWithWrappedLine,n,i,r.tokens,s,o,r.startVisibleColumn)},t.prototype.getViewLineData=function(e){return this.lines.getViewLineData(e)},t.prototype.getMinimapLinesRenderingData=function(e,t,n){var i=this.lines.getViewLinesData(e,t,n);return new Cn(this.getTabSize(),i)},t.prototype.getAllOverviewRulerDecorations=function(e){return this.lines.getAllOverviewRulerDecorations(this.editorId,Object(F.j)(this.configuration.options),e)},t.prototype.invalidateOverviewRulerColorCache=function(){for(var e=0,t=this.model.getOverviewRulerDecorations();e<t.length;e++){var n=t[e].options.overviewRuler;n&&n.invalidateCachedColor()}},t.prototype.invalidateMinimapColorCache=function(){for(var e=0,t=this.model.getAllDecorations();e<t.length;e++){var n=t[e].options.minimap;n&&n.invalidateCachedColor()}},t.prototype.getValueInRange=function(e,t){var n=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(n,t)},t.prototype.getModelLineMaxColumn=function(e){return this.model.getLineMaxColumn(e)},t.prototype.validateModelPosition=function(e){return this.model.validatePosition(e)},t.prototype.validateModelRange=function(e){return this.model.validateRange(e)},t.prototype.deduceModelPositionRelativeToViewPosition=function(e,t,n){var i=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=n:t+=n);var o=this.model.getOffsetAt(i)+t;return this.model.getPositionAt(o)},t.prototype.getEOL=function(){return this.model.getEOL()},t.prototype.getPlainTextToCopy=function(e,t,n){var i=n?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(z.a.compareRangesUsingStarts);for(var o=!1,r=!1,s=0,a=e;s<a.length;s++){a[s].isEmpty()?o=!0:r=!0}if(!r){if(!t)return"";for(var u=e.map((function(e){return e.startLineNumber})),l="",c=0;c<u.length;c++)c>0&&u[c-1]===u[c]||(l+=this.model.getLineContent(u[c])+i);return l}if(o&&t){for(var d=[],h=0,f=0,p=e;f<p.length;f++){var g=(y=p[f]).startLineNumber;y.isEmpty()?g!==h&&d.push(this.model.getLineContent(g)):d.push(this.model.getValueInRange(y,n?2:0)),h=g}return 1===d.length?d[0]:d}for(var m=[],v=0,_=e;v<_.length;v++){var y;(y=_[v]).isEmpty()||m.push(this.model.getValueInRange(y,n?2:0))}return 1===m.length?m[0]:m},t.prototype.getRichTextToCopy=function(e,t){var n=this.model.getLanguageIdentifier();if(1===n.id)return null;if(1!==e.length)return null;var i=e[0];if(i.isEmpty()){if(!t)return null;var o=i.startLineNumber;i=new z.a(o,this.model.getLineMinColumn(o),o,this.model.getLineMaxColumn(o))}var r=this.configuration.options.get(34),s=this._getColorMap(),a=r.fontFamily===F.b.fontFamily?r.fontFamily:"'"+r.fontFamily+"', "+F.b.fontFamily;return{mode:n.language,html:'<div style="color: '+s[1]+";background-color: "+s[2]+";font-family: "+a+";font-weight: "+r.fontWeight+";font-size: "+r.fontSize+"px;line-height: "+r.lineHeight+'px;white-space: pre;">'+this._getHTMLToCopy(i,s)+"</div>"}},t.prototype._getHTMLToCopy=function(e,t){for(var n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn,s=this.getTabSize(),a="",u=n;u<=o;u++){var l=this.model.getLineTokens(u),c=l.getLineContent(),d=u===n?i-1:0,h=u===o?r-1:c.length;a+=""===c?"<br>":wl(c,l.inflate(),t,d,h,s,ie.h)}return a},t.prototype._getColorMap=function(){var e=Re.y.getColorMap(),t=["#000000"];if(e)for(var n=1,i=e.length;n<i;n++)t[n]=Ls.a.Format.CSS.formatHex(e[n]);return t},t}(va),Xl=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._entries=new Map;for(var n=0,i=e;n<i.length;n++){var o=i[n],r=o[0],s=o[1];this.set(r,s)}}return e.prototype.set=function(e,t){var n=this._entries.get(e);return this._entries.set(e,t),n},e.prototype.has=function(e){return this._entries.has(e)},e.prototype.get=function(e){return this._entries.get(e)},e}(),Jl=Object(ue.c)("accessibilityService"),Ql=new Zi.d("accessibilityModeEnabled",!1),$l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ec=function(e){function t(t,n){for(var i=e.call(this,0)||this,o=0;o<t.length;o++)i.set(t.charCodeAt(o),1);for(o=0;o<n.length;o++)i.set(n.charCodeAt(o),2);return i}return $l(t,e),t.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue},t}(Ct.a),tc=[],nc=[],ic=function(){function e(e,t){this.classifier=new ec(e,t)}return e.create=function(t){return new e(t.get(99),t.get(98))},e.prototype.createLineBreaksComputer=function(e,t,n,i){var o=this;t|=0,n=+n;var r=[],s=[];return{addRequest:function(e,t){r.push(e),s.push(t)},finalize:function(){for(var a=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,u=[],l=0,c=r.length;l<c;l++){var d=s[l];u[l]=d?oc(o.classifier,d,r[l],t,n,a,i):rc(o.classifier,r[l],t,n,a,i)}return tc.length=0,nc.length=0,u}}},e}();function oc(e,t,n,i,o,r,s){if(-1===o)return null;var a=n.length;if(a<=1)return null;var u=t.breakOffsets,l=t.breakOffsetsVisibleColumn,c=lc(n,i,o,r,s),d=o-c,h=tc,f=nc,p=0,g=o,m=u.length,v=0;if(v>=0)for(var _=Math.abs(l[v]-g);v+1<m;){if((V=Math.abs(l[v+1]-g))>=_)break;_=V,v++}for(;v<m;){var y=v<0?0:u[v],b=v<0?0:l[v],C=0,w=0,S=0,L=0;if(b<=g){for(var N=b,O=n.charCodeAt(y-1),D=e.get(O),x=!0,E=y;E<a;E++){var k=E,I=n.charCodeAt(E),M=void 0,T=void 0;if(ne.x(I)?(E++,M=0,T=2):(M=e.get(I),T=sc(I,N,i,r)),uc(O,D,I,M)&&(C=k,w=N),(N+=T)>g){S=k,L=N-T,N-w>d&&(C=0),x=!1;break}O=I,D=M}if(x){p>0&&(h[p]=u[u.length-1],f[p]=l[u.length-1],p++);break}}if(0===C){N=b,I=n.charCodeAt(y),M=e.get(I);var A=!1;for(E=y-1;E>=0;E--){k=E+1;if(9===(O=n.charCodeAt(E))){A=!0;break}D=void 0;var R=void 0;if(ne.y(O)?(E--,D=0,R=2):(D=e.get(O),R=ne.w(O)?r:1),N<=g){if(0===S&&(S=k,L=N),N<=g-d)break;if(uc(O,D,I,M)){C=k,w=N;break}}N-=R,I=O,M=D}if(0!==C){var P=d-(L-w);if(P<=i){var F=n.charCodeAt(S);T=void 0;P-(T=ne.x(F)?2:sc(F,L,i,r))<0&&(C=0)}}if(A){v--;continue}}for(0===C&&(C=S,w=L),h[p]=C,f[p]=w,p++,g=w+d;v<0||v<m&&l[v]<w;)v++;for(_=Math.abs(l[v]-g);v+1<m;){var V;if((V=Math.abs(l[v+1]-g))>=_)break;_=V,v++}}return 0===p?null:(h.length=p,f.length=p,tc=t.breakOffsets,nc=t.breakOffsetsVisibleColumn,t.breakOffsets=h,t.breakOffsetsVisibleColumn=f,t.wrappedTextIndentLength=c,t)}function rc(e,t,n,i,o,r){if(-1===i)return null;var s=t.length;if(s<=1)return null;var a=lc(t,n,i,o,r),u=i-a,l=[],c=[],d=0,h=0,f=0,p=i,g=t.charCodeAt(0),m=e.get(g),v=sc(g,0,n,o),_=1;ne.x(g)&&(v+=1,g=t.charCodeAt(1),m=e.get(g),_++);for(var y=_;y<s;y++){var b=y,C=t.charCodeAt(y),w=void 0,S=void 0;ne.x(C)?(y++,w=0,S=2):(w=e.get(C),S=sc(C,v,n,o)),uc(g,m,C,w)&&(h=b,f=v),(v+=S)>p&&((0===h||v-f>u)&&(h=b,f=v-S),l[d]=h,c[d]=f,d++,p=f+u,h=0),g=C,m=w}return 0===d?null:(l[d]=s,c[d]=v,new Tl(l,c,a))}function sc(e,t,n,i){return 9===e?n-t%n:ne.w(e)?i:1}function ac(e,t){return t-e%t}function uc(e,t,n,i){return 32!==n&&(2===t||3===t&&2!==i||1===i||3===i&&1!==t)}function lc(e,t,n,i,o){var r=0;if(0!==o){var s=ne.o(e);if(-1!==s){for(var a=0;a<s;a++){r+=9===e.charCodeAt(a)?ac(r,t):1}var u=3===o?2:2===o?1:0;for(a=0;a<u;a++){r+=ac(r,t)}r+i>n&&(r=0)}}return r}var cc=function(){function e(){}return e.create=function(){return new e},e.prototype.createLineBreaksComputer=function(e,t,n,i){t|=0,n=+n;var o=[];return{addRequest:function(e,t){o.push(e)},finalize:function(){return function(e,t,n,i,o){if(-1===i){for(var r=[],s=0,a=e.length;s<a;s++)r[s]=null;return r}var u=Math.round(i*t.typicalHalfwidthCharacterWidth);2!==o&&3!==o||(o=1);var l=document.createElement("div");ir.applyFontInfoSlow(l,t);var c=tn(1e4),d=[],h=[],f=[],p=[],g=[];for(s=0;s<e.length;s++){var m=e[s],v=0,_=0,y=u;if(0!==o)if(-1===(v=ne.o(m)))v=0;else{for(var b=0;b<v;b++){var C=9===m.charCodeAt(b)?n-_%n:1;_+=C}var w=Math.ceil(t.spaceWidth*_);w+t.typicalFullwidthCharacterWidth>u?(v=0,_=0):y=u-w}var S=m.substr(v),L=dc(S,_,n,y,c);d[s]=v,h[s]=_,f[s]=S,p[s]=L[0],g[s]=L[1]}l.innerHTML=c.build(),l.style.position="absolute",l.style.top="10000",l.style.wordWrap="break-word",document.body.appendChild(l);var N=document.createRange(),O=Array.prototype.slice.call(l.children,0),D=[];for(s=0;s<e.length;s++){var x=O[s],E=hc(N,x,f[s],p[s]);if(null!==E){v=d[s],_=h[s];var k=g[s],I=[],M=0;for(a=E.length;M<a;M++)I[M]=k[E[M]];if(0!==v)for(M=0,a=E.length;M<a;M++)E[M]+=v;D[s]=new Tl(E,I,_)}else D[s]=null}return document.body.removeChild(l),D}(o,e,t,n,i)}}},e}();function dc(e,t,n,i,o){o.appendASCIIString('<div style="width:'),o.appendASCIIString(String(i)),o.appendASCIIString('px;">');for(var r=e.length,s=t,a=0,u=[],l=[],c=0<r?e.charCodeAt(0):0,d=0;d<r;d++){u[d]=a,l[d]=s;var h=c;c=d+1<r?e.charCodeAt(d+1):0;var f=1,p=1;switch(h){case 9:p=f=n-s%n;for(var g=1;g<=f;g++)g<f?o.write1(160):o.appendASCII(32);break;case 32:32===c?o.write1(160):o.appendASCII(32);break;case 60:o.appendASCIIString("<");break;case 62:o.appendASCIIString(">");break;case 38:o.appendASCIIString("&");break;case 0:o.appendASCIIString("�");break;case 65279:case 8232:o.write1(65533);break;default:ne.w(h)&&p++,o.write1(h)}a+=f,s+=p}return u[e.length]=a,l[e.length]=s,o.appendASCIIString("</div>"),[u,l]}function hc(e,t,n,i){if(n.length<=1)return null;var o=[];return function e(t,n,i,o,r,s,a,u){if(o===s)return;if(r=r||fc(t,n,i[o],i[o+1]),a=a||fc(t,n,i[s],i[s+1]),Math.abs(r[0].top-a[0].top)<=.1)return;if(o+1===s)return void u.push(s);var l=o+(s-o)/2|0,c=fc(t,n,i[l],i[l+1]);e(t,n,i,o,r,l,c,u),e(t,n,i,l,c,s,a,u)}(e,t.firstChild,i,0,null,n.length-1,null,o),0===o.length?null:(o.push(n.length),o)}function fc(e,t,n,i){return e.setStart(t,n),e.setEnd(t,i),e.getClientRects()}var pc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),gc=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},mc=function(e,t){return function(n,i){t(n,i,e)}},vc=0,_c=function(){function e(e,t,n,i,o,r){this.model=e,this.viewModel=t,this.cursor=n,this.view=i,this.hasRealView=o,this.listenersToRemove=r}return e.prototype.dispose=function(){Object(le.e)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.cursor.dispose(),this.viewModel.dispose()},e}(),yc=function(e){function t(t,n,i,o,r,s,a,u,l,c){var d=e.call(this)||this;d._onDidDispose=d._register(new W.a),d.onDidDispose=d._onDidDispose.event,d._onDidChangeModelContent=d._register(new W.a),d.onDidChangeModelContent=d._onDidChangeModelContent.event,d._onDidChangeModelLanguage=d._register(new W.a),d.onDidChangeModelLanguage=d._onDidChangeModelLanguage.event,d._onDidChangeModelLanguageConfiguration=d._register(new W.a),d.onDidChangeModelLanguageConfiguration=d._onDidChangeModelLanguageConfiguration.event,d._onDidChangeModelOptions=d._register(new W.a),d.onDidChangeModelOptions=d._onDidChangeModelOptions.event,d._onDidChangeModelDecorations=d._register(new W.a),d.onDidChangeModelDecorations=d._onDidChangeModelDecorations.event,d._onDidChangeConfiguration=d._register(new W.a),d.onDidChangeConfiguration=d._onDidChangeConfiguration.event,d._onDidChangeModel=d._register(new W.a),d.onDidChangeModel=d._onDidChangeModel.event,d._onDidChangeCursorPosition=d._register(new W.a),d.onDidChangeCursorPosition=d._onDidChangeCursorPosition.event,d._onDidChangeCursorSelection=d._register(new W.a),d.onDidChangeCursorSelection=d._onDidChangeCursorSelection.event,d._onDidAttemptReadOnlyEdit=d._register(new W.a),d.onDidAttemptReadOnlyEdit=d._onDidAttemptReadOnlyEdit.event,d._onDidLayoutChange=d._register(new W.a),d.onDidLayoutChange=d._onDidLayoutChange.event,d._editorTextFocus=d._register(new bc),d.onDidFocusEditorText=d._editorTextFocus.onDidChangeToTrue,d.onDidBlurEditorText=d._editorTextFocus.onDidChangeToFalse,d._editorWidgetFocus=d._register(new bc),d.onDidFocusEditorWidget=d._editorWidgetFocus.onDidChangeToTrue,d.onDidBlurEditorWidget=d._editorWidgetFocus.onDidChangeToFalse,d._onWillType=d._register(new W.a),d.onWillType=d._onWillType.event,d._onDidType=d._register(new W.a),d.onDidType=d._onDidType.event,d._onDidCompositionStart=d._register(new W.a),d.onDidCompositionStart=d._onDidCompositionStart.event,d._onDidCompositionEnd=d._register(new W.a),d.onDidCompositionEnd=d._onDidCompositionEnd.event,d._onDidPaste=d._register(new W.a),d.onDidPaste=d._onDidPaste.event,d._onMouseUp=d._register(new W.a),d.onMouseUp=d._onMouseUp.event,d._onMouseDown=d._register(new W.a),d.onMouseDown=d._onMouseDown.event,d._onMouseDrag=d._register(new W.a),d.onMouseDrag=d._onMouseDrag.event,d._onMouseDrop=d._register(new W.a),d.onMouseDrop=d._onMouseDrop.event,d._onContextMenu=d._register(new W.a),d.onContextMenu=d._onContextMenu.event,d._onMouseMove=d._register(new W.a),d.onMouseMove=d._onMouseMove.event,d._onMouseLeave=d._register(new W.a),d.onMouseLeave=d._onMouseLeave.event,d._onMouseWheel=d._register(new W.a),d.onMouseWheel=d._onMouseWheel.event,d._onKeyUp=d._register(new W.a),d.onKeyUp=d._onKeyUp.event,d._onKeyDown=d._register(new W.a),d.onKeyDown=d._onKeyDown.event,d._onDidContentSizeChange=d._register(new W.a),d.onDidContentSizeChange=d._onDidContentSizeChange.event,d._onDidScrollChange=d._register(new W.a),d.onDidScrollChange=d._onDidScrollChange.event,d._onDidChangeViewZones=d._register(new W.a),d.onDidChangeViewZones=d._onDidChangeViewZones.event,d._domElement=t,d._id=++vc,d._decorationTypeKeysToIds={},d._decorationTypeSubtypes={},d.isSimpleWidget=i.isSimpleWidget||!1,d._telemetryData=i.telemetryData,n=n||{},d._configuration=d._register(d._createConfiguration(n,c)),d._register(d._configuration.onDidChange((function(e){d._onDidChangeConfiguration.fire(e);var t=d._configuration.options;if(e.hasChanged(107)){var n=t.get(107);d._onDidLayoutChange.fire(n)}}))),d._contextKeyService=d._register(a.createScoped(d._domElement)),d._notificationService=l,d._codeEditorService=r,d._commandService=s,d._themeService=u,d._register(new Cc(d,d._contextKeyService)),d._register(new wc(d,d._contextKeyService)),d._instantiationService=o.createChild(new Xl([Zi.c,d._contextKeyService])),d._modelData=null,d._contributions={},d._actions={},d._focusTracker=new Sc(t),d._focusTracker.onChange((function(){d._editorWidgetFocus.setValue(d._focusTracker.hasFocus())})),d._contentWidgets={},d._overlayWidgets={};for(var h=0,f=Array.isArray(i.contributions)?i.contributions:or.d.getEditorContributions();h<f.length;h++){var p=f[h];try{var g=d._instantiationService.createInstance(p.ctor,d);d._contributions[p.id]=g}catch(e){Object(Be.e)(e)}}return or.d.getEditorActions().forEach((function(e){var t=new bl(e.id,e.label,e.alias,Object(je.n)(e.precondition),(function(){return d._instantiationService.invokeFunction((function(t){return Promise.resolve(e.runEditorCommand(t,d,null))}))}),d._contextKeyService);d._actions[t.id]=t})),d._codeEditorService.addCodeEditor(d),d}return pc(t,e),t.prototype._createConfiguration=function(e,t){return new ir(this.isSimpleWidget,e,this._domElement,t)},t.prototype.getId=function(){return this.getEditorType()+":"+this._id},t.prototype.getEditorType=function(){return Te.a.ICodeEditor},t.prototype.dispose=function(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();for(var t=Object.keys(this._contributions),n=0,i=t.length;n<i;n++){var o=t[n];this._contributions[o].dispose()}this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),e.prototype.dispose.call(this)},t.prototype.invokeWithinContext=function(e){return this._instantiationService.invokeFunction(e)},t.prototype.updateOptions=function(e){this._configuration.updateOptions(e)},t.prototype.getOptions=function(){return this._configuration.options},t.prototype.getOption=function(e){return this._configuration.options.get(e)},t.prototype.getRawOptions=function(){return this._configuration.getRawOptions()},t.prototype.getValue=function(e){if(void 0===e&&(e=null),!this._modelData)return"";var t=!(!e||!e.preserveBOM),n=0;return e&&e.lineEnding&&"\n"===e.lineEnding?n=1:e&&e.lineEnding&&"\r\n"===e.lineEnding&&(n=2),this._modelData.model.getValue(n,t)},t.prototype.setValue=function(e){this._modelData&&this._modelData.model.setValue(e)},t.prototype.getModel=function(){return this._modelData?this._modelData.model:null},t.prototype.setModel=function(e){void 0===e&&(e=null);var t=e;if(!(null===this._modelData&&null===t||this._modelData&&this._modelData.model===t)){var n=this.hasTextFocus(),i=this._detachModel();this._attachModel(t),n&&this.hasModel()&&this.focus();var o={oldModelUrl:i?i.uri:null,newModelUrl:t?t.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(o),this._postDetachModelCleanup(i)}},t.prototype._removeDecorationTypes=function(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(var e in this._decorationTypeSubtypes){var t=this._decorationTypeSubtypes[e];for(var n in t)this._removeDecorationType(e+"-"+n)}this._decorationTypeSubtypes={}}},t.prototype.getVisibleRanges=function(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]},t.prototype.getWhitespaces=function(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]},t._getVerticalOffsetForPosition=function(e,t,n){var i=e.model.validatePosition({lineNumber:t,column:n}),o=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(o.lineNumber)},t.prototype.getTopForLineNumber=function(e){return this._modelData?t._getVerticalOffsetForPosition(this._modelData,e,1):-1},t.prototype.getTopForPosition=function(e,n){return this._modelData?t._getVerticalOffsetForPosition(this._modelData,e,n):-1},t.prototype.setHiddenAreas=function(e){this._modelData&&this._modelData.viewModel.setHiddenAreas(e.map((function(e){return z.a.lift(e)})))},t.prototype.getVisibleColumnFromPosition=function(e){if(!this._modelData)return e.column;var t=this._modelData.model.validatePosition(e),n=this._modelData.model.getOptions().tabSize;return Ur.a.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,n)+1},t.prototype.getPosition=function(){return this._modelData?this._modelData.cursor.getPosition():null},t.prototype.setPosition=function(e){if(this._modelData){if(!H.a.isIPosition(e))throw new Error("Invalid arguments");this._modelData.cursor.setSelections("api",[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}},t.prototype._sendRevealRange=function(e,t,n,i){if(this._modelData){if(!z.a.isIRange(e))throw new Error("Invalid arguments");var o=this._modelData.model.validateRange(e),r=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(o);this._modelData.cursor.emitCursorRevealRange("api",r,t,n,i)}},t.prototype.revealLine=function(e,t){void 0===t&&(t=0),this._revealLine(e,0,t)},t.prototype.revealLineInCenter=function(e,t){void 0===t&&(t=0),this._revealLine(e,1,t)},t.prototype.revealLineInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealLine(e,2,t)},t.prototype._revealLine=function(e,t,n){if("number"!=typeof e)throw new Error("Invalid arguments");this._sendRevealRange(new z.a(e,1,e,1),t,!1,n)},t.prototype.revealPosition=function(e,t){void 0===t&&(t=0),this._revealPosition(e,0,!0,t)},t.prototype.revealPositionInCenter=function(e,t){void 0===t&&(t=0),this._revealPosition(e,1,!0,t)},t.prototype.revealPositionInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealPosition(e,2,!0,t)},t.prototype._revealPosition=function(e,t,n,i){if(!H.a.isIPosition(e))throw new Error("Invalid arguments");this._sendRevealRange(new z.a(e.lineNumber,e.column,e.lineNumber,e.column),t,n,i)},t.prototype.getSelection=function(){return this._modelData?this._modelData.cursor.getSelection():null},t.prototype.getSelections=function(){return this._modelData?this._modelData.cursor.getSelections():null},t.prototype.setSelection=function(e){var t=U.a.isISelection(e),n=z.a.isIRange(e);if(!t&&!n)throw new Error("Invalid arguments");if(t)this._setSelectionImpl(e);else if(n){var i={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(i)}},t.prototype._setSelectionImpl=function(e){if(this._modelData){var t=new U.a(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.cursor.setSelections("api",[t])}},t.prototype.revealLines=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,0,n)},t.prototype.revealLinesInCenter=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,1,n)},t.prototype.revealLinesInCenterIfOutsideViewport=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,2,n)},t.prototype._revealLines=function(e,t,n,i){if("number"!=typeof e||"number"!=typeof t)throw new Error("Invalid arguments");this._sendRevealRange(new z.a(e,1,t,1),n,!1,i)},t.prototype.revealRange=function(e,t,n,i){void 0===t&&(t=0),void 0===n&&(n=!1),void 0===i&&(i=!0),this._revealRange(e,n?1:0,i,t)},t.prototype.revealRangeInCenter=function(e,t){void 0===t&&(t=0),this._revealRange(e,1,!0,t)},t.prototype.revealRangeInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealRange(e,2,!0,t)},t.prototype.revealRangeAtTop=function(e,t){void 0===t&&(t=0),this._revealRange(e,3,!0,t)},t.prototype._revealRange=function(e,t,n,i){if(!z.a.isIRange(e))throw new Error("Invalid arguments");this._sendRevealRange(z.a.lift(e),t,n,i)},t.prototype.setSelections=function(e,t){if(void 0===t&&(t="api"),this._modelData){if(!e||0===e.length)throw new Error("Invalid arguments");for(var n=0,i=e.length;n<i;n++)if(!U.a.isISelection(e[n]))throw new Error("Invalid arguments");this._modelData.cursor.setSelections(t,e)}},t.prototype.getContentWidth=function(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1},t.prototype.getScrollWidth=function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1},t.prototype.getScrollLeft=function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1},t.prototype.getContentHeight=function(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1},t.prototype.getScrollHeight=function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1},t.prototype.getScrollTop=function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1},t.prototype.setScrollLeft=function(e){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPositionNow({scrollLeft:e})}},t.prototype.setScrollTop=function(e){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPositionNow({scrollTop:e})}},t.prototype.setScrollPosition=function(e){this._modelData&&this._modelData.viewModel.viewLayout.setScrollPositionNow(e)},t.prototype.saveViewState=function(){if(!this._modelData)return null;for(var e={},t=0,n=Object.keys(this._contributions);t<n.length;t++){var i=n[t],o=this._contributions[i];"function"==typeof o.saveViewState&&(e[i]=o.saveViewState())}return{cursorState:this._modelData.cursor.saveState(),viewState:this._modelData.viewModel.saveState(),contributionsState:e}},t.prototype.restoreViewState=function(e){if(this._modelData&&this._modelData.hasRealView){var t=e;if(t&&t.cursorState&&t.viewState){var n=t.cursorState;Array.isArray(n)?this._modelData.cursor.restoreState(n):this._modelData.cursor.restoreState([n]);for(var i=t.contributionsState||{},o=Object.keys(this._contributions),r=0,s=o.length;r<s;r++){var a=o[r],u=this._contributions[a];"function"==typeof u.restoreViewState&&u.restoreViewState(i[a])}var l=this._modelData.viewModel.reduceRestoreState(t.viewState);this._modelData.view.restoreState(l)}}},t.prototype.getContribution=function(e){return this._contributions[e]||null},t.prototype.getActions=function(){for(var e=[],t=Object.keys(this._actions),n=0,i=t.length;n<i;n++){var o=t[n];e.push(this._actions[o])}return e},t.prototype.getSupportedActions=function(){var e=this.getActions();return e=e.filter((function(e){return e.isSupported()}))},t.prototype.getAction=function(e){return this._actions[e]||null},t.prototype.trigger=function(e,t,n){if(n=n||{},t===Te.b.Type){if(!this._modelData||"string"!=typeof n.text||0===n.text.length)return;return"keyboard"===e&&this._onWillType.fire(n.text),this._modelData.cursor.trigger(e,t,n),void("keyboard"===e&&this._onDidType.fire(n.text))}if(t!==Te.b.Paste){var i=this.getAction(t);i?Promise.resolve(i.run()).then(void 0,Be.e):this._modelData&&(this._triggerEditorCommand(e,t,n)||(this._modelData.cursor.trigger(e,t,n),t===Te.b.CompositionStart&&this._onDidCompositionStart.fire(),t===Te.b.CompositionEnd&&this._onDidCompositionEnd.fire()))}else{if(!this._modelData||"string"!=typeof n.text||0===n.text.length)return;var o=this._modelData.cursor.getSelection().getStartPosition();this._modelData.cursor.trigger(e,t,n);var r=this._modelData.cursor.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire({range:new z.a(o.lineNumber,o.column,r.lineNumber,r.column),mode:n.mode})}},t.prototype._triggerEditorCommand=function(e,t,n){var i=this,o=or.d.getEditorCommand(t);return!!o&&((n=n||{}).source=e,this._instantiationService.invokeFunction((function(e){Promise.resolve(o.runEditorCommand(e,i,n)).then(void 0,Be.e)})),!0)},t.prototype._getCursors=function(){return this._modelData?this._modelData.cursor:null},t.prototype.pushUndoStop=function(){return!!this._modelData&&(!this._configuration.options.get(68)&&(this._modelData.model.pushStackElement(),!0))},t.prototype.executeEdits=function(e,t,n){return!!this._modelData&&(!this._configuration.options.get(68)&&(i=n?Array.isArray(n)?function(){return n}:n:function(){return null},this._modelData.cursor.executeEdits(e,t,i),!0));var i},t.prototype.executeCommand=function(e,t){this._modelData&&this._modelData.cursor.trigger(e,Te.b.ExecuteCommand,t)},t.prototype.executeCommands=function(e,t){this._modelData&&this._modelData.cursor.trigger(e,Te.b.ExecuteCommands,t)},t.prototype.changeDecorations=function(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null},t.prototype.getLineDecorations=function(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,Object(F.j)(this._configuration.options)):null},t.prototype.deltaDecorations=function(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]},t.prototype.removeDecorations=function(e){var t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]},t.prototype.getLayoutInfo=function(){return this._configuration.options.get(107)},t.prototype.createOverviewRuler=function(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null},t.prototype.getContainerDomNode=function(){return this._domElement},t.prototype.getDomNode=function(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(e)},t.prototype.layout=function(e){this._configuration.observeReferenceElement(e),this.render()},t.prototype.focus=function(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()},t.prototype.hasTextFocus=function(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()},t.prototype.hasWidgetFocus=function(){return this._focusTracker&&this._focusTracker.hasFocus()},t.prototype.addContentWidget=function(e){var t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)},t.prototype.layoutContentWidget=function(e){var t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){var n=this._contentWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(n)}},t.prototype.removeContentWidget=function(e){var t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){var n=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(n)}},t.prototype.addOverlayWidget=function(e){var t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)},t.prototype.layoutOverlayWidget=function(e){var t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){var n=this._overlayWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(n)}},t.prototype.removeOverlayWidget=function(e){var t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){var n=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(n)}},t.prototype.changeViewZones=function(e){this._modelData&&this._modelData.hasRealView&&(this._modelData.view.change(e)&&this._onDidChangeViewZones.fire())},t.prototype.getTargetAtClientPoint=function(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null},t.prototype.getScrolledVisiblePosition=function(e){if(!this._modelData||!this._modelData.hasRealView)return null;var n=this._modelData.model.validatePosition(e),i=this._configuration.options,o=i.get(107);return{top:t._getVerticalOffsetForPosition(this._modelData,n.lineNumber,n.column)-this.getScrollTop(),left:this._modelData.view.getOffsetForColumn(n.lineNumber,n.column)+o.glyphMarginWidth+o.lineNumbersWidth+o.decorationsWidth-this.getScrollLeft(),height:i.get(49)}},t.prototype.getOffsetForColumn=function(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1},t.prototype.render=function(e){void 0===e&&(e=!1),this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)},t.prototype.setAriaOptions=function(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)},t.prototype.applyFontInfo=function(e){ir.applyFontInfoSlow(e,this._configuration.options.get(34))},t.prototype._attachModel=function(e){var t=this;if(e){var n=[];this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setMaxLineNumber(e.getLineCount()),e.onBeforeAttached();var i=new Zl(this._id,this._configuration,e,cc.create(),ic.create(this._configuration.options),(function(e){return Z.Q(e)}));n.push(e.onDidChangeDecorations((function(e){return t._onDidChangeModelDecorations.fire(e)}))),n.push(e.onDidChangeLanguage((function(n){t._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),t._onDidChangeModelLanguage.fire(n)}))),n.push(e.onDidChangeLanguageConfiguration((function(e){return t._onDidChangeModelLanguageConfiguration.fire(e)}))),n.push(e.onDidChangeContent((function(e){return t._onDidChangeModelContent.fire(e)}))),n.push(e.onDidChangeOptions((function(e){return t._onDidChangeModelOptions.fire(e)}))),n.push(e.onWillDispose((function(){return t.setModel(null)})));var o=new _l(this._configuration,e,i);n.push(o.onDidReachMaxCursorCount((function(){t._notificationService.warn(Zn.a("cursors.maximum","The number of cursors has been limited to {0}.",_l.MAX_CURSOR_COUNT))}))),n.push(o.onDidAttemptReadOnlyEdit((function(){t._onDidAttemptReadOnlyEdit.fire(void 0)}))),n.push(o.onDidChange((function(e){for(var n=[],i=0,o=e.selections.length;i<o;i++)n[i]=e.selections[i].getPosition();var r={position:n[0],secondaryPositions:n.slice(1),reason:e.reason,source:e.source};t._onDidChangeCursorPosition.fire(r);var s={selection:e.selections[0],secondarySelections:e.selections.slice(1),modelVersionId:e.modelVersionId,oldSelections:e.oldSelections,oldModelVersionId:e.oldModelVersionId,source:e.source,reason:e.reason};t._onDidChangeCursorSelection.fire(s)})));var r=this._createView(i,o),s=r[0],a=r[1];if(a){this._domElement.appendChild(s.domNode.domNode);for(var u=Object.keys(this._contentWidgets),l=0,c=u.length;l<c;l++){var d=u[l];s.addContentWidget(this._contentWidgets[d])}for(l=0,c=(u=Object.keys(this._overlayWidgets)).length;l<c;l++){d=u[l];s.addOverlayWidget(this._overlayWidgets[d])}s.render(!1,!0),s.domNode.domNode.setAttribute("data-uri",e.uri.toString())}this._modelData=new _c(e,i,o,s,a,n)}else this._modelData=null},t.prototype._createView=function(e,t){var n,i=this;n=this.isSimpleWidget?{executeEditorCommand:function(e,n){e.runCoreEditorCommand(t,n)},paste:function(e,t,n,o,r){i.trigger(e,Te.b.Paste,{text:t,pasteOnNewLine:n,multicursorText:o,mode:r})},type:function(e,t){i.trigger(e,Te.b.Type,{text:t})},replacePreviousChar:function(e,t,n){i.trigger(e,Te.b.ReplacePreviousChar,{text:t,replaceCharCnt:n})},compositionStart:function(e){i.trigger(e,Te.b.CompositionStart,void 0)},compositionEnd:function(e){i.trigger(e,Te.b.CompositionEnd,void 0)},cut:function(e){i.trigger(e,Te.b.Cut,void 0)}}:{executeEditorCommand:function(e,n){e.runCoreEditorCommand(t,n)},paste:function(e,t,n,o,r){i._commandService.executeCommand(Te.b.Paste,{text:t,pasteOnNewLine:n,multicursorText:o,mode:r})},type:function(e,t){i._commandService.executeCommand(Te.b.Type,{text:t})},replacePreviousChar:function(e,t,n){i._commandService.executeCommand(Te.b.ReplacePreviousChar,{text:t,replaceCharCnt:n})},compositionStart:function(e){i._commandService.executeCommand(Te.b.CompositionStart,{})},compositionEnd:function(e){i._commandService.executeCommand(Te.b.CompositionEnd,{})},cut:function(e){i._commandService.executeCommand(Te.b.Cut,{})}};var o=new Da(e);return o.onDidContentSizeChange=function(e){return i._onDidContentSizeChange.fire(e)},o.onDidScroll=function(e){return i._onDidScrollChange.fire(e)},o.onDidGainFocus=function(){return i._editorTextFocus.setValue(!0)},o.onDidLoseFocus=function(){return i._editorTextFocus.setValue(!1)},o.onContextMenu=function(e){return i._onContextMenu.fire(e)},o.onMouseDown=function(e){return i._onMouseDown.fire(e)},o.onMouseUp=function(e){return i._onMouseUp.fire(e)},o.onMouseDrag=function(e){return i._onMouseDrag.fire(e)},o.onMouseDrop=function(e){return i._onMouseDrop.fire(e)},o.onKeyUp=function(e){return i._onKeyUp.fire(e)},o.onMouseMove=function(e){return i._onMouseMove.fire(e)},o.onMouseLeave=function(e){return i._onMouseLeave.fire(e)},o.onMouseWheel=function(e){return i._onMouseWheel.fire(e)},o.onKeyDown=function(e){return i._onKeyDown.fire(e)},[new ul(n,this._configuration,this._themeService,e,t,o),!0]},t.prototype._postDetachModelCleanup=function(e){e&&e.removeAllDecorationsWithOwnerId(this._id)},t.prototype._detachModel=function(){if(!this._modelData)return null;var e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),t&&this._domElement.removeChild(t),e},t.prototype._removeDecorationType=function(e){this._codeEditorService.removeDecorationType(e)},t.prototype.hasModel=function(){return null!==this._modelData},t=gc([mc(3,ue.a),mc(4,Y.a),mc(5,ae.b),mc(6,Zi.c),mc(7,Ir.c),mc(8,lo.a),mc(9,Jl)],t)}(le.a),bc=function(e){function t(){var t=e.call(this)||this;return t._onDidChangeToTrue=t._register(new W.a),t.onDidChangeToTrue=t._onDidChangeToTrue.event,t._onDidChangeToFalse=t._register(new W.a),t.onDidChangeToFalse=t._onDidChangeToFalse.event,t._value=0,t}return pc(t,e),t.prototype.setValue=function(e){var t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())},t}(le.a),Cc=function(e){function t(t,n){var i=e.call(this)||this;return i._editor=t,n.createKey("editorId",t.getId()),i._editorSimpleInput=Cl.a.editorSimpleInput.bindTo(n),i._editorFocus=Cl.a.focus.bindTo(n),i._textInputFocus=Cl.a.textInputFocus.bindTo(n),i._editorTextFocus=Cl.a.editorTextFocus.bindTo(n),i._editorTabMovesFocus=Cl.a.tabMovesFocus.bindTo(n),i._editorReadonly=Cl.a.readOnly.bindTo(n),i._hasMultipleSelections=Cl.a.hasMultipleSelections.bindTo(n),i._hasNonEmptySelection=Cl.a.hasNonEmptySelection.bindTo(n),i._canUndo=Cl.a.canUndo.bindTo(n),i._canRedo=Cl.a.canRedo.bindTo(n),i._register(i._editor.onDidChangeConfiguration((function(){return i._updateFromConfig()}))),i._register(i._editor.onDidChangeCursorSelection((function(){return i._updateFromSelection()}))),i._register(i._editor.onDidFocusEditorWidget((function(){return i._updateFromFocus()}))),i._register(i._editor.onDidBlurEditorWidget((function(){return i._updateFromFocus()}))),i._register(i._editor.onDidFocusEditorText((function(){return i._updateFromFocus()}))),i._register(i._editor.onDidBlurEditorText((function(){return i._updateFromFocus()}))),i._register(i._editor.onDidChangeModel((function(){return i._updateFromModel()}))),i._register(i._editor.onDidChangeConfiguration((function(){return i._updateFromModel()}))),i._updateFromConfig(),i._updateFromSelection(),i._updateFromFocus(),i._updateFromModel(),i._editorSimpleInput.set(i._editor.isSimpleWidget),i}return pc(t,e),t.prototype._updateFromConfig=function(){var e=this._editor.getOptions();this._editorTabMovesFocus.set(e.get(106)),this._editorReadonly.set(e.get(68))},t.prototype._updateFromSelection=function(){var e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some((function(e){return!e.isEmpty()})))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())},t.prototype._updateFromFocus=function(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())},t.prototype._updateFromModel=function(){var e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))},t}(le.a),wc=function(e){function t(t,n){var i=e.call(this)||this;i._editor=t,i._contextKeyService=n,i._langId=Cl.a.languageId.bindTo(n),i._hasCompletionItemProvider=Cl.a.hasCompletionItemProvider.bindTo(n),i._hasCodeActionsProvider=Cl.a.hasCodeActionsProvider.bindTo(n),i._hasCodeLensProvider=Cl.a.hasCodeLensProvider.bindTo(n),i._hasDefinitionProvider=Cl.a.hasDefinitionProvider.bindTo(n),i._hasDeclarationProvider=Cl.a.hasDeclarationProvider.bindTo(n),i._hasImplementationProvider=Cl.a.hasImplementationProvider.bindTo(n),i._hasTypeDefinitionProvider=Cl.a.hasTypeDefinitionProvider.bindTo(n),i._hasHoverProvider=Cl.a.hasHoverProvider.bindTo(n),i._hasDocumentHighlightProvider=Cl.a.hasDocumentHighlightProvider.bindTo(n),i._hasDocumentSymbolProvider=Cl.a.hasDocumentSymbolProvider.bindTo(n),i._hasReferenceProvider=Cl.a.hasReferenceProvider.bindTo(n),i._hasRenameProvider=Cl.a.hasRenameProvider.bindTo(n),i._hasSignatureHelpProvider=Cl.a.hasSignatureHelpProvider.bindTo(n),i._hasDocumentFormattingProvider=Cl.a.hasDocumentFormattingProvider.bindTo(n),i._hasDocumentSelectionFormattingProvider=Cl.a.hasDocumentSelectionFormattingProvider.bindTo(n),i._hasMultipleDocumentFormattingProvider=Cl.a.hasMultipleDocumentFormattingProvider.bindTo(n),i._hasMultipleDocumentSelectionFormattingProvider=Cl.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(n),i._isInWalkThrough=Cl.a.isInEmbeddedEditor.bindTo(n);var o=function(){return i._update()};return i._register(t.onDidChangeModel(o)),i._register(t.onDidChangeModelLanguage(o)),i._register(Re.d.onDidChange(o)),i._register(Re.a.onDidChange(o)),i._register(Re.b.onDidChange(o)),i._register(Re.f.onDidChange(o)),i._register(Re.e.onDidChange(o)),i._register(Re.p.onDidChange(o)),i._register(Re.z.onDidChange(o)),i._register(Re.o.onDidChange(o)),i._register(Re.h.onDidChange(o)),i._register(Re.l.onDidChange(o)),i._register(Re.t.onDidChange(o)),i._register(Re.u.onDidChange(o)),i._register(Re.g.onDidChange(o)),i._register(Re.i.onDidChange(o)),i._register(Re.w.onDidChange(o)),o(),i}return pc(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.reset=function(){var e=this;this._contextKeyService.bufferChangeEvents((function(){e._langId.reset(),e._hasCompletionItemProvider.reset(),e._hasCodeActionsProvider.reset(),e._hasCodeLensProvider.reset(),e._hasDefinitionProvider.reset(),e._hasDeclarationProvider.reset(),e._hasImplementationProvider.reset(),e._hasTypeDefinitionProvider.reset(),e._hasHoverProvider.reset(),e._hasDocumentHighlightProvider.reset(),e._hasDocumentSymbolProvider.reset(),e._hasReferenceProvider.reset(),e._hasRenameProvider.reset(),e._hasDocumentFormattingProvider.reset(),e._hasDocumentSelectionFormattingProvider.reset(),e._hasSignatureHelpProvider.reset(),e._isInWalkThrough.reset()}))},t.prototype._update=function(){var e=this,t=this._editor.getModel();t?this._contextKeyService.bufferChangeEvents((function(){e._langId.set(t.getLanguageIdentifier().language),e._hasCompletionItemProvider.set(Re.d.has(t)),e._hasCodeActionsProvider.set(Re.a.has(t)),e._hasCodeLensProvider.set(Re.b.has(t)),e._hasDefinitionProvider.set(Re.f.has(t)),e._hasDeclarationProvider.set(Re.e.has(t)),e._hasImplementationProvider.set(Re.p.has(t)),e._hasTypeDefinitionProvider.set(Re.z.has(t)),e._hasHoverProvider.set(Re.o.has(t)),e._hasDocumentHighlightProvider.set(Re.h.has(t)),e._hasDocumentSymbolProvider.set(Re.l.has(t)),e._hasReferenceProvider.set(Re.t.has(t)),e._hasRenameProvider.set(Re.u.has(t)),e._hasSignatureHelpProvider.set(Re.w.has(t)),e._hasDocumentFormattingProvider.set(Re.g.has(t)||Re.i.has(t)),e._hasDocumentSelectionFormattingProvider.set(Re.i.has(t)),e._hasMultipleDocumentFormattingProvider.set(Re.g.all(t).length+Re.i.all(t).length>1),e._hasMultipleDocumentSelectionFormattingProvider.set(Re.i.all(t).length>1),e._isInWalkThrough.set(t.uri.scheme===$.b.walkThroughSnippet)})):this.reset()},t}(le.a),Sc=function(e){function t(t){var n=e.call(this)||this;return n._onChange=n._register(new W.a),n.onChange=n._onChange.event,n._hasFocus=!1,n._domFocusTracker=n._register(Z.T(t)),n._register(n._domFocusTracker.onDidFocus((function(){n._hasFocus=!0,n._onChange.fire(void 0)}))),n._register(n._domFocusTracker.onDidBlur((function(){n._hasFocus=!1,n._onChange.fire(void 0)}))),n}return pc(t,e),t.prototype.hasFocus=function(){return this._hasFocus},t}(le.a),Lc=encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='"),Nc=encodeURIComponent("'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>");function Oc(e){return Lc+encodeURIComponent(e.toString())+Nc}var Dc=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),xc=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');Object(Ir.e)((function(e,t){var n=e.getColor(Ns.o);n&&t.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+n+"; }");var i=e.getColor(Ns.p);i&&t.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+Oc(i)+'") repeat-x bottom left; }');var o=e.getColor(Ns.F);o&&t.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+o+"; }");var r=e.getColor(Ns.G);r&&t.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+Oc(r)+'") repeat-x bottom left; }');var s=e.getColor(Ns.A);s&&t.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+s+"; }");var a=e.getColor(Ns.B);a&&t.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+Oc(a)+'") repeat-x bottom left; }');var u=e.getColor(Ns.x);u&&t.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+u+"; }");var l=e.getColor(Ns.y);l&&t.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+(Dc+encodeURIComponent(l.toString())+xc+'") no-repeat bottom left; }'));var c=e.getColor(Us);c&&t.addRule(".monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: "+c.rgba.a+"; }");var d=e.getColor(zs);d&&t.addRule(".monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed "+d+"; }");var h=e.getColor(Ns.w)||"inherit";t.addRule(".monaco-editor .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: "+h+"}")}));n("lKfe");var Ec=n("cMOf"),kc=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=!1),this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n},Ic=[];var Mc,Tc,Ac,Rc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Pc=Object(ue.c)("IEditorCancelService"),Fc=new Zi.d("cancellableOperation",!1);Mc=Pc,Tc=function(){function e(){this._tokens=new WeakMap}return e.prototype.add=function(e,t){var n,i=this._tokens.get(e);return i||(i=e.invokeWithinContext((function(e){return{key:Fc.bindTo(e.get(Zi.c)),tokens:new X.a}})),this._tokens.set(e,i)),i.key.set(!0),n=i.tokens.push(t),function(){n&&(n(),i.key.set(!i.tokens.isEmpty()),n=void 0)}},e.prototype.cancel=function(e){var t=this._tokens.get(e);if(t){var n=t.tokens.pop();n&&(n.cancel(),t.key.set(!t.tokens.isEmpty()))}},e}(),Ac=!0,Ic.push([Mc,new kc(Tc,[],Ac)]);var Vc=function(e){function t(t,n){var i=e.call(this,n)||this;return i.editor=t,i._unregister=t.invokeWithinContext((function(e){return e.get(Pc).add(t,i)})),i}return Rc(t,e),t.prototype.dispose=function(){this._unregister(),e.prototype.dispose.call(this)},t}(V.a);Object(or.f)(new(function(e){function t(){return e.call(this,{id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:Fc})||this}return Rc(t,e),t.prototype.runEditorCommand=function(e,t){e.get(Pc).cancel(t)},t}(or.c)));var Wc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Bc=(function(){function e(e,t){if(this.flags=t,0!=(1&this.flags)){var n=e.getModel();this.modelVersionId=n?ne.p("{0}#{1}",n.uri.toString(),n.getVersionId()):null}else this.modelVersionId=null;0!=(4&this.flags)?this.position=e.getPosition():this.position=null,0!=(2&this.flags)?this.selection=e.getSelection():this.selection=null,0!=(8&this.flags)?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}e.prototype._equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.modelVersionId===n.modelVersionId&&(this.scrollLeft===n.scrollLeft&&this.scrollTop===n.scrollTop&&(!(!this.position&&n.position||this.position&&!n.position||this.position&&n.position&&!this.position.equals(n.position))&&!(!this.selection&&n.selection||this.selection&&!n.selection||this.selection&&n.selection&&!this.selection.equalsRange(n.selection))))},e.prototype.validate=function(t){return this._equals(new e(t,this.flags))}}(),function(e){function t(t,n,i){var o=e.call(this,t,i)||this;return o.editor=t,o._listener=new le.b,4&n&&o._listener.add(t.onDidChangeCursorPosition((function(e){return o.cancel()}))),2&n&&o._listener.add(t.onDidChangeCursorSelection((function(e){return o.cancel()}))),8&n&&o._listener.add(t.onDidScrollChange((function(e){return o.cancel()}))),1&n&&(o._listener.add(t.onDidChangeModel((function(e){return o.cancel()}))),o._listener.add(t.onDidChangeModelContent((function(e){return o.cancel()})))),o}Wc(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)}}(Vc),function(e){function t(t,n){var i=e.call(this,n)||this;return i._listener=t.onDidChangeContent((function(){return i.cancel()})),i}Wc(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)}}(V.a),function(){function e(e,t){this._visiblePosition=e,this._visiblePositionScrollDelta=t}return e.capture=function(t){var n=null,i=0;if(0!==t.getScrollTop()){var o=t.getVisibleRanges();if(o.length>0){n=o[0].getStartPosition();var r=t.getTopForPosition(n.lineNumber,n.column);i=t.getScrollTop()-r}}return new e(n,i)},e.prototype.restore=function(e){if(this._visiblePosition){var t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}},e}()),jc=(n("DTDp"),n("WqXY")),Hc=n("8HAY"),zc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Uc=function(){function e(e,t,n,i){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=n,this.modifiedLineEnd=i}return e.prototype.getType=function(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0},e}(),Kc=function(e){this.entries=e},qc=function(e){function t(t){var n=e.call(this)||this;return n._width=0,n._diffEditor=t,n._isVisible=!1,n.shadow=Object(rr.b)(document.createElement("div")),n.shadow.setClassName("diff-review-shadow"),n.actionBarContainer=Object(rr.b)(document.createElement("div")),n.actionBarContainer.setClassName("diff-review-actions"),n._actionBar=n._register(new jc.a(n.actionBarContainer.domNode)),n._actionBar.push(new Hc.a("diffreview.close",Zn.a("label.close","Close"),"close-diff-review",!0,(function(){return n.hide(),Promise.resolve(null)})),{label:!1,icon:!0}),n.domNode=Object(rr.b)(document.createElement("div")),n.domNode.setClassName("diff-review monaco-editor-background"),n._content=Object(rr.b)(document.createElement("div")),n._content.setClassName("diff-review-content"),n.scrollbar=n._register(new Ya.a(n._content.domNode,{})),n.domNode.domNode.appendChild(n.scrollbar.getDomNode()),n._register(t.onDidUpdateDiff((function(){n._isVisible&&(n._diffs=n._compute(),n._render())}))),n._register(t.getModifiedEditor().onDidChangeCursorPosition((function(){n._isVisible&&n._render()}))),n._register(t.getOriginalEditor().onDidFocusEditorWidget((function(){n._isVisible&&n.hide()}))),n._register(t.getModifiedEditor().onDidFocusEditorWidget((function(){n._isVisible&&n.hide()}))),n._register(Z.k(n.domNode.domNode,"click",(function(e){e.preventDefault();var t=Z.r(e.target,"diff-review-row");t&&n._goToRow(t)}))),n._register(Z.k(n.domNode.domNode,"keydown",(function(e){(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),n._goToRow(n._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),n._goToRow(n._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),n.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),n.accept())}))),n._diffs=[],n._currentDiff=null,n}return zc(t,e),t.prototype.prev=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var t=-1,n=0,i=this._diffs.length;n<i;n++)if(this._diffs[n]===this._currentDiff){t=n;break}e=this._diffs.length+t-1}else e=this._findDiffIndex(this._diffEditor.getPosition());0!==this._diffs.length&&(e%=this._diffs.length,this._diffEditor.setPosition(new H.a(this._diffs[e].entries[0].modifiedLineStart,1)),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow()))},t.prototype.next=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var t=-1,n=0,i=this._diffs.length;n<i;n++)if(this._diffs[n]===this._currentDiff){t=n;break}e=t+1}else e=this._findDiffIndex(this._diffEditor.getPosition());0!==this._diffs.length&&(e%=this._diffs.length,this._diffEditor.setPosition(new H.a(this._diffs[e].entries[0].modifiedLineStart,1)),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow()))},t.prototype.accept=function(){var e=-1,t=this._getCurrentFocusedRow();if(t){var n=parseInt(t.getAttribute("data-line"),10);isNaN(n)||(e=n)}this.hide(),-1!==e&&(this._diffEditor.setPosition(new H.a(e,1)),this._diffEditor.revealPosition(new H.a(e,1),1))},t.prototype.hide=function(){this._isVisible=!1,this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()},t.prototype._getPrevRow=function(){var e=this._getCurrentFocusedRow();return e?e.previousElementSibling?e.previousElementSibling:e:this._getFirstRow()},t.prototype._getNextRow=function(){var e=this._getCurrentFocusedRow();return e?e.nextElementSibling?e.nextElementSibling:e:this._getFirstRow()},t.prototype._getFirstRow=function(){return this.domNode.domNode.querySelector(".diff-review-row")},t.prototype._getCurrentFocusedRow=function(){var e=document.activeElement;return e&&/diff-review-row/.test(e.className)?e:null},t.prototype._goToRow=function(e){var t=this._getCurrentFocusedRow();e.tabIndex=0,e.focus(),t&&t!==e&&(t.tabIndex=-1),this.scrollbar.scanDomNode()},t.prototype.isVisible=function(){return this._isVisible},t.prototype.layout=function(e,t,n){this._width=t,this.shadow.setTop(e-6),this.shadow.setWidth(t),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(e),this.domNode.setWidth(t),this.domNode.setHeight(n),this._content.setHeight(n),this._content.setWidth(t),this._isVisible?(this.actionBarContainer.setAttribute("aria-hidden","false"),this.actionBarContainer.setDisplay("block")):(this.actionBarContainer.setAttribute("aria-hidden","true"),this.actionBarContainer.setDisplay("none"))},t.prototype._compute=function(){var e=this._diffEditor.getLineChanges();if(!e||0===e.length)return[];var n=this._diffEditor.getOriginalEditor().getModel(),i=this._diffEditor.getModifiedEditor().getModel();return n&&i?t._mergeAdjacent(e,n.getLineCount(),i.getLineCount()):[]},t._mergeAdjacent=function(e,t,n){if(!e||0===e.length)return[];for(var i=[],o=0,r=0,s=e.length;r<s;r++){var a=e[r],u=a.originalStartLineNumber,l=a.originalEndLineNumber,c=a.modifiedStartLineNumber,d=a.modifiedEndLineNumber,h=[],f=0,p=0===l?u:u-1,g=0===d?c:c-1,m=1,v=1;if(r>0){var _=e[r-1];m=0===_.originalEndLineNumber?_.originalStartLineNumber+1:_.originalEndLineNumber+1,v=0===_.modifiedEndLineNumber?_.modifiedStartLineNumber+1:_.modifiedEndLineNumber+1}var y=p-3+1,b=g-3+1;if(y<m)y+=O=m-y,b+=O;if(b<v)y+=O=v-b,b+=O;h[f++]=new Uc(y,p,b,g),0!==l&&(h[f++]=new Uc(u,l,0,0)),0!==d&&(h[f++]=new Uc(0,0,c,d));var C=0===l?u+1:l+1,w=0===d?c+1:d+1,S=t,L=n;if(r+1<s){var N=e[r+1];S=0===N.originalEndLineNumber?N.originalStartLineNumber:N.originalStartLineNumber-1,L=0===N.modifiedEndLineNumber?N.modifiedStartLineNumber:N.modifiedStartLineNumber-1}var O,D=C+3-1,x=w+3-1;if(D>S)D+=O=S-D,x+=O;if(x>L)D+=O=L-x,x+=O;h[f++]=new Uc(C,D,w,x),i[o++]=new Kc(h)}var E=i[0].entries,k=[],I=0;for(r=1,s=i.length;r<s;r++){var M=i[r].entries,T=E[E.length-1],A=M[0];0===T.getType()&&0===A.getType()&&A.originalLineStart<=T.originalLineEnd?(E[E.length-1]=new Uc(T.originalLineStart,A.originalLineEnd,T.modifiedLineStart,A.modifiedLineEnd),E=E.concat(M.slice(1))):(k[I++]=new Kc(E),E=M)}return k[I++]=new Kc(E),k},t.prototype._findDiffIndex=function(e){for(var t=e.lineNumber,n=0,i=this._diffs.length;n<i;n++){var o=this._diffs[n].entries;if(t<=o[o.length-1].modifiedLineEnd)return n}return 0},t.prototype._render=function(){var e=this._diffEditor.getOriginalEditor().getOptions(),n=this._diffEditor.getModifiedEditor().getOptions(),i=this._diffEditor.getOriginalEditor().getModel(),o=this._diffEditor.getModifiedEditor().getModel(),r=i.getOptions(),s=o.getOptions();if(!this._isVisible||!i||!o)return Z.o(this._content.domNode),this._currentDiff=null,void this.scrollbar.scanDomNode();var a=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[a]!==this._currentDiff){this._currentDiff=this._diffs[a];var u=this._diffs[a].entries,l=document.createElement("div");l.className="diff-review-table",l.setAttribute("role","list"),ir.applyFontInfoSlow(l,n.get(34));for(var c=0,d=0,h=0,f=0,p=0,g=u.length;p<g;p++){var m=(x=u[p]).originalLineStart,v=x.originalLineEnd,_=x.modifiedLineStart,y=x.modifiedLineEnd;0!==m&&(0===c||m<c)&&(c=m),0!==v&&(0===d||v>d)&&(d=v),0!==_&&(0===h||_<h)&&(h=_),0!==y&&(0===f||y>f)&&(f=y)}var b=document.createElement("div");b.className="diff-review-row";var C=document.createElement("div");C.className="diff-review-cell diff-review-summary";var w=d-c+1,S=f-h+1;C.appendChild(document.createTextNode(a+1+"/"+this._diffs.length+": @@ -"+c+","+w+" +"+h+","+S+" @@")),b.setAttribute("data-line",String(h));var L=function(e){return 0===e?Zn.a("no_lines","no lines"):1===e?Zn.a("one_line","1 line"):Zn.a("more_lines","{0} lines",e)},N=L(w),O=L(S);b.setAttribute("aria-label",Zn.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines", "1 line" or "X lines", localized separately.']},"Difference {0} of {1}: original {2}, {3}, modified {4}, {5}",a+1,this._diffs.length,c,N,h,O)),b.appendChild(C),b.setAttribute("role","listitem"),l.appendChild(b);var D=h;for(p=0,g=u.length;p<g;p++){var x=u[p];t._renderSection(l,x,D,this._width,e,i,r,n,o,s),0!==x.modifiedLineStart&&(D=x.modifiedLineEnd)}Z.o(this._content.domNode),this._content.domNode.appendChild(l),this.scrollbar.scanDomNode()}},t._renderSection=function(e,t,n,i,o,r,s,a,u,l){var c=t.getType(),d="diff-review-row",h="",f="diff-review-spacer";switch(c){case 1:d="diff-review-row line-insert",h=" char-insert",f="diff-review-spacer insert-sign";break;case 2:d="diff-review-row line-delete",h=" char-delete",f="diff-review-spacer delete-sign"}for(var p=t.originalLineStart,g=t.originalLineEnd,m=t.modifiedLineStart,v=t.modifiedLineEnd,_=Math.max(v-m,g-p),y=o.get(107),b=y.glyphMarginWidth+y.lineNumbersWidth,C=a.get(107),w=10+C.glyphMarginWidth+C.lineNumbersWidth,S=0;S<=_;S++){var L=0===p?0:p+S,N=0===m?0:m+S,O=document.createElement("div");O.style.minWidth=i+"px",O.className=d,O.setAttribute("role","listitem"),0!==N&&(n=N),O.setAttribute("data-line",String(n));var D=document.createElement("div");D.className="diff-review-cell",O.appendChild(D);var x=document.createElement("span");x.style.width=b+"px",x.style.minWidth=b+"px",x.className="diff-review-line-number"+h,0!==L?x.appendChild(document.createTextNode(String(L))):x.innerHTML=" ",D.appendChild(x);var E=document.createElement("span");E.style.width=w+"px",E.style.minWidth=w+"px",E.style.paddingRight="10px",E.className="diff-review-line-number"+h,0!==N?E.appendChild(document.createTextNode(String(N))):E.innerHTML=" ",D.appendChild(E);var k=document.createElement("span");k.className=f,k.innerHTML="  ",D.appendChild(k);var I=void 0;0!==N?(D.insertAdjacentHTML("beforeend",this._renderLine(u,a,l.tabSize,N)),I=u.getLineContent(N)):(D.insertAdjacentHTML("beforeend",this._renderLine(r,o,s.tabSize,L)),I=r.getLineContent(L)),0===I.length&&(I=Zn.a("blankLine","blank"));var M="";switch(c){case 0:M=Zn.a("equalLine","original {0}, modified {1}: {2}",L,N,I);break;case 1:M=Zn.a("insertLine","+ modified {0}: {1}",N,I);break;case 2:M=Zn.a("deleteLine","- original {0}: {1}",L,I)}O.setAttribute("aria-label",M),e.appendChild(O)}},t._renderLine=function(e,t,n,i){var o=e.getLineContent(i),r=t.get(34),s=new Uint32Array(2);s[0]=o.length,s[1]=16793600;var a=new on.a(s,o),u=Sn.isBasicASCII(o,e.mightContainNonBasicASCII()),l=Sn.containsRTL(o,u,e.mightContainRTL());return _n(new fn(r.isMonospace&&!t.get(23),r.canUseHalfwidthRightwardsArrow,o,!1,u,l,0,a,[],n,0,r.spaceWidth,r.middotWidth,t.get(88),t.get(74),t.get(69),t.get(35)!==F.d.OFF,null)).html},t}(le.a);Object(Ir.e)((function(e,t){var n=e.getColor(Fs);n&&t.addRule(".monaco-diff-editor .diff-review-line-number { color: "+n+"; }");var i=e.getColor(Ns.Gb);i&&t.addRule(".monaco-diff-editor .diff-review-shadow { box-shadow: "+i+" 0 -6px 6px -6px inset; }")}));var Gc=function(e){function t(){return e.call(this,{id:"editor.action.diffReview.next",label:Zn.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:Zi.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})||this}return zc(t,e),t.prototype.run=function(e,t){var n=Zc(e);n&&n.diffReviewNext()},t}(or.b),Yc=function(e){function t(){return e.call(this,{id:"editor.action.diffReview.prev",label:Zn.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:Zi.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})||this}return zc(t,e),t.prototype.run=function(e,t){var n=Zc(e);n&&n.diffReviewPrev()},t}(or.b);function Zc(e){for(var t=e.get(Y.a).listDiffEditors(),n=0,i=t.length;n<i;n++){var o=t[n];if(o.hasWidgetFocus())return o}return null}Object(or.e)(Gc),Object(or.e)(Yc);var Xc=n("Uzvx"),Jc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Qc=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},$c=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},ed=function(e){function t(t,n,i,o,r,s){var a=e.call(this)||this;a._viewZoneId=t,a._marginDomNode=n,a.editor=i,a.diff=o,a._contextMenuService=r,a._clipboardService=s,a._visibility=!1,a._marginDomNode.style.zIndex="10",a._diffActions=document.createElement("div"),a._diffActions.className="codicon codicon-lightbulb lightbulb-glyph",a._diffActions.style.position="absolute";var u=i.getOption(49),l=i.getModel().getEOL();a._diffActions.style.right="0px",a._diffActions.style.visibility="hidden",a._diffActions.style.height=u+"px",a._diffActions.style.lineHeight=u+"px",a._marginDomNode.appendChild(a._diffActions);var c=[];c.push(new Hc.a("diff.clipboard.copyDeletedContent",o.originalEndLineNumber>o.modifiedStartLineNumber?Zn.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):Zn.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,(function(){return Qc(a,void 0,void 0,(function(){return $c(this,(function(e){switch(e.label){case 0:return[4,this._clipboardService.writeText(o.originalContent.join(l)+l)];case 1:return e.sent(),[2]}}))}))})));var d=0,h=void 0;o.originalEndLineNumber>o.modifiedStartLineNumber&&(h=new Hc.a("diff.clipboard.copyDeletedLineContent",Zn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",o.originalStartLineNumber),void 0,!0,(function(){return Qc(a,void 0,void 0,(function(){return $c(this,(function(e){switch(e.label){case 0:return[4,this._clipboardService.writeText(o.originalContent[d])];case 1:return e.sent(),[2]}}))}))})),c.push(h)),i.getOption(68)||c.push(new Hc.a("diff.inline.revertChange",Zn.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,(function(){return Qc(a,void 0,void 0,(function(){var e;return $c(this,(function(t){return 0===o.modifiedEndLineNumber?(e=i.getModel().getLineMaxColumn(o.modifiedStartLineNumber),i.executeEdits("diffEditor",[{range:new z.a(o.modifiedStartLineNumber,e,o.modifiedStartLineNumber,e),text:l+o.originalContent.join(l)}])):(e=i.getModel().getLineMaxColumn(o.modifiedEndLineNumber),i.executeEdits("diffEditor",[{range:new z.a(o.modifiedStartLineNumber,1,o.modifiedEndLineNumber,e),text:o.originalContent.join(l)}])),[2]}))}))})));var f=function(e,t){a._contextMenuService.showContextMenu({getAnchor:function(){return{x:e,y:t}},getActions:function(){return h&&(h.label=Zn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",o.originalStartLineNumber+d)),c},autoSelectFirstItem:!0})};return a._register(Z.k(a._diffActions,"mousedown",(function(e){var t=Z.w(a._diffActions),n=t.top,i=t.height,o=Math.floor(u/3);e.preventDefault(),f(e.posx,n+i+o)}))),a._register(i.onMouseMove((function(e){8===e.target.type||5===e.target.type?e.target.detail.viewZoneId===a._viewZoneId?(a.visibility=!0,d=a._updateLightBulbPosition(a._marginDomNode,e.event.browserEvent.y,u)):a.visibility=!1:a.visibility=!1}))),a._register(i.onMouseDown((function(e){e.event.rightButton&&(8!==e.target.type&&5!==e.target.type||e.target.detail.viewZoneId===a._viewZoneId&&(e.event.preventDefault(),d=a._updateLightBulbPosition(a._marginDomNode,e.event.browserEvent.y,u),f(e.event.posx,e.event.posy+u)))}))),a}return Jc(t,e),Object.defineProperty(t.prototype,"visibility",{get:function(){return this._visibility},set:function(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?"visible":"hidden")},enumerable:!0,configurable:!0}),t.prototype._updateLightBulbPosition=function(e,t,n){var i=t-Z.w(e).top,o=Math.floor(i/n),r=o*n;return this._diffActions.style.top=r+"px",o},t}(le.a),td=Object(ue.c)("editorProgressService"),nd=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),id=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},od=function(e,t){return function(n,i){t(n,i,e)}},rd=function(){function e(e,t){this._contextMenuService=e,this._clipboardService=t,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}return e.prototype.getForeignViewZones=function(e){var t=this;return e.filter((function(e){return!t._zonesMap[String(e.id)]}))},e.prototype.clean=function(e){var t=this;this._zones.length>0&&e.changeViewZones((function(e){for(var n=0,i=t._zones.length;n<i;n++)e.removeZone(t._zones[n])})),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])},e.prototype.apply=function(e,t,n,i){var o=this,r=i?Bc.capture(e):null;e.changeViewZones((function(t){for(var i=0,r=o._zones.length;i<r;i++)t.removeZone(o._zones[i]);i=0;for(var s=o.inlineDiffMargins.length;i<s;i++)o.inlineDiffMargins[i].dispose();o._zones=[],o._zonesMap={},o.inlineDiffMargins=[];i=0;for(var a=n.zones.length;i<a;i++){var u=n.zones[i];u.suppressMouseDown=!0;var l=t.addZone(u);o._zones.push(l),o._zonesMap[String(l)]=!0,n.zones[i].diff&&u.marginDomNode&&o._clipboardService&&(u.suppressMouseDown=!1,o.inlineDiffMargins.push(new ed(l,u.marginDomNode,e,n.zones[i].diff,o._contextMenuService,o._clipboardService)))}})),r&&r.restore(e),this._decorations=e.deltaDecorations(this._decorations,n.decorations),t&&t.setZones(n.overviewZones)},e}(),sd=0,ad=function(e){function t(n,i,o,r,s,a,u,l,c,d,h){var f=e.call(this)||this;f._editorProgressService=h,f._onDidDispose=f._register(new W.a),f.onDidDispose=f._onDidDispose.event,f._onDidUpdateDiff=f._register(new W.a),f.onDidUpdateDiff=f._onDidUpdateDiff.event,f._lastOriginalWarning=null,f._lastModifiedWarning=null,f._editorWorkerService=r,f._codeEditorService=u,f._contextKeyService=f._register(s.createScoped(n)),f._contextKeyService.createKey("isInDiffEditor",!0),f._themeService=l,f._notificationService=c,f.id=++sd,f._state=0,f._updatingDiffProgress=null,f._domElement=n,i=i||{},f._renderSideBySide=!0,void 0!==i.renderSideBySide&&(f._renderSideBySide=i.renderSideBySide),f._maxComputationTime=5e3,void 0!==i.maxComputationTime&&(f._maxComputationTime=i.maxComputationTime),f._ignoreTrimWhitespace=!0,void 0!==i.ignoreTrimWhitespace&&(f._ignoreTrimWhitespace=i.ignoreTrimWhitespace),f._renderIndicators=!0,void 0!==i.renderIndicators&&(f._renderIndicators=i.renderIndicators),f._originalIsEditable=!1,void 0!==i.originalEditable&&(f._originalIsEditable=Boolean(i.originalEditable)),f._updateDecorationsRunner=f._register(new We.d((function(){return f._updateDecorations()}),0)),f._containerDomElement=document.createElement("div"),f._containerDomElement.className=t._getClassName(f._themeService.getTheme(),f._renderSideBySide),f._containerDomElement.style.position="relative",f._containerDomElement.style.height="100%",f._domElement.appendChild(f._containerDomElement),f._overviewViewportDomElement=Object(rr.b)(document.createElement("div")),f._overviewViewportDomElement.setClassName("diffViewport"),f._overviewViewportDomElement.setPosition("absolute"),f._overviewDomElement=document.createElement("div"),f._overviewDomElement.className="diffOverview",f._overviewDomElement.style.position="absolute",f._overviewDomElement.appendChild(f._overviewViewportDomElement.domNode),f._register(Z.k(f._overviewDomElement,"mousedown",(function(e){f.modifiedEditor.delegateVerticalScrollbarMouseDown(e)}))),f._containerDomElement.appendChild(f._overviewDomElement),f._originalDomNode=document.createElement("div"),f._originalDomNode.className="editor original",f._originalDomNode.style.position="absolute",f._originalDomNode.style.height="100%",f._containerDomElement.appendChild(f._originalDomNode),f._modifiedDomNode=document.createElement("div"),f._modifiedDomNode.className="editor modified",f._modifiedDomNode.style.position="absolute",f._modifiedDomNode.style.height="100%",f._containerDomElement.appendChild(f._modifiedDomNode),f._beginUpdateDecorationsTimeout=-1,f._currentlyChangingViewZones=!1,f._diffComputationToken=0,f._originalEditorState=new rd(d,o),f._modifiedEditorState=new rd(d,o),f._isVisible=!0,f._isHandlingScrollEvent=!1,f._elementSizeObserver=f._register(new $o(f._containerDomElement,void 0,(function(){return f._onDidContainerSizeChanged()}))),i.automaticLayout&&f._elementSizeObserver.startObserving(),f._diffComputationResult=null;var p=f._contextKeyService.createScoped();p.createKey("isInDiffLeftEditor",!0);var g=new Xl;g.set(Zi.c,p);var m=a.createChild(g),v=f._contextKeyService.createScoped();v.createKey("isInDiffRightEditor",!0);var _=new Xl;_.set(Zi.c,v);var y=a.createChild(_);f.originalEditor=f._createLeftHandSideEditor(i,m),f.modifiedEditor=f._createRightHandSideEditor(i,y),f._originalOverviewRuler=null,f._modifiedOverviewRuler=null,f._reviewPane=new qc(f),f._containerDomElement.appendChild(f._reviewPane.domNode.domNode),f._containerDomElement.appendChild(f._reviewPane.shadow.domNode),f._containerDomElement.appendChild(f._reviewPane.actionBarContainer.domNode),f._enableSplitViewResizing=!0,void 0!==i.enableSplitViewResizing&&(f._enableSplitViewResizing=i.enableSplitViewResizing),f._renderSideBySide?f._setStrategy(new fd(f._createDataSource(),f._enableSplitViewResizing)):f._setStrategy(new gd(f._createDataSource(),f._enableSplitViewResizing)),f._register(l.onThemeChange((function(e){f._strategy&&f._strategy.applyColors(e)&&f._updateDecorationsRunner.schedule(),f._containerDomElement.className=t._getClassName(f._themeService.getTheme(),f._renderSideBySide)})));for(var b=0,C=or.d.getDiffEditorContributions();b<C.length;b++){var w=C[b];try{f._register(a.createInstance(w.ctor,f))}catch(e){Object(Be.e)(e)}}return f._codeEditorService.addDiffEditor(f),f}return nd(t,e),t.prototype._setState=function(e){this._state!==e&&(this._state=e,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),1===this._state&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))},t.prototype.hasWidgetFocus=function(){return Z.E(document.activeElement,this._domElement)},t.prototype.diffReviewNext=function(){this._reviewPane.next()},t.prototype.diffReviewPrev=function(){this._reviewPane.prev()},t._getClassName=function(e,t){var n="monaco-diff-editor monaco-editor-background ";return t&&(n+="side-by-side "),n+=Object(Ir.d)(e.type)},t.prototype._recreateOverviewRulers=function(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this.originalEditor.hasModel()&&(this._originalOverviewRuler=this.originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this.modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this.modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers()},t.prototype._createLeftHandSideEditor=function(e,t){var n=this,i=this._createInnerEditor(t,this._originalDomNode,this._adjustOptionsForLeftHandSide(e,this._originalIsEditable));return this._register(i.onDidScrollChange((function(e){n._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(n._isHandlingScrollEvent=!0,n.modifiedEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),n._isHandlingScrollEvent=!1,n._layoutOverviewViewport())}))),this._register(i.onDidChangeViewZones((function(){n._onViewZonesChanged()}))),this._register(i.onDidChangeModelContent((function(){n._isVisible&&n._beginUpdateDecorationsSoon()}))),i},t.prototype._createRightHandSideEditor=function(e,t){var n=this,i=this._createInnerEditor(t,this._modifiedDomNode,this._adjustOptionsForRightHandSide(e));return this._register(i.onDidScrollChange((function(e){n._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(n._isHandlingScrollEvent=!0,n.originalEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),n._isHandlingScrollEvent=!1,n._layoutOverviewViewport())}))),this._register(i.onDidChangeViewZones((function(){n._onViewZonesChanged()}))),this._register(i.onDidChangeConfiguration((function(e){e.hasChanged(34)&&i.getModel()&&n._onViewZonesChanged()}))),this._register(i.onDidChangeModelContent((function(){n._isVisible&&n._beginUpdateDecorationsSoon()}))),this._register(i.onDidChangeModelOptions((function(e){e.tabSize&&n._updateDecorationsRunner.schedule()}))),i},t.prototype._createInnerEditor=function(e,t,n){return e.createInstance(yc,t,n,{})},t.prototype.dispose=function(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this.originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this.modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),e.prototype.dispose.call(this)},t.prototype.getId=function(){return this.getEditorType()+":"+this.id},t.prototype.getEditorType=function(){return Te.a.IDiffEditor},t.prototype.getLineChanges=function(){return this._diffComputationResult?this._diffComputationResult.changes:null},t.prototype.getOriginalEditor=function(){return this.originalEditor},t.prototype.getModifiedEditor=function(){return this.modifiedEditor},t.prototype.updateOptions=function(e){var n=!1;void 0!==e.renderSideBySide&&this._renderSideBySide!==e.renderSideBySide&&(this._renderSideBySide=e.renderSideBySide,n=!0),void 0!==e.maxComputationTime&&(this._maxComputationTime=e.maxComputationTime,this._isVisible&&this._beginUpdateDecorationsSoon());var i=!1;void 0!==e.ignoreTrimWhitespace&&this._ignoreTrimWhitespace!==e.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=e.ignoreTrimWhitespace,i=!0),void 0!==e.renderIndicators&&this._renderIndicators!==e.renderIndicators&&(this._renderIndicators=e.renderIndicators,i=!0),i&&this._beginUpdateDecorations(),void 0!==e.originalEditable&&(this._originalIsEditable=Boolean(e.originalEditable)),this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(e)),this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(e,this._originalIsEditable)),void 0!==e.enableSplitViewResizing&&(this._enableSplitViewResizing=e.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),n&&(this._renderSideBySide?this._setStrategy(new fd(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new gd(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=t._getClassName(this._themeService.getTheme(),this._renderSideBySide))},t.prototype.getModel=function(){return{original:this.originalEditor.getModel(),modified:this.modifiedEditor.getModel()}},t.prototype.setModel=function(e){if(e&&(!e.original||!e.modified))throw new Error(e.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this.originalEditor.setModel(e?e.original:null),this.modifiedEditor.setModel(e?e.modified:null),this._updateDecorationsRunner.cancel(),e&&(this.originalEditor.setScrollTop(0),this.modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),e&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()},t.prototype.getDomNode=function(){return this._domElement},t.prototype.getVisibleColumnFromPosition=function(e){return this.modifiedEditor.getVisibleColumnFromPosition(e)},t.prototype.getPosition=function(){return this.modifiedEditor.getPosition()},t.prototype.setPosition=function(e){this.modifiedEditor.setPosition(e)},t.prototype.revealLine=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLine(e,t)},t.prototype.revealLineInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLineInCenter(e,t)},t.prototype.revealLineInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLineInCenterIfOutsideViewport(e,t)},t.prototype.revealPosition=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPosition(e,t)},t.prototype.revealPositionInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPositionInCenter(e,t)},t.prototype.revealPositionInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPositionInCenterIfOutsideViewport(e,t)},t.prototype.getSelection=function(){return this.modifiedEditor.getSelection()},t.prototype.getSelections=function(){return this.modifiedEditor.getSelections()},t.prototype.setSelection=function(e){this.modifiedEditor.setSelection(e)},t.prototype.setSelections=function(e){this.modifiedEditor.setSelections(e)},t.prototype.revealLines=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLines(e,t,n)},t.prototype.revealLinesInCenter=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLinesInCenter(e,t,n)},t.prototype.revealLinesInCenterIfOutsideViewport=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLinesInCenterIfOutsideViewport(e,t,n)},t.prototype.revealRange=function(e,t,n,i){void 0===t&&(t=0),void 0===n&&(n=!1),void 0===i&&(i=!0),this.modifiedEditor.revealRange(e,t,n,i)},t.prototype.revealRangeInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeInCenter(e,t)},t.prototype.revealRangeInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeInCenterIfOutsideViewport(e,t)},t.prototype.revealRangeAtTop=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeAtTop(e,t)},t.prototype.getSupportedActions=function(){return this.modifiedEditor.getSupportedActions()},t.prototype.saveViewState=function(){return{original:this.originalEditor.saveViewState(),modified:this.modifiedEditor.saveViewState()}},t.prototype.restoreViewState=function(e){if(e.original&&e.modified){var t=e;this.originalEditor.restoreViewState(t.original),this.modifiedEditor.restoreViewState(t.modified)}},t.prototype.layout=function(e){this._elementSizeObserver.observe(e)},t.prototype.focus=function(){this.modifiedEditor.focus()},t.prototype.hasTextFocus=function(){return this.originalEditor.hasTextFocus()||this.modifiedEditor.hasTextFocus()},t.prototype.trigger=function(e,t,n){this.modifiedEditor.trigger(e,t,n)},t.prototype.changeDecorations=function(e){return this.modifiedEditor.changeDecorations(e)},t.prototype._onDidContainerSizeChanged=function(){this._doLayout()},t.prototype._getReviewHeight=function(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0},t.prototype._layoutOverviewRulers=function(){if(this._originalOverviewRuler&&this._modifiedOverviewRuler){var e=this._elementSizeObserver.getHeight(),n=this._getReviewHeight(),i=t.ENTIRE_DIFF_OVERVIEW_WIDTH-2*t.ONE_OVERVIEW_WIDTH;this.modifiedEditor.getLayoutInfo()&&(this._originalOverviewRuler.setLayout({top:0,width:t.ONE_OVERVIEW_WIDTH,right:i+t.ONE_OVERVIEW_WIDTH,height:e-n}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:t.ONE_OVERVIEW_WIDTH,height:e-n}))}},t.prototype._onViewZonesChanged=function(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()},t.prototype._beginUpdateDecorationsSoon=function(){var e=this;-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout((function(){return e._beginUpdateDecorations()}),t.UPDATE_DIFF_DECORATIONS_DELAY)},t._equals=function(e,t){return!e&&!t||!(!e||!t)&&e.toString()===t.toString()},t.prototype._beginUpdateDecorations=function(){var e=this;this._beginUpdateDecorationsTimeout=-1;var n=this.originalEditor.getModel(),i=this.modifiedEditor.getModel();if(n&&i){this._diffComputationToken++;var o=this._diffComputationToken;this._setState(1),this._editorWorkerService.canComputeDiff(n.uri,i.uri)?this._editorWorkerService.computeDiff(n.uri,i.uri,this._ignoreTrimWhitespace,this._maxComputationTime).then((function(t){o===e._diffComputationToken&&n===e.originalEditor.getModel()&&i===e.modifiedEditor.getModel()&&(e._setState(2),e._diffComputationResult=t,e._updateDecorationsRunner.schedule(),e._onDidUpdateDiff.fire())}),(function(t){o===e._diffComputationToken&&n===e.originalEditor.getModel()&&i===e.modifiedEditor.getModel()&&(e._setState(2),e._diffComputationResult=null,e._updateDecorationsRunner.schedule())})):t._equals(n.uri,this._lastOriginalWarning)&&t._equals(i.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=n.uri,this._lastModifiedWarning=i.uri,this._notificationService.warn(Zn.a("diff.tooLarge","Cannot compare files because one file is too large.")))}},t.prototype._cleanViewZonesAndDecorations=function(){this._originalEditorState.clean(this.originalEditor),this._modifiedEditorState.clean(this.modifiedEditor)},t.prototype._updateDecorations=function(){if(this.originalEditor.getModel()&&this.modifiedEditor.getModel()&&this._originalOverviewRuler&&this._modifiedOverviewRuler){var e=this._diffComputationResult?this._diffComputationResult.changes:[],t=this._originalEditorState.getForeignViewZones(this.originalEditor.getWhitespaces()),n=this._modifiedEditorState.getForeignViewZones(this.modifiedEditor.getWhitespaces()),i=this._strategy.getEditorsDiffDecorations(e,this._ignoreTrimWhitespace,this._renderIndicators,t,n,this.originalEditor,this.modifiedEditor);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this.originalEditor,this._originalOverviewRuler,i.original,!1),this._modifiedEditorState.apply(this.modifiedEditor,this._modifiedOverviewRuler,i.modified,!0)}finally{this._currentlyChangingViewZones=!1}}},t.prototype._adjustOptionsForSubEditor=function(e){var t=Le.a(e||{});return t.inDiffEditor=!0,t.wordWrap="off",t.wordWrapMinified=!1,t.automaticLayout=!1,t.scrollbar=t.scrollbar||{},t.scrollbar.vertical="visible",t.folding=!1,t.codeLens=!1,t.fixedOverflowWidgets=!0,t.minimap||(t.minimap={}),t.minimap.enabled=!1,t},t.prototype._adjustOptionsForLeftHandSide=function(e,t){var n=this._adjustOptionsForSubEditor(e);return n.readOnly=!t,n.extraEditorClassName="original-in-monaco-diff-editor",n},t.prototype._adjustOptionsForRightHandSide=function(e){var n=this._adjustOptionsForSubEditor(e);return n.revealHorizontalRightPadding=F.e.revealHorizontalRightPadding.defaultValue+t.ENTIRE_DIFF_OVERVIEW_WIDTH,n.scrollbar.verticalHasArrows=!1,n.extraEditorClassName="modified-in-monaco-diff-editor",n},t.prototype.doLayout=function(){this._elementSizeObserver.observe(),this._doLayout()},t.prototype._doLayout=function(){var e=this._elementSizeObserver.getWidth(),n=this._elementSizeObserver.getHeight(),i=this._getReviewHeight(),o=this._strategy.layout();this._originalDomNode.style.width=o+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=e-o+"px",this._modifiedDomNode.style.left=o+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=n-i+"px",this._overviewDomElement.style.width=t.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=e-t.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(t.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this.originalEditor.layout({width:o,height:n-i}),this.modifiedEditor.layout({width:e-o-t.ENTIRE_DIFF_OVERVIEW_WIDTH,height:n-i}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(n-i,e,i),this._layoutOverviewViewport()},t.prototype._layoutOverviewViewport=function(){var e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))},t.prototype._computeOverviewViewport=function(){var e=this.modifiedEditor.getLayoutInfo();if(!e)return null;var t=this.modifiedEditor.getScrollTop(),n=this.modifiedEditor.getScrollHeight(),i=Math.max(0,e.height),o=Math.max(0,i-0),r=n>0?o/n:0;return{height:Math.max(0,Math.floor(e.height*r)),top:Math.floor(t*r)}},t.prototype._createDataSource=function(){var e=this;return{getWidth:function(){return e._elementSizeObserver.getWidth()},getHeight:function(){return e._elementSizeObserver.getHeight()-e._getReviewHeight()},getContainerDomNode:function(){return e._containerDomElement},relayoutEditors:function(){e._doLayout()},getOriginalEditor:function(){return e.originalEditor},getModifiedEditor:function(){return e.modifiedEditor}}},t.prototype._setStrategy=function(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()},t.prototype._getLineChangeAtOrBeforeLineNumber=function(e,t){var n=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===n.length||e<t(n[0]))return null;for(var i=0,o=n.length-1;i<o;){var r=Math.floor((i+o)/2),s=t(n[r]),a=r+1<=o?t(n[r+1]):1073741824;e<s?o=r-1:e>=a?i=r+1:(i=r,o=r)}return n[i]},t.prototype._getEquivalentLineForOriginalLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.originalStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-n;return s<=o?i+Math.min(s,r):i+r-o+s},t.prototype._getEquivalentLineForModifiedLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.modifiedStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-i;return s<=r?n+Math.min(s,o):n+o-r+s},t.prototype.getDiffLineInformationForOriginal=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null},t.prototype.getDiffLineInformationForModified=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null},t.ONE_OVERVIEW_WIDTH=15,t.ENTIRE_DIFF_OVERVIEW_WIDTH=30,t.UPDATE_DIFF_DECORATIONS_DELAY=200,t=id([od(3,Fe),od(4,Zi.c),od(5,ue.a),od(6,Y.a),od(7,Ir.c),od(8,lo.a),od(9,Xc.a),od(10,td)],t)}(le.a),ud=function(e){function t(t){var n=e.call(this)||this;return n._dataSource=t,n._insertColor=null,n._removeColor=null,n}return nd(t,e),t.prototype.applyColors=function(e){var t=(e.getColor(Ns.j)||Ns.g).transparent(2),n=(e.getColor(Ns.l)||Ns.h).transparent(2),i=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,i},t.prototype.getEditorsDiffDecorations=function(e,t,n,i,o,r,s){o=o.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber})),i=i.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber}));var a=this._getViewZones(e,i,o,r,s,n),u=this._getOriginalEditorDecorations(e,t,n,r,s),l=this._getModifiedEditorDecorations(e,t,n,r,s);return{original:{decorations:u.decorations,overviewZones:u.overviewZones,zones:a.original},modified:{decorations:l.decorations,overviewZones:l.overviewZones,zones:a.modified}}},t}(le.a),ld=function(){function e(e){this._source=e,this._index=-1,this.current=null,this.advance()}return e.prototype.advance=function(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null},e}(),cd=function(){function e(e,t,n,i,o){this.lineChanges=e,this.originalForeignVZ=t,this.originalLineHeight=n,this.modifiedForeignVZ=i,this.modifiedLineHeight=o}return e.prototype.getViewZones=function(){for(var t=[],n=[],i=0,o=0,r=0,s=0,a=0,u=0,l=function(e,t){return e.afterLineNumber-t.afterLineNumber},c=function(e,t){if(null===t.domNode&&e.length>0){var n=e[e.length-1];if(n.afterLineNumber===t.afterLineNumber&&null===n.domNode)return void(n.heightInLines+=t.heightInLines)}e.push(t)},d=new ld(this.modifiedForeignVZ),h=new ld(this.originalForeignVZ),f=0,p=this.lineChanges.length;f<=p;f++){var g=f<p?this.lineChanges[f]:null;null!==g?(r=g.originalStartLineNumber+(g.originalEndLineNumber>0?-1:0),s=g.modifiedStartLineNumber+(g.modifiedEndLineNumber>0?-1:0),o=g.originalEndLineNumber>0?g.originalEndLineNumber-g.originalStartLineNumber+1:0,i=g.modifiedEndLineNumber>0?g.modifiedEndLineNumber-g.modifiedStartLineNumber+1:0,a=Math.max(g.originalStartLineNumber,g.originalEndLineNumber),u=Math.max(g.modifiedStartLineNumber,g.modifiedEndLineNumber)):(a=r+=1e7+o,u=s+=1e7+i);for(var m,v=[],_=[];d.current&&d.current.afterLineNumber<=u;){var y=void 0;y=d.current.afterLineNumber<=s?r-s+d.current.afterLineNumber:a;var b=null;g&&g.modifiedStartLineNumber<=d.current.afterLineNumber&&d.current.afterLineNumber<=g.modifiedEndLineNumber&&(b=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),v.push({afterLineNumber:y,heightInLines:d.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:b}),d.advance()}for(;h.current&&h.current.afterLineNumber<=a;){y=void 0;y=h.current.afterLineNumber<=r?s-r+h.current.afterLineNumber:u,_.push({afterLineNumber:y,heightInLines:h.current.height/this.originalLineHeight,domNode:null}),h.advance()}if(null!==g&&vd(g))(m=this._produceOriginalFromDiff(g,o,i))&&v.push(m);if(null!==g&&_d(g))(m=this._produceModifiedFromDiff(g,o,i))&&_.push(m);var C=0,w=0;for(v=v.sort(l),_=_.sort(l);C<v.length&&w<_.length;){var S=v[C],L=_[w],N=S.afterLineNumber-r,O=L.afterLineNumber-s;N<O?(c(t,S),C++):O<N?(c(n,L),w++):S.shouldNotShrink?(c(t,S),C++):L.shouldNotShrink?(c(n,L),w++):S.heightInLines>=L.heightInLines?(S.heightInLines-=L.heightInLines,w++):(L.heightInLines-=S.heightInLines,C++)}for(;C<v.length;)c(t,v[C]),C++;for(;w<_.length;)c(n,_[w]),w++}return{original:e._ensureDomNodes(t),modified:e._ensureDomNodes(n)}},e._ensureDomNodes=function(e){return e.map((function(e){var t;return e.domNode||(e.domNode=((t=document.createElement("div")).className="diagonal-fill",t)),e}))},e}();function dd(e,t,n,i,o){return{range:new z.a(e,t,n,i),options:o}}var hd={charDelete:Il.a.register({className:"char-delete"}),charDeleteWholeLine:Il.a.register({className:"char-delete",isWholeLine:!0}),charInsert:Il.a.register({className:"char-insert"}),charInsertWholeLine:Il.a.register({className:"char-insert",isWholeLine:!0}),lineInsert:Il.a.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:Il.a.register({className:"line-insert",linesDecorationsClassName:"insert-sign codicon codicon-add",marginClassName:"line-insert",isWholeLine:!0}),lineDelete:Il.a.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:Il.a.register({className:"line-delete",linesDecorationsClassName:"delete-sign codicon codicon-remove",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:Il.a.register({marginClassName:"line-delete"})},fd=function(e){function t(t,n){var i=e.call(this,t)||this;return i._disableSash=!1===n,i._sashRatio=null,i._sashPosition=null,i._startSashPosition=null,i._sash=i._register(new Ec.a(i._dataSource.getContainerDomNode(),i)),i._disableSash&&(i._sash.state=0),i._sash.onDidStart((function(){return i.onSashDragStart()})),i._sash.onDidChange((function(e){return i.onSashDrag(e)})),i._sash.onDidEnd((function(){return i.onSashDragEnd()})),i._sash.onDidReset((function(){return i.onSashReset()})),i}return nd(t,e),t.prototype.setEnableSplitViewResizing=function(e){var t=!1===e;this._disableSash!==t&&(this._disableSash=t,this._sash.state=this._disableSash?0:3)},t.prototype.layout=function(e){void 0===e&&(e=this._sashRatio);var n=this._dataSource.getWidth()-ad.ENTIRE_DIFF_OVERVIEW_WIDTH,i=Math.floor((e||.5)*n),o=Math.floor(.5*n);return i=this._disableSash?o:i||o,n>2*t.MINIMUM_EDITOR_WIDTH?(i<t.MINIMUM_EDITOR_WIDTH&&(i=t.MINIMUM_EDITOR_WIDTH),i>n-t.MINIMUM_EDITOR_WIDTH&&(i=n-t.MINIMUM_EDITOR_WIDTH)):i=o,this._sashPosition!==i&&(this._sashPosition=i,this._sash.layout()),this._sashPosition},t.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},t.prototype.onSashDrag=function(e){var t=this._dataSource.getWidth()-ad.ENTIRE_DIFF_OVERVIEW_WIDTH,n=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=n/t,this._dataSource.relayoutEditors()},t.prototype.onSashDragEnd=function(){this._sash.layout()},t.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},t.prototype.getVerticalSashTop=function(e){return 0},t.prototype.getVerticalSashLeft=function(e){return this._sashPosition},t.prototype.getVerticalSashHeight=function(e){return this._dataSource.getHeight()},t.prototype._getViewZones=function(e,t,n,i,o){return new pd(e,t,i.getOption(49),n,o.getOption(49)).getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,i,o){for(var r=String(this._removeColor),s={decorations:[],overviewZones:[]},a=i.getModel(),u=0,l=e.length;u<l;u++){var c=e[u];if(_d(c)&&(s.decorations.push({range:new z.a(c.originalStartLineNumber,1,c.originalEndLineNumber,1073741824),options:n?hd.lineDeleteWithSign:hd.lineDelete}),vd(c)&&c.charChanges||s.decorations.push(dd(c.originalStartLineNumber,1,c.originalEndLineNumber,1073741824,hd.charDeleteWholeLine)),s.overviewZones.push(new Ru(c.originalStartLineNumber,c.originalEndLineNumber,r)),c.charChanges))for(var d=0,h=c.charChanges.length;d<h;d++){var f=c.charChanges[d];if(_d(f))if(t)for(var p=f.originalStartLineNumber;p<=f.originalEndLineNumber;p++){var g=void 0,m=void 0;g=p===f.originalStartLineNumber?f.originalStartColumn:a.getLineFirstNonWhitespaceColumn(p),m=p===f.originalEndLineNumber?f.originalEndColumn:a.getLineLastNonWhitespaceColumn(p),s.decorations.push(dd(p,g,p,m,hd.charDelete))}else s.decorations.push(dd(f.originalStartLineNumber,f.originalStartColumn,f.originalEndLineNumber,f.originalEndColumn,hd.charDelete))}}return s},t.prototype._getModifiedEditorDecorations=function(e,t,n,i,o){for(var r=String(this._insertColor),s={decorations:[],overviewZones:[]},a=o.getModel(),u=0,l=e.length;u<l;u++){var c=e[u];if(vd(c)&&(s.decorations.push({range:new z.a(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824),options:n?hd.lineInsertWithSign:hd.lineInsert}),_d(c)&&c.charChanges||s.decorations.push(dd(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824,hd.charInsertWholeLine)),s.overviewZones.push(new Ru(c.modifiedStartLineNumber,c.modifiedEndLineNumber,r)),c.charChanges))for(var d=0,h=c.charChanges.length;d<h;d++){var f=c.charChanges[d];if(vd(f))if(t)for(var p=f.modifiedStartLineNumber;p<=f.modifiedEndLineNumber;p++){var g=void 0,m=void 0;g=p===f.modifiedStartLineNumber?f.modifiedStartColumn:a.getLineFirstNonWhitespaceColumn(p),m=p===f.modifiedEndLineNumber?f.modifiedEndColumn:a.getLineLastNonWhitespaceColumn(p),s.decorations.push(dd(p,g,p,m,hd.charInsert))}else s.decorations.push(dd(f.modifiedStartLineNumber,f.modifiedStartColumn,f.modifiedEndLineNumber,f.modifiedEndColumn,hd.charInsert))}}return s},t.MINIMUM_EDITOR_WIDTH=100,t}(ud),pd=function(e){function t(t,n,i,o,r){return e.call(this,t,n,i,o,r)||this}return nd(t,e),t.prototype._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion=function(){return null},t.prototype._produceOriginalFromDiff=function(e,t,n){return n>t?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null},t.prototype._produceModifiedFromDiff=function(e,t,n){return t>n?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null},t}(cd),gd=function(e){function t(t,n){var i=e.call(this,t)||this;return i.decorationsLeft=t.getOriginalEditor().getLayoutInfo().decorationsLeft,i._register(t.getOriginalEditor().onDidLayoutChange((function(e){i.decorationsLeft!==e.decorationsLeft&&(i.decorationsLeft=e.decorationsLeft,t.relayoutEditors())}))),i}return nd(t,e),t.prototype.setEnableSplitViewResizing=function(e){},t.prototype._getViewZones=function(e,t,n,i,o,r){return new md(e,t,n,i,o,r).getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,i,o){for(var r=String(this._removeColor),s={decorations:[],overviewZones:[]},a=0,u=e.length;a<u;a++){var l=e[a];_d(l)&&(s.decorations.push({range:new z.a(l.originalStartLineNumber,1,l.originalEndLineNumber,1073741824),options:hd.lineDeleteMargin}),s.overviewZones.push(new Ru(l.originalStartLineNumber,l.originalEndLineNumber,r)))}return s},t.prototype._getModifiedEditorDecorations=function(e,t,n,i,o){for(var r=String(this._insertColor),s={decorations:[],overviewZones:[]},a=o.getModel(),u=0,l=e.length;u<l;u++){var c=e[u];if(vd(c))if(s.decorations.push({range:new z.a(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824),options:n?hd.lineInsertWithSign:hd.lineInsert}),s.overviewZones.push(new Ru(c.modifiedStartLineNumber,c.modifiedEndLineNumber,r)),c.charChanges)for(var d=0,h=c.charChanges.length;d<h;d++){var f=c.charChanges[d];if(vd(f))if(t)for(var p=f.modifiedStartLineNumber;p<=f.modifiedEndLineNumber;p++){var g=void 0,m=void 0;g=p===f.modifiedStartLineNumber?f.modifiedStartColumn:a.getLineFirstNonWhitespaceColumn(p),m=p===f.modifiedEndLineNumber?f.modifiedEndColumn:a.getLineLastNonWhitespaceColumn(p),s.decorations.push(dd(p,g,p,m,hd.charInsert))}else s.decorations.push(dd(f.modifiedStartLineNumber,f.modifiedStartColumn,f.modifiedEndLineNumber,f.modifiedEndColumn,hd.charInsert))}else s.decorations.push(dd(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824,hd.charInsertWholeLine))}return s},t.prototype.layout=function(){return Math.max(5,this.decorationsLeft)},t}(ud),md=function(e){function t(t,n,i,o,r,s){var a=e.call(this,t,n,o.getOption(49),i,r.getOption(49))||this;return a.originalModel=o.getModel(),a.modifiedEditorOptions=r.getOptions(),a.modifiedEditorTabSize=r.getModel().getOptions().tabSize,a.renderIndicators=s,a}return nd(t,e),t.prototype._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion=function(){var e=document.createElement("div");return e.className="inline-added-margin-view-zone",e},t.prototype._produceOriginalFromDiff=function(e,t,n){var i=document.createElement("div");return i.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n,domNode:document.createElement("div"),marginDomNode:i}},t.prototype._produceModifiedFromDiff=function(e,t,n){var i=[];if(e.charChanges)for(var o=0,r=e.charChanges.length;o<r;o++){var s=e.charChanges[o];_d(s)&&i.push(new Ln(new z.a(s.originalStartLineNumber,s.originalStartColumn,s.originalEndLineNumber,s.originalEndColumn),"char-delete",0))}for(var a=tn(1e4),u=[],l=this.modifiedEditorOptions.get(107),c=this.modifiedEditorOptions.get(34),d=l.decorationsWidth,h=this.modifiedEditorOptions.get(49),f=c.typicalHalfwidthCharacterWidth,p=0,g=[],m=e.originalStartLineNumber;m<=e.originalEndLineNumber;m++)if(p=Math.max(p,this._renderOriginalLine(m-e.originalStartLineNumber,this.originalModel,this.modifiedEditorOptions,this.modifiedEditorTabSize,m,i,a)),g.push(this.originalModel.getLineContent(m)),this.renderIndicators){var v=m-e.originalStartLineNumber;u=u.concat(['<div class="delete-sign codicon codicon-remove" style="position:absolute;top:'+v*h+"px;width:"+d+"px;height:"+h+'px;right:0;"></div>'])}p+=this.modifiedEditorOptions.get(79);var _=document.createElement("div");_.className="view-lines line-delete",_.innerHTML=a.build(),ir.applyFontInfoSlow(_,c);var y=document.createElement("div");return y.className="inline-deleted-margin-view-zone",y.innerHTML=u.join(""),ir.applyFontInfoSlow(y,c),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:p*f,domNode:_,marginDomNode:y,diff:{originalStartLineNumber:e.originalStartLineNumber,originalEndLineNumber:e.originalEndLineNumber,modifiedStartLineNumber:e.modifiedStartLineNumber,modifiedEndLineNumber:e.modifiedEndLineNumber,originalContent:g}}},t.prototype._renderOriginalLine=function(e,t,n,i,o,r,s){var a=t.getLineTokens(o),u=a.getLineContent(),l=n.get(34),c=an.filter(r,o,1,u.length+1);s.appendASCIIString('<div class="view-line'),0===r.length&&s.appendASCIIString(" char-delete"),s.appendASCIIString('" style="top:'),s.appendASCIIString(String(e*n.get(49))),s.appendASCIIString('px;width:1000000px;">');var d=Sn.isBasicASCII(u,t.mightContainNonBasicASCII()),h=Sn.containsRTL(u,d,t.mightContainRTL()),f=mn(new fn(l.isMonospace&&!n.get(23),l.canUseHalfwidthRightwardsArrow,u,!1,d,h,0,a,c,i,0,l.spaceWidth,l.middotWidth,n.get(88),n.get(74),n.get(69),n.get(35)!==F.d.OFF,null),s);s.appendASCIIString("</div>");var p=f.characterMapping.getAbsoluteOffsets();return p.length>0?p[p.length-1]:0},t}(cd);function vd(e){return e.modifiedEndLineNumber>0}function _d(e){return e.originalEndLineNumber>0}Object(Ir.e)((function(e,t){var n=e.getColor(Ns.j);n&&(t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: "+n+"; }"));var i=e.getColor(Ns.l);i&&(t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+i+"; }"),t.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+i+"; }"),t.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+i+"; }"));var o=e.getColor(Ns.k);o&&t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+o+"; }");var r=e.getColor(Ns.m);r&&t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+r+"; }");var s=e.getColor(Ns.Gb);s&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+s+"; }");var a=e.getColor(Ns.i);a&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+a+"; }")}));var yd=Object(ue.c)("themeService"),bd=n("fjLI"),Cd=n("bexQ"),wd=n("9XeP"),Sd=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ld=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Nd=function(e,t){return function(n,i){t(n,i,e)}},Od=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Dd=0,xd=!1;var Ed=function(e){function t(t,n,i,o,r,s,a,u,l,c){var d=this;return(n=n||{}).ariaLabel=n.ariaLabel||Co.editorViewAccessibleLabel,n.ariaLabel=n.ariaLabel+";"+(Yo.i?Co.accessibilityHelpMessageIE:Co.accessibilityHelpMessage),(d=e.call(this,t,n,{},i,o,r,s,u,l,c)||this)._standaloneKeybindingService=a instanceof Fo?a:null,xd||(xd=!0,Zo.b(document.body)),d}return Sd(t,e),t.prototype.addCommand=function(e,t,n){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;var i="DYNAMIC_"+ ++Dd,o=Zi.a.deserialize(n);return this._standaloneKeybindingService.addDynamicKeybinding(i,e,t,o),i},t.prototype.createContextKey=function(e,t){return this._contextKeyService.createKey(e,t)},t.prototype.addAction=function(e){var t=this;if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),le.a.None;var n=e.id,i=e.label,o=Zi.a.and(Zi.a.equals("editorId",this.getId()),Zi.a.deserialize(e.precondition)),r=e.keybindings,s=Zi.a.and(o,Zi.a.deserialize(e.keybindingContext)),a=e.contextMenuGroupId||null,u=e.contextMenuOrder||0,l=function(n){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return Promise.resolve(e.run.apply(e,Od([t],i)))},c=new le.b,d=this.getId()+":"+n;if(c.add(ae.a.registerCommand(d,l)),a){var h={command:{id:d,title:i},when:o,group:a,order:u};c.add(bd.c.appendMenuItem(7,h))}if(Array.isArray(r))for(var f=0,p=r;f<p.length;f++){var g=p[f];c.add(this._standaloneKeybindingService.addDynamicKeybinding(d,g,l,s))}var m=new bl(d,i,i,o,l,this._contextKeyService);return this._actions[n]=m,c.add(Object(le.f)((function(){delete t._actions[n]}))),c},t=Ld([Nd(2,ue.a),Nd(3,Y.a),Nd(4,ae.b),Nd(5,Zi.c),Nd(6,Cd.a),Nd(7,Ir.c),Nd(8,lo.a),Nd(9,Jl)],t)}(yc),kd=function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h,f){var p=this;Uo(h,n,!1);var g=c.registerEditorContainer(t);"string"==typeof(n=n||{}).theme&&c.setTheme(n.theme);var m,v=n.model;if(delete n.model,(p=e.call(this,t,n,o,r,s,a,u,c,d,f)||this)._contextViewService=l,p._configurationService=h,p._register(i),p._register(g),void 0===v?(m=self.monaco.editor.createModel(n.value||"",n.language||"text/plain"),p._ownsModel=!0):(m=v,p._ownsModel=!1),p._attachModel(m),m){var _={oldModelUrl:null,newModelUrl:m.uri};p._onDidChangeModel.fire(_)}return p}return Sd(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.updateOptions=function(t){Uo(this._configurationService,t,!1),e.prototype.updateOptions.call(this,t)},t.prototype._attachModel=function(t){e.prototype._attachModel.call(this,t),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)},t.prototype._postDetachModelCleanup=function(t){e.prototype._postDetachModelCleanup.call(this,t),t&&this._ownsModel&&(t.dispose(),this._ownsModel=!1)},t=Ld([Nd(3,ue.a),Nd(4,Y.a),Nd(5,ae.b),Nd(6,Zi.c),Nd(7,Cd.a),Nd(8,Xc.b),Nd(9,yd),Nd(10,lo.a),Nd(11,Pi),Nd(12,Jl)],t)}(Ed),Id=function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h,f,p,g){var m=this;Uo(h,n,!0);var v=c.registerEditorContainer(t);return"string"==typeof(n=n||{}).theme&&(n.theme=c.setTheme(n.theme)),(m=e.call(this,t,n,g,u,r,o,l,c,d,f,p)||this)._contextViewService=a,m._configurationService=h,m._register(i),m._register(v),m._contextViewService.setContainer(m._containerDomElement),m}return Sd(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.updateOptions=function(t){Uo(this._configurationService,t,!0),e.prototype.updateOptions.call(this,t)},t.prototype._createInnerEditor=function(e,t,n){return e.createInstance(Ed,t,n)},t.prototype.getOriginalEditor=function(){return e.prototype.getOriginalEditor.call(this)},t.prototype.getModifiedEditor=function(){return e.prototype.getModifiedEditor.call(this)},t.prototype.addCommand=function(e,t,n){return this.getModifiedEditor().addCommand(e,t,n)},t.prototype.createContextKey=function(e,t){return this.getModifiedEditor().createContextKey(e,t)},t.prototype.addAction=function(e){return this.getModifiedEditor().addAction(e)},t=Ld([Nd(3,ue.a),Nd(4,Zi.c),Nd(5,Cd.a),Nd(6,Xc.b),Nd(7,Fe),Nd(8,Y.a),Nd(9,yd),Nd(10,lo.a),Nd(11,Pi),Nd(12,Xc.a),Nd(13,td),Nd(14,Object(ue.d)(wd.a))],t)}(ad),Md=Object(ue.c)("IWorkspaceEditService"),Td=Object(ue.c)("modeService"),Ad=function(){function e(e){this._languageIdentifier=e}return e.prototype.getId=function(){return this._languageIdentifier.language},e}(),Rd=n("l2gE"),Pd=[],Fd=[],Vd=[];function Wd(e,t){void 0===t&&(t=!1);var n=function(e){return{id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:e.userConfigured,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?e.filepattern.toLowerCase():void 0,filepatternOnPath:!!e.filepattern&&e.filepattern.indexOf(te.posix.sep)>=0}}(e);Pd.push(n),n.userConfigured?Vd.push(n):Fd.push(n),t&&!n.userConfigured&&Pd.forEach((function(e){e.mime===n.mime||e.userConfigured||(n.extension&&e.extension===n.extension&&console.warn("Overwriting extension <<"+n.extension+">> to now point to mime <<"+n.mime+">>"),n.filename&&e.filename===n.filename&&console.warn("Overwriting filename <<"+n.filename+">> to now point to mime <<"+n.mime+">>"),n.filepattern&&e.filepattern===n.filepattern&&console.warn("Overwriting filepattern <<"+n.filepattern+">> to now point to mime <<"+n.mime+">>"),n.firstline&&e.firstline===n.firstline&&console.warn("Overwriting firstline <<"+n.firstline+">> to now point to mime <<"+n.mime+">>"))}))}function Bd(e,t){var n;if(e)switch(e.scheme){case $.b.file:n=e.fsPath;break;case $.b.data:n=Q.parseMetaData(e).get(Q.META_DATA_LABEL);break;default:n=e.path}if(!n)return["application/unknown"];n=n.toLowerCase();var i=Object(te.basename)(n),o=jd(n,i,Vd);if(o)return[o,"text/plain"];var r=jd(n,i,Fd);if(r)return[r,"text/plain"];if(t){var s=function(e){Object(ne.J)(e)&&(e=e.substr(1));if(e.length>0)for(var t=Pd.length-1;t>=0;t--){var n=Pd[t];if(n.firstline){var i=e.match(n.firstline);if(i&&i.length>0)return n.mime}}return null}(t);if(s)return[s,"text/plain"]}return["application/unknown"]}function jd(e,t,n){for(var i=null,o=null,r=null,s=n.length-1;s>=0;s--){var a=n[s];if(t===a.filenameLowercase){i=a;break}if(a.filepattern&&(!o||a.filepattern.length>o.filepattern.length)){var u=a.filepatternOnPath?e:t;Object(Rd.a)(a.filepatternLowercase,u)&&(o=a)}a.extension&&(!r||a.extension.length>r.extension.length)&&Object(ne.k)(t,a.extensionLowercase)&&(r=a)}return i?i.mime:o?o.mime:r?r.mime:null}var Hd=new(function(){function e(){this._onDidChangeLanguages=new W.a,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}return e.prototype.registerLanguage=function(e){this._languages.push(e),this._onDidChangeLanguages.fire(void 0)},e.prototype.getLanguages=function(){return[].concat(this._languages).concat(this._dynamicLanguages)},e}());Xn.a.add("editor.modesRegistry",Hd);var zd=new Re.q("plaintext",1);Hd.registerLanguage({id:"plaintext",extensions:[".txt",".gitignore"],aliases:[Zn.a("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),Ze.a.register(zd,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}});var Ud=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Kd=Object.prototype.hasOwnProperty,qd=function(e){function t(t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var i=e.call(this)||this;return i._onDidChange=i._register(new W.a),i.onDidChange=i._onDidChange.event,i._warnOnOverwrite=n,i._nextLanguageId2=1,i._languageIdToLanguage=[],i._languageToLanguageId=Object.create(null),i._languages={},i._mimeTypesMap={},i._nameMap={},i._lowercaseNameMap={},t&&(i._initializeFromRegistry(),i._register(Hd.onDidChangeLanguages((function(e){return i._initializeFromRegistry()})))),i}return Ud(t,e),t.prototype._initializeFromRegistry=function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var e=Hd.getLanguages();this._registerLanguages(e)},t.prototype._registerLanguages=function(e){for(var t=this,n=0,i=e;n<i.length;n++){var o=i[n];this._registerLanguage(o)}this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach((function(e){var n=t._languages[e];n.name&&(t._nameMap[n.name]=n.identifier),n.aliases.forEach((function(e){t._lowercaseNameMap[e.toLowerCase()]=n.identifier})),n.mimetypes.forEach((function(e){t._mimeTypesMap[e]=n.identifier}))})),Xn.a.as($n).registerOverrideIdentifiers(Hd.getLanguages().map((function(e){return e.id}))),this._onDidChange.fire()},t.prototype._getLanguageId=function(e){if(this._languageToLanguageId[e])return this._languageToLanguageId[e];var t=this._nextLanguageId2++;return this._languageIdToLanguage[t]=e,this._languageToLanguageId[e]=t,t},t.prototype._registerLanguage=function(e){var t,n=e.id;if(Kd.call(this._languages,n))t=this._languages[n];else{var i=this._getLanguageId(n);t={identifier:new Re.q(n,i),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[n]=t}this._mergeLanguage(t,e)},t.prototype._mergeLanguage=function(e,t){var n,i=t.id,o=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&((n=e.mimetypes).push.apply(n,t.mimetypes),o=t.mimetypes[0]),o||(o="text/x-"+i,e.mimetypes.push(o)),Array.isArray(t.extensions))for(var r=0,s=t.extensions;r<s.length;r++){var a=s[r];Wd({id:i,mime:o,extension:a},this._warnOnOverwrite),e.extensions.push(a)}if(Array.isArray(t.filenames))for(var u=0,l=t.filenames;u<l.length;u++){var c=l[u];Wd({id:i,mime:o,filename:c},this._warnOnOverwrite),e.filenames.push(c)}if(Array.isArray(t.filenamePatterns))for(var d=0,h=t.filenamePatterns;d<h.length;d++){Wd({id:i,mime:o,filepattern:h[d]},this._warnOnOverwrite)}if("string"==typeof t.firstLine&&t.firstLine.length>0){var f=t.firstLine;"^"!==f.charAt(0)&&(f="^"+f);try{var p=new RegExp(f);ne.F(p)||Wd({id:i,mime:o,firstline:p},this._warnOnOverwrite)}catch(e){Object(Be.e)(e)}}e.aliases.push(i);var g=null;if(void 0!==t.aliases&&Array.isArray(t.aliases)&&(g=0===t.aliases.length?[null]:t.aliases),null!==g)for(var m=0,v=g;m<v.length;m++){var _=v[m];_&&0!==_.length&&e.aliases.push(_)}var y=null!==g&&g.length>0;if(y&&null===g[0]);else{var b=(y?g[0]:null)||i;!y&&e.name||(e.name=b)}t.configuration&&e.configurationFiles.push(t.configuration)},t.prototype.isRegisteredMode=function(e){return!!Kd.call(this._mimeTypesMap,e)||Kd.call(this._languages,e)},t.prototype.getModeIdForLanguageNameLowercase=function(e){return Kd.call(this._lowercaseNameMap,e)?this._lowercaseNameMap[e].language:null},t.prototype.extractModeIds=function(e){var t=this;return e?e.split(",").map((function(e){return e.trim()})).map((function(e){return Kd.call(t._mimeTypesMap,e)?t._mimeTypesMap[e].language:e})).filter((function(e){return Kd.call(t._languages,e)})):[]},t.prototype.getLanguageIdentifier=function(e){if(e===Pe.b||0===e)return Pe.a;var t;if("string"==typeof e)t=e;else if(!(t=this._languageIdToLanguage[e]))return null;return Kd.call(this._languages,t)?this._languages[t].identifier:null},t.prototype.getModeIdsFromFilepathOrFirstLine=function(e,t){if(!e&&!t)return[];var n=Bd(e,t);return this.extractModeIds(n.join(","))},t}(le.a),Gd=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Yd=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidChange=i._register(new W.a),i.onDidChange=i._onDidChange.event,i._selector=n,i.languageIdentifier=i._selector(),i._register(t((function(){return i._evaluate()}))),i}return Gd(t,e),t.prototype._evaluate=function(){var e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))},t}(le.a),Zd=function(){function e(e){var t=this;void 0===e&&(e=!1),this._onDidCreateMode=new W.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new W.a,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new qd(!0,e),this._registry.onDidChange((function(){return t._onLanguagesMaybeChanged.fire()}))}return e.prototype.isRegisteredMode=function(e){return this._registry.isRegisteredMode(e)},e.prototype.getModeIdForLanguageName=function(e){return this._registry.getModeIdForLanguageNameLowercase(e)},e.prototype.getModeIdByFilepathOrFirstLine=function(e,t){var n=this._registry.getModeIdsFromFilepathOrFirstLine(e,t);return Object(Xe.i)(n,null)},e.prototype.getModeId=function(e){var t=this._registry.extractModeIds(e);return Object(Xe.i)(t,null)},e.prototype.getLanguageIdentifier=function(e){return this._registry.getLanguageIdentifier(e)},e.prototype.create=function(e){var t=this;return new Yd(this.onLanguagesMaybeChanged,(function(){var n=t.getModeId(e);return t._createModeAndGetLanguageIdentifier(n)}))},e.prototype.createByFilepathOrFirstLine=function(e,t){var n=this;return new Yd(this.onLanguagesMaybeChanged,(function(){var i=n.getModeIdByFilepathOrFirstLine(e,t);return n._createModeAndGetLanguageIdentifier(i)}))},e.prototype._createModeAndGetLanguageIdentifier=function(e){var t=this.getLanguageIdentifier(e||"plaintext")||Pe.a;return this._getOrCreateMode(t.language),t},e.prototype.triggerMode=function(e){var t=this.getModeId(e);this._getOrCreateMode(t||"plaintext")},e.prototype._getOrCreateMode=function(e){if(!this._instantiatedModes.hasOwnProperty(e)){var t=this.getLanguageIdentifier(e)||Pe.a;this._instantiatedModes[e]=new Ad(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]},e}(),Xd=n("QRHv"),Jd=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Qd=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},$d=function(e,t){return function(n,i){t(n,i,e)}};function eh(e){return e.toString()}var th=function(){function e(e,t,n){this._modelEventListeners=new le.b,this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(e.onWillDispose((function(){return t(e)}))),this._modelEventListeners.add(e.onDidChangeLanguage((function(t){return n(e,t)})))}return e.prototype._disposeLanguageSelection=function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)},e.prototype.dispose=function(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()},e.prototype.setLanguage=function(e){var t=this;this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange((function(){return t.model.setMode(e.languageIdentifier)})),this.model.setMode(e.languageIdentifier)},e}(),nh=ie.d||ie.e?1:2,ih=function(e){function t(t,n,i,o){var r=e.call(this)||this;return r._onModelAdded=r._register(new W.a),r.onModelAdded=r._onModelAdded.event,r._onModelRemoved=r._register(new W.a),r.onModelRemoved=r._onModelRemoved.event,r._onModelModeChanged=r._register(new W.a),r.onModelModeChanged=r._onModelModeChanged.event,r._configurationService=t,r._resourcePropertiesService=n,r._models={},r._modelCreationOptionsByLanguageAndResource=Object.create(null),r._configurationServiceSubscription=r._configurationService.onDidChangeConfiguration((function(e){return r._updateModelOptions()})),r._updateModelOptions(),r._register(new oh(r,i,t,o)),r}return Jd(t,e),t._readModelOptions=function(e,t){var n=F.c.tabSize;if(e.editor&&void 0!==e.editor.tabSize){var i=parseInt(e.editor.tabSize,10);isNaN(i)||(n=i),n<1&&(n=1)}var o=n;if(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize){var r=parseInt(e.editor.indentSize,10);isNaN(r)||(o=r),o<1&&(o=1)}var s=F.c.insertSpaces;e.editor&&void 0!==e.editor.insertSpaces&&(s="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces));var a=nh,u=e.eol;"\r\n"===u?a=2:"\n"===u&&(a=1);var l=F.c.trimAutoWhitespace;e.editor&&void 0!==e.editor.trimAutoWhitespace&&(l="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace));var c=F.c.detectIndentation;e.editor&&void 0!==e.editor.detectIndentation&&(c="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation));var d=F.c.largeFileOptimizations;return e.editor&&void 0!==e.editor.largeFileOptimizations&&(d="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations)),{isForSimpleWidget:t,tabSize:n,indentSize:o,insertSpaces:s,detectIndentation:c,defaultEOL:a,trimAutoWhitespace:l,largeFileOptimizations:d}},t.prototype.getCreationOptions=function(e,n,i){var o=this._modelCreationOptionsByLanguageAndResource[e+n];if(!o){var r=this._configurationService.getValue("editor",{overrideIdentifier:e,resource:n}),s=this._resourcePropertiesService.getEOL(n,e);o=t._readModelOptions({editor:r,eol:s},i),this._modelCreationOptionsByLanguageAndResource[e+n]=o}return o},t.prototype._updateModelOptions=function(){var e=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var n=Object.keys(this._models),i=0,o=n.length;i<o;i++){var r=n[i],s=this._models[r],a=s.model.getLanguageIdentifier().language,u=s.model.uri,l=e[a+u],c=this.getCreationOptions(a,u,s.model.isForSimpleWidget);t._setModelOptionsForModel(s.model,c,l)}},t._setModelOptionsForModel=function(e,t,n){n&&n.defaultEOL!==t.defaultEOL&&1===e.getLineCount()&&e.setEOL(1===t.defaultEOL?0:1),n&&n.detectIndentation===t.detectIndentation&&n.insertSpaces===t.insertSpaces&&n.tabSize===t.tabSize&&n.indentSize===t.indentSize&&n.trimAutoWhitespace===t.trimAutoWhitespace||(t.detectIndentation?(e.detectIndentation(t.insertSpaces,t.tabSize),e.updateOptions({trimAutoWhitespace:t.trimAutoWhitespace})):e.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.indentSize,trimAutoWhitespace:t.trimAutoWhitespace}))},t.prototype.dispose=function(){this._configurationServiceSubscription.dispose(),e.prototype.dispose.call(this)},t.prototype._createModelData=function(e,t,n,i){var o=this,r=this.getCreationOptions(t.language,n,i),s=new Il.b(e,r,t,n),a=eh(s.uri);if(this._models[a])throw new Error("ModelService: Cannot add model because it already exists!");var u=new th(s,(function(e){return o._onWillDispose(e)}),(function(e,t){return o._onDidChangeLanguage(e,t)}));return this._models[a]=u,u},t.prototype.createModel=function(e,t,n,i){var o;return void 0===i&&(i=!1),t?(o=this._createModelData(e,t.languageIdentifier,n,i),this.setMode(o.model,t)):o=this._createModelData(e,zd,n,i),this._onModelAdded.fire(o.model),o.model},t.prototype.setMode=function(e,t){if(t){var n=this._models[eh(e.uri)];n&&n.setLanguage(t)}},t.prototype.getModels=function(){for(var e=[],t=Object.keys(this._models),n=0,i=t.length;n<i;n++){var o=t[n];e.push(this._models[o].model)}return e},t.prototype.getModel=function(e){var t=eh(e),n=this._models[t];return n?n.model:null},t.prototype._onWillDispose=function(e){var t=eh(e.uri),n=this._models[t];delete this._models[t],n.dispose(),delete this._modelCreationOptionsByLanguageAndResource[e.getLanguageIdentifier().language+e.uri],this._onModelRemoved.fire(e)},t.prototype._onDidChangeLanguage=function(e,n){var i=n.oldLanguage,o=e.getLanguageIdentifier().language,r=this.getCreationOptions(i,e.uri,e.isForSimpleWidget),s=this.getCreationOptions(o,e.uri,e.isForSimpleWidget);t._setModelOptionsForModel(e,s,r),this._onModelModeChanged.fire({model:e,oldModeId:i})},t=Qd([$d(0,Pi),$d(1,Ft),$d(2,Ir.c),$d(3,Vt)],t)}(le.a),oh=function(e){function t(n,i,o,r){var s=e.call(this)||this;s._configurationService=o,s._watchers=Object.create(null),s._semanticStyling=s._register(new rh(i,r));var a=function(e){var n=o.getValue(t.SETTING_ID,{overrideIdentifier:e.getLanguageIdentifier().language,resource:e.uri});return n&&n.enabled},u=function(e){s._watchers[e.uri.toString()]=new ch(e,i,s._semanticStyling)},l=function(e,t){t.dispose(),delete s._watchers[e.uri.toString()]};return s._register(n.onModelAdded((function(e){a(e)&&u(e)}))),s._register(n.onModelRemoved((function(e){var t=s._watchers[e.uri.toString()];t&&l(e,t)}))),s._configurationService.onDidChangeConfiguration((function(e){if(e.affectsConfiguration(t.SETTING_ID))for(var i=0,o=n.getModels();i<o.length;i++){var r=o[i],c=s._watchers[r.uri.toString()];a(r)?c||u(r):c&&l(r,c)}})),s}return Jd(t,e),t.SETTING_ID="editor.semanticHighlighting",t}(le.a),rh=function(e){function t(t,n){var i=e.call(this)||this;return i._themeService=t,i._logService=n,i._caches=new WeakMap,i._themeService&&i._register(i._themeService.onThemeChange((function(){i._caches=new WeakMap}))),i}return Jd(t,e),t.prototype.get=function(e){return this._caches.has(e)||this._caches.set(e,new uh(e.getLegend(),this._themeService,this._logService)),this._caches.get(e)},t}(le.a),sh=function(e,t,n){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.metadata=n,this.next=null},ah=function(){function e(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=e._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<e._SIZES.length?2/3*this._currentLength:0),this._elements=[],e._nullOutEntries(this._elements,this._currentLength)}return e._nullOutEntries=function(e,t){for(var n=0;n<t;n++)e[n]=null},e.prototype._hashFunc=function(e,t){return((e<<5)-e+t|0)%this._currentLength},e.prototype.get=function(e,t){for(var n=this._hashFunc(e,t),i=this._elements[n];i;){if(i.tokenTypeIndex===e&&i.tokenModifierSet===t)return i;i=i.next}return null},e.prototype.add=function(t,n,i){if(this._elementsCount++,0!==this._growCount&&this._elementsCount>=this._growCount){var o=this._elements;this._currentLengthIndex++,this._currentLength=e._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<e._SIZES.length?2/3*this._currentLength:0),this._elements=[],e._nullOutEntries(this._elements,this._currentLength);for(var r=0,s=o;r<s.length;r++)for(var a=s[r];a;){var u=a.next;a.next=null,this._add(a),a=u}}this._add(new sh(t,n,i))},e.prototype._add=function(e){var t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet);e.next=this._elements[t],this._elements[t]=e},e._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143],e}(),uh=function(){function e(e,t,n){this._legend=e,this._themeService=t,this._logService=n,this._hashTable=new ah}return e.prototype.getMetadata=function(e,t){var n,i=this._hashTable.get(e,t);if(i)n=i.metadata;else{for(var o=this._legend.tokenTypes[e],r=[],s=t,a=0;s>0&&a<this._legend.tokenModifiers.length;a++)1&s&&r.push(this._legend.tokenModifiers[a]),s>>=1;var u=this._themeService.getTheme().getTokenStyleMetadata(o,r);if(void 0===u)n=2147483647;else{if(n=0,void 0!==u.italic)n|=1|(u.italic?1:0)<<11;if(void 0!==u.bold)n|=2|(u.bold?2:0)<<11;if(void 0!==u.underline)n|=4|(u.underline?4:0)<<11;if(u.foreground)n|=8|u.foreground<<14;0===n&&(n=2147483647)}this._hashTable.add(e,t,n)}if(this._logService.getLevel()===At.Trace){var l=this._legend.tokenTypes[e],c=t?" "+this._legend.tokenModifiers.filter((function(e,n){return t&1<<n})).join(" "):"";this._logService.trace("tokenStyleMetadata "+(i?"[CACHED] ":"")+l+c+": foreground "+Re.x.getForeground(n)+", fontStyle "+Re.x.getFontStyle(n).toString(2))}return n},e}(),lh=function(){function e(e,t,n){this._provider=e,this.resultId=t,this.data=n}return e.prototype.dispose=function(){this._provider.releaseDocumentSemanticTokens(this.resultId)},e}(),ch=function(e){function t(t,n,i){var o=e.call(this)||this;return o._isDisposed=!1,o._model=t,o._semanticStyling=i,o._fetchSemanticTokens=o._register(new We.d((function(){return o._fetchSemanticTokensNow()}),300)),o._currentResponse=null,o._currentRequestCancellationTokenSource=null,o._register(o._model.onDidChangeContent((function(e){o._fetchSemanticTokens.isScheduled()||o._fetchSemanticTokens.schedule()}))),o._register(Re.k.onDidChange((function(e){return o._fetchSemanticTokens.schedule()}))),n&&o._register(n.onThemeChange((function(e){o._setSemanticTokens(null,null,null,[]),o._fetchSemanticTokens.schedule()}))),o._fetchSemanticTokens.schedule(0),o}return Jd(t,e),t.prototype.dispose=function(){this._currentResponse&&(this._currentResponse.dispose(),this._currentResponse=null),this._currentRequestCancellationTokenSource&&(this._currentRequestCancellationTokenSource.cancel(),this._currentRequestCancellationTokenSource=null),this._setSemanticTokens(null,null,null,[]),this._isDisposed=!0,e.prototype.dispose.call(this)},t.prototype._fetchSemanticTokensNow=function(){var e=this;if(!this._currentRequestCancellationTokenSource){var t=this._getSemanticColoringProvider();if(t){this._currentRequestCancellationTokenSource=new V.a;var n=[],i=this._model.onDidChangeContent((function(e){n.push(e)})),o=this._semanticStyling.get(t),r=this._currentResponse&&this._currentResponse.resultId||null;Promise.resolve(t.provideDocumentSemanticTokens(this._model,r,this._currentRequestCancellationTokenSource.token)).then((function(r){e._currentRequestCancellationTokenSource=null,i.dispose(),e._setSemanticTokens(t,r||null,o,n)}),(function(t){t&&"string"==typeof t.message&&-1!==t.message.indexOf("busy")||Be.e(t),e._currentRequestCancellationTokenSource=null,i.dispose(),n.length>0&&(e._fetchSemanticTokens.isScheduled()||e._fetchSemanticTokens.schedule())}))}}},t._isSemanticTokens=function(e){return e&&!!e.data},t._isSemanticTokensEdits=function(e){return e&&Array.isArray(e.edits)},t._copy=function(e,t,n,i,o){for(var r=0;r<o;r++)n[i+r]=e[t+r]},t.prototype._setSemanticTokens=function(e,n,i,o){var r=this._currentResponse;if(this._currentResponse&&(this._currentResponse.dispose(),this._currentResponse=null),this._isDisposed)e&&n&&e.releaseDocumentSemanticTokens(n.resultId);else if(e&&n&&i){if(t._isSemanticTokensEdits(n)){if(!r)return void this._model.setSemanticTokens(null);if(0===n.edits.length)n={resultId:n.resultId,data:r.data};else{for(var s=0,a=0,u=n.edits;a<u.length;a++){s+=((p=u[a]).data?p.data.length:0)-p.deleteCount}for(var l=r.data,c=new Uint32Array(l.length+s),d=l.length,h=c.length,f=n.edits.length-1;f>=0;f--){var p,g=d-((p=n.edits[f]).start+p.deleteCount);g>0&&(t._copy(l,d-g,c,h-g,g),h-=g),p.data&&(t._copy(p.data,0,c,h-p.data.length,p.data.length),h-=p.data.length),d=p.start}d>0&&t._copy(l,0,c,0,d),n={resultId:n.resultId,data:c}}}if(t._isSemanticTokens(n)){this._currentResponse=new lh(e,n.resultId,n.data);l=n.data;for(var m=n.data.length/5|0,v=Math.max(Math.ceil(m/1024),400),_=[],y=0,b=1,C=0;y<m;){var w=y,S=Math.min(w+v,m);if(S<m){for(var L=S;L-1>w&&0===l[5*L];)L--;if(L-1===w){for(var N=S;N+1<m&&0===l[5*N];)N++;S=N}else S=L}c=new Uint32Array(4*(S-w));for(var O=0,D=0;y<S;){var x=5*y,E=l[x],k=l[x+1],I=b+E,M=0===E?C+k:k,T=l[x+2],A=l[x+3],R=l[x+4],P=i.getMetadata(A,R);2147483647!==P&&(0===D&&(D=I),c[O]=I-D,c[O+1]=M,c[O+2]=M+T,c[O+3]=P,O+=4),b=I,C=M,y++}O!==c.length&&(c=c.subarray(0,O));var F=new Xd.a(D,new Xd.c(c));_.push(F)}if(o.length>0){for(var V=0,W=o;V<W.length;V++)for(var B=W[V],j=0,H=_;j<H.length;j++)for(var z=H[j],U=0,K=B.changes;U<K.length;U++){var q=K[U];z.applyEdit(q.range,q.text)}this._fetchSemanticTokens.isScheduled()||this._fetchSemanticTokens.schedule()}this._model.setSemanticTokens(_)}else this._model.setSemanticTokens(null)}else this._model.setSemanticTokens(null)},t.prototype._getSemanticColoringProvider=function(){var e=Re.k.ordered(this._model);return e.length>0?e[0]:null},t}(le.a),dh=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),hh=function(e){function t(){var t=e.call(this)||this;return t._onCodeEditorAdd=t._register(new W.a),t.onCodeEditorAdd=t._onCodeEditorAdd.event,t._onCodeEditorRemove=t._register(new W.a),t.onCodeEditorRemove=t._onCodeEditorRemove.event,t._onDiffEditorAdd=t._register(new W.a),t._onDiffEditorRemove=t._register(new W.a),t._codeEditors=Object.create(null),t._diffEditors=Object.create(null),t}return dh(t,e),t.prototype.addCodeEditor=function(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)},t.prototype.removeCodeEditor=function(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)},t.prototype.listCodeEditors=function(){var e=this;return Object.keys(this._codeEditors).map((function(t){return e._codeEditors[t]}))},t.prototype.addDiffEditor=function(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)},t.prototype.removeDiffEditor=function(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)},t.prototype.listDiffEditors=function(){var e=this;return Object.keys(this._diffEditors).map((function(t){return e._diffEditors[t]}))},t.prototype.getFocusedCodeEditor=function(){for(var e=null,t=0,n=this.listCodeEditors();t<n.length;t++){var i=n[t];if(i.hasTextFocus())return i;i.hasWidgetFocus()&&(e=i)}return e},t}(le.a),fh=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ph=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},gh=function(e,t){return function(n,i){t(n,i,e)}},mh=function(){function e(e,t,n){this._parent=e,this._editorId=t,this.styleSheet=n,this._refCount=0}return e.prototype.ref=function(){this._refCount++},e.prototype.unref=function(){var e;this._refCount--,0===this._refCount&&(null===(e=this.styleSheet.parentNode)||void 0===e||e.removeChild(this.styleSheet),this._parent._removeEditorStyleSheets(this._editorId))},e}(),vh=function(){function e(e){this.styleSheet=e}return e.prototype.ref=function(){},e.prototype.unref=function(){},e}(),_h=function(e){function t(t,n){void 0===n&&(n=null);var i=e.call(this)||this;return i._decorationOptionProviders=new Map,i._editorStyleSheets=new Map,i._globalStyleSheet=n?new vh(n):null,i._themeService=t,i}return fh(t,e),t.prototype._getOrCreateGlobalStyleSheet=function(){return this._globalStyleSheet||(this._globalStyleSheet=new vh(Z.q())),this._globalStyleSheet},t.prototype._getOrCreateStyleSheet=function(e){if(!e)return this._getOrCreateGlobalStyleSheet();var t=e.getContainerDomNode();if(!Z.H(t))return this._getOrCreateGlobalStyleSheet();var n=e.getId();if(!this._editorStyleSheets.has(n)){var i=new mh(this,n,Z.q(t));this._editorStyleSheets.set(n,i)}return this._editorStyleSheets.get(n)},t.prototype._removeEditorStyleSheets=function(e){this._editorStyleSheets.delete(e)},t.prototype.registerDecorationType=function(e,t,n,i){var o=this._decorationOptionProviders.get(e);if(!o){var r=this._getOrCreateStyleSheet(i),s={styleSheet:r.styleSheet,key:e,parentTypeKey:n,options:t||Object.create(null)};o=n?new yh(this._themeService,r,s):new bh(this._themeService,r,s),this._decorationOptionProviders.set(e,o)}o.refCount++},t.prototype.removeDecorationType=function(e){var t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach((function(t){return t.removeDecorations(e)}))))},t.prototype.resolveDecorationOptions=function(e,t){var n=this._decorationOptionProviders.get(e);if(!n)throw new Error("Unknown decoration type key: "+e);return n.getOptions(this,t)},t=ph([gh(0,Ir.c)],t)}(hh),yh=function(){function e(e,t,n){this._styleSheet=t,this._styleSheet.ref(),this._parentTypeKey=n.parentTypeKey,this.refCount=0,this._beforeContentRules=new wh(3,n,e),this._afterContentRules=new wh(4,n,e)}return e.prototype.getOptions=function(e,t){var n=e.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(n.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(n.afterContentClassName=this._afterContentRules.className),n},e.prototype.dispose=function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()},e}(),bh=function(){function e(e,t,n){var i=this;this._disposables=new le.b,this._styleSheet=t,this._styleSheet.ref(),this.refCount=0;var o=function(t){var o=new wh(t,n,e);if(i._disposables.add(o),o.hasContent)return o.className};this.className=o(0);var r,s=(r=new wh(1,n,e),i._disposables.add(r),r.hasContent?{className:r.className,hasLetterSpacing:r.hasLetterSpacing}:null);s&&(this.inlineClassName=s.className,this.inlineClassNameAffectsLetterSpacing=s.hasLetterSpacing),this.beforeContentClassName=o(3),this.afterContentClassName=o(4),this.glyphMarginClassName=o(2);var a=n.options;this.isWholeLine=Boolean(a.isWholeLine),this.stickiness=a.rangeBehavior;var u=a.light&&a.light.overviewRulerColor||a.overviewRulerColor,l=a.dark&&a.dark.overviewRulerColor||a.overviewRulerColor;void 0===u&&void 0===l||(this.overviewRuler={color:u||l,darkColor:l||u,position:a.overviewRulerLane||Ae.d.Center})}return e.prototype.getOptions=function(e,t){return t?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this},e.prototype.dispose=function(){this._disposables.dispose(),this._styleSheet.unref()},e}(),Ch={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"},wh=function(){function e(e,t,n){var i=this;this._theme=n.getTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var o=Sh.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(o=o+" "+Sh.getClassName(this._providerArgs.parentTypeKey,e)),this._className=o,this._unThemedSelector=Sh.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._usesThemeColors?this._themeListener=n.onThemeChange((function(e){i._theme=n.getTheme(),i._removeCSS(),i._buildCSS()})):this._themeListener=null}return e.prototype.dispose=function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)},Object.defineProperty(e.prototype,"hasContent",{get:function(){return this._hasContent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasLetterSpacing",{get:function(){return this._hasLetterSpacing},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},enumerable:!0,configurable:!0}),e.prototype._buildCSS=function(){var e,t,n,i=this._providerArgs.options;switch(this._ruleType){case 0:e=this.getCSSTextForModelDecorationClassName(i),t=this.getCSSTextForModelDecorationClassName(i.light),n=this.getCSSTextForModelDecorationClassName(i.dark);break;case 1:e=this.getCSSTextForModelDecorationInlineClassName(i),t=this.getCSSTextForModelDecorationInlineClassName(i.light),n=this.getCSSTextForModelDecorationInlineClassName(i.dark);break;case 2:e=this.getCSSTextForModelDecorationGlyphMarginClassName(i),t=this.getCSSTextForModelDecorationGlyphMarginClassName(i.light),n=this.getCSSTextForModelDecorationGlyphMarginClassName(i.dark);break;case 3:e=this.getCSSTextForModelDecorationContentClassName(i.before),t=this.getCSSTextForModelDecorationContentClassName(i.light&&i.light.before),n=this.getCSSTextForModelDecorationContentClassName(i.dark&&i.dark.before);break;case 4:e=this.getCSSTextForModelDecorationContentClassName(i.after),t=this.getCSSTextForModelDecorationContentClassName(i.light&&i.light.after),n=this.getCSSTextForModelDecorationContentClassName(i.dark&&i.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var o=this._providerArgs.styleSheet.sheet,r=!1;e.length>0&&(o.insertRule(this._unThemedSelector+" {"+e+"}",0),r=!0),t.length>0&&(o.insertRule(".vs"+this._unThemedSelector+" {"+t+"}",0),r=!0),n.length>0&&(o.insertRule(".vs-dark"+this._unThemedSelector+", .hc-black"+this._unThemedSelector+" {"+n+"}",0),r=!0),this._hasContent=r},e.prototype._removeCSS=function(){Z.I(this._unThemedSelector,this._providerArgs.styleSheet)},e.prototype.getCSSTextForModelDecorationClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["backgroundColor"],t),this.collectCSSText(e,["outline","outlineColor","outlineStyle","outlineWidth"],t),this.collectBorderSettingsCSSText(e,t),t.join("")},e.prototype.getCSSTextForModelDecorationInlineClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],t),e.letterSpacing&&(this._hasLetterSpacing=!0),t.join("")},e.prototype.getCSSTextForModelDecorationContentClassName=function(e){if(!e)return"";var t=[];if(void 0!==e){if(this.collectBorderSettingsCSSText(e,t),void 0!==e.contentIconPath&&t.push(ne.p(Ch.contentIconPath,Z.n(j.a.revive(e.contentIconPath)))),"string"==typeof e.contentText){var n=e.contentText.match(/^.*$/m)[0].replace(/['\\]/g,"\\$&");t.push(ne.p(Ch.contentText,n))}this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],t),this.collectCSSText(e,["width","height"],t)&&t.push("display:inline-block;")}return t.join("")},e.prototype.getCSSTextForModelDecorationGlyphMarginClassName=function(e){if(!e)return"";var t=[];return void 0!==e.gutterIconPath&&(t.push(ne.p(Ch.gutterIconPath,Z.n(j.a.revive(e.gutterIconPath)))),void 0!==e.gutterIconSize&&t.push(ne.p(Ch.gutterIconSize,e.gutterIconSize))),t.join("")},e.prototype.collectBorderSettingsCSSText=function(e,t){return!!this.collectCSSText(e,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],t)&&(t.push(ne.p("box-sizing: border-box;")),!0)},e.prototype.collectCSSText=function(e,t,n){for(var i=n.length,o=0,r=t;o<r.length;o++){var s=r[o],a=this.resolveValue(e[s]);"string"==typeof a&&n.push(ne.p(Ch[s],a))}return n.length!==i},e.prototype.resolveValue=function(e){if(Object(Te.c)(e)){this._usesThemeColors=!0;var t=this._theme.getColor(e.id);return t?t.toString():"transparent"}return e},e}(),Sh=function(){function e(){}return e.getClassName=function(e,t){return"ced-"+e+"-"+t},e.getSelector=function(e,t,n){var i=".monaco-editor ."+this.getClassName(e,n);return t&&(i=i+"."+this.getClassName(t,n)),3===n?i+="::before":4===n&&(i+="::after"),i},e}(),Lh=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Nh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Lh(t,e),t.prototype.getActiveCodeEditor=function(){return null},t.prototype.openCodeEditor=function(e,t,n){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)},t.prototype.doOpenEditor=function(e,t){if(!this.findModel(e,t.resource)){if(t.resource){var n=t.resource.scheme;if(n===$.b.http||n===$.b.https)return Object(Z.U)(t.resource.toString()),e}return null}var i=t.options?t.options.selection:null;if(i)if("number"==typeof i.endLineNumber&&"number"==typeof i.endColumn)e.setSelection(i),e.revealRangeInCenter(i,1);else{var o={lineNumber:i.startLineNumber,column:i.startColumn};e.setPosition(o),e.revealPositionInCenter(o,1)}return e},t.prototype.findModel=function(e,t){var n=e.getModel();return n&&n.uri.toString()!==t.toString()?null:n},t}(_h),Oh=function(e,t,n,i,o){this.token=e,this.index=t,this.fontStyle=n,this.foreground=i,this.background=o};function Dh(e,t){e.sort((function(e,t){var n=function(e,t){if(e<t)return-1;if(e>t)return 1;return 0}(e.token,t.token);return 0!==n?n:e.index-t.index}));for(var n=0,i="000000",o="ffffff";e.length>=1&&""===e[0].token;){var r=e.shift();-1!==r.fontStyle&&(n=r.fontStyle),null!==r.foreground&&(i=r.foreground),null!==r.background&&(o=r.background)}for(var s=new Eh,a=0,u=t;a<u.length;a++){var l=u[a];s.getId(l)}for(var c=s.getId(i),d=s.getId(o),h=new Rh(n,c,d),f=new Ph(h),p=0,g=e.length;p<g;p++){var m=e[p];f.insert(m.token,m.fontStyle,s.getId(m.foreground),s.getId(m.background))}return new kh(s,f)}var xh=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,Eh=function(){function e(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}return e.prototype.getId=function(e){if(null===e)return 0;var t=e.match(xh);if(!t)throw new Error("Illegal value for token color: "+e);e=t[1].toUpperCase();var n=this._color2id.get(e);return n||(n=++this._lastColorId,this._color2id.set(e,n),this._id2color[n]=Ls.a.fromHex("#"+e),n)},e.prototype.getColorMap=function(){return this._id2color.slice(0)},e}(),kh=function(){function e(e,t){this._colorMap=e,this._root=t,this._cache=new Map}return e.createFromRawTokenTheme=function(e,t){return this.createFromParsedTokenTheme(function(e){if(!e||!Array.isArray(e))return[];for(var t=[],n=0,i=0,o=e.length;i<o;i++){var r=e[i],s=-1;if("string"==typeof r.fontStyle){s=0;for(var a=r.fontStyle.split(" "),u=0,l=a.length;u<l;u++){switch(a[u]){case"italic":s|=1;break;case"bold":s|=2;break;case"underline":s|=4}}}var c=null;"string"==typeof r.foreground&&(c=r.foreground);var d=null;"string"==typeof r.background&&(d=r.background),t[n++]=new Oh(r.token||"",i,s,c,d)}return t}(e),t)},e.createFromParsedTokenTheme=function(e,t){return Dh(e,t)},e.prototype.getColorMap=function(){return this._colorMap.getColorMap()},e.prototype._match=function(e){return this._root.match(e)},e.prototype.match=function(e,t){var n=this._cache.get(t);if(void 0===n){var i=this._match(t),o=function(e){var t=e.match(Ih);if(!t)return 0;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}(t);n=(i.metadata|o<<8)>>>0,this._cache.set(t,n)}return(n|e<<0)>>>0},e}(),Ih=/\b(comment|string|regex|regexp)\b/;var Mh,Th,Ah,Rh=function(){function e(e,t,n){this._fontStyle=e,this._foreground=t,this._background=n,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}return e.prototype.clone=function(){return new e(this._fontStyle,this._foreground,this._background)},e.prototype.acceptOverwrite=function(e,t,n){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==n&&(this._background=n),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0},e}(),Ph=function(){function e(e){this._mainRule=e,this._children=new Map}return e.prototype.match=function(e){if(""===e)return this._mainRule;var t,n,i=e.indexOf(".");-1===i?(t=e,n=""):(t=e.substring(0,i),n=e.substring(i+1));var o=this._children.get(t);return void 0!==o?o.match(n):this._mainRule},e.prototype.insert=function(t,n,i,o){if(""!==t){var r,s,a=t.indexOf(".");-1===a?(r=t,s=""):(r=t.substring(0,a),s=t.substring(a+1));var u=this._children.get(r);void 0===u&&(u=new e(this._mainRule.clone()),this._children.set(r,u)),u.insert(s,n,i,o)}else this._mainRule.acceptOverwrite(n,i,o)},e}();var Fh={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(Mh={},Mh[Ns.n]="#FFFFFE",Mh[Ns.w]="#000000",Mh[Ns.z]="#E5EBF1",Mh[Rs]="#D3D3D3",Mh[Ps]="#939393",Mh[Ns.E]="#ADD6FF4D",Mh)},Vh={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(Th={},Th[Ns.n]="#1E1E1E",Th[Ns.w]="#D4D4D4",Th[Ns.z]="#3A3D41",Th[Rs]="#404040",Th[Ps]="#707070",Th[Ns.E]="#ADD6FF26",Th)},Wh={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(Ah={},Ah[Ns.n]="#000000",Ah[Ns.w]="#FFFFFF",Ah[Rs]="#FFFFFF",Ah[Ps]="#FFFFFF",Ah)},Bh=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),jh=Xn.a.as(Ns.a.ColorContribution),Hh=Xn.a.as(Ir.a.ThemingContribution),zh=function(){function e(e,t){this.themeData=t;var n=t.base;e.length>0?(this.id=n+" "+e,this.themeName=e):(this.id=n,this.themeName=n),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}return Object.defineProperty(e.prototype,"base",{get:function(){return this.themeData.base},enumerable:!0,configurable:!0}),e.prototype.notifyBaseUpdated=function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)},e.prototype.getColors=function(){if(!this.colors){var e=new Map;for(var t in this.themeData.colors)e.set(t,Ls.a.fromHex(this.themeData.colors[t]));if(this.themeData.inherit){var n=Kh(this.themeData.base);for(var t in n.colors)e.has(t)||e.set(t,Ls.a.fromHex(n.colors[t]))}this.colors=e}return this.colors},e.prototype.getColor=function(e,t){var n=this.getColors().get(e);return n||(!1!==t?this.getDefault(e):void 0)},e.prototype.getDefault=function(e){var t=this.defaultColors[e];return t||(t=jh.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)},e.prototype.defines=function(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)},Object.defineProperty(e.prototype,"type",{get:function(){switch(this.base){case"vs":return"light";case"hc-black":return"hc";default:return"dark"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tokenTheme",{get:function(){if(!this._tokenTheme){var e=[],t=[];if(this.themeData.inherit){var n=Kh(this.themeData.base);e=n.rules,n.encodedTokensColors&&(t=n.encodedTokensColors)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=kh.createFromRawTokenTheme(e,t)}return this._tokenTheme},enumerable:!0,configurable:!0}),e.prototype.getTokenStyleMetadata=function(e,t){},e}();function Uh(e){return"vs"===e||"vs-dark"===e||"hc-black"===e}function Kh(e){switch(e){case"vs":return Fh;case"vs-dark":return Vh;case"hc-black":return Wh}}function qh(e){var t=Kh(e);return new zh(e,t)}var Gh=function(e){function t(){var t=e.call(this)||this;return t._onThemeChange=t._register(new W.a),t.onThemeChange=t._onThemeChange.event,t._environment=Object.create(null),t._knownThemes=new Map,t._knownThemes.set("vs",qh("vs")),t._knownThemes.set("vs-dark",qh("vs-dark")),t._knownThemes.set("hc-black",qh("hc-black")),t._css="",t._globalStyleElement=null,t._styleElements=[],t.setTheme("vs"),t}return Bh(t,e),t.prototype.registerEditorContainer=function(e){return Z.H(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()},t.prototype._registerRegularEditorContainer=function(){return this._globalStyleElement||(this._globalStyleElement=Z.q(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._css,this._styleElements.push(this._globalStyleElement)),le.a.None},t.prototype._registerShadowDomContainer=function(e){var t=this,n=Z.q(e);return n.className="monaco-colors",n.innerHTML=this._css,this._styleElements.push(n),{dispose:function(){for(var e=0;e<t._styleElements.length;e++)if(t._styleElements[e]===n)return void t._styleElements.splice(e,1)}}},t.prototype.defineTheme=function(e,t){if(!/^[a-z0-9\-]+$/i.test(e))throw new Error("Illegal theme name!");if(!Uh(t.base)&&!Uh(e))throw new Error("Illegal theme base!");this._knownThemes.set(e,new zh(e,t)),Uh(e)&&this._knownThemes.forEach((function(t){t.base===e&&t.notifyBaseUpdated()})),this._theme&&this._theme.themeName===e&&this.setTheme(e)},t.prototype.getTheme=function(){return this._theme},t.prototype.setTheme=function(e){var t,n=this;if(t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get("vs"),this._theme===t)return t.id;this._theme=t;var i=[],o={},r={addRule:function(e){o[e]||(i.push(e),o[e]=!0)}};Hh.getThemingParticipants().forEach((function(e){return e(t,r,n._environment)}));var s=t.tokenTheme.getColorMap();return r.addRule(function(e){for(var t=[],n=1,i=e.length;n<i;n++){var o=e[n];t[n]=".mtk"+n+" { color: "+o+"; }"}return t.push(".mtki { font-style: italic; }"),t.push(".mtkb { font-weight: bold; }"),t.push(".mtku { text-decoration: underline; text-underline-position: under; }"),t.join("\n")}(s)),this._css=i.join("\n"),this._styleElements.forEach((function(e){return e.innerHTML=n._css})),Re.y.setColorMap(s),this._onThemeChange.fire(t),t.id},t.prototype.getIconTheme=function(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}},t}(le.a),Yh=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Zh=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Xh=function(e,t){return function(n,i){t(n,i,e)}},Jh=function(){function e(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}return e.prototype.setValue=function(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)},e.prototype.removeValue=function(e){return e in this._value&&(delete this._value[e],!0)},e.prototype.getValue=function(e){var t=this._value[e];return void 0===t&&this._parent?this._parent.getValue(e):t},e}(),Qh=function(e){function t(){return e.call(this,-1,null)||this}return Yh(t,e),t.prototype.setValue=function(e,t){return!1},t.prototype.removeValue=function(e){return!1},t.prototype.getValue=function(e){},t.INSTANCE=new t,t}(Jh),$h=function(e){function t(t,n,i){var o=e.call(this,t,null)||this;return o._configurationService=n,o._values=new Map,o._listener=o._configurationService.onDidChangeConfiguration((function(e){if(6===e.source){var t=Object(Qn.d)(o._values);o._values.clear(),i.fire(new nf(t))}else{for(var n=[],r=0,s=e.affectedKeys;r<s.length;r++){var a="config."+s[r];o._values.has(a)&&(o._values.delete(a),n.push(a))}i.fire(new nf(n))}})),o}return Yh(t,e),t.prototype.dispose=function(){this._listener.dispose()},t.prototype.getValue=function(n){if(0!==n.indexOf(t._keyPrefix))return e.prototype.getValue.call(this,n);if(this._values.has(n))return this._values.get(n);var i=n.substr(t._keyPrefix.length),o=this._configurationService.getValue(i),r=void 0;switch(typeof o){case"number":case"boolean":case"string":r=o}return this._values.set(n,r),r},t.prototype.setValue=function(t,n){return e.prototype.setValue.call(this,t,n)},t.prototype.removeValue=function(t){return e.prototype.removeValue.call(this,t)},t._keyPrefix="config.",t}(Jh),ef=function(){function e(e,t,n){this._service=e,this._key=t,this._defaultValue=n,this.reset()}return e.prototype.set=function(e){this._service.setContext(this._key,e)},e.prototype.reset=function(){void 0===this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)},e.prototype.get=function(){return this._service.getContextKeyValue(this._key)},e}(),tf=function(){function e(e){this.key=e}return e.prototype.affectsSome=function(e){return e.has(this.key)},e}(),nf=function(){function e(e){this.keys=e}return e.prototype.affectsSome=function(e){for(var t=0,n=this.keys;t<n.length;t++){var i=n[t];if(e.has(i))return!0}return!1},e}(),of=function(){function e(e){this.events=e}return e.prototype.affectsSome=function(e){for(var t=0,n=this.events;t<n.length;t++){if(n[t].affectsSome(e))return!0}return!1},e}(),rf=function(){function e(e){this._onDidChangeContext=new W.d({merge:function(e){return new of(e)}}),this._isDisposed=!1,this._myContextId=e}return e.prototype.createKey=function(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new ef(this,e,t)},Object.defineProperty(e.prototype,"onDidChangeContext",{get:function(){return this._onDidChangeContext.event},enumerable:!0,configurable:!0}),e.prototype.bufferChangeEvents=function(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}},e.prototype.createScoped=function(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new af(this,e)},e.prototype.contextMatchesRules=function(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");var t=this.getContextValuesContainer(this._myContextId);return Xi.contextMatchesRules(t,e)},e.prototype.getContextKeyValue=function(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)},e.prototype.setContext=function(e,t){if(!this._isDisposed){var n=this.getContextValuesContainer(this._myContextId);n&&n.setValue(e,t)&&this._onDidChangeContext.fire(new tf(e))}},e.prototype.removeContext=function(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new tf(e))},e.prototype.getContext=function(e){return this._isDisposed?Qh.INSTANCE:this.getContextValuesContainer(function(e){for(;e;){if(e.hasAttribute("data-keybinding-context")){var t=e.getAttribute("data-keybinding-context");return t?parseInt(t,10):NaN}e=e.parentElement}return 0}(e))},e}(),sf=function(e){function t(t){var n=e.call(this,0)||this;n._contexts=new Map,n._toDispose=new le.b,n._lastContextId=0;var i=new $h(n._myContextId,t,n._onDidChangeContext);return n._contexts.set(n._myContextId,i),n._toDispose.add(i),n}return Yh(t,e),t.prototype.dispose=function(){this._isDisposed=!0,this._toDispose.dispose()},t.prototype.getContextValuesContainer=function(e){return this._isDisposed?Qh.INSTANCE:this._contexts.get(e)||Qh.INSTANCE},t.prototype.createChildContext=function(e){if(void 0===e&&(e=this._myContextId),this._isDisposed)throw new Error("ContextKeyService has been disposed");var t=++this._lastContextId;return this._contexts.set(t,new Jh(t,this.getContextValuesContainer(e))),t},t.prototype.disposeContext=function(e){this._isDisposed||this._contexts.delete(e)},t=Zh([Xh(0,Pi)],t)}(rf),af=function(e){function t(t,n){var i=e.call(this,t.createChildContext())||this;return i._parent=t,n&&(i._domNode=n,i._domNode.setAttribute("data-keybinding-context",String(i._myContextId))),i}return Yh(t,e),t.prototype.dispose=function(){this._isDisposed=!0,this._parent.disposeContext(this._myContextId),this._domNode&&(this._domNode.removeAttribute("data-keybinding-context"),this._domNode=void 0)},Object.defineProperty(t.prototype,"onDidChangeContext",{get:function(){return W.b.any(this._parent.onDidChangeContext,this._onDidChangeContext.event)},enumerable:!0,configurable:!0}),t.prototype.getContextValuesContainer=function(e){return this._isDisposed?Qh.INSTANCE:this._parent.getContextValuesContainer(e)},t.prototype.createChildContext=function(e){if(void 0===e&&(e=this._myContextId),this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)},t.prototype.disposeContext=function(e){this._isDisposed||this._parent.disposeContext(e)},t}(rf);ae.a.registerCommand(Zi.e,(function(e,t,n){e.get(Zi.c).createKey(String(t),n)}));n("eizg"),n("CHaL");var uf,lf=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),cf=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},df=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,hf=/(&)?(&)([^\s&])/g;!function(e){e[e.Right=0]="Right",e[e.Left=1]="Left"}(uf||(uf={}));var ff=function(e){function t(t,n,i){var o=e.call(this,i||"submenu",t,"",!0)||this;return o.entries=n,o}return lf(t,e),t}(Hc.a),pf=function(e){function t(t,n,i){void 0===i&&(i={});var o=this;Object(Z.e)(t,"monaco-menu-container"),t.setAttribute("role","presentation");var r=document.createElement("div");Object(Z.e)(r,"monaco-menu"),r.setAttribute("role","presentation"),(o=e.call(this,r,{orientation:2,actionViewItemProvider:function(e){return o.doGetActionViewItem(e,i,s)},context:i.context,actionRunner:i.actionRunner,ariaLabel:i.ariaLabel,triggerKeys:{keys:cf([3],ie.e?[10]:[]),keyDown:!0}})||this).menuElement=r,o.actionsList.setAttribute("role","menu"),o.actionsList.tabIndex=0,o.menuDisposables=o._register(new le.b),Object(Z.g)(r,Z.c.KEY_DOWN,(function(e){new Gn.a(e).equals(2)&&e.preventDefault()})),i.enableMnemonics&&o.menuDisposables.add(Object(Z.g)(r,Z.c.KEY_DOWN,(function(e){var t=e.key.toLocaleLowerCase();if(o.mnemonics.has(t)){Z.b.stop(e,!0);var n=o.mnemonics.get(t);if(1===n.length&&(n[0]instanceof mf&&n[0].container&&o.focusItemByElement(n[0].container),n[0].onClick(e)),n.length>1){var i=n.shift();i&&i.container&&(o.focusItemByElement(i.container),n.push(i)),o.mnemonics.set(t,n)}}}))),ie.d&&o._register(Object(Z.g)(r,Z.c.KEY_DOWN,(function(e){var t=new Gn.a(e);t.equals(14)||t.equals(11)?(o.focusedItem=o.viewItems.length-1,o.focusNext(),Z.b.stop(e,!0)):(t.equals(13)||t.equals(12))&&(o.focusedItem=0,o.focusPrevious(),Z.b.stop(e,!0))}))),o._register(Object(Z.g)(o.domNode,Z.c.MOUSE_OUT,(function(e){var t=e.relatedTarget;Object(Z.E)(t,o.domNode)||(o.focusedItem=void 0,o.updateFocus(),e.stopPropagation())}))),o._register(Object(Z.g)(o.actionsList,Z.c.MOUSE_OVER,(function(e){var t=e.target;if(t&&Object(Z.E)(t,o.actionsList)&&t!==o.actionsList){for(;t.parentElement!==o.actionsList&&null!==t.parentElement;)t=t.parentElement;if(Object(Z.C)(t,"action-item")){var n=o.focusedItem;o.setFocusedItem(t),n!==o.focusedItem&&o.updateFocus()}}})));var s={parent:o};o.mnemonics=new Map,o.scrollableElement=o._register(new Ya.a(r,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));var a=o.scrollableElement.getDomNode();return a.style.position="",o._register(Object(Z.g)(a,Z.c.MOUSE_UP,(function(e){e.preventDefault()}))),r.style.maxHeight=Math.max(10,window.innerHeight-t.getBoundingClientRect().top-30)+"px",o.push(n,{icon:!0,label:!0,isMenu:!0}),t.appendChild(o.scrollableElement.getDomNode()),o.scrollableElement.scanDomNode(),o.viewItems.filter((function(e){return!(e instanceof vf)})).forEach((function(e,t,n){e.updatePositionInSet(t+1,n.length)})),o}return lf(t,e),t.prototype.style=function(e){var t=this.getContainer(),n=e.foregroundColor?""+e.foregroundColor:"",i=e.backgroundColor?""+e.backgroundColor:"",o=e.borderColor?"1px solid "+e.borderColor:"",r=e.shadowColor?"0 2px 4px "+e.shadowColor:"";t.style.border=o,this.domNode.style.color=n,this.domNode.style.backgroundColor=i,t.style.boxShadow=r,this.viewItems&&this.viewItems.forEach((function(t){(t instanceof gf||t instanceof vf)&&t.style(e)}))},t.prototype.getContainer=function(){return this.scrollableElement.getDomNode()},Object.defineProperty(t.prototype,"onScroll",{get:function(){return this.scrollableElement.onScroll},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollOffset",{get:function(){return this.menuElement.scrollTop},enumerable:!0,configurable:!0}),t.prototype.focusItemByElement=function(e){var t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()},t.prototype.setFocusedItem=function(e){for(var t=0;t<this.actionsList.children.length;t++){if(e===this.actionsList.children[t]){this.focusedItem=t;break}}},t.prototype.updateFocus=function(t){e.prototype.updateFocus.call(this,t,!0),void 0!==this.focusedItem&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})},t.prototype.doGetActionViewItem=function(e,t,n){if(e instanceof jc.d)return new vf(t.context,e,{icon:!0});if(e instanceof ff){var i=new mf(e,e.entries,n,t);if(t.enableMnemonics)if((u=i.getMnemonic())&&i.isEnabled()){var o=[];this.mnemonics.has(u)&&(o=this.mnemonics.get(u)),o.push(i),this.mnemonics.set(u,o)}return i}var r={enableMnemonics:t.enableMnemonics};if(t.getKeyBinding){var s=t.getKeyBinding(e);if(s){var a=s.getLabel();a&&(r.keybinding=a)}}var u;i=new gf(t.context,e,r);if(t.enableMnemonics&&(u=i.getMnemonic())&&i.isEnabled()){o=[];this.mnemonics.has(u)&&(o=this.mnemonics.get(u)),o.push(i),this.mnemonics.set(u,o)}return i},t}(jc.a),gf=function(e){function t(t,n,i){void 0===i&&(i={});var o=this;if(i.isMenu=!0,(o=e.call(this,n,n,i)||this).options=i,o.options.icon=void 0!==i.icon&&i.icon,o.options.label=void 0===i.label||i.label,o.cssClass="",o.options.label&&i.enableMnemonics){var r=o.getAction().label;if(r){var s=df.exec(r);s&&(o.mnemonic=(s[1]?s[1]:s[3]).toLocaleLowerCase())}}return o.runOnceToEnableMouseUp=new We.d((function(){o.element&&o._register(Object(Z.g)(o.element,Z.c.MOUSE_UP,(function(e){e.defaultPrevented||(Z.b.stop(e,!0),o.onClick(e))})))}),100),o._register(o.runOnceToEnableMouseUp),o}return lf(t,e),t.prototype.render=function(t){e.prototype.render.call(this,t),this.element&&(this.container=t,this.item=Object(Z.m)(this.element,Object(Z.a)("a.action-menu-item")),this._action.id===jc.d.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=Object(Z.m)(this.item,Object(Z.a)("span.menu-item-check.codicon.codicon-check")),this.check.setAttribute("role","none"),this.label=Object(Z.m)(this.item,Object(Z.a)("span.action-label")),this.options.label&&this.options.keybinding&&(Object(Z.m)(this.item,Object(Z.a)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())},t.prototype.blur=function(){e.prototype.blur.call(this),this.applyStyle()},t.prototype.focus=function(){e.prototype.focus.call(this),this.item&&this.item.focus(),this.applyStyle()},t.prototype.updatePositionInSet=function(e,t){this.item&&(this.item.setAttribute("aria-posinset",""+e),this.item.setAttribute("aria-setsize",""+t))},t.prototype.updateLabel=function(){if(this.options.label){var e=this.getAction().label;if(e){var t=function(e){var t=df,n=t.exec(e);if(!n)return e;var i=!n[1];return e.replace(t,i?"$2$3":"").trim()}(e);this.options.enableMnemonics||(e=t),this.label&&this.label.setAttribute("aria-label",t.replace(/&&/g,"&"));var n=df.exec(e);if(n){e=ne.m(e),hf.lastIndex=0;for(var i=hf.exec(e);i&&i[1];)i=hf.exec(e);i&&(e=e.substr(0,i.index)+'<u aria-hidden="true">'+i[3]+"</u>"+e.substr(i.index+i[0].length)),e=e.replace(/&&/g,"&"),this.item&&this.item.setAttribute("aria-keyshortcuts",(n[1]?n[1]:n[3]).toLocaleLowerCase())}else e=e.replace(/&&/g,"&")}this.label&&(this.label.innerHTML=e.trim())}},t.prototype.updateTooltip=function(){var e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=Zn.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.item&&(this.item.title=e)},t.prototype.updateClass=function(){this.cssClass&&this.item&&Object(Z.K)(this.item,this.cssClass),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",Object(Z.e)(this.label,"icon"),this.cssClass&&Object(Z.f)(this.label,this.cssClass),this.updateEnabled()):this.label&&Object(Z.J)(this.label,"icon")},t.prototype.updateEnabled=function(){this.getAction().enabled?(this.element&&Object(Z.J)(this.element,"disabled"),this.item&&(Object(Z.J)(this.item,"disabled"),this.item.tabIndex=0)):(this.element&&Object(Z.e)(this.element,"disabled"),this.item&&(Object(Z.e)(this.item,"disabled"),Object(Z.M)(this.item)))},t.prototype.updateChecked=function(){this.item&&(this.getAction().checked?(Object(Z.e)(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(Object(Z.J)(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))},t.prototype.getMnemonic=function(){return this.mnemonic},t.prototype.applyStyle=function(){if(this.menuStyle){var e=this.element&&Object(Z.C)(this.element,"focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,n=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,i=e&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"";this.item&&(this.item.style.color=t?t.toString():"",this.item.style.backgroundColor=n?n.toString():""),this.check&&(this.check.style.color=t?t.toString():""),this.container&&(this.container.style.border=i)}},t.prototype.style=function(e){this.menuStyle=e,this.applyStyle()},t}(jc.c),mf=function(e){function t(t,n,i,o){var r=e.call(this,t,t,o)||this;return r.submenuActions=n,r.parentData=i,r.submenuOptions=o,r.mysubmenu=null,r.submenuDisposables=r._register(new le.b),r.mouseOver=!1,r.expandDirection=o&&void 0!==o.expandDirection?o.expandDirection:uf.Right,r.showScheduler=new We.d((function(){r.mouseOver&&(r.cleanupExistingSubmenu(!1),r.createSubmenu(!1))}),250),r.hideScheduler=new We.d((function(){r.element&&!Object(Z.E)(document.activeElement,r.element)&&r.parentData.submenu===r.mysubmenu&&(r.parentData.parent.focus(!1),r.cleanupExistingSubmenu(!0))}),750),r}return lf(t,e),t.prototype.render=function(t){var n=this;e.prototype.render.call(this,t),this.element&&(this.item&&(Object(Z.e)(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(Z.m)(this.item,Object(Z.a)("span.submenu-indicator.codicon.codicon-chevron-right")),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(Z.g)(this.element,Z.c.KEY_UP,(function(e){var t=new Gn.a(e);(t.equals(17)||t.equals(3))&&(Z.b.stop(e,!0),n.createSubmenu(!0))}))),this._register(Object(Z.g)(this.element,Z.c.KEY_DOWN,(function(e){var t=new Gn.a(e);document.activeElement===n.item&&(t.equals(17)||t.equals(3))&&Z.b.stop(e,!0)}))),this._register(Object(Z.g)(this.element,Z.c.MOUSE_OVER,(function(e){n.mouseOver||(n.mouseOver=!0,n.showScheduler.schedule())}))),this._register(Object(Z.g)(this.element,Z.c.MOUSE_LEAVE,(function(e){n.mouseOver=!1}))),this._register(Object(Z.g)(this.element,Z.c.FOCUS_OUT,(function(e){n.element&&!Object(Z.E)(document.activeElement,n.element)&&n.hideScheduler.schedule()}))),this._register(this.parentData.parent.onScroll((function(){n.parentData.parent.focus(!1),n.cleanupExistingSubmenu(!1)}))))},t.prototype.onClick=function(e){Z.b.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)},t.prototype.cleanupExistingSubmenu=function(e){this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)&&(this.parentData.submenu.dispose(),this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0))},t.prototype.createSubmenu=function(e){var t=this;if(void 0===e&&(e=!0),this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=Object(Z.m)(this.element,Object(Z.a)("div.monaco-submenu")),Object(Z.f)(this.submenuContainer,"menubar-menu-items-holder","context-view");var n=getComputedStyle(this.parentData.parent.domNode),i=parseFloat(n.paddingTop||"0")||0;this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-i+"px",this.parentData.submenu=new pf(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);var o=this.element.getBoundingClientRect(),r=this.submenuContainer.getBoundingClientRect();this.expandDirection===uf.Right?window.innerWidth<=o.right+r.width?(this.submenuContainer.style.left="10px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset+o.height+"px"):(this.submenuContainer.style.left=this.element.offsetWidth+"px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-i+"px"):this.expandDirection===uf.Left&&(this.submenuContainer.style.right=this.element.offsetWidth+"px",this.submenuContainer.style.left="auto",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-i+"px"),this.submenuDisposables.add(Object(Z.g)(this.submenuContainer,Z.c.KEY_UP,(function(e){new Gn.a(e).equals(15)&&(Z.b.stop(e,!0),t.parentData.parent.focus(),t.cleanupExistingSubmenu(!0))}))),this.submenuDisposables.add(Object(Z.g)(this.submenuContainer,Z.c.KEY_DOWN,(function(e){new Gn.a(e).equals(15)&&Z.b.stop(e,!0)}))),this.submenuDisposables.add(this.parentData.submenu.onDidCancel((function(){t.parentData.parent.focus(),t.cleanupExistingSubmenu(!0)}))),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}},t.prototype.updateAriaExpanded=function(e){var t;this.item&&(null===(t=this.item)||void 0===t||t.setAttribute("aria-expanded",e))},t.prototype.applyStyle=function(){if(e.prototype.applyStyle.call(this),this.menuStyle){var t=this.element&&Object(Z.C)(this.element,"focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=t?""+t:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)},t}(gf),vf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lf(t,e),t.prototype.style=function(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?""+e.separatorColor:"")},t}(jc.b);var _f=function(){return(_f=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function yf(e,t,n){function i(i){var o=function(e,t){var n=Object.create(null);for(var i in t){var o=t[i];o&&(n[i]=Object(Ns.Fb)(o,e))}return n}(e.getTheme(),t);"function"==typeof n?n(o):n.style(o)}return i(e.getTheme()),e.onThemeChange(i)}function bf(e,t,n){return yf(t,_f(_f({},Cf),n||{}),e)}var Cf={listFocusBackground:Ns.ib,listFocusForeground:Ns.jb,listActiveSelectionBackground:Object(Ns.f)(Ns.cb,.1),listActiveSelectionForeground:Ns.db,listFocusAndSelectionBackground:Ns.cb,listFocusAndSelectionForeground:Ns.db,listInactiveSelectionBackground:Ns.nb,listInactiveSelectionForeground:Ns.ob,listInactiveFocusBackground:Ns.mb,listHoverBackground:Ns.kb,listHoverForeground:Ns.lb,listDropBackground:Ns.eb,listFocusOutline:Ns.b,listSelectionOutline:Ns.b,listHoverOutline:Ns.b,listFilterWidgetBackground:Ns.fb,listFilterWidgetOutline:Ns.hb,listFilterWidgetNoMatchesOutline:Ns.gb,listMatchesShadow:Ns.Lb,treeIndentGuidesStroke:Ns.Kb},wf={shadowColor:Ns.Lb,borderColor:Ns.qb,foregroundColor:Ns.rb,backgroundColor:Ns.pb,selectionForegroundColor:Ns.ub,selectionBackgroundColor:Ns.sb,selectionBorderColor:Ns.tb,separatorColor:Ns.vb};var Sf,Lf=n("4y0V"),Nf=function(){function e(e,t,n,i,o){this.contextViewService=e,this.telemetryService=t,this.notificationService=n,this.keybindingService=i,this.themeService=o,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}return e.prototype.configure=function(e){this.options=e},e.prototype.showContextMenu=function(e){var t,n=this,i=e.getActions();i.length&&(this.focusToReturn=document.activeElement,this.contextViewService.showContextView({getAnchor:function(){return e.getAnchor()},canRelayout:!1,anchorAlignment:e.anchorAlignment,render:function(o){var r=e.getMenuClassName?e.getMenuClassName():"";r&&(o.className+=" "+r),n.options.blockMouse&&(n.block=o.appendChild(Object(Z.a)(".context-view-block")));var s,a,u=new le.b,l=e.actionRunner||new Hc.b;return l.onDidBeforeRun(n.onActionRun,n,u),l.onDidRun(n.onDidActionRun,n,u),t=new pf(o,i,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:l,getKeyBinding:e.getKeyBinding?e.getKeyBinding:function(e){return n.keybindingService.lookupKeybinding(e.id)}}),u.add((s=t,yf(n.themeService,_f(_f({},wf),a),s))),t.onDidCancel((function(){return n.contextViewService.hideContextView(!0)}),null,u),t.onDidBlur((function(){return n.contextViewService.hideContextView(!0)}),null,u),Object(Lf.a)(window,Z.c.BLUR)((function(){n.contextViewService.hideContextView(!0)}),null,u),Object(Lf.a)(window,Z.c.MOUSE_DOWN)((function(e){if(!e.defaultPrevented){var t=new ar.a(e),i=t.target;if(!t.rightButton){for(;i;){if(i===o)return;i=i.parentElement}n.contextViewService.hideContextView(!0)}}}),null,u),Object(le.d)(u,t)},focus:function(){t&&t.focus(!!e.autoSelectFirstItem)},onHide:function(t){e.onHide&&e.onHide(!!t),n.block&&(Object(Z.L)(n.block),n.block=null),n.focusToReturn&&n.focusToReturn.focus()}}))},e.prototype.onActionRun=function(e){this.telemetryService&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()},e.prototype.onDidActionRun=function(e){e.error&&this.notificationService&&this.notificationService.error(e.error)},e}(),Of=n("XXUj"),Df=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),xf=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ef=function(e,t){return function(n,i){t(n,i,e)}},kf=function(e){function t(t,n,i,o,r){var s=e.call(this)||this;return s._onDidContextMenu=s._register(new W.a),s.contextMenuHandler=new Nf(i,t,n,o,r),s}return Df(t,e),t.prototype.configure=function(e){this.contextMenuHandler.configure(e)},t.prototype.showContextMenu=function(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()},t=xf([Ef(0,Of.a),Ef(1,lo.a),Ef(2,Xc.b),Ef(3,Cd.a),Ef(4,Ir.c)],t)}(le.a);n("TT2d");!function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};var n=Math.max(e.start,t.start),i=Math.min(e.end,t.end);return i-n<=0?{start:0,end:0}:{start:n,end:i}}function n(e){return e.end-e.start<=0}e.intersect=t,e.isEmpty=n,e.intersects=function(e,i){return!n(t(e,i))},e.relativeComplement=function(e,t){var i=[],o={start:e.start,end:Math.min(t.start,e.end)},r={start:Math.max(t.end,e.start),end:e.end};return n(o)||i.push(o),n(r)||i.push(r),i}}(Sf||(Sf={}));var If=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function Mf(e,t,n){var i=n.offset+n.size;return 0===n.position?t<=e-i?i:t<=n.offset?n.offset-t:Math.max(e-t,0):t<=n.offset?n.offset-t:t<=e-i?i:0}var Tf=function(e){function t(t){var n=e.call(this)||this;return n.container=null,n.delegate=null,n.toDisposeOnClean=le.a.None,n.toDisposeOnSetContainer=le.a.None,n.view=Z.a(".context-view"),Z.D(n.view),n.setContainer(t),n._register(Object(le.f)((function(){return n.setContainer(null)}))),n}return If(t,e),t.prototype.setContainer=function(e){var n=this;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.container.removeChild(this.view),this.container=null),e){this.container=e,this.container.appendChild(this.view);var i=new le.b;t.BUBBLE_UP_EVENTS.forEach((function(e){i.add(Z.k(n.container,e,(function(e){n.onDOMEvent(e,!1)})))})),t.BUBBLE_DOWN_EVENTS.forEach((function(e){i.add(Z.k(n.container,e,(function(e){n.onDOMEvent(e,!0)}),!0))})),this.toDisposeOnSetContainer=i}},t.prototype.show=function(e){this.isVisible()&&this.hide(),Z.o(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",Z.R(this.view),this.toDisposeOnClean=e.render(this.view)||le.a.None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()},t.prototype.layout=function(){this.isVisible()&&(!1!==this.delegate.canRelayout||ie.c&&ss.a.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())},t.prototype.doLayout=function(){if(this.isVisible()){var e,t=this.delegate.getAnchor();if(Z.F(t)){var n=Z.w(t);e={top:n.top,left:n.left,width:n.width,height:n.height}}else e={top:t.y,left:t.x,width:t.width||1,height:t.height||2};var i,o=Z.B(this.view),r=Z.A(this.view),s=this.delegate.anchorPosition||0,a=this.delegate.anchorAlignment||0,u={offset:e.top-window.pageYOffset,size:e.height,position:0===s?0:1};i=0===a?{offset:e.left,size:0,position:0}:{offset:e.left+e.width,size:0,position:1};var l=Mf(window.innerHeight,r,u)+window.pageYOffset;Sf.intersects({start:l,end:l+r},{start:u.offset,end:u.offset+u.size})&&(i.size=e.width,1===a&&(i.offset=e.left));var c=Mf(window.innerWidth,o,i);Z.K(this.view,"top","bottom","left","right"),Z.e(this.view,0===s?"bottom":"top"),Z.e(this.view,0===a?"left":"right");var d=Z.w(this.container);this.view.style.top=l-d.top+"px",this.view.style.left=c-d.left+"px",this.view.style.width="initial"}},t.prototype.hide=function(e){var t=this.delegate;this.delegate=null,(null==t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),Z.D(this.view)},t.prototype.isVisible=function(){return!!this.delegate},t.prototype.onDOMEvent=function(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!Z.E(e.target,this.container)&&this.hide())},t.prototype.dispose=function(){this.hide(),e.prototype.dispose.call(this)},t.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],t.BUBBLE_DOWN_EVENTS=["click"],t}(le.a),Af=Object(ue.c)("layoutService"),Rf=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Pf=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ff=function(e,t){return function(n,i){t(n,i,e)}},Vf=function(e){function t(t){var n=e.call(this)||this;return n.layoutService=t,n.contextView=n._register(new Tf(t.container)),n.layout(),n._register(t.onLayout((function(){return n.layout()}))),n}return Rf(t,e),t.prototype.setContainer=function(e){this.contextView.setContainer(e)},t.prototype.showContextView=function(e){this.contextView.show(e)},t.prototype.layout=function(){this.contextView.layout()},t.prototype.hideContextView=function(e){this.contextView.hide(e)},t=Pf([Ff(0,Af)],t)}(le.a),Wf=Object(ue.c)("dialogService");var Bf,jf=function(){function e(e){this._hashFn=e,this._nodes=Object.create(null)}return e.prototype.roots=function(){var e=[];return fi(this._nodes,(function(t){Object(je.f)(t.value.outgoing)&&e.push(t.value)})),e},e.prototype.insertEdge=function(e,t){var n=this.lookupOrInsertNode(e),i=this.lookupOrInsertNode(t);n.outgoing[this._hashFn(t)]=i,i.incoming[this._hashFn(e)]=n},e.prototype.removeNode=function(e){var t=this._hashFn(e);delete this._nodes[t],fi(this._nodes,(function(e){delete e.value.outgoing[t],delete e.value.incoming[t]}))},e.prototype.lookupOrInsertNode=function(e){var t=this._hashFn(e),n=this._nodes[t];return n||(n=function(e){return{data:e,incoming:Object.create(null),outgoing:Object.create(null)}}(e),this._nodes[t]=n),n},e.prototype.isEmpty=function(){for(var e in this._nodes)return!1;return!0},e.prototype.toString=function(){var e=[];return fi(this._nodes,(function(t){e.push(t.key+", (incoming)["+Object.keys(t.value.incoming).join(", ")+"], (outgoing)["+Object.keys(t.value.outgoing).join(",")+"]")})),e.join("\n")},e}(),Hf=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),zf=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Uf="function"==typeof Proxy,Kf=function(e){function t(t){var n=e.call(this,"cyclic dependency between services")||this;return n.message=t.toString(),n}return Hf(t,e),t}(Error),qf=function(){function e(e,t,n){void 0===e&&(e=new Xl),void 0===t&&(t=!1),this._services=e,this._strict=t,this._parent=n,this._services.set(ue.a,this)}return e.prototype.createChild=function(t){return new e(t,this._strict,this)},e.prototype.invokeFunction=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o=Gf.traceInvocation(e),r=!1;try{var s={get:function(e,n){if(r)throw Object(Be.c)("service accessor is only valid during the invocation of its target method");var i=t._getOrCreateServiceInstance(e,o);if(!i&&n!==ue.d)throw new Error("[invokeFunction] unknown service '"+e+"'");return i}};return e.apply(void 0,zf([s],n))}finally{r=!0,o.stop()}},e.prototype.createInstance=function(e){for(var t,n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return e instanceof kc?(t=Gf.traceCreation(e.ctor),n=this._createInstance(e.ctor,e.staticArguments.concat(i),t)):(t=Gf.traceCreation(e),n=this._createInstance(e,i,t)),t.stop(),n},e.prototype._createInstance=function(e,t,n){void 0===t&&(t=[]);for(var i=ue.b.getServiceDependencies(e).sort((function(e,t){return e.index-t.index})),o=[],r=0,s=i;r<s.length;r++){var a=s[r],u=this._getOrCreateServiceInstance(a.id,n);if(!u&&this._strict&&!a.optional)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+a.id+".");o.push(u)}var l=i.length>0?i[0].index:t.length;if(t.length!==l){console.warn("[createInstance] First service dependency of "+e.name+" at position "+(l+1)+" conflicts with "+t.length+" static arguments");var c=l-t.length;t=c>0?t.concat(new Array(c)):t.slice(0,l)}return new(e.bind.apply(e,zf([void 0],zf(t,o))))},e.prototype._setServiceInstance=function(e,t){if(this._services.get(e)instanceof kc)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}},e.prototype._getServiceInstanceOrDescriptor=function(e){var t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t},e.prototype._getOrCreateServiceInstance=function(e,t){var n=this._getServiceInstanceOrDescriptor(e);return n instanceof kc?this._createAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)},e.prototype._createAndCacheServiceInstance=function(e,t,n){for(var i=new jf((function(e){return e.id.toString()})),o=0,r=[{id:e,desc:t,_trace:n}];r.length;){var s=r.pop();if(i.lookupOrInsertNode(s),o++>150)throw new Kf(i);for(var a=0,u=ue.b.getServiceDependencies(s.desc.ctor);a<u.length;a++){var l=u[a],c=this._getServiceInstanceOrDescriptor(l.id);if(c||l.optional||console.warn("[createInstance] "+e+" depends on "+l.id+" which is NOT registered."),c instanceof kc){var d={id:l.id,desc:c,_trace:s._trace.branch(l.id,!0)};i.insertEdge(s,d),r.push(d)}}}for(;;){var h=i.roots();if(0===h.length){if(!i.isEmpty())throw new Kf(i);break}for(var f=0,p=h;f<p.length;f++){var g=p[f].data,m=this._createServiceInstanceWithOwner(g.id,g.desc.ctor,g.desc.staticArguments,g.desc.supportsDelayedInstantiation,g._trace);this._setServiceInstance(g.id,m),i.removeNode(g)}}return this._getServiceInstanceOrDescriptor(e)},e.prototype._createServiceInstanceWithOwner=function(e,t,n,i,o){if(void 0===n&&(n=[]),this._services.get(e)instanceof kc)return this._createServiceInstance(t,n,i,o);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,i,o);throw new Error("illegalState - creating UNKNOWN service instance "+t.name)},e.prototype._createServiceInstance=function(e,t,n,i){var o=this;if(void 0===t&&(t=[]),n&&Uf){var r=new We.b((function(){return o._createInstance(e,t,i)}));return new Proxy(Object.create(null),{get:function(e,t){if(t in e)return e[t];var n=r.getValue(),i=n[t];return"function"!=typeof i||(i=i.bind(n),e[t]=i),i},set:function(e,t,n){return r.getValue()[t]=n,!0}})}return this._createInstance(e,t,i)},e}(),Gf=function(){function e(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}return e.traceInvocation=function(t){return e._None},e.traceCreation=function(t){return e._None},e.prototype.branch=function(t,n){var i=new e(2,t.toString());return this._dep.push([t,n,i]),i},e.prototype.stop=function(){var t=Date.now()-this._start;e._totals+=t;var n=!1;var i=[(0===this.type?"CREATE":"CALL")+" "+this.name,""+function e(t,i){for(var o=[],r=new Array(t+1).join("\t"),s=0,a=i._dep;s<a.length;s++){var u=a[s],l=u[0],c=u[1],d=u[2];if(c&&d){n=!0,o.push(r+"CREATES -> "+l);var h=e(t+1,d);h&&o.push(h)}else o.push(r+"uses -> "+l)}return o.join("\n")}(1,this),"DONE, took "+t.toFixed(2)+"ms (grand total "+e._totals.toFixed(2)+"ms)"];(t>2||n)&&console.log(i.join("\n"))},e._None=new(function(e){function t(){return e.call(this,-1,null)||this}return Hf(t,e),t.prototype.stop=function(){},t.prototype.branch=function(){return this},t}(e)),e._totals=0,e}(),Yf=Object(ue.c)("label"),Zf=(n("4rho"),n("ZCR3")),Xf=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(e){e.TREE="tree",e.FORM="form"}(Bf||(Bf={}));var Jf=function(e){function t(t,n){return e.call(this,"ListError ["+t+"] "+n)||this}return Xf(t,e),t}(Error);function Qf(e,t){for(var n=[],i=0,o=t;i<o.length;i++){var r=o[i];if(!(e.start>=r.range.end)){if(e.end<r.range.start)break;var s=Sf.intersect(e,r.range);Sf.isEmpty(s)||n.push({range:s,size:r.size})}}return n}function $f(e,t){return{start:e.start+t,end:e.end+t}}function ep(e){for(var t=[],n=null,i=0,o=e;i<o.length;i++){var r=o[i],s=r.range.start,a=r.range.end,u=r.size;n&&u===n.size?n.range.end=a:(n={range:{start:s,end:a},size:u},t.push(n))}return t}var tp=function(){function e(){this.groups=[],this._size=0}return e.prototype.splice=function(e,t,n){void 0===n&&(n=[]);var i=n.length-t,o=Qf({start:0,end:e},this.groups),r=Qf({start:e+t,end:Number.POSITIVE_INFINITY},this.groups).map((function(e){return{range:$f(e.range,i),size:e.size}})),s=n.map((function(t,n){return{range:{start:e+n,end:e+n+1},size:t.size}}));this.groups=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ep(e.reduce((function(e,t){return e.concat(t)}),[]))}(o,s,r),this._size=this.groups.reduce((function(e,t){return e+t.size*(t.range.end-t.range.start)}),0)},Object.defineProperty(e.prototype,"count",{get:function(){var e=this.groups.length;return e?this.groups[e-1].range.end:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.indexAt=function(e){if(e<0)return-1;for(var t=0,n=0,i=0,o=this.groups;i<o.length;i++){var r=o[i],s=r.range.end-r.range.start,a=n+s*r.size;if(e<a)return t+Math.floor((e-n)/r.size);t+=s,n=a}return t},e.prototype.indexAfter=function(e){return Math.min(this.indexAt(e)+1,this.count)},e.prototype.positionAt=function(e){if(e<0)return-1;for(var t=0,n=0,i=0,o=this.groups;i<o.length;i++){var r=o[i],s=r.range.end-r.range.start,a=n+s;if(e<a)return t+(e-n)*r.size;t+=s*r.size,n=a}return-1},e}();var np=function(){function e(e){this.renderers=e,this.cache=new Map}return e.prototype.alloc=function(e){var t=this.getTemplateCache(e).pop();if(!t){var n=Object(Z.a)(".monaco-list-row");t={domNode:n,templateId:e,templateData:this.getRenderer(e).renderTemplate(n)}}return t},e.prototype.release=function(e){e&&this.releaseRow(e)},e.prototype.releaseRow=function(e){var t=e.domNode,n=e.templateId;t&&(Object(Z.J)(t,"scrolling"),function(e){try{e.parentElement&&e.parentElement.removeChild(e)}catch(e){}}(t)),this.getTemplateCache(n).push(e)},e.prototype.getTemplateCache=function(e){var t=this.cache.get(e);return t||(t=[],this.cache.set(e,t)),t},e.prototype.dispose=function(){var e=this;this.cache.forEach((function(t,n){for(var i=0,o=t;i<o.length;i++){var r=o[i];e.getRenderer(n).disposeTemplate(r.templateData),r.domNode=null,r.templateData=null}})),this.cache.clear()},e.prototype.getRenderer=function(e){var t=this.renderers.get(e);if(!t)throw new Error("No renderer found for "+e);return t},e}(),ip=n("ZQ78"),op=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},rp=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},sp={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:function(e){return[e]},getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},horizontalScrolling:!1},ap=function(){function e(e){this.elements=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.elements},e}(),up=function(){function e(e){this.elements=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.elements},e}(),lp=function(){function e(){this.types=[],this.files=[]}return e.prototype.update=function(e){var t;if(e.types&&(t=this.types).splice.apply(t,rp([0,this.types.length],e.types)),e.files){this.files.splice(0,this.files.length);for(var n=0;n<e.files.length;n++){var i=e.files.item(n);i&&(i.size||i.type)&&this.files.push(i)}}},e.prototype.getData=function(){return{types:this.types,files:this.files}},e}();var cp=function(){function e(t,n,i,o){var r=this;if(void 0===o&&(o=sp),this.virtualDelegate=n,this.domId="list_id_"+ ++e.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new We.a(50),this.splicing=!1,this.dragOverAnimationStopDisposable=le.a.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=le.a.None,this.onDragLeaveTimeout=le.a.None,this.disposables=new le.b,this._onDidChangeContentHeight=new W.a,o.horizontalScrolling&&o.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new tp;for(var s=0,a=i;s<a.length;s++){var u=a[s];this.renderers.set(u.templateId,u)}this.cache=this.disposables.add(new np(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",Z.e(this.domNode,this.domId),this.domNode.tabIndex=0,Z.S(this.domNode,"mouse-support","boolean"!=typeof o.mouseSupport||o.mouseSupport),this.horizontalScrolling=Object(Le.c)(o,(function(e){return e.horizontalScrolling}),sp.horizontalScrolling),Z.S(this.domNode,"horizontal-scrolling",this.horizontalScrolling),this.additionalScrollHeight=void 0===o.additionalScrollHeight?0:o.additionalScrollHeight,this.ariaProvider=o.ariaProvider||{getSetSize:function(e,t,n){return n},getPosInSet:function(e,t){return t+1}},this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)",this.disposables.add(sr.b.addTarget(this.rowsContainer)),this.scrollableElement=this.disposables.add(new Ya.b(this.rowsContainer,{alwaysConsumeMouseWheel:!0,horizontal:this.horizontalScrolling?1:2,vertical:Object(Le.c)(o,(function(e){return e.verticalScrollMode}),sp.verticalScrollMode),useShadows:Object(Le.c)(o,(function(e){return e.useShadows}),sp.useShadows)})),this.domNode.appendChild(this.scrollableElement.getDomNode()),t.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),Object(Lf.a)(this.rowsContainer,sr.a.Change)(this.onTouchChange,this,this.disposables),Object(Lf.a)(this.scrollableElement.getDomNode(),"scroll")((function(e){return e.target.scrollTop=0}),null,this.disposables),W.b.map(Object(Lf.a)(this.domNode,"dragover"),(function(e){return r.toDragEvent(e)}))(this.onDragOver,this,this.disposables),W.b.map(Object(Lf.a)(this.domNode,"drop"),(function(e){return r.toDragEvent(e)}))(this.onDrop,this,this.disposables),Object(Lf.a)(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),Object(Lf.a)(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=Object(Le.c)(o,(function(e){return e.setRowLineHeight}),sp.setRowLineHeight),this.supportDynamicHeights=Object(Le.c)(o,(function(e){return e.supportDynamicHeights}),sp.supportDynamicHeights),this.dnd=Object(Le.c)(o,(function(e){return e.dnd}),sp.dnd),this.layout()}return Object.defineProperty(e.prototype,"contentHeight",{get:function(){return this.rangeMap.size},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,n){if(void 0===n&&(n=[]),this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,n)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}},e.prototype._splice=function(e,t,n){var i,o=this;void 0===n&&(n=[]);for(var r=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),s={start:e,end:e+t},a=Sf.intersect(r,s),u=a.start;u<a.end;u++)this.removeItemFromDOM(u);var l,c={start:e+t,end:this.items.length},d=Sf.intersect(c,r),h=Sf.relativeComplement(c,r),f=n.map((function(e){return{id:String(o.itemId++),element:e,templateId:o.virtualDelegate.getTemplateId(e),size:o.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!o.virtualDelegate.hasDynamicHeight&&o.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:le.a.None}}));0===e&&t>=this.items.length?(this.rangeMap=new tp,this.rangeMap.splice(0,0,f),this.items=f,l=[]):(this.rangeMap.splice(e,t,f),l=(i=this.items).splice.apply(i,rp([e,t],f)));var p=n.length-t,g=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),m=$f(d,p),v=Sf.intersect(g,m);for(u=v.start;u<v.end;u++)this.updateItemInDOM(this.items[u],u);for(var _=0,y=Sf.relativeComplement(m,g);_<y.length;_++)for(u=(O=y[_]).start;u<O.end;u++)this.removeItemFromDOM(u);for(var b=h.map((function(e){return $f(e,p)})),C={start:e,end:e+n.length},w=rp([C],b).map((function(e){return Sf.intersect(g,e)})),S=this.getNextToLastElement(w),L=0,N=w;L<N.length;L++){var O;for(u=(O=N[L]).start;u<O.end;u++)this.insertItemInDOM(u,S)}return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),l.map((function(e){return e.element}))},e.prototype.eventuallyUpdateScrollDimensions=function(){var e=this;this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=Z.Q((function(){e.scrollableElement.setScrollDimensions({scrollHeight:e.scrollHeight}),e.updateScrollWidth(),e.scrollableElementUpdateDisposable=null})))},e.prototype.eventuallyUpdateScrollWidth=function(){var e=this;this.horizontalScrolling&&this.scrollableElementWidthDelayer.trigger((function(){return e.updateScrollWidth()}))},e.prototype.updateScrollWidth=function(){if(this.horizontalScrolling){0===this.items.length&&this.scrollableElement.setScrollDimensions({scrollWidth:0});for(var e=0,t=0,n=this.items;t<n.length;t++){var i=n[t];void 0!==i.width&&(e=Math.max(e,i.width))}this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:e+10})}},e.prototype.rerender=function(){if(this.supportDynamicHeights){for(var e=0,t=this.items;e<t.length;e++){t[e].lastDynamicHeightWidth=void 0}this._rerender(this.lastRenderTop,this.lastRenderHeight)}},Object.defineProperty(e.prototype,"length",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderHeight",{get:function(){return this.scrollableElement.getScrollDimensions().height},enumerable:!0,configurable:!0}),e.prototype.element=function(e){return this.items[e].element},e.prototype.domElement=function(e){var t=this.items[e].row;return t&&t.domNode},e.prototype.elementHeight=function(e){return this.items[e].size},e.prototype.elementTop=function(e){return this.rangeMap.positionAt(e)},e.prototype.indexAt=function(e){return this.rangeMap.indexAt(e)},e.prototype.indexAfter=function(e){return this.rangeMap.indexAfter(e)},e.prototype.layout=function(e,t){var n={height:"number"==typeof e?e:Z.u(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,n.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(n),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:Z.v(this.domNode)}))},e.prototype.render=function(e,t,n,i){for(var o=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),r=this.getRenderRange(e,t),s=Sf.relativeComplement(r,o),a=Sf.relativeComplement(o,r),u=this.getNextToLastElement(s),l=0,c=s;l<c.length;l++)for(var d=(p=c[l]).start;d<p.end;d++)this.insertItemInDOM(d,u);for(var h=0,f=a;h<f.length;h++){var p;for(d=(p=f[h]).start;d<p.end;d++)this.removeItemFromDOM(d)}this.rowsContainer.style.left="-"+n+"px",this.rowsContainer.style.top="-"+e+"px",this.horizontalScrolling&&(this.rowsContainer.style.width=Math.max(i,this.renderWidth)+"px"),this.lastRenderTop=e,this.lastRenderHeight=t},e.prototype.insertItemInDOM=function(e,t){var n=this,i=this.items[e];if(!i.row){i.row=this.cache.alloc(i.templateId);var o=this.ariaProvider.getRole?this.ariaProvider.getRole(i.element):"treeitem";i.row.domNode.setAttribute("role",o);var r=this.ariaProvider.isChecked?this.ariaProvider.isChecked(i.element):void 0;void 0!==r&&i.row.domNode.setAttribute("aria-checked",String(r))}i.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(i.row.domNode,t):this.rowsContainer.appendChild(i.row.domNode)),this.updateItemInDOM(i,e);var s=this.renderers.get(i.templateId);if(!s)throw new Error("No renderer found for template id "+i.templateId);s&&s.renderElement(i.element,e,i.row.templateData,i.size);var a=this.dnd.getDragURI(i.element);if(i.dragStartDisposable.dispose(),i.row.domNode.draggable=!!a,a){var u=Object(Lf.a)(i.row.domNode,"dragstart");i.dragStartDisposable=u((function(e){return n.onDragStart(i.element,a,e)}))}this.horizontalScrolling&&(this.measureItemWidth(i),this.eventuallyUpdateScrollWidth())},e.prototype.measureItemWidth=function(e){if(e.row&&e.row.domNode){e.row.domNode.style.width=Yo.h?"-moz-fit-content":"fit-content",e.width=Z.v(e.row.domNode);var t=window.getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}},e.prototype.updateItemInDOM=function(e,t){e.row.domNode.style.top=this.elementTop(t)+"px",e.row.domNode.style.height=e.size+"px",this.setRowLineHeight&&(e.row.domNode.style.lineHeight=e.size+"px"),e.row.domNode.setAttribute("data-index",""+t),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("aria-setsize",String(this.ariaProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.ariaProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),Z.S(e.row.domNode,"drop-target",e.dropTarget)},e.prototype.removeItemFromDOM=function(e){var t=this.items[e];t.dragStartDisposable.dispose();var n=this.renderers.get(t.templateId);n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null,this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()},e.prototype.getScrollTop=function(){return this.scrollableElement.getScrollPosition().scrollTop},e.prototype.setScrollTop=function(e){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e})},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.getScrollTop()},set:function(e){this.setScrollTop(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollHeight",{get:function(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseClick",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.domNode,"click"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDblClick",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.domNode,"dblclick"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseMiddleClick",{get:function(){var e=this;return W.b.filter(W.b.map(Object(Lf.a)(this.domNode,"auxclick"),(function(t){return e.toMouseEvent(t)})),(function(e){return 1===e.browserEvent.button}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDown",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.domNode,"mousedown"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onContextMenu",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.domNode,"contextmenu"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTouchStart",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.domNode,"touchstart"),(function(t){return e.toTouchEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTap",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.rowsContainer,sr.a.Tap),(function(t){return e.toGestureEvent(t)}))},enumerable:!0,configurable:!0}),e.prototype.toMouseEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},e.prototype.toTouchEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},e.prototype.toGestureEvent=function(e){var t=this.getItemIndexFromEventTarget(e.initialTarget||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},e.prototype.toDragEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},e.prototype.onScroll=function(e){try{this.render(e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height)}catch(t){throw console.error("Got bad scroll event:",e),t}},e.prototype.onTouchChange=function(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY},e.prototype.onDragStart=function(e,t,n){if(n.dataTransfer){var i=this.dnd.getDragElements(e);if(n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setData(ip.a.RESOURCES,JSON.stringify([t])),n.dataTransfer.setDragImage){var o=void 0;this.dnd.getDragLabel&&(o=this.dnd.getDragLabel(i,n)),void 0===o&&(o=String(i.length));var r=Z.a(".monaco-drag-image");r.textContent=o,document.body.appendChild(r),n.dataTransfer.setDragImage(r,-10,-10),setTimeout((function(){return document.body.removeChild(r)}),0)}this.currentDragData=new ap(i),ip.c.CurrentDragAndDropData=new up(i),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,n)}},e.prototype.onDragOver=function(e){var t=this;if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),ip.c.CurrentDragAndDropData&&"vscode-ui"===ip.c.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(ip.c.CurrentDragAndDropData)this.currentDragData=ip.c.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new lp}var n,i,o,r=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"==typeof r?r:r.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;if(e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof r&&0===r.effect?"copy":"move",n="boolean"!=typeof r&&r.feedback?r.feedback:void 0===e.index?[-1]:[e.index],n=-1===(n=Object(Xe.d)(n).filter((function(e){return e>=-1&&e<t.length})).sort((function(e,t){return e-t})))[0]?[-1]:n,i=this.currentDragFeedback,o=n,Array.isArray(i)&&Array.isArray(o)?Object(Xe.f)(i,o):i===o)return!0;if(this.currentDragFeedback=n,this.currentDragFeedbackDisposable.dispose(),-1===n[0])Z.e(this.domNode,"drop-target"),Z.e(this.rowsContainer,"drop-target"),this.currentDragFeedbackDisposable=Object(le.f)((function(){Z.J(t.domNode,"drop-target"),Z.J(t.rowsContainer,"drop-target")}));else{for(var s=0,a=n;s<a.length;s++){var u=a[s],l=this.items[u];l.dropTarget=!0,l.row&&l.row.domNode&&Z.e(l.row.domNode,"drop-target")}this.currentDragFeedbackDisposable=Object(le.f)((function(){for(var e=0,i=n;e<i.length;e++){var o=i[e],r=t.items[o];r.dropTarget=!1,r.row&&r.row.domNode&&Z.J(r.row.domNode,"drop-target")}}))}return!0},e.prototype.onDragLeave=function(){var e=this;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=Object(We.g)((function(){return e.clearDragOverFeedback()}),100)},e.prototype.onDrop=function(e){if(this.canDrop){var t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,ip.c.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}},e.prototype.onDragEnd=function(e){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,ip.c.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e.prototype.clearDragOverFeedback=function(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=le.a.None},e.prototype.setupDragAndDropScrollTopAnimation=function(e){var t=this;if(!this.dragOverAnimationDisposable){var n=Z.z(this.domNode).top;this.dragOverAnimationDisposable=Z.l(this.animateDragAndDropScrollTop.bind(this,n))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=Object(We.g)((function(){t.dragOverAnimationDisposable&&(t.dragOverAnimationDisposable.dispose(),t.dragOverAnimationDisposable=void 0)}),1e3),this.dragOverMouseY=e.pageY},e.prototype.animateDragAndDropScrollTop=function(e){if(void 0!==this.dragOverMouseY){var t=this.dragOverMouseY-e,n=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>n&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}},e.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},e.prototype.getItemIndexFromEventTarget=function(e){for(var t=e;t instanceof HTMLElement&&t!==this.rowsContainer;){var n=t.getAttribute("data-index");if(n){var i=Number(n);if(!isNaN(i))return i}t=t.parentElement}},e.prototype.getRenderRange=function(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}},e.prototype._rerender=function(e,t){var n,i,o=this.getRenderRange(e,t);e===this.elementTop(o.start)?(n=o.start,i=0):o.end-o.start>1&&(n=o.start+1,i=this.elementTop(n)-e);for(var r=0;;){for(var s=this.getRenderRange(e,t),a=!1,u=s.start;u<s.end;u++){var l=this.probeDynamicHeight(u);0!==l&&this.rangeMap.splice(u,1,[this.items[u]]),r+=l,a=a||0!==l}if(!a){0!==r&&this.eventuallyUpdateScrollDimensions();for(var c=0,d=Sf.relativeComplement(o,s);c<d.length;c++)for(u=(p=d[c]).start;u<p.end;u++)this.items[u].row&&this.removeItemFromDOM(u);for(var h=0,f=Sf.relativeComplement(s,o);h<f.length;h++){var p;for(u=(p=f[h]).start;u<p.end;u++){var g=u+1,m=g<this.items.length?this.items[g].row:null,v=m?m.domNode:null;this.insertItemInDOM(u,v)}}for(u=s.start;u<s.end;u++)this.items[u].row&&this.updateItemInDOM(this.items[u],u);return"number"==typeof n&&(this.scrollTop=this.elementTop(n)-i),void this._onDidChangeContentHeight.fire(this.contentHeight)}}},e.prototype.probeDynamicHeight=function(e){var t=this.items[e];if(!t.hasDynamicHeight||t.lastDynamicHeightWidth===this.renderWidth)return 0;var n=t.size,i=this.cache.alloc(t.templateId);i.domNode.style.height="",this.rowsContainer.appendChild(i.domNode);var o=this.renderers.get(t.templateId);return o&&(o.renderElement(t.element,e,i.templateData,void 0),o.disposeElement&&o.disposeElement(t.element,e,i.templateData,void 0)),t.size=i.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(t.element,t.size),t.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(i.domNode),this.cache.release(i),t.size-n},e.prototype.getNextToLastElement=function(e){var t=e[e.length-1];if(!t)return null;var n=this.items[t.end];return n&&n.row?n.row.domNode:null},e.prototype.getElementDomId=function(e){return this.domId+"_"+e},e.prototype.dispose=function(){if(this.items){for(var e=0,t=this.items;e<t.length;e++){var n=t[e];if(n.row){var i=this.renderers.get(n.row.templateId);i&&i.disposeTemplate(n.row.templateData)}}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),Object(le.e)(this.disposables)},e.InstanceCount=0,op([Zf.a],e.prototype,"onMouseClick",null),op([Zf.a],e.prototype,"onMouseDblClick",null),op([Zf.a],e.prototype,"onMouseMiddleClick",null),op([Zf.a],e.prototype,"onMouseDown",null),op([Zf.a],e.prototype,"onContextMenu",null),op([Zf.a],e.prototype,"onTouchStart",null),op([Zf.a],e.prototype,"onTap",null),e}(),dp=function(){function e(e){this.spliceables=e}return e.prototype.splice=function(e,t,n){this.spliceables.forEach((function(i){return i.splice(e,t,n)}))},e}();function hp(e,t,n){return Math.min(Math.max(e,t),n)}function fp(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n){for(var i=0,o=e.length;i<o;i++){var r=e[i](t,n);if(r)return r}return null}}var pp=function(e,t,n){if(!n||n.length<t.length)return null;var i;i=e?ne.I(n,t):0===n.indexOf(t);if(!i)return null;return t.length>0?[{start:0,end:t.length}]:[]}.bind(void 0,!0);function gp(e){return 97<=e&&e<=122}function mp(e){return 65<=e&&e<=90}function vp(e){return 48<=e&&e<=57}function _p(e){return 32===e||9===e||10===e||13===e}var yp=new Set;function bp(e){return gp(e)||mp(e)||vp(e)}function Cp(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function wp(e,t){for(var n=t;n<e.length;n++){var i=e.charCodeAt(n);if(mp(i)||vp(i)||n>0&&!bp(e.charCodeAt(n-1)))return n}return e.length}function Sp(e,t,n,i){if(n===e.length)return[];if(i===t.length)return null;if(e[n]!==t[i].toLowerCase())return null;var o=null,r=i+1;for(o=Sp(e,t,n+1,i+1);!o&&(r=wp(t,r))<t.length;)o=Sp(e,t,n+1,r),r++;return null===o?null:Cp({start:i,end:i+1},o)}function Lp(e,t){if(!t)return null;if(0===(t=t.trim()).length)return null;if(!function(e){for(var t=0,n=0,i=0,o=0,r=0;r<e.length;r++)mp(i=e.charCodeAt(r))&&t++,gp(i)&&n++,_p(i)&&o++;return 0!==t&&0!==n||0!==o?t<=5:e.length<=30}(e))return null;if(t.length>60)return null;var n=function(e){for(var t=0,n=0,i=0,o=0,r=0,s=0;s<e.length;s++)mp(r=e.charCodeAt(s))&&t++,gp(r)&&n++,bp(r)&&i++,vp(r)&&o++;return{upperPercent:t/e.length,lowerPercent:n/e.length,alphaPercent:i/e.length,numericPercent:o/e.length}}(t);if(!function(e){var t=e.upperPercent,n=e.lowerPercent,i=e.alphaPercent,o=e.numericPercent;return n>.2&&t<.8&&i>.6&&o<.2}(n)){if(!function(e){var t=e.upperPercent;return 0===e.lowerPercent&&t>.6}(n))return null;t=t.toLowerCase()}var i=null,o=0;for(e=e.toLowerCase();o<t.length&&null===(i=Sp(e,t,0,o));)o=wp(t,o+1);return i}"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach((function(e){return yp.add(e.charCodeAt(0))}));fp(pp,Lp,(function(e,t){var n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]})),fp(pp,Lp,(function(e,t){return function e(t,n,i,o){if(i===t.length)return[];if(o===n.length)return null;if(t[i]===n[o]){var r;return(r=e(t,n,i+1,o+1))?Cp({start:o,end:o+1},r):null}return e(t,n,i,o+1)}(e.toLowerCase(),t.toLowerCase(),0,0)})),new Qn.a(1e4);var Np=128;function Op(){for(var e=[],t=[0],n=1;n<=Np;n++)t.push(-n);for(n=0;n<=Np;n++){var i=t.slice(0);i[0]=-n,e.push(i)}return e}var Dp,xp=Op(),Ep=Op(),kp=Op();function Ip(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:return!0;default:return!1}}function Mp(e,t,n){return t[e]!==n[e]}function Tp(e,t,n,i,o,r,s){var a=e.length>Np?Np:e.length,u=i.length>Np?Np:i.length;if(!(n>=a||r>=u||a-n>u-r)&&function(e,t,n,i,o,r){for(;t<n&&o<r;)e[t]===i[o]&&(t+=1),o+=1;return t===n}(t,n,a,o,r,u)){var l=1,c=1,d=n,h=r;for(l=1,d=n;d<a;l++,d++)for(c=1,h=r;h<u;c++,h++){var f=Ap(e,t,d,n,i,o,h);Ep[l][c]=f;var p=xp[l-1][c-1]+(f>1?1:f),g=xp[l-1][c]+-1,m=xp[l][c-1]+-1;m>=g?m>p?(xp[l][c]=m,kp[l][c]=4):m===p?(xp[l][c]=m,kp[l][c]=6):(xp[l][c]=p,kp[l][c]=2):g>p?(xp[l][c]=g,kp[l][c]=1):g===p?(xp[l][c]=g,kp[l][c]=3):(xp[l][c]=p,kp[l][c]=2)}if(Rp=0,Fp=-100,Vp=r,Wp=s,function e(t,n,i,o,r){if(Rp>=10||i<-25)return;var s=0;for(;t>0&&n>0;){var a=Ep[t][n],u=kp[t][n];if(4===u)n-=1,r?i-=5:0!==o&&(i-=1),r=!1,s=0;else{if(!(2&u))return;if(4&u&&e(t,n-1,0!==o?i-1:i,o,r),i+=a,t-=1,n-=1,r=!0,o+=Math.pow(2,n+Vp),1===a){if(s+=1,0===t&&!Wp)return}else i+=1+s*(a-1),s=0}}Rp+=1,(i-=n>=3?9:3*n)>Fp&&(Fp=i,Pp=o)}(l-1,c-1,a===u?1:0,0,!1),0!==Rp)return[Fp,Pp,r]}}function Ap(e,t,n,i,o,r,s){return t[n]!==r[s]?-1:s===n-i?e[n]===o[s]?7:5:!Mp(s,o,r)||0!==s&&Mp(s-1,o,r)?!Ip(r,s)||0!==s&&Ip(r,s-1)?Ip(r,s-1)||function(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 32:case 9:return!0;default:return!1}}(r,s-1)?5:1:5:e[n]===o[s]?7:5}!function(e){e.Default=Object.freeze([-100,0,0]),e.isDefault=function(e){return!e||-100===e[0]&&0===e[1]&&0===e[2]}}(Dp||(Dp={}));var Rp=0,Pp=0,Fp=0,Vp=0,Wp=!1;var Bp=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),jp=function(){return(jp=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Hp=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},zp=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Up=function(){function e(e){this.trait=e,this.renderedElements=[]}return Object.defineProperty(e.prototype,"templateId",{get:function(){return"template:"+this.trait.trait},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){return e},e.prototype.renderElement=function(e,t,n){var i=Object(Xe.h)(this.renderedElements,(function(e){return e.templateData===n}));if(i>=0){var o=this.renderedElements[i];this.trait.unrender(n),o.index=t}else{o={index:t,templateData:n};this.renderedElements.push(o)}this.trait.renderIndex(t,n)},e.prototype.splice=function(e,t,n){for(var i=[],o=0,r=this.renderedElements;o<r.length;o++){var s=r[o];s.index<e?i.push(s):s.index>=e+t&&i.push({index:s.index+n-t,templateData:s.templateData})}this.renderedElements=i},e.prototype.renderIndexes=function(e){for(var t=0,n=this.renderedElements;t<n.length;t++){var i=n[t],o=i.index,r=i.templateData;e.indexOf(o)>-1&&this.trait.renderIndex(o,r)}},e.prototype.disposeTemplate=function(e){var t=Object(Xe.h)(this.renderedElements,(function(t){return t.templateData===e}));t<0||this.renderedElements.splice(t,1)},e}(),Kp=function(){function e(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new W.a,this.onChange=this._onChange.event}return Object.defineProperty(e.prototype,"trait",{get:function(){return this._trait},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderer",{get:function(){return new Up(this)},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,n){var i=n.length-t,o=e+t,r=zp(this.sortedIndexes.filter((function(t){return t<e})),n.map((function(t,n){return t?n+e:-1})).filter((function(e){return-1!==e})),this.sortedIndexes.filter((function(e){return e>=o})).map((function(e){return e+i})));this.renderer.splice(e,t,n.length),this._set(r,r)},e.prototype.renderIndex=function(e,t){Z.S(t,this._trait,this.contains(e))},e.prototype.unrender=function(e){Z.J(e,this._trait)},e.prototype.set=function(e,t){return this._set(e,zp(e).sort(cg),t)},e.prototype._set=function(e,t,n){var i=this.indexes,o=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;var r=lg(o,e);return this.renderer.renderIndexes(r),this._onChange.fire({indexes:e,browserEvent:n}),i},e.prototype.get=function(){return this.indexes},e.prototype.contains=function(e){return Object(Xe.b)(this.sortedIndexes,e,cg)>=0},e.prototype.dispose=function(){Object(le.e)(this._onChange)},Hp([Zf.a],e.prototype,"renderer",null),e}(),qp=function(e){function t(){return e.call(this,"focused")||this}return Bp(t,e),t.prototype.renderIndex=function(t,n){e.prototype.renderIndex.call(this,t,n),this.contains(t)?n.setAttribute("aria-selected","true"):n.removeAttribute("aria-selected")},t}(Kp),Gp=function(){function e(e,t,n){this.trait=e,this.view=t,this.identityProvider=n}return e.prototype.splice=function(e,t,n){var i=this;if(!this.identityProvider)return this.trait.splice(e,t,n.map((function(){return!1})));var o=this.trait.get().map((function(e){return i.identityProvider.getId(i.view.element(e)).toString()})),r=n.map((function(e){return o.indexOf(i.identityProvider.getId(e).toString())>-1}));this.trait.splice(e,t,r)},e}();function Yp(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}var Zp,Xp=function(){function e(e,t,n){this.list=e,this.view=t,this.disposables=new le.b;var i=!1!==n.multipleSelectionSupport;this.openController=n.openController||og;var o=W.b.chain(Object(Lf.a)(t.domNode,"keydown")).filter((function(e){return!Yp(e.target)})).map((function(e){return new Gn.a(e)}));o.filter((function(e){return 3===e.keyCode})).on(this.onEnter,this,this.disposables),o.filter((function(e){return 16===e.keyCode})).on(this.onUpArrow,this,this.disposables),o.filter((function(e){return 18===e.keyCode})).on(this.onDownArrow,this,this.disposables),o.filter((function(e){return 11===e.keyCode})).on(this.onPageUpArrow,this,this.disposables),o.filter((function(e){return 12===e.keyCode})).on(this.onPageDownArrow,this,this.disposables),o.filter((function(e){return 9===e.keyCode})).on(this.onEscape,this,this.disposables),i&&o.filter((function(e){return(ie.e?e.metaKey:e.ctrlKey)&&31===e.keyCode})).on(this.onCtrlA,this,this.disposables)}return e.prototype.onEnter=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent),this.openController.shouldOpen(e.browserEvent)&&this.list.open(this.list.getFocus(),e.browserEvent)},e.prototype.onUpArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onDownArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onPageUpArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onPageDownArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onCtrlA=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(Object(Xe.o)(this.list.length),e.browserEvent),this.view.domNode.focus()},e.prototype.onEscape=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.view.domNode.focus()},e.prototype.dispose=function(){this.disposables.dispose()},e}();!function(e){e[e.Idle=0]="Idle",e[e.Typing=1]="Typing"}(Zp||(Zp={}));var Jp=new(function(){function e(){}return e.prototype.mightProducePrintableCharacter=function(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=93&&e.keyCode<=102||e.keyCode>=80&&e.keyCode<=90)},e}()),Qp=function(){function e(e,t,n,i){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=n,this.delegate=i,this.enabled=!1,this.state=Zp.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.enabledDisposables=new le.b,this.disposables=new le.b,this.updateOptions(e.options)}return e.prototype.updateOptions=function(e){void 0===e.enableKeyboardNavigation||!!e.enableKeyboardNavigation?this.enable():this.disable(),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)},e.prototype.enable=function(){var e=this;if(!this.enabled){var t=W.b.chain(Object(Lf.a)(this.view.domNode,"keydown")).filter((function(e){return!Yp(e.target)})).filter((function(){return e.automaticKeyboardNavigation||e.triggered})).map((function(e){return new Gn.a(e)})).filter((function(t){return e.delegate.mightProducePrintableCharacter(t)})).forEach((function(e){e.stopPropagation(),e.preventDefault()})).map((function(e){return e.browserEvent.key})).event,n=W.b.debounce(t,(function(){return null}),800);W.b.reduce(W.b.any(t,n),(function(e,t){return null===t?null:(e||"")+t}))(this.onInput,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}},e.prototype.disable=function(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)},e.prototype.onInput=function(e){if(!e)return this.state=Zp.Idle,void(this.triggered=!1);var t=this.list.getFocus(),n=t.length>0?t[0]:0,i=this.state===Zp.Idle?1:0;this.state=Zp.Typing;for(var o=0;o<this.list.length;o++){var r=(n+o+i)%this.list.length,s=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(r)),a=s&&s.toString();if(void 0===a||pp(e,a))return this.list.setFocus([r]),void this.list.reveal(r)}},e.prototype.dispose=function(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()},e}(),$p=function(){function e(e,t){this.list=e,this.view=t,this.disposables=new le.b,W.b.chain(Object(Lf.a)(t.domNode,"keydown")).filter((function(e){return!Yp(e.target)})).map((function(e){return new Gn.a(e)})).filter((function(e){return!(2!==e.keyCode||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)})).on(this.onTab,this,this.disposables)}return e.prototype.onTab=function(e){if(e.target===this.view.domNode){var t=this.list.getFocus();if(0!==t.length){var n=this.view.domElement(t[0]);if(n){var i=n.querySelector("[tabIndex]");if(i&&i instanceof HTMLElement&&-1!==i.tabIndex){var o=window.getComputedStyle(i);"hidden"!==o.visibility&&"none"!==o.display&&(e.preventDefault(),e.stopPropagation(),i.focus())}}}}},e.prototype.dispose=function(){this.disposables.dispose()},e}();function eg(e){return ie.e?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function tg(e){return e.browserEvent.shiftKey}function ng(e){return e instanceof MouseEvent&&2===e.button}var ig={isSelectionSingleChangeEvent:eg,isSelectionRangeChangeEvent:tg},og={shouldOpen:function(e){return!(e instanceof MouseEvent)||!ng(e)}},rg=function(){function e(e){this.list=e,this.disposables=new le.b,this.multipleSelectionSupport=!(!1===e.options.multipleSelectionSupport),this.multipleSelectionSupport&&(this.multipleSelectionController=e.options.multipleSelectionController||ig),this.openController=e.options.openController||og,this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(sr.b.addTarget(e.getHTMLElement()))),e.onMouseClick(this.onPointer,this,this.disposables),e.onMouseMiddleClick(this.onPointer,this,this.disposables),e.onTap(this.onPointer,this,this.disposables)}return e.prototype.isSelectionSingleChangeEvent=function(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(e):ie.e?e.browserEvent.metaKey:e.browserEvent.ctrlKey},e.prototype.isSelectionRangeChangeEvent=function(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(e):e.browserEvent.shiftKey},e.prototype.isSelectionChangeEvent=function(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)},e.prototype.onMouseDown=function(e){document.activeElement!==e.browserEvent.target&&this.list.domFocus()},e.prototype.onContextMenu=function(e){var t=void 0===e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)},e.prototype.onPointer=function(e){if(this.mouseSupport&&!Yp(e.browserEvent.target)){var t=this.list.getFocus()[0],n=this.list.getSelection();t=void 0===t?n[0]:t;var i=e.index;if(void 0===i)return this.list.setFocus([],e.browserEvent),void this.list.setSelection([],e.browserEvent);if(this.multipleSelectionSupport&&this.isSelectionRangeChangeEvent(e))return this.changeSelection(e,t);if(this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))return this.changeSelection(e,t);this.list.setFocus([i],e.browserEvent),ng(e.browserEvent)||(this.list.setSelection([i],e.browserEvent),this.openController.shouldOpen(e.browserEvent)&&this.list.open([i],e.browserEvent))}},e.prototype.onDoubleClick=function(e){if(!(Yp(e.browserEvent.target)||this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))){var t=this.list.getFocus();this.list.setSelection(t,e.browserEvent),this.list.pin(t)}},e.prototype.changeSelection=function(e,t){var n=e.index;if(this.isSelectionRangeChangeEvent(e)&&void 0!==t){var i=Math.min(t,n),o=Math.max(t,n),r=Object(Xe.o)(i,o+1),s=function(e,t){var n=e.indexOf(t);if(-1===n)return[];var i=[],o=n-1;for(;o>=0&&e[o]===t-(n-o);)i.push(e[o--]);i.reverse(),o=n;for(;o<e.length&&e[o]===t+(o-n);)i.push(e[o++]);return i}(lg(u=this.list.getSelection(),[t]),t);if(0===s.length)return;var a=lg(r,function(e,t){var n=[],i=0,o=0;for(;i<e.length||o<t.length;)if(i>=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){i++,o++;continue}e[i]<t[o]?n.push(e[i++]):o++}return n}(u,s));this.list.setSelection(a,e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){var u;a=(u=this.list.getSelection()).filter((function(e){return e!==n}));this.list.setFocus([n]),u.length===a.length?this.list.setSelection(zp(a,[n]),e.browserEvent):this.list.setSelection(a,e.browserEvent)}},e.prototype.dispose=function(){this.disposables.dispose()},e}(),sg=function(){function e(e,t){this.styleElement=e,this.selectorSuffix=t}return e.prototype.style=function(e){var t=this.selectorSuffix&&"."+this.selectorSuffix,n=[];e.listBackground&&(e.listBackground.isOpaque()?n.push(".monaco-list"+t+" .monaco-list-rows { background: "+e.listBackground+"; }"):ie.e||console.warn("List with id '"+this.selectorSuffix+"' was styled with a non-opaque background color. This will break sub-pixel antialiasing.")),e.listFocusBackground&&(n.push(".monaco-list"+t+":focus .monaco-list-row.focused { background-color: "+e.listFocusBackground+"; }"),n.push(".monaco-list"+t+":focus .monaco-list-row.focused:hover { background-color: "+e.listFocusBackground+"; }")),e.listFocusForeground&&n.push(".monaco-list"+t+":focus .monaco-list-row.focused { color: "+e.listFocusForeground+"; }"),e.listActiveSelectionBackground&&(n.push(".monaco-list"+t+":focus .monaco-list-row.selected { background-color: "+e.listActiveSelectionBackground+"; }"),n.push(".monaco-list"+t+":focus .monaco-list-row.selected:hover { background-color: "+e.listActiveSelectionBackground+"; }")),e.listActiveSelectionForeground&&n.push(".monaco-list"+t+":focus .monaco-list-row.selected { color: "+e.listActiveSelectionForeground+"; }"),e.listFocusAndSelectionBackground&&n.push("\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list"+t+":focus .monaco-list-row.selected.focused { background-color: "+e.listFocusAndSelectionBackground+"; }\n\t\t\t"),e.listFocusAndSelectionForeground&&n.push("\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list"+t+":focus .monaco-list-row.selected.focused { color: "+e.listFocusAndSelectionForeground+"; }\n\t\t\t"),e.listInactiveFocusBackground&&(n.push(".monaco-list"+t+" .monaco-list-row.focused { background-color: "+e.listInactiveFocusBackground+"; }"),n.push(".monaco-list"+t+" .monaco-list-row.focused:hover { background-color: "+e.listInactiveFocusBackground+"; }")),e.listInactiveSelectionBackground&&(n.push(".monaco-list"+t+" .monaco-list-row.selected { background-color: "+e.listInactiveSelectionBackground+"; }"),n.push(".monaco-list"+t+" .monaco-list-row.selected:hover { background-color: "+e.listInactiveSelectionBackground+"; }")),e.listInactiveSelectionForeground&&n.push(".monaco-list"+t+" .monaco-list-row.selected { color: "+e.listInactiveSelectionForeground+"; }"),e.listHoverBackground&&n.push(".monaco-list"+t+":not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: "+e.listHoverBackground+"; }"),e.listHoverForeground&&n.push(".monaco-list"+t+" .monaco-list-row:hover:not(.selected):not(.focused) { color: "+e.listHoverForeground+"; }"),e.listSelectionOutline&&n.push(".monaco-list"+t+" .monaco-list-row.selected { outline: 1px dotted "+e.listSelectionOutline+"; outline-offset: -1px; }"),e.listFocusOutline&&n.push("\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list"+t+":focus .monaco-list-row.focused { outline: 1px solid "+e.listFocusOutline+"; outline-offset: -1px; }\n\t\t\t"),e.listInactiveFocusOutline&&n.push(".monaco-list"+t+" .monaco-list-row.focused { outline: 1px dotted "+e.listInactiveFocusOutline+"; outline-offset: -1px; }"),e.listHoverOutline&&n.push(".monaco-list"+t+" .monaco-list-row:hover { outline: 1px dashed "+e.listHoverOutline+"; outline-offset: -1px; }"),e.listDropBackground&&n.push("\n\t\t\t\t.monaco-list"+t+".drop-target,\n\t\t\t\t.monaco-list"+t+" .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list"+t+" .monaco-list-row.drop-target { background-color: "+e.listDropBackground+" !important; color: inherit !important; }\n\t\t\t"),e.listFilterWidgetBackground&&n.push(".monaco-list-type-filter { background-color: "+e.listFilterWidgetBackground+" }"),e.listFilterWidgetOutline&&n.push(".monaco-list-type-filter { border: 1px solid "+e.listFilterWidgetOutline+"; }"),e.listFilterWidgetNoMatchesOutline&&n.push(".monaco-list-type-filter.no-matches { border: 1px solid "+e.listFilterWidgetNoMatchesOutline+"; }"),e.listMatchesShadow&&n.push(".monaco-list-type-filter { box-shadow: 1px 1px 1px "+e.listMatchesShadow+"; }");var i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i)},e}(),ag={listFocusBackground:Ls.a.fromHex("#7FB0D0"),listActiveSelectionBackground:Ls.a.fromHex("#0E639C"),listActiveSelectionForeground:Ls.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:Ls.a.fromHex("#094771"),listFocusAndSelectionForeground:Ls.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:Ls.a.fromHex("#3F3F46"),listHoverBackground:Ls.a.fromHex("#2A2D2E"),listDropBackground:Ls.a.fromHex("#383B3D"),treeIndentGuidesStroke:Ls.a.fromHex("#a9a9a9")},ug={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},ariaRootRole:Bf.TREE};function lg(e,t){for(var n=[],i=0,o=0;i<e.length||o<t.length;)if(i>=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){n.push(e[i]),i++,o++;continue}e[i]<t[o]?n.push(e[i++]):n.push(t[o++])}return n}var cg=function(e,t){return e-t},dg=function(){function e(e,t){this._templateId=e,this.renderers=t}return Object.defineProperty(e.prototype,"templateId",{get:function(){return this._templateId},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){return this.renderers.map((function(t){return t.renderTemplate(e)}))},e.prototype.renderElement=function(e,t,n,i){for(var o=0,r=0,s=this.renderers;r<s.length;r++){s[r].renderElement(e,t,n[o++],i)}},e.prototype.disposeElement=function(e,t,n,i){for(var o=0,r=0,s=this.renderers;r<s.length;r++){var a=s[r];a.disposeElement&&a.disposeElement(e,t,n[o],i),o+=1}},e.prototype.disposeTemplate=function(e){for(var t=0,n=0,i=this.renderers;n<i.length;n++){i[n].disposeTemplate(e[t++])}},e}(),hg=function(){function e(e){this.accessibilityProvider=e,this.templateId="a18n"}return e.prototype.renderTemplate=function(e){return e},e.prototype.renderElement=function(e,t,n){var i=this.accessibilityProvider.getAriaLabel(e);i?n.setAttribute("aria-label",i):n.removeAttribute("aria-label");var o=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof o?n.setAttribute("aria-level",""+o):n.removeAttribute("aria-level")},e.prototype.disposeTemplate=function(e){},e}(),fg=function(){function e(e,t){this.list=e,this.dnd=t}return e.prototype.getDragElements=function(e){var t=this.list.getSelectedElements();return t.indexOf(e)>-1?t:[e]},e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e)},e.prototype.getDragLabel=function(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(e,t)},e.prototype.onDragOver=function(e,t,n,i){return this.dnd.onDragOver(e,t,n,i)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e.prototype.drop=function(e,t,n,i){this.dnd.drop(e,t,n,i)},e}(),pg=function(){function e(e,t,n,i,o){void 0===o&&(o=ug),this.user=e,this._options=o,this.eventBufferer=new W.c,this.disposables=new le.b,this._onDidOpen=new W.a,this.onDidOpen=this._onDidOpen.event,this._onDidPin=new W.a,this.didJustPressContextMenuKey=!1,this._onDidDispose=new W.a,this.onDidDispose=this._onDidDispose.event,this.focus=new qp,this.selection=new Kp("selected"),Object(Le.d)(o,ag,!1);var r=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=o.accessibilityProvider,this.accessibilityProvider&&(r.push(new hg(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),i=i.map((function(e){return new dg(e.templateId,zp(r,[e]))}));var s=jp(jp({},o),{dnd:o.dnd&&new fg(this,o.dnd)});if(this.view=new cp(t,n,i,s),"string"!=typeof o.ariaRole?this.view.domNode.setAttribute("role",Bf.TREE):this.view.domNode.setAttribute("role",o.ariaRole),o.styleController)this.styleController=o.styleController(this.view.domId);else{var a=Z.q(this.view.domNode);this.styleController=new sg(a,this.view.domId)}if(this.spliceable=new dp([new Gp(this.focus,this.view,o.identityProvider),new Gp(this.selection,this.view,o.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=W.b.map(Object(Lf.a)(this.view.domNode,"focus",!0),(function(){return null})),this.onDidBlur=W.b.map(Object(Lf.a)(this.view.domNode,"blur",!0),(function(){return null})),this.disposables.add(new $p(this,this.view)),"boolean"!=typeof o.keyboardSupport||o.keyboardSupport){var u=new Xp(this,this.view,o);this.disposables.add(u)}if(o.keyboardNavigationLabelProvider){var l=o.keyboardNavigationDelegate||Jp;this.typeLabelController=new Qp(this,this.view,o.keyboardNavigationLabelProvider,l),this.disposables.add(this.typeLabelController)}this.disposables.add(this.createMouseController(o)),this.onFocusChange(this._onFocusChange,this,this.disposables),this.onSelectionChange(this._onSelectionChange,this,this.disposables),o.ariaLabel&&this.view.domNode.setAttribute("aria-label",Object(Zn.a)("aria list","{0}. Use the navigation keys to navigate.",o.ariaLabel))}return Object.defineProperty(e.prototype,"onFocusChange",{get:function(){var e=this;return W.b.map(this.eventBufferer.wrapEvent(this.focus.onChange),(function(t){return e.toListEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){var e=this;return W.b.map(this.eventBufferer.wrapEvent(this.selection.onChange),(function(t){return e.toListEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"domId",{get:function(){return this.view.domId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseClick",{get:function(){return this.view.onMouseClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDblClick",{get:function(){return this.view.onMouseDblClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseMiddleClick",{get:function(){return this.view.onMouseMiddleClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDown",{get:function(){return this.view.onMouseDown},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTouchStart",{get:function(){return this.view.onTouchStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTap",{get:function(){return this.view.onTap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onContextMenu",{get:function(){var e=this,t=W.b.chain(Object(Lf.a)(this.view.domNode,"keydown")).map((function(e){return new Gn.a(e)})).filter((function(t){return e.didJustPressContextMenuKey=58===t.keyCode||t.shiftKey&&68===t.keyCode})).filter((function(e){return e.preventDefault(),e.stopPropagation(),!1})).event,n=W.b.chain(Object(Lf.a)(this.view.domNode,"keyup")).filter((function(){var t=e.didJustPressContextMenuKey;return e.didJustPressContextMenuKey=!1,t})).filter((function(){return e.getFocus().length>0&&!!e.view.domElement(e.getFocus()[0])})).map((function(t){var n=e.getFocus()[0];return{index:n,element:e.view.element(n),anchor:e.view.domElement(n),browserEvent:t}})).event,i=W.b.chain(this.view.onContextMenu).filter((function(){return!e.didJustPressContextMenuKey})).map((function(e){var t=e.element,n=e.index,i=e.browserEvent;return{element:t,index:n,anchor:{x:i.clientX+1,y:i.clientY},browserEvent:i}})).event;return W.b.any(t,n,i)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onKeyDown",{get:function(){return Object(Lf.a)(this.view.domNode,"keydown")},enumerable:!0,configurable:!0}),e.prototype.createMouseController=function(e){return new rg(this)},e.prototype.updateOptions=function(e){void 0===e&&(e={}),this._options=jp(jp({},this._options),e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options)},Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,n){var i=this;if(void 0===n&&(n=[]),e<0||e>this.view.length)throw new Jf(this.user,"Invalid start index: "+e);if(t<0)throw new Jf(this.user,"Invalid delete count: "+t);0===t&&0===n.length||this.eventBufferer.bufferEvents((function(){return i.spliceable.splice(e,t,n)}))},e.prototype.rerender=function(){this.view.rerender()},e.prototype.element=function(e){return this.view.element(e)},Object.defineProperty(e.prototype,"length",{get:function(){return this.view.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentHeight",{get:function(){return this.view.contentHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.view.getScrollTop()},set:function(e){this.view.setScrollTop(e)},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.view.domNode.focus()},e.prototype.layout=function(e,t){this.view.layout(e,t)},e.prototype.setSelection=function(e,t){for(var n=0,i=e;n<i.length;n++){var o=i[n];if(o<0||o>=this.length)throw new Jf(this.user,"Invalid index "+o)}this.selection.set(e,t)},e.prototype.getSelection=function(){return this.selection.get()},e.prototype.getSelectedElements=function(){var e=this;return this.getSelection().map((function(t){return e.view.element(t)}))},e.prototype.setFocus=function(e,t){for(var n=0,i=e;n<i.length;n++){var o=i[n];if(o<0||o>=this.length)throw new Jf(this.user,"Invalid index "+o)}this.focus.set(e,t)},e.prototype.focusNext=function(e,t,n,i){if(void 0===e&&(e=1),void 0===t&&(t=!1),0!==this.length){var o=this.focus.get(),r=this.findNextIndex(o.length>0?o[0]+e:0,t,i);r>-1&&this.setFocus([r],n)}},e.prototype.focusPrevious=function(e,t,n,i){if(void 0===e&&(e=1),void 0===t&&(t=!1),0!==this.length){var o=this.focus.get(),r=this.findPreviousIndex(o.length>0?o[0]-e:0,t,i);r>-1&&this.setFocus([r],n)}},e.prototype.focusNextPage=function(e,t){var n=this,i=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);i=0===i?0:i-1;var o=this.view.element(i),r=this.getFocusedElements()[0];if(r!==o){var s=this.findPreviousIndex(i,!1,t);s>-1&&r!==this.view.element(s)?this.setFocus([s],e):this.setFocus([i],e)}else{var a=this.view.getScrollTop();this.view.setScrollTop(a+this.view.renderHeight-this.view.elementHeight(i)),this.view.getScrollTop()!==a&&setTimeout((function(){return n.focusNextPage(e,t)}),0)}},e.prototype.focusPreviousPage=function(e,t){var n,i=this,o=this.view.getScrollTop();n=0===o?this.view.indexAt(o):this.view.indexAfter(o-1);var r=this.view.element(n),s=this.getFocusedElements()[0];if(s!==r){var a=this.findNextIndex(n,!1,t);a>-1&&s!==this.view.element(a)?this.setFocus([a],e):this.setFocus([n],e)}else{var u=o;this.view.setScrollTop(o-this.view.renderHeight),this.view.getScrollTop()!==u&&setTimeout((function(){return i.focusPreviousPage(e,t)}),0)}},e.prototype.focusLast=function(e,t){if(0!==this.length){var n=this.findPreviousIndex(this.length-1,!1,t);n>-1&&this.setFocus([n],e)}},e.prototype.focusFirst=function(e,t){if(0!==this.length){var n=this.findNextIndex(0,!1,t);n>-1&&this.setFocus([n],e)}},e.prototype.findNextIndex=function(e,t,n){void 0===t&&(t=!1);for(var i=0;i<this.length;i++){if(e>=this.length&&!t)return-1;if(e%=this.length,!n||n(this.element(e)))return e;e++}return-1},e.prototype.findPreviousIndex=function(e,t,n){void 0===t&&(t=!1);for(var i=0;i<this.length;i++){if(e<0&&!t)return-1;if(e=(this.length+e%this.length)%this.length,!n||n(this.element(e)))return e;e--}return-1},e.prototype.getFocus=function(){return this.focus.get()},e.prototype.getFocusedElements=function(){var e=this;return this.getFocus().map((function(t){return e.view.element(t)}))},e.prototype.reveal=function(e,t){if(e<0||e>=this.length)throw new Jf(this.user,"Invalid index "+e);var n=this.view.getScrollTop(),i=this.view.elementTop(e),o=this.view.elementHeight(e);if(Object(je.h)(t)){var r=o-this.view.renderHeight;this.view.setScrollTop(r*hp(t,0,1)+i)}else{var s=i+o,a=n+this.view.renderHeight;i<n&&s>=a||(i<n?this.view.setScrollTop(i):s>=a&&this.view.setScrollTop(s-this.view.renderHeight))}},e.prototype.getRelativeTop=function(e){if(e<0||e>=this.length)throw new Jf(this.user,"Invalid index "+e);var t=this.view.getScrollTop(),n=this.view.elementTop(e),i=this.view.elementHeight(e);if(n<t||n+i>t+this.view.renderHeight)return null;var o=i-this.view.renderHeight;return Math.abs((t-n)/o)},e.prototype.getHTMLElement=function(){return this.view.domNode},e.prototype.open=function(e,t){for(var n=this,i=0,o=e;i<o.length;i++){var r=o[i];if(r<0||r>=this.length)throw new Jf(this.user,"Invalid index "+r)}this._onDidOpen.fire({indexes:e,elements:e.map((function(e){return n.view.element(e)})),browserEvent:t})},e.prototype.pin=function(e,t){for(var n=this,i=0,o=e;i<o.length;i++){var r=o[i];if(r<0||r>=this.length)throw new Jf(this.user,"Invalid index "+r)}this._onDidPin.fire({indexes:e,elements:e.map((function(e){return n.view.element(e)})),browserEvent:t})},e.prototype.style=function(e){this.styleController.style(e)},e.prototype.toListEvent=function(e){var t=this,n=e.indexes,i=e.browserEvent;return{indexes:n,elements:n.map((function(e){return t.view.element(e)})),browserEvent:i}},e.prototype._onFocusChange=function(){var e=this.focus.get();Z.S(this.view.domNode,"element-focused",e.length>0),this.onDidChangeActiveDescendant()},e.prototype.onDidChangeActiveDescendant=function(){var e,t=this.focus.get();if(t.length>0){var n=void 0;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(n=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",n||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")},e.prototype._onSelectionChange=function(){var e=this.selection.get();Z.S(this.view.domNode,"selection-none",0===e.length),Z.S(this.view.domNode,"selection-single",1===e.length),Z.S(this.view.domNode,"selection-multiple",e.length>1)},e.prototype.dispose=function(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidOpen.dispose(),this._onDidPin.dispose(),this._onDidDispose.dispose()},Hp([Zf.a],e.prototype,"onFocusChange",null),Hp([Zf.a],e.prototype,"onSelectionChange",null),Hp([Zf.a],e.prototype,"onContextMenu",null),e}(),gg=(n("2V9f"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),mg=function(e){function t(t,n){return e.call(this,"TreeError ["+t+"] "+n)||this}return gg(t,e),t}(Error),vg=function(){function e(e){this.fn=e,this._map=new WeakMap}return e.prototype.map=function(e){var t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t},e}(),_g=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i};function yg(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function bg(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function Cg(e){return"boolean"==typeof e.collapsible}var wg=function(){function e(e,t,n,i){void 0===i&&(i={}),this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new W.c,this._onDidChangeCollapseState=new W.a,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new W.a,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new W.a,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault=void 0!==i.collapseByDefault&&i.collapseByDefault,this.filter=i.filter,this.autoExpandSingleChildren=void 0!==i.autoExpandSingleChildren&&i.autoExpandSingleChildren,this.root={parent:void 0,element:n,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visible:!0,filterData:void 0}}return e.prototype.splice=function(e,t,n,i,o){var r,s=this;if(0===e.length)throw new mg(this.user,"Invalid tree location");for(var a=this.getParentNodeWithListIndex(e),u=a.parentNode,l=a.listIndex,c=a.revealed,d=a.visible,h=[],f=st.c.map(st.c.from(n),(function(e){return s.createTreeNode(e,u,u.visible?1:0,c,h,i)})),p=e[e.length-1],g=0,m=p;m>=0&&m<u.children.length;m--){if((L=u.children[m]).visible){g=L.visibleChildIndex;break}}var v=[],_=0,y=0;st.c.forEach(f,(function(e){v.push(e),y+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=g+_++)}));for(var b=(r=u.children).splice.apply(r,_g([p,t],v)),C=0,w=0,S=b;w<S.length;w++){(L=S[w]).visible&&C++}if(0!==C)for(m=p+v.length;m<u.children.length;m++){var L;(L=u.children[m]).visible&&(L.visibleChildIndex-=C)}if(u.visibleChildrenCount+=_-C,c&&d){var N=b.reduce((function(e,t){return e+(t.visible?t.renderNodeCount:0)}),0);this._updateAncestorsRenderNodeCount(u,y-N),this.list.splice(l,N,h)}if(b.length>0&&o){var O=function(e){o(e),e.children.forEach(O)};b.forEach(O)}this._onDidSplice.fire({insertedNodes:v,deletedNodes:b})},e.prototype.rerender=function(e){if(0===e.length)throw new mg(this.user,"Invalid tree location");var t=this.getTreeNodeWithListIndex(e),n=t.node,i=t.listIndex;t.revealed&&this.list.splice(i,1,[n])},e.prototype.has=function(e){return this.hasTreeNode(e)},e.prototype.getListIndex=function(e){var t=this.getTreeNodeWithListIndex(e),n=t.listIndex,i=t.visible,o=t.revealed;return i&&o?n:-1},e.prototype.getListRenderCount=function(e){return this.getTreeNode(e).renderNodeCount},e.prototype.isCollapsible=function(e){return this.getTreeNode(e).collapsible},e.prototype.setCollapsible=function(e,t){var n=this,i=this.getTreeNode(e);void 0===t&&(t=!i.collapsible);var o={collapsible:t};return this.eventBufferer.bufferEvents((function(){return n._setCollapseState(e,o)}))},e.prototype.isCollapsed=function(e){return this.getTreeNode(e).collapsed},e.prototype.setCollapsed=function(e,t,n){var i=this,o=this.getTreeNode(e);void 0===t&&(t=!o.collapsed);var r={collapsed:t,recursive:n||!1};return this.eventBufferer.bufferEvents((function(){return i._setCollapseState(e,r)}))},e.prototype._setCollapseState=function(e,t){var n=this.getTreeNodeWithListIndex(e),i=n.node,o=n.listIndex,r=n.revealed,s=this._setListNodeCollapseState(i,o,r,t);if(i!==this.root&&this.autoExpandSingleChildren&&s&&!Cg(t)&&i.collapsible&&!i.collapsed&&!t.recursive){for(var a=-1,u=0;u<i.children.length;u++){if(i.children[u].visible){if(a>-1){a=-1;break}a=u}}a>-1&&this._setCollapseState(_g(e,[a]),t)}return s},e.prototype._setListNodeCollapseState=function(e,t,n,i){var o=this._setNodeCollapseState(e,i,!1);if(!n||!e.visible||!o)return o;var r=e.renderNodeCount,s=this.updateNodeAfterCollapseChange(e),a=r-(-1===t?0:1);return this.list.splice(t+1,a,s.slice(1)),o},e.prototype._setNodeCollapseState=function(e,t,n){var i;if(e===this.root?i=!1:(Cg(t)?(i=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(i=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):i=!1,i&&this._onDidChangeCollapseState.fire({node:e,deep:n})),!Cg(t)&&t.recursive)for(var o=0,r=e.children;o<r.length;o++){var s=r[o];i=this._setNodeCollapseState(s,t,!0)||i}return i},e.prototype.expandTo=function(e){var t=this;this.eventBufferer.bufferEvents((function(){for(var n=t.getTreeNode(e);n.parent;)n=n.parent,e=e.slice(0,e.length-1),n.collapsed&&t._setCollapseState(e,{collapsed:!1,recursive:!1})}))},e.prototype.refilter=function(){var e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t)},e.prototype.createTreeNode=function(e,t,n,i,o,r){var s=this,a={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visible:!0,filterData:void 0},u=this._filterNode(a,n);i&&o.push(a);var l=st.c.from(e.children),c=i&&0!==u&&!a.collapsed,d=st.c.map(l,(function(e){return s.createTreeNode(e,a,u,c,o,r)})),h=0,f=1;return st.c.forEach(d,(function(e){a.children.push(e),f+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=h++)})),a.collapsible=a.collapsible||a.children.length>0,a.visibleChildrenCount=h,a.visible=2===u?h>0:1===u,a.visible?a.collapsed||(a.renderNodeCount=f):(a.renderNodeCount=0,i&&o.pop()),r&&r(a),a},e.prototype.updateNodeAfterCollapseChange=function(e){var t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n},e.prototype._updateNodeAfterCollapseChange=function(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(var n=0,i=e.children;n<i.length;n++){var o=i[n];e.renderNodeCount+=this._updateNodeAfterCollapseChange(o,t)}return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount},e.prototype.updateNodeAfterFilterChange=function(e){var t=e.renderNodeCount,n=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n},e.prototype._updateNodeAfterFilterChange=function(e,t,n,i){var o;if(void 0===i&&(i=!0),e!==this.root){if(0===(o=this._filterNode(e,t)))return e.visible=!1,e.renderNodeCount=0,!1;i&&n.push(e)}var r=n.length;e.renderNodeCount=e===this.root?0:1;var s=!1;if(e.collapsed&&0===o)e.visibleChildrenCount=0;else{for(var a=0,u=0,l=e.children;u<l.length;u++){var c=l[u];s=this._updateNodeAfterFilterChange(c,o,n,i&&!e.collapsed)||s,c.visible&&(c.visibleChildIndex=a++)}e.visibleChildrenCount=a}return e!==this.root&&(e.visible=2===o?s:1===o),e.visible?e.collapsed||(e.renderNodeCount+=n.length-r):(e.renderNodeCount=0,i&&n.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible},e.prototype._updateAncestorsRenderNodeCount=function(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent},e.prototype._filterNode=function(e,t){var n=this.filter?this.filter.filter(e.element,t):1;return"boolean"==typeof n?(e.filterData=void 0,n?1:0):yg(n)?(e.filterData=n.data,bg(n.visibility)):(e.filterData=void 0,bg(n))},e.prototype.hasTreeNode=function(e,t){if(void 0===t&&(t=this.root),!e||0===e.length)return!0;var n=e[0],i=e.slice(1);return!(n<0||n>t.children.length)&&this.hasTreeNode(i,t.children[n])},e.prototype.getTreeNode=function(e,t){if(void 0===t&&(t=this.root),!e||0===e.length)return t;var n=e[0],i=e.slice(1);if(n<0||n>t.children.length)throw new mg(this.user,"Invalid tree location");return this.getTreeNode(i,t.children[n])},e.prototype.getTreeNodeWithListIndex=function(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};var t=this.getParentNodeWithListIndex(e),n=t.parentNode,i=t.listIndex,o=t.revealed,r=t.visible,s=e[e.length-1];if(s<0||s>n.children.length)throw new mg(this.user,"Invalid tree location");var a=n.children[s];return{node:a,listIndex:i,revealed:o,visible:r&&a.visible}},e.prototype.getParentNodeWithListIndex=function(e,t,n,i,o){void 0===t&&(t=this.root),void 0===n&&(n=0),void 0===i&&(i=!0),void 0===o&&(o=!0);var r=e[0],s=e.slice(1);if(r<0||r>t.children.length)throw new mg(this.user,"Invalid tree location");for(var a=0;a<r;a++)n+=t.children[a].renderNodeCount;return i=i&&!t.collapsed,o=o&&t.visible,0===s.length?{parentNode:t,listIndex:n,revealed:i,visible:o}:this.getParentNodeWithListIndex(s,t.children[r],n+1,i,o)},e.prototype.getNode=function(e){return void 0===e&&(e=[]),this.getTreeNode(e)},e.prototype.getNodeLocation=function(e){for(var t=[],n=e;n.parent;)t.push(n.parent.children.indexOf(n)),n=n.parent;return t.reverse()},e.prototype.getParentNodeLocation=function(e){return 0===e.length?void 0:1===e.length?[]:Object(Xe.q)(e)[0]},e}(),Sg=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Lg=function(){return(Lg=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Ng=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Og=function(e){function t(t){var n=e.call(this,t.elements.map((function(e){return e.element})))||this;return n.data=t,n}return Sg(t,e),t}(ap);function Dg(e){return e instanceof ap?new Og(e):e}var xg=function(){function e(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=le.a.None}return e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e.element)},e.prototype.getDragLabel=function(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((function(e){return e.element})),t)},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(Dg(e),t)},e.prototype.onDragOver=function(e,t,n,i,o){var r=this;void 0===o&&(o=!0);var s=this.dnd.onDragOver(Dg(e),t&&t.element,n,i),a=this.autoExpandNode!==t;if(a&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return s;if(a&&"boolean"!=typeof s&&s.autoExpand&&(this.autoExpandDisposable=Object(We.g)((function(){var e=r.modelProvider(),n=e.getNodeLocation(t);e.isCollapsed(n)&&e.setCollapsed(n,!1),r.autoExpandNode=void 0}),500)),"boolean"==typeof s||!s.accept||void 0===s.bubble||s.feedback)return o?s:{accept:"boolean"==typeof s?s:s.accept,effect:"boolean"==typeof s?void 0:s.effect,feedback:[n]};if(1===s.bubble){var u=this.modelProvider(),l=u.getNodeLocation(t),c=u.getParentNodeLocation(l),d=u.getNode(c),h=c&&u.getListIndex(c);return this.onDragOver(e,d,h,i,!1)}var f=this.modelProvider(),p=f.getNodeLocation(t),g=f.getListIndex(p),m=f.getListRenderCount(p);return Lg(Lg({},s),{feedback:Object(Xe.o)(g,g+m)})},e.prototype.drop=function(e,t,n,i){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(Dg(e),t&&t.element,n,i)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e}();var Eg,kg=function(){function e(e){this.delegate=e}return e.prototype.getHeight=function(e){return this.delegate.getHeight(e.element)},e.prototype.getTemplateId=function(e){return this.delegate.getTemplateId(e.element)},e.prototype.hasDynamicHeight=function(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)},e.prototype.setDynamicHeight=function(e,t){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)},e}();!function(e){e.None="none",e.OnHover="onHover",e.Always="always"}(Eg||(Eg={}));var Ig=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this._elements=t,this.onDidChange=W.b.forEach(e,(function(e){return n._elements=e}))}return Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),e}(),Mg=function(){function e(t,n,i,o,r){void 0===r&&(r={}),this.renderer=t,this.modelProvider=n,this.activeNodes=o,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=e.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new pi,this.activeIndentNodes=new Set,this.indentGuidesDisposable=le.a.None,this.disposables=new le.b,this.templateId=t.templateId,this.updateOptions(r),W.b.map(i,(function(e){return e.node}))(this.onDidChangeNodeTwistieState,this,this.disposables),t.onDidChangeTwistieState&&t.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}return e.prototype.updateOptions=function(e){if(void 0===e&&(e={}),void 0!==e.indent&&(this.indent=hp(e.indent,0,40)),void 0!==e.renderIndentGuides){var t=e.renderIndentGuides!==Eg.None;if(t!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t)){var n=new le.b;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,n),this.indentGuidesDisposable=n,this._onDidChangeActiveNodes(this.activeNodes.elements)}}void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)},e.prototype.renderTemplate=function(e){var t=Object(Z.m)(e,Object(Z.a)(".monaco-tl-row")),n=Object(Z.m)(t,Object(Z.a)(".monaco-tl-indent")),i=Object(Z.m)(t,Object(Z.a)(".monaco-tl-twistie")),o=Object(Z.m)(t,Object(Z.a)(".monaco-tl-contents")),r=this.renderer.renderTemplate(o);return{container:e,indent:n,twistie:i,indentGuidesDisposable:le.a.None,templateData:r}},e.prototype.renderElement=function(t,n,i,o){"number"==typeof o&&(this.renderedNodes.set(t,{templateData:i,height:o}),this.renderedElements.set(t.element,t));var r=e.DefaultIndent+(t.depth-1)*this.indent;i.twistie.style.paddingLeft=r+"px",i.indent.style.width=r+this.indent-16+"px",this.renderTwistie(t,i),"number"==typeof o&&this.renderIndentGuides(t,i),this.renderer.renderElement(t,n,i.templateData,o)},e.prototype.disposeElement=function(e,t,n,i){n.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.templateData,i),"number"==typeof i&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.onDidChangeTwistieState=function(e){var t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)},e.prototype.onDidChangeNodeTwistieState=function(e){var t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))},e.prototype.renderTwistie=function(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e.element,t.twistie),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(Object(Z.f)(t.twistie,"codicon","codicon-chevron-down","collapsible"),Object(Z.S)(t.twistie,"collapsed",e.collapsed)):Object(Z.K)(t.twistie,"codicon","codicon-chevron-down","collapsible","collapsed"),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")},e.prototype.renderIndentGuides=function(e,t){var n=this;if(Object(Z.o)(t.indent),t.indentGuidesDisposable.dispose(),this.shouldRenderIndentGuides){for(var i=new le.b,o=this.modelProvider(),r=e,s=function(){var e=o.getNodeLocation(r),s=o.getParentNodeLocation(e);if(!s)return"break";var u=o.getNode(s),l=Object(Z.a)(".indent-guide",{style:"width: "+a.indent+"px"});a.activeIndentNodes.has(u)&&Object(Z.e)(l,"active"),0===t.indent.childElementCount?t.indent.appendChild(l):t.indent.insertBefore(l,t.indent.firstElementChild),a.renderedIndentGuides.add(u,l),i.add(Object(le.f)((function(){return n.renderedIndentGuides.delete(u,l)}))),r=u},a=this;;){if("break"===s())break}t.indentGuidesDisposable=i}},e.prototype._onDidChangeActiveNodes=function(e){var t=this;if(this.shouldRenderIndentGuides){var n=new Set,i=this.modelProvider();e.forEach((function(e){var t=i.getNodeLocation(e);try{var o=i.getParentNodeLocation(t);e.collapsible&&e.children.length>0&&!e.collapsed?n.add(e):o&&n.add(i.getNode(o))}catch(e){}})),this.activeIndentNodes.forEach((function(e){n.has(e)||t.renderedIndentGuides.forEach(e,(function(e){return Object(Z.J)(e,"active")}))})),n.forEach((function(e){t.activeIndentNodes.has(e)||t.renderedIndentGuides.forEach(e,(function(e){return Object(Z.e)(e,"active")}))})),this.activeIndentNodes=n}},e.prototype.dispose=function(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(le.e)(this.disposables)},e.DefaultIndent=8,e}(),Tg=function(){function e(e,t,n){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=n,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new le.b,e.onWillRefilter(this.reset,this,this.disposables)}return Object.defineProperty(e.prototype,"totalCount",{get:function(){return this._totalCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matchCount",{get:function(){return this._matchCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{set:function(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()},enumerable:!0,configurable:!0}),e.prototype.filter=function(e,t){if(this._filter){var n=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return n;if(0===("boolean"==typeof n?n?1:0:yg(n)?bg(n.visibility):n))return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:Dp.Default,visibility:!0};var i=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),o=i&&i.toString();if(void 0===o)return{data:Dp.Default,visibility:!0};var r=Tp(this._pattern,this._lowercasePattern,0,o,o.toLowerCase(),0,!0);return r?(this._matchCount++,{data:r,visibility:!0}):this.tree.options.filterOnType?2:{data:Dp.Default,visibility:!0}},e.prototype.reset=function(){this._totalCount=0,this._matchCount=0},e.prototype.dispose=function(){Object(le.e)(this.disposables)},e}(),Ag=function(){function e(e,t,n,i,o){this.tree=e,this.view=n,this.filter=i,this.keyboardNavigationDelegate=o,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new W.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new W.a,this.enabledDisposables=new le.b,this.disposables=new le.b,this.domNode=Object(Z.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,Object(Lf.a)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(Z.m)(n.getHTMLElement(),Object(Z.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(Z.m)(this.domNode,Object(Z.a)("span.label"));var r=Object(Z.m)(this.domNode,Object(Z.a)(".controls"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=Object(Z.m)(r,Object(Z.a)("input.filter.codicon.codicon-list-selection")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitle(),Object(Lf.a)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(Z.m)(r,Object(Z.a)("button.clear.codicon.codicon-close")),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(Zn.a)("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{get:function(){return this._pattern},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterOnType",{get:function(){return this._filterOnType},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e){e.simpleKeyboardNavigation?this.disable():this.enable(),void 0!==e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")},e.prototype.enable=function(){var e=this;if(!this._enabled){var t=W.b.chain(Object(Lf.a)(this.view.getHTMLElement(),"keydown")).filter((function(t){return!Rg(t.target)||t.target===e.filterOnTypeDomNode})).filter((function(e){return"Dead"!==e.key&&!/^Media/.test(e.key)})).map((function(e){return new Gn.a(e)})).filter(this.keyboardNavigationEventFilter||function(){return!0}).filter((function(){return e.automaticKeyboardNavigation||e.triggered})).filter((function(t){return e.keyboardNavigationDelegate.mightProducePrintableCharacter(t)||(e.pattern.length>0||e.triggered)&&(9===t.keyCode||1===t.keyCode)&&!t.altKey&&!t.ctrlKey&&!t.metaKey||1===t.keyCode&&(ie.e?t.altKey&&!t.metaKey:t.ctrlKey)&&!t.shiftKey})).forEach((function(e){e.stopPropagation(),e.preventDefault()})).event,n=Object(Lf.a)(this.clearDomNode,"click");W.b.chain(W.b.any(t,n)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}},e.prototype.disable=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)},e.prototype.onEventOrInput=function(e){"string"==typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(ie.e?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)},e.prototype.onInput=function(e){var t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,(function(e){return!Dp.isDefault(e.filterData)}));var n=this.tree.getFocus();if(n.length>0){var i=n[0];null===this.tree.getRelativeTop(i)&&this.tree.reveal(i,.5)}this.render(),e||(this.triggered=!1)},e.prototype.onDragStart=function(){var e=this,t=this.view.getHTMLElement(),n=Object(Z.w)(t).left,i=t.clientWidth,o=i/2,r=this.domNode.clientWidth,s=new le.b,a=this.positionClassName,u=function(){switch(a){case"nw":e.domNode.style.top="4px",e.domNode.style.left="4px";break;case"ne":e.domNode.style.top="4px",e.domNode.style.left=i-r-6+"px"}};u(),Object(Z.J)(this.domNode,a),Object(Z.e)(this.domNode,"dragging"),s.add(Object(le.f)((function(){return Object(Z.J)(e.domNode,"dragging")}))),Object(Lf.a)(document,"dragover")((function(e){e.preventDefault();var t=e.screenX-n;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),a=t<o?"nw":"ne",u()}),null,s),Object(Lf.a)(this.domNode,"dragend")((function(){e.positionClassName=a,e.domNode.className="monaco-list-type-filter "+e.positionClassName,e.domNode.style.top="",e.domNode.style.left="",Object(le.e)(s)}),null,s),ip.c.CurrentDragAndDropData=new ip.b("vscode-ui"),s.add(Object(le.f)((function(){return ip.c.CurrentDragAndDropData=void 0})))},e.prototype.onDidSpliceModel=function(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())},e.prototype.onDidChangeFilterOnType=function(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitle()},e.prototype.updateFilterOnTypeTitle=function(){this.filterOnType?this.filterOnTypeDomNode.title=Object(Zn.a)("disable filter on type","Disable Filter on Type"):this.filterOnTypeDomNode.title=Object(Zn.a)("enable filter on type","Enable Filter on Type")},e.prototype.render=function(){var e=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=Object(Zn.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerHTML="",this._empty=!1),Object(Z.S)(this.domNode,"no-matches",e),this.domNode.title=Object(Zn.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"…"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)},e.prototype.shouldAllowFocus=function(e){return!(this.enabled&&this.pattern&&!this.filterOnType)||(this.filter.totalCount>0&&this.filter.matchCount<=1||!Dp.isDefault(e.filterData))},e.prototype.dispose=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),Object(le.e)(this.disposables)},e}();function Rg(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function Pg(e){return{elements:e.elements.map((function(e){return e.element})),browserEvent:e.browserEvent}}function Fg(e,t){t(e),e.children.forEach((function(e){return Fg(e,t)}))}var Vg=function(){function e(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new W.a,this.onDidChange=this._onDidChange.event}return Object.defineProperty(e.prototype,"nodeSet",{get:function(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet},enumerable:!0,configurable:!0}),e.prototype.set=function(e,t){Object(Xe.f)(this.nodes,e)||this._set(e,!1,t)},e.prototype._set=function(e,t,n){if(this.nodes=Ng(e),this.elements=void 0,this._nodeSet=void 0,!t){var i=this;this._onDidChange.fire({get elements(){return i.get()},browserEvent:n})}},e.prototype.get=function(){return this.elements||(this.elements=this.nodes.map((function(e){return e.element}))),Ng(this.elements)},e.prototype.getNodes=function(){return this.nodes},e.prototype.has=function(e){return this.nodeSet.has(e)},e.prototype.onDidModelSplice=function(e){var t=this,n=e.insertedNodes,i=e.deletedNodes;if(!this.identityProvider){var o=this.createNodeSet(),r=function(e){return o.delete(e)};return i.forEach((function(e){return Fg(e,r)})),void this.set(Object(Qn.e)(o))}var s=new Set,a=function(e){return s.add(t.identityProvider.getId(e.element).toString())};i.forEach((function(e){return Fg(e,a)}));var u=new Map,l=function(e){return u.set(t.identityProvider.getId(e.element).toString(),e)};n.forEach((function(e){return Fg(e,l)}));for(var c=[],d=0,h=this.nodes;d<h.length;d++){var f=h[d],p=this.identityProvider.getId(f.element).toString();if(s.has(p)){var g=u.get(p);g&&c.push(g)}else c.push(f)}this._set(c,!0)},e.prototype.createNodeSet=function(){for(var e=new Set,t=0,n=this.nodes;t<n.length;t++){var i=n[t];e.add(i)}return e},e}(),Wg=function(e){function t(t,n){var i=e.call(this,t)||this;return i.tree=n,i}return Sg(t,e),t.prototype.onPointer=function(t){if(!Rg(t.browserEvent.target)){var n=t.element;if(!n)return e.prototype.onPointer.call(this,t);if(this.isSelectionRangeChangeEvent(t)||this.isSelectionSingleChangeEvent(t))return e.prototype.onPointer.call(this,t);var i=Object(Z.C)(t.browserEvent.target,"monaco-tl-twistie");if(!this.tree.openOnSingleClick&&2!==t.browserEvent.detail&&!i)return e.prototype.onPointer.call(this,t);var o=!1;if((o="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(n.element):!!this.tree.expandOnlyOnTwistieClick)&&!i)return e.prototype.onPointer.call(this,t);if(n.collapsible){var r=this.tree.model,s=r.getNodeLocation(n),a=t.browserEvent.altKey;if(r.setCollapsed(s,void 0,a),o&&i)return}e.prototype.onPointer.call(this,t)}},t.prototype.onDoubleClick=function(t){Object(Z.C)(t.browserEvent.target,"monaco-tl-twistie")||e.prototype.onDoubleClick.call(this,t)},t}(rg),Bg=function(e){function t(t,n,i,o,r,s,a){var u=e.call(this,t,n,i,o,a)||this;return u.focusTrait=r,u.selectionTrait=s,u}return Sg(t,e),t.prototype.createMouseController=function(e){return new Wg(this,e.tree)},t.prototype.splice=function(t,n,i){var o=this;if(void 0===i&&(i=[]),e.prototype.splice.call(this,t,n,i),0!==i.length){var r=[],s=[];i.forEach((function(e,n){o.focusTrait.has(e)&&r.push(t+n),o.selectionTrait.has(e)&&s.push(t+n)})),r.length>0&&e.prototype.setFocus.call(this,Object(Xe.e)(Ng(e.prototype.getFocus.call(this),r))),s.length>0&&e.prototype.setSelection.call(this,Object(Xe.e)(Ng(e.prototype.getSelection.call(this),s)))}},t.prototype.setFocus=function(t,n,i){var o=this;void 0===i&&(i=!1),e.prototype.setFocus.call(this,t,n),i||this.focusTrait.set(t.map((function(e){return o.element(e)})),n)},t.prototype.setSelection=function(t,n,i){var o=this;void 0===i&&(i=!1),e.prototype.setSelection.call(this,t,n),i||this.selectionTrait.set(t.map((function(e){return o.element(e)})),n)},t}(pg),jg=function(){function e(e,t,n,i,o){var r=this;void 0===o&&(o={}),this._options=o,this.eventBufferer=new W.c,this.disposables=new le.b,this._onWillRefilter=new W.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new W.a;var s,a,u,l=new kg(n),c=new W.e,d=new W.e,h=new Ig(d.event);this.renderers=i.map((function(e){return new Mg(e,(function(){return r.model}),c.event,h,o)}));for(var f=0,p=this.renderers;f<p.length;f++){var g=p[f];this.disposables.add(g)}o.keyboardNavigationLabelProvider&&(s=new Tg(this,o.keyboardNavigationLabelProvider,o.filter),o=Lg(Lg({},o),{filter:s}),this.disposables.add(s)),this.focus=new Vg(o.identityProvider),this.selection=new Vg(o.identityProvider),this.view=new Bg(e,t,l,this.renderers,this.focus,this.selection,Lg(Lg({},(a=function(){return r.model},(u=o)&&Lg(Lg({},u),{identityProvider:u.identityProvider&&{getId:function(e){return u.identityProvider.getId(e.element)}},dnd:u.dnd&&new xg(a,u.dnd),multipleSelectionController:u.multipleSelectionController&&{isSelectionSingleChangeEvent:function(e){return u.multipleSelectionController.isSelectionSingleChangeEvent(Lg(Lg({},e),{element:e.element}))},isSelectionRangeChangeEvent:function(e){return u.multipleSelectionController.isSelectionRangeChangeEvent(Lg(Lg({},e),{element:e.element}))}},accessibilityProvider:u.accessibilityProvider&&Lg(Lg({},u.accessibilityProvider),{getAriaLabel:function(e){return u.accessibilityProvider.getAriaLabel(e.element)},getAriaLevel:function(e){return e.depth},getActiveDescendantId:u.accessibilityProvider.getActiveDescendantId&&function(e){return u.accessibilityProvider.getActiveDescendantId(e.element)}}),keyboardNavigationLabelProvider:u.keyboardNavigationLabelProvider&&Lg(Lg({},u.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:function(e){return u.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),enableKeyboardNavigation:u.simpleKeyboardNavigation,ariaProvider:{getSetSize:function(e){var t=a(),n=t.getNodeLocation(e),i=t.getParentNodeLocation(n);return t.getNode(i).visibleChildrenCount},getPosInSet:function(e){return e.visibleChildIndex+1},isChecked:u.ariaProvider&&u.ariaProvider.isChecked?function(e){return u.ariaProvider.isChecked(e.element)}:void 0,getRole:u.ariaProvider&&u.ariaProvider.getRole?function(e){return u.ariaProvider.getRole(e.element)}:void 0}}))),{tree:this})),this.model=this.createModel(e,this.view,o),c.input=this.model.onDidChangeCollapseState;var m=W.b.forEach(this.model.onDidSplice,(function(e){r.eventBufferer.bufferEvents((function(){r.focus.onDidModelSplice(e),r.selection.onDidModelSplice(e)}))}));if(m((function(){return null}),null,this.disposables),d.input=W.b.chain(W.b.any(m,this.focus.onDidChange,this.selection.onDidChange)).debounce((function(){return null}),0).map((function(){for(var e=new Set,t=0,n=r.focus.getNodes();t<n.length;t++){var i=n[t];e.add(i)}for(var o=0,s=r.selection.getNodes();o<s.length;o++){i=s[o];e.add(i)}return Object(Xe.k)(e)})).event,!1!==o.keyboardSupport){var v=W.b.chain(this.view.onKeyDown).filter((function(e){return!Rg(e.target)})).map((function(e){return new Gn.a(e)}));v.filter((function(e){return 15===e.keyCode})).on(this.onLeftArrow,this,this.disposables),v.filter((function(e){return 17===e.keyCode})).on(this.onRightArrow,this,this.disposables),v.filter((function(e){return 10===e.keyCode})).on(this.onSpace,this,this.disposables)}if(o.keyboardNavigationLabelProvider){var _=o.keyboardNavigationDelegate||Jp;this.typeFilterController=new Ag(this,this.model,this.view,s,_),this.focusNavigationFilter=function(e){return r.typeFilterController.shouldAllowFocus(e)},this.disposables.add(this.typeFilterController)}this.styleElement=Object(Z.q)(this.view.getHTMLElement()),Object(Z.S)(this.getHTMLElement(),"always",this._options.renderIndentGuides===Eg.Always)}return Object.defineProperty(e.prototype,"onDidChangeFocus",{get:function(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeSelection",{get:function(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidOpen",{get:function(){return W.b.map(this.view.onDidOpen,Pg)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.view.onDidFocus},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openOnSingleClick",{get:function(){return void 0===this._options.openOnSingleClick||this._options.openOnSingleClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expandOnlyOnTwistieClick",{get:function(){return void 0!==this._options.expandOnlyOnTwistieClick&&this._options.expandOnlyOnTwistieClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidDispose",{get:function(){return this.view.onDidDispose},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e){void 0===e&&(e={}),this._options=Lg(Lg({},this._options),e);for(var t=0,n=this.renderers;t<n.length;t++){n[t].updateOptions(e)}this.view.updateOptions({enableKeyboardNavigation:this._options.simpleKeyboardNavigation,automaticKeyboardNavigation:this._options.automaticKeyboardNavigation}),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),Object(Z.S)(this.getHTMLElement(),"always",this._options.renderIndentGuides===Eg.Always)},Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),e.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.view.scrollTop},set:function(e){this.view.scrollTop=e},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.view.domFocus()},e.prototype.layout=function(e,t){this.view.layout(e,t)},e.prototype.style=function(e){var t="."+this.view.domId,n=[];e.treeIndentGuidesStroke&&(n.push(".monaco-list"+t+":hover .monaco-tl-indent > .indent-guide, .monaco-list"+t+".always .monaco-tl-indent > .indent-guide { border-color: "+e.treeIndentGuidesStroke.transparent(.4)+"; }"),n.push(".monaco-list"+t+" .monaco-tl-indent > .indent-guide.active { border-color: "+e.treeIndentGuidesStroke+"; }"));var i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i),this.view.style(e)},e.prototype.collapse=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!0,t)},e.prototype.expand=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!1,t)},e.prototype.isCollapsible=function(e){return this.model.isCollapsible(e)},e.prototype.setCollapsible=function(e,t){return this.model.setCollapsible(e,t)},e.prototype.isCollapsed=function(e){return this.model.isCollapsed(e)},e.prototype.refilter=function(){this._onWillRefilter.fire(void 0),this.model.refilter()},e.prototype.setSelection=function(e,t){var n=this,i=e.map((function(e){return n.model.getNode(e)}));this.selection.set(i,t);var o=e.map((function(e){return n.model.getListIndex(e)})).filter((function(e){return e>-1}));this.view.setSelection(o,t,!0)},e.prototype.getSelection=function(){return this.selection.get()},e.prototype.setFocus=function(e,t){var n=this,i=e.map((function(e){return n.model.getNode(e)}));this.focus.set(i,t);var o=e.map((function(e){return n.model.getListIndex(e)})).filter((function(e){return e>-1}));this.view.setFocus(o,t,!0)},e.prototype.focusNext=function(e,t,n,i){void 0===e&&(e=1),void 0===t&&(t=!1),void 0===i&&(i=this.focusNavigationFilter),this.view.focusNext(e,t,n,i)},e.prototype.getFocus=function(){return this.focus.get()},e.prototype.reveal=function(e,t){this.model.expandTo(e);var n=this.model.getListIndex(e);-1!==n&&this.view.reveal(n,t)},e.prototype.getRelativeTop=function(e){var t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)},e.prototype.onLeftArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!0)){var o=this.model.getParentNodeLocation(i);if(!o)return;var r=this.model.getListIndex(o);this.view.reveal(r),this.view.setFocus([r])}}},e.prototype.onRightArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!1)){if(!n.children.some((function(e){return e.visible})))return;var o=this.view.getFocus()[0]+1;this.view.reveal(o),this.view.setFocus([o])}}},e.prototype.onSpace=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],i=this.model.getNodeLocation(n),o=e.browserEvent.altKey;this.model.setCollapsed(i,void 0,o)}},e.prototype.dispose=function(){Object(le.e)(this.disposables),this.view.dispose()},e}(),Hg=function(){return(Hg=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},zg=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Ug=function(){function e(e,t,n){void 0===n&&(n={}),this.user=e,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new wg(e,t,null,n),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,n.sorter&&(this.sorter={compare:function(e,t){return n.sorter.compare(e.element,t.element)}}),this.identityProvider=n.identityProvider}return e.prototype.setChildren=function(e,t,n,i){var o=this.getElementLocation(e);this._setChildren(o,this.preserveCollapseState(t),n,i)},e.prototype._setChildren=function(e,t,n,i){var o=this,r=new Set,s=new Set;this.model.splice(zg(e,[0]),Number.MAX_VALUE,t,(function(e){if(r.add(e.element),o.nodes.set(e.element,e),o.identityProvider){var t=o.identityProvider.getId(e.element).toString();s.add(t),o.nodesByIdentity.set(t,e)}n&&n(e)}),(function(e){if(r.has(e.element)||o.nodes.delete(e.element),o.identityProvider){var t=o.identityProvider.getId(e.element).toString();s.has(t)||o.nodesByIdentity.delete(t)}i&&i(e)}))},e.prototype.preserveCollapseState=function(e){var t=this,n=e?Object(st.d)(e):st.c.empty();return this.sorter&&(n=st.c.fromArray(Object(Xe.n)(st.c.collect(n),this.sorter.compare.bind(this.sorter)))),st.c.map(n,(function(e){var n=t.nodes.get(e.element);if(!n&&t.identityProvider){var i=t.identityProvider.getId(e.element).toString();n=t.nodesByIdentity.get(i)}if(!n)return Hg(Hg({},e),{children:t.preserveCollapseState(e.children)});var o="boolean"==typeof e.collapsible?e.collapsible:n.collapsible,r=void 0!==e.collapsed?e.collapsed:n.collapsed;return Hg(Hg({},e),{collapsible:o,collapsed:r,children:t.preserveCollapseState(e.children)})}))},e.prototype.rerender=function(e){var t=this.getElementLocation(e);this.model.rerender(t)},e.prototype.has=function(e){return this.nodes.has(e)},e.prototype.getListIndex=function(e){var t=this.getElementLocation(e);return this.model.getListIndex(t)},e.prototype.getListRenderCount=function(e){var t=this.getElementLocation(e);return this.model.getListRenderCount(t)},e.prototype.isCollapsible=function(e){var t=this.getElementLocation(e);return this.model.isCollapsible(t)},e.prototype.setCollapsible=function(e,t){var n=this.getElementLocation(e);return this.model.setCollapsible(n,t)},e.prototype.isCollapsed=function(e){var t=this.getElementLocation(e);return this.model.isCollapsed(t)},e.prototype.setCollapsed=function(e,t,n){var i=this.getElementLocation(e);return this.model.setCollapsed(i,t,n)},e.prototype.expandTo=function(e){var t=this.getElementLocation(e);this.model.expandTo(t)},e.prototype.refilter=function(){this.model.refilter()},e.prototype.getNode=function(e){if(void 0===e&&(e=null),null===e)return this.model.getNode(this.model.rootRef);var t=this.nodes.get(e);if(!t)throw new mg(this.user,"Tree element not found: "+e);return t},e.prototype.getNodeLocation=function(e){return e.element},e.prototype.getParentNodeLocation=function(e){if(null===e)throw new mg(this.user,"Invalid getParentNodeLocation call");var t=this.nodes.get(e);if(!t)throw new mg(this.user,"Tree element not found: "+e);var n=this.model.getNodeLocation(t),i=this.model.getParentNodeLocation(n);return this.model.getNode(i).element},e.prototype.getElementLocation=function(e){if(null===e)return[];var t=this.nodes.get(e);if(!t)throw new mg(this.user,"Tree element not found: "+e);return this.model.getNodeLocation(t)},e}(),Kg=function(){return(Kg=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function qg(e){return{element:{elements:[e.element],incompressible:e.incompressible||!1},children:st.c.map(st.c.from(e.children),qg),collapsible:e.collapsible,collapsed:e.collapsed}}function Gg(e){for(var t,n,i=[e.element],o=e.incompressible||!1;t=st.c.from(e.children),1===(n=st.c.collect(t,2)).length&&!(e=n[0]).incompressible;)i.push(e.element);return{element:{elements:i,incompressible:o},children:st.c.map(st.c.concat(st.c.fromArray(n),t),Gg),collapsible:e.collapsible,collapsed:e.collapsed}}function Yg(e){return function e(t,n){var i;return void 0===n&&(n=0),i=n<t.element.elements.length-1?st.c.single(e(t,n+1)):st.c.map(st.c.from(t.children),(function(t){return e(t,0)})),0===n&&t.element.incompressible?{element:t.element.elements[n],children:i,incompressible:!0,collapsible:t.collapsible,collapsed:t.collapsed}:{element:t.element.elements[n],children:i,collapsible:t.collapsible,collapsed:t.collapsed}}(e,0)}var Zg=function(){function e(e,t,n){void 0===n&&(n={}),this.user=e,this.nodes=new Map,this.model=new Ug(e,t,n),this.enabled=void 0===n.compressionEnabled||n.compressionEnabled}return Object.defineProperty(e.prototype,"onDidSplice",{get:function(){return this.model.onDidSplice},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),e.prototype.setChildren=function(e,t){if(null!==e){var n=this.nodes.get(e);if(!n)throw new Error("Unknown compressed tree node");var i=this.model.getNode(n),o=this.model.getParentNodeLocation(n),r=this.model.getNode(o),s=function e(t,n,i){return t.element===n?Kg(Kg({},t),{children:i}):Kg(Kg({},t),{children:st.c.map(st.c.from(t.children),(function(t){return e(t,n,i)}))})}(Yg(i),e,st.c.from(t)),a=(this.enabled?Gg:qg)(s),u=r.children.map((function(e){return e===i?a:e}));this._setChildren(r.element,u)}else{var l=st.c.map(st.c.from(t),this.enabled?Gg:qg);this._setChildren(null,l)}},e.prototype.setCompressionEnabled=function(e){if(e!==this.enabled){this.enabled=e;var t=this.model.getNode(),n=st.c.from(t.children),i=st.c.map(n,Yg),o=st.c.map(i,e?Gg:qg);this._setChildren(null,o)}},e.prototype._setChildren=function(e,t){var n=this,i=new Set;this.model.setChildren(e,t,(function(e){for(var t=0,o=e.element.elements;t<o.length;t++){var r=o[t];i.add(r),n.nodes.set(r,e.element)}}),(function(e){for(var t=0,o=e.element.elements;t<o.length;t++){var r=o[t];i.has(r)||n.nodes.delete(r)}}))},e.prototype.has=function(e){return this.nodes.has(e)},e.prototype.getListIndex=function(e){var t=this.getCompressedNode(e);return this.model.getListIndex(t)},e.prototype.getListRenderCount=function(e){var t=this.getCompressedNode(e);return this.model.getListRenderCount(t)},e.prototype.getNode=function(e){if(void 0===e)return this.model.getNode();var t=this.getCompressedNode(e);return this.model.getNode(t)},e.prototype.getNodeLocation=function(e){var t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]},e.prototype.getParentNodeLocation=function(e){var t=this.getCompressedNode(e),n=this.model.getParentNodeLocation(t);return null===n?null:n.elements[n.elements.length-1]},e.prototype.isCollapsible=function(e){var t=this.getCompressedNode(e);return this.model.isCollapsible(t)},e.prototype.setCollapsible=function(e,t){var n=this.getCompressedNode(e);return this.model.setCollapsible(n,t)},e.prototype.isCollapsed=function(e){var t=this.getCompressedNode(e);return this.model.isCollapsed(t)},e.prototype.setCollapsed=function(e,t,n){var i=this.getCompressedNode(e);return this.model.setCollapsed(i,t,n)},e.prototype.expandTo=function(e){var t=this.getCompressedNode(e);this.model.expandTo(t)},e.prototype.rerender=function(e){var t=this.getCompressedNode(e);this.model.rerender(t)},e.prototype.refilter=function(){this.model.refilter()},e.prototype.getCompressedNode=function(e){if(null===e)return null;var t=this.nodes.get(e);if(!t)throw new mg(this.user,"Tree element not found: "+e);return t},e}(),Xg=function(e){return e[e.length-1]},Jg=function(){function e(e,t){this.unwrapper=e,this.node=t}return Object.defineProperty(e.prototype,"element",{get:function(){return null===this.node.element?null:this.unwrapper(this.node.element)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){var t=this;return this.node.children.map((function(n){return new e(t.unwrapper,n)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),e}();var Qg=function(){function e(e,t,n){var i=this;void 0===n&&(n={}),this.elementMapper=n.elementMapper||Xg;var o=function(e){return i.elementMapper(e.elements)};this.nodeMapper=new vg((function(e){return new Jg(o,e)})),this.model=new Zg(e,function(e,t){return{splice:function(n,i,o){t.splice(n,i,o.map((function(t){return e.map(t)})))}}}(this.nodeMapper,t),function(e,t){return Kg(Kg({},t),{sorter:t.sorter&&{compare:function(e,n){return t.sorter.compare(e.elements[0],n.elements[0])}},identityProvider:t.identityProvider&&{getId:function(n){return t.identityProvider.getId(e(n))}},filter:t.filter&&{filter:function(n,i){return t.filter.filter(e(n),i)}}})}(o,n))}return Object.defineProperty(e.prototype,"onDidSplice",{get:function(){var e=this;return W.b.map(this.model.onDidSplice,(function(t){var n=t.insertedNodes,i=t.deletedNodes;return{insertedNodes:n.map((function(t){return e.nodeMapper.map(t)})),deletedNodes:i.map((function(t){return e.nodeMapper.map(t)}))}}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeCollapseState",{get:function(){var e=this;return W.b.map(this.model.onDidChangeCollapseState,(function(t){var n=t.node,i=t.deep;return{node:e.nodeMapper.map(n),deep:i}}))},enumerable:!0,configurable:!0}),e.prototype.setChildren=function(e,t){this.model.setChildren(e,t)},e.prototype.setCompressionEnabled=function(e){this.model.setCompressionEnabled(e)},e.prototype.has=function(e){return this.model.has(e)},e.prototype.getListIndex=function(e){return this.model.getListIndex(e)},e.prototype.getListRenderCount=function(e){return this.model.getListRenderCount(e)},e.prototype.getNode=function(e){return this.nodeMapper.map(this.model.getNode(e))},e.prototype.getNodeLocation=function(e){return e.element},e.prototype.getParentNodeLocation=function(e){return this.model.getParentNodeLocation(e)},e.prototype.isCollapsible=function(e){return this.model.isCollapsible(e)},e.prototype.setCollapsible=function(e,t){return this.model.setCollapsible(e,t)},e.prototype.isCollapsed=function(e){return this.model.isCollapsed(e)},e.prototype.setCollapsed=function(e,t,n){return this.model.setCollapsed(e,t,n)},e.prototype.expandTo=function(e){return this.model.expandTo(e)},e.prototype.rerender=function(e){return this.model.rerender(e)},e.prototype.refilter=function(){return this.model.refilter()},e.prototype.getCompressedTreeNode=function(e){return void 0===e&&(e=null),this.model.getNode(e)},e}(),$g=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),em=function(){return(em=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},tm=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},nm=function(e){function t(t,n,i,o,r){return void 0===r&&(r={}),e.call(this,t,n,i,o,r)||this}return $g(t,e),Object.defineProperty(t.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),t.prototype.setChildren=function(e,t){this.model.setChildren(e,t)},t.prototype.rerender=function(e){void 0!==e?this.model.rerender(e):this.view.rerender()},t.prototype.hasElement=function(e){return this.model.has(e)},t.prototype.createModel=function(e,t,n){return new Ug(e,t,n)},t}(jg),im=function(){function e(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}return Object.defineProperty(e.prototype,"compressedTreeNodeProvider",{get:function(){return this._compressedTreeNodeProvider()},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(e)}},e.prototype.renderElement=function(e,t,n,i){var o=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===o.element.elements.length?(n.compressedTreeNode=void 0,this.renderer.renderElement(e,t,n.data,i)):(n.compressedTreeNode=o,this.renderer.renderCompressedElements(o,t,n.data,i))},e.prototype.disposeElement=function(e,t,n,i){n.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(n.compressedTreeNode,t,n.data,i):this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.data,i)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.data)},e.prototype.renderTwistie=function(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)},tm([Zf.a],e.prototype,"compressedTreeNodeProvider",null),e}();var om=function(e){function t(t,n,i,o,r){void 0===r&&(r={});var s=this,a=function(){return s},u=o.map((function(e){return new im(a,e)}));return s=e.call(this,t,n,i,u,function(e,t){return t&&em(em({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel:function(n){var i;try{i=e().getCompressedTreeNode(n)}catch(e){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return 1===i.element.elements.length?t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):t.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(i.element.elements)}}})}(a,r))||this}return $g(t,e),t.prototype.setChildren=function(e,t){this.model.setChildren(e,t)},t.prototype.createModel=function(e,t,n){return new Qg(e,t,n)},t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),void 0!==t.compressionEnabled&&this.model.setCompressionEnabled(t.compressionEnabled)},t.prototype.getCompressedTreeNode=function(e){return void 0===e&&(e=null),this.model.getCompressedTreeNode(e)},t}(nm),rm=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),sm=function(){return(sm=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},am=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},um=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},lm=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i};function cm(e){return sm(sm({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function dm(e,t){return!!t.parent&&(t.parent===e||dm(e,t.parent))}var hm=function(){function e(e){this.node=e}return Object.defineProperty(e.prototype,"element",{get:function(){return this.node.element.element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.node.children.map((function(t){return new e(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),e}(),fm=function(){function e(e,t,n){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.templateId=e.templateId}return e.prototype.renderTemplate=function(e){return{templateData:this.renderer.renderTemplate(e)}},e.prototype.renderElement=function(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)},e.prototype.renderTwistie=function(e,t){return Object(Z.S)(t,"codicon-loading",e.slow),!1},e.prototype.disposeElement=function(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.dispose=function(){this.renderedNodes.clear()},e}();function pm(e){return{browserEvent:e.browserEvent,elements:e.elements.map((function(e){return e.element}))}}var gm=function(e){function t(t){var n=e.call(this,t.elements.map((function(e){return e.element})))||this;return n.data=t,n}return rm(t,e),t}(ap);function mm(e){return e instanceof ap?new gm(e):e}var vm=function(){function e(e){this.dnd=e}return e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e.element)},e.prototype.getDragLabel=function(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((function(e){return e.element})),t)},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(mm(e),t)},e.prototype.onDragOver=function(e,t,n,i,o){return void 0===o&&(o=!0),this.dnd.onDragOver(mm(e),t&&t.element,n,i)},e.prototype.drop=function(e,t,n,i){this.dnd.drop(mm(e),t&&t.element,n,i)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e}();function _m(e){return e&&sm(sm({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:function(t){return e.identityProvider.getId(t.element)}},dnd:e.dnd&&new vm(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:function(t){return e.multipleSelectionController.isSelectionSingleChangeEvent(sm(sm({},t),{element:t.element}))},isSelectionRangeChangeEvent:function(t){return e.multipleSelectionController.isSelectionRangeChangeEvent(sm(sm({},t),{element:t.element}))}},accessibilityProvider:e.accessibilityProvider&&sm(sm({},e.accessibilityProvider),{getAriaLabel:function(t){return e.accessibilityProvider.getAriaLabel(t.element)},getAriaLevel:e.accessibilityProvider.getAriaLevel&&function(t){return e.accessibilityProvider.getAriaLevel(t.element)},getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&function(t){return e.accessibilityProvider.getActiveDescendantId(t.element)}}),filter:e.filter&&{filter:function(t,n){return e.filter.filter(t.element,n)}},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&sm(sm({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:function(t){return e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}}),sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:function(t){return e.expandOnlyOnTwistieClick(t.element)},ariaProvider:e.ariaProvider&&{getPosInSet:function(t,n){return e.ariaProvider.getPosInSet(t.element,n)},getSetSize:function(t,n,i){return e.ariaProvider.getSetSize(t.element,n,i)},getRole:e.ariaProvider.getRole?function(t){return e.ariaProvider.getRole(t.element)}:void 0,isChecked:e.ariaProvider.isChecked?function(t){var n;return(null===(n=e.ariaProvider)||void 0===n?void 0:n.isChecked)(t.element)}:void 0},additionalScrollHeight:e.additionalScrollHeight})}function ym(e,t){t(e),e.children.forEach((function(e){return ym(e,t)}))}var bm=function(){function e(e,t,n,i,o,r){void 0===r&&(r={}),this.user=e,this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new W.a,this._onDidChangeNodeSlowState=new W.a,this.nodeMapper=new vg((function(e){return new hm(e)})),this.disposables=new le.b,this.identityProvider=r.identityProvider,this.autoExpandSingleChildren=void 0!==r.autoExpandSingleChildren&&r.autoExpandSingleChildren,this.sorter=r.sorter,this.collapseByDefault=r.collapseByDefault,this.tree=this.createTree(e,t,n,i,r),this.root=cm({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=sm(sm({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}return Object.defineProperty(e.prototype,"onDidChangeFocus",{get:function(){return W.b.map(this.tree.onDidChangeFocus,pm)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeSelection",{get:function(){return W.b.map(this.tree.onDidChangeSelection,pm)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidOpen",{get:function(){return W.b.map(this.tree.onDidOpen,pm)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.tree.onDidFocus},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidDispose",{get:function(){return this.tree.onDidDispose},enumerable:!0,configurable:!0}),e.prototype.createTree=function(e,t,n,i,o){var r=this,s=new kg(n),a=i.map((function(e){return new fm(e,r.nodeMapper,r._onDidChangeNodeSlowState.event)})),u=_m(o)||{};return new nm(e,t,s,a,u)},e.prototype.updateOptions=function(e){void 0===e&&(e={}),this.tree.updateOptions(e)},e.prototype.getHTMLElement=function(){return this.tree.getHTMLElement()},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.tree.scrollTop},set:function(e){this.tree.scrollTop=e},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.tree.domFocus()},e.prototype.layout=function(e,t){this.tree.layout(e,t)},e.prototype.style=function(e){this.tree.style(e)},e.prototype.getInput=function(){return this.root.element},e.prototype.setInput=function(e,t){return am(this,void 0,void 0,(function(){var n;return um(this,(function(i){switch(i.label){case 0:return this.refreshPromises.forEach((function(e){return e.cancel()})),this.refreshPromises.clear(),this.root.element=e,n=t&&{viewState:t,focus:[],selection:[]},[4,this._updateChildren(e,!0,!1,n)];case 1:return i.sent(),n&&(this.tree.setFocus(n.focus),this.tree.setSelection(n.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop),[2]}}))}))},e.prototype._updateChildren=function(e,t,n,i){return void 0===e&&(e=this.root.element),void 0===t&&(t=!0),void 0===n&&(n=!1),am(this,void 0,void 0,(function(){var o;return um(this,(function(r){switch(r.label){case 0:if(void 0===this.root.element)throw new mg(this.user,"Tree input not set");return this.root.refreshPromise?[4,this.root.refreshPromise]:[3,3];case 1:return r.sent(),[4,W.b.toPromise(this._onDidRender.event)];case 2:r.sent(),r.label=3;case 3:return o=this.getDataNode(e),[4,this.refreshAndRenderNode(o,t,i)];case 4:if(r.sent(),n)try{this.tree.rerender(o)}catch(e){}return[2]}}))}))},e.prototype.rerender=function(e){if(void 0!==e&&e!==this.root.element){var t=this.getDataNode(e);this.tree.rerender(t)}else this.tree.rerender()},e.prototype.collapse=function(e,t){void 0===t&&(t=!1);var n=this.getDataNode(e);return this.tree.collapse(n===this.root?null:n,t)},e.prototype.expand=function(e,t){return void 0===t&&(t=!1),am(this,void 0,void 0,(function(){var n,i;return um(this,(function(o){switch(o.label){case 0:if(void 0===this.root.element)throw new mg(this.user,"Tree input not set");return this.root.refreshPromise?[4,this.root.refreshPromise]:[3,3];case 1:return o.sent(),[4,W.b.toPromise(this._onDidRender.event)];case 2:o.sent(),o.label=3;case 3:return n=this.getDataNode(e),this.tree.hasElement(n)&&!this.tree.isCollapsible(n)?[2,!1]:n.refreshPromise?[4,this.root.refreshPromise]:[3,6];case 4:return o.sent(),[4,W.b.toPromise(this._onDidRender.event)];case 5:o.sent(),o.label=6;case 6:return n===this.root||n.refreshPromise||this.tree.isCollapsed(n)?(i=this.tree.expand(n===this.root?null:n,t),n.refreshPromise?[4,this.root.refreshPromise]:[3,9]):[2,!1];case 7:return o.sent(),[4,W.b.toPromise(this._onDidRender.event)];case 8:o.sent(),o.label=9;case 9:return[2,i]}}))}))},e.prototype.setSelection=function(e,t){var n=this,i=e.map((function(e){return n.getDataNode(e)}));this.tree.setSelection(i,t)},e.prototype.getSelection=function(){return this.tree.getSelection().map((function(e){return e.element}))},e.prototype.setFocus=function(e,t){var n=this,i=e.map((function(e){return n.getDataNode(e)}));this.tree.setFocus(i,t)},e.prototype.getFocus=function(){return this.tree.getFocus().map((function(e){return e.element}))},e.prototype.reveal=function(e,t){this.tree.reveal(this.getDataNode(e),t)},e.prototype.getDataNode=function(e){var t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new mg(this.user,"Data tree node not found: "+e);return t},e.prototype.refreshAndRenderNode=function(e,t,n){return am(this,void 0,void 0,(function(){return um(this,(function(i){switch(i.label){case 0:return[4,this.refreshNode(e,t,n)];case 1:return i.sent(),this.render(e,n),[2]}}))}))},e.prototype.refreshNode=function(e,t,n){return am(this,void 0,void 0,(function(){var i,o=this;return um(this,(function(r){return this.subTreeRefreshPromises.forEach((function(r,s){!i&&function(e,t){return e===t||dm(e,t)||dm(t,e)}(s,e)&&(i=r.then((function(){return o.refreshNode(e,t,n)})))})),i?[2,i]:[2,this.doRefreshSubTree(e,t,n)]}))}))},e.prototype.doRefreshSubTree=function(e,t,n){return am(this,void 0,void 0,(function(){var i,o,r=this;return um(this,(function(s){switch(s.label){case 0:e.refreshPromise=new Promise((function(e){return i=e})),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally((function(){e.refreshPromise=void 0,r.subTreeRefreshPromises.delete(e)})),s.label=1;case 1:return s.trys.push([1,,4,5]),[4,this.doRefreshNode(e,t,n)];case 2:return o=s.sent(),e.stale=!1,[4,Promise.all(o.map((function(e){return r.doRefreshSubTree(e,t,n)})))];case 3:return s.sent(),[3,5];case 4:return i(),[7];case 5:return[2]}}))}))},e.prototype.doRefreshNode=function(e,t,n){return am(this,void 0,void 0,(function(){var i,o,r,s,a=this;return um(this,(function(u){switch(u.label){case 0:e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren?((o=Object(We.i)(800)).then((function(){e.slow=!0,a._onDidChangeNodeSlowState.fire(e)}),(function(e){return null})),i=this.doGetChildren(e).finally((function(){return o.cancel()}))):i=Promise.resolve([]),u.label=1;case 1:return u.trys.push([1,3,4,5]),[4,i];case 2:return r=u.sent(),[2,this.setChildren(e,r,t,n)];case 3:if(s=u.sent(),e!==this.root&&this.tree.collapse(e===this.root?null:e),Object(Be.d)(s))return[2,[]];throw s;case 4:return e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e)),[7];case 5:return[2]}}))}))},e.prototype.doGetChildren=function(e){var t=this,n=this.refreshPromises.get(e);return n||(n=Object(We.f)((function(){return am(t,void 0,void 0,(function(){var t;return um(this,(function(n){switch(n.label){case 0:return[4,this.dataSource.getChildren(e.element)];case 1:return t=n.sent(),[2,this.processChildren(t)]}}))}))})),this.refreshPromises.set(e,n),n.finally((function(){return t.refreshPromises.delete(e)})))},e.prototype._onDidChangeCollapseState=function(e){var t=e.node,n=e.deep;!t.collapsed&&t.element.stale&&(n?this.collapse(t.element.element):this.refreshAndRenderNode(t.element,!1).catch(Be.e))},e.prototype.setChildren=function(e,t,n,i){var o,r=this;if(0===e.children.length&&0===t.length)return[];for(var s=new Map,a=new Map,u=0,l=e.children;u<l.length;u++){var c=l[u];if(s.set(c.element,c),this.identityProvider){var d=this.tree.isCollapsed(c);a.set(c.id,{node:c,collapsed:d})}}for(var h=[],f=t.map((function(t){var o=!!r.dataSource.hasChildren(t);if(!r.identityProvider){var u=cm({element:t,parent:e,hasChildren:o});return o&&r.collapseByDefault&&!r.collapseByDefault(t)&&(u.collapsedByDefault=!1,h.push(u)),u}var l=r.identityProvider.getId(t).toString(),c=a.get(l);if(c){u=c.node;return s.delete(u.element),r.nodes.delete(u.element),r.nodes.set(t,u),u.element=t,u.hasChildren=o,n?c.collapsed?(u.children.forEach((function(e){return ym(e,(function(e){return r.nodes.delete(e.element)}))})),u.children.splice(0,u.children.length),u.stale=!0):h.push(u):o&&r.collapseByDefault&&!r.collapseByDefault(t)&&(u.collapsedByDefault=!1,h.push(u)),u}var d=cm({element:t,parent:e,id:l,hasChildren:o});return i&&i.viewState.focus&&i.viewState.focus.indexOf(l)>-1&&i.focus.push(d),i&&i.viewState.selection&&i.viewState.selection.indexOf(l)>-1&&i.selection.push(d),i&&i.viewState.expanded&&i.viewState.expanded.indexOf(l)>-1?h.push(d):o&&r.collapseByDefault&&!r.collapseByDefault(t)&&(d.collapsedByDefault=!1,h.push(d)),d})),p=0,g=Object(Qn.e)(s);p<g.length;p++){ym(g[p],(function(e){return r.nodes.delete(e.element)}))}for(var m=0,v=f;m<v.length;m++){c=v[m];this.nodes.set(c.element,c)}return(o=e.children).splice.apply(o,lm([0,e.children.length],f)),e!==this.root&&this.autoExpandSingleChildren&&1===f.length&&0===h.length&&(f[0].collapsedByDefault=!1,h.push(f[0])),h},e.prototype.render=function(e,t){var n=this,i=e.children.map((function(e){return n.asTreeElement(e,t)}));this.tree.setChildren(e===this.root?null:e,i),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()},e.prototype.asTreeElement=function(e,t){var n,i=this;return e.stale?{element:e,collapsible:e.hasChildren,collapsed:!0}:(n=!(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1)&&e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?st.c.map(st.c.fromArray(e.children),(function(e){return i.asTreeElement(e,t)})):[],collapsible:e.hasChildren,collapsed:n})},e.prototype.processChildren=function(e){return this.sorter&&e.sort(this.sorter.compare.bind(this.sorter)),e},e.prototype.dispose=function(){this.disposables.dispose()},e}(),Cm=function(){function e(e){this.node=e}return Object.defineProperty(e.prototype,"element",{get:function(){return{elements:this.node.element.elements.map((function(e){return e.element})),incompressible:this.node.element.incompressible}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.node.children.map((function(t){return new e(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),e}(),wm=function(){function e(e,t,n,i){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=n,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}return e.prototype.renderTemplate=function(e){return{templateData:this.renderer.renderTemplate(e)}},e.prototype.renderElement=function(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)},e.prototype.renderCompressedElements=function(e,t,n,i){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)},e.prototype.renderTwistie=function(e,t){return Object(Z.S)(t,"codicon-loading",e.slow),!1},e.prototype.disposeElement=function(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)},e.prototype.disposeCompressedElements=function(e,t,n,i){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.dispose=function(){this.renderedNodes.clear(),this.disposables=Object(le.e)(this.disposables)},e}();var Sm=function(e){function t(t,n,i,o,r,s,a){void 0===a&&(a={});var u=e.call(this,t,n,i,r,s,a)||this;return u.compressionDelegate=o,u.compressibleNodeMapper=new vg((function(e){return new Cm(e)})),u.filter=a.filter,u}return rm(t,e),t.prototype.createTree=function(e,t,n,i,o){var r=this,s=new kg(n),a=i.map((function(e){return new wm(e,r.nodeMapper,(function(){return r.compressibleNodeMapper}),r._onDidChangeNodeSlowState.event)})),u=function(e){var t=e&&_m(e);return t&&sm(sm({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&sm(sm({},t.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:function(t){return e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map((function(e){return e.element})))}})})}(o)||{};return new om(e,t,s,a,u)},t.prototype.asTreeElement=function(t,n){return sm({incompressible:this.compressionDelegate.isIncompressible(t.element)},e.prototype.asTreeElement.call(this,t,n))},t.prototype.updateOptions=function(e){void 0===e&&(e={}),this.tree.updateOptions(e)},t.prototype.render=function(t,n){var i=this;if(!this.identityProvider)return e.prototype.render.call(this,t,n);var o=function(e){return i.identityProvider.getId(e).toString()},r=function(e){for(var t=new Set,n=0,r=e;n<r.length;n++){var s=r[n],a=i.tree.getCompressedTreeNode(s===i.root?null:s);if(a.element)for(var u=0,l=a.element.elements;u<l.length;u++){var c=l[u];t.add(o(c.element))}}return t},s=r(this.tree.getSelection()),a=r(this.tree.getFocus());e.prototype.render.call(this,t,n);var u=this.getSelection(),l=!1,c=this.getFocus(),d=!1,h=function(e){var t=e.element;if(t)for(var n=0;n<t.elements.length;n++){var i=o(t.elements[n].element),r=t.elements[t.elements.length-1].element;s.has(i)&&-1===u.indexOf(r)&&(u.push(r),l=!0),a.has(i)&&-1===c.indexOf(r)&&(c.push(r),d=!0)}e.children.forEach(h)};h(this.tree.getCompressedTreeNode(t===this.root?null:t)),l&&this.setSelection(u),d&&this.setFocus(c)},t.prototype.processChildren=function(t){var n=this;return this.filter&&(t=t.filter((function(e){var t,i=n.filter.filter(e,1),o="boolean"==typeof(t=i)?t?1:0:yg(t)?bg(t.visibility):bg(t);if(2===o)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===o}))),e.prototype.processChildren.call(this,t)},t}(bm);var Lm,Nm=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Om=function(e){function t(t,n,i,o,r,s){void 0===s&&(s={});var a=e.call(this,t,n,i,o,s)||this;return a.user=t,a.dataSource=r,a.identityProvider=s.identityProvider,a}return Nm(t,e),t.prototype.createModel=function(e,t,n){return new Ug(e,t,n)},t}(jg),Dm=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),xm=function(){return(xm=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Em=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},km=function(e,t){return function(n,i){t(n,i,e)}},Im=Object(ue.c)("listService"),Mm=function(){function e(e){this._themeService=e,this.disposables=new le.b,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}return Object.defineProperty(e.prototype,"lastFocusedList",{get:function(){return this._lastFocusedWidget},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this;if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;var i=new sg(Object(Z.q)(),"");this.disposables.add(bf(i,this._themeService))}if(this.lists.some((function(t){return t.widget===e})))throw new Error("Cannot register the same widget multiple times");var o={widget:e,extraContextKeys:t};return this.lists.push(o),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e),Object(le.d)(e.onDidFocus((function(){return n._lastFocusedWidget=e})),Object(le.f)((function(){return n.lists.splice(n.lists.indexOf(o),1)})),e.onDidDispose((function(){n.lists=n.lists.filter((function(e){return e!==o})),n._lastFocusedWidget===e&&(n._lastFocusedWidget=void 0)})))},e.prototype.dispose=function(){this.disposables.dispose()},e=Em([km(0,Ir.c)],e)}(),Tm=new Zi.d("listFocus",!0),Am=new Zi.d("listSupportsMultiselect",!0),Rm=(Zi.a.and(Tm,Zi.a.not("inputFocus")),new Zi.d("listHasSelectionOrFocus",!1)),Pm=new Zi.d("listDoubleSelection",!1),Fm=new Zi.d("listMultiSelection",!1),Vm=new Zi.d("listSupportsKeyboardNavigation",!0),Wm=new Zi.d("listAutomaticKeyboardNavigation",!0),Bm=!1;var jm="workbench.tree.indent";function Hm(e){return"alt"===e.getValue("workbench.list.multiSelectModifier")}function zm(e){return"doubleClick"!==e.getValue("workbench.list.openMode")}var Um=function(e){function t(t){var n=e.call(this)||this;return n.configurationService=t,n.useAltAsMultipleSelectionModifier=Hm(t),n.registerListeners(),n}return Dm(t,e),t.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration((function(t){t.affectsConfiguration("workbench.list.multiSelectModifier")&&(e.useAltAsMultipleSelectionModifier=Hm(e.configurationService))})))},t.prototype.isSelectionSingleChangeEvent=function(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:eg(e)},t.prototype.isSelectionRangeChangeEvent=function(e){return tg(e)},t}(le.a),Km=function(e){function t(t,n){var i=e.call(this)||this;return i.configurationService=t,i.existingOpenController=n,i.openOnSingleClick=zm(t),i.registerListeners(),i}return Dm(t,e),t.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration((function(t){t.affectsConfiguration("workbench.list.openMode")&&(e.openOnSingleClick=zm(e.configurationService))})))},t.prototype.shouldOpen=function(e){if(e instanceof MouseEvent){var t=0===e.button,n=2===e.detail;return!(t&&!this.openOnSingleClick&&!n)&&(!(!t&&1!==e.button)&&(!this.existingOpenController||this.existingOpenController.shouldOpen(e)))}return!this.existingOpenController||this.existingOpenController.shouldOpen(e)},t}(le.a);function qm(e,t){var n=!1;return function(i){if(n)return n=!1,!1;var o=t.softDispatch(i,e);return o&&o.enterChord?(n=!0,!1):(n=!1,!0)}}(function(e){function t(t,n,i,o,r,s,a,u,l,c,d){var h=this,f=Gm(n,r,s,l,c,d),p=f.options,g=f.getAutomaticKeyboardNavigation,m=f.disposable;return(h=e.call(this,t,n,i,o,p)||this).disposables.add(m),h.internals=new Xm(h,p,g,r.overrideStyles,s,a,u,l,d),h.disposables.add(h.internals),h}Dm(t,e),t=Em([km(5,Zi.c),km(6,Im),km(7,Ir.c),km(8,Pi),km(9,Cd.a),km(10,Jl)],t)})(nm),function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h){var f=this,p=Gm(n,s,a,c,d,h),g=p.options,m=p.getAutomaticKeyboardNavigation,v=p.disposable;return(f=e.call(this,t,n,i,o,r,g)||this).disposables.add(v),f.internals=new Xm(f,g,m,s.overrideStyles,a,u,l,c,h),f.disposables.add(f.internals),f}Dm(t,e),t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),t.overrideStyles&&this.internals.updateStyleOverrides(t.overrideStyles)},t=Em([km(6,Zi.c),km(7,Im),km(8,Ir.c),km(9,Pi),km(10,Cd.a),km(11,Jl)],t)}(Om),function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h){var f=this,p=Gm(n,s,a,c,d,h),g=p.options,m=p.getAutomaticKeyboardNavigation,v=p.disposable;return(f=e.call(this,t,n,i,o,r,g)||this).disposables.add(v),f.internals=new Xm(f,g,m,s.overrideStyles,a,u,l,c,h),f.disposables.add(f.internals),f}Dm(t,e),t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),t.overrideStyles&&this.internals.updateStyleOverrides(t.overrideStyles)},t=Em([km(6,Zi.c),km(7,Im),km(8,Ir.c),km(9,Pi),km(10,Cd.a),km(11,Jl)],t)}(bm),function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h,f){var p=this,g=Gm(n,a,u,d,h,f),m=g.options,v=g.getAutomaticKeyboardNavigation,_=g.disposable;return(p=e.call(this,t,n,i,o,r,s,m)||this).disposables.add(_),p.internals=new Xm(p,m,v,a.overrideStyles,u,l,c,d,f),p.disposables.add(p.internals),p}Dm(t,e),t=Em([km(7,Zi.c),km(8,Im),km(9,Ir.c),km(10,Pi),km(11,Cd.a),km(12,Jl)],t)}(Sm);function Gm(e,t,n,i,o,r){Vm.bindTo(n),Bm||(Wm.bindTo(n),Bm=!0);var s=function(){var e=n.getContextKeyValue("listAutomaticKeyboardNavigation");return e&&(e=i.getValue("workbench.list.automaticKeyboardNavigation")),e},a=r.isScreenReaderOptimized()?"simple":i.getValue("workbench.list.keyboardNavigation"),u=void 0!==t.horizontalScrolling?t.horizontalScrolling:function(e){return function(e,t,n){var i=e.inspect(t),o=e.inspect(n);return void 0!==i.userValue||void 0!==i.workspaceValue||void 0!==i.workspaceFolderValue?i.value:void 0!==o.userValue||void 0!==o.workspaceValue||void 0!==o.workspaceFolderValue?o.value:i.defaultValue}(e,"workbench.list.horizontalScrolling","workbench.tree.horizontalScrolling")}(i),l=zm(i),c=function(e,t,n){var i=new le.b,o=xm({},e);if(!1!==e.multipleSelectionSupport&&!e.multipleSelectionController){var r=new Um(t);o.multipleSelectionController=r,i.add(r)}var s=new Km(t,e.openController);return o.openController=s,i.add(s),o.keyboardNavigationDelegate={mightProducePrintableCharacter:function(e){return n.mightProducePrintableCharacter(e)}},[o,i]}(t,i,o),d=c[0],h=c[1],f=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:s,disposable:h,options:xm(xm({keyboardSupport:!1},d),{indent:i.getValue(jm),renderIndentGuides:i.getValue("workbench.tree.renderIndentGuides"),automaticKeyboardNavigation:s(),simpleKeyboardNavigation:"simple"===a,filterOnType:"filter"===a,horizontalScrolling:u,openOnSingleClick:l,keyboardNavigationEventFilter:qm(e,o),additionalScrollHeight:f,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements})}}var Ym,Zm,Xm=function(){function e(e,t,n,i,o,r,s,a,u){var l=this;this.tree=e,this.themeService=s,this.disposables=[],this.contextKeyService=function(e,t){var n=e.createScoped(t.getHTMLElement());return Tm.bindTo(n),n}(o,e),Am.bindTo(this.contextKeyService).set(!(!1===t.multipleSelectionSupport)),this.hasSelectionOrFocus=Rm.bindTo(this.contextKeyService),this.hasDoubleSelection=Pm.bindTo(this.contextKeyService),this.hasMultiSelection=Fm.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=Hm(a);var c=new Set;c.add("listAutomaticKeyboardNavigation");var d=function(){var t=u.isScreenReaderOptimized()?"simple":a.getValue("workbench.list.keyboardNavigation");e.updateOptions({simpleKeyboardNavigation:"simple"===t,filterOnType:"filter"===t})};this.updateStyleOverrides(i),this.disposables.push(this.contextKeyService,r.register(e),e.onDidChangeSelection((function(){var t=e.getSelection(),n=e.getFocus();l.hasSelectionOrFocus.set(t.length>0||n.length>0),l.hasMultiSelection.set(t.length>1),l.hasDoubleSelection.set(2===t.length)})),e.onDidChangeFocus((function(){var t=e.getSelection(),n=e.getFocus();l.hasSelectionOrFocus.set(t.length>0||n.length>0)})),a.onDidChangeConfiguration((function(t){if(t.affectsConfiguration("workbench.list.openMode")&&e.updateOptions({openOnSingleClick:zm(a)}),t.affectsConfiguration("workbench.list.multiSelectModifier")&&(l._useAltAsMultipleSelectionModifier=Hm(a)),t.affectsConfiguration(jm)){var i=a.getValue(jm);e.updateOptions({indent:i})}if(t.affectsConfiguration("workbench.tree.renderIndentGuides")){var o=a.getValue("workbench.tree.renderIndentGuides");e.updateOptions({renderIndentGuides:o})}t.affectsConfiguration("workbench.list.keyboardNavigation")&&d(),t.affectsConfiguration("workbench.list.automaticKeyboardNavigation")&&e.updateOptions({automaticKeyboardNavigation:n()})})),this.contextKeyService.onDidChangeContext((function(t){t.affectsSome(c)&&e.updateOptions({automaticKeyboardNavigation:n()})})),u.onDidChangeScreenReaderOptimized((function(){return d()})))}return e.prototype.updateStyleOverrides=function(e){Object(le.e)(this.styler),this.styler=e?bf(this.tree,this.themeService,e):le.a.None},e.prototype.dispose=function(){this.disposables=Object(le.e)(this.disposables),this.styler=Object(le.e)(this.styler)},e=Em([km(4,Zi.c),km(5,Im),km(6,Ir.c),km(7,Pi),km(8,Jl)],e)}();Xn.a.as($n).registerConfiguration({id:"workbench",order:7,title:Object(Zn.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:(Lm={},Lm["workbench.list.multiSelectModifier"]={type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(Zn.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(Zn.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(Zn.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},Lm["workbench.list.openMode"]={type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(Zn.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},Lm["workbench.list.horizontalScrolling"]={type:"boolean",default:!1,description:Object(Zn.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench.")},Lm["workbench.tree.horizontalScrolling"]={type:"boolean",default:!1,description:Object(Zn.a)("tree horizontalScrolling setting","Controls whether trees support horizontal scrolling in the workbench."),deprecationMessage:Object(Zn.a)("deprecated","This setting is deprecated, please use '{0}' instead.","workbench.list.horizontalScrolling")},Lm[jm]={type:"number",default:8,minimum:0,maximum:40,description:Object(Zn.a)("tree indent setting","Controls tree indentation in pixels.")},Lm["workbench.tree.renderIndentGuides"]={type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(Zn.a)("render tree indent guides","Controls whether the tree should render indent guides.")},Lm["workbench.list.keyboardNavigation"]={type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(Zn.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(Zn.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(Zn.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(Zn.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},Lm["workbench.list.automaticKeyboardNavigation"]={type:"boolean",default:!0,markdownDescription:Object(Zn.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},Lm)}),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(Ym||(Ym={})),function(e){e.compare=function(e,t){return t-e};var t=Object.create(null);t[e.Error]=Object(Zn.a)("sev.error","Error"),t[e.Warning]=Object(Zn.a)("sev.warning","Warning"),t[e.Info]=Object(Zn.a)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case Yn.a.Error:return e.Error;case Yn.a.Warning:return e.Warning;case Yn.a.Info:return e.Info;case Yn.a.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return Yn.a.Error;case e.Warning:return Yn.a.Warning;case e.Info:return Yn.a.Info;case e.Hint:return Yn.a.Ignore}}}(Ym||(Ym={})),function(e){function t(e,t){var n=[""];return e.source?n.push(e.source.replace("¦","¦")):n.push(""),e.code?"string"==typeof e.code?n.push(e.code.replace("¦","¦")):n.push(e.code.value.replace("¦","¦")):n.push(""),void 0!==e.severity&&null!==e.severity?n.push(Ym.toString(e.severity)):n.push(""),e.message&&t?n.push(e.message.replace("¦","¦")):n.push(""),void 0!==e.startLineNumber&&null!==e.startLineNumber?n.push(e.startLineNumber.toString()):n.push(""),void 0!==e.startColumn&&null!==e.startColumn?n.push(e.startColumn.toString()):n.push(""),void 0!==e.endLineNumber&&null!==e.endLineNumber?n.push(e.endLineNumber.toString()):n.push(""),void 0!==e.endColumn&&null!==e.endColumn?n.push(e.endColumn.toString()):n.push(""),n.push(""),n.join("¦")}e.makeKey=function(e){return t(e,!0)},e.makeKeyOptionalMessage=t}(Zm||(Zm={}));var Jm,Qm,$m=Object(ue.c)("markerService");(Qm=Jm||(Jm={})).get=function(e,t,n){if(e[t])return e[t][n]},Qm.set=function(e,t,n,i){e[t]||(e[t]=Object.create(null)),e[t][n]=i},Qm.remove=function(e,t,n){return!(!e[t]||!e[t][n]||(delete e[t][n],Object(je.f)(e[t])&&delete e[t],0))};var ev=function(){function e(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=Object.create(null),this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}return e.prototype.dispose=function(){this._subscription.dispose(),this._data=void 0},e.prototype._update=function(e){if(this._data)for(var t=0,n=e;t<n.length;t++){var i=n[t],o=i.toString(),r=this._data[o];r&&this._substract(r);var s=this._resourceStats(i);this._add(s),this._data[o]=s}},e.prototype._resourceStats=function(e){var t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===$.b.inMemory||e.scheme===$.b.walkThrough||e.scheme===$.b.walkThroughSnippet)return t;for(var n=0,i=this._service.read({resource:e});n<i.length;n++){var o=i[n].severity;o===Ym.Error?t.errors+=1:o===Ym.Warning?t.warnings+=1:o===Ym.Info?t.infos+=1:t.unknowns+=1}return t},e.prototype._substract=function(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns},e.prototype._add=function(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns},e}(),tv=function(){function e(){this._onMarkerChanged=new W.a,this._onMarkerChangedEvent=W.b.debounce(this._onMarkerChanged.event,e._debouncer,0),this._byResource=Object.create(null),this._byOwner=Object.create(null),this._stats=new ev(this)}return e.prototype.dispose=function(){this._stats.dispose()},Object.defineProperty(e.prototype,"onMarkerChanged",{get:function(){return this._onMarkerChangedEvent},enumerable:!0,configurable:!0}),e.prototype.remove=function(e,t){for(var n=0,i=t||[];n<i.length;n++){var o=i[n];this.changeOne(e,o,[])}},e.prototype.changeOne=function(t,n,i){if(Object(Xe.l)(i)){var o=Jm.remove(this._byResource,n.toString(),t),r=Jm.remove(this._byOwner,t,n.toString());if(o!==r)throw new Error("invalid marker service state");o&&r&&this._onMarkerChanged.fire([n])}else{for(var s=[],a=0,u=i;a<u.length;a++){var l=u[a],c=e._toMarker(t,n,l);c&&s.push(c)}Jm.set(this._byResource,n.toString(),t,s),Jm.set(this._byOwner,t,n.toString(),s),this._onMarkerChanged.fire([n])}},e._toMarker=function(e,t,n){var i=n.code,o=n.severity,r=n.message,s=n.source,a=n.startLineNumber,u=n.startColumn,l=n.endLineNumber,c=n.endColumn,d=n.relatedInformation,h=n.tags;if(r)return{resource:t,owner:e,code:i,severity:o,message:r,source:s,startLineNumber:a=a>0?a:1,startColumn:u=u>0?u:1,endLineNumber:l=l>=a?l:a,endColumn:c=c>0?c:u,relatedInformation:d,tags:h}},e.prototype.read=function(t){void 0===t&&(t=Object.create(null));var n=t.owner,i=t.resource,o=t.severities,r=t.take;if((!r||r<0)&&(r=-1),n&&i){if(y=Jm.get(this._byResource,i.toString(),n)){for(var s=[],a=0,u=y;a<u.length;a++){var l=u[a];if(e._accept(l,o)){var c=s.push(l);if(r>0&&c===r)break}}return s}return[]}if(n||i){var d=n?this._byOwner[n]:i?this._byResource[i.toString()]:void 0;if(!d)return[];s=[];for(var h in d)for(var f=0,p=d[h];f<p.length;f++){y=p[f];if(e._accept(y,o)){c=s.push(y);if(r>0&&c===r)return s}}return s}var s=[];for(var g in this._byResource)for(var m in this._byResource[g])for(var v=0,_=this._byResource[g][m];v<_.length;v++){var y=_[v];if(e._accept(y,o)){var c=s.push(y);if(r>0&&c===r)return s}}return s},e._accept=function(e,t){return void 0===t||(t&e.severity)===e.severity},e._debouncer=function(t,n){t||(e._dedupeMap=Object.create(null),t=[]);for(var i=0,o=n;i<o.length;i++){var r=o[i];void 0===e._dedupeMap[r.toString()]&&(e._dedupeMap[r.toString()]=!0,t.push(r))}return t},e}(),nv=n("A+jI"),iv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},ov=function(e,t){return function(n,i){t(n,i,e)}},rv=function(){function e(e){this._commandService=e}return e.prototype.createMenu=function(e,t){return new sv(e,this._commandService,t)},e=iv([ov(0,ae.b)],e)}(),sv=function(){function e(e,t,n){var i=this;this._id=e,this._commandService=t,this._contextKeyService=n,this._onDidChange=new W.a,this._dispoables=new le.b,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(W.b.debounce(W.b.filter(bd.c.onDidChangeMenu,(function(e){return e===i._id})),(function(){}),50)(this._build,this)),this._dispoables.add(W.b.debounce(this._contextKeyService.onDidChangeContext,(function(e,t){return e||t.affectsSome(i._contextKeys)}),50)((function(e){return e&&i._onDidChange.fire(void 0)}),this))}return e.prototype.dispose=function(){this._dispoables.dispose(),this._onDidChange.dispose()},e.prototype._build=function(){this._menuGroups.length=0,this._contextKeys.clear();var t,n=bd.c.getMenuItems(this._id);n.sort(e._compareMenuItems);for(var i=0,o=n;i<o.length;i++){var r=o[i],s=r.group||"";t&&t[0]===s||(t=[s,[]],this._menuGroups.push(t)),t[1].push(r),e._fillInKbExprKeys(r.when,this._contextKeys),Object(bd.e)(r)&&r.command.precondition&&e._fillInKbExprKeys(r.command.precondition,this._contextKeys),Object(bd.e)(r)&&r.command.toggled&&e._fillInKbExprKeys(r.command.toggled,this._contextKeys)}this._onDidChange.fire(this)},e.prototype.getActions=function(e){for(var t=[],n=0,i=this._menuGroups;n<i.length;n++){for(var o=i[n],r=o[0],s=[],a=0,u=o[1];a<u.length;a++){var l=u[a];if(this._contextKeyService.contextMatchesRules(l.when)){var c=Object(bd.e)(l)?new bd.b(l.command,l.alt,e,this._contextKeyService,this._commandService):new bd.d(l);s.push(c)}}s.length>0&&t.push([r,s])}return t},e._fillInKbExprKeys=function(e,t){if(e)for(var n=0,i=e.keys();n<i.length;n++){var o=i[n];t.add(o)}},e._compareMenuItems=function(t,n){var i=t.group,o=n.group;if(i!==o){if(!i)return 1;if(!o)return-1;if("navigation"===i)return-1;if("navigation"===o)return 1;var r=i.localeCompare(o);if(0!==r)return r}var s=t.order||0,a=n.order||0;return s<a?-1:s>a?1:e._compareTitles(Object(bd.e)(t)?t.command.title:t.title,Object(bd.e)(n)?n.command.title:n.title)},e._compareTitles=function(e,t){var n="string"==typeof e?e:e.value,i="string"==typeof t?t:t.value;return n.localeCompare(i)},e=iv([ov(1,ae.b),ov(2,Zi.c)],e)}(),av=Object(ue.c)("markerDecorationsService"),uv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),lv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},cv=function(e,t){return function(n,i){t(n,i,e)}};function dv(e){return e.toString()}var hv,fv=function(e){function t(t){var n=e.call(this)||this;return n.model=t,n._markersData=new Map,n._register(Object(le.f)((function(){n.model.deltaDecorations(Object(Qn.d)(n._markersData),[]),n._markersData.clear()}))),n}return uv(t,e),t.prototype.update=function(e,t){var n=Object(Qn.d)(this._markersData);this._markersData.clear();for(var i=this.model.deltaDecorations(n,t),o=0;o<i.length;o++)this._markersData.set(i[o],e[o])},t.prototype.getMarker=function(e){return this._markersData.get(e.id)},t}(le.a),pv=function(e){function t(t,n){var i=e.call(this)||this;return i._markerService=n,i._onDidChangeMarker=i._register(new W.a),i._markerDecorations=new Map,t.getModels().forEach((function(e){return i._onModelAdded(e)})),i._register(t.onModelAdded(i._onModelAdded,i)),i._register(t.onModelRemoved(i._onModelRemoved,i)),i._register(i._markerService.onMarkerChanged(i._handleMarkerChange,i)),i}return uv(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._markerDecorations.forEach((function(e){return e.dispose()})),this._markerDecorations.clear()},t.prototype.getMarker=function(e,t){var n=this._markerDecorations.get(dv(e.uri));return n?Object(je.o)(n.getMarker(t)):null},t.prototype._handleMarkerChange=function(e){var t=this;e.forEach((function(e){var n=t._markerDecorations.get(dv(e));n&&t._updateDecorations(n)}))},t.prototype._onModelAdded=function(e){var t=new fv(e);this._markerDecorations.set(dv(e.uri),t),this._updateDecorations(t)},t.prototype._onModelRemoved=function(e){var t=this,n=this._markerDecorations.get(dv(e.uri));n&&(n.dispose(),this._markerDecorations.delete(dv(e.uri))),e.uri.scheme!==$.b.inMemory&&e.uri.scheme!==$.b.internal&&e.uri.scheme!==$.b.vscode||this._markerService&&this._markerService.read({resource:e.uri}).map((function(e){return e.owner})).forEach((function(n){return t._markerService.remove(n,[e.uri])}))},t.prototype._updateDecorations=function(e){var t=this,n=this._markerService.read({resource:e.model.uri,take:500}),i=n.map((function(n){return{range:t._createDecorationRange(e.model,n),options:t._createDecorationOption(n)}}));e.update(n,i),this._onDidChangeMarker.fire(e.model)},t.prototype._createDecorationRange=function(e,t){var n=z.a.lift(t);if(t.severity!==Ym.Hint||this._hasMarkerTag(t,1)||this._hasMarkerTag(t,2)||(n=n.setEndPosition(n.startLineNumber,n.startColumn+2)),(n=e.validateRange(n)).isEmpty()){var i=e.getWordAtPosition(n.getStartPosition());if(i)n=new z.a(n.startLineNumber,i.startColumn,n.endLineNumber,i.endColumn);else{var o=e.getLineLastNonWhitespaceColumn(n.startLineNumber)||e.getLineMaxColumn(n.startLineNumber);1===o||(n=n.endColumn>=o?new z.a(n.startLineNumber,o-1,n.endLineNumber,o):new z.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn+1))}}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&n.startLineNumber===n.endLineNumber){var r=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);r<n.endColumn&&(n=new z.a(n.startLineNumber,r,n.endLineNumber,n.endColumn),t.startColumn=r)}return n},t.prototype._createDecorationOption=function(e){var t,n,i,o=void 0,r=void 0;switch(e.severity){case Ym.Hint:t=this._hasMarkerTag(e,2)?void 0:this._hasMarkerTag(e,1)?"squiggly-unnecessary":"squiggly-hint",n=0;break;case Ym.Warning:t="squiggly-warning",o=Object(Ir.f)(qs),n=20,i={color:Object(Ir.f)(Ns.zb),position:Ae.c.Inline};break;case Ym.Info:t="squiggly-info",o=Object(Ir.f)(Gs),n=10;break;case Ym.Error:default:t="squiggly-error",o=Object(Ir.f)(Ks),n=30,i={color:Object(Ir.f)(Ns.wb),position:Ae.c.Inline}}return e.tags&&(-1!==e.tags.indexOf(1)&&(r="squiggly-inline-unnecessary"),-1!==e.tags.indexOf(2)&&(r="squiggly-inline-deprecated")),{stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:o,position:Ae.d.Right},minimap:i,zIndex:n,inlineClassName:r}},t.prototype._hasMarkerTag=function(e,t){return!!e.tags&&e.tags.indexOf(t)>=0},t=lv([cv(0,Rt.a),cv(1,$m)],t)}(le.a),gv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),mv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},vv=function(e,t){return function(n,i){t(n,i,e)}},_v=function(e){function t(t,n){var i=e.call(this)||this;i._contextKeyService=t,i._configurationService=n,i._accessibilitySupport=0,i._onDidChangeScreenReaderOptimized=new W.a,i._accessibilityModeEnabledContext=Ql.bindTo(i._contextKeyService);var o=function(){return i._accessibilityModeEnabledContext.set(i.isScreenReaderOptimized())};return i._register(i._configurationService.onDidChangeConfiguration((function(e){e.affectsConfiguration("editor.accessibilitySupport")&&(o(),i._onDidChangeScreenReaderOptimized.fire())}))),o(),i.onDidChangeScreenReaderOptimized((function(){return o()})),i}return gv(t,e),Object.defineProperty(t.prototype,"onDidChangeScreenReaderOptimized",{get:function(){return this._onDidChangeScreenReaderOptimized.event},enumerable:!0,configurable:!0}),t.prototype.isScreenReaderOptimized=function(){var e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport},t.prototype.getAccessibilitySupport=function(){return this._accessibilitySupport},t=mv([vv(0,Zi.c),vv(1,Pi)],t)}(le.a),yv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(e){var t=new Xl,n=function(){function e(e,t){this._serviceId=e,this._factory=t,this._value=null}return Object.defineProperty(e.prototype,"id",{get:function(){return this._serviceId},enumerable:!0,configurable:!0}),e.prototype.get=function(e){if(!this._value){if(e&&(this._value=e[this._serviceId.toString()]),this._value||(this._value=this._factory(e)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");t.set(this._serviceId,this._value)}return this._value},e}();e.LazyStaticService=n;var i=[];function o(e,t){var o=new n(e,t);return i.push(o),o}e.init=function(e){for(var t=new Xl,n=0,o=Ic;n<o.length;n++){var r=o[n],s=r[0],a=r[1];t.set(s,a)}for(var u in e)e.hasOwnProperty(u)&&t.set(Object(ue.c)(u),e[u]);i.forEach((function(n){return t.set(n.id,n.get(e))}));var l=new qf(t,!0);return t.set(ue.a,l),[t,l]},e.instantiationService=o(ue.a,(function(){return new qf(t,!0)}));var r=new Wo;e.configurationService=o(Pi,(function(){return r})),e.resourceConfigurationService=o(Pt,(function(){return new Bo(r)})),e.resourcePropertiesService=o(Ft,(function(){return new jo(r)})),e.contextService=o(co,(function(){return new zo})),e.labelService=o(Yf,(function(){return new qo})),e.telemetryService=o(Of.a,(function(){return new Ho})),e.dialogService=o(Wf,(function(){return new Ao})),e.notificationService=o(lo.a,(function(){return new Ro})),e.markerService=o($m,(function(){return new tv})),e.modeService=o(Td,(function(e){return new Zd})),e.standaloneThemeService=o(yd,(function(){return new Gh})),e.logService=o(Vt,(function(){return new Wt})),e.modelService=o(Rt.a,(function(t){return new ih(e.configurationService.get(t),e.resourcePropertiesService.get(t),e.standaloneThemeService.get(t),e.logService.get(t))})),e.markerDecorationsService=o(av,(function(t){return new pv(e.modelService.get(t),e.markerService.get(t))})),e.codeEditorService=o(Y.a,(function(t){return new Nh(e.standaloneThemeService.get(t))})),e.editorProgressService=o(td,(function(){return new To})),e.storageService=o(nv.a,(function(){return new nv.b})),e.editorWorkerService=o(Fe,(function(t){return new Gt(e.modelService.get(t),e.resourceConfigurationService.get(t),e.logService.get(t))}))}(hv||(hv={}));var bv=function(e){function t(t,n){var i=e.call(this)||this,o=hv.init(n),r=o[0],s=o[1];i._serviceCollection=r,i._instantiationService=s;var a=i.get(Pi),u=i.get(lo.a),l=i.get(Of.a),c=i.get(Ir.c),d=function(e,t){var o=null;return n&&(o=n[e.toString()]),o||(o=t()),i._serviceCollection.set(e,o),o},h=d(Zi.c,(function(){return i._register(new sf(a))}));d(Jl,(function(){return new _v(h,a)})),d(Im,(function(){return new Mm(c)}));var f=d(ae.b,(function(){return new Po(i._instantiationService)})),p=d(Cd.a,(function(){return i._register(new Fo(h,f,l,u,t))})),g=d(Af,(function(){return new Go(t)})),m=d(Xc.b,(function(){return i._register(new Vf(g))}));return d(Xc.a,(function(){var e=new kf(l,u,m,p,c);return e.configure({blockMouse:!1}),i._register(e)})),d(bd.a,(function(){return new rv(f)})),d(Md,(function(){return new Ko(hv.modelService.get(Rt.a))})),i}return yv(t,e),t.prototype.get=function(e){var t=this._serviceCollection.get(e);if(!t)throw new Error("Missing service "+e);return t},t.prototype.set=function(e,t){this._serviceCollection.set(e,t)},t.prototype.has=function(e){return this._serviceCollection.has(e)},t}(le.a);function Cv(e,t,n){var i=new bv(e,t),o=null;i.has(Ve.a)||(o=new Mo(hv.modelService.get()),i.set(Ve.a,o)),i.has(he)||i.set(he,new we(i.get(Y.a),i.get(ae.b)));var r=n(i);return o&&o.setEditor(r),r}function wv(e,t,n){return Cv(e,n||{},(function(n){return new kd(e,t,n,n.get(ue.a),n.get(Y.a),n.get(ae.b),n.get(Zi.c),n.get(Cd.a),n.get(Xc.b),n.get(yd),n.get(lo.a),n.get(Pi),n.get(Jl))}))}function Sv(e){return hv.codeEditorService.get().onCodeEditorAdd((function(t){e(t)}))}function Lv(e,t,n){return Cv(e,n||{},(function(n){return new Id(e,t,n,n.get(ue.a),n.get(Zi.c),n.get(Cd.a),n.get(Xc.b),n.get(Fe),n.get(Y.a),n.get(yd),n.get(lo.a),n.get(Pi),n.get(Xc.a),n.get(td),null)}))}function Nv(e,t){return new De(e,t)}function Ov(e,t,n){return hv.modelService.get().createModel(e,t,n)}function Dv(e,t,n){if(e=e||"",!t){var i=e.indexOf("\n"),o=e;return-1!==i&&(o=e.substring(0,i)),Ov(e,hv.modeService.get().createByFilepathOrFirstLine(n||null,o),n)}return Ov(e,hv.modeService.get().create(t),n)}function xv(e,t){hv.modelService.get().setMode(e,hv.modeService.get().create(t))}function Ev(e,t,n){e&&hv.markerService.get().changeOne(t,e.uri,n)}function kv(e){return hv.markerService.get().read(e)}function Iv(e){return hv.modelService.get().getModel(e)}function Mv(){return hv.modelService.get().getModels()}function Tv(e){return hv.modelService.get().onModelAdded(e)}function Av(e){return hv.modelService.get().onModelRemoved(e)}function Rv(e){return hv.modelService.get().onModelModeChanged((function(t){e({model:t.model,oldLanguage:t.oldModeId})}))}function Pv(e){return function(e,t){return new nn(e,t)}(hv.modelService.get(),e)}function Fv(e,t){return Un.colorizeElement(hv.standaloneThemeService.get(),hv.modeService.get(),e,t)}function Vv(e,t,n){return Un.colorize(hv.modeService.get(),e,t,n)}function Wv(e,t,n){return void 0===n&&(n=4),Un.colorizeModelLine(e,t,n)}function Bv(e,t){hv.modeService.get().triggerMode(t);for(var n=function(e){var t=Re.y.get(e);return t||{getInitialState:function(){return Pe.c},tokenize:function(t,n,i){return Object(Pe.d)(e,t,n,i)}}}(t),i=e.split(/\r\n|\r|\n/),o=[],r=n.getInitialState(),s=0,a=i.length;s<a;s++){var u=i[s],l=n.tokenize(u,r,0);o[s]=l.tokens,r=l.endState}return o}function jv(e,t){hv.standaloneThemeService.get().defineTheme(e,t)}function Hv(e){hv.standaloneThemeService.get().setTheme(e)}function zv(){nr.INSTANCE.clearCache()}function Uv(e,t){return"boolean"==typeof e?e:t}function Kv(e,t){return"string"==typeof e?e:t}function qv(e,t){void 0===t&&(t=!1),t&&(e=e.map((function(e){return e.toLowerCase()})));var n=function(e){for(var t={},n=0,i=e;n<i.length;n++){t[i[n]]=!0}return t}(e);return t?function(e){return void 0!==n[e.toLowerCase()]&&n.hasOwnProperty(e.toLowerCase())}:function(e){return void 0!==n[e]&&n.hasOwnProperty(e)}}function Gv(e,t){for(var n=0;t.indexOf("@")>=0&&n<5;)n++,t=t.replace(/@(\w+)/g,(function(n,i){var o="";if("string"==typeof e[i])o=e[i];else{if(!(e[i]&&e[i]instanceof RegExp))throw void 0===e[i]?Mn(e,"language definition does not contain attribute '"+i+"', used at: "+t):Mn(e,"attribute reference '"+i+"' must be a string, used at: "+t);o=e[i].source}return En(o)?"":"(?:"+o+")"}));return new RegExp(t,e.ignoreCase?"i":"")}function Yv(e,t,n,i){var o=-1,r=n,s=n.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);s&&(s[3]&&(o=parseInt(s[3]),s[2]&&(o+=100)),r=s[4]);var a,u="~",l=r;if(r&&0!==r.length?/^\w*$/.test(l)?u="==":(s=r.match(/^(@|!@|~|!~|==|!=)(.*)$/))&&(u=s[1],l=s[2]):(u="!=",l=""),"~"!==u&&"!~"!==u||!/^(\w|\|)*$/.test(l))if("@"===u||"!@"===u){var c=e[l];if(!c)throw Mn(e,"the @ match target '"+l+"' is not defined, in rule: "+t);if(!function(e,t){if(!t)return!1;if(!Array.isArray(t))return!1;for(var n=0,i=t;n<i.length;n++){if(!e(i[n]))return!1}return!0}((function(e){return"string"==typeof e}),c))throw Mn(e,"the @ match target '"+l+"' must be an array of strings, in rule: "+t);var d=qv(c,e.ignoreCase);a=function(e){return"@"===u?d(e):!d(e)}}else if("~"===u||"!~"===u)if(l.indexOf("$")<0){var h=Gv(e,"^"+l+"$");a=function(e){return"~"===u?h.test(e):!h.test(e)}}else a=function(t,n,i,o){return Gv(e,"^"+Tn(e,l,n,i,o)+"$").test(t)};else if(l.indexOf("$")<0){var f=kn(e,l);a=function(e){return"=="===u?e===f:e!==f}}else{var p=kn(e,l);a=function(t,n,i,o,r){var s=Tn(e,p,n,i,o);return"=="===u?t===s:t!==s}}else{var g=qv(l.split("|"),e.ignoreCase);a=function(e){return"~"===u?g(e):!g(e)}}return-1===o?{name:n,value:i,test:function(e,t,n,i){return a(e,e,t,n,i)}}:{name:n,value:i,test:function(e,t,n,i){var r=function(e,t,n,i){if(i<0)return e;if(i<t.length)return t[i];if(i>=100){i-=100;var o=n.split(".");if(o.unshift(n),i<o.length)return o[i]}return null}(e,t,n,o);return a(r||"",e,t,n,i)}}}var Zv=function(){function e(e){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=e}return e.prototype.setRegex=function(e,t){var n;if("string"==typeof t)n=t;else{if(!(t instanceof RegExp))throw Mn(e,"rules must start with a match string or regular expression: "+this.name);n=t.source}this.matchOnlyAtLineStart=n.length>0&&"^"===n[0],this.name=this.name+": "+n,this.regex=Gv(e,"^(?:"+(this.matchOnlyAtLineStart?n.substr(1):n)+")")},e.prototype.setAction=function(e,t){this.action=function e(t,n,i){if(i){if("string"==typeof i)return i;if(i.token||""===i.token){if("string"!=typeof i.token)throw Mn(t,"a 'token' attribute must be of type string, in rule: "+n);var o={token:i.token};if(i.token.indexOf("$")>=0&&(o.tokenSubst=!0),"string"==typeof i.bracket)if("@open"===i.bracket)o.bracket=1;else{if("@close"!==i.bracket)throw Mn(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+n);o.bracket=-1}if(i.next){if("string"!=typeof i.next)throw Mn(t,"the next state must be a string value in rule: "+n);var r=i.next;if(!/^(@pop|@push|@popall)$/.test(r)&&("@"===r[0]&&(r=r.substr(1)),r.indexOf("$")<0&&!function(e,t){for(var n=t;n&&n.length>0;){if(e.stateNames[n])return!0;var i=n.lastIndexOf(".");n=i<0?null:n.substr(0,i)}return!1}(t,Tn(t,r,"",[],""))))throw Mn(t,"the next state '"+i.next+"' is not defined in rule: "+n);o.next=r}return"number"==typeof i.goBack&&(o.goBack=i.goBack),"string"==typeof i.switchTo&&(o.switchTo=i.switchTo),"string"==typeof i.log&&(o.log=i.log),"string"==typeof i.nextEmbedded&&(o.nextEmbedded=i.nextEmbedded,t.usesEmbedded=!0),o}if(Array.isArray(i)){for(var s=[],a=0,u=i.length;a<u;a++)s[a]=e(t,n,i[a]);return{group:s}}if(i.cases){var l=[];for(var c in i.cases)if(i.cases.hasOwnProperty(c)){var d=e(t,n,i.cases[c]);"@default"===c||"@"===c||""===c?l.push({test:void 0,value:d,name:c}):"@eos"===c?l.push({test:function(e,t,n,i){return i},value:d,name:c}):l.push(Yv(t,n,c,d))}var h=t.defaultToken;return{test:function(e,t,n,i){for(var o=0,r=l;o<r.length;o++){var s=r[o];if(!s.test||s.test(e,t,n,i))return s.value}return h}}}throw Mn(t,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+n)}return{token:""}}(e,this.name,t)},e}();function Xv(e){Hd.registerLanguage(e)}function Jv(){var e=[];return e=e.concat(Hd.getLanguages())}function Qv(e){var t=hv.modeService.get().getLanguageIdentifier(e);return t?t.id:0}function $v(e,t){var n=hv.modeService.get().onDidCreateMode((function(i){i.getId()===e&&(n.dispose(),t())}));return n}function e_(e,t){var n=hv.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set configuration for unknown language "+e);return Ze.a.register(n,t)}var t_=function(){function e(e){this._actual=e}return e.prototype.getInitialState=function(){return this._actual.getInitialState()},e.prototype.tokenize=function(e,t,n){throw new Error("Not supported!")},e.prototype.tokenize2=function(e,t){var n=this._actual.tokenizeEncoded(e,t);return new K.c(n.tokens,n.endState)},e}(),n_=function(){function e(e,t,n){this._standaloneThemeService=e,this._languageIdentifier=t,this._actual=n}return e.prototype.getInitialState=function(){return this._actual.getInitialState()},e.prototype._toClassicTokens=function(e,t,n){for(var i=[],o=0,r=0,s=e.length;r<s;r++){var a=e[r],u=a.startIndex;0===r?u=0:u<o&&(u=o),i[r]=new K.a(u+n,a.scopes,t),o=u}return i},e.prototype.tokenize=function(e,t,n){var i,o=this._actual.tokenize(e,t),r=this._toClassicTokens(o.tokens,this._languageIdentifier.language,n);return i=o.endState.equals(t)?t:o.endState,new K.b(r,i)},e.prototype._toBinaryTokens=function(e,t){for(var n=this._languageIdentifier.id,i=this._standaloneThemeService.getTheme().tokenTheme,o=[],r=0,s=0,a=0,u=e.length;a<u;a++){var l=e[a],c=i.match(n,l.scopes);if(!(r>0&&o[r-1]===c)){var d=l.startIndex;0===a?d=0:d<s&&(d=s),o[r++]=d+t,o[r++]=c,s=d}}var h=new Uint32Array(r);for(a=0;a<r;a++)h[a]=o[a];return h},e.prototype.tokenize2=function(e,t,n){var i,o=this._actual.tokenize(e,t),r=this._toBinaryTokens(o.tokens,n);return i=o.endState.equals(t)?t:o.endState,new K.c(r,i)},e}();function i_(e){return e&&"function"==typeof e.then}function o_(e,t){var n=hv.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set tokens provider for unknown language "+e);var i=function(e){return function(e){return"tokenizeEncoded"in e}(e)?new t_(e):new n_(hv.standaloneThemeService.get(),n,e)};return i_(t)?Re.y.registerPromise(e,t.then((function(e){return i(e)}))):Re.y.register(e,i(t))}function r_(e,t){var n=function(t){return function(e,t,n,i){return new Hn(e,t,n,i)}(hv.modeService.get(),hv.standaloneThemeService.get(),e,function(e,t){if(!t||"object"!=typeof t)throw new Error("Monarch: expecting a language definition object");var n={};n.languageId=e,n.noThrow=!1,n.maxStack=100,n.start="string"==typeof t.start?t.start:null,n.ignoreCase=Uv(t.ignoreCase,!1),n.tokenPostfix=Kv(t.tokenPostfix,"."+n.languageId),n.defaultToken=Kv(t.defaultToken,"source"),n.usesEmbedded=!1;var i=t;function o(e,r,s){for(var a=0,u=s;a<u.length;a++){var l=u[a],c=l.include;if(c){if("string"!=typeof c)throw Mn(n,"an 'include' attribute must be a string at: "+e);if("@"===c[0]&&(c=c.substr(1)),!t.tokenizer[c])throw Mn(n,"include target '"+c+"' is not defined at: "+e);o(e+"."+c,r,t.tokenizer[c])}else{var d=new Zv(e);if(Array.isArray(l)&&l.length>=1&&l.length<=3)if(d.setRegex(i,l[0]),l.length>=3)if("string"==typeof l[1])d.setAction(i,{token:l[1],next:l[2]});else{if("object"!=typeof l[1])throw Mn(n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+e);var h=l[1];h.next=l[2],d.setAction(i,h)}else d.setAction(i,l[1]);else{if(!l.regex)throw Mn(n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+e);l.name&&"string"==typeof l.name&&(d.name=l.name),l.matchOnlyAtStart&&(d.matchOnlyAtLineStart=Uv(l.matchOnlyAtLineStart,!1)),d.setRegex(i,l.regex),d.setAction(i,l.action)}r.push(d)}}}if(i.languageId=e,i.ignoreCase=n.ignoreCase,i.noThrow=n.noThrow,i.usesEmbedded=n.usesEmbedded,i.stateNames=t.tokenizer,i.defaultToken=n.defaultToken,!t.tokenizer||"object"!=typeof t.tokenizer)throw Mn(n,"a language definition must define the 'tokenizer' attribute as an object");for(var r in n.tokenizer=[],t.tokenizer)if(t.tokenizer.hasOwnProperty(r)){n.start||(n.start=r);var s=t.tokenizer[r];n.tokenizer[r]=new Array,o("tokenizer."+r,n.tokenizer[r],s)}if(n.usesEmbedded=i.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw Mn(n,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];for(var a=[],u=0,l=t.brackets;u<l.length;u++){var c=l[u];if(c&&Array.isArray(c)&&3===c.length&&(c={token:c[2],open:c[0],close:c[1]}),c.open===c.close)throw Mn(n,"open and close brackets in a 'brackets' attribute must be different: "+c.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!=typeof c.open||"string"!=typeof c.token||"string"!=typeof c.close)throw Mn(n,"every element in the 'brackets' array must be a '{open,close,token}' object or array");a.push({token:c.token+n.tokenPostfix,open:kn(n,c.open),close:kn(n,c.close)})}return n.brackets=a,n.noThrow=!0,n}(e,t))};return i_(t)?Re.y.registerPromise(e,t.then((function(e){return n(e)}))):Re.y.register(e,n(t))}function s_(e,t){return Re.t.register(e,t)}function a_(e,t){return Re.u.register(e,t)}function u_(e,t){return Re.w.register(e,t)}function l_(e,t){return Re.o.register(e,{provideHover:function(e,n,i){var o=e.getWordAtPosition(n);return Promise.resolve(t.provideHover(e,n,i)).then((function(e){if(e)return!e.range&&o&&(e.range=new z.a(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn)),e.range||(e.range=new z.a(n.lineNumber,n.column,n.lineNumber,n.column)),e}))}})}function c_(e,t){return Re.l.register(e,t)}function d_(e,t){return Re.h.register(e,t)}function h_(e,t){return Re.f.register(e,t)}function f_(e,t){return Re.p.register(e,t)}function p_(e,t){return Re.z.register(e,t)}function g_(e,t){return Re.b.register(e,t)}function m_(e,t){return Re.a.register(e,{provideCodeActions:function(e,n,i,o){var r=hv.markerService.get().read({resource:e.uri}).filter((function(e){return z.a.areIntersectingOrTouching(e,n)}));return t.provideCodeActions(e,n,{markers:r,only:i.only},o)}})}function v_(e,t){return Re.g.register(e,t)}function __(e,t){return Re.i.register(e,t)}function y_(e,t){return Re.s.register(e,t)}function b_(e,t){return Re.r.register(e,t)}function C_(e,t){return Re.d.register(e,t)}function w_(e,t){return Re.c.register(e,t)}function S_(e,t){return Re.n.register(e,t)}function L_(e,t){return Re.e.register(e,t)}function N_(e,t){return Re.v.register(e,t)}function O_(e,t){return Re.k.register(e,t)}function D_(e,t){return Re.j.register(e,t)}var x_=self;F.e.wrappingIndent.defaultValue=0,F.e.glyphMargin.defaultValue=!1,F.e.autoIndent.defaultValue=3,F.e.overviewRulerLanes.defaultValue=2;var E_=G();E_.editor={create:wv,onDidCreateEditor:Sv,createDiffEditor:Lv,createDiffNavigator:Nv,createModel:Dv,setModelLanguage:xv,setModelMarkers:Ev,getModelMarkers:kv,getModels:Mv,getModel:Iv,onDidCreateModel:Tv,onWillDisposeModel:Av,onDidChangeModelLanguage:Rv,createWebWorker:Pv,colorizeElement:Fv,colorize:Vv,colorizeModelLine:Wv,tokenize:Bv,defineTheme:jv,setTheme:Hv,remeasureFonts:zv,AccessibilitySupport:i,ContentWidgetPositionPreference:u,CursorChangeReason:l,DefaultEndOfLine:c,EditorAutoIndentStrategy:h,EditorOption:f,EndOfLinePreference:p,EndOfLineSequence:g,MinimapPosition:C,MouseTargetType:w,OverlayWidgetPositionPreference:S,OverviewRulerLane:L,RenderLineNumbersType:N,RenderMinimap:O,ScrollbarVisibility:x,ScrollType:D,TextEditorCursorBlinkingStyle:T,TextEditorCursorStyle:A,TrackedRangeStickiness:R,WrappingIndent:P,ConfigurationChangedEvent:F.a,BareFontInfo:Ie,FontInfo:Me,TextModelResolvedOptions:Ae.e,FindMatch:Ae.b,EditorType:Te.a,EditorOptions:F.e},E_.languages={register:Xv,getLanguages:Jv,onLanguage:$v,getEncodedLanguageId:Qv,setLanguageConfiguration:e_,setTokensProvider:o_,setMonarchTokensProvider:r_,registerReferenceProvider:s_,registerRenameProvider:a_,registerCompletionItemProvider:C_,registerSignatureHelpProvider:u_,registerHoverProvider:l_,registerDocumentSymbolProvider:c_,registerDocumentHighlightProvider:d_,registerDefinitionProvider:h_,registerImplementationProvider:f_,registerTypeDefinitionProvider:p_,registerCodeLensProvider:g_,registerCodeActionProvider:m_,registerDocumentFormattingEditProvider:v_,registerDocumentRangeFormattingEditProvider:__,registerOnTypeFormattingEditProvider:y_,registerLinkProvider:b_,registerColorProvider:w_,registerFoldingRangeProvider:S_,registerDeclarationProvider:L_,registerSelectionRangeProvider:N_,registerDocumentSemanticTokensProvider:O_,registerDocumentRangeSemanticTokensProvider:D_,DocumentHighlightKind:d,CompletionItemKind:r,CompletionItemTag:s,CompletionItemInsertTextRule:o,SymbolKind:I,SymbolTag:M,IndentAction:m,CompletionTriggerKind:a,SignatureHelpTriggerKind:k,FoldingRangeKind:Re.m};var k_=E_.CancellationTokenSource,I_=E_.Emitter,M_=E_.KeyCode,T_=E_.KeyMod,A_=E_.Position,R_=E_.Range,P_=E_.Selection,F_=E_.SelectionDirection,V_=E_.MarkerSeverity,W_=E_.MarkerTag,B_=E_.Uri,j_=E_.Token,H_=E_.editor,z_=E_.languages;x_.monaco=E_,void 0!==x_.require&&"function"==typeof x_.require.config&&x_.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})},"9B1q":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return n.e(149).then(n.bind(null,"v7Iz"))}})},"9XAT":function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return o}));n("M/lh");var i=monaco.Emitter,o=function(){function e(e,t,n){this._onDidChange=new i,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!0,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),r={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"}},s={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},a=new o("css",r,s),u=new o("scss",r,s),l=new o("less",r,s);function c(){return n.e(129).then(n.bind(null,"20/g"))}monaco.languages.css={cssDefaults:a,lessDefaults:l,scssDefaults:u},monaco.languages.onLanguage("less",(function(){c().then((function(e){return e.setupMode(l)}))})),monaco.languages.onLanguage("scss",(function(){c().then((function(e){return e.setupMode(u)}))})),monaco.languages.onLanguage("css",(function(){c().then((function(e){return e.setupMode(a)}))}))},"9XeP":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("Cg/j"),o=Object(i.c)("clipboardService")},"A+jI":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return d}));var i,o,r=n("Cg/j"),s=n("MI8n"),a=n("pmY6"),u=n("746U"),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=Object(r.c)("storageService");!function(e){e[e.NONE=0]="NONE",e[e.SHUTDOWN=1]="SHUTDOWN"}(o||(o={}));var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onDidChangeStorage=t._register(new s.a),t.onDidChangeStorage=t._onDidChangeStorage.event,t._onWillSaveState=t._register(new s.a),t.onWillSaveState=t._onWillSaveState.event,t.globalCache=new Map,t.workspaceCache=new Map,t}return l(t,e),t.prototype.getCache=function(e){return 0===e?this.globalCache:this.workspaceCache},t.prototype.get=function(e,t,n){var i=this.getCache(t).get(e);return Object(u.l)(i)?n:i},t.prototype.getBoolean=function(e,t,n){var i=this.getCache(t).get(e);return Object(u.l)(i)?n:"true"===i},t.prototype.store=function(e,t,n){if(Object(u.l)(t))return this.remove(e,n);var i=String(t);return this.getCache(n).get(e)===i||(this.getCache(n).set(e,i),this._onDidChangeStorage.fire({scope:n,key:e})),Promise.resolve()},t.prototype.remove=function(e,t){return this.getCache(t).delete(e)?(this._onDidChangeStorage.fire({scope:t,key:e}),Promise.resolve()):Promise.resolve()},t}(a.a)},AKMP:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d}));var i=n("EffR"),o=n("MNsG"),r=n("D3Dy"),s=n("51f4"),a=n("XSiN"),u=n("pmY6"),l=n("CjF5");function c(e,t){var n=new a.a(t);return n.preventDefault(),{leftButton:n.leftButton,buttons:n.buttons,posx:n.posx,posy:n.posy}}var d=function(){function e(){this._hooks=new u.b,this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}return e.prototype.dispose=function(){this.stopMonitoring(!1),this._hooks.dispose()},e.prototype.stopMonitoring=function(e){if(this.isMonitoring()){this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;var t=this._onStopCallback;this._onStopCallback=null,e&&t&&t()}},e.prototype.isMonitoring=function(){return!!this._mouseMoveEventMerger},e.prototype.startMonitoring=function(e,t,n,u,c){var d=this;if(!this.isMonitoring()){this._mouseMoveEventMerger=n,this._mouseMoveCallback=u,this._onStopCallback=c;var h=s.a.getSameOriginWindowChain(),f=o.c&&l.a.pointerEvents?"pointermove":"mousemove",p=o.c&&l.a.pointerEvents?"pointerup":"mouseup",g=h.map((function(e){return e.window.document})),m=i.y(e);m&&g.unshift(m);for(var v=0,_=g;v<_.length;v++){var y=_[v];this._hooks.add(i.j(y,f,(function(e){r.i||e.buttons===t?d._mouseMoveCallback(e):d.stopMonitoring(!0)}),(function(e,t){return d._mouseMoveEventMerger(e,t)}))),this._hooks.add(i.g(y,p,(function(e){return d.stopMonitoring(!0)})))}if(s.a.hasDifferentOriginAncestor()){var b=h[h.length-1];this._hooks.add(i.g(b.window.document,"mouseout",(function(e){"html"===new a.a(e).target.tagName.toLowerCase()&&d.stopMonitoring(!0)}))),this._hooks.add(i.g(b.window.document,"mouseover",(function(e){"html"===new a.a(e).target.tagName.toLowerCase()&&d.stopMonitoring(!0)}))),this._hooks.add(i.g(b.window.document.body,"mouseleave",(function(e){d.stopMonitoring(!0)})))}}},e}()},AbCa:function(e,t,n){},ApJL:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return n.e(145).then(n.bind(null,"AoeA"))}})},BEdG:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:function(){return n.e(186).then(n.bind(null,"aH2L"))}})},BFtn:function(e,t,n){"use strict";function i(e,t){for(var n=e.getCount(),i=e.findTokenIndexAtOffset(t),r=e.getLanguageId(i),s=i;s+1<n&&e.getLanguageId(s+1)===r;)s++;for(var a=i;a>0&&e.getLanguageId(a-1)===r;)a--;return new o(e,r,a,s+1,e.getStartOffset(a),e.getEndOffset(s))}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var o=function(){function e(e,t,n,i,o,r){this._actual=e,this.languageId=t,this._firstTokenIndex=n,this._lastTokenIndex=i,this.firstCharOffset=o,this._lastCharOffset=r}return e.prototype.getLineContent=function(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)},e.prototype.getActualLineContentBefore=function(e){return this._actual.getLineContent().substring(0,this.firstCharOffset+e)},e.prototype.getTokenCount=function(){return this._lastTokenIndex-this._firstTokenIndex},e.prototype.findTokenIndexAtOffset=function(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex},e.prototype.getStandardTokenType=function(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)},e}();function r(e){return 0!=(7&e)}},"C/vA":function(e,t,n){"use strict";function i(e){var t,n=this,i=!1;return function(){return i?t:(i=!0,t=e.apply(n,arguments))}}n.d(t,"a",(function(){return i}))},C6rC:function(e,t,n){},CHaL:function(e,t,n){},CZ1j:function(e,t,n){"use strict";function i(e){return e<0?0:e>255?255:0|e}function o(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}))},"Cg/j":function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return a})),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(i||(i={}));var o=s("instantiationService");function r(e,t,n,o){t[i.DI_TARGET]===t?t[i.DI_DEPENDENCIES].push({id:e,index:n,optional:o}):(t[i.DI_DEPENDENCIES]=[{id:e,index:n,optional:o}],t[i.DI_TARGET]=t)}function s(e){if(i.serviceIds.has(e))return i.serviceIds.get(e);var t=function(e,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");r(t,e,i,!1)};return t.toString=function(){return e},i.serviceIds.set(e,t),t}function a(e){return function(t,n,i){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");r(e,t,i,!0)}}},CjF5:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("D3Dy"),o=n("MNsG"),r={clipboard:{writeText:o.f||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:o.f||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:function(){if(i.i)return!1;if(i.e){var e=navigator.userAgent.indexOf("Edge/"),t=parseInt(navigator.userAgent.substring(e+5,navigator.userAgent.indexOf(".",e)),10);if(!t||t>=12&&t<=16)return!1}return!0}()},keyboard:o.f||i.l?0:navigator.keyboard||i.k?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}},D3Dy:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"o",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"i",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"h",(function(){return f})),n.d(t,"m",(function(){return p})),n.d(t,"d",(function(){return g})),n.d(t,"k",(function(){return m})),n.d(t,"n",(function(){return v})),n.d(t,"j",(function(){return _})),n.d(t,"g",(function(){return y})),n.d(t,"l",(function(){return b}));var i=n("MI8n"),o=function(){function e(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new i.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return e.prototype.getZoomLevel=function(){return this._zoomLevel},e.prototype.getTimeSinceLastZoomLevelChanged=function(){return Date.now()-this._lastZoomLevelChangeTime},e.prototype.getPixelRatio=function(){var e=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)},e.INSTANCE=new e,e}();function r(){return o.INSTANCE.getZoomLevel()}function s(){return o.INSTANCE.getTimeSinceLastZoomLevelChanged()}function a(e){return o.INSTANCE.onDidChangeZoomLevel(e)}function u(){return o.INSTANCE.getPixelRatio()}var l=navigator.userAgent,c=l.indexOf("Trident")>=0,d=l.indexOf("Edge/")>=0,h=c||d,f=l.indexOf("Firefox")>=0,p=l.indexOf("AppleWebKit")>=0,g=l.indexOf("Chrome")>=0,m=!g&&l.indexOf("Safari")>=0,v=!g&&!m&&p,_=l.indexOf("iPad")>=0||m&&navigator.maxTouchPoints>0,y=d&&l.indexOf("WebView/")>=0,b=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},DTDp:function(e,t,n){},"E+ie":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return n.e(148).then(n.bind(null,"p+q7"))}})},E4kL:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml"],loader:function(){return n.e(187).then(n.bind(null,"EaLm"))}})},EIAu:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return g}));var i=n("N0LK"),o=n("aokT"),r=function(){function e(t,n,i,o,r,s){this.languageIdentifier=t,this.index=n,this.open=i,this.close=o,this.forwardRegex=r,this.reversedRegex=s,this._openSet=e._toSet(this.open),this._closeSet=e._toSet(this.close)}return e.prototype.isOpen=function(e){return this._openSet.has(e)},e.prototype.isClose=function(e){return this._closeSet.has(e)},e._toSet=function(e){for(var t=new Set,n=0,i=e;n<i.length;n++){var o=i[n];t.add(o)}return t},e}();var s=function(e,t){var n=function(e){var t=e.length;e=e.map((function(e){return[e[0].toLowerCase(),e[1].toLowerCase()]}));for(var n=[],i=0;i<t;i++)n[i]=i;var o=function(e,t){var n=e[0],i=e[1],o=t[0],r=t[1];return n===o||n===r||i===o||i===r},r=function(e,i){for(var o=Math.min(e,i),r=Math.max(e,i),s=0;s<t;s++)n[s]===r&&(n[s]=o)};for(i=0;i<t;i++)for(var s=e[i],a=i+1;a<t;a++)o(s,e[a])&&r(n[i],n[a]);for(var u=[],l=0;l<t;l++){var c=[],d=[];for(i=0;i<t;i++)if(n[i]===l){var h=e[i],f=h[0],p=h[1];c.push(f),d.push(p)}c.length>0&&u.push({open:c,close:d})}return u}(t);this.brackets=n.map((function(t,i){return new r(e,i,t.open,t.close,function(e,t,n,i){var o=[];o=(o=o.concat(e)).concat(t);for(var r=0,s=o.length;r<s;r++)a(o[r],n,i,o);return(o=l(o)).sort(u),o.reverse(),d(o)}(t.open,t.close,n,i),function(e,t,n,i){var o=[];o=(o=o.concat(e)).concat(t);for(var r=0,s=o.length;r<s;r++)a(o[r],n,i,o);return(o=l(o)).sort(u),o.reverse(),d(o.map(p))}(t.open,t.close,n,i))})),this.forwardRegex=function(e){for(var t=[],n=0,i=e;n<i.length;n++){for(var o=i[n],r=0,s=o.open;r<s.length;r++){var a=s[r];t.push(a)}for(var u=0,c=o.close;u<c.length;u++){var h=c[u];t.push(h)}}return d(t=l(t))}(this.brackets),this.reversedRegex=function(e){for(var t=[],n=0,i=e;n<i.length;n++){for(var o=i[n],r=0,s=o.open;r<s.length;r++){var a=s[r];t.push(a)}for(var u=0,c=o.close;u<c.length;u++){var h=c[u];t.push(h)}}return d((t=l(t)).map(p))}(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(var i=0,o=this.brackets;i<o.length;i++){for(var s=o[i],c=0,h=s.open;c<h.length;c++){var f=h[c];this.textIsBracket[f]=s,this.textIsOpenBracket[f]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,f.length)}for(var g=0,m=s.close;g<m.length;g++){var v=m[g];this.textIsBracket[v]=s,this.textIsOpenBracket[v]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,v.length)}}};function a(e,t,n,i){for(var o=0,r=t.length;o<r;o++)if(o!==n){for(var s=t[o],a=0,u=s.open;a<u.length;a++){var l=u[a];l.indexOf(e)>=0&&i.push(l)}for(var c=0,d=s.close;c<d.length;c++){var h=d[c];h.indexOf(e)>=0&&i.push(h)}}}function u(e,t){return e.length-t.length}function l(e){if(e.length<=1)return e;for(var t=[],n=new Set,i=0,o=e;i<o.length;i++){var r=o[i];n.has(r)||(t.push(r),n.add(r))}return t}function c(e){var t=/^[\w ]+$/.test(e);return e=i.n(e),t?"\\b"+e+"\\b":e}function d(e){var t="("+e.map(c).join(")|(")+")";return i.j(t,!0)}var h,f,p=(h=null,f=null,function(e){return h!==e&&(f=function(e){for(var t="",n=e.length-1;n>=0;n--)t+=e.charAt(n);return t}(h=e)),f}),g=function(){function e(){}return e._findPrevBracketInText=function(e,t,n,i){var r=n.match(e);if(!r)return null;var s=n.length-(r.index||0),a=r[0].length,u=i+s;return new o.a(t,u-a+1,t,u+1)},e.findPrevBracketInRange=function(e,t,n,i,o){var r=p(n).substring(n.length-o,n.length-i);return this._findPrevBracketInText(e,t,r,i)},e.findNextBracketInText=function(e,t,n,i){var r=n.match(e);if(!r)return null;var s=r.index||0,a=r[0].length;if(0===a)return null;var u=i+s;return new o.a(t,u+1,t,u+1+a)},e.findNextBracketInRange=function(e,t,n,i,o){var r=n.substring(i,o);return this.findNextBracketInText(e,t,r,i)},e}()},EOst:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return n.e(184).then(n.bind(null,"87dK"))}})},EffR:function(e,t,n){"use strict";n.d(t,"o",(function(){return _})),n.d(t,"L",(function(){return y})),n.d(t,"G",(function(){return b})),n.d(t,"C",(function(){return L})),n.d(t,"e",(function(){return N})),n.d(t,"f",(function(){return O})),n.d(t,"J",(function(){return D})),n.d(t,"K",(function(){return x})),n.d(t,"S",(function(){return E})),n.d(t,"g",(function(){return I})),n.d(t,"k",(function(){return T})),n.d(t,"h",(function(){return A})),n.d(t,"i",(function(){return R})),n.d(t,"O",(function(){return P})),n.d(t,"Q",(function(){return F})),n.d(t,"j",(function(){return G})),n.d(t,"t",(function(){return Y})),n.d(t,"s",(function(){return Z})),n.d(t,"z",(function(){return Q})),n.d(t,"w",(function(){return $})),n.d(t,"d",(function(){return ee})),n.d(t,"B",(function(){return te})),n.d(t,"v",(function(){return ne})),n.d(t,"u",(function(){return ie})),n.d(t,"A",(function(){return oe})),n.d(t,"E",(function(){return re})),n.d(t,"r",(function(){return se})),n.d(t,"H",(function(){return ue})),n.d(t,"y",(function(){return le})),n.d(t,"q",(function(){return ce})),n.d(t,"I",(function(){return fe})),n.d(t,"F",(function(){return pe})),n.d(t,"c",(function(){return ge})),n.d(t,"b",(function(){return me})),n.d(t,"P",(function(){return ve})),n.d(t,"N",(function(){return _e})),n.d(t,"T",(function(){return be})),n.d(t,"m",(function(){return Ce})),n.d(t,"a",(function(){return Ne})),n.d(t,"R",(function(){return Oe})),n.d(t,"D",(function(){return De})),n.d(t,"M",(function(){return xe})),n.d(t,"x",(function(){return Ee})),n.d(t,"p",(function(){return ke})),n.d(t,"U",(function(){return Ie})),n.d(t,"l",(function(){return Me})),n.d(t,"n",(function(){return Te}));var i,o=n("D3Dy"),r=n("4y0V"),s=n("uDWl"),a=n("XSiN"),u=n("X+cX"),l=n("/cxE"),c=n("MI8n"),d=n("pmY6"),h=n("MNsG"),f=n("6OMU"),p=n("tYmi"),g=(n("CjF5"),i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(){return(m=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},v=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i};function _(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function y(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e){for(;e;){if(e===document.body)return!0;e=e.parentNode||e.host}return!1}var C=new(function(){function e(){this._lastStart=-1,this._lastEnd=-1}return e.prototype._findClassName=function(e,t){var n=e.className;if(n){t=t.trim();var i=n.length,o=t.length;if(0!==o)if(i<o)this._lastStart=-1;else{if(n===t)return this._lastStart=0,void(this._lastEnd=i);for(var r,s=-1;(s=n.indexOf(t,s+1))>=0;){if(r=s+o,(0===s||32===n.charCodeAt(s-1))&&32===n.charCodeAt(r))return this._lastStart=s,void(this._lastEnd=r+1);if(s>0&&32===n.charCodeAt(s-1)&&r===i)return this._lastStart=s-1,void(this._lastEnd=r);if(0===s&&r===i)return this._lastStart=0,void(this._lastEnd=r)}this._lastStart=-1}else this._lastStart=-1}else this._lastStart=-1},e.prototype.hasClass=function(e,t){return this._findClassName(e,t),-1!==this._lastStart},e.prototype.addClasses=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.addClass(e,n)}))}))},e.prototype.addClass=function(e,t){e.className?(this._findClassName(e,t),-1===this._lastStart&&(e.className=e.className+" "+t)):e.className=t},e.prototype.removeClass=function(e,t){this._findClassName(e,t),-1!==this._lastStart&&(e.className=e.className.substring(0,this._lastStart)+e.className.substring(this._lastEnd))},e.prototype.removeClasses=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.removeClass(e,n)}))}))},e.prototype.toggleClass=function(e,t,n){this._findClassName(e,t),-1===this._lastStart||void 0!==n&&n||this.removeClass(e,t),-1!==this._lastStart||void 0!==n&&!n||this.addClass(e,t)},e}()),w=new(function(){function e(){}return e.prototype.hasClass=function(e,t){return Boolean(t)&&e.classList&&e.classList.contains(t)},e.prototype.addClasses=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.addClass(e,n)}))}))},e.prototype.addClass=function(e,t){t&&e.classList&&e.classList.add(t)},e.prototype.removeClass=function(e,t){t&&e.classList&&e.classList.remove(t)},e.prototype.removeClasses=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.removeClass(e,n)}))}))},e.prototype.toggleClass=function(e,t,n){e.classList&&e.classList.toggle(t,n)},e}()),S=o.i?C:w,L=S.hasClass.bind(S),N=S.addClass.bind(S),O=S.addClasses.bind(S),D=S.removeClass.bind(S),x=S.removeClasses.bind(S),E=S.toggleClass.bind(S),k=function(){function e(e,t,n,i){this._node=e,this._type=t,this._handler=n,this._options=i||!1,this._node.addEventListener(this._type,this._handler,this._options)}return e.prototype.dispose=function(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)},e}();function I(e,t,n,i){return new k(e,t,n,i)}function M(e){return function(t){return e(new a.a(t))}}var T=function(e,t,n,i){var o=n;return"click"===t||"mousedown"===t?o=M(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(o=function(e){return function(t){return e(new s.a(t))}}(n)),I(e,t,o,i)};function A(e,t){return I(e,"mouseout",(function(n){for(var i=n.relatedTarget;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}function R(e,t){return I(e,"pointerout",(function(n){for(var i=n.relatedTarget;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}var P,F,V=null;var W,B,j,H,z,U=function(){function e(e,t){void 0===t&&(t=0),this._runner=e,this.priority=t,this._canceled=!1}return e.prototype.dispose=function(){this._canceled=!0},e.prototype.execute=function(){if(!this._canceled)try{this._runner()}catch(e){Object(l.e)(e)}},e.sort=function(e,t){return t.priority-e.priority},e}();W=[],B=null,j=!1,H=!1,z=function(){for(j=!1,B=W,W=[],H=!0;B.length>0;)B.sort(U.sort),B.shift().execute();H=!1},F=function(e,t){void 0===t&&(t=0);var n,i=new U(e,t);return W.push(i),j||(j=!0,n=z,V||(V=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||function(e){return setTimeout((function(){return e((new Date).getTime())}),0)}),V.call(self,n)),i},P=function(e,t){if(H){var n=new U(e,t);return B.push(n),n}return F(e,t)};var K=function(e,t){return t},q=function(e){function t(t,n,i,o,r){void 0===o&&(o=K),void 0===r&&(r=16);var s=e.call(this)||this,a=null,l=0,c=s._register(new u.e),d=function(){l=(new Date).getTime(),i(a),a=null};return s._register(I(t,n,(function(e){a=o(a,e);var t=(new Date).getTime()-l;t>=r?(c.cancel(),d()):c.setIfNotSet(d,r-t)}))),s}return g(t,e),t}(d.a);function G(e,t,n,i,o){return new q(e,t,n,i,o)}function Y(e){return document.defaultView.getComputedStyle(e,null)}function Z(e){if(e!==document.body)return new J(e.clientWidth,e.clientHeight);if(h.c&&window.visualViewport){var t=window.visualViewport.width,n=window.visualViewport.height-(o.l?24:0);return new J(t,n)}if(window.innerWidth&&window.innerHeight)return new J(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new J(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new J(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}var X=function(){function e(){}return e.convertToPixels=function(e,t){return parseFloat(t)||0},e.getDimension=function(t,n,i){var o=Y(t),r="0";return o&&(r=o.getPropertyValue?o.getPropertyValue(n):o.getAttribute(i)),e.convertToPixels(t,r)},e.getBorderLeftWidth=function(t){return e.getDimension(t,"border-left-width","borderLeftWidth")},e.getBorderRightWidth=function(t){return e.getDimension(t,"border-right-width","borderRightWidth")},e.getBorderTopWidth=function(t){return e.getDimension(t,"border-top-width","borderTopWidth")},e.getBorderBottomWidth=function(t){return e.getDimension(t,"border-bottom-width","borderBottomWidth")},e.getPaddingLeft=function(t){return e.getDimension(t,"padding-left","paddingLeft")},e.getPaddingRight=function(t){return e.getDimension(t,"padding-right","paddingRight")},e.getPaddingTop=function(t){return e.getDimension(t,"padding-top","paddingTop")},e.getPaddingBottom=function(t){return e.getDimension(t,"padding-bottom","paddingBottom")},e.getMarginLeft=function(t){return e.getDimension(t,"margin-left","marginLeft")},e.getMarginTop=function(t){return e.getDimension(t,"margin-top","marginTop")},e.getMarginRight=function(t){return e.getDimension(t,"margin-right","marginRight")},e.getMarginBottom=function(t){return e.getDimension(t,"margin-bottom","marginBottom")},e}(),J=function(e,t){this.width=e,this.height=t};function Q(e){for(var t=e.offsetParent,n=e.offsetTop,i=e.offsetLeft;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;var o=ae(e)?null:Y(e);o&&(i-="rtl"!==o.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=X.getBorderLeftWidth(e),n+=X.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function $(e){var t=e.getBoundingClientRect();return{left:t.left+ee.scrollX,top:t.top+ee.scrollY,width:t.width,height:t.height}}var ee=new(function(){function e(){}return Object.defineProperty(e.prototype,"scrollX",{get:function(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollY",{get:function(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop},enumerable:!0,configurable:!0}),e}());function te(e){var t=X.getMarginLeft(e)+X.getMarginRight(e);return e.offsetWidth+t}function ne(e){var t=X.getBorderLeftWidth(e)+X.getBorderRightWidth(e),n=X.getPaddingLeft(e)+X.getPaddingRight(e);return e.offsetWidth-t-n}function ie(e){var t=X.getBorderTopWidth(e)+X.getBorderBottomWidth(e),n=X.getPaddingTop(e)+X.getPaddingBottom(e);return e.offsetHeight-t-n}function oe(e){var t=X.getMarginTop(e)+X.getMarginBottom(e);return e.offsetHeight+t}function re(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function se(e,t,n){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(L(e,t))return e;if(n)if("string"==typeof n){if(L(e,n))return null}else if(e===n)return null;e=e.parentNode}return null}function ae(e){return e&&!!e.host&&!!e.mode}function ue(e){return!!le(e)}function le(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return ae(e)?e:null}function ce(e){void 0===e&&(e=document.getElementsByTagName("head")[0]);var t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}var de=null;function he(){return de||(de=ce()),de}function fe(e,t){if(void 0===t&&(t=he()),t){for(var n=function(e){return e&&e.sheet&&e.sheet.rules?e.sheet.rules:e&&e.sheet&&e.sheet.cssRules?e.sheet.cssRules:[]}(t),i=[],o=0;o<n.length;o++){-1!==n[o].selectorText.indexOf(e)&&i.push(o)}for(o=i.length-1;o>=0;o--)t.sheet.deleteRule(i[o])}}function pe(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName}var ge={CLICK:"click",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:o.m?"webkitAnimationStart":"animationstart",ANIMATION_END:o.m?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:o.m?"webkitAnimationIteration":"animationiteration"},me={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function ve(e){for(var t=[],n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function _e(e,t){for(var n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}var ye=function(e){function t(t){var n=e.call(this)||this;n._onDidFocus=n._register(new c.a),n.onDidFocus=n._onDidFocus.event,n._onDidBlur=n._register(new c.a),n.onDidBlur=n._onDidBlur.event;var i=re(document.activeElement,t),o=!1,s=function(){o=!1,i||(i=!0,n._onDidFocus.fire())},a=function(){i&&(o=!0,window.setTimeout((function(){o&&(o=!1,i=!1,n._onDidBlur.fire())}),0))};return n._refreshStateHandler=function(){re(document.activeElement,t)!==i&&(i?a():s())},n._register(Object(r.a)(t,ge.FOCUS,!0)(s)),n._register(Object(r.a)(t,ge.BLUR,!0)(a)),n}return g(t,e),t}(d.a);function be(e){return new ye(e)}function Ce(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){return e.appendChild(t)})),t[t.length-1]}var we,Se=/([\w\-]+)?(#([\w\-]+))?((.([\w\-]+))*)/;function Le(e,t,n){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var r=Se.exec(t);if(!r)throw new Error("Bad use of emmet");n=m({},n||{});var s,a=r[1]||"div";return s=e!==we.HTML?document.createElementNS(e,a):document.createElement(a),r[3]&&(s.id=r[3]),r[4]&&(s.className=r[4].replace(/\./g," ").trim()),Object.keys(n).forEach((function(e){var t=n[e];void 0!==t&&(/^on\w+$/.test(e)?s[e]=t:"selected"===e?t&&s.setAttribute(e,"true"):s.setAttribute(e,t))})),Object(f.c)(i).forEach((function(e){e instanceof Node?s.appendChild(e):s.appendChild(document.createTextNode(e))})),s}function Ne(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return Le.apply(void 0,v([we.HTML,e,t],n))}function Oe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];o.style.display="",o.removeAttribute("aria-hidden")}}function De(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];o.style.display="none",o.setAttribute("aria-hidden","true")}}function xe(e){if(e&&e.hasAttribute("tabIndex")){if(document.activeElement===e){var t=function(e,t){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e instanceof HTMLElement&&e.hasAttribute(t))return e;e=e.parentNode}return null}(e.parentElement,"tabIndex");t&&t.focus()}e.removeAttribute("tabindex")}}function Ee(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function ke(e){var t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function Ie(e){if(h.f||o.g)window.open(e);else{var t=window.open();t&&(t.opener=null,t.location.href=e)}}function Me(e){var t=function(){e(),n=F(t)},n=F(t);return Object(d.f)((function(){return n.dispose()}))}function Te(e){return e?"url('"+function(e){return e&&p.b.vscodeRemote===e.scheme?p.a.rewrite(e):e}(e).toString(!0).replace(/'/g,"%27")+"')":"url('')"}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.SVG="http://www.w3.org/2000/svg"}(we||(we={})),Ne.SVG=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return Le.apply(void 0,v([we.SVG,e,t],n))},p.a.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http")},FWmy:function(e,t,n){"use strict";function i(e,t){if(!e)throw new Error(t?"Assertion failed ("+t+")":"Assertion Failed")}n.d(t,"a",(function(){return i}))},FvUK:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return n.e(157).then(n.bind(null,"OfHX"))}})},G2kB:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n("Cg/j"),o=Object(i.c)("modelService");function r(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},G300:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i,o=n("EffR"),r=n("uDWl"),s=n("XSiN"),a=n("pmY6"),u=n("pg8w"),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.onclick=function(e,t){this._register(o.g(e,o.c.CLICK,(function(e){return t(new s.a(e))})))},t.prototype.onmousedown=function(e,t){this._register(o.g(e,o.c.MOUSE_DOWN,(function(e){return t(new s.a(e))})))},t.prototype.onmouseover=function(e,t){this._register(o.g(e,o.c.MOUSE_OVER,(function(e){return t(new s.a(e))})))},t.prototype.onnonbubblingmouseout=function(e,t){this._register(o.h(e,(function(e){return t(new s.a(e))})))},t.prototype.onkeydown=function(e,t){this._register(o.g(e,o.c.KEY_DOWN,(function(e){return t(new r.a(e))})))},t.prototype.onkeyup=function(e,t){this._register(o.g(e,o.c.KEY_UP,(function(e){return t(new r.a(e))})))},t.prototype.oninput=function(e,t){this._register(o.g(e,o.c.INPUT,t))},t.prototype.onblur=function(e,t){this._register(o.g(e,o.c.BLUR,t))},t.prototype.onfocus=function(e,t){this._register(o.g(e,o.c.FOCUS,t))},t.prototype.ignoreGesture=function(e){u.b.ignoreTarget(e)},t}(a.a)},GJhM:function(e,t,n){"use strict";n.d(t,"b",(function(){return k})),n.d(t,"c",(function(){return I})),n.d(t,"a",(function(){return M}));n("eq1K");var i,o=n("D3Dy"),r=n("EffR"),s=n("ZlPH"),a=n("XSiN"),u=n("AKMP"),l=n("G300"),c=n("X+cX"),d=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(e){function t(t){var n=e.call(this)||this;return n._onActivate=t.onActivate,n.bgDomNode=document.createElement("div"),n.bgDomNode.className="arrow-background",n.bgDomNode.style.position="absolute",n.bgDomNode.style.width=t.bgWidth+"px",n.bgDomNode.style.height=t.bgHeight+"px",void 0!==t.top&&(n.bgDomNode.style.top="0px"),void 0!==t.left&&(n.bgDomNode.style.left="0px"),void 0!==t.bottom&&(n.bgDomNode.style.bottom="0px"),void 0!==t.right&&(n.bgDomNode.style.right="0px"),n.domNode=document.createElement("div"),n.domNode.className=t.className,n.domNode.style.position="absolute",n.domNode.style.width="11px",n.domNode.style.height="11px",void 0!==t.top&&(n.domNode.style.top=t.top+"px"),void 0!==t.left&&(n.domNode.style.left=t.left+"px"),void 0!==t.bottom&&(n.domNode.style.bottom=t.bottom+"px"),void 0!==t.right&&(n.domNode.style.right=t.right+"px"),n._mouseMoveMonitor=n._register(new u.a),n.onmousedown(n.bgDomNode,(function(e){return n._arrowMouseDown(e)})),n.onmousedown(n.domNode,(function(e){return n._arrowMouseDown(e)})),n._mousedownRepeatTimer=n._register(new c.c),n._mousedownScheduleRepeatTimer=n._register(new c.e),n}return d(t,e),t.prototype._arrowMouseDown=function(e){var t=this;this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet((function(){t._mousedownRepeatTimer.cancelAndSet((function(){return t._onActivate()}),1e3/24)}),200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,u.b,(function(e){}),(function(){t._mousedownRepeatTimer.cancel(),t._mousedownScheduleRepeatTimer.cancel()})),e.preventDefault()},t}(l.a),f=n("pmY6"),p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),g=function(e){function t(t,n,i){var o=e.call(this)||this;return o._visibility=t,o._visibleClassName=n,o._invisibleClassName=i,o._domNode=null,o._isVisible=!1,o._isNeeded=!1,o._shouldBeVisible=!1,o._revealTimer=o._register(new c.e),o}return p(t,e),t.prototype.applyVisibilitySetting=function(e){return 2!==this._visibility&&(3===this._visibility||e)},t.prototype.setShouldBeVisible=function(e){var t=this.applyVisibilitySetting(e);this._shouldBeVisible!==t&&(this._shouldBeVisible=t,this.ensureVisibility())},t.prototype.setIsNeeded=function(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())},t.prototype.setDomNode=function(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)},t.prototype.ensureVisibility=function(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)},t.prototype._reveal=function(){var e=this;this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet((function(){e._domNode&&e._domNode.setClassName(e._visibleClassName)}),0))},t.prototype._hide=function(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))},t}(f.a),m=n("MNsG"),v=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),_=function(e){function t(t){var n=e.call(this)||this;return n._lazyRender=t.lazyRender,n._host=t.host,n._scrollable=t.scrollable,n._scrollbarState=t.scrollbarState,n._visibilityController=n._register(new g(t.visibility,"visible scrollbar "+t.extraScrollbarClassName,"invisible scrollbar "+t.extraScrollbarClassName)),n._visibilityController.setIsNeeded(n._scrollbarState.isNeeded()),n._mouseMoveMonitor=n._register(new u.a),n._shouldRender=!0,n.domNode=Object(s.b)(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n._visibilityController.setDomNode(n.domNode),n.domNode.setPosition("absolute"),n.onmousedown(n.domNode.domNode,(function(e){return n._domNodeMouseDown(e)})),n}return v(t,e),t.prototype._createArrow=function(e){var t=this._register(new h(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)},t.prototype._createSlider=function(e,t,n,i){var o=this;this.slider=Object(s.b)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof n&&this.slider.setWidth(n),"number"==typeof i&&this.slider.setHeight(i),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,(function(e){e.leftButton&&(e.preventDefault(),o._sliderMouseDown(e,(function(){})))})),this.onclick(this.slider.domNode,(function(e){e.leftButton&&e.stopPropagation()}))},t.prototype._onElementSize=function(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype._onElementScrollSize=function(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype._onElementScrollPosition=function(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype.beginReveal=function(){this._visibilityController.setShouldBeVisible(!0)},t.prototype.beginHide=function(){this._visibilityController.setShouldBeVisible(!1)},t.prototype.render=function(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))},t.prototype._domNodeMouseDown=function(e){e.target===this.domNode.domNode&&this._onMouseDown(e)},t.prototype.delegateMouseDown=function(e){var t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),i=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),o=this._sliderMousePosition(e);n<=o&&o<=i?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(function(){}))):this._onMouseDown(e)},t.prototype._onMouseDown=function(e){var t,n;if(e.target===this.domNode.domNode&&"number"==typeof e.browserEvent.offsetX&&"number"==typeof e.browserEvent.offsetY)t=e.browserEvent.offsetX,n=e.browserEvent.offsetY;else{var i=r.w(this.domNode.domNode);t=e.posx-i.left,n=e.posy-i.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(t,n))),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(function(){})))},t.prototype._sliderMouseDown=function(e,t){var n=this,i=this._sliderMousePosition(e),o=this._sliderOrthogonalMousePosition(e),r=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,u.b,(function(e){var t=n._sliderOrthogonalMousePosition(e),s=Math.abs(t-o);if(m.h&&s>140)n._setDesiredScrollPositionNow(r.getScrollPosition());else{var a=n._sliderMousePosition(e)-i;n._setDesiredScrollPositionNow(r.getDesiredScrollPositionFromDelta(a))}}),(function(){n.slider.toggleClassName("active",!1),n._host.onDragEnd(),t()})),this._host.onDragStart()},t.prototype._setDesiredScrollPositionNow=function(e){var t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)},t}(l.a),y=function(){function e(e,t,n,i,o,r){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=i,this._scrollSize=o,this._scrollPosition=r,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}return e.prototype.clone=function(){return new e(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)},e.prototype.setVisibleSize=function(e){var t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollSize=function(e){var t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollPosition=function(e){var t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)},e._computeValues=function(e,t,n,i,o){var r=Math.max(0,n-e),s=Math.max(0,r-2*t),a=i>0&&i>n;if(!a)return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};var u=Math.round(Math.max(20,Math.floor(n*s/i))),l=(s-u)/(i-n),c=o*l;return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(u),computedSliderRatio:l,computedSliderPosition:Math.round(c)}},e.prototype._refreshComputedValues=function(){var t=e._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=t.computedAvailableSize,this._computedIsNeeded=t.computedIsNeeded,this._computedSliderSize=t.computedSliderSize,this._computedSliderRatio=t.computedSliderRatio,this._computedSliderPosition=t.computedSliderPosition},e.prototype.getArrowSize=function(){return this._arrowSize},e.prototype.getScrollPosition=function(){return this._scrollPosition},e.prototype.getRectangleLargeSize=function(){return this._computedAvailableSize},e.prototype.getRectangleSmallSize=function(){return this._scrollbarSize},e.prototype.isNeeded=function(){return this._computedIsNeeded},e.prototype.getSliderSize=function(){return this._computedSliderSize},e.prototype.getSliderPosition=function(){return this._computedSliderPosition},e.prototype.getDesiredScrollPositionFromOffset=function(e){if(!this._computedIsNeeded)return 0;var t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)},e.prototype.getDesiredScrollPositionFromDelta=function(e){if(!this._computedIsNeeded)return 0;var t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)},e}(),b=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),C=function(e){function t(t,n,i){var o=this,r=t.getScrollDimensions(),s=t.getCurrentScrollPosition();if(o=e.call(this,{lazyRender:n.lazyRender,host:i,scrollbarState:new y(n.horizontalHasArrows?n.arrowSize:0,2===n.horizontal?0:n.horizontalScrollbarSize,2===n.vertical?0:n.verticalScrollbarSize,r.width,r.scrollWidth,s.scrollLeft),visibility:n.horizontal,extraScrollbarClassName:"horizontal",scrollable:t})||this,n.horizontalHasArrows){var u=(n.arrowSize-11)/2,l=(n.horizontalScrollbarSize-11)/2;o._createArrow({className:"left-arrow",top:l,left:u,bottom:void 0,right:void 0,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new a.b(null,1,0))}}),o._createArrow({className:"right-arrow",top:l,left:void 0,bottom:void 0,right:u,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new a.b(null,-1,0))}})}return o._createSlider(Math.floor((n.horizontalScrollbarSize-n.horizontalSliderSize)/2),0,void 0,n.horizontalSliderSize),o}return b(t,e),t.prototype._updateSlider=function(e,t){this.slider.setWidth(e),this.slider.setLeft(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return e},t.prototype._sliderMousePosition=function(e){return e.posx},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posy},t.prototype.writeScrollPosition=function(e,t){e.scrollLeft=t},t}(_),w=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),S=function(e){function t(t,n,i){var o=this,r=t.getScrollDimensions(),s=t.getCurrentScrollPosition();if(o=e.call(this,{lazyRender:n.lazyRender,host:i,scrollbarState:new y(n.verticalHasArrows?n.arrowSize:0,2===n.vertical?0:n.verticalScrollbarSize,0,r.height,r.scrollHeight,s.scrollTop),visibility:n.vertical,extraScrollbarClassName:"vertical",scrollable:t})||this,n.verticalHasArrows){var u=(n.arrowSize-11)/2,l=(n.verticalScrollbarSize-11)/2;o._createArrow({className:"up-arrow",top:u,left:l,bottom:void 0,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return o._host.onMouseWheel(new a.b(null,0,1))}}),o._createArrow({className:"down-arrow",top:void 0,left:l,bottom:u,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return o._host.onMouseWheel(new a.b(null,0,-1))}})}return o._createSlider(0,Math.floor((n.verticalScrollbarSize-n.verticalSliderSize)/2),n.verticalSliderSize,void 0),o}return w(t,e),t.prototype._updateSlider=function(e,t){this.slider.setHeight(e),this.slider.setTop(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return t},t.prototype._sliderMousePosition=function(e){return e.posy},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posx},t.prototype.writeScrollPosition=function(e,t){e.scrollTop=t},t}(_),L=n("MI8n"),N=n("QuOb"),O=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),D=function(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0},x=function(){function e(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}return e.prototype.isPhysicalMouseWheel=function(){if(-1===this._front&&-1===this._rear)return!1;for(var e=1,t=0,n=1,i=this._rear;;){var o=i===this._front?e:Math.pow(2,-n);if(e-=o,t+=this._memory[i].score*o,i===this._front)break;i=(this._capacity+i-1)%this._capacity,n++}return t<=.5},e.prototype.accept=function(e,t,n){var i=new D(e,t,n);i.score=this._computeScore(i),-1===this._front&&-1===this._rear?(this._memory[0]=i,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=i)},e.prototype._computeScore=function(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;var t=.5;-1===this._front&&-1===this._rear||this._memory[this._rear];return(Math.abs(e.deltaX-Math.round(e.deltaX))>0||Math.abs(e.deltaY-Math.round(e.deltaY))>0)&&(t+=.25),Math.min(Math.max(t,0),1)},e.INSTANCE=new e,e}(),E=function(e){function t(t,n,i){var o=e.call(this)||this;o._onScroll=o._register(new L.a),o.onScroll=o._onScroll.event,t.style.overflow="hidden",o._options=T(n),o._scrollable=i,o._register(o._scrollable.onScroll((function(e){o._onDidScroll(e),o._onScroll.fire(e)})));var r={onMouseWheel:function(e){return o._onMouseWheel(e)},onDragStart:function(){return o._onDragStart()},onDragEnd:function(){return o._onDragEnd()}};return o._verticalScrollbar=o._register(new S(o._scrollable,o._options,r)),o._horizontalScrollbar=o._register(new C(o._scrollable,o._options,r)),o._domNode=document.createElement("div"),o._domNode.className="monaco-scrollable-element "+o._options.className,o._domNode.setAttribute("role","presentation"),o._domNode.style.position="relative",o._domNode.style.overflow="hidden",o._domNode.appendChild(t),o._domNode.appendChild(o._horizontalScrollbar.domNode.domNode),o._domNode.appendChild(o._verticalScrollbar.domNode.domNode),o._options.useShadows?(o._leftShadowDomNode=Object(s.b)(document.createElement("div")),o._leftShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._leftShadowDomNode.domNode),o._topShadowDomNode=Object(s.b)(document.createElement("div")),o._topShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._topShadowDomNode.domNode),o._topLeftShadowDomNode=Object(s.b)(document.createElement("div")),o._topLeftShadowDomNode.setClassName("shadow top-left-corner"),o._domNode.appendChild(o._topLeftShadowDomNode.domNode)):(o._leftShadowDomNode=null,o._topShadowDomNode=null,o._topLeftShadowDomNode=null),o._listenOnDomNode=o._options.listenOnDomNode||o._domNode,o._mouseWheelToDispose=[],o._setListeningToMouseWheel(o._options.handleMouseWheel),o.onmouseover(o._listenOnDomNode,(function(e){return o._onMouseOver(e)})),o.onnonbubblingmouseout(o._listenOnDomNode,(function(e){return o._onMouseOut(e)})),o._hideTimeout=o._register(new c.e),o._isDragging=!1,o._mouseIsOver=!1,o._shouldRender=!0,o._revealOnScroll=!0,o}return O(t,e),t.prototype.dispose=function(){this._mouseWheelToDispose=Object(f.e)(this._mouseWheelToDispose),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getOverviewRulerLayoutInfo=function(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._verticalScrollbar.delegateMouseDown(e)},t.prototype.getScrollDimensions=function(){return this._scrollable.getScrollDimensions()},t.prototype.setScrollDimensions=function(e){this._scrollable.setScrollDimensions(e)},t.prototype.updateClassName=function(e){this._options.className=e,m.e&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className},t.prototype.updateOptions=function(e){var t=T(e);this._options.handleMouseWheel=t.handleMouseWheel,this._options.mouseWheelScrollSensitivity=t.mouseWheelScrollSensitivity,this._options.fastScrollSensitivity=t.fastScrollSensitivity,this._setListeningToMouseWheel(this._options.handleMouseWheel),this._options.lazyRender||this._render()},t.prototype._setListeningToMouseWheel=function(e){var t=this;if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=Object(f.e)(this._mouseWheelToDispose),e)){this._mouseWheelToDispose.push(r.g(this._listenOnDomNode,o.f?"mousewheel":"wheel",(function(e){t._onMouseWheel(new a.b(e))}),{passive:!1}))}},t.prototype._onMouseWheel=function(e){var t,n=x.INSTANCE;if(n.accept(Date.now(),e.deltaX,e.deltaY),e.deltaY||e.deltaX){var i=e.deltaY*this._options.mouseWheelScrollSensitivity,o=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.flipAxes&&(i=(t=[o,i])[0],o=t[1]);var r=!m.e&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!r||o||(o=i,i=0),e.browserEvent&&e.browserEvent.altKey&&(o*=this._options.fastScrollSensitivity,i*=this._options.fastScrollSensitivity);var s=this._scrollable.getFutureScrollPosition(),a={};if(i){var u=s.scrollTop-50*i;this._verticalScrollbar.writeScrollPosition(a,u)}if(o){var l=s.scrollLeft-50*o;this._horizontalScrollbar.writeScrollPosition(a,l)}if(a=this._scrollable.validateScrollPosition(a),s.scrollLeft!==a.scrollLeft||s.scrollTop!==a.scrollTop)this._options.mouseWheelSmoothScroll&&n.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(a):this._scrollable.setScrollPositionNow(a),this._shouldRender=!0}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(e.preventDefault(),e.stopPropagation())},t.prototype._onDidScroll=function(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()},t.prototype.renderNow=function(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()},t.prototype._render=function(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){var e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,n=e.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(n?" left":"")),this._topShadowDomNode.setClassName("shadow"+(t?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(t?" top":"")+(n?" left":""))}},t.prototype._onDragStart=function(){this._isDragging=!0,this._reveal()},t.prototype._onDragEnd=function(){this._isDragging=!1,this._hide()},t.prototype._onMouseOut=function(e){this._mouseIsOver=!1,this._hide()},t.prototype._onMouseOver=function(e){this._mouseIsOver=!0,this._reveal()},t.prototype._reveal=function(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()},t.prototype._hide=function(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())},t.prototype._scheduleHide=function(){var e=this;this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet((function(){return e._hide()}),500)},t}(l.a),k=function(e){function t(t,n){var i=this;(n=n||{}).mouseWheelSmoothScroll=!1;var o=new N.a(0,(function(e){return r.Q(e)}));return(i=e.call(this,t,n,o)||this)._register(o),i}return O(t,e),t.prototype.setScrollPosition=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t}(E),I=function(e){function t(t,n,i){return e.call(this,t,n,i)||this}return O(t,e),t}(E),M=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i._element=t,i.onScroll((function(e){e.scrollTopChanged&&(i._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(i._element.scrollLeft=e.scrollLeft)})),i.scanDomNode(),i}return O(t,e),t.prototype.scanDomNode=function(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})},t}(k);function T(e){var t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,m.e&&(t.className+=" mac"),t}},"GR/f":function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return y}));var i=n("/cxE"),o=n("N0LK"),r=n("LCkn"),s=n("Ll0s"),a=n("aokT"),u=n("gCVg"),l=n("cMvZ"),c=Object.create(null);function d(e,t){c[e]||(c[e]=["",e]);for(var n=c[e],i=n.length;i<=t;i++)n[i]=n[i-1]+e;return n[t]}var h,f=function(){function e(e,t){this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}return e.unshiftIndent=function(e,t,n,i,o){var r=s.a.visibleColumnFromColumn(e,t,n);if(o){var a=d(" ",i);return d(a,s.a.prevIndentTabStop(r,i)/i)}return d(a="\t",s.a.prevRenderTabStop(r,n)/n)},e.shiftIndent=function(e,t,n,i,o){var r=s.a.visibleColumnFromColumn(e,t,n);if(o){var a=d(" ",i);return d(a,s.a.nextIndentTabStop(r,i)/i)}return d(a="\t",s.a.nextRenderTabStop(r,n)/n)},e.prototype._addEditOperation=function(e,t,n){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,n):e.addEditOperation(t,n)},e.prototype.getEditOperations=function(t,n){var i=this._selection.startLineNumber,r=this._selection.endLineNumber;1===this._selection.endColumn&&i!==r&&(r-=1);var u=this._opts,c=u.tabSize,h=u.indentSize,f=u.insertSpaces,p=i===r;if(this._selection.isEmpty()&&/^\s*$/.test(t.getLineContent(i))&&(this._useLastEditRangeForCursorEndPosition=!0),this._opts.useTabStops)for(var g=0,m=0,v=i;v<=r;v++,g=m){m=0;var _=t.getLineContent(v),y=o.o(_);if((!this._opts.isUnshift||0!==_.length&&0!==y)&&(p||this._opts.isUnshift||0!==_.length)){if(-1===y&&(y=_.length),v>1)if(s.a.visibleColumnFromColumn(_,y+1,c)%h!=0&&t.isCheapToTokenize(v-1)){var b=l.a.getEnterAction(this._opts.autoIndent,t,new a.a(v-1,t.getLineMaxColumn(v-1),v-1,t.getLineMaxColumn(v-1)));if(b){if(m=g,b.appendText)for(var C=0,w=b.appendText.length;C<w&&m<h&&32===b.appendText.charCodeAt(C);C++)m++;b.removeText&&(m=Math.max(0,m-b.removeText));for(C=0;C<m&&(0!==y&&32===_.charCodeAt(y-1));C++)y--}}if(!this._opts.isUnshift||0!==y){var S=void 0;S=this._opts.isUnshift?e.unshiftIndent(_,y+1,c,h,f):e.shiftIndent(_,y+1,c,h,f),this._addEditOperation(n,new a.a(v,1,v,y+1),S),v!==i||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=y+1)}}}else{var L=f?d(" ",h):"\t";for(v=i;v<=r;v++){_=t.getLineContent(v),y=o.o(_);if((!this._opts.isUnshift||0!==_.length&&0!==y)&&((p||this._opts.isUnshift||0!==_.length)&&(-1===y&&(y=_.length),!this._opts.isUnshift||0!==y)))if(this._opts.isUnshift){y=Math.min(y,h);for(var N=0;N<y;N++){if(9===_.charCodeAt(N)){y=N+1;break}}this._addEditOperation(n,new a.a(v,1,v,y+1),"")}else this._addEditOperation(n,new a.a(v,1,v,1),L),v!==i||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}}this._selectionId=n.trackSelection(this._selection)},e.prototype.computeCursorState=function(e,t){if(this._useLastEditRangeForCursorEndPosition){var n=t.getInverseEditOperations()[0];return new u.a(n.range.endLineNumber,n.range.endColumn,n.range.endLineNumber,n.range.endColumn)}var i=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){var o=this._selection.startColumn;return i.startColumn<=o?i:0===i.getDirection()?new u.a(i.startLineNumber,o,i.endLineNumber,i.endColumn):new u.a(i.endLineNumber,i.endColumn,i.startLineNumber,o)}return i},e}(),p=function(){function e(e,t,n){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=n}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(new a.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new a.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations(),i=n[0].range,o=n[1].range;return new u.a(i.endLineNumber,i.endColumn,o.endLineNumber,o.endColumn-this._charAfterSelection.length)},e}(),g=n("5v8Y"),m=n("KDc4"),v=(h=function(e,t){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_=function(){function e(){}return e.indent=function(e,t,n){if(null===t||null===n)return[];for(var i=[],o=0,r=n.length;o<r;o++)i[o]=new f(n[o],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i},e.outdent=function(e,t,n){for(var i=[],o=0,r=n.length;o<r;o++)i[o]=new f(n[o],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i},e.shiftIndent=function(e,t,n){return n=n||1,f.shiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)},e.unshiftIndent=function(e,t,n){return n=n||1,f.unshiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)},e._distributedPaste=function(e,t,n,i){for(var o=[],a=0,u=n.length;a<u;a++)o[a]=new r.a(n[a],i[a]);return new s.e(0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._simplePaste=function(e,t,n,i,o){for(var u=[],l=0,c=n.length;l<c;l++){var d=n[l],h=d.getPosition();if(o&&!d.isEmpty()&&(o=!1),o&&i.indexOf("\n")!==i.length-1&&(o=!1),o){var f=new a.a(h.lineNumber,1,h.lineNumber,1);u[l]=new r.b(f,i,d,!0)}else u[l]=new r.a(d,i)}return new s.e(0,u,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._distributePasteToCursors=function(e,t,n,i,o){if(i)return null;if(1===t.length)return null;if(o&&o.length===t.length)return o;if("spread"===e.multiCursorPaste){10===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1)),13===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1));var r=n.split(/\r\n|\r|\n/);if(r.length===t.length)return r}return null},e.paste=function(e,t,n,i,o,r){var s=this._distributePasteToCursors(e,n,i,o,r);return s?(n=n.sort(a.a.compareRangesUsingStarts),this._distributedPaste(e,t,n,s)):this._simplePaste(e,t,n,i,o)},e._goodIndentForLine=function(t,n,i){var r=null,s="",u=l.a.getInheritIndentForLine(t.autoIndent,n,i,!1);if(u)r=u.action,s=u.indentation;else if(i>1){var c=void 0;for(c=i-1;c>=1;c--){var d=n.getLineContent(c);if(o.B(d)>=0)break}if(c<1)return null;var h=n.getLineMaxColumn(c),f=l.a.getEnterAction(t.autoIndent,n,new a.a(c,h,c,h));f&&(s=f.indentation+f.appendText)}return r&&(r===m.a.Indent&&(s=e.shiftIndent(t,s)),r===m.a.Outdent&&(s=e.unshiftIndent(t,s)),s=t.normalizeIndentation(s)),s||null},e._replaceJumpToNextIndent=function(e,t,n,i){var o="",a=n.getStartPosition();if(e.insertSpaces)for(var u=s.a.visibleColumnFromColumn2(e,t,a),l=e.indentSize,c=l-u%l,d=0;d<c;d++)o+=" ";else o="\t";return new r.a(n,o,i)},e.tab=function(e,t,n){for(var i=[],s=0,u=n.length;s<u;s++){var l=n[s];if(l.isEmpty()){var c=t.getLineContent(l.startLineNumber);if(/^\s*$/.test(c)&&t.isCheapToTokenize(l.startLineNumber)){var d=this._goodIndentForLine(e,t,l.startLineNumber);d=d||"\t";var h=e.normalizeIndentation(d);if(!o.H(c,h)){i[s]=new r.a(new a.a(l.startLineNumber,1,l.startLineNumber,c.length+1),h,!0);continue}}i[s]=this._replaceJumpToNextIndent(e,t,l,!0)}else{if(l.startLineNumber===l.endLineNumber){var p=t.getLineMaxColumn(l.startLineNumber);if(1!==l.startColumn||l.endColumn!==p){i[s]=this._replaceJumpToNextIndent(e,t,l,!1);continue}}i[s]=new f(l,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent})}}return i},e.replacePreviousChar=function(e,t,n,i,o,u){for(var l=[],c=0,d=i.length;c<d;c++){var h=i[c];if(h.isEmpty()){var f=h.getPosition(),p=Math.max(1,f.column-u),g=new a.a(f.lineNumber,p,f.lineNumber,f.column);l[c]=new r.a(g,o)}else l[c]=null}return new s.e(1,l,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e._typeCommand=function(e,t,n){return n?new r.d(e,t,!0):new r.a(e,t,!0)},e._enter=function(t,n,i,u){if(0===t.autoIndent)return e._typeCommand(u,"\n",i);if(!n.isCheapToTokenize(u.getStartPosition().lineNumber)||1===t.autoIndent){var c=n.getLineContent(u.startLineNumber),d=o.r(c).substring(0,u.startColumn-1);return e._typeCommand(u,"\n"+t.normalizeIndentation(d),i)}var h=l.a.getEnterAction(t.autoIndent,n,u);if(h){if(h.indentAction===m.a.None)return e._typeCommand(u,"\n"+t.normalizeIndentation(h.indentation+h.appendText),i);if(h.indentAction===m.a.Indent)return e._typeCommand(u,"\n"+t.normalizeIndentation(h.indentation+h.appendText),i);if(h.indentAction===m.a.IndentOutdent){var f=t.normalizeIndentation(h.indentation),p=t.normalizeIndentation(h.indentation+h.appendText),g="\n"+p+"\n"+f;return i?new r.d(u,g,!0):new r.c(u,g,-1,p.length-f.length,!0)}if(h.indentAction===m.a.Outdent){var v=e.unshiftIndent(t,h.indentation);return e._typeCommand(u,"\n"+t.normalizeIndentation(v+h.appendText),i)}}var _=n.getLineContent(u.startLineNumber),y=o.r(_).substring(0,u.startColumn-1);if(t.autoIndent>=4){var b=l.a.getIndentForEnter(t.autoIndent,n,u,{unshiftIndent:function(n){return e.unshiftIndent(t,n)},shiftIndent:function(n){return e.shiftIndent(t,n)},normalizeIndentation:function(e){return t.normalizeIndentation(e)}});if(b){var C=s.a.visibleColumnFromColumn2(t,n,u.getEndPosition()),w=u.endColumn,S="\n";y!==t.normalizeIndentation(b.beforeEnter)&&(S=t.normalizeIndentation(b.beforeEnter)+_.substring(y.length,u.startColumn-1)+"\n",u=new a.a(u.startLineNumber,1,u.endLineNumber,u.endColumn));var L=n.getLineContent(u.endLineNumber),N=o.o(L);if(u=N>=0?u.setEndPosition(u.endLineNumber,Math.max(u.endColumn,N+1)):u.setEndPosition(u.endLineNumber,n.getLineMaxColumn(u.endLineNumber)),i)return new r.d(u,S+t.normalizeIndentation(b.afterEnter),!0);var O=0;return w<=N+1&&(t.insertSpaces||(C=Math.ceil(C/t.indentSize)),O=Math.min(C+1-t.normalizeIndentation(b.afterEnter).length-1,0)),new r.c(u,S+t.normalizeIndentation(b.afterEnter),0,O,!0)}}return e._typeCommand(u,"\n"+t.normalizeIndentation(y),i)},e._isAutoIndentType=function(e,t,n){if(e.autoIndent<4)return!1;for(var i=0,o=n.length;i<o;i++)if(!t.isCheapToTokenize(n[i].getEndPosition().lineNumber))return!1;return!0},e._runAutoIndentType=function(t,n,i,o){var r=l.a.getIndentationAtPosition(n,i.startLineNumber,i.startColumn),s=l.a.getIndentActionForType(t.autoIndent,n,i,o,{shiftIndent:function(n){return e.shiftIndent(t,n)},unshiftIndent:function(n){return e.unshiftIndent(t,n)}});if(null===s)return null;if(s!==t.normalizeIndentation(r)){var u=n.getLineFirstNonWhitespaceColumn(i.startLineNumber);return 0===u?e._typeCommand(new a.a(i.startLineNumber,0,i.endLineNumber,i.endColumn),t.normalizeIndentation(s)+o,!1):e._typeCommand(new a.a(i.startLineNumber,0,i.endLineNumber,i.endColumn),t.normalizeIndentation(s)+n.getLineContent(i.startLineNumber).substring(u-1,i.startColumn-1)+o,!1)}return null},e._isAutoClosingOvertype=function(e,t,n,i,o){if("never"===e.autoClosingOvertype)return!1;if(!e.autoClosingPairsClose2.has(o))return!1;for(var r=0,a=n.length;r<a;r++){var u=n[r];if(!u.isEmpty())return!1;var l=u.getPosition(),c=t.getLineContent(l.lineNumber);if(c.charAt(l.column-1)!==o)return!1;var d=Object(s.g)(o);if(92===(l.column>2?c.charCodeAt(l.column-2):0)&&d)return!1;if("auto"===e.autoClosingOvertype){for(var h=!1,f=0,p=i.length;f<p;f++){var g=i[f];if(l.lineNumber===g.startLineNumber&&l.column===g.startColumn){h=!0;break}}if(!h)return!1}}return!0},e._runAutoClosingOvertype=function(e,t,n,i,o){for(var u=[],l=0,c=i.length;l<c;l++){var d=i[l].getPosition(),h=new a.a(d.lineNumber,d.column,d.lineNumber,d.column+1);u[l]=new r.a(h,o)}return new s.e(1,u,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e._autoClosingPairIsSymmetric=function(e){var t=e.open,n=e.close;return t.indexOf(n)>=0||n.indexOf(t)>=0},e._isBeforeClosingBrace=function(t,n,i){var o=t.autoClosingPairsClose2.get(i);if(!o)return!1;for(var r=e._autoClosingPairIsSymmetric(n),s=0,a=o;s<a.length;s++){var u=a[s],l=e._autoClosingPairIsSymmetric(u);if(r||!l)return!0}return!1},e._findAutoClosingPairOpen=function(e,t,n,i){var o=e.autoClosingPairsOpen2.get(i);if(!o)return null;for(var r=null,s=0,u=o;s<u.length;s++){var l=u[s];if(null===r||l.open.length>r.open.length){for(var c=!0,d=0,h=n;d<h.length;d++){var f=h[d];if(t.getValueInRange(new a.a(f.lineNumber,f.column-l.open.length+1,f.lineNumber,f.column))+i!==l.open){c=!1;break}}c&&(r=l)}}return r},e._isAutoClosingOpenCharType=function(t,n,o,r,a){var u=Object(s.g)(r),c=u?t.autoClosingQuotes:t.autoClosingBrackets;if("never"===c)return null;var d=this._findAutoClosingPairOpen(t,n,o.map((function(e){return e.getPosition()})),r);if(!d)return null;for(var h=u?t.shouldAutoCloseBefore.quote:t.shouldAutoCloseBefore.bracket,f=0,p=o.length;f<p;f++){var m=o[f];if(!m.isEmpty())return null;var v=m.getPosition(),_=n.getLineContent(v.lineNumber);if(_.length>v.column-1){var y=_.charAt(v.column-1);if(!e._isBeforeClosingBrace(t,d,y)&&!h(y))return null}if(!n.isCheapToTokenize(v.lineNumber))return null;if(1===d.open.length&&u&&"always"!==c){var b=Object(g.a)(t.wordSeparators);if(a&&v.column>1&&0===b.get(_.charCodeAt(v.column-2)))return null;if(!a&&v.column>2&&0===b.get(_.charCodeAt(v.column-3)))return null}n.forceTokenization(v.lineNumber);var C=n.getLineTokens(v.lineNumber),w=!1;try{w=l.a.shouldAutoClosePair(d,C,a?v.column:v.column-1)}catch(e){Object(i.e)(e)}if(!w)return null}return d},e._runAutoClosingOpenCharType=function(e,t,n,i,o,r,a){for(var u=[],l=0,c=i.length;l<c;l++){var d=i[l];u[l]=new y(d,o,r,a.close)}return new s.e(1,u,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})},e._shouldSurroundChar=function(e,t){return Object(s.g)(t)?"quotes"===e.autoSurround||"languageDefined"===e.autoSurround:"brackets"===e.autoSurround||"languageDefined"===e.autoSurround},e._isSurroundSelectionType=function(t,n,i,o){if(!e._shouldSurroundChar(t,o)||!t.surroundingPairs.hasOwnProperty(o))return!1;for(var r=Object(s.g)(o),a=0,u=i.length;a<u;a++){var l=i[a];if(l.isEmpty())return!1;for(var c=!0,d=l.startLineNumber;d<=l.endLineNumber;d++){var h=n.getLineContent(d),f=d===l.startLineNumber?l.startColumn-1:0,p=d===l.endLineNumber?l.endColumn-1:h.length,g=h.substring(f,p);if(/[^ \t]/.test(g)){c=!1;break}}if(c)return!1;if(r&&l.startLineNumber===l.endLineNumber&&l.startColumn+1===l.endColumn){var m=n.getValueInRange(l);if(Object(s.g)(m))return!1}}return!0},e._runSurroundSelectionType=function(e,t,n,i,o){for(var r=[],a=0,u=i.length;a<u;a++){var l=i[a],c=t.surroundingPairs[o];r[a]=new p(l,o,c)}return new s.e(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._isTypeInterceptorElectricChar=function(e,t,n){return!(1!==n.length||!t.isCheapToTokenize(n[0].getEndPosition().lineNumber))},e._typeInterceptorElectricChar=function(e,t,n,u,c){if(!t.electricChars.hasOwnProperty(c)||!u.isEmpty())return null;var d=u.getPosition();n.forceTokenization(d.lineNumber);var h,f=n.getLineTokens(d.lineNumber);try{h=l.a.onElectricCharacter(c,f,d.column)}catch(e){return Object(i.e)(e),null}if(!h)return null;if(h.matchOpenBracket){var p=(f.getLineContent()+c).lastIndexOf(h.matchOpenBracket)+1,g=n.findMatchingBracketUp(h.matchOpenBracket,{lineNumber:d.lineNumber,column:p});if(g){if(g.startLineNumber===d.lineNumber)return null;var m=n.getLineContent(g.startLineNumber),v=o.r(m),_=t.normalizeIndentation(v),y=n.getLineContent(d.lineNumber),b=n.getLineFirstNonWhitespaceColumn(d.lineNumber)||d.column,C=_+y.substring(b-1,d.column-1)+c,w=new a.a(d.lineNumber,1,d.lineNumber,d.column),S=new r.a(w,C);return new s.e(1,[S],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null},e.compositionEndWithInterceptors=function(e,t,n,i,o,l){if(!i||u.a.selectionsArrEqual(i,o))return null;for(var c=null,d=0,h=o;d<h.length;d++){var f=h[d];if(!f.isEmpty())return null;var p=f.getPosition(),g=n.getValueInRange(new a.a(p.lineNumber,p.column-1,p.lineNumber,p.column));if(null===c)c=g;else if(c!==g)return null}if(!c)return null;if(this._isAutoClosingOvertype(t,n,o,l,c)){var m=o.map((function(e){return new r.a(new a.a(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1)}));return new s.e(1,m,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}var v=this._isAutoClosingOpenCharType(t,n,o,c,!1);return v?this._runAutoClosingOpenCharType(e,t,n,o,c,!1,v):null},e.typeWithInterceptors=function(t,n,i,o,a,u){if("\n"===u){for(var l=[],c=0,d=o.length;c<d;c++)l[c]=e._enter(n,i,!1,o[c]);return new s.e(1,l,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoIndentType(n,i,o)){var h=[],f=!1;for(c=0,d=o.length;c<d;c++)if(h[c]=this._runAutoIndentType(n,i,o[c],u),!h[c]){f=!0;break}if(!f)return new s.e(1,h,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoClosingOvertype(n,i,o,a,u))return this._runAutoClosingOvertype(t,n,i,o,u);var p=this._isAutoClosingOpenCharType(n,i,o,u,!0);if(p)return this._runAutoClosingOpenCharType(t,n,i,o,u,!0,p);if(this._isSurroundSelectionType(n,i,o,u))return this._runSurroundSelectionType(t,n,i,o,u);if(this._isTypeInterceptorElectricChar(n,i,o)){var g=this._typeInterceptorElectricChar(t,n,i,o[0],u);if(g)return g}var m=[];for(c=0,d=o.length;c<d;c++)m[c]=new r.a(o[c],u);var v=1!==t;return" "===u&&(v=!0),new s.e(1,m,{shouldPushStackElementBefore:v,shouldPushStackElementAfter:!1})},e.typeWithoutInterceptors=function(e,t,n,i,o){for(var a=[],u=0,l=i.length;u<l;u++)a[u]=new r.a(i[u],o);return new s.e(1,a,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e.lineInsertBefore=function(e,t,n){if(null===t||null===n)return[];for(var i=[],o=0,s=n.length;o<s;o++){var u=n[o].positionLineNumber;if(1===u)i[o]=new r.d(new a.a(1,1,1,1),"\n");else{u--;var l=t.getLineMaxColumn(u);i[o]=this._enter(e,t,!1,new a.a(u,l,u,l))}}return i},e.lineInsertAfter=function(e,t,n){if(null===t||null===n)return[];for(var i=[],o=0,r=n.length;o<r;o++){var s=n[o].positionLineNumber,u=t.getLineMaxColumn(s);i[o]=this._enter(e,t,!1,new a.a(s,u,s,u))}return i},e.lineBreakInsert=function(e,t,n){for(var i=[],o=0,r=n.length;o<r;o++)i[o]=this._enter(e,t,!0,n[o]);return i},e}(),y=function(e){function t(t,n,i,o){var r=e.call(this,t,(i?n:"")+o,0,-o.length)||this;return r._openCharacter=n,r._closeCharacter=o,r.closeCharacterRange=null,r.enclosingRange=null,r}return v(t,e),t.prototype.computeCursorState=function(t,n){var i=n.getInverseEditOperations()[0].range;return this.closeCharacterRange=new a.a(i.startLineNumber,i.endColumn-this._closeCharacter.length,i.endLineNumber,i.endColumn),this.enclosingRange=new a.a(i.startLineNumber,i.endColumn-this._openCharacter.length-this._closeCharacter.length,i.endLineNumber,i.endColumn),e.prototype.computeCursorState.call(this,t,n)},t}(r.c)},GZrW:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:function(){return n.e(180).then(n.bind(null,"Csoz"))}})},Gb1F:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:function(){return n.e(176).then(n.bind(null,"ynbn"))}})},H6Gb:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return n.e(164).then(n.bind(null,"lXEz"))}})},"I/Lx":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return n.e(151).then(n.bind(null,"yswY"))}})},"J+ZK":function(e,t,n){},"JQT/":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i,o=n("MI8n"),r=Object.freeze((function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}}));!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof s||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:o.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r})}(i||(i={}));var s=function(){function e(){this._isCancelled=!1,this._emitter=null}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?r:(this._emitter||(this._emitter=new o.a),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),a=function(){function e(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new s),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof s&&this._token.cancel():this._token=i.Cancelled},e.prototype.dispose=function(e){void 0===e&&(e=!1),e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=i.None},e}()},JYp7:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return l}));var i,o,r=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s={done:!0,value:void 0};!function(e){var t={next:function(){return s}};e.empty=function(){return t},e.single=function(e){var t=!1;return{next:function(){return t?s:(t=!0,{done:!1,value:e})}}},e.fromArray=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=e.length),{next:function(){return t>=n?s:{done:!1,value:e[t++]}}}},e.fromNativeIterator=function(e){return{next:function(){var t=e.next();return t.done?s:{done:!1,value:t.value}}}},e.from=function(t){return t?Array.isArray(t)?e.fromArray(t):t:e.empty()},e.map=function(e,t){return{next:function(){var n=e.next();return n.done?s:{done:!1,value:t(n.value)}}}},e.filter=function(e,t){return{next:function(){for(;;){var n=e.next();if(n.done)return s;if(t(n.value))return{done:!1,value:n.value}}}}},e.forEach=function(e,t){for(var n=e.next();!n.done;n=e.next())t(n.value)},e.collect=function(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY);var n=[];if(0===t)return n;for(var i=0,o=e.next();!o.done&&(n.push(o.value),!(++i>=t));o=e.next());return n},e.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=0;return{next:function(){if(n>=e.length)return s;var t=e[n].next();return t.done?(n++,this.next()):t}}},e.chain=function(e){return new a(e)}}(o||(o={}));var a=function(){function e(e){this.it=e}return e.prototype.next=function(){return this.it.next()},e}();function u(e){return Array.isArray(e)?o.fromArray(e):e||o.empty()}var l=function(e){function t(t,n,i,o){return void 0===n&&(n=0),void 0===i&&(i=t.length),void 0===o&&(o=n-1),e.call(this,t,n,i,o)||this}return r(t,e),t.prototype.current=function(){return e.prototype.current.call(this)},t.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},t.prototype.first=function(){return this.index=this.start,this.current()},t.prototype.last=function(){return this.index=this.end-1,this.current()},t.prototype.parent=function(){return null},t}(function(){function e(e,t,n,i){void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===i&&(i=t-1),this.items=e,this.start=t,this.end=n,this.index=i}return e.prototype.first=function(){return this.index=this.start,this.current()},e.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},e.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},e}());!function(){function e(e,t){this.iterator=e,this.fn=t}e.prototype.next=function(){return this.fn(this.iterator.next())}}()},JlLP:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return n.e(166).then(n.bind(null,"W1QP"))}})},KDc4:function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(i||(i={}));var o=function(){function e(e){if(this.open=e.open,this.close=e.close,this._standardTokenMask=0,Array.isArray(e.notIn))for(var t=0,n=e.notIn.length;t<n;t++){switch(e.notIn[t]){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4}}}return e.prototype.isOK=function(e){return 0==(this._standardTokenMask&e)},e}()},Krc3:function(e,t,n){},LCkn:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n("gCVg"),o=function(){function e(e,t,n){void 0===n&&(n=!1),this._range=e,this._text=t,this.insertsAutoWhitespace=n}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations()[0].range;return new i.a(n.endLineNumber,n.endColumn,n.endLineNumber,n.endColumn)},e}(),r=(function(){function e(e,t){this._range=e,this._text=t}e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations()[0].range;return new i.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn)}}(),function(){function e(e,t,n){void 0===n&&(n=!1),this._range=e,this._text=t,this.insertsAutoWhitespace=n}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations()[0].range;return new i.a(n.startLineNumber,n.startColumn,n.startLineNumber,n.startColumn)},e}()),s=function(){function e(e,t,n,i,o){void 0===o&&(o=!1),this._range=e,this._text=t,this._columnDeltaOffset=i,this._lineNumberDeltaOffset=n,this.insertsAutoWhitespace=o}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations()[0].range;return new i.a(n.endLineNumber+this._lineNumberDeltaOffset,n.endColumn+this._columnDeltaOffset,n.endLineNumber+this._lineNumberDeltaOffset,n.endColumn+this._columnDeltaOffset)},e}(),a=function(){function e(e,t,n,i){void 0===i&&(i=!1),this._range=e,this._text=t,this._initialSelection=n,this._forceMoveMarkers=i,this._selectionId=null}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)},e.prototype.computeCursorState=function(e,t){return t.getTrackedSelection(this._selectionId)},e}()},LRks:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:function(){return n.e(183).then(n.bind(null,"05+/"))}})},LexI:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return n.e(152).then(n.bind(null,"lHAa"))}})},Ll0s:function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"f",(function(){return g})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return C})),n.d(t,"g",(function(){return w}));var i=n("/cxE"),o=n("N0LK"),r=n("cGHE"),s=n("aokT"),a=n("gCVg"),u=n("tX9W"),l=n("cMvZ"),c=function(){return!0},d=function(){return!1},h=function(e){return" "===e||"\t"===e};function f(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}var p=function(){function e(t,n,i){this._languageIdentifier=t;var o=i.options,r=o.get(107);this.readOnly=o.get(68),this.tabSize=n.tabSize,this.indentSize=n.indentSize,this.insertSpaces=n.insertSpaces,this.lineHeight=o.get(49),this.pageSize=Math.max(1,Math.floor(r.height/this.lineHeight)-2),this.useTabStops=o.get(95),this.wordSeparators=o.get(96),this.emptySelectionClipboard=o.get(25),this.copyWithSyntaxHighlighting=o.get(15),this.multiCursorMergeOverlapping=o.get(58),this.multiCursorPaste=o.get(60),this.autoClosingBrackets=o.get(5),this.autoClosingQuotes=o.get(7),this.autoClosingOvertype=o.get(6),this.autoSurround=o.get(10),this.autoIndent=o.get(8),this.autoClosingPairsOpen2=new Map,this.autoClosingPairsClose2=new Map,this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:e._getShouldAutoClose(t,this.autoClosingQuotes),bracket:e._getShouldAutoClose(t,this.autoClosingBrackets)};var s=e._getAutoClosingPairs(t);if(s)for(var a=0,u=s;a<u.length;a++){var l=u[a];f(this.autoClosingPairsOpen2,l.open.charAt(l.open.length-1),l),1===l.close.length&&f(this.autoClosingPairsClose2,l.close,l)}var c=e._getSurroundingPairs(t);if(c)for(var d=0,h=c;d<h.length;d++){l=h[d];this.surroundingPairs[l.open]=l.close}}return e.shouldRecreate=function(e){return e.hasChanged(107)||e.hasChanged(96)||e.hasChanged(25)||e.hasChanged(58)||e.hasChanged(60)||e.hasChanged(5)||e.hasChanged(7)||e.hasChanged(6)||e.hasChanged(10)||e.hasChanged(95)||e.hasChanged(49)||e.hasChanged(68)},Object.defineProperty(e.prototype,"electricChars",{get:function(){if(!this._electricChars){this._electricChars={};var t=e._getElectricCharacters(this._languageIdentifier);if(t)for(var n=0,i=t;n<i.length;n++){var o=i[n];this._electricChars[o]=!0}}return this._electricChars},enumerable:!0,configurable:!0}),e.prototype.normalizeIndentation=function(e){return u.b.normalizeIndentation(e,this.indentSize,this.insertSpaces)},e._getElectricCharacters=function(e){try{return l.a.getElectricCharacters(e.id)}catch(e){return Object(i.e)(e),null}},e._getAutoClosingPairs=function(e){try{return l.a.getAutoClosingPairs(e.id)}catch(e){return Object(i.e)(e),null}},e._getShouldAutoClose=function(t,n){switch(n){case"beforeWhitespace":return h;case"languageDefined":return e._getLanguageDefinedShouldAutoClose(t);case"always":return c;case"never":return d}},e._getLanguageDefinedShouldAutoClose=function(e){try{var t=l.a.getAutoCloseBeforeSet(e.id);return function(e){return-1!==t.indexOf(e)}}catch(e){return Object(i.e)(e),d}},e._getSurroundingPairs=function(e){try{return l.a.getSurroundingPairs(e.id)}catch(e){return Object(i.e)(e),null}},e}(),g=function(){function e(t,n,i,o){this.selectionStart=t,this.selectionStartLeftoverVisibleColumns=n,this.position=i,this.leftoverVisibleColumns=o,this.selection=e._computeSelection(this.selectionStart,this.position)}return e.prototype.equals=function(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)},e.prototype.hasSelection=function(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()},e.prototype.move=function(t,n,i,o){return t?new e(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new r.a(n,i),o):new e(new s.a(n,i,n,i),o,new r.a(n,i),o)},e._computeSelection=function(e,t){var n,i,o,r;return e.isEmpty()?(n=e.startLineNumber,i=e.startColumn,o=t.lineNumber,r=t.column):t.isBeforeOrEqual(e.getStartPosition())?(n=e.endLineNumber,i=e.endColumn,o=t.lineNumber,r=t.column):(n=e.startLineNumber,i=e.startColumn,o=t.lineNumber,r=t.column),new a.a(n,i,o,r)},e}(),m=function(){function e(e,t,n){this.model=t,this.viewModel=n,this.config=new p(this.model.getLanguageIdentifier(),this.model.getOptions(),e)}return e.prototype.validateViewPosition=function(e,t){return this.viewModel.coordinatesConverter.validateViewPosition(e,t)},e.prototype.validateViewRange=function(e,t){return this.viewModel.coordinatesConverter.validateViewRange(e,t)},e.prototype.convertViewRangeToModelRange=function(e){return this.viewModel.coordinatesConverter.convertViewRangeToModelRange(e)},e.prototype.convertViewPositionToModelPosition=function(e,t){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new r.a(e,t))},e.prototype.convertModelPositionToViewPosition=function(e){return this.viewModel.coordinatesConverter.convertModelPositionToViewPosition(e)},e.prototype.convertModelRangeToViewRange=function(e){return this.viewModel.coordinatesConverter.convertModelRangeToViewRange(e)},e.prototype.getCurrentScrollTop=function(){return this.viewModel.viewLayout.getCurrentScrollTop()},e.prototype.getCompletelyVisibleViewRange=function(){return this.viewModel.getCompletelyVisibleViewRange()},e.prototype.getCompletelyVisibleModelRange=function(){var e=this.viewModel.getCompletelyVisibleViewRange();return this.viewModel.coordinatesConverter.convertViewRangeToModelRange(e)},e.prototype.getCompletelyVisibleViewRangeAtScrollTop=function(e){return this.viewModel.getCompletelyVisibleViewRangeAtScrollTop(e)},e.prototype.getVerticalOffsetForViewLine=function(e){return this.viewModel.viewLayout.getVerticalOffsetForLineNumber(e)},e}(),v=function(e){this.modelState=e,this.viewState=null},_=function(e){this.modelState=null,this.viewState=e},y=function(){function e(e,t){this.modelState=e,this.viewState=t}return e.fromModelState=function(e){return new v(e)},e.fromViewState=function(e){return new _(e)},e.fromModelSelection=function(t){var n=t.selectionStartLineNumber,i=t.selectionStartColumn,o=t.positionLineNumber,a=t.positionColumn,u=new g(new s.a(n,i,n,i),0,new r.a(o,a),0);return e.fromModelState(u)},e.fromModelSelections=function(e){for(var t=[],n=0,i=e.length;n<i;n++)t[n]=this.fromModelSelection(e[n]);return t},e.prototype.equals=function(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)},e}(),b=function(e,t,n){this.type=e,this.commands=t,this.shouldPushStackElementBefore=n.shouldPushStackElementBefore,this.shouldPushStackElementAfter=n.shouldPushStackElementAfter},C=function(){function e(){}return e.visibleColumnFromColumn=function(t,n,i){for(var r=t.length,s=n-1<r?n-1:r,a=0,u=0;u<s;){var l=o.s(t,s,u);if(u+=l>=65536?2:1,9===l)a=e.nextRenderTabStop(a,i);else{for(var c=o.q(l);u<s;){var d=o.s(t,s,u),h=o.q(d);if(o.b(c,h))break;u+=d>=65536?2:1,c=h}o.w(l)||o.u(l)?a+=2:a+=1}}return a},e.visibleColumnFromColumn2=function(e,t,n){return this.visibleColumnFromColumn(t.getLineContent(n.lineNumber),n.column,e.tabSize)},e.columnFromVisibleColumn=function(t,n,i){if(n<=0)return 1;for(var r=t.length,s=0,a=1,u=0;u<r;){var l=o.s(t,r,u);u+=l>=65536?2:1;var c=void 0;if(9===l)c=e.nextRenderTabStop(s,i);else{for(var d=o.q(l);u<r;){var h=o.s(t,r,u),f=o.q(h);if(o.b(d,f))break;u+=h>=65536?2:1,d=f}c=o.w(l)||o.u(l)?s+2:s+1}var p=u+1;if(c>=n)return c-n<n-s?p:a;s=c,a=p}return r+1},e.columnFromVisibleColumn2=function(e,t,n,i){var o=this.columnFromVisibleColumn(t.getLineContent(n),i,e.tabSize),r=t.getLineMinColumn(n);if(o<r)return r;var s=t.getLineMaxColumn(n);return o>s?s:o},e.nextRenderTabStop=function(e,t){return e+t-e%t},e.nextIndentTabStop=function(e,t){return e+t-e%t},e.prevRenderTabStop=function(e,t){return e-1-(e-1)%t},e.prevIndentTabStop=function(e,t){return e-1-(e-1)%t},e}();function w(e){return"'"===e||'"'===e||"`"===e}},"M/lh":function(e,t,n){var i;self.MonacoEnvironment=(i={editorWorkerService:"editor.worker.js",css:"css.worker.js",html:"html.worker.js",json:"json.worker.js",typescript:"ts.worker.js",javascript:"ts.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"},{getWorkerUrl:function(e,t){var o=n.p,r=(o?o.replace(/\/$/,"")+"/":"")+i[t];if(/^(http:)|(https:)|(file:)/.test(r)){var s=String(window.location),a=s.substr(0,s.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(r.substring(0,a.length)!==a)return"data:text/javascript;charset=utf-8,"+encodeURIComponent("/*"+t+'*/importScripts("'+r+'");')}return r}}),n("1YUG"),n("oQaD"),e.exports=n("8z58"),n("23p7"),n("OOlL"),n("li8W"),n("ApJL"),n("jrbv"),n("gqHg"),n("p3Ex"),n("E+ie"),n("9B1q"),n("9XAT"),n("SvYn"),n("I/Lx"),n("LexI"),n("+a1H"),n("hFdI"),n("c2dO"),n("zQEy"),n("k7mE"),n("cldp"),n("p5tG"),n("FvUK"),n("ZvGG"),n("QFiB"),n("/cAr"),n("xYNL"),n("sStQ"),n("oKJv"),n("H6Gb"),n("y3CF"),n("JlLP"),n("j2o1"),n("woZy"),n("iLY9"),n("Msxo"),n("ajgA"),n("QiAa"),n("pI2L"),n("ij/i"),n("XQgg"),n("Gb1F"),n("xmOD"),n("c9ML"),n("Mzro"),n("GZrW"),n("w9QG"),n("ufhN"),n("LRks"),n("EOst"),n("z3hU"),n("nrBJ"),n("BEdG"),n("E4kL")},M1Kb:function(e,t,n){"use strict";var i,o;n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(i||(i={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(o||(o={}));var r=function(){function e(e){this.tabSize=Math.max(1,0|e.tabSize),this.indentSize=0|e.tabSize,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace)}return e.prototype.equals=function(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace},e.prototype.createChangeEvent=function(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}},e}(),s=function(e,t){this.range=e,this.matches=t},a=function(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}},MD5Z:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"Eb",(function(){return d})),n.d(t,"N",(function(){return p})),n.d(t,"L",(function(){return g})),n.d(t,"M",(function(){return m})),n.d(t,"e",(function(){return v})),n.d(t,"b",(function(){return _})),n.d(t,"Lb",(function(){return y})),n.d(t,"Q",(function(){return b})),n.d(t,"S",(function(){return C})),n.d(t,"R",(function(){return w})),n.d(t,"P",(function(){return S})),n.d(t,"O",(function(){return L})),n.d(t,"W",(function(){return N})),n.d(t,"Y",(function(){return O})),n.d(t,"X",(function(){return D})),n.d(t,"Z",(function(){return x})),n.d(t,"bb",(function(){return E})),n.d(t,"ab",(function(){return k})),n.d(t,"T",(function(){return I})),n.d(t,"V",(function(){return M})),n.d(t,"U",(function(){return T})),n.d(t,"Cb",(function(){return P})),n.d(t,"Bb",(function(){return F})),n.d(t,"c",(function(){return V})),n.d(t,"d",(function(){return W})),n.d(t,"Gb",(function(){return B})),n.d(t,"Ib",(function(){return j})),n.d(t,"Jb",(function(){return H})),n.d(t,"Hb",(function(){return z})),n.d(t,"Db",(function(){return U})),n.d(t,"p",(function(){return K})),n.d(t,"o",(function(){return q})),n.d(t,"G",(function(){return G})),n.d(t,"F",(function(){return Y})),n.d(t,"B",(function(){return Z})),n.d(t,"A",(function(){return X})),n.d(t,"y",(function(){return J})),n.d(t,"x",(function(){return Q})),n.d(t,"n",(function(){return $})),n.d(t,"w",(function(){return ee})),n.d(t,"H",(function(){return te})),n.d(t,"J",(function(){return ne})),n.d(t,"I",(function(){return ie})),n.d(t,"K",(function(){return oe})),n.d(t,"C",(function(){return re})),n.d(t,"D",(function(){return se})),n.d(t,"z",(function(){return ae})),n.d(t,"E",(function(){return ue})),n.d(t,"q",(function(){return le})),n.d(t,"s",(function(){return ce})),n.d(t,"u",(function(){return de})),n.d(t,"r",(function(){return he})),n.d(t,"t",(function(){return fe})),n.d(t,"v",(function(){return pe})),n.d(t,"g",(function(){return me})),n.d(t,"h",(function(){return ve})),n.d(t,"j",(function(){return _e})),n.d(t,"l",(function(){return ye})),n.d(t,"k",(function(){return be})),n.d(t,"m",(function(){return Ce})),n.d(t,"i",(function(){return we})),n.d(t,"ib",(function(){return Se})),n.d(t,"jb",(function(){return Le})),n.d(t,"cb",(function(){return Ne})),n.d(t,"db",(function(){return Oe})),n.d(t,"nb",(function(){return De})),n.d(t,"ob",(function(){return xe})),n.d(t,"mb",(function(){return Ee})),n.d(t,"kb",(function(){return ke})),n.d(t,"lb",(function(){return Ie})),n.d(t,"eb",(function(){return Me})),n.d(t,"fb",(function(){return Te})),n.d(t,"hb",(function(){return Ae})),n.d(t,"gb",(function(){return Re})),n.d(t,"Kb",(function(){return Pe})),n.d(t,"qb",(function(){return Fe})),n.d(t,"rb",(function(){return Ve})),n.d(t,"pb",(function(){return We})),n.d(t,"ub",(function(){return Be})),n.d(t,"sb",(function(){return je})),n.d(t,"tb",(function(){return He})),n.d(t,"vb",(function(){return ze})),n.d(t,"Ab",(function(){return Ue})),n.d(t,"xb",(function(){return Ke})),n.d(t,"yb",(function(){return qe})),n.d(t,"wb",(function(){return Ge})),n.d(t,"zb",(function(){return Ye})),n.d(t,"f",(function(){return Ze})),n.d(t,"Fb",(function(){return Qe}));var i=n("ic2d"),o=n("zrhQ"),r=n("MI8n"),s=n("3/fG"),a=n("3Rsk"),u=n("X+cX"),l={ColorContribution:"base.contributions.colors"},c=new(function(){function e(){this._onDidChangeSchema=new r.a,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}return e.prototype.registerColor=function(e,t,n,i,o){void 0===i&&(i=!1);var r={id:e,description:n,defaults:t,needsTransparency:i,deprecationMessage:o};this.colorsById[e]=r;var s={type:"string",description:n,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(s.deprecationMessage=o),this.colorSchema.properties[e]=s,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(n),this._onDidChangeSchema.fire(),e},e.prototype.resolveDefaultColor=function(e,t){var n=this.colorsById[e];if(n&&n.defaults)return Qe(n.defaults[t.type],t)},e.prototype.getColorSchema=function(){return this.colorSchema},e.prototype.toString=function(){var e=this;return Object.keys(this.colorsById).sort((function(e,t){var n=-1===e.indexOf(".")?0:1,i=-1===t.indexOf(".")?0:1;return n!==i?n-i:e.localeCompare(t)})).map((function(t){return"- `"+t+"`: "+e.colorsById[t].description})).join("\n")},e}());function d(e,t,n,i,o){return c.registerColor(e,t,n,i,o)}i.a.add(l.ColorContribution,c);var h,f,p=d("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},s.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),g=d("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},s.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),m=d("focusBorder",{dark:o.a.fromHex("#0E639C").transparent(.8),light:o.a.fromHex("#007ACC").transparent(.4),hc:"#F38518"},s.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),v=d("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},s.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),_=d("contrastActiveBorder",{light:null,dark:null,hc:m},s.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),y=(d("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},s.a("textLinkForeground","Foreground color for links in text.")),d("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:o.a.black},s.a("textCodeBlockBackground","Background color for code blocks in text.")),d("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},s.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor."))),b=d("input.background",{dark:"#3C3C3C",light:o.a.white,hc:o.a.black},s.a("inputBoxBackground","Input box background.")),C=d("input.foreground",{dark:p,light:p,hc:p},s.a("inputBoxForeground","Input box foreground.")),w=d("input.border",{dark:null,light:null,hc:v},s.a("inputBoxBorder","Input box border.")),S=d("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:v},s.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),L=d("inputOption.activeBackground",{dark:Xe(m,.5),light:Xe(m,.3),hc:null},s.a("inputOption.activeBackground","Background color of activated options in input fields.")),N=d("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:o.a.black},s.a("inputValidationInfoBackground","Input validation background color for information severity.")),O=d("inputValidation.infoForeground",{dark:null,light:null,hc:null},s.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),D=d("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:v},s.a("inputValidationInfoBorder","Input validation border color for information severity.")),x=d("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.a.black},s.a("inputValidationWarningBackground","Input validation background color for warning severity.")),E=d("inputValidation.warningForeground",{dark:null,light:null,hc:null},s.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),k=d("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:v},s.a("inputValidationWarningBorder","Input validation border color for warning severity.")),I=d("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:o.a.black},s.a("inputValidationErrorBackground","Input validation background color for error severity.")),M=d("inputValidation.errorForeground",{dark:null,light:null,hc:null},s.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),T=d("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:v},s.a("inputValidationErrorBorder","Input validation border color for error severity.")),A=d("dropdown.background",{dark:"#3C3C3C",light:o.a.white,hc:o.a.black},s.a("dropdownBackground","Dropdown background.")),R=d("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:o.a.white},s.a("dropdownForeground","Dropdown foreground.")),P=d("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:o.a.white},s.a("pickerGroupForeground","Quick picker color for grouping labels.")),F=d("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:o.a.white},s.a("pickerGroupBorder","Quick picker color for grouping borders.")),V=d("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:o.a.black},s.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),W=d("badge.foreground",{dark:o.a.white,light:"#333",hc:o.a.white},s.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),B=d("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},s.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),j=d("scrollbarSlider.background",{dark:o.a.fromHex("#797979").transparent(.4),light:o.a.fromHex("#646464").transparent(.4),hc:Xe(v,.6)},s.a("scrollbarSliderBackground","Scrollbar slider background color.")),H=d("scrollbarSlider.hoverBackground",{dark:o.a.fromHex("#646464").transparent(.7),light:o.a.fromHex("#646464").transparent(.7),hc:Xe(v,.8)},s.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),z=d("scrollbarSlider.activeBackground",{dark:o.a.fromHex("#BFBFBF").transparent(.4),light:o.a.fromHex("#000000").transparent(.6),hc:v},s.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),U=d("progressBar.background",{dark:o.a.fromHex("#0E70C0"),light:o.a.fromHex("#0E70C0"),hc:v},s.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),K=d("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},s.a("editorError.foreground","Foreground color of error squigglies in the editor.")),q=d("editorError.border",{dark:null,light:null,hc:o.a.fromHex("#E47777").transparent(.8)},s.a("errorBorder","Border color of error boxes in the editor.")),G=d("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},s.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),Y=d("editorWarning.border",{dark:null,light:null,hc:o.a.fromHex("#FFCC00").transparent(.8)},s.a("warningBorder","Border color of warning boxes in the editor.")),Z=d("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},s.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),X=d("editorInfo.border",{dark:null,light:null,hc:o.a.fromHex("#75BEFF").transparent(.8)},s.a("infoBorder","Border color of info boxes in the editor.")),J=d("editorHint.foreground",{dark:o.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},s.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),Q=d("editorHint.border",{dark:null,light:null,hc:o.a.fromHex("#eeeeee").transparent(.8)},s.a("hintBorder","Border color of hint boxes in the editor.")),$=d("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:o.a.black},s.a("editorBackground","Editor background color.")),ee=d("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:o.a.white},s.a("editorForeground","Editor default foreground color.")),te=d("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},s.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),ne=d("editorWidget.foreground",{dark:p,light:p,hc:p},s.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),ie=d("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:v},s.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),oe=d("editorWidget.resizeBorder",{light:null,dark:null,hc:null},s.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),re=d("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},s.a("editorSelectionBackground","Color of the editor selection.")),se=d("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},s.a("editorSelectionForeground","Color of the selected text for high contrast.")),ae=d("editor.inactiveSelectionBackground",{light:Xe(re,.5),dark:Xe(re,.5),hc:Xe(re,.5)},s.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),ue=d("editor.selectionHighlightBackground",{light:Je(re,$,.3,.6),dark:Je(re,$,.3,.6),hc:null},s.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),le=(d("editor.selectionHighlightBorder",{light:null,dark:null,hc:_},s.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),d("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},s.a("editorFindMatch","Color of the current search match."))),ce=d("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},s.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),de=d("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},s.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),he=d("editor.findMatchBorder",{light:null,dark:null,hc:_},s.a("editorFindMatchBorder","Border color of the current search match.")),fe=d("editor.findMatchHighlightBorder",{light:null,dark:null,hc:_},s.a("findMatchHighlightBorder","Border color of the other search matches.")),pe=d("editor.findRangeHighlightBorder",{dark:null,light:null,hc:Xe(_,.4)},s.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),ge=(d("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},s.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),d("editorHoverWidget.background",{light:te,dark:te,hc:te},s.a("hoverBackground","Background color of the editor hover."))),me=(d("editorHoverWidget.foreground",{light:ne,dark:ne,hc:ne},s.a("hoverForeground","Foreground color of the editor hover.")),d("editorHoverWidget.border",{light:ie,dark:ie,hc:ie},s.a("hoverBorder","Border color of the editor hover.")),d("editorHoverWidget.statusBarBackground",{dark:(h=ge,f=.2,function(e){var t=Qe(h,e);if(t)return t.lighten(f)}),light:Ze(ge,.05),hc:te},s.a("statusBarBackground","Background color of the editor hover status bar.")),d("editorLink.activeForeground",{dark:"#4E94CE",light:o.a.blue,hc:o.a.cyan},s.a("activeLinkForeground","Color of active links.")),d("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},s.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),d("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},s.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),new o.a(new o.b(155,185,85,.2))),ve=new o.a(new o.b(255,0,0,.2)),_e=d("diffEditor.insertedTextBackground",{dark:me,light:me,hc:null},s.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),ye=d("diffEditor.removedTextBackground",{dark:ve,light:ve,hc:null},s.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),be=d("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},s.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),Ce=d("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},s.a("diffEditorRemovedOutline","Outline color for text that got removed.")),we=d("diffEditor.border",{dark:null,light:null,hc:v},s.a("diffEditorBorder","Border color between the two text editors.")),Se=d("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},s.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Le=d("list.focusForeground",{dark:null,light:null,hc:null},s.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ne=d("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},s.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Oe=d("list.activeSelectionForeground",{dark:o.a.white,light:o.a.white,hc:null},s.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),De=d("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},s.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),xe=d("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},s.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Ee=d("list.inactiveFocusBackground",{dark:null,light:null,hc:null},s.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),ke=d("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},s.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),Ie=d("list.hoverForeground",{dark:null,light:null,hc:null},s.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),Me=d("list.dropBackground",{dark:Se,light:Se,hc:null},s.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),Te=(d("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:m},s.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),d("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:o.a.black},s.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees."))),Ae=d("listFilterWidget.outline",{dark:o.a.transparent,light:o.a.transparent,hc:"#f38518"},s.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),Re=d("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:v},s.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),Pe=d("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},s.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),Fe=d("menu.border",{dark:null,light:null,hc:v},s.a("menuBorder","Border color of menus.")),Ve=d("menu.foreground",{dark:R,light:p,hc:R},s.a("menuForeground","Foreground color of menu items.")),We=d("menu.background",{dark:A,light:A,hc:A},s.a("menuBackground","Background color of menu items.")),Be=d("menu.selectionForeground",{dark:Oe,light:Oe,hc:Oe},s.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),je=d("menu.selectionBackground",{dark:Ne,light:Ne,hc:Ne},s.a("menuSelectionBackground","Background color of the selected menu item in menus.")),He=d("menu.selectionBorder",{dark:null,light:null,hc:_},s.a("menuSelectionBorder","Border color of the selected menu item in menus.")),ze=d("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:v},s.a("menuSeparatorBackground","Color of a separator menu item in menus.")),Ue=(d("editor.snippetTabstopHighlightBackground",{dark:new o.a(new o.b(124,124,124,.3)),light:new o.a(new o.b(10,50,100,.2)),hc:new o.a(new o.b(124,124,124,.3))},s.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),d("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},s.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),d("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},s.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),d("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new o.a(new o.b(10,50,100,.5)),hc:"#525252"},s.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final stabstop of a snippet.")),d("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},s.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0)),Ke=(d("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},s.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),d("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},s.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0)),qe=d("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},s.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),Ge=d("minimap.errorHighlight",{dark:new o.a(new o.b(255,18,18,.7)),light:new o.a(new o.b(255,18,18,.7)),hc:new o.a(new o.b(255,50,50,1))},s.a("minimapError","Minimap marker color for errors.")),Ye=d("minimap.warningHighlight",{dark:G,light:G,hc:Y},s.a("overviewRuleWarning","Minimap marker color for warnings."));d("problemsErrorIcon.foreground",{dark:K,light:K,hc:K},s.a("problemsErrorIconForeground","The color used for the problems error icon.")),d("problemsWarningIcon.foreground",{dark:G,light:G,hc:G},s.a("problemsWarningIconForeground","The color used for the problems warning icon.")),d("problemsInfoIcon.foreground",{dark:Z,light:Z,hc:Z},s.a("problemsInfoIconForeground","The color used for the problems info icon."));function Ze(e,t){return function(n){var i=Qe(e,n);if(i)return i.darken(t)}}function Xe(e,t){return function(n){var i=Qe(e,n);if(i)return i.transparent(t)}}function Je(e,t,n,i){return function(r){var s=Qe(e,r);if(s){var a=Qe(t,r);return a?s.isDarkerThan(a)?o.a.getLighterColor(s,a,n).transparent(i):o.a.getDarkerColor(s,a,n).transparent(i):s.transparent(n*i)}}}function Qe(e,t){if(null!==e)return"string"==typeof e?"#"===e[0]?o.a.fromHex(e):t.getColor(e):e instanceof o.a?e:"function"==typeof e?e(t):void 0}var $e=i.a.as(a.a.JSONContribution);$e.registerSchema("vscode://schemas/workbench-colors",c.getColorSchema());var et=new u.d((function(){return $e.notifySchemaChanged("vscode://schemas/workbench-colors")}),200);c.onDidChangeSchema((function(){et.isScheduled()||et.schedule()}))},MI8n:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return f}));var i,o,r=n("/cxE"),s=n("C/vA"),a=n("pmY6"),u=n("24hK"),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){function t(e){return function(t,n,i){void 0===n&&(n=null);var o,r=!1;return o=e((function(e){if(!r)return o?o.dispose():r=!0,t.call(n,e)}),null,i),r&&o.dispose(),o}}function n(e,t){return s((function(n,i,o){return void 0===i&&(i=null),e((function(e){return n.call(i,t(e))}),null,o)}))}function i(e,t){return s((function(n,i,o){return void 0===i&&(i=null),e((function(e){t(e),n.call(i,e)}),null,o)}))}function o(e,t){return s((function(n,i,o){return void 0===i&&(i=null),e((function(e){return t(e)&&n.call(i,e)}),null,o)}))}function r(e,t,i){var o=i;return n(e,(function(e){return o=t(o,e)}))}function s(e){var t,n=new c({onFirstListenerAdd:function(){t=e(n.fire,n)},onLastListenerRemove:function(){t.dispose()}});return n.event}function u(e,t,n,i,o){var r;void 0===n&&(n=100),void 0===i&&(i=!1);var s=void 0,a=void 0,u=0,l=new c({leakWarningThreshold:o,onFirstListenerAdd:function(){r=e((function(e){u++,s=t(s,e),i&&!a&&(l.fire(s),s=void 0),clearTimeout(a),a=setTimeout((function(){var e=s;s=void 0,a=void 0,(!i||u>1)&&l.fire(e),u=0}),n)}))},onLastListenerRemove:function(){r.dispose()}});return l.event}function l(e){var t,n=!0;return o(e,(function(e){var i=n||e!==t;return n=!1,t=e,i}))}e.None=function(){return a.a.None},e.once=t,e.map=n,e.forEach=i,e.filter=o,e.signal=function(e){return e},e.any=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n,i){return void 0===n&&(n=null),a.d.apply(void 0,e.map((function(e){return e((function(e){return t.call(n,e)}),null,i)})))}},e.reduce=r,e.snapshot=s,e.debounce=u,e.stopwatch=function(e){var i=(new Date).getTime();return n(t(e),(function(e){return(new Date).getTime()-i}))},e.latch=l,e.buffer=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=[]);var i=n.slice(),o=e((function(e){i?i.push(e):s.fire(e)})),r=function(){i&&i.forEach((function(e){return s.fire(e)})),i=null},s=new c({onFirstListenerAdd:function(){o||(o=e((function(e){return s.fire(e)})))},onFirstListenerDidAdd:function(){i&&(t?setTimeout(r):r())},onLastListenerRemove:function(){o&&o.dispose(),o=null}});return s.event};var d=function(){function e(e){this.event=e}return e.prototype.map=function(t){return new e(n(this.event,t))},e.prototype.forEach=function(t){return new e(i(this.event,t))},e.prototype.filter=function(t){return new e(o(this.event,t))},e.prototype.reduce=function(t,n){return new e(r(this.event,t,n))},e.prototype.latch=function(){return new e(l(this.event))},e.prototype.debounce=function(t,n,i,o){return void 0===n&&(n=100),void 0===i&&(i=!1),new e(u(this.event,t,n,i,o))},e.prototype.on=function(e,t,n){return this.event(e,t,n)},e.prototype.once=function(e,n,i){return t(this.event)(e,n,i)},e}();e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,t,n){void 0===n&&(n=function(e){return e});var i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.fire(n.apply(void 0,e))},o=new c({onFirstListenerAdd:function(){return e.on(t,i)},onLastListenerRemove:function(){return e.removeListener(t,i)}});return o.event},e.fromDOMEventEmitter=function(e,t,n){void 0===n&&(n=function(e){return e});var i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.fire(n.apply(void 0,e))},o=new c({onFirstListenerAdd:function(){return e.addEventListener(t,i)},onLastListenerRemove:function(){return e.removeEventListener(t,i)}});return o.event},e.fromPromise=function(e){var t=new c,n=!1;return e.then(void 0,(function(){return null})).then((function(){n?t.fire(void 0):setTimeout((function(){return t.fire(void 0)}),0)})),n=!0,t.event},e.toPromise=function(e){return new Promise((function(n){return t(e)(n)}))}}(o||(o={}));!function(){function e(e,t){void 0===t&&(t=Math.random().toString(18).slice(2,5)),this.customThreshold=e,this.name=t,this._warnCountdown=0}e.prototype.dispose=function(){this._stacks&&this._stacks.clear()},e.prototype.check=function(e){var t=this,n=-1;if("number"==typeof this.customThreshold&&(n=this.customThreshold),!(n<=0||e<n)){this._stacks||(this._stacks=new Map);var i=(new Error).stack.split("\n").slice(3).join("\n"),o=this._stacks.get(i)||0;if(this._stacks.set(i,o+1),this._warnCountdown-=1,this._warnCountdown<=0){var r;this._warnCountdown=.5*n;var s=0;this._stacks.forEach((function(e,t){(!r||s<e)&&(r=t,s=e)})),console.warn("["+this.name+"] potential listener LEAK detected, having "+e+" listeners already. MOST frequent listener ("+s+"):"),console.warn(r)}return function(){var e=t._stacks.get(i)||0;t._stacks.set(i,e-1)}}}}();var c=function(){function e(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}return Object.defineProperty(e.prototype,"event",{get:function(){var t=this;return this._event||(this._event=function(n,i,o){t._listeners||(t._listeners=new u.a);var r=t._listeners.isEmpty();r&&t._options&&t._options.onFirstListenerAdd&&t._options.onFirstListenerAdd(t);var s,l,c=t._listeners.push(i?[n,i]:n);return r&&t._options&&t._options.onFirstListenerDidAdd&&t._options.onFirstListenerDidAdd(t),t._options&&t._options.onListenerDidAdd&&t._options.onListenerDidAdd(t,n,i),t._leakageMon&&(s=t._leakageMon.check(t._listeners.size)),l={dispose:function(){(s&&s(),l.dispose=e._noop,t._disposed)||(c(),t._options&&t._options.onLastListenerRemove&&(t._listeners&&!t._listeners.isEmpty()||t._options.onLastListenerRemove(t)))}},o instanceof a.b?o.add(l):Array.isArray(o)&&o.push(l),l}),this._event},enumerable:!0,configurable:!0}),e.prototype.fire=function(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new u.a);for(var t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);for(;this._deliveryQueue.size>0;){var i=this._deliveryQueue.shift(),o=i[0],s=i[1];try{"function"==typeof o?o.call(void 0,s):o[0].call(o[1],s)}catch(n){Object(r.e)(n)}}}},e.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},e._noop=function(){},e}(),d=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaused=0,n._eventQueue=new u.a,n._mergeFn=t&&t.merge,n}return l(t,e),t.prototype.pause=function(){this._isPaused++},t.prototype.resume=function(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){var t=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(t))}else for(;!this._isPaused&&0!==this._eventQueue.size;)e.prototype.fire.call(this,this._eventQueue.shift())},t.prototype.fire=function(t){this._listeners&&(0!==this._isPaused?this._eventQueue.push(t):e.prototype.fire.call(this,t))},t}(c),h=(function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new c({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var t=this,n={event:e,listener:null};this.events.push(n),this.hasListeners&&this.hook(n);return Object(a.f)(Object(s.a)((function(){t.hasListeners&&t.unhook(n);var e=t.events.indexOf(n);t.events.splice(e,1)})))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach((function(t){return e.hook(t)}))},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach((function(t){return e.unhook(t)}))},e.prototype.hook=function(e){var t=this;e.listener=e.event((function(e){return t.emitter.fire(e)}))},e.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()}}(),function(){function e(){this.buffers=[]}return e.prototype.wrapEvent=function(e){var t=this;return function(n,i,o){return e((function(e){var o=t.buffers[t.buffers.length-1];o?o.push((function(){return n.call(i,e)})):n.call(i,e)}),void 0,o)}},e.prototype.bufferEvents=function(e){var t=[];this.buffers.push(t);var n=e();return this.buffers.pop(),t.forEach((function(e){return e()})),n},e}()),f=function(){function e(){var e=this;this.listening=!1,this.inputEvent=o.None,this.inputEventListener=a.a.None,this.emitter=new c({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object.defineProperty(e.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},e}()},MNsG:function(e,t,n){"use strict";(function(e,i){n.d(t,"h",(function(){return g})),n.d(t,"e",(function(){return m})),n.d(t,"d",(function(){return v})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return y})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return C})),n.d(t,"i",(function(){return w})),n.d(t,"a",(function(){return S}));var o=!1,r=!1,s=!1,a=!1,u=!1,l=!1,c=void 0,d=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||d){if("object"==typeof e){o="win32"===e.platform,r="darwin"===e.platform,s="linux"===e.platform,"en","en";var h=Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).VSCODE_NLS_CONFIG;if(h)try{var f=JSON.parse(h),p=f.availableLanguages["*"];f.locale,p||"en",f._translationsConfigFile}catch(e){}a=!0}}else o=(c=navigator.userAgent).indexOf("Windows")>=0,r=c.indexOf("Macintosh")>=0,l=c.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=c.indexOf("Linux")>=0,u=!0,navigator.language;var g=o,m=r,v=s,_=a,y=u,b=l,C="object"==typeof self?self:"object"==typeof i?i:{},w=function(){if(C.setImmediate)return C.setImmediate.bind(C);if("function"==typeof C.postMessage&&!C.importScripts){var t=[];C.addEventListener("message",(function(e){if(e.data&&e.data.vscodeSetImmediateId)for(var n=0,i=t.length;n<i;n++){var o=t[n];if(o.id===e.data.vscodeSetImmediateId)return t.splice(n,1),void o.callback()}}));var n=0;return function(e){var i=++n;t.push({id:i,callback:e}),C.postMessage({vscodeSetImmediateId:i},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);var i=Promise.resolve();return function(e){return i.then(e)}}(),S=r?2:o?1:3}).call(this,n("KCCg"),n("yLpj"))},MXAL:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("CZ1j"),o=function(){function e(t){var n=Object(i.b)(t);this._defaultValue=n,this._asciiMap=e._createAsciiMap(n),this._map=new Map}return e._createAsciiMap=function(e){for(var t=new Uint8Array(256),n=0;n<256;n++)t[n]=e;return t},e.prototype.set=function(e,t){var n=Object(i.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)},e.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue},e}();!function(){function e(){this._actual=new o(0)}e.prototype.add=function(e){this._actual.set(e,1)},e.prototype.has=function(e){return 1===this._actual.get(e)}}()},MrjW:function(e,t,n){"use strict";n.r(t),n.d(t,"win32",(function(){return f})),n.d(t,"posix",(function(){return p})),n.d(t,"normalize",(function(){return g})),n.d(t,"join",(function(){return m})),n.d(t,"relative",(function(){return v})),n.d(t,"dirname",(function(){return _})),n.d(t,"basename",(function(){return y})),n.d(t,"extname",(function(){return b})),n.d(t,"sep",(function(){return C}));var i,o=n("wxcJ"),r=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(t,n,i){var o,r=this;"string"==typeof n&&0===n.indexOf("not ")?(o="must not be",n=n.replace(/^not /,"")):o="must be";var s=-1!==t.indexOf(".")?"property":"argument",a='The "'+t+'" '+s+" "+o+" of type "+n;return a+=". Received type "+typeof i,(r=e.call(this,a)||this).code="ERR_INVALID_ARG_TYPE",r}return r(t,e),t}(Error);function a(e,t){if("string"!=typeof e)throw new s(t,"string",e)}function u(e){return 47===e||92===e}function l(e){return 47===e}function c(e){return e>=65&&e<=90||e>=97&&e<=122}function d(e,t,n,i){for(var o,r="",s=0,a=-1,u=0,l=0;l<=e.length;++l){if(l<e.length)o=e.charCodeAt(l);else{if(i(o))break;o=47}if(i(o)){if(a===l-1||1===u);else if(a!==l-1&&2===u){if(r.length<2||2!==s||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2)){if(r.length>2){var c=r.lastIndexOf(n);-1===c?(r="",s=0):s=(r=r.slice(0,c)).length-1-r.lastIndexOf(n),a=l,u=0;continue}if(2===r.length||1===r.length){r="",s=0,a=l,u=0;continue}}t&&(r.length>0?r+=n+"..":r="..",s=2)}else r.length>0?r+=n+e.slice(a+1,l):r=e.slice(a+1,l),s=l-a-1;a=l,u=0}else 46===o&&-1!==u?++u:u=-1}return r}function h(e,t){var n=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+i:n+e+i:i}var f={resolve:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",i="",r=!1,s=e.length-1;s>=-1;s--){var l=void 0;if(s>=0?l=e[s]:n?void 0!==(l=o.b["="+n]||o.a())&&l.slice(0,3).toLowerCase()===n.toLowerCase()+"\\"||(l=n+"\\"):l=o.a(),a(l,"path"),0!==l.length){var h=l.length,f=0,p="",g=!1,m=l.charCodeAt(0);if(h>1)if(u(m))if(g=!0,u(l.charCodeAt(1))){for(var v=2,_=v;v<h&&!u(l.charCodeAt(v));++v);if(v<h&&v!==_){var y=l.slice(_,v);for(_=v;v<h&&u(l.charCodeAt(v));++v);if(v<h&&v!==_){for(_=v;v<h&&!u(l.charCodeAt(v));++v);v===h?(p="\\\\"+y+"\\"+l.slice(_),f=v):v!==_&&(p="\\\\"+y+"\\"+l.slice(_,v),f=v)}}}else f=1;else c(m)&&58===l.charCodeAt(1)&&(p=l.slice(0,2),f=2,h>2&&u(l.charCodeAt(2))&&(g=!0,f=3));else u(m)&&(f=1,g=!0);if(!(p.length>0&&n.length>0&&p.toLowerCase()!==n.toLowerCase())&&(0===n.length&&p.length>0&&(n=p),r||(i=l.slice(f)+"\\"+i,r=g),n.length>0&&r))break}}return n+(r?"\\":"")+(i=d(i,!r,"\\",u))||"."},normalize:function(e){a(e,"path");var t=e.length;if(0===t)return".";var n,i,o=0,r=!1,s=e.charCodeAt(0);if(t>1)if(u(s))if(r=!0,u(e.charCodeAt(1))){for(var l=2,h=l;l<t&&!u(e.charCodeAt(l));++l);if(l<t&&l!==h){var f=e.slice(h,l);for(h=l;l<t&&u(e.charCodeAt(l));++l);if(l<t&&l!==h){for(h=l;l<t&&!u(e.charCodeAt(l));++l);if(l===t)return"\\\\"+f+"\\"+e.slice(h)+"\\";l!==h&&(n="\\\\"+f+"\\"+e.slice(h,l),o=l)}}}else o=1;else c(s)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),o=2,t>2&&u(e.charCodeAt(2))&&(r=!0,o=3));else if(u(s))return"\\";return 0!==(i=o<t?d(e.slice(o),!r,"\\",u):"").length||r||(i="."),i.length>0&&u(e.charCodeAt(t-1))&&(i+="\\"),void 0===n?r?i.length>0?"\\"+i:"\\":i.length>0?i:"":r?i.length>0?n+"\\"+i:n+"\\":i.length>0?n+i:n},isAbsolute:function(e){a(e,"path");var t=e.length;if(0===t)return!1;var n=e.charCodeAt(0);return!!u(n)||!!(c(n)&&t>2&&58===e.charCodeAt(1)&&u(e.charCodeAt(2)))},join:function(){for(var e,t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(0===n.length)return".";for(var o=0;o<n.length;++o){var r=n[o];a(r,"path"),r.length>0&&(void 0===e?e=t=r:e+="\\"+r)}if(void 0===e)return".";var s=!0,l=0;if("string"==typeof t&&u(t.charCodeAt(0))){++l;var c=t.length;c>1&&u(t.charCodeAt(1))&&(++l,c>2&&(u(t.charCodeAt(2))?++l:s=!1))}if(s){for(;l<e.length&&u(e.charCodeAt(l));++l);l>=2&&(e="\\"+e.slice(l))}return f.normalize(e)},relative:function(e,t){if(a(e,"from"),a(t,"to"),e===t)return"";var n=f.resolve(e),i=f.resolve(t);if(n===i)return"";if((e=n.toLowerCase())===(t=i.toLowerCase()))return"";for(var o=0;o<e.length&&92===e.charCodeAt(o);++o);for(var r=e.length;r-1>o&&92===e.charCodeAt(r-1);--r);for(var s=r-o,u=0;u<t.length&&92===t.charCodeAt(u);++u);for(var l=t.length;l-1>u&&92===t.charCodeAt(l-1);--l);for(var c=l-u,d=s<c?s:c,h=-1,p=0;p<=d;++p){if(p===d){if(c>d){if(92===t.charCodeAt(u+p))return i.slice(u+p+1);if(2===p)return i.slice(u+p)}s>d&&(92===e.charCodeAt(o+p)?h=p:2===p&&(h=3));break}var g=e.charCodeAt(o+p);if(g!==t.charCodeAt(u+p))break;92===g&&(h=p)}if(p!==d&&-1===h)return i;var m="";for(-1===h&&(h=0),p=o+h+1;p<=r;++p)p!==r&&92!==e.charCodeAt(p)||(0===m.length?m+="..":m+="\\..");return m.length>0?m+i.slice(u+h,l):(u+=h,92===i.charCodeAt(u)&&++u,i.slice(u,l))},toNamespacedPath:function(e){if("string"!=typeof e)return e;if(0===e.length)return"";var t=f.resolve(e);if(t.length>=3)if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){var n=t.charCodeAt(2);if(63!==n&&46!==n)return"\\\\?\\UNC\\"+t.slice(2)}}else if(c(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname:function(e){a(e,"path");var t=e.length;if(0===t)return".";var n=-1,i=-1,o=!0,r=0,s=e.charCodeAt(0);if(t>1)if(u(s)){if(n=r=1,u(e.charCodeAt(1))){for(var l=2,d=l;l<t&&!u(e.charCodeAt(l));++l);if(l<t&&l!==d){for(d=l;l<t&&u(e.charCodeAt(l));++l);if(l<t&&l!==d){for(d=l;l<t&&!u(e.charCodeAt(l));++l);if(l===t)return e;l!==d&&(n=r=l+1)}}}}else c(s)&&58===e.charCodeAt(1)&&(n=r=2,t>2&&u(e.charCodeAt(2))&&(n=r=3));else if(u(s))return e;for(var h=t-1;h>=r;--h)if(u(e.charCodeAt(h))){if(!o){i=h;break}}else o=!1;if(-1===i){if(-1===n)return".";i=n}return e.slice(0,i)},basename:function(e,t){void 0!==t&&a(t,"ext"),a(e,"path");var n,i=0,o=-1,r=!0;e.length>=2&&(c(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(i=2));if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,l=-1;for(n=e.length-1;n>=i;--n){var d=e.charCodeAt(n);if(u(d)){if(!r){i=n+1;break}}else-1===l&&(r=!1,l=n+1),s>=0&&(d===t.charCodeAt(s)?-1==--s&&(o=n):(s=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=i;--n)if(u(e.charCodeAt(n))){if(!r){i=n+1;break}}else-1===o&&(r=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname:function(e){a(e,"path");var t=0,n=-1,i=0,o=-1,r=!0,s=0;e.length>=2&&58===e.charCodeAt(1)&&c(e.charCodeAt(0))&&(t=i=2);for(var l=e.length-1;l>=t;--l){var d=e.charCodeAt(l);if(u(d)){if(!r){i=l+1;break}}else-1===o&&(r=!1,o=l+1),46===d?-1===n?n=l:1!==s&&(s=1):-1!==n&&(s=-1)}return-1===n||-1===o||0===s||1===s&&n===o-1&&n===i+1?"":e.slice(n,o)},format:function(e){if(null===e||"object"!=typeof e)throw new s("pathObject","Object",e);return h("\\",e)},parse:function(e){a(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n=e.length,i=0,o=e.charCodeAt(0);if(n>1){if(u(o)){if(i=1,u(e.charCodeAt(1))){for(var r=2,s=r;r<n&&!u(e.charCodeAt(r));++r);if(r<n&&r!==s){for(s=r;r<n&&u(e.charCodeAt(r));++r);if(r<n&&r!==s){for(s=r;r<n&&!u(e.charCodeAt(r));++r);r===n?i=r:r!==s&&(i=r+1)}}}}else if(c(o)&&58===e.charCodeAt(1)){if(i=2,!(n>2))return t.root=t.dir=e,t;if(u(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;i=3}}}else if(u(o))return t.root=t.dir=e,t;i>0&&(t.root=e.slice(0,i));for(var l=-1,d=i,h=-1,f=!0,p=e.length-1,g=0;p>=i;--p)if(u(o=e.charCodeAt(p))){if(!f){d=p+1;break}}else-1===h&&(f=!1,h=p+1),46===o?-1===l?l=p:1!==g&&(g=1):-1!==l&&(g=-1);return-1===l||-1===h||0===g||1===g&&l===h-1&&l===d+1?-1!==h&&(t.base=t.name=e.slice(d,h)):(t.name=e.slice(d,l),t.base=e.slice(d,h),t.ext=e.slice(l,h)),t.dir=d>0&&d!==i?e.slice(0,d-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},p={resolve:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",i=!1,r=e.length-1;r>=-1&&!i;r--){var s=void 0;a(s=r>=0?e[r]:o.a(),"path"),0!==s.length&&(n=s+"/"+n,i=47===s.charCodeAt(0))}return n=d(n,!i,"/",l),i?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(a(e,"path"),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=d(e,!t,"/",l)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return a(e,"path"),e.length>0&&47===e.charCodeAt(0)},join:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(0===t.length)return".";for(var i=0;i<t.length;++i){var o=arguments[i];a(o,"path"),o.length>0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":p.normalize(e)},relative:function(e,t){if(a(e,"from"),a(t,"to"),e===t)return"";if((e=p.resolve(e))===(t=p.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var i=e.length,o=i-n,r=1;r<t.length&&47===t.charCodeAt(r);++r);for(var s=t.length-r,u=o<s?o:s,l=-1,c=0;c<=u;++c){if(c===u){if(s>u){if(47===t.charCodeAt(r+c))return t.slice(r+c+1);if(0===c)return t.slice(r+c)}else o>u&&(47===e.charCodeAt(n+c)?l=c:0===c&&(l=0));break}var d=e.charCodeAt(n+c);if(d!==t.charCodeAt(r+c))break;47===d&&(l=c)}var h="";for(c=n+l+1;c<=i;++c)c!==i&&47!==e.charCodeAt(c)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(r+l):(r+=l,47===t.charCodeAt(r)&&++r,t.slice(r))},toNamespacedPath:function(e){return e},dirname:function(e){if(a(e,"path"),0===e.length)return".";for(var t=47===e.charCodeAt(0),n=-1,i=!0,o=e.length-1;o>=1;--o)if(47===e.charCodeAt(o)){if(!i){n=o;break}}else i=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename:function(e,t){void 0!==t&&a(t,"ext"),a(e,"path");var n,i=0,o=-1,r=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,u=-1;for(n=e.length-1;n>=0;--n){var l=e.charCodeAt(n);if(47===l){if(!r){i=n+1;break}}else-1===u&&(r=!1,u=n+1),s>=0&&(l===t.charCodeAt(s)?-1==--s&&(o=n):(s=-1,o=u))}return i===o?o=u:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!r){i=n+1;break}}else-1===o&&(r=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname:function(e){a(e,"path");for(var t=-1,n=0,i=-1,o=!0,r=0,s=e.length-1;s>=0;--s){var u=e.charCodeAt(s);if(47!==u)-1===i&&(o=!1,i=s+1),46===u?-1===t?t=s:1!==r&&(r=1):-1!==t&&(r=-1);else if(!o){n=s+1;break}}return-1===t||-1===i||0===r||1===r&&t===i-1&&t===n+1?"":e.slice(t,i)},format:function(e){if(null===e||"object"!=typeof e)throw new s("pathObject","Object",e);return h("/",e)},parse:function(e){a(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,i=47===e.charCodeAt(0);i?(t.root="/",n=1):n=0;for(var o=-1,r=0,s=-1,u=!0,l=e.length-1,c=0;l>=n;--l){var d=e.charCodeAt(l);if(47!==d)-1===s&&(u=!1,s=l+1),46===d?-1===o?o=l:1!==c&&(c=1):-1!==o&&(c=-1);else if(!u){r=l+1;break}}return-1===o||-1===s||0===c||1===c&&o===s-1&&o===r+1?-1!==s&&(t.base=t.name=0===r&&i?e.slice(1,s):e.slice(r,s)):(0===r&&i?(t.name=e.slice(1,o),t.base=e.slice(1,s)):(t.name=e.slice(r,o),t.base=e.slice(r,s)),t.ext=e.slice(o,s)),r>0?t.dir=e.slice(0,r-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};p.win32=f.win32=f,p.posix=f.posix=p;var g="win32"===o.c?f.normalize:p.normalize,m="win32"===o.c?f.join:p.join,v="win32"===o.c?f.relative:p.relative,_="win32"===o.c?f.dirname:p.dirname,y="win32"===o.c?f.basename:p.basename,b="win32"===o.c?f.extname:p.extname,C="win32"===o.c?f.sep:p.sep},Msxo:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"r",extensions:[".r",".rhistory",".rprofile",".rt"],aliases:["R","r"],loader:function(){return n.e(170).then(n.bind(null,"Qx4d"))}})},Mzro:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return n.e(179).then(n.bind(null,"l/4i"))}})},N0LK:function(e,t,n){"use strict";function i(e){return!e||"string"!=typeof e||0===e.trim().length}n.d(t,"v",(function(){return i})),n.d(t,"p",(function(){return r})),n.d(t,"m",(function(){return s})),n.d(t,"n",(function(){return a})),n.d(t,"i",(function(){return u})),n.d(t,"H",(function(){return l})),n.d(t,"k",(function(){return c})),n.d(t,"j",(function(){return d})),n.d(t,"F",(function(){return h})),n.d(t,"E",(function(){return f})),n.d(t,"o",(function(){return p})),n.d(t,"r",(function(){return g})),n.d(t,"B",(function(){return m})),n.d(t,"z",(function(){return v})),n.d(t,"A",(function(){return _})),n.d(t,"l",(function(){return b})),n.d(t,"I",(function(){return w})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return L})),n.d(t,"x",(function(){return N})),n.d(t,"y",(function(){return O})),n.d(t,"s",(function(){return D})),n.d(t,"C",(function(){return E})),n.d(t,"D",(function(){return k})),n.d(t,"g",(function(){return M})),n.d(t,"e",(function(){return A})),n.d(t,"t",(function(){return P})),n.d(t,"f",(function(){return F})),n.d(t,"w",(function(){return V})),n.d(t,"u",(function(){return W})),n.d(t,"a",(function(){return B})),n.d(t,"J",(function(){return j})),n.d(t,"h",(function(){return H})),n.d(t,"G",(function(){return z})),n.d(t,"q",(function(){return U})),n.d(t,"b",(function(){return K}));var o=/{(\d+)}/g;function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return 0===t.length?e:e.replace(o,(function(e,n){var i=parseInt(n,10);return isNaN(i)||i<0||i>=t.length?e:t[i]}))}function s(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function a(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function u(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function l(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function c(e,t){var n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function d(e,t,n){if(void 0===n&&(n={}),!e)throw new Error("Cannot create regex from empty string");t||(e=a(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));var i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)}function h(e){return"^"!==e.source&&"^$"!==e.source&&"$"!==e.source&&"^\\s*$"!==e.source&&!(!e.exec("")||0!==e.lastIndex)}function f(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function p(e){for(var t=0,n=e.length;t<n;t++){var i=e.charCodeAt(t);if(32!==i&&9!==i)return t}return-1}function g(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var i=t;i<n;i++){var o=e.charCodeAt(i);if(32!==o&&9!==o)return e.substring(t,i)}return e.substring(t,n)}function m(e,t){void 0===t&&(t=e.length-1);for(var n=t;n>=0;n--){var i=e.charCodeAt(n);if(32!==i&&9!==i)return n}return-1}function v(e){return e>=97&&e<=122}function _(e){return e>=65&&e<=90}function y(e){return v(e)||_(e)}function b(e,t){return e.length===t.length&&C(e,t)}function C(e,t,n){void 0===n&&(n=e.length);for(var i=0;i<n;i++){var o=e.charCodeAt(i),r=t.charCodeAt(i);if(o!==r)if(y(o)&&y(r)){var s=Math.abs(o-r);if(0!==s&&32!==s)return!1}else if(String.fromCharCode(o).toLowerCase()!==String.fromCharCode(r).toLowerCase())return!1}return!0}function w(e,t){var n=t.length;return!(t.length>e.length)&&C(e,t,n)}function S(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return i}function L(e,t){var n,i=Math.min(e.length,t.length),o=e.length-1,r=t.length-1;for(n=0;n<i;n++)if(e.charCodeAt(o-n)!==t.charCodeAt(r-n))return n;return i}function N(e){return 55296<=e&&e<=56319}function O(e){return 56320<=e&&e<=57343}function D(e,t,n){var i=e.charCodeAt(n);if(N(i)&&n+1<t){var o=e.charCodeAt(n+1);if(O(o))return o-56320+(i-55296<<10)+65536}return i}function x(e,t){var n=e.charCodeAt(t-1);if(O(n)&&t>1){var i=e.charCodeAt(t-2);if(N(i))return n-56320+(i-55296<<10)+65536}return n}function E(e,t){var n=q.getInstance(),i=t,o=e.length,r=D(e,o,t);t+=r>=65536?2:1;for(var s=n.getGraphemeBreakType(r);t<o;){var a=D(e,o,t),u=n.getGraphemeBreakType(a);if(K(s,u))break;t+=a>=65536?2:1,s=u}return t-i}function k(e,t){var n=q.getInstance(),i=t,o=x(e,t);t-=o>=65536?2:1;for(var r=n.getGraphemeBreakType(o);t>0;){var s=x(e,t),a=n.getGraphemeBreakType(s);if(K(a,r))break;t-=s>=65536?2:1,r=a}return i-t}var I=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function M(e){return I.test(e)}var T=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function A(e){return T.test(e)}var R=/^[\t\n\r\x20-\x7E]*$/;function P(e){return R.test(e)}function F(e){for(var t=0,n=e.length;t<n;t++)if(V(e.charCodeAt(t)))return!0;return!1}function V(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function W(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}var B=String.fromCharCode(65279);function j(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function H(e,t){return void 0===t&&(t=!1),!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function z(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function U(e){return q.getInstance().getGraphemeBreakType(e)}function K(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}var q=function(){function e(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}return e.getInstance=function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE},e.prototype.getGraphemeBreakType=function(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;for(var t=this._data,n=t.length/3,i=1;i<=n;)if(e<t[3*i])i*=2;else{if(!(e>t[3*i+1]))return t[3*i+2];i=2*i+1}return 0},e._INSTANCE=null,e}()},OBOq:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return d}));n("UCkY");var i,o,r,s=n("3/fG"),a=n("MNsG"),u=n("EffR");function l(e){(i=document.createElement("div")).className="monaco-aria-container",(o=document.createElement("div")).className="monaco-alert",o.setAttribute("role","alert"),o.setAttribute("aria-atomic","true"),i.appendChild(o),(r=document.createElement("div")).className="monaco-status",r.setAttribute("role","status"),r.setAttribute("aria-atomic","true"),i.appendChild(r),e.appendChild(i)}function c(e,t){p(o,e,t)}function d(e,t){a.e?c(e,t):p(r,e,t)}var h=0,f=void 0;function p(e,t,n){if(i){if(!n)switch(f===t?h++:(f=t,h=0),h){case 0:break;case 1:t=s.a("repeated","{0} (occurred again)",t);break;default:t=s.a("repeatedNtimes","{0} (occurred {1} times)",t,h)}u.o(e),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}}},OKK6:function(e,t,n){},OOlL:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return n.e(143).then(n.bind(null,"NlLO"))}})},PTeM:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n("N0LK"),o=n("MrjW");function r(e){return e.replace(/[\\/]/g,o.posix.sep)}function s(e,t,n,r){if(void 0===r&&(r=o.sep),e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(n){if(!Object(i.I)(e,t))return!1;if(t.length===e.length)return!0;var s=t.length;return t.charAt(t.length-1)===r&&s--,e.charAt(s)===r}return t.charAt(t.length-1)!==r&&(t+=r),0===e.indexOf(t)}function a(e){return e>=65&&e<=90||e>=97&&e<=122}},QDVR:function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h}));var i,o=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function r(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function s(e){var t=[];return e.forEach((function(e,n){return t.push(n)})),t}var a=function(){function e(){this._value="",this._pos=0}return e.prototype.reset=function(e){return this._value=e,this._pos=0,this},e.prototype.next=function(){return this._pos+=1,this},e.prototype.hasNext=function(){return this._pos<this._value.length-1},e.prototype.cmp=function(e){return e.charCodeAt(0)-this._value.charCodeAt(this._pos)},e.prototype.value=function(){return this._value[this._pos]},e}(),u=function(){function e(e){void 0===e&&(e=!0),this._splitOnBackslash=e}return e.prototype.reset=function(e){return this._value=e.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()},e.prototype.hasNext=function(){return this._to<this._value.length},e.prototype.next=function(){this._from=this._to;for(var e=!0;this._to<this._value.length;this._to++){var t=this._value.charCodeAt(this._to);if(47===t||this._splitOnBackslash&&92===t){if(!e)break;this._from++}else e=!1}return this},e.prototype.cmp=function(e){for(var t=0,n=e.length,i=this._from;t<n&&i<this._to;){var o=e.charCodeAt(t)-this._value.charCodeAt(i);if(0!==o)return o;t+=1,i+=1}return n===this._to-this._from?0:t<n?-1:1},e.prototype.value=function(){return this._value.substring(this._from,this._to)},e}(),l=function(){},c=function(){function e(e){this._iter=e}return e.forPaths=function(){return new e(new u)},e.forStrings=function(){return new e(new a)},e.prototype.clear=function(){this._root=void 0},e.prototype.set=function(e,t){var n,i=this._iter.reset(e);for(this._root||(this._root=new l,this._root.segment=i.value()),n=this._root;;){var o=i.cmp(n.segment);if(o>0)n.left||(n.left=new l,n.left.segment=i.value()),n=n.left;else if(o<0)n.right||(n.right=new l,n.right.segment=i.value()),n=n.right;else{if(!i.hasNext())break;i.next(),n.mid||(n.mid=new l,n.mid.segment=i.value()),n=n.mid}}var r=n.value;return n.value=t,n.key=e,r},e.prototype.get=function(e){for(var t=this._iter.reset(e),n=this._root;n;){var i=t.cmp(n.segment);if(i>0)n=n.left;else if(i<0)n=n.right;else{if(!t.hasNext())break;t.next(),n=n.mid}}return n?n.value:void 0},e.prototype.findSubstr=function(e){for(var t=this._iter.reset(e),n=this._root,i=void 0;n;){var o=t.cmp(n.segment);if(o>0)n=n.left;else if(o<0)n=n.right;else{if(!t.hasNext())break;t.next(),i=n.value||i,n=n.mid}}return n&&n.value||i},e.prototype.forEach=function(e){this._forEach(this._root,e)},e.prototype._forEach=function(e,t){e&&(this._forEach(e.left,t),e.value&&t(e.value,e.key),this._forEach(e.mid,t),this._forEach(e.right,t))},e}(),d=function(){function e(){this.map=new Map,this.ignoreCase=!1}return e.prototype.set=function(e,t){this.map.set(this.toKey(e),t)},e.prototype.get=function(e){return this.map.get(this.toKey(e))},e.prototype.toKey=function(e){var t=e.toString();return this.ignoreCase&&(t=t.toLowerCase()),t},e}(),h=function(e){function t(t,n){void 0===n&&(n=1);var i=e.call(this)||this;return i._limit=t,i._ratio=Math.min(Math.max(0,n),1),i}return o(t,e),t.prototype.get=function(t){return e.prototype.get.call(this,t,2)},t.prototype.peek=function(t){return e.prototype.get.call(this,t,0)},t.prototype.set=function(t,n){e.prototype.set.call(this,t,n,2),this.checkTrim()},t.prototype.checkTrim=function(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))},t}(function(){function e(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0}return e.prototype.clear=function(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.get=function(e,t){void 0===t&&(t=0);var n=this._map.get(e);if(n)return 0!==t&&this.touch(n,t),n.value},e.prototype.set=function(e,t,n){void 0===n&&(n=0);var i=this._map.get(e);if(i)i.value=t,0!==n&&this.touch(i,n);else{switch(i={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:default:this.addItemLast(i)}this._map.set(e,i),this._size++}},e.prototype.delete=function(e){return!!this.remove(e)},e.prototype.remove=function(e){var t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value},e.prototype.forEach=function(e,t){for(var n=this._head;n;)t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),n=n.next},e.prototype.trimOld=function(e){if(!(e>=this.size))if(0!==e){for(var t=this._head,n=this.size;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0)}else this.clear()},e.prototype.addItemFirst=function(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e},e.prototype.addItemLast=function(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e},e.prototype.removeItem=function(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{var t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0},e.prototype.touch=function(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e===this._head)return;var n=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(n.previous=i,i.next=n),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e}else if(2===t){if(e===this._tail)return;n=e.next,i=e.previous;e===this._head?(n.previous=void 0,this._head=n):(n.previous=i,i.next=n),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e}},e.prototype.toJSON=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),e},e}())},QFiB:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return n.e(159).then(n.bind(null,"PhST"))}})},QRHv:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"e",(function(){return m})),n.d(t,"d",(function(){return v}));var i=n("6OMU"),o=n("4bUh"),r=n("cGHE"),s=n("twdY");function a(e){for(var t=0,n=0,i=0,o=0,r=e.length;o<r;o++){var s=e.charCodeAt(o);13===s?(0===t&&(n=o),t++,o+1<r&&10===e.charCodeAt(o+1)&&o++,i=o+1):10===s&&(0===t&&(n=o),t++,i=o+1)}return 0===t&&(n=e.length),[t,n,e.length-i]}function u(e){return(16384|e<<0|2<<23)>>>0}var l=new Uint32Array(0).buffer,c=function(){function e(){this.tokens=[]}return e.prototype.add=function(e,t){if(this.tokens.length>0){var n=this.tokens[this.tokens.length-1];if(n.startLineNumber+n.tokens.length-1+1===e)return void n.tokens.push(t)}this.tokens.push(new p(e,[t]))},e}(),d=function(){function e(e){this._tokens=e,this._tokenCount=e.length/4}return e.prototype.getMaxDeltaLine=function(){var e=this.getTokenCount();return 0===e?-1:this.getDeltaLine(e-1)},e.prototype.getTokenCount=function(){return this._tokenCount},e.prototype.getDeltaLine=function(e){return this._tokens[4*e]},e.prototype.getStartCharacter=function(e){return this._tokens[4*e+1]},e.prototype.getEndCharacter=function(e){return this._tokens[4*e+2]},e.prototype.getMetadata=function(e){return this._tokens[4*e+3]},e.prototype.clear=function(){this._tokenCount=0},e.prototype.acceptDeleteRange=function(e,t,n,i,o){for(var r=this._tokens,s=this._tokenCount,a=i-t,u=0,l=!1,c=0;c<s;c++){var d=4*c,h=r[d],f=r[d+1],p=r[d+2],g=r[d+3];if(h<t||h===t&&p<=n)u++;else{if(h===t&&f<n)h===i&&p>o?p-=o-n:p=n;else if(h===t&&f===n){if(!(h===i&&p>o)){l=!0;continue}p-=o-n}else if(h<i||h===i&&f<o){if(!(h===i&&p>o)){l=!0;continue}p=h===t?(f=n)+(p-o):(f=0)+(p-o)}else if(h>i){if(0===a&&!l){u=s;break}h-=a}else{if(!(h===i&&f>=o))throw new Error("Not possible!");e&&0===h&&(f+=e,p+=e),h-=a,f-=o-n,p-=o-n}var m=4*u;r[m]=h,r[m+1]=f,r[m+2]=p,r[m+3]=g,u++}}this._tokenCount=u},e.prototype.acceptInsertText=function(e,t,n,i,o,r){for(var s=0===n&&1===i&&(r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122),a=this._tokens,u=this._tokenCount,l=0;l<u;l++){var c=4*l,d=a[c],h=a[c+1],f=a[c+2];if(!(d<e||d===e&&f<t)){if(d===e&&f===t){if(!s)continue;f+=1}else if(d===e&&h<t&&t<f)0===n?f+=i:f=t;else{if(d===e&&h===t&&s)continue;if(d===e)if(d+=n,0===n)h+=i,f+=i;else{var p=f-h;f=(h=o+(h-t))+p}else d+=n}a[c]=d,a[c+1]=h,a[c+2]=f}}},e}(),h=function(){function e(e,t,n){this._actual=e,this._startTokenIndex=t,this._endTokenIndex=n}return e.prototype.getCount=function(){return this._endTokenIndex-this._startTokenIndex+1},e.prototype.getStartCharacter=function(e){return this._actual.getStartCharacter(this._startTokenIndex+e)},e.prototype.getEndCharacter=function(e){return this._actual.getEndCharacter(this._startTokenIndex+e)},e.prototype.getMetadata=function(e){return this._actual.getMetadata(this._startTokenIndex+e)},e}(),f=function(){function e(e,t){this.startLineNumber=e,this.tokens=t,this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}return e.prototype._updateEndLineNumber=function(){this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()},e.prototype.getLineTokens=function(t){if(this.startLineNumber<=t&&t<=this.endLineNumber){var n=e._findTokensWithLine(this.tokens,t-this.startLineNumber);if(n){var i=n[0],o=n[1];return new h(this.tokens,i,o)}}return null},e._findTokensWithLine=function(e,t){for(var n=0,i=e.getTokenCount()-1;n<i;){var o=n+Math.floor((i-n)/2),r=e.getDeltaLine(o);if(r<t)n=o+1;else{if(!(r>t)){for(var s=o;s>n&&e.getDeltaLine(s-1)===t;)s--;for(var a=o;a<i&&e.getDeltaLine(a+1)===t;)a++;return[s,a]}i=o-1}}return e.getDeltaLine(n)===t?[n,n]:null},e.prototype.applyEdit=function(e,t){var n=a(t),i=n[0],o=n[1],r=n[2];this.acceptEdit(e,i,o,r,t.length>0?t.charCodeAt(0):0)},e.prototype.acceptEdit=function(e,t,n,i,o){this._acceptDeleteRange(e),this._acceptInsertText(new r.a(e.startLineNumber,e.startColumn),t,n,i,o),this._updateEndLineNumber()},e.prototype._acceptDeleteRange=function(e){if(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn){var t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber;if(n<0){var i=n-t;this.startLineNumber-=i}else{var o=this.tokens.getMaxDeltaLine();if(!(t>=o+1)){if(t<0&&n>=o+1)return this.startLineNumber=0,void this.tokens.clear();if(t<0){var r=-t;this.startLineNumber-=r,this.tokens.acceptDeleteRange(e.startColumn-1,0,0,n,e.endColumn-1)}else this.tokens.acceptDeleteRange(0,t,e.startColumn-1,n,e.endColumn-1)}}}},e.prototype._acceptInsertText=function(e,t,n,i,o){if(0!==t||0!==n){var r=e.lineNumber-this.startLineNumber;if(r<0)this.startLineNumber+=t;else r>=this.tokens.getMaxDeltaLine()+1||this.tokens.acceptInsertText(r,e.column-1,t,n,i,o)}},e}(),p=function(e,t){this.startLineNumber=e,this.tokens=t};function g(e){return e instanceof Uint32Array?e:new Uint32Array(e)}var m=function(){function e(){this._pieces=[]}return e.prototype.flush=function(){this._pieces=[]},e.prototype.set=function(e){this._pieces=e||[]},e.prototype.addSemanticTokens=function(t,n){var i=this._pieces;if(0===i.length)return n;var r=e._findFirstPieceWithLine(i,t),s=this._pieces[r].getLineTokens(t);if(!s)return n;for(var a=n.getCount(),u=s.getCount(),l=0,c=[],d=0,h=0;h<u;h++){for(var f=s.getStartCharacter(h),p=s.getEndCharacter(h),g=s.getMetadata(h),m=((1&g?2048:0)|(2&g?4096:0)|(4&g?8192:0)|(8&g?8372224:0)|(16&g?4286578688:0))>>>0,v=~m>>>0;l<a&&n.getEndOffset(l)<=f;)c[d++]=n.getEndOffset(l),c[d++]=n.getMetadata(l),l++;for(l<a&&n.getStartOffset(l)<f&&(c[d++]=f,c[d++]=n.getMetadata(l));l<a&&n.getEndOffset(l)<p;)c[d++]=n.getEndOffset(l),c[d++]=n.getMetadata(l)&v|g&m,l++;if(l<a&&n.getEndOffset(l)===p)c[d++]=n.getEndOffset(l),c[d++]=n.getMetadata(l)&v|g&m,l++;else{var _=Math.min(Math.max(0,l-1),a-1);c[d++]=p,c[d++]=n.getMetadata(_)&v|g&m}}for(;l<a;)c[d++]=n.getEndOffset(l),c[d++]=n.getMetadata(l),l++;return new o.a(new Uint32Array(c),n.getLineContent())},e._findFirstPieceWithLine=function(e,t){for(var n=0,i=e.length-1;n<i;){var o=n+Math.floor((i-n)/2);if(e[o].endLineNumber<t)n=o+1;else{if(!(e[o].startLineNumber>t)){for(;o>n&&e[o-1].startLineNumber<=t&&t<=e[o-1].endLineNumber;)o--;return o}i=o-1}}return n},e.prototype.acceptEdit=function(e,t,n,i,o){for(var r=0,s=this._pieces;r<s.length;r++){s[r].acceptEdit(e,t,n,i,o)}},e}(),v=function(){function e(){this._lineTokens=[],this._len=0}return e.prototype.flush=function(){this._lineTokens=[],this._len=0},e.prototype.getTokens=function(e,t,n){var i=null;if(t<this._len&&(i=this._lineTokens[t]),null!==i&&i!==l)return new o.a(g(i),n);var r=new Uint32Array(2);return r[0]=n.length,r[1]=u(e),new o.a(r,n)},e._massageTokens=function(e,t,n){var i=n?g(n):null;if(0===t){var o=!1;if(i&&i.length>1&&(o=s.x.getLanguageId(i[1])!==e),!o)return l}if(!i||0===i.length){var r=new Uint32Array(2);return r[0]=t,r[1]=u(e),r.buffer}return i[i.length-2]=t,0===i.byteOffset&&i.byteLength===i.buffer.byteLength?i.buffer:i},e.prototype._ensureLine=function(e){for(;e>=this._len;)this._lineTokens[this._len]=null,this._len++},e.prototype._deleteLines=function(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)},e.prototype._insertLines=function(e,t){if(0!==t){for(var n=[],o=0;o<t;o++)n[o]=null;this._lineTokens=i.a(this._lineTokens,e,n),this._len+=t}},e.prototype.setTokens=function(t,n,i,o){var r=e._massageTokens(t,i,o);this._ensureLine(n),this._lineTokens[n]=r},e.prototype.acceptEdit=function(e,t,n){this._acceptDeleteRange(e),this._acceptInsertText(new r.a(e.startLineNumber,e.startColumn),t,n)},e.prototype._acceptDeleteRange=function(t){var n=t.startLineNumber-1;if(!(n>=this._len))if(t.startLineNumber!==t.endLineNumber){this._lineTokens[n]=e._deleteEnding(this._lineTokens[n],t.startColumn-1);var i=t.endLineNumber-1,o=null;i<this._len&&(o=e._deleteBeginning(this._lineTokens[i],t.endColumn-1)),this._lineTokens[n]=e._append(this._lineTokens[n],o),this._deleteLines(t.startLineNumber,t.endLineNumber-t.startLineNumber)}else{if(t.startColumn===t.endColumn)return;this._lineTokens[n]=e._delete(this._lineTokens[n],t.startColumn-1,t.endColumn-1)}},e.prototype._acceptInsertText=function(t,n,i){if(0!==n||0!==i){var o=t.lineNumber-1;o>=this._len||(0!==n?(this._lineTokens[o]=e._deleteEnding(this._lineTokens[o],t.column-1),this._lineTokens[o]=e._insert(this._lineTokens[o],t.column-1,i),this._insertLines(t.lineNumber,n)):this._lineTokens[o]=e._insert(this._lineTokens[o],t.column-1,i))}},e._deleteBeginning=function(t,n){return null===t||t===l?t:e._delete(t,0,n)},e._deleteEnding=function(t,n){if(null===t||t===l)return t;var i=g(t),o=i[i.length-2];return e._delete(t,n,o)},e._delete=function(e,t,n){if(null===e||e===l||t===n)return e;var i=g(e),r=i.length>>>1;if(0===t&&i[i.length-2]===n)return l;var s,a,u=o.a.findIndexInTokensArray(i,t),c=u>0?i[u-1<<1]:0;if(n<i[u<<1]){for(var d=n-t,h=u;h<r;h++)i[h<<1]-=d;return e}c!==t?(i[u<<1]=t,s=u+1<<1,a=t):(s=u<<1,a=c);for(var f=n-t,p=u+1;p<r;p++){var m=i[p<<1]-f;m>a&&(i[s++]=m,i[s++]=i[1+(p<<1)],a=m)}if(s===i.length)return e;var v=new Uint32Array(s);return v.set(i.subarray(0,s),0),v.buffer},e._append=function(e,t){if(t===l)return e;if(e===l)return t;if(null===e)return e;if(null===t)return null;var n=g(e),i=g(t),o=i.length>>>1,r=new Uint32Array(n.length+i.length);r.set(n,0);for(var s=n.length,a=n[n.length-2],u=0;u<o;u++)r[s++]=i[u<<1]+a,r[s++]=i[1+(u<<1)];return r.buffer},e._insert=function(e,t,n){if(null===e||e===l)return e;var i=g(e),r=i.length>>>1,s=o.a.findIndexInTokensArray(i,t);s>0&&(i[s-1<<1]===t&&s--);for(var a=s;a<r;a++)i[a<<1]+=n;return e},e}()},QiAa:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return n.e(172).then(n.bind(null,"j6Xs"))}})},QuOb:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i,o=n("MI8n"),r=n("pmY6"),s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){function e(e,t,n,i,o,r){(e|=0)<0&&(e=0),(n|=0)+e>(t|=0)&&(n=t-e),n<0&&(n=0),(i|=0)<0&&(i=0),(r|=0)+i>(o|=0)&&(r=o-i),r<0&&(r=0),this.width=e,this.scrollWidth=t,this.scrollLeft=n,this.height=i,this.scrollHeight=o,this.scrollTop=r}return e.prototype.equals=function(e){return this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop},e.prototype.withScrollDimensions=function(t){return new e(void 0!==t.width?t.width:this.width,void 0!==t.scrollWidth?t.scrollWidth:this.scrollWidth,this.scrollLeft,void 0!==t.height?t.height:this.height,void 0!==t.scrollHeight?t.scrollHeight:this.scrollHeight,this.scrollTop)},e.prototype.withScrollPosition=function(t){return new e(this.width,this.scrollWidth,void 0!==t.scrollLeft?t.scrollLeft:this.scrollLeft,this.height,this.scrollHeight,void 0!==t.scrollTop?t.scrollTop:this.scrollTop)},e.prototype.createScrollEvent=function(e){var t=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,i=this.scrollLeft!==e.scrollLeft,o=this.height!==e.height,r=this.scrollHeight!==e.scrollHeight,s=this.scrollTop!==e.scrollTop;return{width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:t,scrollWidthChanged:n,scrollLeftChanged:i,heightChanged:o,scrollHeightChanged:r,scrollTopChanged:s}},e}(),u=function(e){function t(t,n){var i=e.call(this)||this;return i._onScroll=i._register(new o.a),i.onScroll=i._onScroll.event,i._smoothScrollDuration=t,i._scheduleAtNextAnimationFrame=n,i._state=new a(0,0,0,0,0,0),i._smoothScrolling=null,i}return s(t,e),t.prototype.dispose=function(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),e.prototype.dispose.call(this)},t.prototype.setSmoothScrollDuration=function(e){this._smoothScrollDuration=e},t.prototype.validateScrollPosition=function(e){return this._state.withScrollPosition(e)},t.prototype.getScrollDimensions=function(){return this._state},t.prototype.setScrollDimensions=function(e){var t=this._state.withScrollDimensions(e);this._setState(t),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)},t.prototype.getFutureScrollPosition=function(){return this._smoothScrolling?this._smoothScrolling.to:this._state},t.prototype.getCurrentScrollPosition=function(){return this._state},t.prototype.setScrollPositionNow=function(e){var t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t)},t.prototype.setScrollPositionSmooth=function(e){var t=this;if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:void 0===e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:void 0===e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};var n=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;var i=this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=i}else{n=this._state.withScrollPosition(e);this._smoothScrolling=d.start(this._state,n,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((function(){t._smoothScrolling&&(t._smoothScrolling.animationFrameDisposable=null,t._performSmoothScrolling())}))},t.prototype._performSmoothScrolling=function(){var e=this;if(this._smoothScrolling){var t=this._smoothScrolling.tick(),n=this._state.withScrollPosition(t);if(this._setState(n),t.isDone)return this._smoothScrolling.dispose(),void(this._smoothScrolling=null);this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((function(){e._smoothScrolling&&(e._smoothScrolling.animationFrameDisposable=null,e._performSmoothScrolling())}))}},t.prototype._setState=function(e){var t=this._state;t.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(t)))},t}(r.a),l=function(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n};function c(e,t){var n=t-e;return function(t){return e+n*(1-function(e){return Math.pow(e,3)}(1-t))}}var d=function(){function e(e,t,n,i){this.from=e,this.to=t,this.duration=i,this._startTime=n,this.animationFrameDisposable=null,this._initAnimations()}return e.prototype._initAnimations=function(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)},e.prototype._initAnimation=function(e,t,n){var i,o,r;if(Math.abs(e-t)>2.5*n){var s=void 0,a=void 0;return e<t?(s=e+.75*n,a=t-.75*n):(s=e-.75*n,a=t+.75*n),i=c(e,s),o=c(a,t),r=.33,function(e){return e<r?i(e/r):o((e-r)/(1-r))}}return c(e,t)},e.prototype.dispose=function(){null!==this.animationFrameDisposable&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)},e.prototype.acceptScrollDimensions=function(e){this.to=e.withScrollPosition(this.to),this._initAnimations()},e.prototype.tick=function(){return this._tick(Date.now())},e.prototype._tick=function(e){var t=(e-this._startTime)/this.duration;if(t<1){var n=this.scrollLeft(t),i=this.scrollTop(t);return new l(n,i,!1)}return new l(this.to.scrollLeft,this.to.scrollTop,!0)},e.prototype.combine=function(t,n,i){return e.start(t,n,i)},e.start=function(t,n,i){return i+=10,new e(t,n,Date.now()-10,i)},e}()},S3by:function(e,t,n){"use strict";var i,o=n("3/fG"),r=n("N0LK");!function(e){e[e.Ignore=0]="Ignore",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(i||(i={})),function(e){var t=Object.create(null);t[e.Error]=o.a("sev.error","Error"),t[e.Warning]=o.a("sev.warning","Warning"),t[e.Info]=o.a("sev.info","Info"),e.fromValue=function(t){return t?r.l("error",t)?e.Error:r.l("warning",t)||r.l("warn",t)?e.Warning:r.l("info",t)?e.Info:e.Ignore:e.Ignore}}(i||(i={})),t.a=i},SvYn:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return n.e(150).then(n.bind(null,"Dsrv"))}})},T8No:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return m})),n.d(t,"d",(function(){return v})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return y}));var i,o=n("N0LK"),r=n("Cg/j"),s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){function e(){}return e.has=function(e){return l.create(e)},e.equals=function(e,t){return c.create(e,t)},e.regex=function(e,t){return f.create(e,t)},e.not=function(e){return h.create(e)},e.and=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return g.create(e)},e.or=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return m.create(e)},e.deserialize=function(e,t){if(void 0===t&&(t=!1),e)return this._deserializeOrExpression(e,t)},e._deserializeOrExpression=function(e,t){var n=this,i=e.split("||");return m.create(i.map((function(e){return n._deserializeAndExpression(e,t)})))},e._deserializeAndExpression=function(e,t){var n=this,i=e.split("&&");return g.create(i.map((function(e){return n._deserializeOne(e,t)})))},e._deserializeOne=function(e,t){if((e=e.trim()).indexOf("!=")>=0){var n=e.split("!=");return d.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("==")>=0){n=e.split("==");return c.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("=~")>=0){n=e.split("=~");return f.create(n[0].trim(),this._deserializeRegexValue(n[1],t))}return/^\!\s*/.test(e)?h.create(e.substr(1).trim()):l.create(e)},e._deserializeValue=function(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;var n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e},e._deserializeRegexValue=function(e,t){if(Object(o.v)(e)){if(t)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}var n=e.indexOf("/"),i=e.lastIndexOf("/");if(n===i||n<0){if(t)throw new Error("bad regexp-value '"+e+"', missing /-enclosure");return console.warn("bad regexp-value '"+e+"', missing /-enclosure"),null}var r=e.slice(n+1,i),s="i"===e[i+1]?"i":"";try{return new RegExp(r,s)}catch(n){if(t)throw new Error("bad regexp-value '"+e+"', parse error: "+n);return console.warn("bad regexp-value '"+e+"', parse error: "+n),null}},e}();function u(e,t){var n=e.getType(),i=t.getType();if(n!==i)return n-i;switch(n){case 1:case 2:case 3:case 4:case 6:case 7:case 5:return e.cmp(t);default:throw new Error("Unknown ContextKeyExpr!")}}var l=function(){function e(e){this.key=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 1},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:0},e.prototype.equals=function(t){return t instanceof e&&this.key===t.key},e.prototype.evaluate=function(e){return!!e.getValue(this.key)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return h.create(this.key)},e}(),c=function(){function e(e,t){this.key=e,this.value=t}return e.create=function(t,n){return"boolean"==typeof n?n?l.create(t):h.create(t):new e(t,n)},e.prototype.getType=function(){return 3},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0},e.prototype.equals=function(t){return t instanceof e&&(this.key===t.key&&this.value===t.value)},e.prototype.evaluate=function(e){return e.getValue(this.key)==this.value},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return d.create(this.key,this.value)},e}(),d=function(){function e(e,t){this.key=e,this.value=t}return e.create=function(t,n){return"boolean"==typeof n?n?h.create(t):l.create(t):new e(t,n)},e.prototype.getType=function(){return 4},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0},e.prototype.equals=function(t){return t instanceof e&&(this.key===t.key&&this.value===t.value)},e.prototype.evaluate=function(e){return e.getValue(this.key)!=this.value},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return c.create(this.key,this.value)},e}(),h=function(){function e(e){this.key=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 2},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:0},e.prototype.equals=function(t){return t instanceof e&&this.key===t.key},e.prototype.evaluate=function(e){return!e.getValue(this.key)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return l.create(this.key)},e}(),f=function(){function e(e,t){this.key=e,this.regexp=t}return e.create=function(t,n){return new e(t,n)},e.prototype.getType=function(){return 6},e.prototype.cmp=function(e){if(this.key<e.key)return-1;if(this.key>e.key)return 1;var t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return t<n?-1:t>n?1:0},e.prototype.equals=function(t){if(t instanceof e){var n=this.regexp?this.regexp.source:"",i=t.regexp?t.regexp.source:"";return this.key===t.key&&n===i}return!1},e.prototype.evaluate=function(e){var t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return p.create(this)},e}(),p=function(){function e(e){this._actual=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 7},e.prototype.cmp=function(e){return this._actual.cmp(e._actual)},e.prototype.equals=function(t){return t instanceof e&&this._actual.equals(t._actual)},e.prototype.evaluate=function(e){return!this._actual.evaluate(e)},e.prototype.keys=function(){return this._actual.keys()},e.prototype.negate=function(){return this._actual},e}(),g=function(){function e(e){this.expr=e}return e.create=function(t){var n=e._normalizeArr(t);if(0!==n.length)return 1===n.length?n[0]:new e(n)},e.prototype.getType=function(){return 5},e.prototype.cmp=function(e){if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(var t=0,n=this.expr.length;t<n;t++){var i=u(this.expr[t],e.expr[t]);if(0!==i)return i}return 0},e.prototype.equals=function(t){if(t instanceof e){if(this.expr.length!==t.expr.length)return!1;for(var n=0,i=this.expr.length;n<i;n++)if(!this.expr[n].equals(t.expr[n]))return!1;return!0}return!1},e.prototype.evaluate=function(e){for(var t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].evaluate(e))return!1;return!0},e._normalizeArr=function(t){var n=[];if(t){for(var i=0,o=t.length;i<o;i++){var r=t[i];if(r)if(r instanceof e)n=n.concat(r.expr);else{if(r instanceof m)throw new Error('It is not allowed to have an or expression here due to lack of parens! For example "a && (b||c)" is not supported, use "(a&&b) || (a&&c)" instead.');n.push(r)}}n.sort(u)}return n},e.prototype.keys=function(){for(var e=[],t=0,n=this.expr;t<n.length;t++){var i=n[t];e.push.apply(e,i.keys())}return e},e.prototype.negate=function(){for(var e=[],t=0,n=this.expr;t<n.length;t++){var i=n[t];e.push(i.negate())}return m.create(e)},e}(),m=function(){function e(e){this.expr=e}return e.create=function(t){var n=e._normalizeArr(t);if(0!==n.length)return 1===n.length?n[0]:new e(n)},e.prototype.getType=function(){return 8},e.prototype.equals=function(t){if(t instanceof e){if(this.expr.length!==t.expr.length)return!1;for(var n=0,i=this.expr.length;n<i;n++)if(!this.expr[n].equals(t.expr[n]))return!1;return!0}return!1},e.prototype.evaluate=function(e){for(var t=0,n=this.expr.length;t<n;t++)if(this.expr[t].evaluate(e))return!0;return!1},e._normalizeArr=function(t){var n=[];if(t){for(var i=0,o=t.length;i<o;i++){var r=t[i];r&&(r instanceof e?n=n.concat(r.expr):n.push(r))}n.sort(u)}return n},e.prototype.keys=function(){for(var e=[],t=0,n=this.expr;t<n.length;t++){var i=n[t];e.push.apply(e,i.keys())}return e},e.prototype.negate=function(){for(var t=[],n=0,i=this.expr;n<i.length;n++){var o=i[n];t.push(o.negate())}for(var r=function(t){return t instanceof e?t.expr:[t]};t.length>1;){for(var s=t.shift(),u=t.shift(),l=[],c=0,d=r(s);c<d.length;c++)for(var h=d[c],f=0,p=r(u);f<p.length;f++){var g=p[f];l.push(a.and(h,g))}t.unshift(a.or.apply(a,l))}return t[0]},e}(),v=function(e){function t(t,n){var i=e.call(this,t)||this;return i._defaultValue=n,i}return s(t,e),t.prototype.bindTo=function(e){return e.createKey(this.key,this._defaultValue)},t.prototype.getValue=function(e){return e.getContextKeyValue(this.key)},t.prototype.toNegated=function(){return a.not(this.key)},t}(l),_=Object(r.c)("contextKeyService"),y="setContext"},TT2d:function(e,t,n){},Tcc1:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r}));var i=function(){function e(e,t,n){this.offset=0|e,this.type=t,this.language=n}return e.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},e}(),o=function(e,t){this.tokens=e,this.endState=t},r=function(e,t){this.tokens=e,this.endState=t}},UCkY:function(e,t,n){},URDS:function(e,t,n){(function(e,t){(function(){"use strict";function n(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}var i=setTimeout;function o(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void u(t.promise,e)}a(t.promise,i)}else(1===e._state?a:u)(t.promise,e._value)}))):e._deferreds.push(t)}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void l(e);if("function"==typeof n)return void d((i=n,o=t,function(){i.apply(o,arguments)}),e)}e._state=1,e._value=t,l(e)}catch(t){u(e,t)}var i,o}function u(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&r._immediateFn((function(){e._handled||r._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function d(e,t){var n=!1;try{e((function(e){n||(n=!0,a(t,e))}),(function(e){n||(n=!0,u(t,e))}))}catch(e){if(n)return;n=!0,u(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(o);return s(this,new c(e,t,n)),n},r.prototype.finally=n,r.all=function(e){return new r((function(t,n){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);var o=i.length;function r(e,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,(function(t){r(e,t)}),n)}i[e]=s,0==--o&&t(i)}catch(e){n(e)}}for(var s=0;s<i.length;s++)r(s,i[s])}))},r.resolve=function(e){return e&&"object"==typeof e&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var i=0,o=e.length;i<o;i++)e[i].then(t,n)}))},r._immediateFn="function"==typeof e&&function(t){e(t)}||function(e){i(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var h=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==t)return t;throw new Error("unable to locate global object")}();"Promise"in h?h.Promise.prototype.finally||(h.Promise.prototype.finally=n):h.Promise=r})()}).call(this,n("URgk").setImmediate,n("yLpj"))},URgk:function(e,t,n){(function(e){var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n("YBdB"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},Uzvx:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r}));var i=n("Cg/j"),o=Object(i.c)("contextViewService"),r=Object(i.c)("contextMenuService")},Vtyv:function(e,t,n){},VvMK:function(e,t,n){},Vxe3:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("Cg/j"),o=Object(i.c)("codeEditorService")},WqXY:function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return v})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return b}));n("yEoX");var i,o=n("MNsG"),r=n("3/fG"),s=n("pmY6"),a=n("8HAY"),u=n("EffR"),l=n("746U"),c=n("pg8w"),d=n("uDWl"),h=n("MI8n"),f=n("ZQ78"),p=n("D3Dy"),g=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(e){function t(t,n,i){var o=e.call(this)||this;return o.options=i,o._context=t||o,o._action=n,n instanceof a.a&&o._register(n.onDidChange((function(e){o.element&&o.handleActionChangeEvent(e)}))),o}return g(t,e),t.prototype.handleActionChangeEvent=function(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()},Object.defineProperty(t.prototype,"actionRunner",{get:function(){return this._actionRunner||(this._actionRunner=this._register(new a.b)),this._actionRunner},set:function(e){this._actionRunner=e},enumerable:!0,configurable:!0}),t.prototype.getAction=function(){return this._action},t.prototype.isEnabled=function(){return this._action.enabled},t.prototype.setActionContext=function(e){this._context=e},t.prototype.render=function(e){var t=this,n=this.element=e;this._register(c.b.addTarget(e));var i=this.options&&this.options.draggable;i&&(e.draggable=!0,p.h&&this._register(u.g(e,u.c.DRAG_START,(function(e){var n;return null===(n=e.dataTransfer)||void 0===n?void 0:n.setData(f.a.TEXT,t._action.label)})))),this._register(u.g(n,c.a.Tap,(function(e){return t.onClick(e)}))),this._register(u.g(n,u.c.MOUSE_DOWN,(function(e){i||u.b.stop(e,!0),t._action.enabled&&0===e.button&&u.e(n,"active")}))),this._register(u.g(n,u.c.CLICK,(function(e){u.b.stop(e,!0),t.options&&t.options.isMenu?t.onClick(e):o.i((function(){return t.onClick(e)}))}))),this._register(u.g(n,u.c.DBLCLICK,(function(e){u.b.stop(e,!0)}))),[u.c.MOUSE_UP,u.c.MOUSE_OUT].forEach((function(e){t._register(u.g(n,e,(function(e){u.b.stop(e),u.J(n,"active")})))}))},t.prototype.onClick=function(e){var t;u.b.stop(e,!0),l.l(this._context)?t=e:(t=this._context,l.i(t)&&(t.event=e)),this.actionRunner.run(this._action,t)},t.prototype.focus=function(){this.element&&(this.element.focus(),u.e(this.element,"focused"))},t.prototype.blur=function(){this.element&&(this.element.blur(),u.J(this.element,"focused"))},t.prototype.updateEnabled=function(){},t.prototype.updateLabel=function(){},t.prototype.updateTooltip=function(){},t.prototype.updateClass=function(){},t.prototype.updateChecked=function(){},t.prototype.dispose=function(){this.element&&(u.L(this.element),this.element=void 0),e.prototype.dispose.call(this)},t}(s.a),v=function(e){function t(n){var i=e.call(this,t.ID,n,n?"separator text":"separator")||this;return i.checked=!1,i.enabled=!1,i}return g(t,e),t.ID="vs.actions.separator",t}(a.a),_=function(e){function t(t,n,i){void 0===i&&(i={});var o=e.call(this,t,n,i)||this;return o.options=i,o.options.icon=void 0!==i.icon&&i.icon,o.options.label=void 0===i.label||i.label,o.cssClass="",o}return g(t,e),t.prototype.render=function(t){e.prototype.render.call(this,t),this.element&&(this.label=u.m(this.element,u.a("a.action-label"))),this.label&&(this._action.id===v.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(u.m(this.element,u.a("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()},t.prototype.focus=function(){e.prototype.focus.call(this),this.label&&this.label.focus()},t.prototype.updateLabel=function(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)},t.prototype.updateTooltip=function(){var e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=r.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.label&&(this.label.title=e)},t.prototype.updateClass=function(){this.cssClass&&this.label&&u.K(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(u.e(this.label,"codicon"),this.cssClass&&u.f(this.label,this.cssClass)),this.updateEnabled()):this.label&&u.J(this.label,"codicon")},t.prototype.updateEnabled=function(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),u.J(this.label,"disabled"),this.label.tabIndex=0),this.element&&u.J(this.element,"disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),u.e(this.label,"disabled"),u.M(this.label)),this.element&&u.e(this.element,"disabled"))},t.prototype.updateChecked=function(){this.label&&(this.getAction().checked?u.e(this.label,"checked"):u.J(this.label,"checked"))},t}(m),y={orientation:0,context:null,triggerKeys:{keys:[3,10],keyDown:!1}},b=function(e){function t(t,n){void 0===n&&(n=y);var i,o,r=e.call(this)||this;switch(r._onDidBlur=r._register(new h.a),r.onDidBlur=r._onDidBlur.event,r._onDidCancel=r._register(new h.a),r.onDidCancel=r._onDidCancel.event,r._onDidRun=r._register(new h.a),r.onDidRun=r._onDidRun.event,r._onDidBeforeRun=r._register(new h.a),r.onDidBeforeRun=r._onDidBeforeRun.event,r.options=n,r._context=n.context,r.options.triggerKeys||(r.options.triggerKeys=y.triggerKeys),r.options.actionRunner?r._actionRunner=r.options.actionRunner:(r._actionRunner=new a.b,r._register(r._actionRunner)),r._register(r._actionRunner.onDidRun((function(e){return r._onDidRun.fire(e)}))),r._register(r._actionRunner.onDidBeforeRun((function(e){return r._onDidBeforeRun.fire(e)}))),r.viewItems=[],r.focusedItem=void 0,r.domNode=document.createElement("div"),r.domNode.className="monaco-action-bar",!1!==n.animated&&u.e(r.domNode,"animated"),r.options.orientation){case 0:i=15,o=17;break;case 1:i=17,o=15,r.domNode.className+=" reverse";break;case 2:i=16,o=18,r.domNode.className+=" vertical";break;case 3:i=18,o=16,r.domNode.className+=" vertical reverse"}return r._register(u.g(r.domNode,u.c.KEY_DOWN,(function(e){var t=new d.a(e),n=!0;t.equals(i)?r.focusPrevious():t.equals(o)?r.focusNext():t.equals(9)?r.cancel():r.isTriggerKeyEvent(t)?r.options.triggerKeys&&r.options.triggerKeys.keyDown&&r.doTrigger(t):n=!1,n&&(t.preventDefault(),t.stopPropagation())}))),r._register(u.g(r.domNode,u.c.KEY_UP,(function(e){var t=new d.a(e);r.isTriggerKeyEvent(t)?(r.options.triggerKeys&&!r.options.triggerKeys.keyDown&&r.doTrigger(t),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&r.updateFocusedItem()}))),r.focusTracker=r._register(u.T(r.domNode)),r._register(r.focusTracker.onDidBlur((function(){document.activeElement!==r.domNode&&u.E(document.activeElement,r.domNode)||(r._onDidBlur.fire(),r.focusedItem=void 0)}))),r._register(r.focusTracker.onDidFocus((function(){return r.updateFocusedItem()}))),r.actionsList=document.createElement("ul"),r.actionsList.className="actions-container",r.actionsList.setAttribute("role","toolbar"),r.options.ariaLabel&&r.actionsList.setAttribute("aria-label",r.options.ariaLabel),r.domNode.appendChild(r.actionsList),t.appendChild(r.domNode),r}return g(t,e),t.prototype.isTriggerKeyEvent=function(e){var t=!1;return this.options.triggerKeys&&this.options.triggerKeys.keys.forEach((function(n){t=t||e.equals(n)})),t},t.prototype.updateFocusedItem=function(){for(var e=0;e<this.actionsList.children.length;e++){var t=this.actionsList.children[e];if(u.E(document.activeElement,t)){this.focusedItem=e;break}}},Object.defineProperty(t.prototype,"context",{get:function(){return this._context},set:function(e){this._context=e,this.viewItems.forEach((function(t){return t.setActionContext(e)}))},enumerable:!0,configurable:!0}),t.prototype.getContainer=function(){return this.domNode},t.prototype.push=function(e,t){var n=this;void 0===t&&(t={});var i=Array.isArray(e)?e:[e],o=l.h(t.index)?t.index:null;i.forEach((function(e){var i,r=document.createElement("li");r.className="action-item",r.setAttribute("role","presentation"),n._register(u.g(r,u.c.CONTEXT_MENU,(function(e){e.preventDefault(),e.stopPropagation()}))),n.options.actionViewItemProvider&&(i=n.options.actionViewItemProvider(e)),i||(i=new _(n.context,e,t)),i.actionRunner=n._actionRunner,i.setActionContext(n.context),i.render(r),null===o||o<0||o>=n.actionsList.children.length?(n.actionsList.appendChild(r),n.viewItems.push(i)):(n.actionsList.insertBefore(r,n.actionsList.children[o]),n.viewItems.splice(o,0,i),o++)}))},t.prototype.clear=function(){this.viewItems=Object(s.e)(this.viewItems),u.o(this.actionsList)},t.prototype.isEmpty=function(){return 0===this.viewItems.length},t.prototype.focus=function(e){var t=!1,n=void 0;void 0===e?t=!0:"number"==typeof e?n=e:"boolean"==typeof e&&(t=e),t&&void 0===this.focusedItem?(this.focusedItem=this.viewItems.length-1,this.focusNext()):(void 0!==n&&(this.focusedItem=n),this.updateFocus())},t.prototype.focusNext=function(){void 0===this.focusedItem&&(this.focusedItem=this.viewItems.length-1);var e,t=this.focusedItem;do{this.focusedItem=(this.focusedItem+1)%this.viewItems.length,e=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&!e.isEnabled());this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus()},t.prototype.focusPrevious=function(){void 0===this.focusedItem&&(this.focusedItem=0);var e,t=this.focusedItem;do{this.focusedItem=this.focusedItem-1,this.focusedItem<0&&(this.focusedItem=this.viewItems.length-1),e=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&!e.isEnabled());this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0)},t.prototype.updateFocus=function(e,t){void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t});for(var n=0;n<this.viewItems.length;n++){var i=this.viewItems[n];n===this.focusedItem?l.g(i.isEnabled)&&(i.isEnabled()&&l.g(i.focus)?i.focus(e):this.actionsList.focus({preventScroll:t})):l.g(i.blur)&&i.blur()}},t.prototype.doTrigger=function(e){if(void 0!==this.focusedItem){var t=this.viewItems[this.focusedItem];if(t instanceof m){var n=null===t._context||void 0===t._context?e:t._context;this.run(t._action,n)}}},t.prototype.cancel=function(){document.activeElement instanceof HTMLElement&&document.activeElement.blur(),this._onDidCancel.fire()},t.prototype.run=function(e,t){return this._actionRunner.run(e,t)},t.prototype.dispose=function(){Object(s.e)(this.viewItems),this.viewItems=[],u.L(this.getContainer()),e.prototype.dispose.call(this)},t}(s.a)},"X+cX":function(e,t,n){"use strict";n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"e",(function(){return h})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return g}));var i=n("JQT/"),o=n("/cxE"),r=n("pmY6");function s(e){return e&&"function"==typeof e.then}function a(e){var t=new i.a,n=e(t.token),r=new Promise((function(e,i){t.token.onCancellationRequested((function(){i(o.a())})),Promise.resolve(n).then((function(n){t.dispose(),e(n)}),(function(e){t.dispose(),i(e)}))}));return new(function(){function e(){}return e.prototype.cancel=function(){t.cancel()},e.prototype.then=function(e,t){return r.then(e,t)},e.prototype.catch=function(e){return this.then(void 0,e)},e.prototype.finally=function(e){return r.finally(e)},e}())}var u=function(){function e(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}return e.prototype.trigger=function(e,t){var n=this;return void 0===t&&(t=this.defaultDelay),this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((function(e,t){n.doResolve=e,n.doReject=t})).then((function(){if(n.completionPromise=null,n.doResolve=null,n.task){var e=n.task;return n.task=null,e()}}))),this.timeout=setTimeout((function(){n.timeout=null,n.doResolve&&n.doResolve(null)}),t),this.completionPromise},e.prototype.isTriggered=function(){return null!==this.timeout},e.prototype.cancel=function(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(o.a()),this.completionPromise=null)},e.prototype.cancelTimeout=function(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},e.prototype.dispose=function(){this.cancelTimeout()},e}();function l(e,t){return t?new Promise((function(n,i){var r=setTimeout(n,e);t.onCancellationRequested((function(){clearTimeout(r),i(o.a())}))})):a((function(t){return l(e,t)}))}function c(e,t){void 0===t&&(t=0);var n=setTimeout(e,t);return Object(r.f)((function(){return clearTimeout(n)}))}var d,h=function(){function e(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}return e.prototype.dispose=function(){this.cancel()},e.prototype.cancel=function(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)},e.prototype.cancelAndSet=function(e,t){var n=this;this.cancel(),this._token=setTimeout((function(){n._token=-1,e()}),t)},e.prototype.setIfNotSet=function(e,t){var n=this;-1===this._token&&(this._token=setTimeout((function(){n._token=-1,e()}),t))},e}(),f=function(){function e(){this._token=-1}return e.prototype.dispose=function(){this.cancel()},e.prototype.cancel=function(){-1!==this._token&&(clearInterval(this._token),this._token=-1)},e.prototype.cancelAndSet=function(e,t){this.cancel(),this._token=setInterval((function(){e()}),t)},e}(),p=function(){function e(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}return e.prototype.dispose=function(){this.cancel(),this.runner=null},e.prototype.cancel=function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)},e.prototype.schedule=function(e){void 0===e&&(e=this.timeout),this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)},e.prototype.isScheduled=function(){return-1!==this.timeoutToken},e.prototype.onTimeout=function(){this.timeoutToken=-1,this.runner&&this.doRun()},e.prototype.doRun=function(){this.runner&&this.runner()},e}();!function(){if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){var e=Object.freeze({didTimeout:!0,timeRemaining:function(){return 15}});d=function(t){var n=setTimeout((function(){return t(e)})),i=!1;return{dispose:function(){i||(i=!0,clearTimeout(n))}}}}else d=function(e,t){var n=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0),i=!1;return{dispose:function(){i||(i=!0,cancelIdleCallback(n))}}}}();var g=function(){function e(e){var t=this;this._didRun=!1,this._executor=function(){try{t._value=e()}catch(e){t._error=e}finally{t._didRun=!0}},this._handle=d((function(){return t._executor()}))}return e.prototype.dispose=function(){this._handle.dispose()},e.prototype.getValue=function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value},e}()},XQgg:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return n.e(175).then(n.bind(null,"/0xJ"))}})},XSiN:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l}));var i,o=n("D3Dy"),r=n("51f4"),s=n("MNsG"),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){function e(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"==typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);var t=r.a.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}return e.prototype.preventDefault=function(){this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},e.prototype.stopPropagation=function(){this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},e}(),l=(function(e){function t(t){var n=e.call(this,t)||this;return n.dataTransfer=t.dataTransfer,n}a(t,e)}(u),function(){function e(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=0),this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t,e){var i=e,r=e;if(void 0!==i.wheelDeltaY)this.deltaY=i.wheelDeltaY/120;else if(void 0!==r.VERTICAL_AXIS&&r.axis===r.VERTICAL_AXIS)this.deltaY=-r.detail/3;else if("wheel"===e.type){(a=e).deltaMode===a.DOM_DELTA_LINE?this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(void 0!==i.wheelDeltaX)o.k&&s.h?this.deltaX=-i.wheelDeltaX/120:this.deltaX=i.wheelDeltaX/120;else if(void 0!==r.HORIZONTAL_AXIS&&r.axis===r.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if("wheel"===e.type){var a;(a=e).deltaMode===a.DOM_DELTA_LINE?this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}return e.prototype.preventDefault=function(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},e.prototype.stopPropagation=function(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},e}())},XXBq:function(e,t,n){},XXUj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("Cg/j"),o=Object(i.c)("telemetryService")},YBdB:function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var i,o,r,s,a,u=1,l={},c=!1,d=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){p(e.data)},i=function(e){r.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(o=d.documentElement,i=function(e){var t=d.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):i=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),i=function(t){e.postMessage(s+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return l[u]=o,i(u),u++},h.clearImmediate=f}function f(e){delete l[e]}function p(e){if(c)setTimeout(p,0,e);else{var t=l[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{f(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n("yLpj"),n("KCCg"))},ZCR3:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=0;function o(e,t,n){return function(){var e="$memoize"+i++,t=void 0,n=function(n,i,o){var r=null,s=null;if("function"==typeof o.value?(r="value",0!==(s=o.value).length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof o.get&&(r="get",s=o.get),!s)throw new Error("not supported");var a=e+":"+i;o[r]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t=this,this.hasOwnProperty(a)||Object.defineProperty(this,a,{configurable:!0,enumerable:!1,writable:!0,value:s.apply(this,e)}),this[a]}};return n.clear=function(){void 0!==t&&Object.getOwnPropertyNames(t).forEach((function(n){0===n.indexOf(e)&&delete t[n]}))},n}()(e,t,n)}},ZQ78:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r}));var i={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"},o=function(){function e(e){this.data=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.data},e}(),r={CurrentDragAndDropData:void 0}},ZlPH:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n("EffR"),o=function(){function e(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none"}return e.prototype.setMaxWidth=function(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")},e.prototype.setWidth=function(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")},e.prototype.setHeight=function(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")},e.prototype.setTop=function(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")},e.prototype.unsetTop=function(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")},e.prototype.setLeft=function(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")},e.prototype.setBottom=function(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")},e.prototype.setRight=function(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")},e.prototype.setFontFamily=function(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)},e.prototype.setFontWeight=function(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)},e.prototype.setFontSize=function(e){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")},e.prototype.setFontFeatureSettings=function(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)},e.prototype.setLineHeight=function(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")},e.prototype.setLetterSpacing=function(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")},e.prototype.setClassName=function(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)},e.prototype.toggleClassName=function(e,t){i.S(this.domNode,e,t),this._className=this.domNode.className},e.prototype.setDisplay=function(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)},e.prototype.setPosition=function(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)},e.prototype.setVisibility=function(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)},e.prototype.setBackgroundColor=function(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)},e.prototype.setLayerHinting=function(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")},e.prototype.setContain=function(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)},e.prototype.setAttribute=function(e,t){this.domNode.setAttribute(e,t)},e.prototype.removeAttribute=function(e){this.domNode.removeAttribute(e)},e.prototype.appendChild=function(e){this.domNode.appendChild(e.domNode)},e.prototype.removeChild=function(e){this.domNode.removeChild(e.domNode)},e}();function r(e){return new o(e)}},ZvGG:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return n.e(158).then(n.bind(null,"yUwd"))}})},ajgA:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return n.e(171).then(n.bind(null,"Fzfo"))}})},aokT:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("cGHE"),o=function(){function e(e,t,n,i){e>n||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},e.prototype.containsPosition=function(t){return e.containsPosition(this,t)},e.containsPosition=function(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))},e.prototype.containsRange=function(t){return e.containsRange(this,t)},e.containsRange=function(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))},e.prototype.strictContainsRange=function(t){return e.strictContainsRange(this,t)},e.strictContainsRange=function(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))},e.prototype.plusRange=function(t){return e.plusRange(this,t)},e.plusRange=function(t,n){var i,o,r,s;return n.startLineNumber<t.startLineNumber?(i=n.startLineNumber,o=n.startColumn):n.startLineNumber===t.startLineNumber?(i=n.startLineNumber,o=Math.min(n.startColumn,t.startColumn)):(i=t.startLineNumber,o=t.startColumn),n.endLineNumber>t.endLineNumber?(r=n.endLineNumber,s=n.endColumn):n.endLineNumber===t.endLineNumber?(r=n.endLineNumber,s=Math.max(n.endColumn,t.endColumn)):(r=t.endLineNumber,s=t.endColumn),new e(i,o,r,s)},e.prototype.intersectRanges=function(t){return e.intersectRanges(this,t)},e.intersectRanges=function(t,n){var i=t.startLineNumber,o=t.startColumn,r=t.endLineNumber,s=t.endColumn,a=n.startLineNumber,u=n.startColumn,l=n.endLineNumber,c=n.endColumn;return i<a?(i=a,o=u):i===a&&(o=Math.max(o,u)),r>l?(r=l,s=c):r===l&&(s=Math.min(s,c)),i>r||i===r&&o>s?null:new e(i,o,r,s)},e.prototype.equalsRange=function(t){return e.equalsRange(this,t)},e.equalsRange=function(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn},e.prototype.getEndPosition=function(){return new i.a(this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new i.a(this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(t,n){return new e(this.startLineNumber,this.startColumn,t,n)},e.prototype.setStartPosition=function(t,n){return new e(t,n,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)},e.fromPositions=function(t,n){return void 0===n&&(n=t),new e(t.lineNumber,t.column,n.lineNumber,n.column)},e.lift=function(t){return t?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null},e.isIRange=function(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn},e.areIntersectingOrTouching=function(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)},e.areIntersecting=function(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)},e.compareRangesUsingStarts=function(e,t){if(e&&t){var n=0|e.startLineNumber,i=0|t.startLineNumber;if(n===i){var o=0|e.startColumn,r=0|t.startColumn;if(o===r){var s=0|e.endLineNumber,a=0|t.endLineNumber;return s===a?(0|e.endColumn)-(0|t.endColumn):s-a}return o-r}return n-i}return(e?1:0)-(t?1:0)},e.compareRangesUsingEnds=function(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber},e.spansMultipleLines=function(e){return e.endLineNumber>e.startLineNumber},e}()},bY76:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i,o,r=n("MNsG"),s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=/^\w[\w\d+.-]*$/,u=/^\//,l=/^\/\//;var c="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,h=function(){function e(e,t,n,i,o,r){void 0===r&&(r=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,r),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==c&&(t=c+t):t=c}return t}(this.scheme,n||""),this.query=i||"",this.fragment=o||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!a.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!u.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,r))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return _(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,o=e.query,r=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===o?o=this.query:null===o&&(o=""),void 0===r?r=this.fragment:null===r&&(r=""),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&r===this.fragment?this:new p(t,n,i,o,r)},e.parse=function(e,t){void 0===t&&(t=!1);var n=d.exec(e);return n?new p(n[2]||"",C(n[4]||""),C(n[5]||""),C(n[7]||""),C(n[9]||""),t):new p("","","","","")},e.file=function(e){var t="";if(r.h&&(e=e.replace(/\\/g,c)),e[0]===c&&e[1]===c){var n=e.indexOf(c,2);-1===n?(t=e.substring(2),e=c):(t=e.substring(2,n),e=e.substring(n)||c)}return new p("file",t,e,"","")},e.from=function(e){return new p(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),y(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new p(t);return n._formatted=t.external,n._fsPath=t._sep===f?t.fsPath:null,n}return t},e}(),f=r.h?1:void 0,p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=_(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=f),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(h),g=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function m(e,t){for(var n=void 0,i=-1,o=0;o<e.length;o++){var r=e.charCodeAt(o);if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));var s=g[r];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),n+=s):-1===i&&(i=o)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function v(e){for(var t=void 0,n=0;n<e.length;n++){var i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=g[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function _(e){var t;return t=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,r.h&&(t=t.replace(/\//g,"\\")),t}function y(e,t){var n=t?v:m,i="",o=e.scheme,r=e.authority,s=e.path,a=e.query,u=e.fragment;if(o&&(i+=o,i+=":"),(r||"file"===o)&&(i+=c,i+=c),r){var l=r.indexOf("@");if(-1!==l){var d=r.substr(0,l);r=r.substr(l+1),-1===(l=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,l),!1),i+=":",i+=n(d.substr(l+1),!1)),i+="@"}-1===(l=(r=r.toLowerCase()).indexOf(":"))?i+=n(r,!1):(i+=n(r.substr(0,l),!1),i+=r.substr(l))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(h=s.charCodeAt(1))>=65&&h<=90&&(s="/"+String.fromCharCode(h+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var h;(h=s.charCodeAt(0))>=65&&h<=90&&(s=String.fromCharCode(h+32)+":"+s.substr(2))}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),u&&(i+="#",i+=t?u:m(u,!1)),i}var b=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function C(e){return e.match(b)?e.replace(b,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}},bexQ:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("Cg/j"),o=Object(i.c)("keybindingService")},c2dO:function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return o}));n("M/lh");var i=monaco.Emitter,o=function(){function e(e,t,n){this._onDidChange=new i,this._languageId=e,this.setOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!0,configurable:!0}),e.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),r={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:null,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},s={format:r,suggest:{html5:!0}},a={format:r,suggest:{html5:!0,razor:!0}};function u(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===l,documentFormattingEdits:e===l,documentRangeFormattingEdits:e===l}}var l="html",c=new o(l,{format:r,suggest:{html5:!0,angular1:!0,ionic:!0}},u(l)),d=new o("handlebars",s,u("handlebars")),h=new o("razor",a,u("razor"));function f(){return n.e(130).then(n.bind(null,"+lu7"))}monaco.languages.html={htmlDefaults:c,razorDefaults:h,handlebarDefaults:d},monaco.languages.onLanguage(l,(function(){f().then((function(e){return e.setupMode(c)}))})),monaco.languages.onLanguage("handlebars",(function(){f().then((function(e){return e.setupMode(d)}))})),monaco.languages.onLanguage("razor",(function(){f().then((function(e){return e.setupMode(h)}))}))},c9ML:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:function(){return n.e(178).then(n.bind(null,"QJnQ"))}})},cGHE:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(){function e(e,t){this.lineNumber=e,this.column=t}return e.prototype.with=function(t,n){return void 0===t&&(t=this.lineNumber),void 0===n&&(n=this.column),t===this.lineNumber&&n===this.column?this:new e(t,n)},e.prototype.delta=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=0),this.with(this.lineNumber+e,this.column+t)},e.prototype.equals=function(t){return e.equals(this,t)},e.equals=function(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column},e.prototype.isBefore=function(t){return e.isBefore(this,t)},e.isBefore=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column},e.prototype.isBeforeOrEqual=function(t){return e.isBeforeOrEqual(this,t)},e.isBeforeOrEqual=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column},e.compare=function(e,t){var n=0|e.lineNumber,i=0|t.lineNumber;return n===i?(0|e.column)-(0|t.column):n-i},e.prototype.clone=function(){return new e(this.lineNumber,this.column)},e.prototype.toString=function(){return"("+this.lineNumber+","+this.column+")"},e.lift=function(t){return new e(t.lineNumber,t.column)},e.isIPosition=function(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column},e}()},cMOf:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));n("undH");var i,o=n("pmY6"),r=n("D3Dy"),s=n("MNsG"),a=n("746U"),u=n("pg8w"),l=n("XSiN"),c=n("MI8n"),d=n("EffR"),h=n("4y0V"),f=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},g=function(e){function t(t,n,i){void 0===i&&(i={});var a=e.call(this)||this;return a._state=3,a._onDidEnablementChange=a._register(new c.a),a.onDidEnablementChange=a._onDidEnablementChange.event,a._onDidStart=a._register(new c.a),a.onDidStart=a._onDidStart.event,a._onDidChange=a._register(new c.a),a.onDidChange=a._onDidChange.event,a._onDidReset=a._register(new c.a),a.onDidReset=a._onDidReset.event,a._onDidEnd=a._register(new c.a),a.onDidEnd=a._onDidEnd.event,a.linkedSash=void 0,a.orthogonalStartSashDisposables=a._register(new o.b),a.orthogonalEndSashDisposables=a._register(new o.b),a.el=Object(d.m)(t,Object(d.a)(".monaco-sash")),s.e&&Object(d.e)(a.el,"mac"),a._register(Object(h.a)(a.el,"mousedown")(a.onMouseDown,a)),a._register(Object(h.a)(a.el,"dblclick")(a.onMouseDoubleClick,a)),a._register(u.b.addTarget(a.el)),a._register(Object(h.a)(a.el,u.a.Start)(a.onTouchStart,a)),r.j&&Object(d.e)(a.el,"touch"),a.setOrientation(i.orientation||0),a.hidden=!1,a.layoutProvider=n,a.orthogonalStartSash=i.orthogonalStartSash,a.orthogonalEndSash=i.orthogonalEndSash,Object(d.S)(a.el,"debug",!1),a}return f(t,e),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},set:function(e){this._state!==e&&(Object(d.S)(this.el,"disabled",0===e),Object(d.S)(this.el,"minimum",1===e),Object(d.S)(this.el,"maximum",2===e),this._state=e,this._onDidEnablementChange.fire(e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orthogonalStartSash",{get:function(){return this._orthogonalStartSash},set:function(e){this.orthogonalStartSashDisposables.clear(),e?(this.orthogonalStartSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this)),this.onOrthogonalStartSashEnablementChange(e.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orthogonalEndSash",{get:function(){return this._orthogonalEndSash},set:function(e){this.orthogonalEndSashDisposables.clear(),e?(this.orthogonalEndSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this)),this.onOrthogonalEndSashEnablementChange(e.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=e},enumerable:!0,configurable:!0}),t.prototype.setOrientation=function(e){this.orientation=e,1===this.orientation?(Object(d.e)(this.el,"horizontal"),Object(d.J)(this.el,"vertical")):(Object(d.J)(this.el,"horizontal"),Object(d.e)(this.el,"vertical")),this.layoutProvider&&this.layout()},t.prototype.onMouseDown=function(e){var t=this;d.b.stop(e,!1);var n=!1;if(!e.__orthogonalSashEvent){var i=this.getOrthogonalSash(e);i&&(n=!0,e.__orthogonalSashEvent=!0,i.onMouseDown(e))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onMouseDown(e)),this.state){for(var r=p(Object(d.x)("iframe"),Object(d.x)("webview")),a=0,u=r;a<u.length;a++){u[a].style.pointerEvents="none"}var c=new l.a(e),f=c.posx,g=c.posy,m=c.altKey,v={startX:f,currentX:f,startY:g,currentY:g,altKey:m};Object(d.e)(this.el,"active"),this._onDidStart.fire(v);var _=Object(d.q)(this.el),y=function(){var e="";e=n?"all-scroll":1===t.orientation?1===t.state?"s-resize":2===t.state?"n-resize":s.e?"row-resize":"ns-resize":1===t.state?"e-resize":2===t.state?"w-resize":s.e?"col-resize":"ew-resize",_.innerHTML="* { cursor: "+e+" !important; }"},b=new o.b;y(),n||this.onDidEnablementChange(y,null,b);Object(h.a)(window,"mousemove")((function(e){d.b.stop(e,!1);var n=new l.a(e),i={startX:f,currentX:n.posx,startY:g,currentY:n.posy,altKey:m};t._onDidChange.fire(i)}),null,b),Object(h.a)(window,"mouseup")((function(e){d.b.stop(e,!1),t.el.removeChild(_),Object(d.J)(t.el,"active"),t._onDidEnd.fire(),b.dispose();for(var n=0,i=r;n<i.length;n++){i[n].style.pointerEvents="auto"}}),null,b)}},t.prototype.onMouseDoubleClick=function(e){var t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()},t.prototype.onTouchStart=function(e){var t=this;d.b.stop(e);var n=[],i=e.pageX,r=e.pageY,s=e.altKey;this._onDidStart.fire({startX:i,currentX:i,startY:r,currentY:r,altKey:s}),n.push(Object(d.g)(this.el,u.a.Change,(function(e){a.h(e.pageX)&&a.h(e.pageY)&&t._onDidChange.fire({startX:i,currentX:e.pageX,startY:r,currentY:e.pageY,altKey:s})}))),n.push(Object(d.g)(this.el,u.a.End,(function(e){t._onDidEnd.fire(),Object(o.e)(n)})))},t.prototype.layout=function(){var e=r.j?20:4;if(0===this.orientation){var t=this.layoutProvider;this.el.style.left=t.getVerticalSashLeft(this)-e/2+"px",t.getVerticalSashTop&&(this.el.style.top=t.getVerticalSashTop(this)+"px"),t.getVerticalSashHeight&&(this.el.style.height=t.getVerticalSashHeight(this)+"px")}else{var n=this.layoutProvider;this.el.style.top=n.getHorizontalSashTop(this)-e/2+"px",n.getHorizontalSashLeft&&(this.el.style.left=n.getHorizontalSashLeft(this)+"px"),n.getHorizontalSashWidth&&(this.el.style.width=n.getHorizontalSashWidth(this)+"px")}},t.prototype.hide=function(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")},t.prototype.onOrthogonalStartSashEnablementChange=function(e){Object(d.S)(this.el,"orthogonal-start",0!==e)},t.prototype.onOrthogonalEndSashEnablementChange=function(e){Object(d.S)(this.el,"orthogonal-end",0!==e)},t.prototype.getOrthogonalSash=function(e){if(0===this.orientation){if(e.offsetY<=4)return this.orthogonalStartSash;if(e.offsetY>=this.el.clientHeight-4)return this.orthogonalEndSash}else{if(e.offsetX<=4)return this.orthogonalStartSash;if(e.offsetX>=this.el.clientWidth-4)return this.orthogonalEndSash}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.el.remove()},t}(o.a)},cMvZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("MI8n"),o=n("pmY6"),r=n("N0LK"),s=n("0JNc"),a=n("KDc4"),u=n("BFtn"),l=function(){function e(t){if(t.autoClosingPairs?this._autoClosingPairs=t.autoClosingPairs.map((function(e){return new a.b(e)})):t.brackets?this._autoClosingPairs=t.brackets.map((function(e){return new a.b({open:e[0],close:e[1]})})):this._autoClosingPairs=[],t.__electricCharacterSupport&&t.__electricCharacterSupport.docComment){var n=t.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new a.b({open:n.open,close:n.close||""}))}this._autoCloseBefore="string"==typeof t.autoCloseBefore?t.autoCloseBefore:e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=t.surroundingPairs||this._autoClosingPairs}return e.prototype.getAutoClosingPairs=function(){return this._autoClosingPairs},e.prototype.getAutoCloseBeforeSet=function(){return this._autoCloseBefore},e.shouldAutoClosePair=function(e,t,n){if(0===t.getTokenCount())return!0;var i=t.findTokenIndexAtOffset(n-2),o=t.getStandardTokenType(i);return e.isOK(o)},e.prototype.getSurroundingPairs=function(){return this._surroundingPairs},e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t",e}(),c=n("EIAu"),d=function(){function e(e){this._richEditBrackets=e}return e.prototype.getElectricCharacters=function(){var e=[];if(this._richEditBrackets)for(var t=0,n=this._richEditBrackets.brackets;t<n.length;t++)for(var i=0,o=n[t].close;i<o.length;i++){var r=o[i],s=r.charAt(r.length-1);e.push(s)}return e=e.filter((function(e,t,n){return n.indexOf(e)===t}))},e.prototype.onElectricCharacter=function(e,t,n){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;var i=t.findTokenIndexAtOffset(n-1);if(Object(u.b)(t.getStandardTokenType(i)))return null;var o=this._richEditBrackets.reversedRegex,r=t.getLineContent().substring(0,n-1)+e,s=c.a.findPrevBracketInRange(o,1,r,0,r.length);if(!s)return null;var a=r.substring(s.startColumn-1,s.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[a])return null;var l=t.getActualLineContentBefore(s.startColumn-1);return/^\s*$/.test(l)?{matchOpenBracket:a}:null},e}(),h=function(){function e(e){this._indentationRules=e}return e.prototype.shouldIncrease=function(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&this._indentationRules.increaseIndentPattern.test(e))},e.prototype.shouldDecrease=function(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&this._indentationRules.decreaseIndentPattern.test(e))},e.prototype.shouldIndentNextLine=function(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&this._indentationRules.indentNextLinePattern.test(e))},e.prototype.shouldIgnore=function(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&this._indentationRules.unIndentedLinePattern.test(e))},e.prototype.getIndentMetadata=function(e){var t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t},e}(),f=n("/cxE"),p=function(){function e(t){var n=this;(t=t||{}).brackets=t.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],t.brackets.forEach((function(t){var i=e._createOpenBracketRegExp(t[0]),o=e._createCloseBracketRegExp(t[1]);i&&o&&n._brackets.push({open:t[0],openRegExp:i,close:t[1],closeRegExp:o})})),this._regExpRules=t.onEnterRules||[]}return e.prototype.onEnter=function(e,t,n,i){if(e>=3)for(var o=0,r=this._regExpRules.length;o<r;o++){var s=this._regExpRules[o];if([{reg:s.beforeText,text:n},{reg:s.afterText,text:i},{reg:s.oneLineAboveText,text:t}].every((function(e){return!e.reg||e.reg.test(e.text)})))return s.action}if(e>=2&&n.length>0&&i.length>0)for(o=0,r=this._brackets.length;o<r;o++){if((u=this._brackets[o]).openRegExp.test(n)&&u.closeRegExp.test(i))return{indentAction:a.a.IndentOutdent}}if(e>=2&&n.length>0)for(o=0,r=this._brackets.length;o<r;o++){var u;if((u=this._brackets[o]).openRegExp.test(n))return{indentAction:a.a.Indent}}return null},e._createOpenBracketRegExp=function(t){var n=r.n(t);return/\B/.test(n.charAt(0))||(n="\\b"+n),n+="\\s*$",e._safeRegExp(n)},e._createCloseBracketRegExp=function(t){var n=r.n(t);return/\B/.test(n.charAt(n.length-1))||(n+="\\b"),n="^\\s*"+n,e._safeRegExp(n)},e._safeRegExp=function(e){try{return new RegExp(e)}catch(e){return Object(f.e)(e),null}},e}(),g=function(){function e(t,n,i){this._languageIdentifier=t,this._brackets=null,this._electricCharacter=null;var o=null;n&&(o=n._conf),this._conf=e._mergeConf(o,i),this._onEnterSupport=this._conf.brackets||this._conf.indentationRules||this._conf.onEnterRules?new p(this._conf):null,this.comments=e._handleComments(this._conf),this.characterPair=new l(this._conf),this.wordDefinition=this._conf.wordPattern||s.a,this.indentationRules=this._conf.indentationRules,this._conf.indentationRules?this.indentRulesSupport=new h(this._conf.indentationRules):this.indentRulesSupport=null,this.foldingRules=this._conf.folding||{}}return Object.defineProperty(e.prototype,"brackets",{get:function(){return!this._brackets&&this._conf.brackets&&(this._brackets=new c.b(this._languageIdentifier,this._conf.brackets)),this._brackets},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"electricCharacter",{get:function(){return this._electricCharacter||(this._electricCharacter=new d(this.brackets)),this._electricCharacter},enumerable:!0,configurable:!0}),e.prototype.onEnter=function(e,t,n,i){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,n,i):null},e._mergeConf=function(e,t){return{comments:e?t.comments||e.comments:t.comments,brackets:e?t.brackets||e.brackets:t.brackets,wordPattern:e?t.wordPattern||e.wordPattern:t.wordPattern,indentationRules:e?t.indentationRules||e.indentationRules:t.indentationRules,onEnterRules:e?t.onEnterRules||e.onEnterRules:t.onEnterRules,autoClosingPairs:e?t.autoClosingPairs||e.autoClosingPairs:t.autoClosingPairs,surroundingPairs:e?t.surroundingPairs||e.surroundingPairs:t.surroundingPairs,autoCloseBefore:e?t.autoCloseBefore||e.autoCloseBefore:t.autoCloseBefore,folding:e?t.folding||e.folding:t.folding,__electricCharacterSupport:e?t.__electricCharacterSupport||e.__electricCharacterSupport:t.__electricCharacterSupport}},e._handleComments=function(e){var t=e.comments;if(!t)return null;var n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){var i=t.blockComment,o=i[0],r=i[1];n.blockCommentStartToken=o,n.blockCommentEndToken=r}return n},e}(),m=function(e){this.languageIdentifier=e},v=new(function(){function e(){this._entries=new Map,this._onDidChange=new i.a,this.onDidChange=this._onDidChange.event}return e.prototype.register=function(e,t){var n=this,i=this._getRichEditSupport(e.id),r=new g(e,i,t);return this._entries.set(e.id,r),this._onDidChange.fire(new m(e)),Object(o.f)((function(){n._entries.get(e.id)===r&&(n._entries.set(e.id,i),n._onDidChange.fire(new m(e)))}))},e.prototype._getRichEditSupport=function(e){return this._entries.get(e)},e.prototype._getElectricCharacterSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.electricCharacter||null},e.prototype.getElectricCharacters=function(e){var t=this._getElectricCharacterSupport(e);return t?t.getElectricCharacters():[]},e.prototype.onElectricCharacter=function(e,t,n){var i=Object(u.a)(t,n-1),o=this._getElectricCharacterSupport(i.languageId);return o?o.onElectricCharacter(e,i,n-i.firstCharOffset):null},e.prototype.getComments=function(e){var t=this._getRichEditSupport(e);return t&&t.comments||null},e.prototype._getCharacterPairSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.characterPair||null},e.prototype.getAutoClosingPairs=function(e){var t=this._getCharacterPairSupport(e);return t?t.getAutoClosingPairs():[]},e.prototype.getAutoCloseBeforeSet=function(e){var t=this._getCharacterPairSupport(e);return t?t.getAutoCloseBeforeSet():l.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED},e.prototype.getSurroundingPairs=function(e){var t=this._getCharacterPairSupport(e);return t?t.getSurroundingPairs():[]},e.prototype.shouldAutoClosePair=function(e,t,n){var i=Object(u.a)(t,n-1);return l.shouldAutoClosePair(e,i,n-i.firstCharOffset)},e.prototype.getWordDefinition=function(e){var t=this._getRichEditSupport(e);return t?Object(s.c)(t.wordDefinition||null):Object(s.c)(null)},e.prototype.getFoldingRules=function(e){var t=this._getRichEditSupport(e);return t?t.foldingRules:{}},e.prototype.getIndentRulesSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.indentRulesSupport||null},e.prototype.getPrecedingValidLine=function(e,t,n){var i=e.getLanguageIdAtPosition(t,0);if(t>1){var o=void 0,r=-1;for(o=t-1;o>=1;o--){if(e.getLanguageIdAtPosition(o,0)!==i)return r;var s=e.getLineContent(o);if(!n.shouldIgnore(s)&&!/^\s+$/.test(s)&&""!==s)return o;r=o}}return-1},e.prototype.getInheritIndentForLine=function(e,t,n,i){if(void 0===i&&(i=!0),e<4)return null;var o=this.getIndentRulesSupport(t.getLanguageIdentifier().id);if(!o)return null;if(n<=1)return{indentation:"",action:null};var s=this.getPrecedingValidLine(t,n,o);if(s<0)return null;if(s<1)return{indentation:"",action:null};var u=t.getLineContent(s);if(o.shouldIncrease(u)||o.shouldIndentNextLine(u))return{indentation:r.r(u),action:a.a.Indent,line:s};if(o.shouldDecrease(u))return{indentation:r.r(u),action:null,line:s};if(1===s)return{indentation:r.r(t.getLineContent(s)),action:null,line:s};var l=s-1,c=o.getIndentMetadata(t.getLineContent(l));if(!(3&c)&&4&c){for(var d=0,h=l-1;h>0;h--)if(!o.shouldIndentNextLine(t.getLineContent(h))){d=h;break}return{indentation:r.r(t.getLineContent(d+1)),action:null,line:d+1}}if(i)return{indentation:r.r(t.getLineContent(s)),action:null,line:s};for(h=s;h>0;h--){var f=t.getLineContent(h);if(o.shouldIncrease(f))return{indentation:r.r(f),action:a.a.Indent,line:h};if(o.shouldIndentNextLine(f)){d=0;for(var p=h-1;p>0;p--)if(!o.shouldIndentNextLine(t.getLineContent(h))){d=p;break}return{indentation:r.r(t.getLineContent(d+1)),action:null,line:d+1}}if(o.shouldDecrease(f))return{indentation:r.r(f),action:null,line:h}}return{indentation:r.r(t.getLineContent(1)),action:null,line:1}},e.prototype.getGoodIndentForLine=function(e,t,n,i,o){if(e<4)return null;var s=this._getRichEditSupport(n);if(!s)return null;var u=this.getIndentRulesSupport(n);if(!u)return null;var l=this.getInheritIndentForLine(e,t,i),c=t.getLineContent(i);if(l){var d=l.line;if(void 0!==d){var h=s.onEnter(e,"",t.getLineContent(d),"");if(h){var f=r.r(t.getLineContent(d));return h.removeText&&(f=f.substring(0,f.length-h.removeText)),h.indentAction===a.a.Indent||h.indentAction===a.a.IndentOutdent?f=o.shiftIndent(f):h.indentAction===a.a.Outdent&&(f=o.unshiftIndent(f)),u.shouldDecrease(c)&&(f=o.unshiftIndent(f)),h.appendText&&(f+=h.appendText),r.r(f)}}return u.shouldDecrease(c)?l.action===a.a.Indent?l.indentation:o.unshiftIndent(l.indentation):l.action===a.a.Indent?o.shiftIndent(l.indentation):l.indentation}return null},e.prototype.getIndentForEnter=function(e,t,n,i){if(e<4)return null;t.forceTokenization(n.startLineNumber);var o,s,l=t.getLineTokens(n.startLineNumber),c=Object(u.a)(l,n.startColumn-1),d=c.getLineContent(),h=!1;(c.firstCharOffset>0&&l.getLanguageId(0)!==c.languageId?(h=!0,o=d.substr(0,n.startColumn-1-c.firstCharOffset)):o=l.getLineContent().substring(0,n.startColumn-1),n.isEmpty())?s=d.substr(n.startColumn-1-c.firstCharOffset):s=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-c.firstCharOffset);var f=this.getIndentRulesSupport(c.languageId);if(!f)return null;var p=o,g=r.r(o),m={getLineTokens:function(e){return t.getLineTokens(e)},getLanguageIdentifier:function(){return t.getLanguageIdentifier()},getLanguageIdAtPosition:function(e,n){return t.getLanguageIdAtPosition(e,n)},getLineContent:function(e){return e===n.startLineNumber?p:t.getLineContent(e)}},v=r.r(l.getLineContent()),_=this.getInheritIndentForLine(e,m,n.startLineNumber+1);if(!_){var y=h?v:g;return{beforeEnter:y,afterEnter:y}}var b=h?v:_.indentation;return _.action===a.a.Indent&&(b=i.shiftIndent(b)),f.shouldDecrease(s)&&(b=i.unshiftIndent(b)),{beforeEnter:h?v:g,afterEnter:b}},e.prototype.getIndentActionForType=function(e,t,n,i,o){if(e<4)return null;var r=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),s=this.getIndentRulesSupport(r.languageId);if(!s)return null;var u,l=r.getLineContent(),c=l.substr(0,n.startColumn-1-r.firstCharOffset);n.isEmpty()?u=l.substr(n.startColumn-1-r.firstCharOffset):u=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-r.firstCharOffset);if(!s.shouldDecrease(c+u)&&s.shouldDecrease(c+i+u)){var d=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!d)return null;var h=d.indentation;return d.action!==a.a.Indent&&(h=o.unshiftIndent(h)),h}return null},e.prototype.getIndentMetadata=function(e,t){var n=this.getIndentRulesSupport(e.getLanguageIdentifier().id);return n?t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t)):null},e.prototype.getEnterAction=function(e,t,n){var i=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),o=this._getRichEditSupport(i.languageId);if(!o)return null;var r,s=i.getLineContent(),u=s.substr(0,n.startColumn-1-i.firstCharOffset);n.isEmpty()?r=s.substr(n.startColumn-1-i.firstCharOffset):r=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-i.firstCharOffset);var l="";if(n.startLineNumber>1&&0===i.firstCharOffset){var c=this.getScopedLineTokens(t,n.startLineNumber-1);c.languageId===i.languageId&&(l=c.getLineContent())}var d=o.onEnter(e,l,u,r);if(!d)return null;var h=d.indentAction,f=d.appendText,p=d.removeText||0;f||(f=h===a.a.Indent||h===a.a.IndentOutdent?"\t":"");var g=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return p&&(g=g.substring(0,g.length-p)),{indentAction:h,appendText:f,removeText:p,indentation:g}},e.prototype.getIndentationAtPosition=function(e,t,n){var i=e.getLineContent(t),o=r.r(i);return o.length>n-1&&(o=o.substring(0,n-1)),o},e.prototype.getScopedLineTokens=function(e,t,n){e.forceTokenization(t);var i=e.getLineTokens(t),o=void 0===n?e.getLineMaxColumn(t)-1:n-1;return Object(u.a)(i,o)},e.prototype.getBracketsSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.brackets||null},e}())},cl4r:function(e,t,n){},cldp:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"javascript",extensions:[".js",".es6",".jsx"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return n.e(128).then(n.bind(null,"7Xl7"))}})},eC1c:function(e,t,n){},eizg:function(e,t,n){},eq1K:function(e,t,n){},fjLI:function(e,t,n){"use strict";n.d(t,"e",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return v})),n.d(t,"b",(function(){return _}));var i,o=n("8HAY"),r=n("Cg/j"),s=n("T8No"),a=n("nnTU"),u=n("MI8n"),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},d=function(e,t){return function(n,i){t(n,i,e)}},h=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i};function f(e){return void 0!==e.command}var p=Object(r.c)("menuService"),g=new(function(){function e(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new u.a,this.onDidChangeMenu=this._onDidChangeMenu.event}return e.prototype.addCommand=function(e){var t=this;return this._commands.set(e.id,e),this._onDidChangeMenu.fire(0),{dispose:function(){t._commands.delete(e.id)&&t._onDidChangeMenu.fire(0)}}},e.prototype.getCommand=function(e){return this._commands.get(e)},e.prototype.getCommands=function(){var e=new Map;return this._commands.forEach((function(t,n){return e.set(n,t)})),e},e.prototype.appendMenuItem=function(e,t){var n=this,i=this._menuItems.get(e);return i?i.push(t):(i=[t],this._menuItems.set(e,i)),this._onDidChangeMenu.fire(e),{dispose:function(){var o=i.indexOf(t);o>=0&&(i.splice(o,1),n._onDidChangeMenu.fire(e))}}},e.prototype.getMenuItems=function(e){var t=(this._menuItems.get(e)||[]).slice(0);return 0===e&&this._appendImplicitItems(t),t},e.prototype._appendImplicitItems=function(e){for(var t=new Set,n=0,i=e.filter((function(e){return f(e)}));n<i.length;n++){var o=i[n],r=o.command,s=o.alt;t.add(r.id),s&&t.add(s.id)}this._commands.forEach((function(n,i){t.has(i)||e.push({command:n})}))},e}()),m=function(e){function t(t,n,i){var o=e.call(this,t,n)||this;return o._commandService=i,o}return l(t,e),t.prototype.run=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(e=this._commandService).executeCommand.apply(e,h([this.id],t))},t=c([d(2,a.b)],t)}(o.a),v=function(e){function t(t){var n=this;return(n="string"==typeof t.title?e.call(this,"",t.title,"submenu")||this:e.call(this,"",t.title.value,"submenu")||this).item=t,n}return l(t,e),t}(o.a),_=function(e){function t(n,i,o,r,s){var a=this;return(a="string"==typeof n.title?e.call(this,n.id,n.title,s)||this:e.call(this,n.id,n.title.value,s)||this)._cssClass=void 0,a._enabled=!n.precondition||r.contextMatchesRules(n.precondition),a._checked=Boolean(n.toggled&&r.contextMatchesRules(n.toggled)),a._options=o||{},a.item=n,a.alt=i?new t(i,void 0,a._options,r,s):void 0,a}return l(t,e),t.prototype.dispose=function(){this.alt&&this.alt.dispose(),e.prototype.dispose.call(this)},t.prototype.run=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=[];return this._options.arg&&(i=h(i,[this._options.arg])),this._options.shouldForwardArgs&&(i=h(i,t)),e.prototype.run.apply(this,i)},t=c([d(3,s.c),d(4,a.b)],t)}(m)},gCVg:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i,o=n("cGHE"),r=n("aokT"),s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e){function t(t,n,i,o){var r=e.call(this,t,n,i,o)||this;return r.selectionStartLineNumber=t,r.selectionStartColumn=n,r.positionLineNumber=i,r.positionColumn=o,r}return s(t,e),t.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},t.prototype.equalsSelection=function(e){return t.selectionsEqual(this,e)},t.selectionsEqual=function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn},t.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},t.prototype.setEndPosition=function(e,n){return 0===this.getDirection()?new t(this.startLineNumber,this.startColumn,e,n):new t(e,n,this.startLineNumber,this.startColumn)},t.prototype.getPosition=function(){return new o.a(this.positionLineNumber,this.positionColumn)},t.prototype.setStartPosition=function(e,n){return 0===this.getDirection()?new t(e,n,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,e,n)},t.fromPositions=function(e,n){return void 0===n&&(n=e),new t(e.lineNumber,e.column,n.lineNumber,n.column)},t.liftSelection=function(e){return new t(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},t.selectionsArrEqual=function(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(var n=0,i=e.length;n<i;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0},t.isISelection=function(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn},t.createWithDirection=function(e,n,i,o,r){return 0===r?new t(e,n,i,o):new t(i,o,e,n)},t}(r.a)},gqHg:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return n.e(26).then(n.bind(null,"fhwZ"))}}),Object(i.a)({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return n.e(26).then(n.bind(null,"fhwZ"))}})},hFdI:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:function(){return n.e(154).then(n.bind(null,"tpLM"))}})},hHjc:function(e,t,n){},"i/Ef":function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return l}));var i=n("Tcc1"),o=n("twdY"),r=new(function(){function e(){}return e.prototype.clone=function(){return this},e.prototype.equals=function(e){return this===e},e}()),s="vs.editor.nullMode",a=new o.q(s,0);function u(e,t,n,o){return new i.b([new i.a(o,"",e)],n)}function l(e,t,n,o){var s=new Uint32Array(2);return s[0]=o,s[1]=(16384|e<<0|2<<23)>>>0,new i.c(s,null===n?r:n)}},"i/Rh":function(e,t,n){},iJk1:function(e,t,n){},iLY9:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return n.e(169).then(n.bind(null,"8ahN"))}})},ic2d:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("746U"),o=n("FWmy"),r=new(function(){function e(){this.data=new Map}return e.prototype.add=function(e,t){o.a(i.j(e)),o.a(i.i(t)),o.a(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)},e.prototype.as=function(e){return this.data.get(e)||null},e}())},"ij/i":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile"],aliases:["Ruby","rb"],loader:function(){return n.e(174).then(n.bind(null,"3MdH"))}})},iuje:function(e,t,n){"use strict";function i(e){return e&&"string"==typeof e.id}n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var o={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"},r={ExecuteCommand:"executeCommand",ExecuteCommands:"executeCommands",Type:"type",ReplacePreviousChar:"replacePreviousChar",CompositionStart:"compositionStart",CompositionEnd:"compositionEnd",Paste:"paste",Cut:"cut",Undo:"undo",Redo:"redo"}},j2o1:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return n.e(167).then(n.bind(null,"ppMK"))}})},"jAJ/":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return f})),n.d(t,"b",(function(){return p}));var i=n("N0LK"),o=n("5v8Y"),r=n("cGHE"),s=n("aokT"),a=n("M1Kb"),u=function(){function e(e,t,n,i){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=i}return e.prototype.parseSearchRequest=function(){if(""===this.searchString)return null;var e;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(var t=0,n=e.length;t<n;t++){if(92===e.charCodeAt(t)){if(++t>=n)break;var i=e.charCodeAt(t);if(110===i||114===i||87===i||119===i)return!0}}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;var t=null;try{t=i.j(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;var n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new l(t,this.wordSeparators?Object(o.a)(this.wordSeparators):null,n?this.searchString:null)},e}();var l=function(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n};function c(e,t,n){if(!n)return new a.b(e,null);for(var i=[],o=0,r=t.length;o<r;o++)i[o]=t[o];return new a.b(e,i)}var d=function(){function e(e){for(var t=[],n=0,i=0,o=e.length;i<o;i++)10===e.charCodeAt(i)&&(t[n++]=i);this._lineFeedsOffsets=t}return e.prototype.findLineFeedCountBeforeOffset=function(e){var t=this._lineFeedsOffsets,n=0,i=t.length-1;if(-1===i)return 0;if(e<=t[0])return 0;for(;n<i;){var o=n+((i-n)/2>>0);t[o]>=e?i=o-1:t[o+1]>=e?(n=o,i=o):n=o+1}return n+1},e}(),h=function(){function e(){}return e.findMatches=function(e,t,n,i,o){var r=t.parseSearchRequest();return r?r.regex.multiline?this._doFindMatchesMultiline(e,n,new p(r.wordSeparators,r.regex),i,o):this._doFindMatchesLineByLine(e,n,r,i,o):[]},e._getMultilineMatchRange=function(e,t,n,i,o,r){var a,u,l=0;if(a=i?t+o+(l=i.findLineFeedCountBeforeOffset(o)):t+o,i){var c=i.findLineFeedCountBeforeOffset(o+r.length)-l;u=a+r.length+c}else u=a+r.length;var d=e.getPositionAt(a),h=e.getPositionAt(u);return new s.a(d.lineNumber,d.column,h.lineNumber,h.column)},e._doFindMatchesMultiline=function(e,t,n,i,o){var r,s=e.getOffsetAt(t.getStartPosition()),a=e.getValueInRange(t,1),u="\r\n"===e.getEOL()?new d(a):null,l=[],h=0;for(n.reset(0);r=n.next(a);)if(l[h++]=c(this._getMultilineMatchRange(e,s,a,u,r.index,r[0]),r,i),h>=o)return l;return l},e._doFindMatchesLineByLine=function(e,t,n,i,o){var r=[],s=0;if(t.startLineNumber===t.endLineNumber){var a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return s=this._findMatchesInLine(n,a,t.startLineNumber,t.startColumn-1,s,r,i,o),r}var u=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);s=this._findMatchesInLine(n,u,t.startLineNumber,t.startColumn-1,s,r,i,o);for(var l=t.startLineNumber+1;l<t.endLineNumber&&s<o;l++)s=this._findMatchesInLine(n,e.getLineContent(l),l,0,s,r,i,o);if(s<o){var c=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);s=this._findMatchesInLine(n,c,t.endLineNumber,0,s,r,i,o)}return r},e._findMatchesInLine=function(e,t,n,i,o,r,u,l){var d=e.wordSeparators;if(!u&&e.simpleSearch){for(var h=e.simpleSearch,g=h.length,m=t.length,v=-g;-1!==(v=t.indexOf(h,v+g));)if((!d||f(d,t,m,v,g))&&(r[o++]=new a.b(new s.a(n,v+1+i,n,v+1+g+i),null),o>=l))return o;return o}var _,y=new p(e.wordSeparators,e.regex);y.reset(0);do{if((_=y.next(t))&&(r[o++]=c(new s.a(n,_.index+1+i,n,_.index+1+_[0].length+i),_,u),o>=l))return o}while(_);return o},e.findNextMatch=function(e,t,n,i){var o=t.parseSearchRequest();if(!o)return null;var r=new p(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindNextMatchMultiline(e,n,r,i):this._doFindNextMatchLineByLine(e,n,r,i)},e._doFindNextMatchMultiline=function(e,t,n,i){var o=new r.a(t.lineNumber,1),a=e.getOffsetAt(o),u=e.getLineCount(),l=e.getValueInRange(new s.a(o.lineNumber,o.column,u,e.getLineMaxColumn(u)),1),h="\r\n"===e.getEOL()?new d(l):null;n.reset(t.column-1);var f=n.next(l);return f?c(this._getMultilineMatchRange(e,a,l,h,f.index,f[0]),f,i):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new r.a(1,1),n,i):null},e._doFindNextMatchLineByLine=function(e,t,n,i){var o=e.getLineCount(),r=t.lineNumber,s=e.getLineContent(r),a=this._findFirstMatchInLine(n,s,r,t.column,i);if(a)return a;for(var u=1;u<=o;u++){var l=(r+u-1)%o,c=e.getLineContent(l+1),d=this._findFirstMatchInLine(n,c,l+1,1,i);if(d)return d}return null},e._findFirstMatchInLine=function(e,t,n,i,o){e.reset(i-1);var r=e.next(t);return r?c(new s.a(n,r.index+1,n,r.index+1+r[0].length),r,o):null},e.findPreviousMatch=function(e,t,n,i){var o=t.parseSearchRequest();if(!o)return null;var r=new p(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindPreviousMatchMultiline(e,n,r,i):this._doFindPreviousMatchLineByLine(e,n,r,i)},e._doFindPreviousMatchMultiline=function(e,t,n,i){var o=this._doFindMatchesMultiline(e,new s.a(1,1,t.lineNumber,t.column),n,i,9990);if(o.length>0)return o[o.length-1];var a=e.getLineCount();return t.lineNumber!==a||t.column!==e.getLineMaxColumn(a)?this._doFindPreviousMatchMultiline(e,new r.a(a,e.getLineMaxColumn(a)),n,i):null},e._doFindPreviousMatchLineByLine=function(e,t,n,i){var o=e.getLineCount(),r=t.lineNumber,s=e.getLineContent(r).substring(0,t.column-1),a=this._findLastMatchInLine(n,s,r,i);if(a)return a;for(var u=1;u<=o;u++){var l=(o+r-u-1)%o,c=e.getLineContent(l+1),d=this._findLastMatchInLine(n,c,l+1,i);if(d)return d}return null},e._findLastMatchInLine=function(e,t,n,i){var o,r=null;for(e.reset(0);o=e.next(t);)r=c(new s.a(n,o.index+1,n,o.index+1+o[0].length),o,i);return r},e}();function f(e,t,n,i,o){return function(e,t,n,i,o){if(0===i)return!0;var r=t.charCodeAt(i-1);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(o>0){var s=t.charCodeAt(i);if(0!==e.get(s))return!0}return!1}(e,t,0,i,o)&&function(e,t,n,i,o){if(i+o===n)return!0;var r=t.charCodeAt(i+o);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(o>0){var s=t.charCodeAt(i+o-1);if(0!==e.get(s))return!0}return!1}(e,t,n,i,o)}var p=function(){function e(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}return e.prototype.reset=function(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0},e.prototype.next=function(e){var t,n=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===n)return null;if(!(t=this._searchRegex.exec(e)))return null;var i=t.index,o=t[0].length;if(i===this._prevMatchStartIndex&&o===this._prevMatchLength){if(0===o){this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=o,!this._wordSeparators||f(this._wordSeparators,e,n,i,o))return t}while(t);return null},e}()},jrbv:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return n.e(146).then(n.bind(null,"2ZXa"))}})},k7mE:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return n.e(156).then(n.bind(null,"BjZ/"))}})},"kw+w":function(e,t,n){},l2gE:function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var i=n("6OMU"),o=n("N0LK"),r=n("PTeM"),s=n("MrjW"),a=n("QDVR"),u=n("X+cX"),l=/\//g;function c(e){switch(e){case 0:return"";case 1:return"[^/\\\\]*?";default:return"(?:[/\\\\]|[^/\\\\]+[/\\\\]|[/\\\\][^/\\\\]+)*?"}}function d(e,t){if(!e)return[];for(var n=[],i=!1,o=!1,r="",s=0,a=e;s<a.length;s++){var u=a[s];switch(u){case t:if(!i&&!o){n.push(r),r="";continue}break;case"{":i=!0;break;case"}":i=!1;break;case"[":o=!0;break;case"]":o=!1}r+=u}return r&&n.push(r),n}var h=/^\*\*\/\*\.[\w\.-]+$/,f=/^\*\*\/([\w\.-]+)\/?$/,p=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,g=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,m=/^\*\*((\/[\w\.-]+)+)\/?$/,v=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,_=new a.a(1e4),y=function(){return!1},b=function(){return null};function C(e,t){if(!e)return b;var n,r,s=(n=(n="string"!=typeof e?e.pattern:e).trim())+"_"+!!t.trimForExclusions,a=_.get(s);if(a)return w(a,e);if(h.test(n)){var u=n.substr(4);a=function(e,t){return"string"==typeof e&&o.k(e,u)?n:null}}else a=(r=f.exec(S(n,t)))?function(e,t){var n="/"+e,i="\\"+e,r=function(r,s){return"string"!=typeof r?null:s?s===e?t:null:r===e||o.k(r,n)||o.k(r,i)?t:null},s=[e];return r.basenames=s,r.patterns=[t],r.allBasenames=s,r}(r[1],n):(t.trimForExclusions?g:p).test(n)?function(e,t){var n=O(e.slice(1,-1).split(",").map((function(e){return C(e,t)})).filter((function(e){return e!==b})),e),o=n.length;if(!o)return b;if(1===o)return n[0];var r=function(t,i){for(var o=0,r=n.length;o<r;o++)if(n[o](t,i))return e;return null},s=i.g(n,(function(e){return!!e.allBasenames}));s&&(r.allBasenames=s.allBasenames);var a=n.reduce((function(e,t){return t.allPaths?e.concat(t.allPaths):e}),[]);a.length&&(r.allPaths=a);return r}(n,t):(r=m.exec(S(n,t)))?L(r[1].substr(1),n,!0):(r=v.exec(S(n,t)))?L(r[1],n,!1):function(e){try{var t=new RegExp("^"+function e(t){if(!t)return"";var n="",i=d(t,"/");if(i.every((function(e){return"**"===e})))n=".*";else{var r=!1;i.forEach((function(t,s){if("**"!==t){for(var a=!1,u="",l=!1,h="",f=0,p=t;f<p.length;f++){var g=p[f];if("}"!==g&&a)u+=g;else if(!l||"]"===g&&h)switch(g){case"{":a=!0;continue;case"[":l=!0;continue;case"}":var m="(?:"+d(u,",").map((function(t){return e(t)})).join("|")+")";n+=m,a=!1,u="";break;case"]":n+="["+h+"]",l=!1,h="";break;case"?":n+="[^/\\\\]";continue;case"*":n+=c(1);continue;default:n+=o.n(g)}else{h+="-"===g?g:"^"!==g&&"!"!==g||h?"/"===g?"":o.n(g):"^"}}s<i.length-1&&("**"!==i[s+1]||s+2<i.length)&&(n+="[/\\\\]"),r=!1}else r||(n+=c(2),r=!0)}))}return n}(e)+"$");return function(n,i){return t.lastIndex=0,"string"==typeof n&&t.test(n)?e:null}}catch(e){return b}}(n);return _.set(s,a),w(a,e)}function w(e,t){return"string"==typeof t?e:function(n,i){return r.a(n,t.base)?e(s.relative(t.base,n),i):null}}function S(e,t){return t.trimForExclusions&&o.k(e,"/**")?e.substr(0,e.length-2):e}function L(e,t,n){var i=s.sep!==s.posix.sep?e.replace(l,s.sep):e,r=s.sep+i,a=n?function(e,n){return"string"!=typeof e||e!==i&&!o.k(e,r)?null:t}:function(e,n){return"string"==typeof e&&e===i?t:null};return a.allPaths=[(n?"*/":"./")+e],a}function N(e,t,n){return!(!e||"string"!=typeof t)&&function(e,t){void 0===t&&(t={});if(!e)return y;if("string"==typeof e||(r=e,a=r,a&&"string"==typeof a.base&&"string"==typeof a.pattern)){var n=C(e,t);if(n===b)return y;var o=function(e,t){return!!n(e,t)};return n.allBasenames&&(o.allBasenames=n.allBasenames),n.allPaths&&(o.allPaths=n.allPaths),o}var r,a;return function(e,t){var n=O(Object.getOwnPropertyNames(e).map((function(n){return function(e,t,n){if(!1===t)return b;var i=C(e,n);if(i===b)return b;if("boolean"==typeof t)return i;if(t){var o=t.when;if("string"==typeof o){var r=function(t,n,r,s){if(!s||!i(t,n))return null;var a=s(o.replace("$(basename)",r));return Object(u.h)(a)?a.then((function(t){return t?e:null})):a?e:null};return r.requiresSiblings=!0,r}}return i}(n,e[n],t)})).filter((function(e){return e!==b}))),o=n.length;if(!o)return b;if(!n.some((function(e){return!!e.requiresSiblings}))){if(1===o)return n[0];var r=function(e,t){for(var i=0,o=n.length;i<o;i++){var r=n[i](e,t);if(r)return r}return null},a=i.g(n,(function(e){return!!e.allBasenames}));a&&(r.allBasenames=a.allBasenames);var l=n.reduce((function(e,t){return t.allPaths?e.concat(t.allPaths):e}),[]);return l.length&&(r.allPaths=l),r}var c=function(e,t,i){for(var o=void 0,r=0,a=n.length;r<a;r++){var u=n[r];u.requiresSiblings&&i&&(t||(t=s.basename(e)),o||(o=t.substr(0,t.length-s.extname(e).length)));var l=u(e,t,o,i);if(l)return l}return null},d=i.g(n,(function(e){return!!e.allBasenames}));d&&(c.allBasenames=d.allBasenames);var h=n.reduce((function(e,t){return t.allPaths?e.concat(t.allPaths):e}),[]);h.length&&(c.allPaths=h);return c}(e,t)}(e)(t,void 0,n)}function O(e,t){var n=e.filter((function(e){return!!e.basenames}));if(n.length<2)return e;var i,o=n.reduce((function(e,t){var n=t.basenames;return n?e.concat(n):e}),[]);if(t){i=[];for(var r=0,s=o.length;r<s;r++)i.push(t)}else i=n.reduce((function(e,t){var n=t.patterns;return n?e.concat(n):e}),[]);var a=function(e,t){if("string"!=typeof e)return null;if(!t){var n=void 0;for(n=e.length;n>0;n--){var r=e.charCodeAt(n-1);if(47===r||92===r)break}t=e.substr(n)}var s=o.indexOf(t);return-1!==s?i[s]:null};a.basenames=o,a.patterns=i,a.allBasenames=o;var u=e.filter((function(e){return!e.basenames}));return u.push(a),u}},lKfe:function(e,t,n){},li8W:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return n.e(144).then(n.bind(null,"7s2V"))}})},lrmC:function(e,t,n){},nnTU:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d}));var i=n("pmY6"),o=n("746U"),r=n("Cg/j"),s=n("MI8n"),a=n("24hK"),u=n("QDVR"),l=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},c=Object(r.c)("commandService"),d=new(function(){function e(){this._commands=new Map,this._onDidRegisterCommand=new s.a,this.onDidRegisterCommand=this._onDidRegisterCommand.event}return e.prototype.registerCommand=function(e,t){var n=this;if(!e)throw new Error("invalid command");if("string"==typeof e){if(!t)throw new Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.description){for(var r=[],s=0,u=e.description.args;s<u.length;s++){var c=u[s];r.push(c.constraint)}var d=e.handler;e.handler=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Object(o.m)(t,r),d.apply(void 0,l([e],t))}}var h=e.id,f=this._commands.get(h);f||(f=new a.a,this._commands.set(h,f));var p=f.unshift(e),g=Object(i.f)((function(){p();var e=n._commands.get(h);(null==e?void 0:e.isEmpty())&&n._commands.delete(h)}));return this._onDidRegisterCommand.fire(h),g},e.prototype.registerCommandAlias=function(e,t){return d.registerCommand(e,(function(e){for(var n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return(n=e.get(c)).executeCommand.apply(n,l([t],i))}))},e.prototype.getCommand=function(e){var t=this._commands.get(e);if(t&&!t.isEmpty())return t.iterator().next().value},e.prototype.getCommands=function(){for(var e=new Map,t=0,n=Object(u.d)(this._commands);t<n.length;t++){var i=n[t],o=this.getCommand(i);o&&e.set(i,o)}return e},e}())},nrBJ:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return n.e(185).then(n.bind(null,"eXtt"))}})},nrhi:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("/kV6"),o=n("MNsG"),r=n("nnTU"),s=n("ic2d"),a=new(function(){function e(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}return e.bindToCurrentPlatform=function(e){if(1===o.a){if(e&&e.win)return e.win}else if(2===o.a){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e},e.prototype.registerKeybindingRule=function(t){var n=e.bindToCurrentPlatform(t);n&&n.primary&&((a=Object(i.f)(n.primary,o.a))&&this._registerDefaultKeybinding(a,t.id,t.args,t.weight,0,t.when));if(n&&Array.isArray(n.secondary))for(var r=0,s=n.secondary.length;r<s;r++){var a,u=n.secondary[r];(a=Object(i.f)(u,o.a))&&this._registerDefaultKeybinding(a,t.id,t.args,t.weight,-r-1,t.when)}},e.prototype.registerCommandAndKeybindingRule=function(e){this.registerKeybindingRule(e),r.a.registerCommand(e)},e._mightProduceChar=function(e){return e>=21&&e<=30||(e>=31&&e<=56||(80===e||81===e||82===e||83===e||84===e||85===e||86===e||110===e||111===e||87===e||88===e||89===e||90===e||91===e||92===e))},e.prototype._assertNoCtrlAlt=function(t,n){t.ctrlKey&&t.altKey&&!t.metaKey&&e._mightProduceChar(t.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",t," for ",n)},e.prototype._registerDefaultKeybinding=function(e,t,n,i,r,s){1===o.a&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e,command:t,commandArgs:n,when:s,weight1:i,weight2:r}),this._cachedMergedKeybindings=null},e.prototype.getDefaultKeybindings=function(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(u)),this._cachedMergedKeybindings.slice(0)},e}());function u(e,t){return e.weight1!==t.weight1?e.weight1-t.weight1:e.command<t.command?-1:e.command>t.command?1:e.weight2-t.weight2}s.a.add("platform.keybindingsRegistry",a)},oKJv:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return n.e(163).then(n.bind(null,"HGU1"))}})},oQaD:function(e,t,n){"use strict";n.r(t),n.d(t,"getSelectionSearchString",(function(){return kt})),n.d(t,"CommonFindController",(function(){return It})),n.d(t,"FindController",(function(){return Mt})),n.d(t,"StartFindAction",(function(){return Tt})),n.d(t,"StartFindWithSelectionAction",(function(){return At})),n.d(t,"MatchFindAction",(function(){return Rt})),n.d(t,"NextMatchFindAction",(function(){return Pt})),n.d(t,"NextMatchFindAction2",(function(){return Ft})),n.d(t,"PreviousMatchFindAction",(function(){return Vt})),n.d(t,"PreviousMatchFindAction2",(function(){return Wt})),n.d(t,"SelectionMatchFindAction",(function(){return Bt})),n.d(t,"NextSelectionMatchFindAction",(function(){return jt})),n.d(t,"PreviousSelectionMatchFindAction",(function(){return Ht})),n.d(t,"StartFindReplaceAction",(function(){return zt}));var i=n("3/fG"),o=n("X+cX"),r=n("pmY6"),s=n("N0LK"),a=n("sswD"),u=n("wQH0"),l=n("LCkn"),c=n("cGHE"),d=n("aokT"),h=n("gCVg"),f=n("jAJ/"),p=n("M1Kb"),g=n("tX9W"),m=n("MD5Z"),v=n("t9D7"),_=function(){function e(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}return e.prototype.dispose=function(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.reset=function(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.getCount=function(){return this._decorations.length},e.prototype.getFindScope=function(){return this._findScopeDecorationId?this._editor.getModel().getDecorationRange(this._findScopeDecorationId):null},e.prototype.getStartPosition=function(){return this._startPosition},e.prototype.setStartPosition=function(e){this._startPosition=e,this.setCurrentFindMatch(null)},e.prototype._getDecorationIndex=function(e){var t=this._decorations.indexOf(e);return t>=0?t+1:1},e.prototype.getCurrentMatchesPosition=function(t){for(var n=0,i=this._editor.getModel().getDecorationsInRange(t);n<i.length;n++){var o=i[n],r=o.options;if(r===e._FIND_MATCH_DECORATION||r===e._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(o.id)}return 1},e.prototype.setCurrentFindMatch=function(t){var n=this,i=null,o=0;if(t)for(var r=0,s=this._decorations.length;r<s;r++){var a=this._editor.getModel().getDecorationRange(this._decorations[r]);if(t.equalsRange(a)){i=this._decorations[r],o=r+1;break}}return null===this._highlightedDecorationId&&null===i||this._editor.changeDecorations((function(t){if(null!==n._highlightedDecorationId&&(t.changeDecorationOptions(n._highlightedDecorationId,e._FIND_MATCH_DECORATION),n._highlightedDecorationId=null),null!==i&&(n._highlightedDecorationId=i,t.changeDecorationOptions(n._highlightedDecorationId,e._CURRENT_FIND_MATCH_DECORATION)),null!==n._rangeHighlightDecorationId&&(t.removeDecoration(n._rangeHighlightDecorationId),n._rangeHighlightDecorationId=null),null!==i){var o=n._editor.getModel().getDecorationRange(i);if(o.startLineNumber!==o.endLineNumber&&1===o.endColumn){var r=o.endLineNumber-1,s=n._editor.getModel().getLineMaxColumn(r);o=new d.a(o.startLineNumber,o.startColumn,r,s)}n._rangeHighlightDecorationId=t.addDecoration(o,e._RANGE_HIGHLIGHT_DECORATION)}})),o},e.prototype.set=function(t,n){var i=this;this._editor.changeDecorations((function(o){var r=e._FIND_MATCH_DECORATION,s=[];if(t.length>1e3){r=e._FIND_MATCH_NO_OVERVIEW_DECORATION;for(var a=i._editor.getModel().getLineCount(),u=i._editor.getLayoutInfo().height/a,l=Math.max(2,Math.ceil(3/u)),c=t[0].range.startLineNumber,h=t[0].range.endLineNumber,f=1,p=t.length;f<p;f++){var g=t[f].range;h+l>=g.startLineNumber?g.endLineNumber>h&&(h=g.endLineNumber):(s.push({range:new d.a(c,1,h,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),c=g.startLineNumber,h=g.endLineNumber)}s.push({range:new d.a(c,1,h,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}var m=new Array(t.length);for(f=0,p=t.length;f<p;f++)m[f]={range:t[f].range,options:r};i._decorations=o.deltaDecorations(i._decorations,m),i._overviewRulerApproximateDecorations=o.deltaDecorations(i._overviewRulerApproximateDecorations,s),i._rangeHighlightDecorationId&&(o.removeDecoration(i._rangeHighlightDecorationId),i._rangeHighlightDecorationId=null),i._findScopeDecorationId&&(o.removeDecoration(i._findScopeDecorationId),i._findScopeDecorationId=null),n&&(i._findScopeDecorationId=o.addDecoration(n,e._FIND_SCOPE_DECORATION))}))},e.prototype.matchBeforePosition=function(e){if(0===this._decorations.length)return null;for(var t=this._decorations.length-1;t>=0;t--){var n=this._decorations[t],i=this._editor.getModel().getDecorationRange(n);if(i&&!(i.endLineNumber>e.lineNumber)){if(i.endLineNumber<e.lineNumber)return i;if(!(i.endColumn>e.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])},e.prototype.matchAfterPosition=function(e){if(0===this._decorations.length)return null;for(var t=0,n=this._decorations.length;t<n;t++){var i=this._decorations[t],o=this._editor.getModel().getDecorationRange(i);if(o&&!(o.startLineNumber<e.lineNumber)){if(o.startLineNumber>e.lineNumber)return o;if(!(o.startColumn<e.column))return o}}return this._editor.getModel().getDecorationRange(this._decorations[0])},e.prototype._allDecorations=function(){var e=[];return e=(e=e.concat(this._decorations)).concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationId&&e.push(this._findScopeDecorationId),this._rangeHighlightDecorationId&&e.push(this._rangeHighlightDecorationId),e},e._CURRENT_FIND_MATCH_DECORATION=g.a.register({stickiness:1,zIndex:13,className:"currentFindMatch",showIfCollapsed:!0,overviewRuler:{color:Object(v.f)(m.Ab),position:p.d.Center},minimap:{color:Object(v.f)(m.xb),position:p.c.Inline}}),e._FIND_MATCH_DECORATION=g.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0,overviewRuler:{color:Object(v.f)(m.Ab),position:p.d.Center},minimap:{color:Object(v.f)(m.xb),position:p.c.Inline}}),e._FIND_MATCH_NO_OVERVIEW_DECORATION=g.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0}),e._FIND_MATCH_ONLY_OVERVIEW_DECORATION=g.a.register({stickiness:1,overviewRuler:{color:Object(v.f)(m.Ab),position:p.d.Center}}),e._RANGE_HIGHLIGHT_DECORATION=g.a.register({stickiness:1,className:"rangeHighlight",isWholeLine:!0}),e._FIND_SCOPE_DECORATION=g.a.register({className:"findScope",isWholeLine:!0}),e}(),y=function(){function e(e,t,n){this._editorSelection=e,this._ranges=t,this._replaceStrings=n,this._trackedEditorSelectionId=null}return e.prototype.getEditOperations=function(e,t){if(this._ranges.length>0){for(var n=[],i=0;i<this._ranges.length;i++)n.push({range:this._ranges[i],text:this._replaceStrings[i]});n.sort((function(e,t){return d.a.compareRangesUsingStarts(e.range,t.range)}));var o=[],r=n[0];for(i=1;i<n.length;i++)r.range.endLineNumber===n[i].range.startLineNumber&&r.range.endColumn===n[i].range.startColumn?(r.range=r.range.plusRange(n[i].range),r.text=r.text+n[i].text):(o.push(r),r=n[i]);o.push(r);for(var s=0,a=o;s<a.length;s++){var u=a[s];t.addEditOperation(u.range,u.text)}}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)},e.prototype.computeCursorState=function(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)},e}();function b(e,t){if(e&&""!==e[0]){var n=C(e,t,"-"),i=C(e,t,"_");return n&&!i?w(e,t,"-"):!n&&i?w(e,t,"_"):e[0].toUpperCase()===e[0]?t.toUpperCase():e[0].toLowerCase()===e[0]?t.toLowerCase():s.h(e[0][0])?t[0].toUpperCase()+t.substr(1):t}return t}function C(e,t,n){return-1!==e[0].indexOf(n)&&-1!==t.indexOf(n)&&e[0].split(n).length===t.split(n).length}function w(e,t,n){var i=t.split(n),o=e[0].split(n),r="";return i.forEach((function(e,t){r+=b([o[t]],e)+n})),r.slice(0,-1)}var S=function(e){this.staticValue=e,this.kind=0},L=function(e){this.pieces=e,this.kind=1},N=function(){function e(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new S(e[0].staticValue):this._state=new L(e):this._state=new S("")}return e.fromStaticValue=function(t){return new e([O.staticValue(t)])},Object.defineProperty(e.prototype,"hasReplacementPatterns",{get:function(){return 1===this._state.kind},enumerable:!0,configurable:!0}),e.prototype.buildReplaceString=function(t,n){if(0===this._state.kind)return n?b(t,this._state.staticValue):this._state.staticValue;for(var i="",o=0,r=this._state.pieces.length;o<r;o++){var s=this._state.pieces[o];null===s.staticValue?i+=e._substitute(s.matchIndex,t):i+=s.staticValue}return i},e._substitute=function(e,t){if(null===t)return"";if(0===e)return t[0];for(var n="";e>0;){if(e<t.length)return(t[e]||"")+n;n=String(e%10)+n,e=Math.floor(e/10)}return"$"+n},e}(),O=function(){function e(e,t){this.staticValue=e,this.matchIndex=t}return e.staticValue=function(t){return new e(t,-1)},e.matchIndex=function(t){return new e(null,t)},e}(),D=function(){function e(e){this._source=e,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}return e.prototype.emitUnchanged=function(e){this._emitStatic(this._source.substring(this._lastCharIndex,e)),this._lastCharIndex=e},e.prototype.emitStatic=function(e,t){this._emitStatic(e),this._lastCharIndex=t},e.prototype._emitStatic=function(e){0!==e.length&&(this._currentStaticPiece+=e)},e.prototype.emitMatchIndex=function(e,t){0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=O.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=O.matchIndex(e),this._lastCharIndex=t},e.prototype.finalize=function(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=O.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new N(this._result)},e}();var x,E=n("T8No"),k=new E.d("findWidgetVisible",!1),I=new E.d("findInputFocussed",!1),M=new E.d("replaceInputFocussed",!1),T={primary:545,mac:{primary:2593}},A={primary:565,mac:{primary:2613}},R={primary:560,mac:{primary:2608}},P={primary:554,mac:{primary:2602}},F="actions.find",V="actions.findWithSelection",W="editor.action.nextMatchFindAction",B="editor.action.previousMatchFindAction",j="editor.action.nextSelectionMatchFindAction",H="editor.action.previousSelectionMatchFindAction",z="editor.action.startFindReplaceAction",U="closeFindWidget",K="toggleFindCaseSensitive",q="toggleFindWholeWord",G="toggleFindRegex",Y="toggleFindInSelection",Z="editor.action.replaceOne",X="editor.action.replaceAll",J="editor.action.selectAllMatches",Q=function(){function e(e,t){var n=this;this._toDispose=new r.b,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new o.e,this._decorations=new _(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new o.d((function(){return n.research(!1)}),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition((function(e){3!==e.reason&&5!==e.reason&&6!==e.reason||n._decorations.setStartPosition(n._editor.getPosition())}))),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent((function(e){n._ignoreModelContentChanged||(e.isFlush&&n._decorations.reset(),n._decorations.setStartPosition(n._editor.getPosition()),n._updateDecorationsScheduler.schedule())}))),this._toDispose.add(this._state.onFindReplaceStateChange((function(e){return n._onStateChanged(e)}))),this.research(!1,this._state.searchScope)}return e.prototype.dispose=function(){this._isDisposed=!0,Object(r.e)(this._startSearchingTimer),this._toDispose.dispose()},e.prototype._onStateChanged=function(e){var t=this;this._isDisposed||this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)&&(this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet((function(){e.searchScope?t.research(e.moveCursor,t._state.searchScope):t.research(e.moveCursor)}),240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor))},e._getSearchRange=function(e,t){return t||e.getFullModelRange()},e.prototype.research=function(e,t){var n=null;null!==(n=void 0!==t?t:this._decorations.getFindScope())&&n.startLineNumber!==n.endLineNumber&&(n=1===n.endColumn?new d.a(n.startLineNumber,1,n.endLineNumber-1,this._editor.getModel().getLineMaxColumn(n.endLineNumber-1)):new d.a(n.startLineNumber,1,n.endLineNumber,this._editor.getModel().getLineMaxColumn(n.endLineNumber)));var i=this._findMatches(n,!1,19999);this._decorations.set(i,n),this._state.changeMatchInfo(this._decorations.getCurrentMatchesPosition(this._editor.getSelection()),this._decorations.getCount(),void 0),e&&this._moveToNextMatch(this._decorations.getStartPosition())},e.prototype._hasMatches=function(){return this._state.matchesCount>0},e.prototype._cannotFind=function(){if(!this._hasMatches()){var e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1},e.prototype._setCurrentFindMatch=function(e){var t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)},e.prototype._prevSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),n=e.lineNumber,i=e.column,o=this._editor.getModel();return t||1===i?(1===n?n=o.getLineCount():n--,i=o.getLineMaxColumn(n)):i--,new c.a(n,i)},e.prototype._moveToPrevMatch=function(t,n){if(void 0===n&&(n=!1),this._decorations.getCount()<19999){var i=this._decorations.matchBeforePosition(t);return i&&i.isEmpty()&&i.getStartPosition().equals(t)&&(t=this._prevSearchPosition(t),i=this._decorations.matchBeforePosition(t)),void(i&&this._setCurrentFindMatch(i))}if(!this._cannotFind()){var o=this._decorations.getFindScope(),r=e._getSearchRange(this._editor.getModel(),o);r.getEndPosition().isBefore(t)&&(t=r.getEndPosition()),t.isBefore(r.getStartPosition())&&(t=r.getEndPosition());var s=t.lineNumber,a=t.column,u=this._editor.getModel(),l=new c.a(s,a),d=u.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,!1);if(d&&d.range.isEmpty()&&d.range.getStartPosition().equals(l)&&(l=this._prevSearchPosition(l),d=u.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,!1)),d)return n||r.containsRange(d.range)?void this._setCurrentFindMatch(d.range):this._moveToPrevMatch(d.range.getStartPosition(),!0)}},e.prototype.moveToPrevMatch=function(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())},e.prototype._nextSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),n=e.lineNumber,i=e.column,o=this._editor.getModel();return t||i===o.getLineMaxColumn(n)?(n===o.getLineCount()?n=1:n++,i=1):i++,new c.a(n,i)},e.prototype._moveToNextMatch=function(e){if(this._decorations.getCount()<19999){var t=this._decorations.matchAfterPosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),void(t&&this._setCurrentFindMatch(t))}var n=this._getNextMatch(e,!1,!0);n&&this._setCurrentFindMatch(n.range)},e.prototype._getNextMatch=function(t,n,i,o){if(void 0===o&&(o=!1),this._cannotFind())return null;var r=this._decorations.getFindScope(),s=e._getSearchRange(this._editor.getModel(),r);s.getEndPosition().isBefore(t)&&(t=s.getStartPosition()),t.isBefore(s.getStartPosition())&&(t=s.getStartPosition());var a=t.lineNumber,u=t.column,l=this._editor.getModel(),d=new c.a(a,u),h=l.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n);return i&&h&&h.range.isEmpty()&&h.range.getStartPosition().equals(d)&&(d=this._nextSearchPosition(d),h=l.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n)),h?o||s.containsRange(h.range)?h:this._getNextMatch(h.range.getEndPosition(),n,i,!0):null},e.prototype.moveToNextMatch=function(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())},e.prototype._getReplacePattern=function(){return this._state.isRegex?function(e){if(!e||0===e.length)return new N(null);for(var t=new D(e),n=0,i=e.length;n<i;n++){var o=e.charCodeAt(n);if(92!==o){if(36===o){if(++n>=i)break;if(36===(a=e.charCodeAt(n))){t.emitUnchanged(n-1),t.emitStatic("$",n+1);continue}if(48===a||38===a){t.emitUnchanged(n-1),t.emitMatchIndex(0,n+1);continue}if(49<=a&&a<=57){var r=a-48;if(n+1<i){var s=e.charCodeAt(n+1);if(48<=s&&s<=57){n++,r=10*r+(s-48),t.emitUnchanged(n-2),t.emitMatchIndex(r,n+1);continue}}t.emitUnchanged(n-1),t.emitMatchIndex(r,n+1);continue}}}else{if(++n>=i)break;var a;switch(a=e.charCodeAt(n)){case 92:t.emitUnchanged(n-1),t.emitStatic("\\",n+1);break;case 110:t.emitUnchanged(n-1),t.emitStatic("\n",n+1);break;case 116:t.emitUnchanged(n-1),t.emitStatic("\t",n+1)}}}return t.finalize()}(this._state.replaceString):N.fromStaticValue(this._state.replaceString)},e.prototype.replace=function(){if(this._hasMatches()){var e=this._getReplacePattern(),t=this._editor.getSelection(),n=this._getNextMatch(t.getStartPosition(),!0,!1);if(n)if(t.equalsRange(n.range)){var i=e.buildReplaceString(n.matches,this._state.preserveCase),o=new l.a(t,i);this._executeEditorCommand("replace",o),this._decorations.setStartPosition(new c.a(t.startLineNumber,t.startColumn+i.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(n.range)}},e.prototype._findMatches=function(t,n,i){var o=e._getSearchRange(this._editor.getModel(),t);return this._editor.getModel().findMatches(this._state.searchString,o,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n,i)},e.prototype.replaceAll=function(){if(this._hasMatches()){var e=this._decorations.getFindScope();null===e&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}},e.prototype._largeReplaceAll=function(){var e=new f.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null).parseSearchRequest();if(e){var t=e.regex;if(!t.multiline){var n="mu";t.ignoreCase&&(n+="i"),t.global&&(n+="g"),t=new RegExp(t.source,n)}var i,o=this._editor.getModel(),r=o.getValue(1),s=o.getFullModelRange(),a=this._getReplacePattern(),u=this._state.preserveCase;i=a.hasReplacementPatterns||u?r.replace(t,(function(){return a.buildReplaceString(arguments,u)})):r.replace(t,a.buildReplaceString(null,u));var c=new l.b(s,i,this._editor.getSelection());this._executeEditorCommand("replaceAll",c)}},e.prototype._regularReplaceAll=function(e){for(var t=this._getReplacePattern(),n=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),i=[],o=0,r=n.length;o<r;o++)i[o]=t.buildReplaceString(n[o].matches,this._state.preserveCase);var s=new y(this._editor.getSelection(),n.map((function(e){return e.range})),i);this._executeEditorCommand("replaceAll",s)},e.prototype.selectAllMatches=function(){if(this._hasMatches()){for(var e=this._decorations.getFindScope(),t=this._findMatches(e,!1,1073741824).map((function(e){return new h.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)})),n=this._editor.getSelection(),i=0,o=t.length;i<o;i++){if(t[i].equalsRange(n)){t=[n].concat(t.slice(0,i)).concat(t.slice(i+1));break}}this._editor.setSelections(t)}},e.prototype._executeEditorCommand=function(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}},e}(),$=n("EffR"),ee=(n("iJk1"),n("G300")),te=n("zrhQ"),ne=n("MI8n"),ie=n("qj0h"),oe=(x=function(e,t){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),re={inputActiveOptionBorder:te.a.fromHex("#007ACC00"),inputActiveOptionBackground:te.a.fromHex("#0E639C50")},se=function(e){function t(t){var n=e.call(this)||this;return n._onChange=n._register(new ne.a),n.onChange=n._onChange.event,n._onKeyDown=n._register(new ne.a),n.onKeyDown=n._onKeyDown.event,n._opts=ie.a(t),ie.d(n._opts,re,!1),n._checked=n._opts.isChecked,n.domNode=document.createElement("div"),n.domNode.title=n._opts.title,n.domNode.className="monaco-custom-checkbox codicon "+(n._opts.actionClassName||"")+" "+(n._checked?"checked":"unchecked"),n.domNode.tabIndex=0,n.domNode.setAttribute("role","checkbox"),n.domNode.setAttribute("aria-checked",String(n._checked)),n.domNode.setAttribute("aria-label",n._opts.title),n.applyStyles(),n.onclick(n.domNode,(function(e){n.checked=!n._checked,n._onChange.fire(!1),e.preventDefault()})),n.ignoreGesture(n.domNode),n.onkeydown(n.domNode,(function(e){if(10===e.keyCode||3===e.keyCode)return n.checked=!n._checked,n._onChange.fire(!0),void e.preventDefault();n._onKeyDown.fire(e)})),n}return oe(t,e),Object.defineProperty(t.prototype,"enabled",{get:function(){return"true"!==this.domNode.getAttribute("aria-disabled")},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.domNode.focus()},Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this._checked?this.domNode.classList.add("checked"):this.domNode.classList.remove("checked"),this.applyStyles()},enumerable:!0,configurable:!0}),t.prototype.width=function(){return 22},t.prototype.style=function(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()},t.prototype.applyStyles=function(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"transparent",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"transparent")},t.prototype.enable=function(){this.domNode.tabIndex=0,this.domNode.setAttribute("aria-disabled",String(!1))},t.prototype.disable=function(){$.M(this.domNode),this.domNode.setAttribute("aria-disabled",String(!0))},t}(ee.a),ae=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ue=i.a("caseDescription","Match Case"),le=i.a("wordsDescription","Match Whole Word"),ce=i.a("regexDescription","Use Regular Expression"),de=function(e){function t(t){return e.call(this,{actionClassName:"codicon-case-sensitive",title:ue+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return ae(t,e),t}(se),he=function(e){function t(t){return e.call(this,{actionClassName:"codicon-whole-word",title:le+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return ae(t,e),t}(se),fe=function(e){function t(t){return e.call(this,{actionClassName:"codicon-regex",title:ce+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return ae(t,e),t}(se),pe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ge=function(e){function t(t,n,i,r){var s=e.call(this)||this;s._hideSoon=s._register(new o.d((function(){return s._hide()}),2e3)),s._isVisible=!1,s._editor=t,s._state=n,s._keybindingService=i,s._domNode=document.createElement("div"),s._domNode.className="findOptionsWidget",s._domNode.style.display="none",s._domNode.style.top="10px",s._domNode.setAttribute("role","presentation"),s._domNode.setAttribute("aria-hidden","true");var a=r.getTheme().getColor(m.P),u=r.getTheme().getColor(m.O);return s.caseSensitive=s._register(new de({appendTitle:s._keybindingLabelFor(K),isChecked:s._state.matchCase,inputActiveOptionBorder:a,inputActiveOptionBackground:u})),s._domNode.appendChild(s.caseSensitive.domNode),s._register(s.caseSensitive.onChange((function(){s._state.change({matchCase:s.caseSensitive.checked},!1)}))),s.wholeWords=s._register(new he({appendTitle:s._keybindingLabelFor(q),isChecked:s._state.wholeWord,inputActiveOptionBorder:a,inputActiveOptionBackground:u})),s._domNode.appendChild(s.wholeWords.domNode),s._register(s.wholeWords.onChange((function(){s._state.change({wholeWord:s.wholeWords.checked},!1)}))),s.regex=s._register(new fe({appendTitle:s._keybindingLabelFor(G),isChecked:s._state.isRegex,inputActiveOptionBorder:a,inputActiveOptionBackground:u})),s._domNode.appendChild(s.regex.domNode),s._register(s.regex.onChange((function(){s._state.change({isRegex:s.regex.checked},!1)}))),s._editor.addOverlayWidget(s),s._register(s._state.onFindReplaceStateChange((function(e){var t=!1;e.isRegex&&(s.regex.checked=s._state.isRegex,t=!0),e.wholeWord&&(s.wholeWords.checked=s._state.wholeWord,t=!0),e.matchCase&&(s.caseSensitive.checked=s._state.matchCase,t=!0),!s._state.isRevealed&&t&&s._revealTemporarily()}))),s._register($.h(s._domNode,(function(e){return s._onMouseOut()}))),s._register($.g(s._domNode,"mouseover",(function(e){return s._onMouseOver()}))),s._applyTheme(r.getTheme()),s._register(r.onThemeChange(s._applyTheme.bind(s))),s}return pe(t,e),t.prototype._keybindingLabelFor=function(e){var t=this._keybindingService.lookupKeybinding(e);return t?" ("+t.getLabel()+")":""},t.prototype.dispose=function(){this._editor.removeOverlayWidget(this),e.prototype.dispose.call(this)},t.prototype.getId=function(){return t.ID},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return{preference:0}},t.prototype.highlightFindOptions=function(){this._revealTemporarily()},t.prototype._revealTemporarily=function(){this._show(),this._hideSoon.schedule()},t.prototype._onMouseOut=function(){this._hideSoon.schedule()},t.prototype._onMouseOver=function(){this._hideSoon.cancel()},t.prototype._show=function(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")},t.prototype._hide=function(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")},t.prototype._applyTheme=function(e){var t={inputActiveOptionBorder:e.getColor(m.P),inputActiveOptionBackground:e.getColor(m.O)};this.caseSensitive.style(t),this.wholeWords.style(t),this.regex.style(t)},t.ID="editor.contrib.findOptionsWidget",t}(ee.a);Object(v.e)((function(e,t){var n=e.getColor(m.H);n&&t.addRule(".monaco-editor .findOptionsWidget { background-color: "+n+"; }");var i=e.getColor(m.J);i&&t.addRule(".monaco-editor .findOptionsWidget { color: "+i+"; }");var o=e.getColor(m.Lb);o&&t.addRule(".monaco-editor .findOptionsWidget { box-shadow: 0 2px 8px "+o+"; }");var r=e.getColor(m.e);r&&t.addRule(".monaco-editor .findOptionsWidget { border: 2px solid "+r+"; }")}));var me=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function ve(e,t){return 1===e||2!==e&&t}var _e=function(e){function t(){var t=e.call(this)||this;return t._onFindReplaceStateChange=t._register(new ne.a),t.onFindReplaceStateChange=t._onFindReplaceStateChange.event,t._searchString="",t._replaceString="",t._isRevealed=!1,t._isReplaceRevealed=!1,t._isRegex=!1,t._isRegexOverride=0,t._wholeWord=!1,t._wholeWordOverride=0,t._matchCase=!1,t._matchCaseOverride=0,t._preserveCase=!1,t._preserveCaseOverride=0,t._searchScope=null,t._matchesPosition=0,t._matchesCount=0,t._currentMatch=null,t}return me(t,e),Object.defineProperty(t.prototype,"searchString",{get:function(){return this._searchString},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"replaceString",{get:function(){return this._replaceString},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isRevealed",{get:function(){return this._isRevealed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isReplaceRevealed",{get:function(){return this._isReplaceRevealed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isRegex",{get:function(){return ve(this._isRegexOverride,this._isRegex)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wholeWord",{get:function(){return ve(this._wholeWordOverride,this._wholeWord)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"matchCase",{get:function(){return ve(this._matchCaseOverride,this._matchCase)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveCase",{get:function(){return ve(this._preserveCaseOverride,this._preserveCase)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualIsRegex",{get:function(){return this._isRegex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualWholeWord",{get:function(){return this._wholeWord},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualMatchCase",{get:function(){return this._matchCase},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualPreserveCase",{get:function(){return this._preserveCase},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"searchScope",{get:function(){return this._searchScope},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"matchesPosition",{get:function(){return this._matchesPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"matchesCount",{get:function(){return this._matchesCount},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentMatch",{get:function(){return this._currentMatch},enumerable:!0,configurable:!0}),t.prototype.changeMatchInfo=function(e,t,n){var i={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},o=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,i.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,i.matchesCount=!0,o=!0),void 0!==n&&(d.a.equalsRange(this._currentMatch,n)||(this._currentMatch=n,i.currentMatch=!0,o=!0)),o&&this._onFindReplaceStateChange.fire(i)},t.prototype.change=function(e,t,n){void 0===n&&(n=!0);var i={moveCursor:t,updateHistory:n,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},o=!1,r=this.isRegex,s=this.wholeWord,a=this.matchCase,u=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,i.searchString=!0,o=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,i.replaceString=!0,o=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,i.isRevealed=!0,o=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,i.isReplaceRevealed=!0,o=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0!==e.searchScope&&(d.a.equalsRange(this._searchScope,e.searchScope)||(this._searchScope=e.searchScope,i.searchScope=!0,o=!0)),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,r!==this.isRegex&&(o=!0,i.isRegex=!0),s!==this.wholeWord&&(o=!0,i.wholeWord=!0),a!==this.matchCase&&(o=!0,i.matchCase=!0),u!==this.preserveCase&&(o=!0,i.preserveCase=!0),o&&this._onFindReplaceStateChange.fire(i)},t}(r.a),ye=(n("AbCa"),n("OBOq")),be=n("cMOf"),Ce=n("/cxE"),we=n("MNsG"),Se=(n("yqFB"),n("i/Rh"),n("D3Dy"));function Le(e,t){void 0===t&&(t={});var n=Ne(t);return function e(t,n,i){var o;if(2===n.type)o=document.createTextNode(n.content||"");else if(3===n.type)o=document.createElement("b");else if(4===n.type)o=document.createElement("i");else if(5===n.type&&i){var r=document.createElement("a");r.href="#",i.disposeables.add($.k(r,"click",(function(e){i.callback(String(n.index),e)}))),o=r}else 7===n.type?o=document.createElement("br"):1===n.type&&(o=t);o&&t!==o&&t.appendChild(o);o&&Array.isArray(n.children)&&n.children.forEach((function(t){e(o,t,i)}))}(n,function(e){var t={type:1,children:[]},n=0,i=t,o=[],r=new Oe(e);for(;!r.eos();){var s=r.next(),a="\\"===s&&0!==De(r.peek());if(a&&(s=r.next()),a||0===De(s)||s!==r.peek())if("\n"===s)2===i.type&&(i=o.pop()),i.children.push({type:7});else if(2!==i.type){var u={type:2,content:s};i.children.push(u),o.push(i),i=u}else i.content+=s;else{r.advance(),2===i.type&&(i=o.pop());var l=De(s);if(i.type===l||5===i.type&&6===l)i=o.pop();else{var c={type:l,children:[]};5===l&&(c.index=n,n++),i.children.push(c),o.push(i),i=c}}}2===i.type&&(i=o.pop());o.length;return t}(e),t.actionHandler),n}function Ne(e){var t=e.inline?"span":"div",n=document.createElement(t);return e.className&&(n.className=e.className),n}var Oe=function(){function e(e){this.source=e,this.index=0}return e.prototype.eos=function(){return this.index>=this.source.length},e.prototype.next=function(){var e=this.peek();return this.advance(),e},e.prototype.peek=function(){return this.source[this.index]},e.prototype.advance=function(){this.index++},e}();function De(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}var xe=n("WqXY"),Ee=n("JYp7"),ke=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=10),this._initialize(e),this._limit=t,this._onChange()}return e.prototype.add=function(e){this._history.delete(e),this._history.add(e),this._onChange()},e.prototype.next=function(){return this._navigator.next()},e.prototype.previous=function(){return this._navigator.previous()},e.prototype.current=function(){return this._navigator.current()},e.prototype.parent=function(){return null},e.prototype.first=function(){return this._navigator.first()},e.prototype.last=function(){return this._navigator.last()},e.prototype.has=function(e){return this._history.has(e)},e.prototype._onChange=function(){this._reduceToLimit();var e=this._elements;this._navigator=new Ee.a(e,0,e.length,e.length)},e.prototype._reduceToLimit=function(){var e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))},e.prototype._initialize=function(e){this._history=new Set;for(var t=0,n=e;t<n.length;t++){var i=n[t];this._history.add(i)}},Object.defineProperty(e.prototype,"_elements",{get:function(){var e=[];return this._history.forEach((function(t){return e.push(t)})),e},enumerable:!0,configurable:!0}),e}(),Ie=n("GJhM"),Me=n("4y0V"),Te=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ae=$.a,Re={inputBackground:te.a.fromHex("#3C3C3C"),inputForeground:te.a.fromHex("#CCCCCC"),inputValidationInfoBorder:te.a.fromHex("#55AAFF"),inputValidationInfoBackground:te.a.fromHex("#063B49"),inputValidationWarningBorder:te.a.fromHex("#B89500"),inputValidationWarningBackground:te.a.fromHex("#352A05"),inputValidationErrorBorder:te.a.fromHex("#BE1100"),inputValidationErrorBackground:te.a.fromHex("#5A1D1D")},Pe=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o.history=new ke(i.history,100),o}return Te(t,e),t.prototype.addToHistory=function(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)},t.prototype.showNextValue=function(){this.history.has(this.value)||this.addToHistory();var e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),e&&(this.value=e,ye.c(this.value))},t.prototype.showPreviousValue=function(){this.history.has(this.value)||this.addToHistory();var e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,ye.c(this.value))},t.prototype.getCurrentValue=function(){var e=this.history.current();return e||(e=this.history.last(),this.history.next()),e},t.prototype.getPreviousValue=function(){return this.history.previous()||this.history.first()},t.prototype.getNextValue=function(){return this.history.next()||this.history.last()},t}(function(e){function t(t,n,i){var o=e.call(this)||this;o.state="idle",o.maxHeight=Number.POSITIVE_INFINITY,o._onDidChange=o._register(new ne.a),o.onDidChange=o._onDidChange.event,o._onDidHeightChange=o._register(new ne.a),o.onDidHeightChange=o._onDidHeightChange.event,o.contextViewProvider=n,o.options=i||Object.create(null),Object(ie.d)(o.options,Re,!1),o.message=null,o.placeholder=o.options.placeholder||"",o.ariaLabel=o.options.ariaLabel||"",o.inputBackground=o.options.inputBackground,o.inputForeground=o.options.inputForeground,o.inputBorder=o.options.inputBorder,o.inputValidationInfoBorder=o.options.inputValidationInfoBorder,o.inputValidationInfoBackground=o.options.inputValidationInfoBackground,o.inputValidationInfoForeground=o.options.inputValidationInfoForeground,o.inputValidationWarningBorder=o.options.inputValidationWarningBorder,o.inputValidationWarningBackground=o.options.inputValidationWarningBackground,o.inputValidationWarningForeground=o.options.inputValidationWarningForeground,o.inputValidationErrorBorder=o.options.inputValidationErrorBorder,o.inputValidationErrorBackground=o.options.inputValidationErrorBackground,o.inputValidationErrorForeground=o.options.inputValidationErrorForeground,o.options.validationOptions&&(o.validation=o.options.validationOptions.validation),o.element=$.m(t,Ae(".monaco-inputbox.idle"));var r=o.options.flexibleHeight?"textarea":"input",s=$.m(o.element,Ae(".wrapper"));if(o.input=$.m(s,Ae(r+".input.empty")),o.input.setAttribute("autocorrect","off"),o.input.setAttribute("autocapitalize","off"),o.input.setAttribute("spellcheck","false"),o.onfocus(o.input,(function(){return $.e(o.element,"synthetic-focus")})),o.onblur(o.input,(function(){return $.J(o.element,"synthetic-focus")})),o.options.flexibleHeight){o.maxHeight="number"==typeof o.options.flexibleMaxHeight?o.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,o.mirror=$.m(s,Ae("div.mirror")),o.mirror.innerHTML=" ",o.scrollableElement=new Ie.b(o.element,{vertical:1}),o.options.flexibleWidth&&(o.input.setAttribute("wrap","off"),o.mirror.style.whiteSpace="pre",o.mirror.style.wordWrap="initial"),$.m(t,o.scrollableElement.getDomNode()),o._register(o.scrollableElement),o._register(o.scrollableElement.onScroll((function(e){return o.input.scrollTop=e.scrollTop})));var a=ne.b.filter(Object(Me.a)(document,"selectionchange"),(function(){var e=document.getSelection();return(null==e?void 0:e.anchorNode)===s}));o._register(a(o.updateScrollDimensions,o)),o._register(o.onDidHeightChange(o.updateScrollDimensions,o))}else o.input.type=o.options.type||"text",o.input.setAttribute("wrap","off");return o.ariaLabel&&o.input.setAttribute("aria-label",o.ariaLabel),o.placeholder&&o.setPlaceHolder(o.placeholder),o.oninput(o.input,(function(){return o.onValueChange()})),o.onblur(o.input,(function(){return o.onBlur()})),o.onfocus(o.input,(function(){return o.onFocus()})),o.placeholder&&Se.i&&o.onclick(o.input,(function(e){$.b.stop(e,!0),o.input.focus()})),o.ignoreGesture(o.input),setTimeout((function(){return o.updateMirror()}),0),o.options.actions&&(o.actionbar=o._register(new xe.a(o.element)),o.actionbar.push(o.options.actions,{icon:!0,label:!1})),o.applyStyles(),o}return Te(t,e),t.prototype.onBlur=function(){this._hideMessage()},t.prototype.onFocus=function(){this._showMessage()},t.prototype.setPlaceHolder=function(e){this.placeholder=e,this.input.setAttribute("placeholder",e),this.input.title=e},t.prototype.setAriaLabel=function(e){this.ariaLabel=e,e?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")},Object.defineProperty(t.prototype,"inputElement",{get:function(){return this.input},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.input.value},set:function(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return"number"==typeof this.cachedHeight?this.cachedHeight:$.A(this.element)},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.hasFocus=function(){return document.activeElement===this.input},t.prototype.select=function(e){void 0===e&&(e=null),this.input.select(),e&&this.input.setSelectionRange(e.start,e.end)},t.prototype.enable=function(){this.input.removeAttribute("disabled")},t.prototype.disable=function(){this.blur(),this.input.disabled=!0,this._hideMessage()},Object.defineProperty(t.prototype,"width",{get:function(){return $.B(this.input)},set:function(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){var t=0;if(this.mirror)t=(parseFloat(this.mirror.style.paddingLeft||"")||0)+(parseFloat(this.mirror.style.paddingRight||"")||0);this.input.style.width=e-t+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paddingRight",{set:function(e){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width="calc(100% - "+e+"px)":this.input.style.paddingRight=e+"px",this.mirror&&(this.mirror.style.paddingRight=e+"px")},enumerable:!0,configurable:!0}),t.prototype.updateScrollDimensions=function(){if("number"==typeof this.cachedContentHeight&&"number"==typeof this.cachedHeight&&this.scrollableElement){var e=this.cachedContentHeight,t=this.cachedHeight,n=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:n})}},t.prototype.showMessage=function(e,t){this.message=e,$.J(this.element,"idle"),$.J(this.element,"info"),$.J(this.element,"warning"),$.J(this.element,"error"),$.e(this.element,this.classForType(e.type));var n,o=this.stylesForType(this.message.type);this.element.style.border=o.border?"1px solid "+o.border:"",n=3===e.type?i.a("alertErrorMessage","Error: {0}",e.content):2===e.type?i.a("alertWarningMessage","Warning: {0}",e.content):i.a("alertInfoMessage","Info: {0}",e.content),ye.a(n),(this.hasFocus()||t)&&this._showMessage()},t.prototype.hideMessage=function(){this.message=null,$.J(this.element,"info"),$.J(this.element,"warning"),$.J(this.element,"error"),$.e(this.element,"idle"),this._hideMessage(),this.applyStyles()},t.prototype.validate=function(){var e=null;return this.validation&&((e=this.validation(this.value))?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),!e},t.prototype.stylesForType=function(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}},t.prototype.classForType=function(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}},t.prototype._showMessage=function(){var e=this;if(this.contextViewProvider&&this.message){var t,n=function(){return t.style.width=$.B(e.element)+"px"};this.contextViewProvider.showContextView({getAnchor:function(){return e.element},anchorAlignment:1,render:function(i){if(!e.message)return null;t=$.m(i,Ae(".monaco-inputbox-container")),n();var o={inline:!0,className:"monaco-inputbox-message"},r=e.message.formatContent?Le(e.message.content,o):function(e,t){void 0===t&&(t={});var n=Ne(t);return n.textContent=e,n}(e.message.content,o);$.e(r,e.classForType(e.message.type));var s=e.stylesForType(e.message.type);return r.style.backgroundColor=s.background?s.background.toString():"",r.style.color=s.foreground?s.foreground.toString():"",r.style.border=s.border?"1px solid "+s.border:"",$.m(t,r),null},onHide:function(){e.state="closed"},layout:n}),this.state="open"}},t.prototype._hideMessage=function(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")},t.prototype.onValueChange=function(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),$.S(this.input,"empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()},t.prototype.updateMirror=function(){if(this.mirror){var e=this.value,t=10===e.charCodeAt(e.length-1)?" ":"";e+t?this.mirror.textContent=e+t:this.mirror.innerHTML=" ",this.layout()}},t.prototype.style=function(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){var e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",n=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor=e,this.input.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n},t.prototype.layout=function(){if(this.mirror){var e=this.cachedContentHeight;this.cachedContentHeight=$.A(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}},t.prototype.insertAtCursor=function(e){var t=this.inputElement,n=t.selectionStart,i=t.selectionEnd,o=t.value;null!==n&&null!==i&&(this.value=o.substr(0,n)+e+o.substr(i),t.setSelectionRange(n+1,n+1),this.layout())},t.prototype.dispose=function(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),e.prototype.dispose.call(this)},t}(ee.a)),Fe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ve=i.a("defaultLabel","input"),We=function(e){function t(t,n,i,o){var r=e.call(this)||this;r._showOptionButtons=i,r.fixFocusOnOptionClickEnabled=!0,r._onDidOptionChange=r._register(new ne.a),r.onDidOptionChange=r._onDidOptionChange.event,r._onKeyDown=r._register(new ne.a),r.onKeyDown=r._onKeyDown.event,r._onMouseDown=r._register(new ne.a),r.onMouseDown=r._onMouseDown.event,r._onInput=r._register(new ne.a),r._onKeyUp=r._register(new ne.a),r._onCaseSensitiveKeyDown=r._register(new ne.a),r.onCaseSensitiveKeyDown=r._onCaseSensitiveKeyDown.event,r._onRegexKeyDown=r._register(new ne.a),r.onRegexKeyDown=r._onRegexKeyDown.event,r._lastHighlightFindOptions=0,r.contextViewProvider=n,r.placeholder=o.placeholder||"",r.validation=o.validation,r.label=o.label||Ve,r.inputActiveOptionBorder=o.inputActiveOptionBorder,r.inputActiveOptionBackground=o.inputActiveOptionBackground,r.inputBackground=o.inputBackground,r.inputForeground=o.inputForeground,r.inputBorder=o.inputBorder,r.inputValidationInfoBorder=o.inputValidationInfoBorder,r.inputValidationInfoBackground=o.inputValidationInfoBackground,r.inputValidationInfoForeground=o.inputValidationInfoForeground,r.inputValidationWarningBorder=o.inputValidationWarningBorder,r.inputValidationWarningBackground=o.inputValidationWarningBackground,r.inputValidationWarningForeground=o.inputValidationWarningForeground,r.inputValidationErrorBorder=o.inputValidationErrorBorder,r.inputValidationErrorBackground=o.inputValidationErrorBackground,r.inputValidationErrorForeground=o.inputValidationErrorForeground;var s=o.appendCaseSensitiveLabel||"",a=o.appendWholeWordsLabel||"",u=o.appendRegexLabel||"",l=o.history||[],c=!!o.flexibleHeight,d=!!o.flexibleWidth,h=o.flexibleMaxHeight;r.domNode=document.createElement("div"),$.e(r.domNode,"monaco-findInput"),r.inputBox=r._register(new Pe(r.domNode,r.contextViewProvider,{placeholder:r.placeholder||"",ariaLabel:r.label||"",validationOptions:{validation:r.validation},inputBackground:r.inputBackground,inputForeground:r.inputForeground,inputBorder:r.inputBorder,inputValidationInfoBackground:r.inputValidationInfoBackground,inputValidationInfoForeground:r.inputValidationInfoForeground,inputValidationInfoBorder:r.inputValidationInfoBorder,inputValidationWarningBackground:r.inputValidationWarningBackground,inputValidationWarningForeground:r.inputValidationWarningForeground,inputValidationWarningBorder:r.inputValidationWarningBorder,inputValidationErrorBackground:r.inputValidationErrorBackground,inputValidationErrorForeground:r.inputValidationErrorForeground,inputValidationErrorBorder:r.inputValidationErrorBorder,history:l,flexibleHeight:c,flexibleWidth:d,flexibleMaxHeight:h})),r.regex=r._register(new fe({appendTitle:u,isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.regex.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r._register(r.regex.onKeyDown((function(e){r._onRegexKeyDown.fire(e)}))),r.wholeWords=r._register(new he({appendTitle:a,isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.wholeWords.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r.caseSensitive=r._register(new de({appendTitle:s,isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.caseSensitive.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r._register(r.caseSensitive.onKeyDown((function(e){r._onCaseSensitiveKeyDown.fire(e)}))),r._showOptionButtons&&(r.inputBox.paddingRight=r.caseSensitive.width()+r.wholeWords.width()+r.regex.width());var f=[r.caseSensitive.domNode,r.wholeWords.domNode,r.regex.domNode];r.onkeydown(r.domNode,(function(e){if(e.equals(15)||e.equals(17)||e.equals(9)){var t=f.indexOf(document.activeElement);if(t>=0){var n=-1;e.equals(17)?n=(t+1)%f.length:e.equals(15)&&(n=0===t?f.length-1:t-1),e.equals(9)?f[t].blur():n>=0&&f[n].focus(),$.b.stop(e,!0)}}}));var p=document.createElement("div");return p.className="controls",p.style.display=r._showOptionButtons?"block":"none",p.appendChild(r.caseSensitive.domNode),p.appendChild(r.wholeWords.domNode),p.appendChild(r.regex.domNode),r.domNode.appendChild(p),t&&t.appendChild(r.domNode),r.onkeydown(r.inputBox.inputElement,(function(e){return r._onKeyDown.fire(e)})),r.onkeyup(r.inputBox.inputElement,(function(e){return r._onKeyUp.fire(e)})),r.oninput(r.inputBox.inputElement,(function(e){return r._onInput.fire()})),r.onmousedown(r.inputBox.inputElement,(function(e){return r._onMouseDown.fire(e)})),r}return Fe(t,e),t.prototype.enable=function(){$.J(this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()},t.prototype.disable=function(){$.e(this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()},t.prototype.setFocusInputOnOptionClick=function(e){this.fixFocusOnOptionClickEnabled=e},t.prototype.setEnabled=function(e){e?this.enable():this.disable()},t.prototype.getValue=function(){return this.inputBox.value},t.prototype.setValue=function(e){this.inputBox.value!==e&&(this.inputBox.value=e)},t.prototype.style=function(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){if(this.domNode){var e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);var t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}},t.prototype.select=function(){this.inputBox.select()},t.prototype.focus=function(){this.inputBox.focus()},t.prototype.getCaseSensitive=function(){return this.caseSensitive.checked},t.prototype.setCaseSensitive=function(e){this.caseSensitive.checked=e},t.prototype.getWholeWords=function(){return this.wholeWords.checked},t.prototype.setWholeWords=function(e){this.wholeWords.checked=e},t.prototype.getRegex=function(){return this.regex.checked},t.prototype.setRegex=function(e){this.regex.checked=e,this.validate()},t.prototype.focusOnCaseSensitive=function(){this.caseSensitive.focus()},t.prototype.highlightFindOptions=function(){$.J(this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,$.e(this.domNode,"highlight-"+this._lastHighlightFindOptions)},t.prototype.validate=function(){this.inputBox.validate()},t.prototype.clearMessage=function(){this.inputBox.hideMessage()},t}(ee.a),Be=n("nrhi"),je=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),He=i.a("defaultLabel","input"),ze=i.a("label.preserveCaseCheckbox","Preserve Case"),Ue=function(e){function t(t){return e.call(this,{actionClassName:"codicon-preserve-case",title:ze+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return je(t,e),t}(se),Ke=function(e){function t(t,n,i,o){var r=e.call(this)||this;r._showOptionButtons=i,r.fixFocusOnOptionClickEnabled=!0,r.cachedOptionsWidth=0,r._onDidOptionChange=r._register(new ne.a),r.onDidOptionChange=r._onDidOptionChange.event,r._onKeyDown=r._register(new ne.a),r.onKeyDown=r._onKeyDown.event,r._onMouseDown=r._register(new ne.a),r._onInput=r._register(new ne.a),r._onKeyUp=r._register(new ne.a),r._onPreserveCaseKeyDown=r._register(new ne.a),r.onPreserveCaseKeyDown=r._onPreserveCaseKeyDown.event,r.contextViewProvider=n,r.placeholder=o.placeholder||"",r.validation=o.validation,r.label=o.label||He,r.inputActiveOptionBorder=o.inputActiveOptionBorder,r.inputActiveOptionBackground=o.inputActiveOptionBackground,r.inputBackground=o.inputBackground,r.inputForeground=o.inputForeground,r.inputBorder=o.inputBorder,r.inputValidationInfoBorder=o.inputValidationInfoBorder,r.inputValidationInfoBackground=o.inputValidationInfoBackground,r.inputValidationInfoForeground=o.inputValidationInfoForeground,r.inputValidationWarningBorder=o.inputValidationWarningBorder,r.inputValidationWarningBackground=o.inputValidationWarningBackground,r.inputValidationWarningForeground=o.inputValidationWarningForeground,r.inputValidationErrorBorder=o.inputValidationErrorBorder,r.inputValidationErrorBackground=o.inputValidationErrorBackground,r.inputValidationErrorForeground=o.inputValidationErrorForeground;var s=o.history||[],a=!!o.flexibleHeight,u=!!o.flexibleWidth,l=o.flexibleMaxHeight;r.domNode=document.createElement("div"),$.e(r.domNode,"monaco-findInput"),r.inputBox=r._register(new Pe(r.domNode,r.contextViewProvider,{ariaLabel:r.label||"",placeholder:r.placeholder||"",validationOptions:{validation:r.validation},inputBackground:r.inputBackground,inputForeground:r.inputForeground,inputBorder:r.inputBorder,inputValidationInfoBackground:r.inputValidationInfoBackground,inputValidationInfoForeground:r.inputValidationInfoForeground,inputValidationInfoBorder:r.inputValidationInfoBorder,inputValidationWarningBackground:r.inputValidationWarningBackground,inputValidationWarningForeground:r.inputValidationWarningForeground,inputValidationWarningBorder:r.inputValidationWarningBorder,inputValidationErrorBackground:r.inputValidationErrorBackground,inputValidationErrorForeground:r.inputValidationErrorForeground,inputValidationErrorBorder:r.inputValidationErrorBorder,history:s,flexibleHeight:a,flexibleWidth:u,flexibleMaxHeight:l})),r.preserveCase=r._register(new Ue({appendTitle:"",isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.preserveCase.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r._register(r.preserveCase.onKeyDown((function(e){r._onPreserveCaseKeyDown.fire(e)}))),r._showOptionButtons?r.cachedOptionsWidth=r.preserveCase.width():r.cachedOptionsWidth=0;var c=[r.preserveCase.domNode];r.onkeydown(r.domNode,(function(e){if(e.equals(15)||e.equals(17)||e.equals(9)){var t=c.indexOf(document.activeElement);if(t>=0){var n=-1;e.equals(17)?n=(t+1)%c.length:e.equals(15)&&(n=0===t?c.length-1:t-1),e.equals(9)?c[t].blur():n>=0&&c[n].focus(),$.b.stop(e,!0)}}}));var d=document.createElement("div");return d.className="controls",d.style.display=r._showOptionButtons?"block":"none",d.appendChild(r.preserveCase.domNode),r.domNode.appendChild(d),t&&t.appendChild(r.domNode),r.onkeydown(r.inputBox.inputElement,(function(e){return r._onKeyDown.fire(e)})),r.onkeyup(r.inputBox.inputElement,(function(e){return r._onKeyUp.fire(e)})),r.oninput(r.inputBox.inputElement,(function(e){return r._onInput.fire()})),r.onmousedown(r.inputBox.inputElement,(function(e){return r._onMouseDown.fire(e)})),r}return je(t,e),t.prototype.enable=function(){$.J(this.domNode,"disabled"),this.inputBox.enable(),this.preserveCase.enable()},t.prototype.disable=function(){$.e(this.domNode,"disabled"),this.inputBox.disable(),this.preserveCase.disable()},t.prototype.setEnabled=function(e){e?this.enable():this.disable()},t.prototype.style=function(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){if(this.domNode){var e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(e);var t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}},t.prototype.select=function(){this.inputBox.select()},t.prototype.focus=function(){this.inputBox.focus()},t.prototype.getPreserveCase=function(){return this.preserveCase.checked},t.prototype.setPreserveCase=function(e){this.preserveCase.checked=e},t.prototype.focusOnPreserve=function(){this.preserveCase.focus()},t.prototype.validate=function(){this.inputBox&&this.inputBox.validate()},Object.defineProperty(t.prototype,"width",{set:function(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t}(ee.a),qe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ge=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ye=function(e,t){return function(n,i){t(n,i,e)}};function Ze(e,t){return e.getContext(document.activeElement).getValue(t)}function Xe(e,t){var n=function(e,t){return e.createScoped(t.target)}(e,t);return function(e,t,n){new E.d(n,t).bindTo(e)}(n,t,"historyNavigationWidget"),{scopedContextKeyService:n,historyNavigationEnablement:new E.d("historyNavigationEnabled",!0).bindTo(n)}}var Je=function(e){function t(t,n,i,o,r){void 0===r&&(r=!1);var s=e.call(this,t,n,r,i)||this;return s._register(Xe(o,{target:s.inputBox.element,historyNavigator:s.inputBox}).scopedContextKeyService),s}return qe(t,e),t=Ge([Ye(3,E.c)],t)}(We),Qe=function(e){function t(t,n,i,o,r){void 0===r&&(r=!1);var s=e.call(this,t,n,r,i)||this;return s._register(Xe(o,{target:s.inputBox.element,historyNavigator:s.inputBox}).scopedContextKeyService),s}return qe(t,e),t=Ge([Ye(3,E.c)],t)}(Ke);Be.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:E.a.and(E.a.has("historyNavigationWidget"),E.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:function(e,t){var n=Ze(e.get(E.c),"historyNavigationWidget");n&&n.historyNavigator.showPreviousValue()}}),Be.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:E.a.and(E.a.has("historyNavigationWidget"),E.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:function(e,t){var n=Ze(e.get(E.c),"historyNavigationWidget");n&&n.historyNavigator.showNextValue()}});var $e=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),et=i.a("label.find","Find"),tt=i.a("placeholder.find","Find"),nt=i.a("label.previousMatchButton","Previous match"),it=i.a("label.nextMatchButton","Next match"),ot=i.a("label.toggleSelectionFind","Find in selection"),rt=i.a("label.closeButton","Close"),st=i.a("label.replace","Replace"),at=i.a("placeholder.replace","Replace"),ut=i.a("label.replaceButton","Replace"),lt=i.a("label.replaceAllButton","Replace All"),ct=i.a("label.toggleReplaceButton","Toggle Replace mode"),dt=i.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),ht=i.a("label.matchesLocation","{0} of {1}"),ft=i.a("label.noResults","No Results"),pt=69,gt=we.e?256:2048,mt=function(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"};function vt(e,t,n){var i=!!t.match(/\n/);n&&i&&n.selectionStart>0&&e.stopPropagation()}function _t(e,t,n){var i=!!t.match(/\n/);n&&i&&n.selectionEnd<n.value.length&&e.stopPropagation()}var yt=function(e){function t(t,n,i,s,a,u,l,c,d){var h=e.call(this)||this;return h._cachedHeight=null,h._codeEditor=t,h._controller=n,h._state=i,h._contextViewProvider=s,h._keybindingService=a,h._contextKeyService=u,h._storageService=c,h._notificationService=d,h._ctrlEnterReplaceAllWarningPrompted=!!c.getBoolean("ctrlEnterReplaceAll.windows.donotask",0),h._isVisible=!1,h._isReplaceVisible=!1,h._ignoreChangeEvent=!1,h._updateHistoryDelayer=new o.a(500),h._register(Object(r.f)((function(){return h._updateHistoryDelayer.cancel()}))),h._register(h._state.onFindReplaceStateChange((function(e){return h._onStateChanged(e)}))),h._buildDomNode(),h._updateButtons(),h._tryUpdateWidgetWidth(),h._findInput.inputBox.layout(),h._register(h._codeEditor.onDidChangeConfiguration((function(e){if(e.hasChanged(68)&&(h._codeEditor.getOption(68)&&h._state.change({isReplaceRevealed:!1},!1),h._updateButtons()),e.hasChanged(107)&&h._tryUpdateWidgetWidth(),e.hasChanged(2)&&h.updateAccessibilitySupport(),e.hasChanged(28)){var t=h._codeEditor.getOption(28).addExtraSpaceOnTop;t&&!h._viewZone&&(h._viewZone=new mt(0),h._showViewZone()),!t&&h._viewZone&&h._removeViewZone()}}))),h.updateAccessibilitySupport(),h._register(h._codeEditor.onDidChangeCursorSelection((function(){h._isVisible&&h._updateToggleSelectionFindButton()}))),h._register(h._codeEditor.onDidFocusEditorWidget((function(){if(h._isVisible){var e=h._controller.getGlobalBufferTerm();e&&e!==h._state.searchString&&(h._state.change({searchString:e},!0),h._findInput.select())}}))),h._findInputFocused=I.bindTo(u),h._findFocusTracker=h._register($.T(h._findInput.inputBox.inputElement)),h._register(h._findFocusTracker.onDidFocus((function(){h._findInputFocused.set(!0),h._updateSearchScope()}))),h._register(h._findFocusTracker.onDidBlur((function(){h._findInputFocused.set(!1)}))),h._replaceInputFocused=M.bindTo(u),h._replaceFocusTracker=h._register($.T(h._replaceInput.inputBox.inputElement)),h._register(h._replaceFocusTracker.onDidFocus((function(){h._replaceInputFocused.set(!0),h._updateSearchScope()}))),h._register(h._replaceFocusTracker.onDidBlur((function(){h._replaceInputFocused.set(!1)}))),h._codeEditor.addOverlayWidget(h),h._codeEditor.getOption(28).addExtraSpaceOnTop&&(h._viewZone=new mt(0)),h._applyTheme(l.getTheme()),h._register(l.onThemeChange(h._applyTheme.bind(h))),h._register(h._codeEditor.onDidChangeModel((function(){h._isVisible&&(h._viewZoneId=void 0)}))),h._register(h._codeEditor.onDidScrollChange((function(e){e.scrollTopChanged?h._layoutViewZone():setTimeout((function(){h._layoutViewZone()}),0)}))),h}return $e(t,e),t.prototype.getId=function(){return t.ID},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return this._isVisible?{preference:0}:null},t.prototype._onStateChanged=function(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(68)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=$.B(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){var t=this._state.searchString.length>0&&0===this._state.matchesCount;$.S(this._domNode,"no-results",t),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory()},t.prototype._delayedUpdateHistory=function(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))},t.prototype._updateHistory=function(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()},t.prototype._updateMatchesCount=function(){var e;if(this._matchesCount.style.minWidth=pt+"px",this._state.matchesCount>=19999?this._matchesCount.title=dt:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){var t=String(this._state.matchesCount);this._state.matchesCount>=19999&&(t+="+");var n=String(this._state.matchesPosition);"0"===n&&(n="?"),e=s.p(ht,n,t)}else e=ft;this._matchesCount.appendChild(document.createTextNode(e)),Object(ye.a)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString),!0),pt=Math.max(pt,this._matchesCount.clientWidth)},t.prototype._getAriaLabel=function(e,t,n){return e===ft?""===n?i.a("ariaSearchNoResultEmpty","{0} found",e):i.a("ariaSearchNoResult","{0} found for {1}",e,n):t?i.a("ariaSearchNoResultWithLineNum","{0} found for {1} at {2}",e,n,t.startLineNumber+":"+t.startColumn):i.a("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for {1}",e,n)},t.prototype._updateToggleSelectionFindButton=function(){var e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),n=this._toggleSelectionFind.checked;this._isVisible&&(n||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()},t.prototype._updateButtons=function(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);var e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t),this._nextBtn.setEnabled(this._isVisible&&e&&t),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),$.S(this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);var n=!this._codeEditor.getOption(68);this._toggleReplaceBtn.setEnabled(this._isVisible&&n)},t.prototype._reveal=function(){var e=this;if(!this._isVisible){this._isVisible=!0;var t=this._codeEditor.getSelection();switch(this._codeEditor.getOption(28).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":var n=!!t&&t.startLineNumber!==t.endLineNumber;this._toggleSelectionFind.checked=n}this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout((function(){$.e(e._domNode,"visible"),e._domNode.setAttribute("aria-hidden","false")}),0),setTimeout((function(){e._findInput.validate()}),200),this._codeEditor.layoutOverlayWidget(this);var i=!0;if(this._codeEditor.getOption(28).seedSearchStringFromSelection&&t){var o=this._codeEditor.getDomNode();if(o){var r=$.w(o),s=this._codeEditor.getScrolledVisiblePosition(t.getStartPosition()),a=r.left+(s?s.left:0),u=s?s.top:0;if(this._viewZone&&u<this._viewZone.heightInPx){t.endLineNumber>t.startLineNumber&&(i=!1);var l=$.z(this._domNode).left;a>l&&(i=!1);var c=this._codeEditor.getScrolledVisiblePosition(t.getEndPosition());r.left+(c?c.left:0)>l&&(i=!1)}}}this._showViewZone(i)}},t.prototype._hide=function(e){this._isVisible&&(this._isVisible=!1,this._updateButtons(),$.J(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())},t.prototype._layoutViewZone=function(){var e=this;if(this._codeEditor.getOption(28).addExtraSpaceOnTop){if(this._isVisible){var t=this._viewZone;void 0===this._viewZoneId&&t&&this._codeEditor.changeViewZones((function(n){t.heightInPx=e._getHeight(),e._viewZoneId=n.addZone(t),e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()+t.heightInPx)}))}}else this._removeViewZone()},t.prototype._showViewZone=function(e){var t=this;if((void 0===e&&(e=!0),this._isVisible)&&this._codeEditor.getOption(28).addExtraSpaceOnTop){void 0===this._viewZone&&(this._viewZone=new mt(0));var n=this._viewZone;this._codeEditor.changeViewZones((function(i){if(void 0!==t._viewZoneId){var o=t._getHeight();if(o===n.heightInPx)return;var r=o-n.heightInPx;return n.heightInPx=o,i.layoutZone(t._viewZoneId),void(e&&t._codeEditor.setScrollTop(t._codeEditor.getScrollTop()+r))}r=t._getHeight();n.heightInPx=r,t._viewZoneId=i.addZone(n),e&&t._codeEditor.setScrollTop(t._codeEditor.getScrollTop()+r)}))}},t.prototype._removeViewZone=function(){var e=this;this._codeEditor.changeViewZones((function(t){void 0!==e._viewZoneId&&(t.removeZone(e._viewZoneId),e._viewZoneId=void 0,e._viewZone&&(e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()-e._viewZone.heightInPx),e._viewZone=void 0))}))},t.prototype._applyTheme=function(e){var t={inputActiveOptionBorder:e.getColor(m.P),inputActiveOptionBackground:e.getColor(m.O),inputBackground:e.getColor(m.Q),inputForeground:e.getColor(m.S),inputBorder:e.getColor(m.R),inputValidationInfoBackground:e.getColor(m.W),inputValidationInfoForeground:e.getColor(m.Y),inputValidationInfoBorder:e.getColor(m.X),inputValidationWarningBackground:e.getColor(m.Z),inputValidationWarningForeground:e.getColor(m.bb),inputValidationWarningBorder:e.getColor(m.ab),inputValidationErrorBackground:e.getColor(m.T),inputValidationErrorForeground:e.getColor(m.V),inputValidationErrorBorder:e.getColor(m.U)};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)},t.prototype._tryUpdateWidgetWidth=function(){if(this._isVisible&&$.G(this._domNode)){var e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0)$.e(this._domNode,"hiddenEditor");else{$.C(this._domNode,"hiddenEditor")&&$.J(this._domNode,"hiddenEditor");var t=e.width,n=e.minimapWidth,i=!1,o=!1,r=!1;if(this._resized)if($.B(this._domNode)>419)return this._domNode.style.maxWidth=t-28-n-15+"px",void(this._replaceInput.width=$.B(this._findInput.domNode));if(447+n>=t&&(o=!0),447+n-pt>=t&&(r=!0),447+n-pt>=t+50&&(i=!0),$.S(this._domNode,"collapsed-find-widget",i),$.S(this._domNode,"narrow-find-widget",r),$.S(this._domNode,"reduced-find-widget",o),r||i||(this._domNode.style.maxWidth=t-28-n-15+"px"),this._resized){this._findInput.inputBox.layout();var s=this._findInput.inputBox.element.clientWidth;s>0&&(this._replaceInput.width=s)}else this._isReplaceVisible&&(this._replaceInput.width=$.B(this._findInput.domNode))}}},t.prototype._getHeight=function(){var e=0;return e+=4,e+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(e+=4,e+=this._replaceInput.inputBox.height+2),e+=4},t.prototype._tryUpdateHeight=function(){var e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=e+"px",!0)},t.prototype.focusFindInput=function(){this._findInput.select(),this._findInput.focus()},t.prototype.focusReplaceInput=function(){this._replaceInput.select(),this._replaceInput.focus()},t.prototype.highlightFindOptions=function(){this._findInput.highlightFindOptions()},t.prototype._updateSearchScope=function(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){var e=this._codeEditor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));var t=this._state.currentMatch;e.startLineNumber!==e.endLineNumber&&(d.a.equalsRange(e,t)||this._state.change({searchScope:e},!0))}},t.prototype._onFindInputMouseDown=function(e){e.middleButton&&e.stopPropagation()},t.prototype._onFindInputKeyDown=function(e){return e.equals(3|gt)?(this._findInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?vt(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?_t(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0},t.prototype._onReplaceInputKeyDown=function(e){return e.equals(3|gt)?(we.h&&we.f&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(i.a("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store("ctrlEnterReplaceAll.windows.donotask",!0,0)),this._replaceInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?vt(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?_t(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0},t.prototype.getHorizontalSashTop=function(e){return 0},t.prototype.getHorizontalSashLeft=function(e){return 0},t.prototype.getHorizontalSashWidth=function(e){return 500},t.prototype._keybindingLabelFor=function(e){var t=this._keybindingService.lookupKeybinding(e);return t?" ("+t.getLabel()+")":""},t.prototype._buildDomNode=function(){var e=this;this._findInput=this._register(new Je(null,this._contextViewProvider,{width:221,label:et,placeholder:tt,appendCaseSensitiveLabel:this._keybindingLabelFor(K),appendWholeWordsLabel:this._keybindingLabelFor(q),appendRegexLabel:this._keybindingLabelFor(G),validation:function(t){if(0===t.length||!e._findInput.getRegex())return null;try{return new RegExp(t),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown((function(t){return e._onFindInputKeyDown(t)}))),this._register(this._findInput.inputBox.onDidChange((function(){e._ignoreChangeEvent||e._state.change({searchString:e._findInput.getValue()},!0)}))),this._register(this._findInput.onDidOptionChange((function(){e._state.change({isRegex:e._findInput.getRegex(),wholeWord:e._findInput.getWholeWords(),matchCase:e._findInput.getCaseSensitive()},!0)}))),this._register(this._findInput.onCaseSensitiveKeyDown((function(t){t.equals(1026)&&e._isReplaceVisible&&(e._replaceInput.focus(),t.preventDefault())}))),this._register(this._findInput.onRegexKeyDown((function(t){t.equals(2)&&e._isReplaceVisible&&(e._replaceInput.focusOnPreserve(),t.preventDefault())}))),this._register(this._findInput.inputBox.onDidHeightChange((function(t){e._tryUpdateHeight()&&e._showViewZone()}))),we.d&&this._register(this._findInput.onMouseDown((function(t){return e._onFindInputMouseDown(t)}))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new bt({label:nt+this._keybindingLabelFor(B),className:"codicon codicon-arrow-up",onTrigger:function(){e._codeEditor.getAction(B).run().then(void 0,Ce.e)}})),this._nextBtn=this._register(new bt({label:it+this._keybindingLabelFor(W),className:"codicon codicon-arrow-down",onTrigger:function(){e._codeEditor.getAction(W).run().then(void 0,Ce.e)}}));var t=document.createElement("div");t.className="find-part",t.appendChild(this._findInput.domNode);var n=document.createElement("div");n.className="find-actions",t.appendChild(n),n.appendChild(this._matchesCount),n.appendChild(this._prevBtn.domNode),n.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new se({actionClassName:"codicon codicon-selection",title:ot+this._keybindingLabelFor(Y),isChecked:!1})),this._register(this._toggleSelectionFind.onChange((function(){if(e._toggleSelectionFind.checked){if(e._codeEditor.hasModel()){var t=e._codeEditor.getSelection();1===t.endColumn&&t.endLineNumber>t.startLineNumber&&(t=t.setEndPosition(t.endLineNumber-1,e._codeEditor.getModel().getLineMaxColumn(t.endLineNumber-1))),t.isEmpty()||e._state.change({searchScope:t},!0)}}else e._state.change({searchScope:null},!0)}))),n.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new bt({label:rt+this._keybindingLabelFor(U),className:"codicon codicon-close",onTrigger:function(){e._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:function(t){t.equals(2)&&e._isReplaceVisible&&(e._replaceBtn.isEnabled()?e._replaceBtn.focus():e._codeEditor.focus(),t.preventDefault())}})),n.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new Qe(null,void 0,{label:st,placeholder:at,history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown((function(t){return e._onReplaceInputKeyDown(t)}))),this._register(this._replaceInput.inputBox.onDidChange((function(){e._state.change({replaceString:e._replaceInput.inputBox.value},!1)}))),this._register(this._replaceInput.inputBox.onDidHeightChange((function(t){e._isReplaceVisible&&e._tryUpdateHeight()&&e._showViewZone()}))),this._register(this._replaceInput.onDidOptionChange((function(){e._state.change({preserveCase:e._replaceInput.getPreserveCase()},!0)}))),this._register(this._replaceInput.onPreserveCaseKeyDown((function(t){t.equals(2)&&(e._prevBtn.isEnabled()?e._prevBtn.focus():e._nextBtn.isEnabled()?e._nextBtn.focus():e._toggleSelectionFind.enabled?e._toggleSelectionFind.focus():e._closeBtn.isEnabled()&&e._closeBtn.focus(),t.preventDefault())}))),this._replaceBtn=this._register(new bt({label:ut+this._keybindingLabelFor(Z),className:"codicon codicon-replace",onTrigger:function(){e._controller.replace()},onKeyDown:function(t){t.equals(1026)&&(e._closeBtn.focus(),t.preventDefault())}})),this._replaceAllBtn=this._register(new bt({label:lt+this._keybindingLabelFor(X),className:"codicon codicon-replace-all",onTrigger:function(){e._controller.replaceAll()}}));var i=document.createElement("div");i.className="replace-part",i.appendChild(this._replaceInput.domNode);var o=document.createElement("div");o.className="replace-actions",i.appendChild(o),o.appendChild(this._replaceBtn.domNode),o.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new bt({label:ct,className:"codicon toggle left",onTrigger:function(){e._state.change({isReplaceRevealed:!e._isReplaceVisible},!1),e._isReplaceVisible&&(e._replaceInput.width=$.B(e._findInput.domNode),e._replaceInput.inputBox.layout()),e._showViewZone()}})),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(t),this._domNode.appendChild(i),this._resizeSash=new be.a(this._domNode,this,{orientation:0}),this._resized=!1;var r=419;this._register(this._resizeSash.onDidStart((function(){r=$.B(e._domNode)}))),this._register(this._resizeSash.onDidChange((function(t){e._resized=!0;var n=r+t.startX-t.currentX;n<419||(n>(parseFloat($.t(e._domNode).maxWidth)||0)||(e._domNode.style.width=n+"px",e._isReplaceVisible&&(e._replaceInput.width=$.B(e._findInput.domNode)),e._findInput.inputBox.layout(),e._tryUpdateHeight()))}))),this._register(this._resizeSash.onDidReset((function(){var t=$.B(e._domNode);if(!(t<419)){var n=419;if(!e._resized||419===t){var i=e._codeEditor.getLayoutInfo();n=i.width-28-i.minimapWidth-15,e._resized=!0}e._domNode.style.width=n+"px",e._isReplaceVisible&&(e._replaceInput.width=$.B(e._findInput.domNode)),e._findInput.inputBox.layout()}})))},t.prototype.updateAccessibilitySupport=function(){var e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)},t.ID="editor.contrib.findWidget",t}(ee.a),bt=function(e){function t(t){var n=e.call(this)||this;return n._opts=t,n._domNode=document.createElement("div"),n._domNode.title=n._opts.label,n._domNode.tabIndex=0,n._domNode.className="button "+n._opts.className,n._domNode.setAttribute("role","button"),n._domNode.setAttribute("aria-label",n._opts.label),n.onclick(n._domNode,(function(e){n._opts.onTrigger(),e.preventDefault()})),n.onkeydown(n._domNode,(function(e){if(e.equals(10)||e.equals(3))return n._opts.onTrigger(),void e.preventDefault();n._opts.onKeyDown&&n._opts.onKeyDown(e)})),n}return $e(t,e),Object.defineProperty(t.prototype,"domNode",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),t.prototype.isEnabled=function(){return this._domNode.tabIndex>=0},t.prototype.focus=function(){this._domNode.focus()},t.prototype.setEnabled=function(e){$.S(this._domNode,"disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1},t.prototype.setExpanded=function(e){this._domNode.setAttribute("aria-expanded",String(!!e))},t.prototype.toggleClass=function(e,t){$.S(this._domNode,e,t)},t}(ee.a);Object(v.e)((function(e,t){var n=function(e,n){n&&t.addRule(".monaco-editor "+e+" { background-color: "+n+"; }")};n(".findMatch",e.getColor(m.s)),n(".currentFindMatch",e.getColor(m.q)),n(".findScope",e.getColor(m.u)),n(".find-widget",e.getColor(m.H));var i=e.getColor(m.Lb);i&&t.addRule(".monaco-editor .find-widget { box-shadow: 0 2px 8px "+i+"; }");var o=e.getColor(m.t);o&&t.addRule(".monaco-editor .findMatch { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+o+"; box-sizing: border-box; }");var r=e.getColor(m.r);r&&t.addRule(".monaco-editor .currentFindMatch { border: 2px solid "+r+"; padding: 1px; box-sizing: border-box; }");var s=e.getColor(m.v);s&&t.addRule(".monaco-editor .findScope { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+s+"; }");var a=e.getColor(m.e);a&&t.addRule(".monaco-editor .find-widget { border: 1px solid "+a+"; }");var u=e.getColor(m.J);u&&t.addRule(".monaco-editor .find-widget { color: "+u+"; }");var l=e.getColor(m.L);l&&t.addRule(".monaco-editor .find-widget.no-results .matchesCount { color: "+l+"; }");var c=e.getColor(m.K);if(c)t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+c+"; width: 3px !important; margin-left: -4px;}");else{var d=e.getColor(m.I);d&&t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+d+"; width: 3px !important; margin-left: -4px;}")}var h=e.getColor(m.M);h&&t.addRule(".monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: "+h+"; }")}));var Ct=n("9XeP"),wt=n("Uzvx"),St=n("Cg/j"),Lt=n("bexQ"),Nt=n("A+jI"),Ot=n("sM1p"),Dt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),xt=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Et=function(e,t){return function(n,i){t(n,i,e)}};function kt(e){if(!e.hasModel())return null;var t=e.getSelection();if(t.startLineNumber===t.endLineNumber)if(t.isEmpty()){var n=e.getModel().getWordAtPosition(t.getStartPosition());if(n)return n.word}else if(e.getModel().getValueLengthInRange(t)<524288)return e.getModel().getValueInRange(t);return null}var It=function(e){function t(t,n,i,r){var s=e.call(this)||this;return s._editor=t,s._findWidgetVisible=k.bindTo(n),s._contextKeyService=n,s._storageService=i,s._clipboardService=r,s._updateHistoryDelayer=new o.a(500),s._state=s._register(new _e),s.loadQueryState(),s._register(s._state.onFindReplaceStateChange((function(e){return s._onStateChanged(e)}))),s._model=null,s._register(s._editor.onDidChangeModel((function(){var e=s._editor.getModel()&&s._state.isRevealed;s.disposeModel(),s._state.change({searchScope:null,matchCase:s._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:s._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:s._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:s._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&s._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1})}))),s}return Dt(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.dispose=function(){this.disposeModel(),e.prototype.dispose.call(this)},t.prototype.disposeModel=function(){this._model&&(this._model.dispose(),this._model=null)},t.prototype._onStateChanged=function(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)},t.prototype.saveQueryState=function(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1)},t.prototype.loadQueryState=function(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)},t.prototype.isFindInputFocused=function(){return!!I.getValue(this._contextKeyService)},t.prototype.getState=function(){return this._state},t.prototype.closeFindWidget=function(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()},t.prototype.toggleCaseSensitive=function(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleWholeWords=function(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleRegex=function(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleSearchScope=function(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){var e=this._editor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()||this._state.change({searchScope:e},!0)}},t.prototype.setSearchString=function(e){this._state.isRegex&&(e=s.n(e)),this._state.change({searchString:e},!1)},t.prototype.highlightFindOptions=function(){},t.prototype._start=function(e){if(this.disposeModel(),this._editor.hasModel()){var t,n={isRevealed:!0};if(e.seedSearchStringFromSelection)(t=kt(this._editor))&&(this._state.isRegex?n.searchString=s.n(t):n.searchString=t);if(!n.searchString&&e.seedSearchStringFromGlobalClipboard)(t=this.getGlobalBufferTerm())&&(n.searchString=t);if(e.forceRevealReplace?n.isReplaceRevealed=!0:this._findWidgetVisible.get()||(n.isReplaceRevealed=!1),e.updateSearchScope){var i=this._editor.getSelection();i.isEmpty()||(n.searchScope=i)}this._state.change(n,!1),this._model||(this._model=new Q(this._editor,this._state))}},t.prototype.start=function(e){this._start(e)},t.prototype.moveToNextMatch=function(){return!!this._model&&(this._model.moveToNextMatch(),!0)},t.prototype.moveToPrevMatch=function(){return!!this._model&&(this._model.moveToPrevMatch(),!0)},t.prototype.replace=function(){return!!this._model&&(this._model.replace(),!0)},t.prototype.replaceAll=function(){return!!this._model&&(this._model.replaceAll(),!0)},t.prototype.selectAllMatches=function(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)},t.prototype.getGlobalBufferTerm=function(){return this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""},t.prototype.setGlobalBufferTerm=function(e){this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)},t.ID="editor.contrib.findController",t=xt([Et(1,E.c),Et(2,Nt.a),Et(3,Ct.a)],t)}(r.a),Mt=function(e){function t(t,n,i,o,r,s,a,u){var l=e.call(this,t,i,a,u)||this;return l._contextViewService=n,l._keybindingService=o,l._themeService=r,l._notificationService=s,l._widget=null,l._findOptionsWidget=null,l}return Dt(t,e),t.prototype._start=function(t){this._widget||this._createFindWidget();var n=this._editor.getSelection(),i=!1;switch(this._editor.getOption(28).autoFindInSelection){case"always":i=!0;break;case"never":i=!1;break;case"multiline":i=!!n&&n.startLineNumber!==n.endLineNumber}t.updateSearchScope=i,e.prototype._start.call(this,t),2===t.shouldFocus?this._widget.focusReplaceInput():1===t.shouldFocus&&this._widget.focusFindInput()},t.prototype.highlightFindOptions=function(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()},t.prototype._createFindWidget=function(){this._widget=this._register(new yt(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new ge(this._editor,this._state,this._keybindingService,this._themeService))},t=xt([Et(1,wt.b),Et(2,E.c),Et(3,Lt.a),Et(4,v.c),Et(5,Ot.a),Et(6,Nt.a),Et(7,Object(St.d)(Ct.a))],t)}(It),Tt=function(e){function t(){return e.call(this,{id:F,label:i.a("startFindAction","Find"),alias:"Find",precondition:void 0,kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:17,group:"3_find",title:i.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})||this}return Dt(t,e),t.prototype.run=function(e,t){var n=It.get(t);n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(28).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1})},t}(a.b),At=function(e){function t(){return e.call(this,{id:V,label:i.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})||this}return Dt(t,e),t.prototype.run=function(e,t){var n=It.get(t);n&&(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),n.setGlobalBufferTerm(n.getState().searchString))},t}(a.b),Rt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dt(t,e),t.prototype.run=function(e,t){var n=It.get(t);n&&!this._run(n)&&(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===n.getState().searchString.length&&t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(n))},t}(a.b),Pt=function(e){function t(){return e.call(this,{id:W,label:i.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Rt),Ft=function(e){function t(){return e.call(this,{id:W,label:i.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:E.a.and(u.a.focus,I),primary:3,weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Rt),Vt=function(e){function t(){return e.call(this,{id:B,label:i.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Rt),Wt=function(e){function t(){return e.call(this,{id:B,label:i.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:E.a.and(u.a.focus,I),primary:1027,weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Rt),Bt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dt(t,e),t.prototype.run=function(e,t){var n=It.get(t);if(n){var i=kt(t);i&&n.setSearchString(i),this._run(n)||(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(n))}},t}(a.b),jt=function(e){function t(){return e.call(this,{id:j,label:i.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:2109,weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Bt),Ht=function(e){function t(){return e.call(this,{id:H,label:i.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:3133,weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Bt),zt=function(e){function t(){return e.call(this,{id:z,label:i.a("startReplace","Replace"),alias:"Replace",precondition:void 0,kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:17,group:"3_find",title:i.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})||this}return Dt(t,e),t.prototype.run=function(e,t){if(t.hasModel()&&!t.getOption(68)){var n=It.get(t),i=t.getSelection(),o=n.isFindInputFocused(),r=!i.isEmpty()&&i.startLineNumber===i.endLineNumber&&t.getOption(28).seedSearchStringFromSelection&&!o,s=o||r?2:1;n&&n.start({forceRevealReplace:!0,seedSearchStringFromSelection:r,seedSearchStringFromGlobalClipboard:t.getOption(28).seedSearchStringFromSelection,shouldFocus:s,shouldAnimate:!0,updateSearchScope:!1})}},t}(a.b);Object(a.g)(It.ID,Mt),Object(a.e)(Tt),Object(a.e)(At),Object(a.e)(Pt),Object(a.e)(Ft),Object(a.e)(Vt),Object(a.e)(Wt),Object(a.e)(jt),Object(a.e)(Ht),Object(a.e)(zt);var Ut=a.c.bindToContribution(It.get);Object(a.f)(new Ut({id:U,precondition:k,handler:function(e){return e.closeFindWidget()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:9,secondary:[1033]}})),Object(a.f)(new Ut({id:K,precondition:void 0,handler:function(e){return e.toggleCaseSensitive()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:T.primary,mac:T.mac,win:T.win,linux:T.linux}})),Object(a.f)(new Ut({id:q,precondition:void 0,handler:function(e){return e.toggleWholeWords()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),Object(a.f)(new Ut({id:G,precondition:void 0,handler:function(e){return e.toggleRegex()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:R.primary,mac:R.mac,win:R.win,linux:R.linux}})),Object(a.f)(new Ut({id:Y,precondition:void 0,handler:function(e){return e.toggleSearchScope()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:P.primary,mac:P.mac,win:P.win,linux:P.linux}})),Object(a.f)(new Ut({id:Z,precondition:k,handler:function(e){return e.replace()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:3094}})),Object(a.f)(new Ut({id:Z,precondition:k,handler:function(e){return e.replace()},kbOpts:{weight:105,kbExpr:E.a.and(u.a.focus,M),primary:3}})),Object(a.f)(new Ut({id:X,precondition:k,handler:function(e){return e.replaceAll()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:2563}})),Object(a.f)(new Ut({id:X,precondition:k,handler:function(e){return e.replaceAll()},kbOpts:{weight:105,kbExpr:E.a.and(u.a.focus,M),primary:void 0,mac:{primary:2051}}})),Object(a.f)(new Ut({id:J,precondition:k,handler:function(e){return e.selectAllMatches()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:515}}))},p3Ex:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return n.e(147).then(n.bind(null,"/Om3"))}})},p5tG:function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return o}));n("M/lh");var i=monaco.Emitter,o=function(){function e(e,t,n){this._onDidChange=new i,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!0,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),r=new o("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});monaco.languages.json={jsonDefaults:r},monaco.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),monaco.languages.onLanguage("json",(function(){n.e(131).then(n.bind(null,"R7lK")).then((function(e){return e.setupMode(r)}))}))},pI2L:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return n.e(173).then(n.bind(null,"KpXS"))}})},pg8w:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return d}));var i,o,r=n("6OMU"),s=n("pmY6"),a=n("EffR"),u=n("ZCR3"),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};!function(e){e.Tap="-monaco-gesturetap",e.Change="-monaco-gesturechange",e.Start="-monaco-gesturestart",e.End="-monaco-gesturesend",e.Contextmenu="-monaco-gesturecontextmenu"}(o||(o={}));var d=function(e){function t(){var t=e.call(this)||this;return t.dispatched=!1,t.activeTouches={},t.handle=null,t.targets=[],t.ignoreTargets=[],t._lastSetTapCountTime=0,t._register(a.g(document,"touchstart",(function(e){return t.onTouchStart(e)}))),t._register(a.g(document,"touchend",(function(e){return t.onTouchEnd(e)}))),t._register(a.g(document,"touchmove",(function(e){return t.onTouchMove(e)}))),t}return l(t,e),t.addTarget=function(e){return t.isTouchDevice()?(t.INSTANCE||(t.INSTANCE=new t),t.INSTANCE.targets.push(e),{dispose:function(){t.INSTANCE.targets=t.INSTANCE.targets.filter((function(t){return t!==e}))}}):s.a.None},t.ignoreTarget=function(e){return t.isTouchDevice()?(t.INSTANCE||(t.INSTANCE=new t),t.INSTANCE.ignoreTargets.push(e),{dispose:function(){t.INSTANCE.ignoreTargets=t.INSTANCE.ignoreTargets.filter((function(t){return t!==e}))}}):s.a.None},t.isTouchDevice=function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0},t.prototype.dispose=function(){this.handle&&(this.handle.dispose(),this.handle=null),e.prototype.dispose.call(this)},t.prototype.onTouchStart=function(e){var t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(var n=0,i=e.targetTouches.length;n<i;n++){var r=e.targetTouches.item(n);this.activeTouches[r.identifier]={id:r.identifier,initialTarget:r.target,initialTimeStamp:t,initialPageX:r.pageX,initialPageY:r.pageY,rollingTimestamps:[t],rollingPageX:[r.pageX],rollingPageY:[r.pageY]};var s=this.newGestureEvent(o.Start,r.target);s.pageX=r.pageX,s.pageY=r.pageY,this.dispatchEvent(s)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},t.prototype.onTouchEnd=function(e){for(var n=Date.now(),i=Object.keys(this.activeTouches).length,s=function(s,u){var l=e.changedTouches.item(s);if(!a.activeTouches.hasOwnProperty(String(l.identifier)))return console.warn("move of an UNKNOWN touch",l),"continue";var c=a.activeTouches[l.identifier],d=Date.now()-c.initialTimeStamp;if(d<t.HOLD_DELAY&&Math.abs(c.initialPageX-r.p(c.rollingPageX))<30&&Math.abs(c.initialPageY-r.p(c.rollingPageY))<30)(h=a.newGestureEvent(o.Tap,c.initialTarget)).pageX=r.p(c.rollingPageX),h.pageY=r.p(c.rollingPageY),a.dispatchEvent(h);else if(d>=t.HOLD_DELAY&&Math.abs(c.initialPageX-r.p(c.rollingPageX))<30&&Math.abs(c.initialPageY-r.p(c.rollingPageY))<30){var h;(h=a.newGestureEvent(o.Contextmenu,c.initialTarget)).pageX=r.p(c.rollingPageX),h.pageY=r.p(c.rollingPageY),a.dispatchEvent(h)}else if(1===i){var f=r.p(c.rollingPageX),p=r.p(c.rollingPageY),g=r.p(c.rollingTimestamps)-c.rollingTimestamps[0],m=f-c.rollingPageX[0],v=p-c.rollingPageY[0],_=a.targets.filter((function(e){return c.initialTarget instanceof Node&&e.contains(c.initialTarget)}));a.inertia(_,n,Math.abs(m)/g,m>0?1:-1,f,Math.abs(v)/g,v>0?1:-1,p)}a.dispatchEvent(a.newGestureEvent(o.End,c.initialTarget)),delete a.activeTouches[l.identifier]},a=this,u=0,l=e.changedTouches.length;u<l;u++)s(u);this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},t.prototype.newGestureEvent=function(e,t){var n=document.createEvent("CustomEvent");return n.initEvent(e,!1,!0),n.initialTarget=t,n.tapCount=0,n},t.prototype.dispatchEvent=function(e){var n=this;if(e.type===o.Tap){var i=(new Date).getTime(),r=0;r=i-this._lastSetTapCountTime>t.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=i,e.tapCount=r}else e.type!==o.Change&&e.type!==o.Contextmenu||(this._lastSetTapCountTime=0);for(var s=0;s<this.ignoreTargets.length;s++)if(e.initialTarget instanceof Node&&this.ignoreTargets[s].contains(e.initialTarget))return;this.targets.forEach((function(t){e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),n.dispatched=!0)}))},t.prototype.inertia=function(e,n,i,r,s,u,l,c){var d=this;this.handle=a.Q((function(){var a=Date.now(),h=a-n,f=0,p=0,g=!0;i+=t.SCROLL_FRICTION*h,u+=t.SCROLL_FRICTION*h,i>0&&(g=!1,f=r*i*h),u>0&&(g=!1,p=l*u*h);var m=d.newGestureEvent(o.Change);m.translationX=f,m.translationY=p,e.forEach((function(e){return e.dispatchEvent(m)})),g||d.inertia(e,a,i,r,s+f,u,l,c+p)}))},t.prototype.onTouchMove=function(e){for(var t=Date.now(),n=0,i=e.changedTouches.length;n<i;n++){var s=e.changedTouches.item(n);if(this.activeTouches.hasOwnProperty(String(s.identifier))){var a=this.activeTouches[s.identifier],u=this.newGestureEvent(o.Change,a.initialTarget);u.translationX=s.pageX-r.p(a.rollingPageX),u.translationY=s.pageY-r.p(a.rollingPageY),u.pageX=s.pageX,u.pageY=s.pageY,this.dispatchEvent(u),a.rollingPageX.length>3&&(a.rollingPageX.shift(),a.rollingPageY.shift(),a.rollingTimestamps.shift()),a.rollingPageX.push(s.pageX),a.rollingPageY.push(s.pageY),a.rollingTimestamps.push(t)}else console.warn("end of an UNKNOWN touch",s)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},t.SCROLL_FRICTION=-.005,t.HOLD_DELAY=700,t.CLEAR_TAP_COUNT_TIME=400,c([u.a],t,"isTouchDevice",null),t}(s.a)},pmY6:function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return l}));function i(e){}function o(e){return Array.isArray(e)?(e.forEach((function(e){e&&e.dispose()})),[]):e?(e.dispose(),e):void 0}function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.forEach(i),{dispose:function(){return o(e)}}}function s(e){var t={dispose:function(){e()}};return t}var a=function(){function e(){this._toDispose=new Set,this._isDisposed=!1}return e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.clear())},e.prototype.clear=function(){this._toDispose.forEach((function(e){return e.dispose()})),this._toDispose.clear()},e.prototype.add=function(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e},e}(),u=function(){function e(){this._store=new a}return e.prototype.dispose=function(){this._store.dispose()},e.prototype._register=function(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)},e.None=Object.freeze({dispose:function(){}}),e}(),l=(function(){function e(){this._isDisposed=!1}Object.defineProperty(e.prototype,"value",{get:function(){return this._isDisposed?void 0:this._value},set:function(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.value=void 0},e.prototype.dispose=function(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}(),function(){function e(e){this.object=e}return e.prototype.dispose=function(){},e}())},qj0h:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return u}));var i=n("746U");function o(e){if(!e||"object"!=typeof e)return e;if(e instanceof RegExp)return e;var t=Array.isArray(e)?[]:{};return Object.keys(e).forEach((function(n){e[n]&&"object"==typeof e[n]?t[n]=o(e[n]):t[n]=e[n]})),t}function r(e){if(!e||"object"!=typeof e)return e;for(var t=[e];t.length>0;){var n=t.shift();for(var i in Object.freeze(n),n)if(s.call(n,i)){var o=n[i];"object"!=typeof o||Object.isFrozen(o)||t.push(o)}}return e}var s=Object.prototype.hasOwnProperty;function a(e,t,n){return void 0===n&&(n=!0),Object(i.i)(e)?(Object(i.i)(t)&&Object.keys(t).forEach((function(o){o in e?n&&(Object(i.i)(e[o])&&Object(i.i)(t[o])?a(e[o],t[o],n):e[o]=t[o]):e[o]=t[o]})),e):t}function u(e,t,n){var i=t(e);return void 0===i?n:i}},sM1p:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var i=n("S3by"),o=n("Cg/j"),r=(i.a,Object(o.c)("notificationService")),s=function(){}},sStQ:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return n.e(162).then(n.bind(null,"QKwv"))}})},siPX:function(e,t,n){},snIX:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("N0LK"),o=n("LCkn"),r=n("Ll0s"),s=n("+Fos"),a=n("aokT"),u=function(){function e(){}return e.deleteRight=function(e,t,n,i){for(var r=[],u=3!==e,l=0,c=i.length;l<c;l++){var d=i[l],h=d;if(h.isEmpty()){var f=d.getPosition(),p=s.a.right(t,n,f.lineNumber,f.column);h=new a.a(p.lineNumber,p.column,f.lineNumber,f.column)}h.isEmpty()?r[l]=null:(h.startLineNumber!==h.endLineNumber&&(u=!0),r[l]=new o.a(h,""))}return[u,r]},e._isAutoClosingPairDelete=function(e,t,n){if("never"===e.autoClosingBrackets&&"never"===e.autoClosingQuotes)return!1;for(var i=0,o=n.length;i<o;i++){var s=n[i],a=s.getPosition();if(!s.isEmpty())return!1;var u=t.getLineContent(a.lineNumber),l=u[a.column-2],c=e.autoClosingPairsOpen2.get(l);if(!c)return!1;if(Object(r.g)(l)){if("never"===e.autoClosingQuotes)return!1}else if("never"===e.autoClosingBrackets)return!1;for(var d=u[a.column-1],h=!1,f=0,p=c;f<p.length;f++){var g=p[f];g.open===l&&g.close===d&&(h=!0)}if(!h)return!1}return!0},e._runAutoClosingPairDelete=function(e,t,n){for(var i=[],r=0,s=n.length;r<s;r++){var u=n[r].getPosition(),l=new a.a(u.lineNumber,u.column-1,u.lineNumber,u.column+1);i[r]=new o.a(l,"")}return[!0,i]},e.deleteLeft=function(e,t,n,u){if(this._isAutoClosingPairDelete(t,n,u))return this._runAutoClosingPairDelete(t,n,u);for(var l=[],c=2!==e,d=0,h=u.length;d<h;d++){var f=u[d],p=f;if(p.isEmpty()){var g=f.getPosition();if(t.useTabStops&&g.column>1){var m=n.getLineContent(g.lineNumber),v=i.o(m),_=-1===v?m.length+1:v+1;if(g.column<=_){var y=r.a.visibleColumnFromColumn2(t,n,g),b=r.a.prevIndentTabStop(y,t.indentSize),C=r.a.columnFromVisibleColumn2(t,n,g.lineNumber,b);p=new a.a(g.lineNumber,C,g.lineNumber,g.column)}else p=new a.a(g.lineNumber,g.column-1,g.lineNumber,g.column)}else{var w=s.a.left(t,n,g.lineNumber,g.column);p=new a.a(w.lineNumber,w.column,g.lineNumber,g.column)}}p.isEmpty()?l[d]=null:(p.startLineNumber!==p.endLineNumber&&(c=!0),l[d]=new o.a(p,""))}return[c,l]},e.cut=function(e,t,n){for(var i=[],s=0,u=n.length;s<u;s++){var l=n[s];if(l.isEmpty())if(e.emptySelectionClipboard){var c=l.getPosition(),d=void 0,h=void 0,f=void 0,p=void 0;c.lineNumber<t.getLineCount()?(d=c.lineNumber,h=1,f=c.lineNumber+1,p=1):c.lineNumber>1?(d=c.lineNumber-1,h=t.getLineMaxColumn(c.lineNumber-1),f=c.lineNumber,p=t.getLineMaxColumn(c.lineNumber)):(d=c.lineNumber,h=1,f=c.lineNumber,p=t.getLineMaxColumn(c.lineNumber));var g=new a.a(d,h,f,p);g.isEmpty()?i[s]=null:i[s]=new o.a(g,"")}else i[s]=null;else i[s]=new o.a(l,"")}return new r.e(0,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e}()},sswD:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"e",(function(){return _})),n.d(t,"g",(function(){return y})),n.d(t,"d",(function(){return o}));n("/cxE"),n("bY76");var i,o,r=n("Vxe3"),s=(n("cGHE"),n("G2kB"),n("t49l"),n("fjLI")),a=n("nnTU"),u=n("T8No"),l=n("nrhi"),c=n("ic2d"),d=n("XXUj"),h=n("746U"),f=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(){function e(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this._description=e.description}return e.prototype.register=function(){var e=this;if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){var t=this._kbOpts.kbExpr;this.precondition&&(t=t?u.a.and(t,this.precondition):this.precondition),l.a.registerCommandAndKeybindingRule({id:this.id,handler:function(t,n){return e.runCommand(t,n)},weight:this._kbOpts.weight,when:t,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else a.a.registerCommand({id:this.id,handler:function(t,n){return e.runCommand(t,n)},description:this._description})},e.prototype._registerMenuItem=function(e){s.c.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title},when:e.when,order:e.order})},e}(),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.bindToContribution=function(e){return function(t){function n(e){var n=t.call(this,e)||this;return n._callback=e.handler,n}return f(n,t),n.prototype.runEditorCommand=function(t,n,i){e(n)&&this._callback(e(n),i)},n}(t)},t.prototype.runCommand=function(e,t){var n=this,i=e.get(r.a),o=i.getFocusedCodeEditor()||i.getActiveCodeEditor();if(o)return o.invokeWithinContext((function(e){if(e.get(u.c).contextMatchesRules(Object(h.n)(n.precondition)))return n.runEditorCommand(e,o,t)}))},t}(p),m=function(e){function t(n){var i=e.call(this,t.convertOptions(n))||this;return i.label=n.label,i.alias=n.alias,i}return f(t,e),t.convertOptions=function(e){var t;function n(t){return t.menuId||(t.menuId=7),t.title||(t.title=e.label),t.when=u.a.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push.apply(t,e.contextMenuOpts.map(n)):e.contextMenuOpts&&t.push(n(e.contextMenuOpts)),e.menuOpts=t,e},t.prototype.runEditorCommand=function(e,t,n){return this.reportTelemetry(e,t),this.run(e,t,n||{})},t.prototype.reportTelemetry=function(e,t){e.get(d.a).publicLog2("editorActionInvoked",{name:this.label,id:this.id})},t}(g);function v(e){return b.INSTANCE.registerEditorCommand(e),e}function _(e){b.INSTANCE.registerEditorAction(new e)}function y(e,t){b.INSTANCE.registerEditorContribution(e,t)}!function(e){e.getEditorCommand=function(e){return b.INSTANCE.getEditorCommand(e)},e.getEditorActions=function(){return b.INSTANCE.getEditorActions()},e.getEditorContributions=function(){return b.INSTANCE.getEditorContributions()},e.getSomeEditorContributions=function(e){return b.INSTANCE.getEditorContributions().filter((function(t){return e.indexOf(t.id)>=0}))},e.getDiffEditorContributions=function(){return b.INSTANCE.getDiffEditorContributions()}}(o||(o={}));var b=function(){function e(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}return e.prototype.registerEditorContribution=function(e,t){this.editorContributions.push({id:e,ctor:t})},e.prototype.getEditorContributions=function(){return this.editorContributions.slice(0)},e.prototype.getDiffEditorContributions=function(){return this.diffEditorContributions.slice(0)},e.prototype.registerEditorAction=function(e){e.register(),this.editorActions.push(e)},e.prototype.getEditorActions=function(){return this.editorActions.slice(0)},e.prototype.registerEditorCommand=function(e){e.register(),this.editorCommands[e.id]=e},e.prototype.getEditorCommand=function(e){return this.editorCommands[e]||null},e.INSTANCE=new e,e}();c.a.add("editor.contributions",b.INSTANCE)},t49l:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("Cg/j"),o=Object(i.c)("textModelService")},t9D7:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return d})),n.d(t,"e",(function(){return f}));var i=n("Cg/j"),o=n("pmY6"),r=n("ic2d"),s=n("MI8n"),a=Object(i.c)("themeService");function u(e){return{id:e}}var l="hc";function c(e){switch(e){case"dark":return"vs-dark";case l:return"hc-black";default:return"vs"}}var d={ThemingContribution:"base.contributions.theming"},h=new(function(){function e(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new s.a}return e.prototype.onThemeChange=function(e){var t=this;return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),Object(o.f)((function(){var n=t.themingParticipants.indexOf(e);t.themingParticipants.splice(n,1)}))},e.prototype.getThemingParticipants=function(){return this.themingParticipants},e}());function f(e){return h.onThemeChange(e)}r.a.add(d.ThemingContribution,h)},tX9W:function(e,t,n){"use strict";n.d(t,"b",(function(){return Ue})),n.d(t,"a",(function(){return Xe}));var i=n("/cxE"),o=n("MI8n"),r=n("pmY6"),s=n("N0LK"),a=n("bY76"),u=n("/UlZ"),l=n("cGHE"),c=n("aokT"),d=n("gCVg"),h=n("M1Kb"),f=function(){function e(e,t){this.beforeVersionId=e,this.beforeCursorState=t,this.afterCursorState=null,this.afterVersionId=-1,this.editOperations=[]}return e.prototype.undo=function(e){for(var t=this.editOperations.length-1;t>=0;t--)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},e.prototype.redo=function(e){for(var t=0;t<this.editOperations.length;t++)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},e}();function p(e){return"\n"===e.getEOL()?0:1}var g=function(){function e(e,t){this.beforeVersionId=e,this.beforeCursorState=null,this.afterCursorState=null,this.afterVersionId=-1,this.eol=t}return e.prototype.undo=function(e){var t=p(e);e.setEOL(this.eol),this.eol=t},e.prototype.redo=function(e){var t=p(e);e.setEOL(this.eol),this.eol=t},e}(),m=function(){function e(e){this.model=e,this.currentOpenStackElement=null,this.past=[],this.future=[]}return e.prototype.pushStackElement=function(){null!==this.currentOpenStackElement&&(this.past.push(this.currentOpenStackElement),this.currentOpenStackElement=null)},e.prototype.clear=function(){this.currentOpenStackElement=null,this.past=[],this.future=[]},e.prototype.pushEOL=function(e){this.future=[],this.currentOpenStackElement&&this.pushStackElement();var t=p(this.model),n=new g(this.model.getAlternativeVersionId(),t);this.model.setEOL(e),n.afterVersionId=this.model.getVersionId(),this.currentOpenStackElement=n,this.pushStackElement()},e.prototype.pushEditOperation=function(t,n,i){this.future=[];var o=null;this.currentOpenStackElement&&(this.currentOpenStackElement instanceof f?o=this.currentOpenStackElement:this.pushStackElement()),this.currentOpenStackElement||(o=new f(this.model.getAlternativeVersionId(),t),this.currentOpenStackElement=o);var r={operations:this.model.applyEdits(n)};return o.editOperations.push(r),o.afterCursorState=e._computeCursorState(i,r.operations),o.afterVersionId=this.model.getVersionId(),o.afterCursorState},e._computeCursorState=function(e,t){try{return e?e(t):null}catch(e){return Object(i.e)(e),null}},e.prototype.undo=function(){if(this.pushStackElement(),this.past.length>0){var e=this.past.pop();try{e.undo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.future.push(e),{selections:e.beforeCursorState,recordedVersionId:e.beforeVersionId}}return null},e.prototype.canUndo=function(){return this.past.length>0||null!==this.currentOpenStackElement},e.prototype.redo=function(){if(this.future.length>0){var e=this.future.pop();try{e.redo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.past.push(e),{selections:e.afterCursorState,recordedVersionId:e.afterVersionId}}return null},e.prototype.canRedo=function(){return this.future.length>0},e}(),v=function(){this.spacesDiff=0,this.looksLikeAlignment=!1};function _(e,t,n,i,o){var r;for(o.spacesDiff=0,o.looksLikeAlignment=!1,r=0;r<t&&r<i;r++){if(e.charCodeAt(r)!==n.charCodeAt(r))break}for(var s=0,a=0,u=r;u<t;u++){32===e.charCodeAt(u)?s++:a++}var l=0,c=0;for(u=r;u<i;u++){32===n.charCodeAt(u)?l++:c++}if(!(s>0&&a>0||l>0&&c>0)){var d=Math.abs(a-c),h=Math.abs(s-l);if(0===d)return o.spacesDiff=h,void(h>0&&0<=l-1&&l-1<e.length&&l<n.length&&32!==n.charCodeAt(l)&&32===e.charCodeAt(l-1)&&44===e.charCodeAt(e.length-1)&&(o.looksLikeAlignment=!0));h%d!=0||(o.spacesDiff=h/d)}}function y(e,t,n){for(var i=Math.min(e.getLineCount(),1e4),o=0,r=0,s="",a=0,u=[0,0,0,0,0,0,0,0,0],l=new v,c=1;c<=i;c++){for(var d=e.getLineLength(c),h=e.getLineContent(c),f=d<=65536,p=!1,g=0,m=0,y=0,b=0,C=d;b<C;b++){var w=f?h.charCodeAt(b):e.getLineCharCode(c,b);if(9===w)y++;else{if(32!==w){p=!0,g=b;break}m++}}if(p&&(y>0?o++:m>1&&r++,_(s,a,h,g,l),!l.looksLikeAlignment||n&&t===l.spacesDiff)){var S=l.spacesDiff;S<=8&&u[S]++,s=h,a=g}}var L=n;o!==r&&(L=o<r);var N=t;if(L){var O=L?0:.1*i;[2,4,6,8,3,5,7].forEach((function(e){var t=u[e];t>O&&(O=t,N=e)})),4===N&&u[4]>0&&u[2]>0&&u[2]>=u[4]/2&&(N=2)}return{insertSpaces:L,tabSize:N}}function b(e){return(1&e.metadata)>>>0}function C(e,t){e.metadata=254&e.metadata|t<<0}function w(e){return(2&e.metadata)>>>1==1}function S(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function L(e){return(4&e.metadata)>>>2==1}function N(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function O(e){return(8&e.metadata)>>>3==1}function D(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function x(e,t){e.metadata=207&e.metadata|t<<4}function E(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}var k=function(){function e(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,C(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,N(this,!1),x(this,1),D(this,!1),E(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,S(this,!1)}return e.prototype.reset=function(e,t,n,i){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=i},e.prototype.setOptions=function(e){this.options=e;var t=this.options.className;N(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),x(this,this.options.stickiness),D(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),E(this,this.options.collapseOnReplaceEdit)},e.prototype.setCachedOffsets=function(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),I=new k(null,0,0);I.parent=I,I.left=I,I.right=I,C(I,0);var M=function(){function e(){this.root=I,this.requestNormalizeDelta=!1}return e.prototype.intervalSearch=function(e,t,n,i,o){return this.root===I?[]:function(e,t,n,i,o,r){var s=e.root,a=0,u=0,l=0,c=[],d=0;for(;s!==I;)if(w(s))S(s.left,!1),S(s.right,!1),s===s.parent.right&&(a-=s.parent.delta),s=s.parent;else{if(!w(s.left)){if(a+s.maxEnd<t){S(s,!0);continue}if(s.left!==I){s=s.left;continue}}if((u=a+s.start)>n)S(s,!0);else{if((l=a+s.end)>=t){s.setCachedOffsets(u,l,r);var h=!0;i&&s.ownerId&&s.ownerId!==i&&(h=!1),o&&L(s)&&(h=!1),h&&(c[d++]=s)}S(s,!0),s.right===I||w(s.right)||(a+=s.delta,s=s.right)}}return S(e.root,!1),c}(this,e,t,n,i,o)},e.prototype.search=function(e,t,n){return this.root===I?[]:function(e,t,n,i){var o=e.root,r=0,s=0,a=0,u=[],l=0;for(;o!==I;)if(w(o))S(o.left,!1),S(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;else if(o.left===I||w(o.left)){s=r+o.start,a=r+o.end,o.setCachedOffsets(s,a,i);var c=!0;t&&o.ownerId&&o.ownerId!==t&&(c=!1),n&&L(o)&&(c=!1),c&&(u[l++]=o),S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right)}else o=o.left;return S(e.root,!1),u}(this,e,t,n)},e.prototype.collectNodesFromOwner=function(e){return function(e,t){var n=e.root,i=[],o=0;for(;n!==I;)w(n)?(S(n.left,!1),S(n.right,!1),n=n.parent):n.left===I||w(n.left)?(n.ownerId===t&&(i[o++]=n),S(n,!0),n.right===I||w(n.right)||(n=n.right)):n=n.left;return S(e.root,!1),i}(this,e)},e.prototype.collectNodesPostOrder=function(){return function(e){var t=e.root,n=[],i=0;for(;t!==I;)w(t)?(S(t.left,!1),S(t.right,!1),t=t.parent):t.left===I||w(t.left)?t.right===I||w(t.right)?(n[i++]=t,S(t,!0)):t=t.right:t=t.left;return S(e.root,!1),n}(this)},e.prototype.insert=function(e){R(this,e),this._normalizeDeltaIfNecessary()},e.prototype.delete=function(e){P(this,e),this._normalizeDeltaIfNecessary()},e.prototype.resolveNode=function(e,t){for(var n=e,i=0;e!==this.root;)e===e.parent.right&&(i+=e.parent.delta),e=e.parent;var o=n.start+i,r=n.end+i;n.setCachedOffsets(o,r,t)},e.prototype.acceptReplace=function(e,t,n,i){for(var o=function(e,t,n){var i=e.root,o=0,r=0,s=0,a=[],u=0;for(;i!==I;)if(w(i))S(i.left,!1),S(i.right,!1),i===i.parent.right&&(o-=i.parent.delta),i=i.parent;else{if(!w(i.left)){if(o+i.maxEnd<t){S(i,!0);continue}if(i.left!==I){i=i.left;continue}}(r=o+i.start)>n?S(i,!0):((s=o+i.end)>=t&&(i.setCachedOffsets(r,s,0),a[u++]=i),S(i,!0),i.right===I||w(i.right)||(o+=i.delta,i=i.right))}return S(e.root,!1),a}(this,e,e+t),r=0,s=o.length;r<s;r++){P(this,a=o[r])}this._normalizeDeltaIfNecessary(),function(e,t,n,i){var o=e.root,r=0,s=i-(n-t);for(;o!==I;)if(w(o))S(o.left,!1),S(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),j(o),o=o.parent;else{if(!w(o.left)){if(r+o.maxEnd<t){S(o,!0);continue}if(o.left!==I){o=o.left;continue}}r+o.start>n?(o.start+=s,o.end+=s,o.delta+=s,(o.delta<-1073741824||o.delta>1073741824)&&(e.requestNormalizeDelta=!0),S(o,!0)):(S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right))}S(e.root,!1)}(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(r=0,s=o.length;r<s;r++){var a;(a=o[r]).start=a.cachedAbsoluteStart,a.end=a.cachedAbsoluteEnd,A(a,e,e+t,n,i),a.maxEnd=a.end,R(this,a)}this._normalizeDeltaIfNecessary()},e.prototype._normalizeDeltaIfNecessary=function(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(e){var t=e.root,n=0;for(;t!==I;)t.left===I||w(t.left)?t.right===I||w(t.right)?(t.start=n+t.start,t.end=n+t.end,t.delta=0,j(t),S(t,!0),S(t.left,!1),S(t.right,!1),t===t.parent.right&&(n-=t.parent.delta),t=t.parent):(n+=t.delta,t=t.right):t=t.left;S(e.root,!1)}(this))},e}();function T(e,t,n,i){return e<n||!(e>n)&&(1!==i&&(2===i||t))}function A(e,t,n,i,o){var r=function(e){return(48&e.metadata)>>>4}(e),s=0===r||2===r,a=1===r||2===r,u=n-t,l=i,c=Math.min(u,l),d=e.start,h=!1,f=e.end,p=!1;t<=d&&f<=n&&function(e){return(64&e.metadata)>>>6==1}(e)&&(e.start=t,h=!0,e.end=t,p=!0);var g=o?1:u>0?2:0;if(!h&&T(d,s,t,g)&&(h=!0),!p&&T(f,a,t,g)&&(p=!0),c>0&&!o){g=u>l?2:0;!h&&T(d,s,t+c,g)&&(h=!0),!p&&T(f,a,t+c,g)&&(p=!0)}g=o?1:0;!h&&T(d,s,n,g)&&(e.start=t+l,h=!0),!p&&T(f,a,n,g)&&(e.end=t+l,p=!0);var m=l-u;h||(e.start=Math.max(0,d+m)),p||(e.end=Math.max(0,f+m)),e.start>e.end&&(e.end=e.start)}function R(e,t){if(e.root===I)return t.parent=I,t.left=I,t.right=I,C(t,0),e.root=t,e.root;!function(e,t){var n=0,i=e.root,o=t.start,r=t.end;for(;;){if(z(o,r,i.start+n,i.end+n)<0){if(i.left===I){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===I){t.start-=n+i.delta,t.end-=n+i.delta,t.maxEnd-=n+i.delta,i.right=t;break}n+=i.delta,i=i.right}}t.parent=i,t.left=I,t.right=I,C(t,1)}(e,t),H(t.parent);for(var n=t;n!==e.root&&1===b(n.parent);){var i;if(n.parent===n.parent.parent.left)1===b(i=n.parent.parent.right)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&V(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),W(e,n.parent.parent));else 1===b(i=n.parent.parent.left)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&W(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),V(e,n.parent.parent))}return C(e.root,0),t}function P(e,t){var n,i;if(t.left===I?(i=t,(n=t.right).delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===I?(n=t.left,i=t):((n=(i=function(e){for(;e.left!==I;)e=e.left;return e}(t.right)).right).start+=i.delta,n.end+=i.delta,n.delta+=i.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,i.delta=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0)),i===e.root)return e.root=n,C(n,0),t.detach(),F(),j(n),void(e.root.parent=I);var o,r=1===b(i);if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?n.parent=i.parent:(i.parent===t?n.parent=i:n.parent=i.parent,i.left=t.left,i.right=t.right,i.parent=t.parent,C(i,b(t)),t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==I&&(i.left.parent=i),i.right!==I&&(i.right.parent=i)),t.detach(),r)return H(n.parent),i!==t&&(H(i),H(i.parent)),void F();for(H(n),H(n.parent),i!==t&&(H(i),H(i.parent));n!==e.root&&0===b(n);)n===n.parent.left?(1===b(o=n.parent.right)&&(C(o,0),C(n.parent,1),V(e,n.parent),o=n.parent.right),0===b(o.left)&&0===b(o.right)?(C(o,1),n=n.parent):(0===b(o.right)&&(C(o.left,0),C(o,1),W(e,o),o=n.parent.right),C(o,b(n.parent)),C(n.parent,0),C(o.right,0),V(e,n.parent),n=e.root)):(1===b(o=n.parent.left)&&(C(o,0),C(n.parent,1),W(e,n.parent),o=n.parent.left),0===b(o.left)&&0===b(o.right)?(C(o,1),n=n.parent):(0===b(o.left)&&(C(o.right,0),C(o,1),V(e,o),o=n.parent.left),C(o,b(n.parent)),C(n.parent,0),C(o.left,0),W(e,n.parent),n=e.root));C(n,0),F()}function F(){I.parent=I,I.delta=0,I.start=0,I.end=0}function V(e,t){var n=t.right;n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==I&&(n.left.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,j(t),j(n)}function W(e,t){var n=t.left;t.delta-=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==I&&(n.right.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,j(t),j(n)}function B(e){var t=e.end;if(e.left!==I){var n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==I){var i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function j(e){e.maxEnd=B(e)}function H(e){for(;e!==I;){var t=B(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}function z(e,t,n,i){return e===n?t-i:e-n}var U=function(){function e(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}return e.prototype.next=function(){if(this.right!==K)return q(this.right);for(var e=this;e.parent!==K&&e.parent.left!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.prev=function(){if(this.left!==K)return G(this.left);for(var e=this;e.parent!==K&&e.parent.right!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),K=new U(null,0);function q(e){for(;e.left!==K;)e=e.left;return e}function G(e){for(;e.right!==K;)e=e.right;return e}function Y(e){return e===K?0:e.size_left+e.piece.length+Y(e.right)}function Z(e){return e===K?0:e.lf_left+e.piece.lineFeedCnt+Z(e.right)}function X(){K.parent=K}function J(e,t){var n=t.right;n.size_left+=t.size_left+(t.piece?t.piece.length:0),n.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=n.left,n.left!==K&&(n.left.parent=t),n.parent=t.parent,t.parent===K?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n}function Q(e,t){var n=t.left;t.left=n.right,n.right!==K&&(n.right.parent=t),n.parent=t.parent,t.size_left-=n.size_left+(n.piece?n.piece.length:0),t.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),t.parent===K?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n}function $(e,t){var n,i;if(n=t.left===K?(i=t).right:t.right===K?(i=t).left:(i=q(t.right)).right,i===e.root)return e.root=n,n.color=0,t.detach(),X(),void(e.root.parent=K);var o=1===i.color;if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?(n.parent=i.parent,ne(e,n)):(i.parent===t?n.parent=i:n.parent=i.parent,ne(e,n),i.left=t.left,i.right=t.right,i.parent=t.parent,i.color=t.color,t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==K&&(i.left.parent=i),i.right!==K&&(i.right.parent=i),i.size_left=t.size_left,i.lf_left=t.lf_left,ne(e,i)),t.detach(),n.parent.left===n){var r=Y(n),s=Z(n);if(r!==n.parent.size_left||s!==n.parent.lf_left){var a=r-n.parent.size_left,u=s-n.parent.lf_left;n.parent.size_left=r,n.parent.lf_left=s,te(e,n.parent,a,u)}}if(ne(e,n.parent),o)X();else{for(var l;n!==e.root&&0===n.color;)n===n.parent.left?(1===(l=n.parent.right).color&&(l.color=0,n.parent.color=1,J(e,n.parent),l=n.parent.right),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.right.color&&(l.left.color=0,l.color=1,Q(e,l),l=n.parent.right),l.color=n.parent.color,n.parent.color=0,l.right.color=0,J(e,n.parent),n=e.root)):(1===(l=n.parent.left).color&&(l.color=0,n.parent.color=1,Q(e,n.parent),l=n.parent.left),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.left.color&&(l.right.color=0,l.color=1,J(e,l),l=n.parent.left),l.color=n.parent.color,n.parent.color=0,l.left.color=0,Q(e,n.parent),n=e.root));n.color=0,X()}}function ee(e,t){for(ne(e,t);t!==e.root&&1===t.parent.color;){var n;if(t.parent===t.parent.parent.left)1===(n=t.parent.parent.right).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&J(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Q(e,t.parent.parent));else 1===(n=t.parent.parent.left).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&Q(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,J(e,t.parent.parent))}e.root.color=0}function te(e,t,n,i){for(;t!==e.root&&t!==K;)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}function ne(e,t){var n=0,i=0;if(t!==e.root){if(0===n){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t===e.root)return;n=Y((t=t.parent).left)-t.size_left,i=Z(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=i}for(;t!==e.root&&(0!==n||0!==i);)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}}K.parent=K,K.left=K,K.right=K,K.color=0;var ie=n("jAJ/");function oe(e){var t;return(t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length)).set(e,0),t}var re=function(e,t,n,i,o){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=o};function se(e,t){void 0===t&&(t=!0);for(var n=[0],i=1,o=0,r=e.length;o<r;o++){var s=e.charCodeAt(o);13===s?o+1<r&&10===e.charCodeAt(o+1)?(n[i++]=o+2,o++):n[i++]=o+1:10===s&&(n[i++]=o+1)}return t?oe(n):n}var ae,ue=function(e,t,n,i,o){this.bufferIndex=e,this.start=t,this.end=n,this.lineFeedCnt=i,this.length=o},le=function(e,t){this.buffer=e,this.lineStarts=t},ce=function(){function e(e){this._limit=e,this._cache=[]}return e.prototype.get=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null},e.prototype.get2=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber<e&&n.nodeStartLineNumber+n.node.piece.lineFeedCnt>=e)return n}return null},e.prototype.set=function(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)},e.prototype.valdiate=function(e){for(var t=!1,n=this._cache,i=0;i<n.length;i++){var o=n[i];(null===o.node.parent||o.nodeStartOffset>=e)&&(n[i]=null,t=!0)}if(t){for(var r=[],s=0,a=n;s<a.length;s++){var u=a[s];null!==u&&r.push(u)}this._cache=r}},e}(),de=function(){function e(e,t,n){this.create(e,t,n)}return e.prototype.create=function(e,t,n){this._buffers=[new le("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=K,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=n;for(var i=null,o=0,r=e.length;o<r;o++)if(e[o].buffer.length>0){e[o].lineStarts||(e[o].lineStarts=se(e[o].buffer));var s=new ue(o+1,{line:0,column:0},{line:e[o].lineStarts.length-1,column:e[o].buffer.length-e[o].lineStarts[e[o].lineStarts.length-1]},e[o].lineStarts.length-1,e[o].buffer.length);this._buffers.push(e[o]),i=this.rbInsertRight(i,s)}this._searchCache=new ce(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()},e.prototype.normalizeEOL=function(e){var t=this,n=65535-Math.floor(21845),i=2*n,o="",r=0,s=[];if(this.iterate(this.root,(function(a){var u=t.getNodeContent(a),l=u.length;if(r<=n||r+l<i)return o+=u,r+=l,!0;var c=o.replace(/\r\n|\r|\n/g,e);return s.push(new le(c,se(c))),o=u,r=l,!0})),r>0){var a=o.replace(/\r\n|\r|\n/g,e);s.push(new le(a,se(a)))}this.create(s,e,!0)},e.prototype.getEOL=function(){return this._EOL},e.prototype.setEOL=function(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)},e.prototype.getOffsetAt=function(e,t){for(var n=0,i=this.root;i!==K;)if(i.left!==K&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e)return(n+=i.size_left)+(this.getAccumulatedValue(i,e-i.lf_left-2)+t-1);e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n},e.prototype.getPositionAt=function(e){e=Math.floor(e),e=Math.max(0,e);for(var t=this.root,n=0,i=e;t!==K;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){var o=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+o.index,0===o.index){var r=i-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}return new l.a(n+1,o.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===K){r=i-e-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}t=t.right}return new l.a(1,1)},e.prototype.getValueInRange=function(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";var n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),o=this.getValueInRange2(n,i);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?o:o.replace(/\r\n|\r|\n/g,t):o},e.prototype.getValueInRange2=function(e,t){if(e.node===t.node){var n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i.substring(o+e.remainder,o+t.remainder)}var r=e.node,s=this._buffers[r.piece.bufferIndex].buffer,a=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start),u=s.substring(a+e.remainder,a+r.piece.length);for(r=r.next();r!==K;){var l=this._buffers[r.piece.bufferIndex].buffer,c=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start);if(r===t.node){u+=l.substring(c,c+t.remainder);break}u+=l.substr(c,r.piece.length),r=r.next()}return u},e.prototype.getLinesContent=function(){var e=this,t=[],n=0,i="",o=!1;return this.iterate(this.root,(function(r){if(r===K)return!0;var s=r.piece,a=s.length;if(0===a)return!0;var u=e._buffers[s.bufferIndex].buffer,l=e._buffers[s.bufferIndex].lineStarts,c=s.start.line,d=s.end.line,h=l[c]+s.start.column;if(o&&(10===u.charCodeAt(h)&&(h++,a--),t[n++]=i,i="",o=!1,0===a))return!0;if(c===d)return e._EOLNormalized||13!==u.charCodeAt(h+a-1)?i+=u.substr(h,a):(o=!0,i+=u.substr(h,a-1)),!0;i+=e._EOLNormalized?u.substring(h,Math.max(h,l[c+1]-e._EOLLength)):u.substring(h,l[c+1]).replace(/(\r\n|\r|\n)$/,""),t[n++]=i;for(var f=c+1;f<d;f++)i=e._EOLNormalized?u.substring(l[f],l[f+1]-e._EOLLength):u.substring(l[f],l[f+1]).replace(/(\r\n|\r|\n)$/,""),t[n++]=i;return e._EOLNormalized||13!==u.charCodeAt(l[d]+s.end.column-1)?i=u.substr(l[d],s.end.column):(o=!0,0===s.end.column?n--:i=u.substr(l[d],s.end.column-1)),!0})),o&&(t[n++]=i,i=""),t[n++]=i,t},e.prototype.getLength=function(){return this._length},e.prototype.getLineCount=function(){return this._lineCnt},e.prototype.getLineContent=function(e){return this._lastVisitedLine.lineNumber===e||(this._lastVisitedLine.lineNumber=e,e===this._lineCnt?this._lastVisitedLine.value=this.getLineRawContent(e):this._EOLNormalized?this._lastVisitedLine.value=this.getLineRawContent(e,this._EOLLength):this._lastVisitedLine.value=this.getLineRawContent(e).replace(/(\r\n|\r|\n)$/,"")),this._lastVisitedLine.value},e.prototype.getLineCharCode=function(e,t){var n=this.nodeAt2(e,t+1);if(n.remainder===n.node.piece.length){var i=n.node.next();if(!i)return 0;var o=this._buffers[i.piece.bufferIndex],r=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return o.buffer.charCodeAt(r)}o=this._buffers[n.node.piece.bufferIndex];var s=(r=this.offsetInBuffer(n.node.piece.bufferIndex,n.node.piece.start))+n.remainder;return o.buffer.charCodeAt(s)},e.prototype.getLineLength=function(e){if(e===this.getLineCount()){var t=this.getOffsetAt(e,1);return this.getLength()-t}return this.getOffsetAt(e+1,1)-this.getOffsetAt(e,1)-this._EOLLength},e.prototype.findMatchesInNode=function(e,t,n,i,o,r,s,a,u,l,d){var h,f,p,g=this._buffers[e.piece.bufferIndex],m=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start),v=this.offsetInBuffer(e.piece.bufferIndex,o),_=this.offsetInBuffer(e.piece.bufferIndex,r),y={line:0,column:0};t._wordSeparators?(f=g.buffer.substring(v,_),p=function(e){return e+v},t.reset(-1)):(f=g.buffer,p=function(e){return e},t.reset(v));do{if(h=t.next(f)){if(p(h.index)>=_)return l;this.positionInBuffer(e,p(h.index)-m,y);var b=this.getLineFeedCnt(e.piece.bufferIndex,o,y),C=y.line===o.line?y.column-o.column+i:y.column+1,w=C+h[0].length;if(d[l++]=Object(ie.d)(new c.a(n+b,C,n+b,w),h,a),p(h.index)+h[0].length>=_)return l;if(l>=u)return l}}while(h);return l},e.prototype.findMatchesLineByLine=function(e,t,n,i){var o=[],r=0,s=new ie.b(t.wordSeparators,t.regex),a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];var u=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===u)return[];var l=this.positionInBuffer(a.node,a.remainder),c=this.positionInBuffer(u.node,u.remainder);if(a.node===u.node)return this.findMatchesInNode(a.node,s,e.startLineNumber,e.startColumn,l,c,t,n,i,r,o),o;for(var d=e.startLineNumber,h=a.node;h!==u.node;){var f=this.getLineFeedCnt(h.piece.bufferIndex,l,h.piece.end);if(f>=1){var p=this._buffers[h.piece.bufferIndex].lineStarts,g=this.offsetInBuffer(h.piece.bufferIndex,h.piece.start),m=p[l.line+f],v=d===e.startLineNumber?e.startColumn:1;if((r=this.findMatchesInNode(h,s,d,v,l,this.positionInBuffer(h,m-g),t,n,i,r,o))>=i)return o;d+=f}var _=d===e.startLineNumber?e.startColumn-1:0;if(d===e.endLineNumber){var y=this.getLineContent(d).substring(_,e.endColumn-1);return r=this._findMatchesInLine(t,s,y,e.endLineNumber,_,r,o,n,i),o}if((r=this._findMatchesInLine(t,s,this.getLineContent(d).substr(_),d,_,r,o,n,i))>=i)return o;d++,h=(a=this.nodeAt2(d,1)).node,l=this.positionInBuffer(a.node,a.remainder)}if(d===e.endLineNumber){var b=d===e.startLineNumber?e.startColumn-1:0;y=this.getLineContent(d).substring(b,e.endColumn-1);return r=this._findMatchesInLine(t,s,y,e.endLineNumber,b,r,o,n,i),o}var C=d===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(u.node,s,d,C,l,c,t,n,i,r,o),o},e.prototype._findMatchesInLine=function(e,t,n,i,o,r,s,a,u){var l,d=e.wordSeparators;if(!a&&e.simpleSearch){for(var f=e.simpleSearch,p=f.length,g=n.length,m=-p;-1!==(m=n.indexOf(f,m+p));)if((!d||Object(ie.e)(d,n,g,m,p))&&(s[r++]=new h.b(new c.a(i,m+1+o,i,m+1+p+o),null),r>=u))return r;return r}t.reset(0);do{if((l=t.next(n))&&(s[r++]=Object(ie.d)(new c.a(i,l.index+1+o,i,l.index+1+l[0].length+o),l,a),r>=u))return r}while(l);return r},e.prototype.insert=function(e,t,n){if(void 0===n&&(n=!1),this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==K){var i=this.nodeAt(e),o=i.node,r=i.remainder,s=i.nodeStartOffset,a=o.piece,u=a.bufferIndex,l=this.positionInBuffer(o,r);if(0===o.piece.bufferIndex&&a.end.line===this._lastChangeBufferPos.line&&a.end.column===this._lastChangeBufferPos.column&&s+a.length===e&&t.length<65535)return this.appendToNode(o,t),void this.computeBufferMetadata();if(s===e)this.insertContentToNodeLeft(t,o),this._searchCache.valdiate(e);else if(s+o.piece.length>e){var c=[],d=new ue(a.bufferIndex,l,a.end,this.getLineFeedCnt(a.bufferIndex,l,a.end),this.offsetInBuffer(u,a.end)-this.offsetInBuffer(u,l));if(this.shouldCheckCRLF()&&this.endWithCR(t))if(10===this.nodeCharCodeAt(o,r)){var h={line:d.start.line+1,column:0};d=new ue(d.bufferIndex,h,d.end,this.getLineFeedCnt(d.bufferIndex,h,d.end),d.length-1),t+="\n"}if(this.shouldCheckCRLF()&&this.startWithLF(t))if(13===this.nodeCharCodeAt(o,r-1)){var f=this.positionInBuffer(o,r-1);this.deleteNodeTail(o,f),t="\r"+t,0===o.piece.length&&c.push(o)}else this.deleteNodeTail(o,l);else this.deleteNodeTail(o,l);var p=this.createNewPieces(t);d.length>0&&this.rbInsertRight(o,d);for(var g=o,m=0;m<p.length;m++)g=this.rbInsertRight(g,p[m]);this.deleteNodes(c)}else this.insertContentToNodeRight(t,o)}else{var v=this.createNewPieces(t);for(o=this.rbInsertLeft(null,v[0]),m=1;m<v.length;m++)o=this.rbInsertRight(o,v[m])}this.computeBufferMetadata()},e.prototype.delete=function(e,t){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",!(t<=0||this.root===K)){var n=this.nodeAt(e),i=this.nodeAt(e+t),o=n.node,r=i.node;if(o===r){var s=this.positionInBuffer(o,n.remainder),a=this.positionInBuffer(o,i.remainder);if(n.nodeStartOffset===e){if(t===o.piece.length){var u=o.next();return $(this,o),this.validateCRLFWithPrevNode(u),void this.computeBufferMetadata()}return this.deleteNodeHead(o,a),this._searchCache.valdiate(e),this.validateCRLFWithPrevNode(o),void this.computeBufferMetadata()}return n.nodeStartOffset+o.piece.length===e+t?(this.deleteNodeTail(o,s),this.validateCRLFWithNextNode(o),void this.computeBufferMetadata()):(this.shrinkNode(o,s,a),void this.computeBufferMetadata())}var l=[],c=this.positionInBuffer(o,n.remainder);this.deleteNodeTail(o,c),this._searchCache.valdiate(e),0===o.piece.length&&l.push(o);var d=this.positionInBuffer(r,i.remainder);this.deleteNodeHead(r,d),0===r.piece.length&&l.push(r);for(var h=o.next();h!==K&&h!==r;h=h.next())l.push(h);var f=0===o.piece.length?o.prev():o;this.deleteNodes(l),this.validateCRLFWithNextNode(f),this.computeBufferMetadata()}},e.prototype.insertContentToNodeLeft=function(e,t){var n=[];if(this.shouldCheckCRLF()&&this.endWithCR(e)&&this.startWithLF(t)){var i=t.piece,o={line:i.start.line+1,column:0},r=new ue(i.bufferIndex,o,i.end,this.getLineFeedCnt(i.bufferIndex,o,i.end),i.length-1);t.piece=r,e+="\n",te(this,t,-1,-1),0===t.piece.length&&n.push(t)}for(var s=this.createNewPieces(e),a=this.rbInsertLeft(t,s[s.length-1]),u=s.length-2;u>=0;u--)a=this.rbInsertLeft(a,s[u]);this.validateCRLFWithPrevNode(a),this.deleteNodes(n)},e.prototype.insertContentToNodeRight=function(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");for(var n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]),o=i,r=1;r<n.length;r++)o=this.rbInsertRight(o,n[r]);this.validateCRLFWithPrevNode(i)},e.prototype.positionInBuffer=function(e,t,n){for(var i=e.piece,o=e.piece.bufferIndex,r=this._buffers[o].lineStarts,s=r[i.start.line]+i.start.column+t,a=i.start.line,u=i.end.line,l=0,c=0,d=0;a<=u&&(d=r[l=a+(u-a)/2|0],l!==u);)if(c=r[l+1],s<d)u=l-1;else{if(!(s>=c))break;a=l+1}return n?(n.line=l,n.column=s-d,null):{line:l,column:s-d}},e.prototype.getLineFeedCnt=function(e,t,n){if(0===n.column)return n.line-t.line;var i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;var o=i[n.line+1],r=i[n.line]+n.column;if(o>r+1)return n.line-t.line;var s=r-1;return 13===this._buffers[e].buffer.charCodeAt(s)?n.line-t.line+1:n.line-t.line},e.prototype.offsetInBuffer=function(e,t){return this._buffers[e].lineStarts[t.line]+t.column},e.prototype.deleteNodes=function(e){for(var t=0;t<e.length;t++)$(this,e[t])},e.prototype.createNewPieces=function(e){if(e.length>65535){for(var t=[];e.length>65535;){var n=e.charCodeAt(65534),i=void 0;13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));var o=se(i);t.push(new ue(this._buffers.length,{line:0,column:0},{line:o.length-1,column:i.length-o[o.length-1]},o.length-1,i.length)),this._buffers.push(new le(i,o))}var r=se(e);return t.push(new ue(this._buffers.length,{line:0,column:0},{line:r.length-1,column:e.length-r[r.length-1]},r.length-1,e.length)),this._buffers.push(new le(e,r)),t}var s=this._buffers[0].buffer.length,a=se(e,!1),u=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===s&&0!==s&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},u=this._lastChangeBufferPos;for(var l=0;l<a.length;l++)a[l]+=s+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(a.slice(1)),this._buffers[0].buffer+="_"+e,s+=1}else{if(0!==s)for(l=0;l<a.length;l++)a[l]+=s;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(a.slice(1)),this._buffers[0].buffer+=e}var c=this._buffers[0].buffer.length,d=this._buffers[0].lineStarts.length-1,h={line:d,column:c-this._buffers[0].lineStarts[d]},f=new ue(0,u,h,this.getLineFeedCnt(0,u,h),c-s);return this._lastChangeBufferPos=h,[f]},e.prototype.getLineRawContent=function(e,t){void 0===t&&(t=0);var n=this.root,i="",o=this._searchCache.get2(e);if(o){n=o.node;var r=this.getAccumulatedValue(n,e-o.nodeStartLineNumber-1),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(o.nodeStartLineNumber+n.piece.lineFeedCnt!==e){var u=this.getAccumulatedValue(n,e-o.nodeStartLineNumber);return s.substring(a+r,a+u-t)}i=s.substring(a+r,a+n.piece.length)}else for(var l=0,c=e;n!==K;)if(n.left!==K&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),u=this.getAccumulatedValue(n,e-n.lf_left-1),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return l+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:l,nodeStartLineNumber:c-(e-1-n.lf_left)}),s.substring(a+r,a+u-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=s.substring(a+r,a+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,l+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){s=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){u=this.getAccumulatedValue(n,0),a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=s.substring(a,a+u-t)}a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=s.substr(a,n.piece.length),n=n.next()}return i},e.prototype.computeBufferMetadata=function(){for(var e=this.root,t=1,n=0;e!==K;)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.valdiate(this._length)},e.prototype.getIndexOf=function(e,t){var n=e.piece,i=this.positionInBuffer(e,t),o=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){var r=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(r!==o)return{index:r,remainder:0}}return{index:o,remainder:i.column}},e.prototype.getAccumulatedValue=function(e,t){if(t<0)return 0;var n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,o=n.start.line+t+1;return o>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[o]-i[n.start.line]-n.start.column},e.prototype.deleteNodeTail=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.end),r=t,s=this.offsetInBuffer(n.bufferIndex,r),a=this.getLineFeedCnt(n.bufferIndex,n.start,r),u=a-i,l=s-o,c=n.length+l;e.piece=new ue(n.bufferIndex,n.start,r,a,c),te(this,e,l,u)},e.prototype.deleteNodeHead=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.start),r=t,s=this.getLineFeedCnt(n.bufferIndex,r,n.end),a=s-i,u=o-this.offsetInBuffer(n.bufferIndex,r),l=n.length+u;e.piece=new ue(n.bufferIndex,r,n.end,s,l),te(this,e,u,a)},e.prototype.shrinkNode=function(e,t,n){var i=e.piece,o=i.start,r=i.end,s=i.length,a=i.lineFeedCnt,u=t,l=this.getLineFeedCnt(i.bufferIndex,i.start,u),c=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,o);e.piece=new ue(i.bufferIndex,i.start,u,l,c),te(this,e,c-s,l-a);var d=new ue(i.bufferIndex,n,r,this.getLineFeedCnt(i.bufferIndex,n,r),this.offsetInBuffer(i.bufferIndex,r)-this.offsetInBuffer(i.bufferIndex,n)),h=this.rbInsertRight(e,d);this.validateCRLFWithPrevNode(h)},e.prototype.appendToNode=function(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");var n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),i=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;for(var o=se(t,!1),r=0;r<o.length;r++)o[r]+=i;if(n){var s=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:i-s}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(o.slice(1));var a=this._buffers[0].lineStarts.length-1,u={line:a,column:this._buffers[0].buffer.length-this._buffers[0].lineStarts[a]},l=e.piece.length+t.length,c=e.piece.lineFeedCnt,d=this.getLineFeedCnt(0,e.piece.start,u),h=d-c;e.piece=new ue(e.piece.bufferIndex,e.piece.start,u,d,l),this._lastChangeBufferPos=u,te(this,e,t.length,h)},e.prototype.nodeAt=function(e){var t=this.root,n=this._searchCache.get(e);if(n)return{node:n.node,nodeStartOffset:n.nodeStartOffset,remainder:e-n.nodeStartOffset};for(var i=0;t!==K;)if(t.size_left>e)t=t.left;else{if(t.size_left+t.piece.length>=e){i+=t.size_left;var o={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(o),o}e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right}return null},e.prototype.nodeAt2=function(e,t){for(var n=this.root,i=0;n!==K;)if(n.left!==K&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){var o=this.getAccumulatedValue(n,e-n.lf_left-2),r=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(o+t-1,r),nodeStartOffset:i}}if(n.lf_left+n.piece.lineFeedCnt===e-1){if((o=this.getAccumulatedValue(n,e-n.lf_left-2))+t-1<=n.piece.length)return{node:n,remainder:o+t-1,nodeStartOffset:i};t-=n.piece.length-o;break}e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){if(n.piece.lineFeedCnt>0){r=this.getAccumulatedValue(n,0);var s=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,r),nodeStartOffset:s}}if(n.piece.length>=t-1)return{node:n,remainder:t-1,nodeStartOffset:this.offsetOfNode(n)};t-=n.piece.length,n=n.next()}return null},e.prototype.nodeCharCodeAt=function(e,t){if(e.piece.lineFeedCnt<1)return-1;var n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)},e.prototype.offsetOfNode=function(e){if(!e)return 0;for(var t=e.size_left;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t},e.prototype.shouldCheckCRLF=function(){return!(this._EOLNormalized&&"\n"===this._EOL)},e.prototype.startWithLF=function(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===K||0===e.piece.lineFeedCnt)return!1;var t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,o=n[i]+t.start.column;return i!==n.length-1&&(!(n[i+1]>o+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(o))},e.prototype.endWithCR=function(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==K&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)},e.prototype.validateCRLFWithPrevNode=function(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){var t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}},e.prototype.validateCRLFWithNextNode=function(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}},e.prototype.fixCRLF=function(e,t){var n,i=[],o=this._buffers[e.piece.bufferIndex].lineStarts;n=0===e.piece.end.column?{line:e.piece.end.line-1,column:o[e.piece.end.line]-o[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};var r=e.piece.length-1,s=e.piece.lineFeedCnt-1;e.piece=new ue(e.piece.bufferIndex,e.piece.start,n,s,r),te(this,e,-1,-1),0===e.piece.length&&i.push(e);var a={line:t.piece.start.line+1,column:0},u=t.piece.length-1,l=this.getLineFeedCnt(t.piece.bufferIndex,a,t.piece.end);t.piece=new ue(t.piece.bufferIndex,a,t.piece.end,l,u),te(this,t,-1,-1),0===t.piece.length&&i.push(t);var c=this.createNewPieces("\r\n");this.rbInsertRight(e,c[0]);for(var d=0;d<i.length;d++)$(this,i[d])},e.prototype.adjustCarriageReturnFromNext=function(e,t){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var n=t.next();if(this.startWithLF(n)){if(e+="\n",1===n.piece.length)$(this,n);else{var i=n.piece,o={line:i.start.line+1,column:0},r=i.length-1,s=this.getLineFeedCnt(i.bufferIndex,o,i.end);n.piece=new ue(i.bufferIndex,o,i.end,s,r),te(this,n,-1,-1)}return!0}}return!1},e.prototype.iterate=function(e,t){if(e===K)return t(K);var n=this.iterate(e.left,t);return n?t(e)&&this.iterate(e.right,t):n},e.prototype.getNodeContent=function(e){if(e===K)return"";var t=this._buffers[e.piece.bufferIndex],n=e.piece,i=this.offsetInBuffer(n.bufferIndex,n.start),o=this.offsetInBuffer(n.bufferIndex,n.end);return t.buffer.substring(i,o)},e.prototype.rbInsertRight=function(e,t){var n=new U(t,1);if(n.left=K,n.right=K,n.parent=K,n.size_left=0,n.lf_left=0,this.root===K)this.root=n,n.color=0;else if(e.right===K)e.right=n,n.parent=e;else{var i=q(e.right);i.left=n,n.parent=i}return ee(this,n),n},e.prototype.rbInsertLeft=function(e,t){var n=new U(t,1);if(n.left=K,n.right=K,n.parent=K,n.size_left=0,n.lf_left=0,this.root===K)this.root=n,n.color=0;else if(e.left===K)e.left=n,n.parent=e;else{var i=G(e.left);i.right=n,n.parent=i}return ee(this,n),n},e}(),he=function(){function e(e,t,n,i,o,r){this._BOM=t,this._mightContainNonBasicASCII=!o,this._mightContainRTL=i,this._pieceTree=new de(e,n,r)}return e.prototype.mightContainRTL=function(){return this._mightContainRTL},e.prototype.mightContainNonBasicASCII=function(){return this._mightContainNonBasicASCII},e.prototype.getBOM=function(){return this._BOM},e.prototype.getEOL=function(){return this._pieceTree.getEOL()},e.prototype.getOffsetAt=function(e,t){return this._pieceTree.getOffsetAt(e,t)},e.prototype.getPositionAt=function(e){return this._pieceTree.getPositionAt(e)},e.prototype.getRangeAt=function(e,t){var n=e+t,i=this.getPositionAt(e),o=this.getPositionAt(n);return new c.a(i.lineNumber,i.column,o.lineNumber,o.column)},e.prototype.getValueInRange=function(e,t){if(void 0===t&&(t=0),e.isEmpty())return"";var n=this._getEndOfLine(t);return this._pieceTree.getValueInRange(e,n)},e.prototype.getValueLengthInRange=function(e,t){if(void 0===t&&(t=0),e.isEmpty())return 0;if(e.startLineNumber===e.endLineNumber)return e.endColumn-e.startColumn;var n=this.getOffsetAt(e.startLineNumber,e.startColumn);return this.getOffsetAt(e.endLineNumber,e.endColumn)-n},e.prototype.getCharacterCountInRange=function(e,t){if(void 0===t&&(t=0),this._mightContainNonBasicASCII){for(var n=0,i=e.startLineNumber,o=e.endLineNumber,r=i;r<=o;r++)for(var a=this.getLineContent(r),u=r===i?e.startColumn-1:0,l=r===o?e.endColumn-1:a.length,c=u;c<l;c++)s.x(a.charCodeAt(c))?(n+=1,c+=1):n+=1;return n+=this._getEndOfLine(t).length*(o-i)}return this.getValueLengthInRange(e,t)},e.prototype.getLength=function(){return this._pieceTree.getLength()},e.prototype.getLineCount=function(){return this._pieceTree.getLineCount()},e.prototype.getLinesContent=function(){return this._pieceTree.getLinesContent()},e.prototype.getLineContent=function(e){return this._pieceTree.getLineContent(e)},e.prototype.getLineCharCode=function(e,t){return this._pieceTree.getLineCharCode(e,t)},e.prototype.getLineLength=function(e){return this._pieceTree.getLineLength(e)},e.prototype.getLineFirstNonWhitespaceColumn=function(e){var t=s.o(this.getLineContent(e));return-1===t?0:t+1},e.prototype.getLineLastNonWhitespaceColumn=function(e){var t=s.B(this.getLineContent(e));return-1===t?0:t+2},e.prototype._getEndOfLine=function(e){switch(e){case 1:return"\n";case 2:return"\r\n";case 0:return this.getEOL()}throw new Error("Unknown EOL preference")},e.prototype.setEOL=function(e){this._pieceTree.setEOL(e)},e.prototype.applyEdits=function(t,n){for(var i=this._mightContainRTL,o=this._mightContainNonBasicASCII,r=!0,a=[],u=0;u<t.length;u++){var l=t[u];r&&l._isTracked&&(r=!1);var c=l.range;!i&&l.text&&(i=s.g(l.text)),!o&&l.text&&(o=!s.t(l.text)),a[u]={sortIndex:u,identifier:l.identifier||null,range:c,rangeOffset:this.getOffsetAt(c.startLineNumber,c.startColumn),rangeLength:this.getValueLengthInRange(c),lines:l.text?l.text.split(/\r\n|\r|\n/):null,forceMoveMarkers:Boolean(l.forceMoveMarkers),isAutoWhitespaceEdit:l.isAutoWhitespaceEdit||!1}}a.sort(e._sortOpsAscending);for(var d=!1,f=(u=0,a.length-1);u<f;u++){var p=a[u].range.getEndPosition(),g=a[u+1].range.getStartPosition();if(g.isBeforeOrEqual(p)){if(g.isBefore(p))throw new Error("Overlapping ranges are not allowed!");d=!0}}r&&(a=this._reduceOperations(a));var m=e._getInverseEditRanges(a),v=[];for(u=0;u<a.length;u++){l=a[u];var _=m[u];if(n&&l.isAutoWhitespaceEdit&&l.range.isEmpty())for(var y=_.startLineNumber;y<=_.endLineNumber;y++){var b="";y===_.startLineNumber&&(b=this.getLineContent(l.range.startLineNumber),-1!==s.o(b))||v.push({lineNumber:y,oldContent:b})}}var C=[];for(u=0;u<a.length;u++){l=a[u],_=m[u];C[u]={sortIndex:l.sortIndex,identifier:l.identifier,range:_,text:this.getValueInRange(l.range),forceMoveMarkers:l.forceMoveMarkers}}d||C.sort((function(e,t){return e.sortIndex-t.sortIndex})),this._mightContainRTL=i,this._mightContainNonBasicASCII=o;var w=this._doApplyEdits(a),S=null;if(n&&v.length>0){v.sort((function(e,t){return t.lineNumber-e.lineNumber})),S=[];u=0;for(var L=v.length;u<L;u++){y=v[u].lineNumber;if(!(u>0&&v[u-1].lineNumber===y)){var N=v[u].oldContent,O=this.getLineContent(y);0!==O.length&&O!==N&&-1===s.o(O)&&S.push(y)}}}return new h.a(C,w,S)},e.prototype._reduceOperations=function(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]},e.prototype._toSingleEditOperation=function(e){for(var t=!1,n=e[0].range,i=e[e.length-1].range,o=new c.a(n.startLineNumber,n.startColumn,i.endLineNumber,i.endColumn),r=n.startLineNumber,s=n.startColumn,a=[],u=0,l=e.length;u<l;u++){var d=e[u],h=d.range;t=t||d.forceMoveMarkers;for(var f=r;f<h.startLineNumber;f++)f===r?a.push(this.getLineContent(f).substring(s-1)):(a.push("\n"),a.push(this.getLineContent(f)));if(h.startLineNumber===r?a.push(this.getLineContent(h.startLineNumber).substring(s-1,h.startColumn-1)):(a.push("\n"),a.push(this.getLineContent(h.startLineNumber).substring(0,h.startColumn-1))),d.lines)for(var p=0,g=d.lines.length;p<g;p++)0!==p&&a.push("\n"),a.push(d.lines[p]);r=d.range.endLineNumber,s=d.range.endColumn}return{sortIndex:0,identifier:e[0].identifier,range:o,rangeOffset:this.getOffsetAt(o.startLineNumber,o.startColumn),rangeLength:this.getValueLengthInRange(o,0),lines:a.join("").split("\n"),forceMoveMarkers:t,isAutoWhitespaceEdit:!1}},e.prototype._doApplyEdits=function(t){t.sort(e._sortOpsDescending);for(var n=[],i=0;i<t.length;i++){var o=t[i],r=o.range.startLineNumber,s=o.range.startColumn,a=o.range.endLineNumber,u=o.range.endColumn;if(r!==a||s!==u||o.lines&&0!==o.lines.length){var l=a-r,d=o.lines?o.lines.length-1:0,h=Math.min(l,d),f=o.lines?o.lines.join(this.getEOL()):"";if(f?(this._pieceTree.delete(o.rangeOffset,o.rangeLength),this._pieceTree.insert(o.rangeOffset,f,!0)):this._pieceTree.delete(o.rangeOffset,o.rangeLength),h<d){for(var p=[],g=h+1;g<=d;g++)p.push(o.lines[g]);p[p.length-1]=this.getLineContent(r+d-1)}var m=new c.a(r,s,a,u);n.push({range:m,rangeLength:o.rangeLength,text:f,rangeOffset:o.rangeOffset,forceMoveMarkers:o.forceMoveMarkers})}}return n},e.prototype.findMatchesLineByLine=function(e,t,n,i){return this._pieceTree.findMatchesLineByLine(e,t,n,i)},e._getInverseEditRanges=function(e){for(var t=[],n=0,i=0,o=null,r=0,s=e.length;r<s;r++){var a=e[r],u=void 0,l=void 0;o?o.range.endLineNumber===a.range.startLineNumber?(u=n,l=i+(a.range.startColumn-o.range.endColumn)):(u=n+(a.range.startLineNumber-o.range.endLineNumber),l=a.range.startColumn):(u=a.range.startLineNumber,l=a.range.startColumn);var d=void 0;if(a.lines&&a.lines.length>0){var h=a.lines.length,f=a.lines[0],p=a.lines[h-1];d=1===h?new c.a(u,l,u,l+f.length):new c.a(u,l,u+h-1,p.length+1)}else d=new c.a(u,l,u,l);n=d.endLineNumber,i=d.endColumn,t.push(d),o=a}return t},e._sortOpsAscending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n},e._sortOpsDescending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n},e}(),fe=function(){function e(e,t,n,i,o,r,s,a){this._chunks=e,this._bom=t,this._cr=n,this._lf=i,this._crlf=o,this._containsRTL=r,this._isBasicASCII=s,this._normalizeEOL=a}return e.prototype._getEOL=function(e){var t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":n>t/2?"\r\n":"\n"},e.prototype.create=function(e){var t=this._getEOL(e),n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(var i=0,o=n.length;i<o;i++){var r=n[i].buffer.replace(/\r\n|\r|\n/g,t),s=se(r);n[i]=new le(r,s)}return new he(n,this._bom,t,this._containsRTL,this._isBasicASCII,this._normalizeEOL)},e}(),pe=function(){function e(){this.chunks=[],this.BOM="",this._hasPreviousChar=!1,this._previousChar=0,this._tmpLineStarts=[],this.cr=0,this.lf=0,this.crlf=0,this.containsRTL=!1,this.isBasicASCII=!0}return e.prototype.acceptChunk=function(e){if(0!==e.length){0===this.chunks.length&&s.J(e)&&(this.BOM=s.a,e=e.substr(1));var t=e.charCodeAt(e.length-1);13===t||t>=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}},e.prototype._acceptChunk1=function(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))},e.prototype._acceptChunk2=function(e){var t=function(e,t){e.length=0,e[0]=0;for(var n=1,i=0,o=0,r=0,s=!0,a=0,u=t.length;a<u;a++){var l=t.charCodeAt(a);13===l?a+1<u&&10===t.charCodeAt(a+1)?(r++,e[n++]=a+2,a++):(i++,e[n++]=a+1):10===l?(o++,e[n++]=a+1):s&&9!==l&&(l<32||l>126)&&(s=!1)}var c=new re(oe(e),i,o,r,s);return e.length=0,c}(this._tmpLineStarts,e);this.chunks.push(new le(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=s.g(e))},e.prototype.finish=function(e){return void 0===e&&(e=!0),this._finish(),new fe(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.isBasicASCII,e)},e.prototype._finish=function(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;var e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);var t=se(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}},e}(),ge=function(){this.changeType=1},me=function(e,t){this.changeType=2,this.lineNumber=e,this.detail=t},ve=function(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t},_e=function(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n},ye=function(){this.changeType=5},be=function(){function e(e,t,n,i){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=i}return e.prototype.containsEvent=function(e){for(var t=0,n=this.changes.length;t<n;t++){if(this.changes[t].changeType===e)return!0}return!1},e.merge=function(t,n){return new e([].concat(t.changes).concat(n.changes),n.versionId,t.isUndoing||n.isUndoing,t.isRedoing||n.isRedoing)},e}(),Ce=function(){function e(e,t){this.rawContentChangedEvent=e,this.contentChangedEvent=t}return e.prototype.merge=function(t){var n=be.merge(this.rawContentChangedEvent,t.rawContentChangedEvent),i=e._mergeChangeEvents(this.contentChangedEvent,t.contentChangedEvent);return new e(n,i)},e._mergeChangeEvents=function(e,t){return{changes:[].concat(e.changes).concat(t.changes),eol:t.eol,versionId:t.versionId,isUndoing:e.isUndoing||t.isUndoing,isRedoing:e.isRedoing||t.isRedoing,isFlush:e.isFlush||t.isFlush}},e}(),we=n("6OMU"),Se=n("4bUh"),Le=n("twdY"),Ne=n("i/Ef"),Oe=n("5Y4S"),De=n("QRHv"),xe=n("MNsG"),Ee=(ae=function(e,t){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}ae(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ke=function(){function e(){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0}return e.prototype._reset=function(e){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0,e&&this._setBeginState(0,e)},e.prototype.flush=function(e){this._reset(e)},Object.defineProperty(e.prototype,"invalidLineStartIndex",{get:function(){return this._invalidLineStartIndex},enumerable:!0,configurable:!0}),e.prototype._invalidateLine=function(e){e<this._len&&(this._valid[e]=!1),e<this._invalidLineStartIndex&&(this._invalidLineStartIndex=e)},e.prototype._isValid=function(e){return e<this._len&&this._valid[e]},e.prototype.getBeginState=function(e){return e<this._len?this._beginState[e]:null},e.prototype._ensureLine=function(e){for(;e>=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++},e.prototype._deleteLines=function(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)},e.prototype._insertLines=function(e,t){if(0!==t){for(var n=[],i=[],o=0;o<t;o++)n[o]=null,i[o]=!1;this._beginState=we.a(this._beginState,e,n),this._valid=we.a(this._valid,e,i),this._len+=t}},e.prototype._setValid=function(e,t){this._ensureLine(e),this._valid[e]=t},e.prototype._setBeginState=function(e,t){this._ensureLine(e),this._beginState[e]=t},e.prototype.setEndState=function(e,t,n){if(this._setValid(t,!0),this._invalidLineStartIndex=t+1,t!==e-1){var i=this.getBeginState(t+1);if(null===i||!n.equals(i))return this._setBeginState(t+1,n),void this._invalidateLine(t+1);for(var o=t+1;o<e&&this._isValid(o);)o++;this._invalidLineStartIndex=o}},e.prototype.setFakeTokens=function(e){this._setValid(e,!1)},e.prototype.applyEdits=function(e,t){for(var n=e.endLineNumber-e.startLineNumber,i=t,o=Math.min(n,i);o>=0;o--)this._invalidateLine(e.startLineNumber+o-1);this._acceptDeleteRange(e),this._acceptInsertText(new l.a(e.startLineNumber,e.startColumn),t)},e.prototype._acceptDeleteRange=function(e){e.startLineNumber-1>=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)},e.prototype._acceptInsertText=function(e,t){e.lineNumber-1>=this._len||this._insertLines(e.lineNumber,t)},e}(),Ie=function(e){function t(t){var n=e.call(this)||this;return n._isDisposed=!1,n._textModel=t,n._tokenizationStateStore=new ke,n._tokenizationSupport=null,n._register(Le.y.onDidChange((function(e){var t=n._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(n._resetTokenizationState(),n._textModel.clearTokens())}))),n._register(n._textModel.onDidChangeRawContentFast((function(e){e.containsEvent(1)&&n._resetTokenizationState()}))),n._register(n._textModel.onDidChangeContentFast((function(e){for(var t=0,i=e.changes.length;t<i;t++){var o=e.changes[t],r=Object(De.f)(o.text)[0];n._tokenizationStateStore.applyEdits(o.range,r)}n._beginBackgroundTokenization()}))),n._register(n._textModel.onDidChangeAttached((function(){n._beginBackgroundTokenization()}))),n._register(n._textModel.onDidChangeLanguage((function(){n._resetTokenizationState(),n._textModel.clearTokens()}))),n._resetTokenizationState(),n}return Ee(t,e),t.prototype.dispose=function(){this._isDisposed=!0,e.prototype.dispose.call(this)},t.prototype._resetTokenizationState=function(){var e=function(e){var t=e.getLanguageIdentifier(),n=e.isTooLargeForTokenization()?null:Le.y.get(t.language),o=null;if(n)try{o=n.getInitialState()}catch(e){Object(i.e)(e),n=null}return[n,o]}(this._textModel),t=e[0],n=e[1];this._tokenizationSupport=t,this._tokenizationStateStore.flush(n),this._beginBackgroundTokenization()},t.prototype._beginBackgroundTokenization=function(){var e=this;this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&xe.i((function(){e._isDisposed||e._revalidateTokensNow()}))},t.prototype._revalidateTokensNow=function(e){void 0===e&&(e=this._textModel.getLineCount());for(var t=new De.b,n=Oe.a.create(!1);this._hasLinesToTokenize()&&!(n.elapsed()>1);){if(this._tokenizeOneInvalidLine(t)>=e)break}this._beginBackgroundTokenization(),this._textModel.setTokens(t.tokens)},t.prototype.tokenizeViewport=function(e,t){var n=new De.b;this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.tokens)},t.prototype.reset=function(){this._resetTokenizationState(),this._textModel.clearTokens()},t.prototype.forceTokenization=function(e){var t=new De.b;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)},t.prototype.isCheapToTokenize=function(e){if(!this._tokenizationSupport)return!0;var t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&(e<t||this._textModel.getLineLength(e)<2048)},t.prototype._hasLinesToTokenize=function(){return!!this._tokenizationSupport&&this._tokenizationStateStore.invalidLineStartIndex<this._textModel.getLineCount()},t.prototype._tokenizeOneInvalidLine=function(e){if(!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;var t=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(e,t),t},t.prototype._updateTokensUntilLine=function(e,t){if(this._tokenizationSupport)for(var n=this._textModel.getLanguageIdentifier(),i=this._textModel.getLineCount(),o=t-1,r=this._tokenizationStateStore.invalidLineStartIndex;r<=o;r++){var s=this._textModel.getLineContent(r+1),a=this._tokenizationStateStore.getBeginState(r),u=Me(n,this._tokenizationSupport,s,a);e.add(r+1,u.tokens),this._tokenizationStateStore.setEndState(i,r,u.endState),r=this._tokenizationStateStore.invalidLineStartIndex-1}},t.prototype._tokenizeViewport=function(e,t,n){if(this._tokenizationSupport&&!(n<=this._tokenizationStateStore.invalidLineStartIndex))if(t<=this._tokenizationStateStore.invalidLineStartIndex)this._updateTokensUntilLine(e,n);else{for(var i=this._textModel.getLineFirstNonWhitespaceColumn(t),o=[],r=null,s=t-1;i>0&&s>=1;s--){var a=this._textModel.getLineFirstNonWhitespaceColumn(s);if(0!==a&&a<i){if(r=this._tokenizationStateStore.getBeginState(s-1))break;o.push(this._textModel.getLineContent(s)),i=a}}r||(r=this._tokenizationSupport.getInitialState());var u=this._textModel.getLanguageIdentifier(),l=r;for(s=o.length-1;s>=0;s--){l=(h=Me(u,this._tokenizationSupport,o[s],l)).endState}for(var c=t;c<=n;c++){var d=this._textModel.getLineContent(c),h=Me(u,this._tokenizationSupport,d,l);e.add(c,h.tokens),this._tokenizationStateStore.setFakeTokens(c-1),l=h.endState}}},t}(r.a);function Me(e,t,n,o){var r=null;if(t)try{r=t.tokenize2(n,o.clone(),0)}catch(e){Object(i.e)(e)}return r||(r=Object(Ne.e)(e.id,n,o,0)),Se.a.convertToEndOffset(r.tokens,n.length),r}var Te=n("0JNc"),Ae=n("cMvZ"),Re=n("BFtn"),Pe=n("EIAu"),Fe=n("746U"),Ve=n("zrhQ"),We=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function Be(e){var t=new pe;return t.acceptChunk(e),t.finish()}function je(e,t){return("string"==typeof e?Be(e):e).create(t)}var He=0,ze=function(){throw new Error("Invalid change accessor")},Ue=function(e){function t(n,i,r,u){void 0===u&&(u=null);var l=e.call(this)||this;l._onWillDispose=l._register(new o.a),l.onWillDispose=l._onWillDispose.event,l._onDidChangeDecorations=l._register(new $e),l.onDidChangeDecorations=l._onDidChangeDecorations.event,l._onDidChangeLanguage=l._register(new o.a),l.onDidChangeLanguage=l._onDidChangeLanguage.event,l._onDidChangeLanguageConfiguration=l._register(new o.a),l.onDidChangeLanguageConfiguration=l._onDidChangeLanguageConfiguration.event,l._onDidChangeTokens=l._register(new o.a),l.onDidChangeTokens=l._onDidChangeTokens.event,l._onDidChangeOptions=l._register(new o.a),l.onDidChangeOptions=l._onDidChangeOptions.event,l._onDidChangeAttached=l._register(new o.a),l.onDidChangeAttached=l._onDidChangeAttached.event,l._eventEmitter=l._register(new et),He++,l.id="$model"+He,l.isForSimpleWidget=i.isForSimpleWidget,l._associatedResource=null==u?a.a.parse("inmemory://model/"+He):u,l._attachedEditorCount=0,l._buffer=je(n,i.defaultEOL),l._options=t.resolveOptions(l._buffer,i);var d=l._buffer.getLineCount(),h=l._buffer.getValueLengthInRange(new c.a(1,1,d,l._buffer.getLineLength(d)+1),0);return i.largeFileOptimizations?l._isTooLargeForTokenization=h>t.LARGE_FILE_SIZE_THRESHOLD||d>t.LARGE_FILE_LINE_COUNT_THRESHOLD:l._isTooLargeForTokenization=!1,l._isTooLargeForSyncing=h>t.MODEL_SYNC_LIMIT,l._versionId=1,l._alternativeVersionId=1,l._isDisposed=!1,l._isDisposing=!1,l._languageIdentifier=r||Ne.a,l._languageRegistryListener=Ae.a.onDidChange((function(e){e.languageIdentifier.id===l._languageIdentifier.id&&l._onDidChangeLanguageConfiguration.fire({})})),l._instanceId=s.G(He),l._lastDecorationId=0,l._decorations=Object.create(null),l._decorationsTree=new Ke,l._commandManager=new m(l),l._isUndoing=!1,l._isRedoing=!1,l._trimAutoWhitespaceLines=null,l._tokens=new De.d,l._tokens2=new De.e,l._tokenization=new Ie(l),l}return We(t,e),t.createFromString=function(e,n,i,o){return void 0===n&&(n=t.DEFAULT_CREATION_OPTIONS),void 0===i&&(i=null),void 0===o&&(o=null),new t(e,n,i,o)},t.resolveOptions=function(e,t){if(t.detectIndentation){var n=y(e,t.tabSize,t.insertSpaces);return new h.e({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new h.e({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})},t.prototype.onDidChangeRawContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeRawContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.onDidChangeContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.dispose=function(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,e.prototype.dispose.call(this),this._isDisposing=!1},t.prototype._assertNotDisposed=function(){if(this._isDisposed)throw new Error("Model is disposed!")},t.prototype._emitContentChangedEvent=function(e,t){this._isDisposing||this._eventEmitter.fire(new Ce(e,t))},t.prototype.setValue=function(e){if(this._assertNotDisposed(),null!==e){var t=je(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}},t.prototype._createContentChanged2=function(e,t,n,i,o,r,s){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:s}},t.prototype.setValueFromTextBuffer=function(e){if(this._assertNotDisposed(),null!==e){var t=this.getFullModelRange(),n=this.getValueLengthInRange(t),i=this.getLineCount(),o=this.getLineMaxColumn(i);this._buffer=e,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Ke,this._commandManager=new m(this),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new be([new ge],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,i,o),0,n,this.getValue(),!1,!1,!0))}},t.prototype.setEOL=function(e){this._assertNotDisposed();var t=1===e?"\r\n":"\n";if(this._buffer.getEOL()!==t){var n=this.getFullModelRange(),i=this.getValueLengthInRange(n),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new be([new ye],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,o,r),0,i,this.getValue(),!1,!1,!1))}},t.prototype._onBeforeEOLChange=function(){var e=this.getVersionId(),t=this._decorationsTree.search(0,!1,!1,e);this._ensureNodesHaveRanges(t)},t.prototype._onAfterEOLChange=function(){for(var e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder(),n=0,i=t.length;n<i;n++){var o=t[n],r=o.cachedAbsoluteStart-o.start,s=this._buffer.getOffsetAt(o.range.startLineNumber,o.range.startColumn),a=this._buffer.getOffsetAt(o.range.endLineNumber,o.range.endColumn);o.cachedAbsoluteStart=s,o.cachedAbsoluteEnd=a,o.cachedVersionId=e,o.start=s-r,o.end=a-r,j(o)}},t.prototype.onBeforeAttached=function(){this._attachedEditorCount++,1===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)},t.prototype.onBeforeDetached=function(){this._attachedEditorCount--,0===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)},t.prototype.isAttachedToEditor=function(){return this._attachedEditorCount>0},t.prototype.getAttachedEditorCount=function(){return this._attachedEditorCount},t.prototype.isTooLargeForSyncing=function(){return this._isTooLargeForSyncing},t.prototype.isTooLargeForTokenization=function(){return this._isTooLargeForTokenization},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.isDominatedByLongLines=function(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;for(var e=0,t=0,n=this._buffer.getLineCount(),i=1;i<=n;i++){var o=this._buffer.getLineLength(i);o>=1e4?t+=o:e+=o}return t>e},Object.defineProperty(t.prototype,"uri",{get:function(){return this._associatedResource},enumerable:!0,configurable:!0}),t.prototype.getOptions=function(){return this._assertNotDisposed(),this._options},t.prototype.getFormattingOptions=function(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}},t.prototype.updateOptions=function(e){this._assertNotDisposed();var t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,n=void 0!==e.indentSize?e.indentSize:this._options.indentSize,i=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,o=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=new h.e({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o});if(!this._options.equals(r)){var s=this._options.createChangeEvent(r);this._options=r,this._onDidChangeOptions.fire(s)}},t.prototype.detectIndentation=function(e,t){this._assertNotDisposed();var n=y(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})},t._normalizeIndentationFromWhitespace=function(e,t,n){for(var i=0,o=0;o<e.length;o++)"\t"===e.charAt(o)?i+=t:i++;var r="";if(!n){var s=Math.floor(i/t);i%=t;for(o=0;o<s;o++)r+="\t"}for(o=0;o<i;o++)r+=" ";return r},t.normalizeIndentation=function(e,n,i){var o=s.o(e);return-1===o&&(o=e.length),t._normalizeIndentationFromWhitespace(e.substring(0,o),n,i)+e.substring(o)},t.prototype.normalizeIndentation=function(e){return this._assertNotDisposed(),t.normalizeIndentation(e,this._options.indentSize,this._options.insertSpaces)},t.prototype.getVersionId=function(){return this._assertNotDisposed(),this._versionId},t.prototype.mightContainRTL=function(){return this._buffer.mightContainRTL()},t.prototype.mightContainNonBasicASCII=function(){return this._buffer.mightContainNonBasicASCII()},t.prototype.getAlternativeVersionId=function(){return this._assertNotDisposed(),this._alternativeVersionId},t.prototype.getOffsetAt=function(e){this._assertNotDisposed();var t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)},t.prototype.getPositionAt=function(e){this._assertNotDisposed();var t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)},t.prototype._increaseVersionId=function(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId},t.prototype._overwriteAlternativeVersionId=function(e){this._alternativeVersionId=e},t.prototype.getValue=function(e,t){void 0===t&&(t=!1),this._assertNotDisposed();var n=this.getFullModelRange(),i=this.getValueInRange(n,e);return t?this._buffer.getBOM()+i:i},t.prototype.getValueLength=function(e,t){void 0===t&&(t=!1),this._assertNotDisposed();var n=this.getFullModelRange(),i=this.getValueLengthInRange(n,e);return t?this._buffer.getBOM().length+i:i},t.prototype.getValueInRange=function(e,t){return void 0===t&&(t=0),this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)},t.prototype.getValueLengthInRange=function(e,t){return void 0===t&&(t=0),this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)},t.prototype.getCharacterCountInRange=function(e,t){return void 0===t&&(t=0),this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)},t.prototype.getLineCount=function(){return this._assertNotDisposed(),this._buffer.getLineCount()},t.prototype.getLineContent=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)},t.prototype.getLineLength=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)},t.prototype.getLinesContent=function(){return this._assertNotDisposed(),this._buffer.getLinesContent()},t.prototype.getEOL=function(){return this._assertNotDisposed(),this._buffer.getEOL()},t.prototype.getLineMinColumn=function(e){return this._assertNotDisposed(),1},t.prototype.getLineMaxColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1},t.prototype.getLineFirstNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)},t.prototype.getLineLastNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)},t.prototype._validateRangeRelaxedNoAllocations=function(e){var t,n,i=this._buffer.getLineCount(),o=e.startLineNumber,r=e.startColumn;if(o<1)t=1,n=1;else if(o>i)t=i,n=this.getLineMaxColumn(t);else{if(t=0|o,r<=1)n=1;else n=r>=(h=this.getLineMaxColumn(t))?h:0|r}var s,a,u=e.endLineNumber,l=e.endColumn;if(u<1)s=1,a=1;else if(u>i)s=i,a=this.getLineMaxColumn(s);else{var h;if(s=0|u,l<=1)a=1;else a=l>=(h=this.getLineMaxColumn(s))?h:0|l}return o===t&&r===n&&u===s&&l===a&&e instanceof c.a&&!(e instanceof d.a)?e:new c.a(t,n,s,a)},t.prototype._isValidPosition=function(e,t,n){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;if(e>this._buffer.getLineCount())return!1;if(1===t)return!0;if(t>this.getLineMaxColumn(e))return!1;if(1===n){var i=this._buffer.getLineCharCode(e,t-2);if(s.x(i))return!1}return!0},t.prototype._validatePosition=function(e,t,n){var i=Math.floor("number"!=typeof e||isNaN(e)?1:e),o=Math.floor("number"!=typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(i<1)return new l.a(1,1);if(i>r)return new l.a(r,this.getLineMaxColumn(r));if(o<=1)return new l.a(i,1);var a=this.getLineMaxColumn(i);if(o>=a)return new l.a(i,a);if(1===n){var u=this._buffer.getLineCharCode(i,o-2);if(s.x(u))return new l.a(i,o-1)}return new l.a(i,o)},t.prototype.validatePosition=function(e){return this._assertNotDisposed(),e instanceof l.a&&this._isValidPosition(e.lineNumber,e.column,1)?e:this._validatePosition(e.lineNumber,e.column,1)},t.prototype._isValidRange=function(e,t){var n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(n,i,0))return!1;if(!this._isValidPosition(o,r,0))return!1;if(1===t){var a=i>1?this._buffer.getLineCharCode(n,i-2):0,u=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,l=s.x(a),c=s.x(u);return!l&&!c}return!0},t.prototype.validateRange=function(e){if(this._assertNotDisposed(),e instanceof c.a&&!(e instanceof d.a)&&this._isValidRange(e,1))return e;var t=this._validatePosition(e.startLineNumber,e.startColumn,0),n=this._validatePosition(e.endLineNumber,e.endColumn,0),i=t.lineNumber,o=t.column,r=n.lineNumber,a=n.column,u=o>1?this._buffer.getLineCharCode(i,o-2):0,l=a>1&&a<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,a-2):0,h=s.x(u),f=s.x(l);return h||f?i===r&&o===a?new c.a(i,o-1,r,a-1):h&&f?new c.a(i,o-1,r,a+1):h?new c.a(i,o-1,r,a):new c.a(i,o,r,a+1):new c.a(i,o,r,a)},t.prototype.modifyPosition=function(e,t){this._assertNotDisposed();var n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))},t.prototype.getFullModelRange=function(){this._assertNotDisposed();var e=this.getLineCount();return new c.a(1,1,e,this.getLineMaxColumn(e))},t.prototype.findMatchesLineByLine=function(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)},t.prototype.findMatches=function(e,t,n,i,o,r,s){var a;if(void 0===s&&(s=999),this._assertNotDisposed(),a=c.a.isIRange(t)?this.validateRange(t):this.getFullModelRange(),!n&&e.indexOf("\n")<0){var u=new ie.a(e,n,i,o).parseSearchRequest();return u?this.findMatchesLineByLine(a,u,r,s):[]}return ie.c.findMatches(this,new ie.a(e,n,i,o),a,r,s)},t.prototype.findNextMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){var a=new ie.a(e,n,i,o).parseSearchRequest();if(!a)return null;var u=this.getLineCount(),l=new c.a(s.lineNumber,s.column,u,this.getLineMaxColumn(u)),d=this.findMatchesLineByLine(l,a,r,1);return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r),d.length>0?d[0]:(l=new c.a(1,1,s.lineNumber,this.getLineMaxColumn(s.lineNumber)),(d=this.findMatchesLineByLine(l,a,r,1)).length>0?d[0]:null)}return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.findPreviousMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);return ie.c.findPreviousMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.pushStackElement=function(){this._commandManager.pushStackElement()},t.prototype.pushEOL=function(e){if(("\n"===this.getEOL()?0:1)!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.pushEditOperations=function(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,t,n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._pushEditOperations=function(e,t,n){var i=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){for(var o=t.map((function(e){return{range:i.validateRange(e.range),text:e.text}})),r=!0,s=0,a=e.length;s<a;s++){for(var u=e[s],l=!1,d=0,h=o.length;d<h;d++){var f=(_=o[d].range).startLineNumber>u.endLineNumber,p=u.startLineNumber>_.endLineNumber;if(!f&&!p){l=!0;break}}if(!l){r=!1;break}}if(r)for(s=0,a=this._trimAutoWhitespaceLines.length;s<a;s++){var g=this._trimAutoWhitespaceLines[s],m=this.getLineMaxColumn(g),v=!0;for(d=0,h=o.length;d<h;d++){var _=o[d].range,y=o[d].text;if(!(g<_.startLineNumber||g>_.endLineNumber)&&!(g===_.startLineNumber&&_.startColumn===m&&_.isEmpty()&&y&&y.length>0&&"\n"===y.charAt(0)||g===_.startLineNumber&&1===_.startColumn&&_.isEmpty()&&y&&y.length>0&&"\n"===y.charAt(y.length-1))){v=!1;break}}v&&t.push({range:new c.a(g,1,g,m),text:null})}this._trimAutoWhitespaceLines=null}return this._commandManager.pushEditOperation(e,t,n)},t.prototype.applyEdits=function(e){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._applyEdits(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._applyEdits=function(e){for(var t=0,n=e.length;t<n;t++)e[t].range=this.validateRange(e[t].range);var i=this._buffer.getLineCount(),o=this._buffer.applyEdits(e,this._options.trimAutoWhitespace),r=this._buffer.getLineCount(),s=o.changes;if(this._trimAutoWhitespaceLines=o.trimAutoWhitespaceLineNumbers,0!==s.length){var a=[],u=i;for(t=0,n=s.length;t<n;t++){var l=s[t],c=Object(De.f)(l.text),d=c[0],h=c[1],f=c[2];this._tokens.acceptEdit(l.range,d,h),this._tokens2.acceptEdit(l.range,d,h,f,l.text.length>0?l.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(l.rangeOffset,l.rangeLength,l.text.length,l.forceMoveMarkers);for(var p=l.range.startLineNumber,g=l.range.endLineNumber,m=g-p,v=d,_=Math.min(m,v),y=v-m,b=_;b>=0;b--){var C=p+b,w=r-u-y+C;a.push(new me(C,this.getLineContent(w)))}if(_<m){var S=p+_;a.push(new ve(S+1,g))}if(_<v){for(var L=p+_,N=v-_,O=r-u-N+L+1,D=[],x=0;x<N;x++){var E=O+x;D[E-O]=this.getLineContent(E)}a.push(new _e(L+1,p+v,D))}u+=y}this._increaseVersionId(),this._emitContentChangedEvent(new be(a,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:s,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return o.reverseEdits},t.prototype._undo=function(){this._isUndoing=!0;var e=this._commandManager.undo();return this._isUndoing=!1,e?(this._overwriteAlternativeVersionId(e.recordedVersionId),e.selections):null},t.prototype.undo=function(){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._undo()}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.canUndo=function(){return this._commandManager.canUndo()},t.prototype._redo=function(){this._isRedoing=!0;var e=this._commandManager.redo();return this._isRedoing=!1,e?(this._overwriteAlternativeVersionId(e.recordedVersionId),e.selections):null},t.prototype.redo=function(){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._redo()}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.canRedo=function(){return this._commandManager.canRedo()},t.prototype.changeDecorations=function(e,t){void 0===t&&(t=0),this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._changeDecorations=function(e,t){var n=this,o={addDecoration:function(t,i){return n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,[],[{range:t,options:i}])[0]},changeDecoration:function(e,t){n._onDidChangeDecorations.fire(),n._changeDecorationImpl(e,t)},changeDecorationOptions:function(e,t){n._onDidChangeDecorations.fire(),n._changeDecorationOptionsImpl(e,Qe(t))},removeDecoration:function(t){n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,[t],[])},deltaDecorations:function(t,i){return 0===t.length&&0===i.length?[]:(n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,t,i))}},r=null;try{r=t(o)}catch(e){Object(i.e)(e)}return o.addDecoration=ze,o.changeDecoration=ze,o.changeDecorationOptions=ze,o.removeDecoration=ze,o.deltaDecorations=ze,r},t.prototype.deltaDecorations=function(e,t,n){if(void 0===n&&(n=0),this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._deltaDecorationsImpl(n,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._getTrackedRange=function(e){return this.getDecorationRange(e)},t.prototype._setTrackedRange=function(e,t,n){var i=e?this._decorations[e]:null;if(!i)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:Je[n]}])[0]:null;if(!t)return this._decorationsTree.delete(i),delete this._decorations[i.id],null;var o=this._validateRangeRelaxedNoAllocations(t),r=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),s=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);return this._decorationsTree.delete(i),i.reset(this.getVersionId(),r,s,o),i.setOptions(Je[n]),this._decorationsTree.insert(i),i.id},t.prototype.removeAllDecorationsWithOwnerId=function(e){if(!this._isDisposed)for(var t=this._decorationsTree.collectNodesFromOwner(e),n=0,i=t.length;n<i;n++){var o=t[n];this._decorationsTree.delete(o),delete this._decorations[o.id]}},t.prototype.getDecorationOptions=function(e){var t=this._decorations[e];return t?t.options:null},t.prototype.getDecorationRange=function(e){var t=this._decorations[e];if(!t)return null;var n=this.getVersionId();return t.cachedVersionId!==n&&this._decorationsTree.resolveNode(t,n),null===t.range&&(t.range=this._getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range},t.prototype.getLineDecorations=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=!1),e<1||e>this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)},t.prototype.getLinesDecorations=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=this.getLineCount(),r=Math.min(o,Math.max(1,e)),s=Math.min(o,Math.max(1,t)),a=this.getLineMaxColumn(s);return this._getDecorationsInRange(new c.a(r,1,s,a),n,i)},t.prototype.getDecorationsInRange=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1);var i=this.validateRange(e);return this._getDecorationsInRange(i,t,n)},t.prototype.getOverviewRulerDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(i)},t.prototype.getAllDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(i)},t.prototype._getDecorationsInRange=function(e,t,n){var i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),r=this.getVersionId(),s=this._decorationsTree.intervalSearch(i,o,t,n,r);return this._ensureNodesHaveRanges(s)},t.prototype._ensureNodesHaveRanges=function(e){for(var t=0,n=e.length;t<n;t++){var i=e[t];null===i.range&&(i.range=this._getRangeAt(i.cachedAbsoluteStart,i.cachedAbsoluteEnd))}return e},t.prototype._getRangeAt=function(e,t){return this._buffer.getRangeAt(e,t-e)},t.prototype._changeDecorationImpl=function(e,t){var n=this._decorations[e];if(n){var i=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(i.startLineNumber,i.startColumn),r=this._buffer.getOffsetAt(i.endLineNumber,i.endColumn);this._decorationsTree.delete(n),n.reset(this.getVersionId(),o,r,i),this._decorationsTree.insert(n)}},t.prototype._changeDecorationOptionsImpl=function(e,t){var n=this._decorations[e];n&&(!(!n.options.overviewRuler||!n.options.overviewRuler.color)!==!(!t.overviewRuler||!t.overviewRuler.color)?(this._decorationsTree.delete(n),n.setOptions(t),this._decorationsTree.insert(n)):n.setOptions(t))},t.prototype._deltaDecorationsImpl=function(e,t,n){for(var i=this.getVersionId(),o=t.length,r=0,s=n.length,a=0,u=new Array(s);r<o||a<s;){var l=null;if(r<o){do{l=this._decorations[t[r++]]}while(!l&&r<o);l&&this._decorationsTree.delete(l)}if(a<s){if(!l){var c=++this._lastDecorationId,d=this._instanceId+";"+c;l=new k(d,0,0),this._decorations[d]=l}var h=n[a],f=this._validateRangeRelaxedNoAllocations(h.range),p=Qe(h.options),g=this._buffer.getOffsetAt(f.startLineNumber,f.startColumn),m=this._buffer.getOffsetAt(f.endLineNumber,f.endColumn);l.ownerId=e,l.reset(i,g,m,f),l.setOptions(p),this._decorationsTree.insert(l),u[a]=l.id,a++}else l&&delete this._decorations[l.id]}return u},t.prototype.setLineTokens=function(e,t){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokens.setTokens(this._languageIdentifier.id,e-1,this._buffer.getLineLength(e),t)},t.prototype.setTokens=function(e){if(0!==e.length){for(var t=[],n=0,i=e.length;n<i;n++){var o=e[n];t.push({fromLineNumber:o.startLineNumber,toLineNumber:o.startLineNumber+o.tokens.length-1});for(var r=0,s=o.tokens.length;r<s;r++)this.setLineTokens(o.startLineNumber+r,o.tokens[r])}this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,ranges:t})}},t.prototype.setSemanticTokens=function(e){this._tokens2.set(e),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})},t.prototype.tokenizeViewport=function(e,t){e=Math.max(1,e),t=Math.min(this._buffer.getLineCount(),t),this._tokenization.tokenizeViewport(e,t)},t.prototype.clearTokens=function(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,ranges:[{fromLineNumber:1,toLineNumber:this._buffer.getLineCount()}]})},t.prototype._emitModelTokensChangedEvent=function(e){this._isDisposing||this._onDidChangeTokens.fire(e)},t.prototype.resetTokenization=function(){this._tokenization.reset()},t.prototype.forceTokenization=function(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)},t.prototype.isCheapToTokenize=function(e){return this._tokenization.isCheapToTokenize(e)},t.prototype.tokenizeIfCheap=function(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)},t.prototype.getLineTokens=function(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)},t.prototype._getLineTokens=function(e){var t=this.getLineContent(e),n=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,n)},t.prototype.getLanguageIdentifier=function(){return this._languageIdentifier},t.prototype.getModeId=function(){return this._languageIdentifier.language},t.prototype.setMode=function(e){if(this._languageIdentifier.id!==e.id){var t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language};this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}},t.prototype.getLanguageIdAtPosition=function(e,t){var n=this.validatePosition(new l.a(e,t)),i=this.getLineTokens(n.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(n.column-1))},t.prototype.getWordAtPosition=function(e){this._assertNotDisposed();var n=this.validatePosition(e),i=this.getLineContent(n.lineNumber),o=this._getLineTokens(n.lineNumber),r=o.findTokenIndexAtOffset(n.column-1),s=t._findLanguageBoundaries(o,r),a=s[0],u=s[1],l=Object(Te.d)(n.column,Ae.a.getWordDefinition(o.getLanguageId(r)),i.substring(a,u),a);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l;if(r>0&&a===n.column-1){var c=t._findLanguageBoundaries(o,r-1),d=c[0],h=c[1],f=Object(Te.d)(n.column,Ae.a.getWordDefinition(o.getLanguageId(r-1)),i.substring(d,h),d);if(f&&f.startColumn<=e.column&&e.column<=f.endColumn)return f}return null},t._findLanguageBoundaries=function(e,t){for(var n=e.getLanguageId(t),i=0,o=t;o>=0&&e.getLanguageId(o)===n;o--)i=e.getStartOffset(o);for(var r=e.getLineContent().length,s=(o=t,e.getCount());o<s&&e.getLanguageId(o)===n;o++)r=e.getEndOffset(o);return[i,r]},t.prototype.getWordUntilPosition=function(e){var t=this.getWordAtPosition(e);return t?{word:t.word.substr(0,e.column-t.startColumn),startColumn:t.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}},t.prototype.findMatchingBracketUp=function(e,t){var n=e.toLowerCase(),i=this.validatePosition(t),o=this._getLineTokens(i.lineNumber),r=o.getLanguageId(o.findTokenIndexAtOffset(i.column-1)),s=Ae.a.getBracketsSupport(r);if(!s)return null;var a=s.textIsBracket[n];return a?this._findMatchingBracketUp(a,i):null},t.prototype.matchBracket=function(e){return this._matchBracket(this.validatePosition(e))},t.prototype._matchBracket=function(e){var t=e.lineNumber,n=this._getLineTokens(t),i=n.getCount(),o=this._buffer.getLineContent(t),r=n.findTokenIndexAtOffset(e.column-1);if(r<0)return null;var s=Ae.a.getBracketsSupport(n.getLanguageId(r));if(s&&!Object(Re.b)(n.getStandardTokenType(r))){for(var a=Math.max(0,e.column-1-s.maxBracketLength),u=r-1;u>=0;u--){var l=n.getEndOffset(u);if(l<=a)break;Object(Re.b)(n.getStandardTokenType(u))&&(a=l)}for(var c=Math.min(o.length,e.column-1+s.maxBracketLength),d=null;;){if(!(m=Pe.a.findNextBracketInRange(s.forwardRegex,t,o,a,c)))break;if(m.startColumn<=e.column&&e.column<=m.endColumn){var h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();(v=this._matchFoundBracket(m,s.textIsBracket[h],s.textIsOpenBracket[h]))&&(d=v)}a=m.endColumn-1}if(d)return d}if(r>0&&n.getStartOffset(r)===e.column-1){var f=r-1,p=Ae.a.getBracketsSupport(n.getLanguageId(f));if(p&&!Object(Re.b)(n.getStandardTokenType(f))){for(a=Math.max(0,e.column-1-p.maxBracketLength),c=Math.min(o.length,e.column-1+p.maxBracketLength),u=f+1;u<i;u++){var g=n.getStartOffset(u);if(g>=c)break;Object(Re.b)(n.getStandardTokenType(u))&&(c=g)}var m;if((m=Pe.a.findPrevBracketInRange(p.reversedRegex,t,o,a,c))&&m.startColumn<=e.column&&e.column<=m.endColumn){var v;h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();if(v=this._matchFoundBracket(m,p.textIsBracket[h],p.textIsOpenBracket[h]))return v}}}return null},t.prototype._matchFoundBracket=function(e,t,n){if(!t)return null;var i;if(n){if(i=this._findMatchingBracketDown(t,e.getEndPosition()))return[e,i]}else if(i=this._findMatchingBracketUp(t,e.getStartPosition()))return[e,i];return null},t.prototype._findMatchingBracketUp=function(e,t){for(var n=e.languageIdentifier.id,i=e.reversedRegex,o=-1,r=function(t,n,r,s){for(;;){var a=Pe.a.findPrevBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;s=a.startColumn-1}return null},s=t.lineNumber;s>=1;s--){var a=this._getLineTokens(s),u=a.getCount(),l=this._buffer.getLineContent(s),c=u-1,d=l.length,h=l.length;s===t.lineNumber&&(c=a.findTokenIndexAtOffset(t.column-1),d=t.column-1,h=t.column-1);for(var f=!0;c>=0;c--){var p,g=a.getLanguageId(c)===n&&!Object(Re.b)(a.getStandardTokenType(c));if(g)f?d=a.getStartOffset(c):(d=a.getStartOffset(c),h=a.getEndOffset(c));else if(f&&d!==h)if(p=r(s,l,d,h))return p;f=g}if(f&&d!==h)if(p=r(s,l,d,h))return p}return null},t.prototype._findMatchingBracketDown=function(e,t){for(var n=e.languageIdentifier.id,i=e.forwardRegex,o=1,r=function(t,n,r,s){for(;;){var a=Pe.a.findNextBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;r=a.endColumn-1}return null},s=this.getLineCount(),a=t.lineNumber;a<=s;a++){var u=this._getLineTokens(a),l=u.getCount(),c=this._buffer.getLineContent(a),d=0,h=0,f=0;a===t.lineNumber&&(d=u.findTokenIndexAtOffset(t.column-1),h=t.column-1,f=t.column-1);for(var p=!0;d<l;d++){var g,m=u.getLanguageId(d)===n&&!Object(Re.b)(u.getStandardTokenType(d));if(m)p||(h=u.getStartOffset(d)),f=u.getEndOffset(d);else if(p&&h!==f)if(g=r(a,c,h,f))return g;p=m}if(p&&h!==f)if(g=r(a,c,h,f))return g}return null},t.prototype.findPrevBracket=function(e){for(var t=this.validatePosition(e),n=-1,i=null,o=t.lineNumber;o>=1;o--){var r=this._getLineTokens(o),s=r.getCount(),a=this._buffer.getLineContent(o),u=s-1,l=a.length,c=a.length;if(o===t.lineNumber)u=r.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1,n!==(h=r.getLanguageId(u))&&(n=h,i=Ae.a.getBracketsSupport(n));for(var d=!0;u>=0;u--){var h;if(n!==(h=r.getLanguageId(u))){if(i&&d&&l!==c){if(f=Pe.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,f);d=!1}n=h,i=Ae.a.getBracketsSupport(n)}var f,p=!!i&&!Object(Re.b)(r.getStandardTokenType(u));if(p)d?l=r.getStartOffset(u):(l=r.getStartOffset(u),c=r.getEndOffset(u));else if(i&&d&&l!==c)if(f=Pe.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,f);d=p}if(i&&d&&l!==c)if(f=Pe.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,f)}return null},t.prototype.findNextBracket=function(e){for(var t=this.validatePosition(e),n=this.getLineCount(),i=-1,o=null,r=t.lineNumber;r<=n;r++){var s=this._getLineTokens(r),a=s.getCount(),u=this._buffer.getLineContent(r),l=0,c=0,d=0;if(r===t.lineNumber)l=s.findTokenIndexAtOffset(t.column-1),c=t.column-1,d=t.column-1,i!==(f=s.getLanguageId(l))&&(i=f,o=Ae.a.getBracketsSupport(i));for(var h=!0;l<a;l++){var f;if(i!==(f=s.getLanguageId(l))){if(o&&h&&c!==d){if(p=Pe.a.findNextBracketInRange(o.forwardRegex,r,u,c,d))return this._toFoundBracket(o,p);h=!1}i=f,o=Ae.a.getBracketsSupport(i)}var p,g=!!o&&!Object(Re.b)(s.getStandardTokenType(l));if(g)h||(c=s.getStartOffset(l)),d=s.getEndOffset(l);else if(o&&h&&c!==d)if(p=Pe.a.findNextBracketInRange(o.forwardRegex,r,u,c,d))return this._toFoundBracket(o,p);h=g}if(o&&h&&c!==d)if(p=Pe.a.findNextBracketInRange(o.forwardRegex,r,u,c,d))return this._toFoundBracket(o,p)}return null},t.prototype.findEnclosingBrackets=function(e,t){var n=this;void 0===t&&(t=1073741824);for(var i=this.validatePosition(e),o=this.getLineCount(),r=new Map,s=[],a=function(e,t){if(!r.has(e)){for(var n=[],i=0,o=t?t.brackets.length:0;i<o;i++)n[i]=0;r.set(e,n)}s=r.get(e)},u=function(e,t,i,o,r){for(;;){var a=Pe.a.findNextBracketInRange(e.forwardRegex,t,i,o,r);if(!a)break;var u=i.substring(a.startColumn-1,a.endColumn-1).toLowerCase(),l=e.textIsBracket[u];if(l&&(l.isOpen(u)?s[l.index]++:l.isClose(u)&&s[l.index]--,-1===s[l.index]))return n._matchFoundBracket(a,l,!1);o=a.endColumn-1}return null},l=-1,c=null,d=Date.now(),h=i.lineNumber;h<=o;h++){if(Date.now()-d>t)return null;var f=this._getLineTokens(h),p=f.getCount(),g=this._buffer.getLineContent(h),m=0,v=0,_=0;if(h===i.lineNumber)m=f.findTokenIndexAtOffset(i.column-1),v=i.column-1,_=i.column-1,l!==(b=f.getLanguageId(m))&&a(l=b,c=Ae.a.getBracketsSupport(l));for(var y=!0;m<p;m++){var b;if(l!==(b=f.getLanguageId(m))){if(c&&y&&v!==_){if(C=u(c,h,g,v,_))return C;y=!1}a(l=b,c=Ae.a.getBracketsSupport(l))}var C,w=!!c&&!Object(Re.b)(f.getStandardTokenType(m));if(w)y||(v=f.getStartOffset(m)),_=f.getEndOffset(m);else if(c&&y&&v!==_)if(C=u(c,h,g,v,_))return C;y=w}if(c&&y&&v!==_)if(C=u(c,h,g,v,_))return C}return null},t.prototype._toFoundBracket=function(e,t){if(!t)return null;var n=this.getValueInRange(t);n=n.toLowerCase();var i=e.textIsBracket[n];return i?{range:t,open:i.open,close:i.close,isOpen:e.textIsOpenBracket[n]}:null},t.computeIndentLevel=function(e,t){for(var n=0,i=0,o=e.length;i<o;){var r=e.charCodeAt(i);if(32===r)n++;else{if(9!==r)break;n=n-n%t+t}i++}return i===o?-1:n},t.prototype._computeIndentLevel=function(e){return t.computeIndentLevel(this._buffer.getLineContent(e+1),this._options.tabSize)},t.prototype.getActiveIndentGuide=function(e,t,n){var i=this;this._assertNotDisposed();var o=this.getLineCount();if(e<1||e>o)throw new Error("Illegal value for lineNumber");for(var r=Ae.a.getFoldingRules(this._languageIdentifier.id),s=Boolean(r&&r.offSide),a=-2,u=-1,l=-2,c=-1,d=function(e){if(-1!==a&&(-2===a||a>e-1)){a=-1,u=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){a=t,u=n;break}}}if(-2===l){l=-1,c=-1;for(t=e;t<o;t++){var r=i._computeIndentLevel(t);if(r>=0){l=t,c=r;break}}}},h=-2,f=-1,p=-2,g=-1,m=function(e){if(-2===h){h=-1,f=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){h=t,f=n;break}}}if(-1!==p&&(-2===p||p<e-1)){p=-1,g=-1;for(t=e;t<o;t++){var r=i._computeIndentLevel(t);if(r>=0){p=t,g=r;break}}}},v=0,_=!0,y=0,b=!0,C=0,w=0;_||b;w++){var S=e-w,L=e+w;if(0!==w&&(S<1||S<t)&&(_=!1),0!==w&&(L>o||L>n)&&(b=!1),w>5e4&&(_=!1,b=!1),_){var N=void 0;if((O=this._computeIndentLevel(S-1))>=0?(l=S-1,c=O,N=Math.ceil(O/this._options.indentSize)):(d(S),N=this._getIndentLevelForWhitespaceLine(s,u,c)),0===w){if(v=S,y=L,0===(C=N))return{startLineNumber:v,endLineNumber:y,indent:C};continue}N>=C?v=S:_=!1}if(b){var O,D=void 0;(O=this._computeIndentLevel(L-1))>=0?(h=L-1,f=O,D=Math.ceil(O/this._options.indentSize)):(m(L),D=this._getIndentLevelForWhitespaceLine(s,f,g)),D>=C?y=L:b=!1}}return{startLineNumber:v,endLineNumber:y,indent:C}},t.prototype.getLinesIndentGuides=function(e,t){this._assertNotDisposed();var n=this.getLineCount();if(e<1||e>n)throw new Error("Illegal value for startLineNumber");if(t<1||t>n)throw new Error("Illegal value for endLineNumber");for(var i=Ae.a.getFoldingRules(this._languageIdentifier.id),o=Boolean(i&&i.offSide),r=new Array(t-e+1),s=-2,a=-1,u=-2,l=-1,c=e;c<=t;c++){var d=c-e,h=this._computeIndentLevel(c-1);if(h>=0)s=c-1,a=h,r[d]=Math.ceil(h/this._options.indentSize);else{if(-2===s){s=-1,a=-1;for(var f=c-2;f>=0;f--){if((p=this._computeIndentLevel(f))>=0){s=f,a=p;break}}}if(-1!==u&&(-2===u||u<c-1)){u=-1,l=-1;for(f=c;f<n;f++){var p;if((p=this._computeIndentLevel(f))>=0){u=f,l=p;break}}}r[d]=this._getIndentLevelForWhitespaceLine(o,a,l)}}return r},t.prototype._getIndentLevelForWhitespaceLine=function(e,t,n){return-1===t||-1===n?0:t<n?1+Math.floor(t/this._options.indentSize):t===n||e?Math.ceil(n/this._options.indentSize):1+Math.floor(n/this._options.indentSize)},t.MODEL_SYNC_LIMIT=52428800,t.LARGE_FILE_SIZE_THRESHOLD=20971520,t.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,t.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:u.c.tabSize,indentSize:u.c.indentSize,insertSpaces:u.c.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:u.c.trimAutoWhitespace,largeFileOptimizations:u.c.largeFileOptimizations},t}(r.a),Ke=function(){function e(){this._decorationsTree0=new M,this._decorationsTree1=new M}return e.prototype.intervalSearch=function(e,t,n,i,o){var r=this._decorationsTree0.intervalSearch(e,t,n,i,o),s=this._decorationsTree1.intervalSearch(e,t,n,i,o);return r.concat(s)},e.prototype.search=function(e,t,n,i){if(n)return this._decorationsTree1.search(e,t,i);var o=this._decorationsTree0.search(e,t,i),r=this._decorationsTree1.search(e,t,i);return o.concat(r)},e.prototype.collectNodesFromOwner=function(e){var t=this._decorationsTree0.collectNodesFromOwner(e),n=this._decorationsTree1.collectNodesFromOwner(e);return t.concat(n)},e.prototype.collectNodesPostOrder=function(){var e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder();return e.concat(t)},e.prototype.insert=function(e){O(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)},e.prototype.delete=function(e){O(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)},e.prototype.resolveNode=function(e,t){O(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)},e.prototype.acceptReplace=function(e,t,n,i){this._decorationsTree0.acceptReplace(e,t,n,i),this._decorationsTree1.acceptReplace(e,t,n,i)},e}();function qe(e){return e.replace(/[^a-z0-9\-_]/gi," ")}var Ge=function(e){this.color=e.color||"",this.darkColor=e.darkColor||""},Ye=function(e){function t(t){var n=e.call(this,t)||this;return n._resolvedColor=null,n.position="number"==typeof t.position?t.position:h.d.Center,n}return We(t,e),t.prototype.getColor=function(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor},t.prototype.invalidateCachedColor=function(){this._resolvedColor=null},t.prototype._resolveColor=function(e,t){if("string"==typeof e)return e;var n=e?t.getColor(e.id):null;return n?n.toString():""},t}(Ge),Ze=function(e){function t(t){var n=e.call(this,t)||this;return n.position=t.position,n}return We(t,e),t.prototype.getColor=function(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor},t.prototype.invalidateCachedColor=function(){this._resolvedColor=void 0},t.prototype._resolveColor=function(e,t){return"string"==typeof e?Ve.a.fromHex(e):t.getColor(e.id)},t}(Ge),Xe=function(){function e(e){this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?qe(e.className):null,this.hoverMessage=Object(Fe.o)(e.hoverMessage),this.glyphMarginHoverMessage=Object(Fe.o)(e.glyphMarginHoverMessage),this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new Ye(e.overviewRuler):null,this.minimap=e.minimap?new Ze(e.minimap):null,this.glyphMarginClassName=e.glyphMarginClassName?qe(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?qe(e.linesDecorationsClassName):null,this.marginClassName=e.marginClassName?qe(e.marginClassName):null,this.inlineClassName=e.inlineClassName?qe(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?qe(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?qe(e.afterContentClassName):null}return e.register=function(t){return new e(t)},e.createDynamic=function(t){return new e(t)},e}();Xe.EMPTY=Xe.register({});var Je=[Xe.register({stickiness:0}),Xe.register({stickiness:1}),Xe.register({stickiness:2}),Xe.register({stickiness:3})];function Qe(e){return e instanceof Xe?e:Xe.createDynamic(e)}var $e=function(e){function t(){var t=e.call(this)||this;return t._actual=t._register(new o.a),t.event=t._actual.event,t._deferredCnt=0,t._shouldFire=!1,t}return We(t,e),t.prototype.beginDeferredEmit=function(){this._deferredCnt++},t.prototype.endDeferredEmit=function(){this._deferredCnt--,0===this._deferredCnt&&this._shouldFire&&(this._shouldFire=!1,this._actual.fire({}))},t.prototype.fire=function(){this._shouldFire=!0},t}(r.a),et=function(e){function t(){var t=e.call(this)||this;return t._fastEmitter=t._register(new o.a),t.fastEvent=t._fastEmitter.event,t._slowEmitter=t._register(new o.a),t.slowEvent=t._slowEmitter.event,t._deferredCnt=0,t._deferredEvent=null,t}return We(t,e),t.prototype.beginDeferredEmit=function(){this._deferredCnt++},t.prototype.endDeferredEmit=function(){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){var e=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(e),this._slowEmitter.fire(e)}},t.prototype.fire=function(e){this._deferredCnt>0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))},t}(r.a)},tYmi:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}));var i,o=n("bY76"),r=n("MNsG");!function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.userData="vscode-userdata"}(i||(i={}));var s=new(function(){function e(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}return e.prototype.setPreferredWebSchema=function(e){this._preferredWebSchema=e},e.prototype.rewrite=function(e){if(this._delegate)return this._delegate(e);var t=e.authority,n=this._hosts[t];n&&-1!==n.indexOf(":")&&(n="["+n+"]");var s=this._ports[t],a=this._connectionTokens[t],u="path="+encodeURIComponent(e.path);return"string"==typeof a&&(u+="&tkn="+encodeURIComponent(a)),o.a.from({scheme:r.g?this._preferredWebSchema:i.vscodeRemoteResource,authority:n+":"+s,path:"/vscode-remote-resource",query:u})},e}())},twdY:function(e,t,n){"use strict";n.d(t,"q",(function(){return _})),n.d(t,"x",(function(){return y})),n.d(t,"m",(function(){return w})),n.d(t,"A",(function(){return C})),n.d(t,"t",(function(){return S})),n.d(t,"u",(function(){return L})),n.d(t,"d",(function(){return N})),n.d(t,"w",(function(){return O})),n.d(t,"o",(function(){return D})),n.d(t,"l",(function(){return x})),n.d(t,"h",(function(){return E})),n.d(t,"f",(function(){return k})),n.d(t,"e",(function(){return I})),n.d(t,"p",(function(){return M})),n.d(t,"z",(function(){return T})),n.d(t,"b",(function(){return A})),n.d(t,"a",(function(){return R})),n.d(t,"g",(function(){return P})),n.d(t,"i",(function(){return F})),n.d(t,"s",(function(){return V})),n.d(t,"r",(function(){return W})),n.d(t,"c",(function(){return B})),n.d(t,"v",(function(){return j})),n.d(t,"n",(function(){return H})),n.d(t,"k",(function(){return z})),n.d(t,"j",(function(){return U})),n.d(t,"y",(function(){return K}));var i=n("746U"),o=n("bY76"),r=(n("aokT"),n("MI8n")),s=n("pmY6"),a=n("l2gE");function u(e,t,n,i){if(Array.isArray(e)){for(var o=0,r=0,s=e;r<s.length;r++){var l=u(s[r],t,n,i);if(10===l)return l;l>o&&(o=l)}return o}if("string"==typeof e)return i?"*"===e?5:e===n?10:0:0;if(e){var c=e.language,d=e.pattern,h=e.scheme,f=e.hasAccessToAllModels;if(!i&&!f)return 0;o=0;if(h)if(h===t.scheme)o=10;else{if("*"!==h)return 0;o=5}if(c)if(c===n)o=10;else{if("*"!==c)return 0;o=Math.max(o,5)}if(d){if(d!==t.fsPath&&!Object(a.a)(d,t.fsPath))return 0;o=10}return o}return 0}var l=n("G2kB");function c(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(c):!!e.exclusive)}var d,h,f,p,g=function(){function e(){this._clock=0,this._entries=[],this._onDidChange=new r.a}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this,i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(s.f)((function(){if(i){var e=n._entries.indexOf(i);e>=0&&(n._entries.splice(e,1),n._lastCandidate=void 0,n._onDidChange.fire(n._entries.length),i=void 0)}}))},e.prototype.has=function(e){return this.all(e).length>0},e.prototype.all=function(e){if(!e)return[];this._updateScores(e);for(var t=[],n=0,i=this._entries;n<i.length;n++){var o=i[n];o._score>0&&t.push(o.provider)}return t},e.prototype.ordered=function(e){var t=[];return this._orderedForEach(e,(function(e){return t.push(e.provider)})),t},e.prototype.orderedGroups=function(e){var t,n,i=[];return this._orderedForEach(e,(function(e){t&&n===e._score?t.push(e.provider):(n=e._score,t=[e.provider],i.push(t))})),i},e.prototype._orderedForEach=function(e,t){if(e){this._updateScores(e);for(var n=0,i=this._entries;n<i.length;n++){var o=i[n];o._score>0&&t(o)}}},e.prototype._updateScores=function(t){var n={uri:t.uri.toString(),language:t.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==n.language||this._lastCandidate.uri!==n.uri){this._lastCandidate=n;for(var i=0,o=this._entries;i<o.length;i++){var r=o[i];if(r._score=u(r.selector,t.uri,t.getLanguageIdentifier().language,Object(l.b)(t)),c(r.selector)&&r._score>0){for(var s=0,a=this._entries;s<a.length;s++){a[s]._score=0}r._score=1e3;break}}this._entries.sort(e._compareByScoreAndTime)}},e._compareByScoreAndTime=function(e,t){return e._score<t._score?1:e._score>t._score?-1:e._time<t._time?1:e._time>t._time?-1:0},e}(),m=n("QDVR"),v=function(){function e(){this._map=new Map,this._promises=new Map,this._onDidChange=new r.a,this.onDidChange=this._onDidChange.event,this._colorMap=null}return e.prototype.fire=function(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})},e.prototype.register=function(e,t){var n=this;return this._map.set(e,t),this.fire([e]),Object(s.f)((function(){n._map.get(e)===t&&(n._map.delete(e),n.fire([e]))}))},e.prototype.registerPromise=function(e,t){var n=this,i=null,o=!1;return this._promises.set(e,t.then((function(t){n._promises.delete(e),!o&&t&&(i=n.register(e,t))}))),Object(s.f)((function(){o=!0,i&&i.dispose()}))},e.prototype.getPromise=function(e){var t=this,n=this.get(e);if(n)return Promise.resolve(n);var i=this._promises.get(e);return i?i.then((function(n){return t.get(e)})):null},e.prototype.get=function(e){return Object(i.o)(this._map.get(e))},e.prototype.setColorMap=function(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Object(m.d)(this._map),changedColorMap:!0})},e.prototype.getColorMap=function(){return this._colorMap},e.prototype.getDefaultBackground=function(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null},e}(),_=function(e,t){this.language=e,this.id=t},y=function(){function e(){}return e.getLanguageId=function(e){return(255&e)>>>0},e.getTokenType=function(e){return(1792&e)>>>8},e.getFontStyle=function(e){return(14336&e)>>>11},e.getForeground=function(e){return(8372224&e)>>>14},e.getBackground=function(e){return(4286578688&e)>>>23},e.getClassNameFromMetadata=function(e){var t="mtk"+this.getForeground(e),n=this.getFontStyle(e);return 1&n&&(t+=" mtki"),2&n&&(t+=" mtkb"),4&n&&(t+=" mtku"),t},e.getInlineStyleFromMetadata=function(e,t){var n=this.getForeground(e),i=this.getFontStyle(e),o="color: "+t[n]+";";return 1&i&&(o+="font-style: italic;"),2&i&&(o+="font-weight: bold;"),4&i&&(o+="text-decoration: underline;"),o},e}();(d=Object.create(null))[0]="method",d[1]="function",d[2]="constructor",d[3]="field",d[4]="variable",d[5]="class",d[6]="struct",d[7]="interface",d[8]="module",d[9]="property",d[10]="event",d[11]="operator",d[12]="unit",d[13]="value",d[14]="constant",d[15]="enum",d[16]="enum-member",d[17]="keyword",d[25]="snippet",d[18]="text",d[19]="color",d[20]="file",d[21]="reference",d[22]="customcolor",d[23]="folder",d[24]="type-parameter",function(){var e=Object.create(null);e.method=0,e.function=1,e.constructor=2,e.field=3,e.variable=4,e.class=5,e.struct=6,e.interface=7,e.module=8,e.property=9,e.event=10,e.operator=11,e.unit=12,e.value=13,e.constant=14,e.enum=15,e["enum-member"]=16,e.enumMember=16,e.keyword=17,e.snippet=25,e.text=18,e.color=19,e.file=20,e.reference=21,e.customcolor=22,e.folder=23,e["type-parameter"]=24,e.typeParameter=24}();!function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(h||(h={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(f||(f={})),function(e){var t=new Map;t.set("file",0),t.set("module",1),t.set("namespace",2),t.set("package",3),t.set("class",4),t.set("method",5),t.set("property",6),t.set("field",7),t.set("constructor",8),t.set("enum",9),t.set("interface",10),t.set("function",11),t.set("variable",12),t.set("constant",13),t.set("string",14),t.set("number",15),t.set("boolean",16),t.set("array",17),t.set("object",18),t.set("key",19),t.set("null",20),t.set("enum-member",21),t.set("struct",22),t.set("event",23),t.set("operator",24),t.set("type-parameter",25);var n=new Map;n.set(0,"file"),n.set(1,"module"),n.set(2,"namespace"),n.set(3,"package"),n.set(4,"class"),n.set(5,"method"),n.set(6,"property"),n.set(7,"field"),n.set(8,"constructor"),n.set(9,"enum"),n.set(10,"interface"),n.set(11,"function"),n.set(12,"variable"),n.set(13,"constant"),n.set(14,"string"),n.set(15,"number"),n.set(16,"boolean"),n.set(17,"array"),n.set(18,"object"),n.set(19,"key"),n.set(20,"null"),n.set(21,"enum-member"),n.set(22,"struct"),n.set(23,"event"),n.set(24,"operator"),n.set(25,"type-parameter"),e.fromString=function(e){return t.get(e)},e.toString=function(e){return n.get(e)},e.toCssClassName=function(e,t){return"codicon "+(t?"inline":"block")+" codicon-symbol-"+(n.get(e)||"property")}}(p||(p={}));var b,C,w=function(){function e(e){this.value=e}return e.Comment=new e("comment"),e.Imports=new e("imports"),e.Region=new e("region"),e}();(b||(b={})).is=function(e){return Object(i.i)(e)&&(Boolean(e.newUri)||Boolean(e.oldUri))},(C||(C={})).is=function(e){return Object(i.i)(e)&&o.a.isUri(e.resource)&&Object(i.i)(e.edit)};var S=new g,L=new g,N=new g,O=new g,D=new g,x=new g,E=new g,k=new g,I=new g,M=new g,T=new g,A=new g,R=new g,P=new g,F=new g,V=new g,W=new g,B=new g,j=new g,H=new g,z=new g,U=new g,K=new v},uDWl:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("D3Dy"),o=n("/kV6"),r=n("MNsG"),s=new Array(230),a=new Array(112);!function(){for(var e=0;e<a.length;e++)a[e]=-1;function t(e,t){s[e]=t,a[t]=e}t(3,7),t(8,1),t(9,2),t(13,3),t(16,4),t(17,5),t(18,6),t(19,7),t(20,8),t(27,9),t(32,10),t(33,11),t(34,12),t(35,13),t(36,14),t(37,15),t(38,16),t(39,17),t(40,18),t(45,19),t(46,20),t(48,21),t(49,22),t(50,23),t(51,24),t(52,25),t(53,26),t(54,27),t(55,28),t(56,29),t(57,30),t(65,31),t(66,32),t(67,33),t(68,34),t(69,35),t(70,36),t(71,37),t(72,38),t(73,39),t(74,40),t(75,41),t(76,42),t(77,43),t(78,44),t(79,45),t(80,46),t(81,47),t(82,48),t(83,49),t(84,50),t(85,51),t(86,52),t(87,53),t(88,54),t(89,55),t(90,56),t(93,58),t(96,93),t(97,94),t(98,95),t(99,96),t(100,97),t(101,98),t(102,99),t(103,100),t(104,101),t(105,102),t(106,103),t(107,104),t(108,105),t(109,106),t(110,107),t(111,108),t(112,59),t(113,60),t(114,61),t(115,62),t(116,63),t(117,64),t(118,65),t(119,66),t(120,67),t(121,68),t(122,69),t(123,70),t(124,71),t(125,72),t(126,73),t(127,74),t(128,75),t(129,76),t(130,77),t(144,78),t(145,79),t(186,80),t(187,81),t(188,82),t(189,83),t(190,84),t(191,85),t(192,86),t(193,110),t(194,111),t(219,87),t(220,88),t(221,89),t(222,90),t(223,91),t(226,92),t(229,109),i.i?t(91,57):i.h?(t(59,80),t(107,81),t(109,83),r.e&&t(224,57)):i.m&&(t(91,57),r.e?t(93,57):t(92,57))}();var u=r.e?256:2048,l=r.e?2048:256,c=function(){function e(e){this._standardKeyboardEventBrand=!0;var t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=function(e){if(e.charCode){var t=String.fromCharCode(e.charCode).toUpperCase();return o.b.fromString(t)}return s[e.keyCode]||0}(t),this.code=t.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}return e.prototype.preventDefault=function(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},e.prototype.stopPropagation=function(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},e.prototype.toKeybinding=function(){return this._asRuntimeKeybinding},e.prototype.equals=function(e){return this._asKeybinding===e},e.prototype._computeKeybinding=function(){var e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);var t=0;return this.ctrlKey&&(t|=u),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=l),t|=e},e.prototype._computeRuntimeKeybinding=function(){var e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new o.e(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)},e}()},ufhN:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return n.e(182).then(n.bind(null,"rMIR"))}})},undH:function(e,t,n){},w9QG:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return n.e(181).then(n.bind(null,"Czvm"))}})},wQH0:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i,o=n("T8No");!function(e){e.editorSimpleInput=new o.d("editorSimpleInput",!1),e.editorTextFocus=new o.d("editorTextFocus",!1),e.focus=new o.d("editorFocus",!1),e.textInputFocus=new o.d("textInputFocus",!1),e.readOnly=new o.d("editorReadonly",!1),e.writable=e.readOnly.toNegated(),e.hasNonEmptySelection=new o.d("editorHasSelection",!1),e.hasOnlyEmptySelection=e.hasNonEmptySelection.toNegated(),e.hasMultipleSelections=new o.d("editorHasMultipleSelections",!1),e.hasSingleSelection=e.hasMultipleSelections.toNegated(),e.tabMovesFocus=new o.d("editorTabMovesFocus",!1),e.tabDoesNotMoveFocus=e.tabMovesFocus.toNegated(),e.isInEmbeddedEditor=new o.d("isInEmbeddedEditor",!1),e.canUndo=new o.d("canUndo",!1),e.canRedo=new o.d("canRedo",!1),e.languageId=new o.d("editorLangId",""),e.hasCompletionItemProvider=new o.d("editorHasCompletionItemProvider",!1),e.hasCodeActionsProvider=new o.d("editorHasCodeActionsProvider",!1),e.hasCodeLensProvider=new o.d("editorHasCodeLensProvider",!1),e.hasDefinitionProvider=new o.d("editorHasDefinitionProvider",!1),e.hasDeclarationProvider=new o.d("editorHasDeclarationProvider",!1),e.hasImplementationProvider=new o.d("editorHasImplementationProvider",!1),e.hasTypeDefinitionProvider=new o.d("editorHasTypeDefinitionProvider",!1),e.hasHoverProvider=new o.d("editorHasHoverProvider",!1),e.hasDocumentHighlightProvider=new o.d("editorHasDocumentHighlightProvider",!1),e.hasDocumentSymbolProvider=new o.d("editorHasDocumentSymbolProvider",!1),e.hasReferenceProvider=new o.d("editorHasReferenceProvider",!1),e.hasRenameProvider=new o.d("editorHasRenameProvider",!1),e.hasSignatureHelpProvider=new o.d("editorHasSignatureHelpProvider",!1),e.hasDocumentFormattingProvider=new o.d("editorHasDocumentFormattingProvider",!1),e.hasDocumentSelectionFormattingProvider=new o.d("editorHasDocumentSelectionFormattingProvider",!1),e.hasMultipleDocumentFormattingProvider=new o.d("editorHasMultipleDocumentFormattingProvider",!1),e.hasMultipleDocumentSelectionFormattingProvider=new o.d("editorHasMultipleDocumentSelectionFormattingProvider",!1)}(i||(i={}))},woZy:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return n.e(168).then(n.bind(null,"I+Au"))}})},wxcJ:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a}));var i=n("MNsG"),o=void 0===e?{cwd:function(){return"/"},env:Object.create(null),get platform(){return i.h?"win32":i.e?"darwin":"linux"},nextTick:function(e){return Object(i.i)(e)}}:e,r=o.cwd,s=o.env,a=o.platform}).call(this,n("KCCg"))},xYNL:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:function(){return n.e(161).then(n.bind(null,"tGOS"))}})},xmOD:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:function(){return n.e(177).then(n.bind(null,"fB/Z"))}})},y3CF:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return n.e(165).then(n.bind(null,"YdqL"))}})},yEoX:function(e,t,n){},yqFB:function(e,t,n){},z3hU:function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return l}));n("M/lh");var i,o,r,s,a,u=monaco.Emitter,l=function(){function e(e,t){this._onDidChange=new u,this._onDidExtraLibsChange=new u,this._extraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!0,configurable:!0}),e.prototype.getExtraLibs=function(){return this._extraLibs},e.prototype.addExtraLib=function(e,t){var n,i=this;if(n=void 0===t?"ts:extralib-"+Math.random().toString(36).substring(2,15):t,this._extraLibs[n]&&this._extraLibs[n].content===e)return{dispose:function(){}};var o=1;return this._extraLibs[n]&&(o=this._extraLibs[n].version+1),this._extraLibs[n]={content:e,version:o},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var e=i._extraLibs[n];e&&e.version===o&&(delete i._extraLibs[n],i._fireOnDidExtraLibsChangeSoon())}}},e.prototype.setExtraLibs=function(e){if(this._extraLibs=Object.create(null),e&&e.length>0)for(var t=0,n=e;t<n.length;t++){var i=n[t],o=i.filePath||"ts:extralib-"+Math.random().toString(36).substring(2,15),r=i.content;this._extraLibs[o]={content:r,version:1}}this._fireOnDidExtraLibsChangeSoon()},e.prototype._fireOnDidExtraLibsChangeSoon=function(){var e=this;-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=setTimeout((function(){e._onDidExtraLibsChangeTimeout=-1,e._onDidExtraLibsChange.fire(void 0)}),0))},e.prototype.getCompilerOptions=function(){return this._compilerOptions},e.prototype.setCompilerOptions=function(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.getDiagnosticsOptions=function(){return this._diagnosticsOptions},e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setMaximumWorkerIdleTime=function(e){},e.prototype.setEagerModelSync=function(e){this._eagerModelSync=e},e.prototype.getEagerModelSync=function(){return this._eagerModelSync},e}();!function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext"}(i||(i={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative"}(o||(o={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(r||(r={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(s||(s={})),function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(a||(a={}));var c=new l({allowNonTsExtensions:!0,target:s.Latest},{noSemanticValidation:!1,noSyntaxValidation:!1}),d=new l({allowNonTsExtensions:!0,allowJs:!0,target:s.Latest},{noSemanticValidation:!0,noSyntaxValidation:!1});function h(){return p().then((function(e){return e.getTypeScriptWorker()}))}function f(){return p().then((function(e){return e.getJavaScriptWorker()}))}function p(){return n.e(188).then(n.bind(null,"4yiN"))}monaco.languages.typescript={ModuleKind:i,JsxEmit:o,NewLineKind:r,ScriptTarget:s,ModuleResolutionKind:a,typescriptVersion:"3.7.5",typescriptDefaults:c,javascriptDefaults:d,getTypeScriptWorker:h,getJavaScriptWorker:f},monaco.languages.onLanguage("typescript",(function(){return p().then((function(e){return e.setupTypeScript(c)}))})),monaco.languages.onLanguage("javascript",(function(){return p().then((function(e){return e.setupJavaScript(d)}))}))},zQEy:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:function(){return n.e(155).then(n.bind(null,"On+f"))}})},zrhQ:function(e,t,n){"use strict";function i(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var o=function(){function e(e,t,n,o){void 0===o&&(o=1),this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=i(Math.max(Math.min(1,o),0),3)}return e.equals=function(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a},e}(),r=function(){function e(e,t,n,o){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.l=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),0),3)}return e.equals=function(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a},e.fromRGBA=function(t){var n=t.r/255,i=t.g/255,o=t.b/255,r=t.a,s=Math.max(n,i,o),a=Math.min(n,i,o),u=0,l=0,c=(a+s)/2,d=s-a;if(d>0){switch(l=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),s){case n:u=(i-o)/d+(i<o?6:0);break;case i:u=(o-n)/d+2;break;case o:u=(n-i)/d+4}u*=60,u=Math.round(u)}return new e(u,l,c,r)},e._hue2rgb=function(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e},e.toRGBA=function(t){var n,i,r,s=t.h/360,a=t.s,u=t.l,l=t.a;if(0===a)n=i=r=u;else{var c=u<.5?u*(1+a):u+a-u*a,d=2*u-c;n=e._hue2rgb(d,c,s+1/3),i=e._hue2rgb(d,c,s),r=e._hue2rgb(d,c,s-1/3)}return new o(Math.round(255*n),Math.round(255*i),Math.round(255*r),l)},e}(),s=function(){function e(e,t,n,o){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.v=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),0),3)}return e.equals=function(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a},e.fromRGBA=function(t){var n,i=t.r/255,o=t.g/255,r=t.b/255,s=Math.max(i,o,r),a=s-Math.min(i,o,r),u=0===s?0:a/s;return n=0===a?0:s===i?((o-r)/a%6+6)%6:s===o?(r-i)/a+2:(i-o)/a+4,new e(Math.round(60*n),u,s,t.a)},e.toRGBA=function(e){var t=e.h,n=e.s,i=e.v,r=e.a,s=i*n,a=s*(1-Math.abs(t/60%2-1)),u=i-s,l=[0,0,0],c=l[0],d=l[1],h=l[2];return t<60?(c=s,d=a):t<120?(c=a,d=s):t<180?(d=s,h=a):t<240?(d=a,h=s):t<300?(c=a,h=s):t<360&&(c=s,h=a),c=Math.round(255*(c+u)),d=Math.round(255*(d+u)),h=Math.round(255*(h+u)),new o(c,d,h,r)},e}(),a=function(){function e(e){if(!e)throw new Error("Color needs a value");if(e instanceof o)this.rgba=e;else if(e instanceof r)this._hsla=e,this.rgba=r.toRGBA(e);else{if(!(e instanceof s))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=s.toRGBA(e)}}return e.fromHex=function(t){return e.Format.CSS.parseHex(t)||e.red},Object.defineProperty(e.prototype,"hsla",{get:function(){return this._hsla?this._hsla:r.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hsva",{get:function(){return this._hsva?this._hsva:s.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),e.prototype.equals=function(e){return!!e&&o.equals(this.rgba,e.rgba)&&r.equals(this.hsla,e.hsla)&&s.equals(this.hsva,e.hsva)},e.prototype.getRelativeLuminance=function(){return i(.2126*e._relativeLuminanceForComponent(this.rgba.r)+.7152*e._relativeLuminanceForComponent(this.rgba.g)+.0722*e._relativeLuminanceForComponent(this.rgba.b),4)},e._relativeLuminanceForComponent=function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)},e.prototype.isLighter=function(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128},e.prototype.isLighterThan=function(e){return this.getRelativeLuminance()>e.getRelativeLuminance()},e.prototype.isDarkerThan=function(e){return this.getRelativeLuminance()<e.getRelativeLuminance()},e.prototype.lighten=function(t){return new e(new r(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*t,this.hsla.a))},e.prototype.darken=function(t){return new e(new r(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*t,this.hsla.a))},e.prototype.transparent=function(t){var n=this.rgba,i=n.r,r=n.g,s=n.b,a=n.a;return new e(new o(i,r,s,a*t))},e.prototype.isTransparent=function(){return 0===this.rgba.a},e.prototype.isOpaque=function(){return 1===this.rgba.a},e.prototype.opposite=function(){return new e(new o(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))},e.prototype.toString=function(){return""+e.Format.CSS.format(this)},e.getLighterColor=function(e,t,n){if(e.isLighterThan(t))return e;n=n||.5;var i=e.getRelativeLuminance(),o=t.getRelativeLuminance();return n=n*(o-i)/o,e.lighten(n)},e.getDarkerColor=function(e,t,n){if(e.isDarkerThan(t))return e;n=n||.5;var i=e.getRelativeLuminance();return n=n*(i-t.getRelativeLuminance())/i,e.darken(n)},e.white=new e(new o(255,255,255,1)),e.black=new e(new o(0,0,0,1)),e.red=new e(new o(255,0,0,1)),e.blue=new e(new o(0,0,255,1)),e.cyan=new e(new o(0,255,255,1)),e.lightgrey=new e(new o(211,211,211,1)),e.transparent=new e(new o(0,0,0,0)),e}();!function(e){!function(t){!function(t){function n(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}function i(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}t.formatRGB=function(t){return 1===t.rgba.a?"rgb("+t.rgba.r+", "+t.rgba.g+", "+t.rgba.b+")":e.Format.CSS.formatRGBA(t)},t.formatRGBA=function(e){return"rgba("+e.rgba.r+", "+e.rgba.g+", "+e.rgba.b+", "+ +e.rgba.a.toFixed(2)+")"},t.formatHSL=function(t){return 1===t.hsla.a?"hsl("+t.hsla.h+", "+(100*t.hsla.s).toFixed(2)+"%, "+(100*t.hsla.l).toFixed(2)+"%)":e.Format.CSS.formatHSLA(t)},t.formatHSLA=function(e){return"hsla("+e.hsla.h+", "+(100*e.hsla.s).toFixed(2)+"%, "+(100*e.hsla.l).toFixed(2)+"%, "+e.hsla.a.toFixed(2)+")"},t.formatHex=function(e){return"#"+n(e.rgba.r)+n(e.rgba.g)+n(e.rgba.b)},t.formatHexA=function(t,i){return void 0===i&&(i=!1),i&&1===t.rgba.a?e.Format.CSS.formatHex(t):"#"+n(t.rgba.r)+n(t.rgba.g)+n(t.rgba.b)+n(Math.round(255*t.rgba.a))},t.format=function(t){return t.isOpaque()?e.Format.CSS.formatHex(t):e.Format.CSS.formatRGBA(t)},t.parseHex=function(t){var n=t.length;if(0===n)return null;if(35!==t.charCodeAt(0))return null;if(7===n){var r=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),s=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),a=16*i(t.charCodeAt(5))+i(t.charCodeAt(6));return new e(new o(r,s,a,1))}if(9===n){r=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),s=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),a=16*i(t.charCodeAt(5))+i(t.charCodeAt(6));var u=16*i(t.charCodeAt(7))+i(t.charCodeAt(8));return new e(new o(r,s,a,u/255))}if(4===n){r=i(t.charCodeAt(1)),s=i(t.charCodeAt(2)),a=i(t.charCodeAt(3));return new e(new o(16*r+r,16*s+s,16*a+a))}if(5===n){r=i(t.charCodeAt(1)),s=i(t.charCodeAt(2)),a=i(t.charCodeAt(3)),u=i(t.charCodeAt(4));return new e(new o(16*r+r,16*s+s,16*a+a,(16*u+u)/255))}return null}}(t.CSS||(t.CSS={}))}(e.Format||(e.Format={}))}(a||(a={}))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[12],{"+Fos":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("Ll0s"),o=n("cGHE"),r=n("aokT"),s=n("N0LK"),a=function(e,t,n){this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=n},u=function(){function e(){}return e.leftPosition=function(e,t,n){return n>e.getLineMinColumn(t)?n-=s.D(e.getLineContent(t),n-1):t>1&&(t-=1,n=e.getLineMaxColumn(t)),new o.a(t,n)},e.left=function(t,n,i,o){var r=e.leftPosition(n,i,o);return new a(r.lineNumber,r.column,0)},e.moveLeft=function(t,n,i,o,r){var s,a;if(i.hasSelection()&&!o)s=i.selection.startLineNumber,a=i.selection.startColumn;else{var u=e.left(t,n,i.position.lineNumber,i.position.column-(r-1));s=u.lineNumber,a=u.column}return i.move(o,s,a,0)},e.rightPosition=function(e,t,n){return n<e.getLineMaxColumn(t)?n+=s.C(e.getLineContent(t),n-1):t<e.getLineCount()&&(t+=1,n=e.getLineMinColumn(t)),new o.a(t,n)},e.right=function(t,n,i,o){var r=e.rightPosition(n,i,o);return new a(r.lineNumber,r.column,0)},e.moveRight=function(t,n,i,o,r){var s,a;if(i.hasSelection()&&!o)s=i.selection.endLineNumber,a=i.selection.endColumn;else{var u=e.right(t,n,i.position.lineNumber,i.position.column+(r-1));s=u.lineNumber,a=u.column}return i.move(o,s,a,0)},e.down=function(e,t,n,o,r,s,u){var l=i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize)+r;n+=s;var c=t.getLineCount();return n>c?(n=c,o=u?t.getLineMaxColumn(n):Math.min(t.getLineMaxColumn(n),o)):o=i.a.columnFromVisibleColumn2(e,t,n,l),r=l-i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize),new a(n,o,r)},e.moveDown=function(t,n,i,o,r){var s,a;i.hasSelection()&&!o?(s=i.selection.endLineNumber,a=i.selection.endColumn):(s=i.position.lineNumber,a=i.position.column);var u=e.down(t,n,s,a,i.leftoverVisibleColumns,r,!0);return i.move(o,u.lineNumber,u.column,u.leftoverVisibleColumns)},e.translateDown=function(t,n,s){var a=s.selection,u=e.down(t,n,a.selectionStartLineNumber,a.selectionStartColumn,s.selectionStartLeftoverVisibleColumns,1,!1),l=e.down(t,n,a.positionLineNumber,a.positionColumn,s.leftoverVisibleColumns,1,!1);return new i.f(new r.a(u.lineNumber,u.column,u.lineNumber,u.column),u.leftoverVisibleColumns,new o.a(l.lineNumber,l.column),l.leftoverVisibleColumns)},e.up=function(e,t,n,o,r,s,u){var l=i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize)+r;return(n-=s)<1?(n=1,o=u?t.getLineMinColumn(n):Math.min(t.getLineMaxColumn(n),o)):o=i.a.columnFromVisibleColumn2(e,t,n,l),r=l-i.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize),new a(n,o,r)},e.moveUp=function(t,n,i,o,r){var s,a;i.hasSelection()&&!o?(s=i.selection.startLineNumber,a=i.selection.startColumn):(s=i.position.lineNumber,a=i.position.column);var u=e.up(t,n,s,a,i.leftoverVisibleColumns,r,!0);return i.move(o,u.lineNumber,u.column,u.leftoverVisibleColumns)},e.translateUp=function(t,n,s){var a=s.selection,u=e.up(t,n,a.selectionStartLineNumber,a.selectionStartColumn,s.selectionStartLeftoverVisibleColumns,1,!1),l=e.up(t,n,a.positionLineNumber,a.positionColumn,s.leftoverVisibleColumns,1,!1);return new i.f(new r.a(u.lineNumber,u.column,u.lineNumber,u.column),u.leftoverVisibleColumns,new o.a(l.lineNumber,l.column),l.leftoverVisibleColumns)},e.moveToBeginningOfLine=function(e,t,n,i){var o,r=n.position.lineNumber,s=t.getLineMinColumn(r),a=t.getLineFirstNonWhitespaceColumn(r)||s;return o=n.position.column===a?s:a,n.move(i,r,o,0)},e.moveToEndOfLine=function(e,t,n,i){var o=n.position.lineNumber,r=t.getLineMaxColumn(o);return n.move(i,o,r,0)},e.moveToBeginningOfBuffer=function(e,t,n,i){return n.move(i,1,1,0)},e.moveToEndOfBuffer=function(e,t,n,i){var o=t.getLineCount(),r=t.getLineMaxColumn(o);return n.move(i,o,r,0)},e}()},"+a1H":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return n.e(153).then(n.bind(null,"O3xE"))}})},"+hIS":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i="undefined"==typeof monaco?self.monaco:monaco,o={},r={},s=function(){function e(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((function(e,n){t._lazyLoadPromiseResolve=e,t._lazyLoadPromiseReject=n}))}return e.getOrCreate=function(t){return r[t]||(r[t]=new e(t)),r[t]},e.prototype.whenLoaded=function(){return this._lazyLoadPromise},e.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,o[this._languageId].loader().then((function(t){return e._lazyLoadPromiseResolve(t)}),(function(t){return e._lazyLoadPromiseReject(t)}))),this._lazyLoadPromise},e}();function a(e){var t=e.id;o[t]=e,i.languages.register(e);var n=s.getOrCreate(t);i.languages.setMonarchTokensProvider(t,n.whenLoaded().then((function(e){return e.language}))),i.languages.onLanguage(t,(function(){n.load().then((function(e){i.languages.setLanguageConfiguration(t,e.conf)}))}))}},"/UlZ":function(e,t,n){"use strict";n.d(t,"f",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"g",(function(){return C})),n.d(t,"d",(function(){return D})),n.d(t,"j",(function(){return B})),n.d(t,"b",(function(){return G})),n.d(t,"c",(function(){return Y})),n.d(t,"i",(function(){return Z})),n.d(t,"e",(function(){return J}));var i,o=n("3/fG"),r=n("MNsG"),s=n("0JNc"),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return(u=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},l=8,c=function(){function e(e){this._values=e}return e.prototype.hasChanged=function(e){return this._values[e]},e}(),d=function(){function e(){this._values=[]}return e.prototype._read=function(e){return this._values[e]},e.prototype.get=function(e){return this._values[e]},e.prototype._write=function(e,t){this._values[e]=t},e}(),h=function(){function e(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}return e.prototype.compute=function(e,t,n){return n},e}(),f=function(){function e(e,t){void 0===t&&(t=null),this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0,this.deps=t}return e.prototype.validate=function(e){return this.defaultValue},e}(),p=function(){function e(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}return e.prototype.validate=function(e){return void 0===e?this.defaultValue:e},e.prototype.compute=function(e,t,n){return n},e}(),g=function(e){function t(t,n,i,o){void 0===o&&(o=void 0);return void 0!==o&&(o.type="boolean",o.default=i),e.call(this,t,n,i,o)||this}return a(t,e),t.boolean=function(e,t){return void 0===e?t:"false"!==e&&Boolean(e)},t.prototype.validate=function(e){return t.boolean(e,this.defaultValue)},t}(p),m=function(e){function t(t,n,i,o,r,s){void 0===s&&(s=void 0);var a=this;return void 0!==s&&(s.type="integer",s.default=i,s.minimum=o,s.maximum=r),(a=e.call(this,t,n,i,s)||this).minimum=o,a.maximum=r,a}return a(t,e),t.clampedInt=function(e,t,n,i){var o;return void 0===e?o=t:(o=parseInt(e,10),isNaN(o)&&(o=t)),o=Math.max(n,o),0|(o=Math.min(i,o))},t.prototype.validate=function(e){return t.clampedInt(e,this.defaultValue,this.minimum,this.maximum)},t}(p),v=function(e){function t(t,n,i,o,r){var s=this;return void 0!==r&&(r.type="number",r.default=i),(s=e.call(this,t,n,i,r)||this).validationFn=o,s}return a(t,e),t.clamp=function(e,t,n){return e<t?t:e>n?n:e},t.float=function(e,t){if("number"==typeof e)return e;if(void 0===e)return t;var n=parseFloat(e);return isNaN(n)?t:n},t.prototype.validate=function(e){return this.validationFn(t.float(e,this.defaultValue))},t}(p),_=function(e){function t(t,n,i,o){void 0===o&&(o=void 0);return void 0!==o&&(o.type="string",o.default=i),e.call(this,t,n,i,o)||this}return a(t,e),t.string=function(e,t){return"string"!=typeof e?t:e},t.prototype.validate=function(e){return t.string(e,this.defaultValue)},t}(p),y=function(e){function t(t,n,i,o,r){void 0===r&&(r=void 0);var s=this;return void 0!==r&&(r.type="string",r.enum=o,r.default=i),(s=e.call(this,t,n,i,r)||this)._allowedValues=o,s}return a(t,e),t.stringSet=function(e,t,n){return"string"!=typeof e||-1===n.indexOf(e)?t:e},t.prototype.validate=function(e){return t.stringSet(e,this.defaultValue,this._allowedValues)},t}(p),b=function(e){function t(t,n,i,o,r,s,a){void 0===a&&(a=void 0);var u=this;return void 0!==a&&(a.type="string",a.enum=r,a.default=o),(u=e.call(this,t,n,i,a)||this)._allowedValues=r,u._convert=s,u}return a(t,e),t.prototype.validate=function(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)},t}(h);var C,w=function(e){function t(){return e.call(this,2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[o.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),o.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),o.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:o.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})||this}return a(t,e),t.prototype.validate=function(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue},t.prototype.compute=function(e,t,n){return 0===n?e.accessibilitySupport:n},t}(h),S=function(e){function t(){var t={insertSpace:!0};return e.call(this,13,"comments",t,{"editor.comments.insertSpace":{type:"boolean",default:t.insertSpace,description:o.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{insertSpace:g.boolean(t.insertSpace,this.defaultValue.insertSpace)}},t}(h);!function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(C||(C={}));var L=function(e){function t(){return e.call(this,104,[55,26])||this}return a(t,e),t.prototype.compute=function(e,t,n){var i="monaco-editor";return t.get(26)&&(i+=" "+t.get(26)),e.extraEditorClassName&&(i+=" "+e.extraEditorClassName),"default"===t.get(55)?i+=" mouse-default":"copy"===t.get(55)&&(i+=" mouse-copy"),t.get(85)&&(i+=" showUnused"),i},t}(f),N=function(e){function t(){return e.call(this,25,"emptySelectionClipboard",!0,{description:o.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})||this}return a(t,e),t.prototype.compute=function(e,t,n){return n&&e.emptySelectionClipboard},t}(g),O=function(e){function t(){var t={seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0};return e.call(this,28,"find",t,{"editor.find.seedSearchStringFromSelection":{type:"boolean",default:t.seedSearchStringFromSelection,description:o.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:t.autoFindInSelection,enumDescriptions:[o.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),o.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),o.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:o.a("find.autoFindInSelection","Controls whether the find operation is carried out on selected text or the entire file in the editor.")},"editor.find.globalFindClipboard":{type:"boolean",default:t.globalFindClipboard,description:o.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:r.e},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:t.addExtraSpaceOnTop,description:o.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{seedSearchStringFromSelection:g.boolean(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":y.stringSet(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:g.boolean(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:g.boolean(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop)}},t}(h),D=function(e){function t(){return e.call(this,35,"fontLigatures",t.OFF,{anyOf:[{type:"boolean",description:o.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:o.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:o.a("fontLigaturesGeneral","Configures font ligatures."),default:!1})||this}return a(t,e),t.prototype.validate=function(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?t.OFF:"true"===e?t.ON:e:Boolean(e)?t.ON:t.OFF},t.OFF='"liga" off, "calt" off',t.ON='"liga" on, "calt" on',t}(h),x=function(e){function t(){return e.call(this,34)||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.fontInfo},t}(f),E=function(e){function t(){return e.call(this,36,"fontSize",G.fontSize,{type:"number",minimum:6,maximum:100,default:G.fontSize,description:o.a("fontSize","Controls the font size in pixels.")})||this}return a(t,e),t.prototype.validate=function(e){var t=v.float(e,this.defaultValue);return 0===t?G.fontSize:v.clamp(t,6,100)},t.prototype.compute=function(e,t,n){return e.fontInfo.fontSize},t}(p),k=function(e){function t(){var t={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},n={type:"string",enum:["peek","gotoAndPeek","goto"],default:t.multiple,enumDescriptions:[o.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),o.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),o.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};return e.call(this,41,"gotoLocation",t,{"editor.gotoLocation.multiple":{deprecationMessage:o.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":u({description:o.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleTypeDefinitions":u({description:o.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleDeclarations":u({description:o.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleImplementations":u({description:o.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleReferences":u({description:o.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},n),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:t.alternativeDefinitionCommand,description:o.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:t.alternativeTypeDefinitionCommand,description:o.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:t.alternativeDeclarationCommand,description:o.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:t.alternativeImplementationCommand,description:o.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:t.alternativeReferenceCommand,description:o.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})||this}return a(t,e),t.prototype.validate=function(e){var t,n,i,o,r;if("object"!=typeof e)return this.defaultValue;var s=e;return{multiple:y.stringSet(s.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=s.multipleDefinitions)&&void 0!==t?t:y.stringSet(s.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=s.multipleTypeDefinitions)&&void 0!==n?n:y.stringSet(s.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=s.multipleDeclarations)&&void 0!==i?i:y.stringSet(s.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(o=s.multipleImplementations)&&void 0!==o?o:y.stringSet(s.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(r=s.multipleReferences)&&void 0!==r?r:y.stringSet(s.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:_.string(s.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:_.string(s.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:_.string(s.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:_.string(s.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:_.string(s.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}},t}(h),I=function(e){function t(){var t={enabled:!0,delay:300,sticky:!0};return e.call(this,44,"hover",t,{"editor.hover.enabled":{type:"boolean",default:t.enabled,description:o.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:t.delay,description:o.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:t.sticky,description:o.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled),delay:m.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:g.boolean(t.sticky,this.defaultValue.sticky)}},t}(h),M=function(e){function t(){return e.call(this,107,[40,48,30,54,78,50])||this}return a(t,e),t.prototype.compute=function(e,n,i){return t.computeLayout(n,{outerWidth:e.outerWidth,outerHeight:e.outerHeight,lineHeight:e.fontInfo.lineHeight,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})},t.computeLayout=function(e,t){var n,i=0|t.outerWidth,o=0|t.outerHeight,r=0|t.lineHeight,s=0|t.lineNumbersDigitCount,a=t.typicalHalfwidthCharacterWidth,u=t.maxDigitWidth,c=t.pixelRatio,d=e.get(40),h=0!==e.get(50).renderType,f=0|e.get(51),p=e.get(54),g=p.enabled,v=p.side,_=p.renderCharacters,y=c>=2?Math.round(2*p.scale):p.scale,b=0|p.maxColumn,C=e.get(78),w=0|C.verticalScrollbarSize,S=C.verticalHasArrows,L=0|C.arrowSize,N=0|C.horizontalScrollbarSize,O=e.get(48),D=e.get(30);if("string"==typeof O&&/^\d+(\.\d+)?ch$/.test(O)){var x=parseFloat(O.substr(0,O.length-2));n=m.clampedInt(x*a,0,0,1e3)}else n=m.clampedInt(O,0,0,1e3);D&&(n+=16);var E=0;if(h){var k=Math.max(s,f);E=Math.round(k*u)}var I=0;d&&(I=r);var M,T,A,R,P=0,F=P+I,V=F+E,W=V+n,B=i-I-E-n;if(g){var j=y/c;M=_?1:2,(A=Math.max(0,Math.floor((B-w-2)*j/(a+j)))+l)/j>b&&(A=Math.floor(b*j)),R=B-A,"left"===v?(T=0,P+=A,F+=A,V+=A,W+=A):T=i-A-w}else T=0,A=0,M=0,R=B;var H=S?L:0;return{width:i,height:o,glyphMarginLeft:P,glyphMarginWidth:I,lineNumbersLeft:F,lineNumbersWidth:E,decorationsLeft:V,decorationsWidth:n,contentLeft:W,contentWidth:R,renderMinimap:M,minimapLeft:T,minimapWidth:A,viewportColumn:Math.max(1,Math.floor((R-w-2)/a)),verticalScrollbarWidth:w,horizontalScrollbarHeight:N,overviewRuler:{top:H,width:w,height:o-2*H,right:0}}},t}(f),T=function(e){function t(){var t={enabled:!0};return e.call(this,47,"lightbulb",t,{"editor.lightbulb.enabled":{type:"boolean",default:t.enabled,description:o.a("codeActions","Enables the code action lightbulb in the editor.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled)}},t}(h),A=function(e){function t(){return e.call(this,49,"lineHeight",G.lineHeight,0,150,{description:o.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.fontInfo.lineHeight},t}(m),R=function(e){function t(){var t={enabled:!0,side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};return e.call(this,54,"minimap",t,{"editor.minimap.enabled":{type:"boolean",default:t.enabled,description:o.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:t.side,description:o.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:t.showSlider,description:o.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:t.scale,minimum:1,maximum:3,description:o.a("minimap.scale","Scale of content drawn in the minimap.")},"editor.minimap.renderCharacters":{type:"boolean",default:t.renderCharacters,description:o.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:t.maxColumn,description:o.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled),side:y.stringSet(t.side,this.defaultValue.side,["right","left"]),showSlider:y.stringSet(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:g.boolean(t.renderCharacters,this.defaultValue.renderCharacters),scale:m.clampedInt(t.scale,1,1,3),maxColumn:m.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}},t}(h);var P=function(e){function t(){var t={enabled:!0,cycle:!1};return e.call(this,64,"parameterHints",t,{"editor.parameterHints.enabled":{type:"boolean",default:t.enabled,description:o.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:t.cycle,description:o.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:g.boolean(t.enabled,this.defaultValue.enabled),cycle:g.boolean(t.cycle,this.defaultValue.cycle)}},t}(h),F=function(e){function t(){return e.call(this,105)||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.pixelRatio},t}(f),V=function(e){function t(){var t=this,n={other:!0,comments:!1,strings:!1};return(t=e.call(this,66,"quickSuggestions",n,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:n.strings,description:o.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:n.comments,description:o.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:n.other,description:o.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:n,description:o.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")})||this).defaultValue=n,t}return a(t,e),t.prototype.validate=function(e){if("boolean"==typeof e)return e;if("object"==typeof e){var t=e,n={other:g.boolean(t.other,this.defaultValue.other),comments:g.boolean(t.comments,this.defaultValue.comments),strings:g.boolean(t.strings,this.defaultValue.strings)};return!!(n.other&&n.comments&&n.strings)||!!(n.other||n.comments||n.strings)&&n}return this.defaultValue},t}(h),W=function(e){function t(){return e.call(this,50,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[o.a("lineNumbers.off","Line numbers are not rendered."),o.a("lineNumbers.on","Line numbers are rendered as absolute number."),o.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),o.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:o.a("lineNumbers","Controls the display of line numbers.")})||this}return a(t,e),t.prototype.validate=function(e){var t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}},t}(h);function B(e){var t=e.get(73);return"editable"===t?e.get(68):"on"!==t}var j=function(e){function t(){var t=[];return e.call(this,77,"rulers",t,{type:"array",items:{type:"number"},default:t,description:o.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})||this}return a(t,e),t.prototype.validate=function(e){if(Array.isArray(e)){for(var t=[],n=0,i=e;n<i.length;n++){var o=i[n];t.push(m.clampedInt(o,0,0,1e4))}return t.sort((function(e,t){return e-t})),t}return this.defaultValue},t}(p);function H(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}var z=function(e){function t(){return e.call(this,78,"scrollbar",{vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:10,horizontalSliderSize:10,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e,n=m.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=m.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:m.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:H(t.vertical,this.defaultValue.vertical),horizontal:H(t.horizontal,this.defaultValue.horizontal),useShadows:g.boolean(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:g.boolean(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:g.boolean(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:g.boolean(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:g.boolean(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:m.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:i,verticalSliderSize:m.clampedInt(t.verticalSliderSize,i,0,1e3)}},t}(h),U=function(e){function t(){var t={insertMode:"insert",insertHighlight:!1,filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,maxVisibleSuggestions:12,showMethods:!0,showFunctions:!0,showConstructors:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,hideStatusBar:!0};return e.call(this,89,"suggest",t,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[o.a("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),o.a("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:t.insertMode,description:o.a("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.insertHighlight":{type:"boolean",default:t.insertHighlight,description:o.a("suggest.insertHighlight","Controls whether unexpected text modifications while accepting completions should be highlighted, e.g `insertMode` is `replace` but the completion only supports `insert`.")},"editor.suggest.filterGraceful":{type:"boolean",default:t.filterGraceful,description:o.a("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:t.localityBonus,description:o.a("suggest.localityBonus","Controls whether sorting favours words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:t.shareSuggestSelections,markdownDescription:o.a("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:t.snippetsPreventQuickSuggestions,description:o.a("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:t.showIcons,description:o.a("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.maxVisibleSuggestions":{type:"number",default:t.maxVisibleSuggestions,minimum:1,maximum:15,description:o.a("suggest.maxVisibleSuggestions","Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:o.a("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.hideStatusBar":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.hideStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")}})||this}return a(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{insertMode:y.stringSet(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),insertHighlight:g.boolean(t.insertHighlight,this.defaultValue.insertHighlight),filterGraceful:g.boolean(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:g.boolean(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:g.boolean(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:g.boolean(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:g.boolean(t.showIcons,this.defaultValue.showIcons),maxVisibleSuggestions:m.clampedInt(t.maxVisibleSuggestions,this.defaultValue.maxVisibleSuggestions,1,15),showMethods:g.boolean(t.showMethods,this.defaultValue.showMethods),showFunctions:g.boolean(t.showFunctions,this.defaultValue.showFunctions),showConstructors:g.boolean(t.showConstructors,this.defaultValue.showConstructors),showFields:g.boolean(t.showFields,this.defaultValue.showFields),showVariables:g.boolean(t.showVariables,this.defaultValue.showVariables),showClasses:g.boolean(t.showClasses,this.defaultValue.showClasses),showStructs:g.boolean(t.showStructs,this.defaultValue.showStructs),showInterfaces:g.boolean(t.showInterfaces,this.defaultValue.showInterfaces),showModules:g.boolean(t.showModules,this.defaultValue.showModules),showProperties:g.boolean(t.showProperties,this.defaultValue.showProperties),showEvents:g.boolean(t.showEvents,this.defaultValue.showEvents),showOperators:g.boolean(t.showOperators,this.defaultValue.showOperators),showUnits:g.boolean(t.showUnits,this.defaultValue.showUnits),showValues:g.boolean(t.showValues,this.defaultValue.showValues),showConstants:g.boolean(t.showConstants,this.defaultValue.showConstants),showEnums:g.boolean(t.showEnums,this.defaultValue.showEnums),showEnumMembers:g.boolean(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:g.boolean(t.showKeywords,this.defaultValue.showKeywords),showWords:g.boolean(t.showWords,this.defaultValue.showWords),showColors:g.boolean(t.showColors,this.defaultValue.showColors),showFiles:g.boolean(t.showFiles,this.defaultValue.showFiles),showReferences:g.boolean(t.showReferences,this.defaultValue.showReferences),showFolders:g.boolean(t.showFolders,this.defaultValue.showFolders),showTypeParameters:g.boolean(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:g.boolean(t.showSnippets,this.defaultValue.showSnippets),hideStatusBar:g.boolean(t.hideStatusBar,this.defaultValue.hideStatusBar)}},t}(h),K=function(e){function t(){return e.call(this,106,[68])||this}return a(t,e),t.prototype.compute=function(e,t,n){return!!t.get(68)||e.tabFocusMode},t}(f);var q=function(e){function t(){return e.call(this,108,[97,100,101,107,2])||this}return a(t,e),t.prototype.compute=function(e,t,n){var i=t.get(97),o=t.get(100),r=t.get(101),s=t.get(107),a=null;return a=2===t.get(2)?{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1}:r&&e.isDominatedByLongLines?{isWordWrapMinified:!0,isViewportWrapping:!0,wrappingColumn:Math.max(1,s.viewportColumn)}:"on"===i?{isWordWrapMinified:!1,isViewportWrapping:!0,wrappingColumn:Math.max(1,s.viewportColumn)}:"bounded"===i?{isWordWrapMinified:!1,isViewportWrapping:!0,wrappingColumn:Math.min(Math.max(1,s.viewportColumn),o)}:"wordWrapColumn"===i?{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:o}:{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1},{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:a.isWordWrapMinified,isViewportWrapping:a.isViewportWrapping,wrappingColumn:a.wrappingColumn}},t}(f),G={fontFamily:r.e?"Menlo, Monaco, 'Courier New', monospace":r.d?"'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:r.e?12:14,lineHeight:0,letterSpacing:0},Y={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0},Z=[];function X(e){return Z[e.id]=e,e}var J={acceptSuggestionOnCommitCharacter:X(new g(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:o.a("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:X(new y(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",o.a("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:o.a("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:X(new w),accessibilityPageSize:X(new m(3,"accessibilityPageSize",10,1,1073741824,{description:o.a("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:X(new _(4,"ariaLabel",o.a("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:X(new y(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",o.a("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),o.a("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:o.a("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingOvertype:X(new y(6,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",o.a("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:o.a("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:X(new y(7,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",o.a("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),o.a("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:o.a("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:X(new b(8,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],(function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}),{enumDescriptions:[o.a("editor.autoIndent.none","The editor will not insert indentation automatically."),o.a("editor.autoIndent.keep","The editor will keep the current line's indentation."),o.a("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),o.a("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),o.a("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:o.a("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:X(new g(9,"automaticLayout",!1)),autoSurround:X(new y(10,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[o.a("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),o.a("editor.autoSurround.quotes","Surround with quotes but not brackets."),o.a("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:o.a("autoSurround","Controls whether the editor should automatically surround selections.")})),codeLens:X(new g(11,"codeLens",!0,{description:o.a("codeLens","Controls whether the editor shows CodeLens.")})),colorDecorators:X(new g(12,"colorDecorators",!0,{description:o.a("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),comments:X(new S),contextmenu:X(new g(14,"contextmenu",!0)),copyWithSyntaxHighlighting:X(new g(15,"copyWithSyntaxHighlighting",!0,{description:o.a("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:X(new b(16,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],(function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}),{description:o.a("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:X(new g(17,"cursorSmoothCaretAnimation",!1,{description:o.a("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:X(new b(18,"cursorStyle",C.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],(function(e){switch(e){case"line":return C.Line;case"block":return C.Block;case"underline":return C.Underline;case"line-thin":return C.LineThin;case"block-outline":return C.BlockOutline;case"underline-thin":return C.UnderlineThin}}),{description:o.a("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:X(new m(19,"cursorSurroundingLines",0,0,1073741824,{description:o.a("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or `scrollOffset` in some other editors.")})),cursorSurroundingLinesStyle:X(new y(20,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[o.a("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),o.a("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:o.a("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:X(new m(21,"cursorWidth",0,0,1073741824,{markdownDescription:o.a("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:X(new g(22,"disableLayerHinting",!1)),disableMonospaceOptimizations:X(new g(23,"disableMonospaceOptimizations",!1)),dragAndDrop:X(new g(24,"dragAndDrop",!0,{description:o.a("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:X(new N),extraEditorClassName:X(new _(26,"extraEditorClassName","")),fastScrollSensitivity:X(new v(27,"fastScrollSensitivity",5,(function(e){return e<=0?5:e}),{markdownDescription:o.a("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:X(new O),fixedOverflowWidgets:X(new g(29,"fixedOverflowWidgets",!1)),folding:X(new g(30,"folding",!0,{description:o.a("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:X(new y(31,"foldingStrategy","auto",["auto","indentation"],{markdownDescription:o.a("foldingStrategy","Controls the strategy for computing folding ranges. `auto` uses a language specific folding strategy, if available. `indentation` uses the indentation based folding strategy.")})),foldingHighlight:X(new g(32,"foldingHighlight",!0,{description:o.a("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),fontFamily:X(new _(33,"fontFamily",G.fontFamily,{description:o.a("fontFamily","Controls the font family.")})),fontInfo:X(new x),fontLigatures2:X(new D),fontSize:X(new E),fontWeight:X(new _(37,"fontWeight",G.fontWeight,{enum:["normal","bold","100","200","300","400","500","600","700","800","900"],description:o.a("fontWeight","Controls the font weight.")})),formatOnPaste:X(new g(38,"formatOnPaste",!1,{description:o.a("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:X(new g(39,"formatOnType",!1,{description:o.a("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:X(new g(40,"glyphMargin",!0,{description:o.a("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:X(new k),hideCursorInOverviewRuler:X(new g(42,"hideCursorInOverviewRuler",!1,{description:o.a("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),highlightActiveIndentGuide:X(new g(43,"highlightActiveIndentGuide",!0,{description:o.a("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")})),hover:X(new I),inDiffEditor:X(new g(45,"inDiffEditor",!1)),letterSpacing:X(new v(46,"letterSpacing",G.letterSpacing,(function(e){return v.clamp(e,-5,20)}),{description:o.a("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:X(new T),lineDecorationsWidth:X(new p(48,"lineDecorationsWidth",10)),lineHeight:X(new A),lineNumbers:X(new W),lineNumbersMinChars:X(new m(51,"lineNumbersMinChars",5,1,300)),links:X(new g(52,"links",!0,{description:o.a("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:X(new y(53,"matchBrackets","always",["always","near","never"],{description:o.a("matchBrackets","Highlight matching brackets.")})),minimap:X(new R),mouseStyle:X(new y(55,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:X(new v(56,"mouseWheelScrollSensitivity",1,(function(e){return 0===e?1:e}),{markdownDescription:o.a("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:X(new g(57,"mouseWheelZoom",!1,{markdownDescription:o.a("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:X(new g(58,"multiCursorMergeOverlapping",!0,{description:o.a("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:X(new b(59,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],(function(e){return"ctrlCmd"===e?r.e?"metaKey":"ctrlKey":"altKey"}),{markdownEnumDescriptions:[o.a("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),o.a("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:o.a({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:X(new y(60,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[o.a("multiCursorPaste.spread","Each cursor pastes a single line of the text."),o.a("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:o.a("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:X(new g(61,"occurrencesHighlight",!0,{description:o.a("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:X(new g(62,"overviewRulerBorder",!0,{description:o.a("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:X(new m(63,"overviewRulerLanes",3,0,3)),parameterHints:X(new P),peekWidgetDefaultFocus:X(new y(65,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[o.a("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),o.a("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:o.a("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),quickSuggestions:X(new V),quickSuggestionsDelay:X(new m(67,"quickSuggestionsDelay",10,0,1073741824,{description:o.a("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:X(new g(68,"readOnly",!1)),renderControlCharacters:X(new g(69,"renderControlCharacters",!1,{description:o.a("renderControlCharacters","Controls whether the editor should render control characters.")})),renderIndentGuides:X(new g(70,"renderIndentGuides",!0,{description:o.a("renderIndentGuides","Controls whether the editor should render indent guides.")})),renderFinalNewline:X(new g(71,"renderFinalNewline",!0,{description:o.a("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:X(new y(72,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",o.a("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:o.a("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderValidationDecorations:X(new y(73,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:X(new y(74,"renderWhitespace","none",["none","boundary","selection","all"],{enumDescriptions:["",o.a("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),o.a("renderWhitespace.selection","Render whitespace characters only on selected text."),""],description:o.a("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:X(new m(75,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:X(new g(76,"roundedSelection",!0,{description:o.a("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:X(new j),scrollbar:X(new z),scrollBeyondLastColumn:X(new m(79,"scrollBeyondLastColumn",5,0,1073741824,{description:o.a("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:X(new g(80,"scrollBeyondLastLine",!0,{description:o.a("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),selectionClipboard:X(new g(81,"selectionClipboard",!0,{description:o.a("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:r.d})),selectionHighlight:X(new g(82,"selectionHighlight",!0,{description:o.a("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:X(new g(83,"selectOnLineNumbers",!0)),showFoldingControls:X(new y(84,"showFoldingControls","mouseover",["always","mouseover"],{description:o.a("showFoldingControls","Controls whether the fold controls on the gutter are automatically hidden.")})),showUnused:X(new g(85,"showUnused",!0,{description:o.a("showUnused","Controls fading out of unused code.")})),snippetSuggestions:X(new y(86,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[o.a("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),o.a("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),o.a("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),o.a("snippetSuggestions.none","Do not show snippet suggestions.")],description:o.a("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smoothScrolling:X(new g(87,"smoothScrolling",!1,{description:o.a("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:X(new m(88,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:X(new U),suggestFontSize:X(new m(90,"suggestFontSize",0,0,1e3,{markdownDescription:o.a("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:X(new m(91,"suggestLineHeight",0,0,1e3,{markdownDescription:o.a("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")})),suggestOnTriggerCharacters:X(new g(92,"suggestOnTriggerCharacters",!0,{description:o.a("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:X(new y(93,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[o.a("suggestSelection.first","Always select the first suggestion."),o.a("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),o.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:o.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:X(new y(94,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[o.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),o.a("tabCompletion.off","Disable tab completions."),o.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:o.a("tabCompletion","Enables tab completions.")})),useTabStops:X(new g(95,"useTabStops",!0,{description:o.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:X(new _(96,"wordSeparators",s.b,{description:o.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:X(new y(97,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[o.a("wordWrap.off","Lines will never wrap."),o.a("wordWrap.on","Lines will wrap at the viewport width."),o.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),o.a({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:o.a({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:X(new _(98,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:X(new _(99,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:X(new m(100,"wordWrapColumn",80,1,1073741824,{markdownDescription:o.a({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapMinified:X(new g(101,"wordWrapMinified",!0)),wrappingIndent:X(new b(102,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],(function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}),{enumDescriptions:[o.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),o.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),o.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),o.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:o.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:X(new y(103,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[o.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),o.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:o.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:X(new L),pixelRatio:X(new F),tabFocusMode:X(new K),layoutInfo:X(new M),wrappingInfo:X(new q)}},"/cAr":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return n.e(160).then(n.bind(null,"8m5U"))}})},"/cxE":function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return r})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return l}));var i=new(function(){function e(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((function(){if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}return e.prototype.emit=function(e){this.listeners.forEach((function(t){t(e)}))},e.prototype.onUnexpectedError=function(e){this.unexpectedErrorHandler(e),this.emit(e)},e.prototype.onUnexpectedExternalError=function(e){this.unexpectedErrorHandler(e)},e}());function o(e){s(e)||i.onUnexpectedError(e)}function r(e){return e instanceof Error?{$isError:!0,name:e.name,message:e.message,stack:e.stacktrace||e.stack}:e}function s(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function a(){var e=new Error("Canceled");return e.name=e.message,e}function u(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function l(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},"/kV6":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return g}));var i,o=n("/cxE"),r=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),s=new r,a=new r,u=new r;function l(e,t){return(e|(65535&t)<<16>>>0)>>>0}function c(e,t){if(0===e)return null;var n=(65535&e)>>>0,i=(4294901760&e)>>>16;return new f(0!==i?[d(n,t),d(i,t)]:[d(n,t)])}function d(e,t){var n=!!(2048&e),i=!!(256&e);return new h(2===t?i:n,!!(1024&e),!!(512&e),2===t?n:i,255&e)}!function(){function e(e,t,n,i){void 0===n&&(n=t),void 0===i&&(i=n),s.define(e,t),a.define(e,n),u.define(e,i)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return s.keyCodeToStr(e)},e.fromString=function(e){return s.strToKeyCode(e)},e.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return u.keyCodeToStr(e)},e.fromUserSettings=function(e){return a.strToKeyCode(e)||u.strToKeyCode(e)}}(i||(i={}));var h=function(){function e(e,t,n,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=o}return e.prototype.equals=function(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.toChord=function(){return new f([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode},e}(),f=function(){function e(e){if(0===e.length)throw Object(o.b)("parts");this.parts=e}return e.prototype.equals=function(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(var t=0;t<this.parts.length;t++)if(!this.parts[t].equals(e.parts[t]))return!1;return!0},e}(),p=function(e,t,n,i,o,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyLabel=o,this.keyAriaLabel=r},g=function(){}},"0JNc":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return s}));var i="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";var o=function(e){void 0===e&&(e="");for(var t="(-?\\d*\\.\\d\\w*)|([^",n=0,o=i;n<o.length;n++){var r=o[n];e.indexOf(r)>=0||(t+="\\"+r)}return t+="\\s]+)",new RegExp(t,"g")}();function r(e){var t=o;if(e&&e instanceof RegExp)if(e.global)t=e;else{var n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}function s(e,t,n,i){t.lastIndex=0;var o=t.exec(n);if(!o)return null;var r=o[0].indexOf(" ")>=0?function(e,t,n,i){var o,r=e-1-i;for(t.lastIndex=0;o=t.exec(n);){var s=o.index||0;if(s>r)return null;if(t.lastIndex>=r)return{word:o[0],startColumn:i+1+s,endColumn:i+1+t.lastIndex}}return null}(e,t,n,i):function(e,t,n,i){var o,r=e-1-i,s=n.lastIndexOf(" ",r-1)+1;for(t.lastIndex=s;o=t.exec(n);){var a=o.index||0;if(a<=r&&t.lastIndex>=r)return{word:o[0],startColumn:i+1+a,endColumn:i+1+t.lastIndex}}return null}(e,t,n,i);return t.lastIndex=0,r}},"1YUG":function(e,t,n){"use strict";n.r(t),n.d(t,"CoreEditorCommand",(function(){return R})),n.d(t,"EditorScroll_",(function(){return w})),n.d(t,"RevealLine_",(function(){return L})),n.d(t,"CoreNavigationCommands",(function(){return O})),n.d(t,"CoreEditingCommands",(function(){return D}));var i,o=n("3/fG"),r=n("746U"),s=n("sswD"),a=n("Vxe3"),u=n("Ll0s"),l=n("cGHE"),c=n("aokT"),d=function(){function e(){}return e.columnSelect=function(e,t,n,i,o,r){for(var s=Math.abs(o-n)+1,a=n>o,d=i>r,h=i<r,f=[],p=0;p<s;p++){var g=n+(a?-p:p),m=u.a.columnFromVisibleColumn2(e,t,g,i),v=u.a.columnFromVisibleColumn2(e,t,g,r),_=u.a.visibleColumnFromColumn2(e,t,new l.a(g,m)),y=u.a.visibleColumnFromColumn2(e,t,new l.a(g,v));if(h){if(_>r)continue;if(y<i)continue}if(d){if(y>i)continue;if(_<r)continue}f.push(new u.f(new c.a(g,m,g,m),0,new l.a(g,v),0))}if(0===f.length)for(p=0;p<s;p++){g=n+(a?-p:p);var b=t.getLineMaxColumn(g);f.push(new u.f(new c.a(g,b,g,b),0,new l.a(g,b),0))}return{viewStates:f,reversed:a,fromLineNumber:n,fromVisualColumn:i,toLineNumber:o,toVisualColumn:r}},e.columnSelectLeft=function(t,n,i){var o=i.toViewVisualColumn;return o>1&&o--,e.columnSelect(t,n,i.fromViewLineNumber,i.fromViewVisualColumn,i.toViewLineNumber,o)},e.columnSelectRight=function(e,t,n){for(var i=0,o=Math.min(n.fromViewLineNumber,n.toViewLineNumber),r=Math.max(n.fromViewLineNumber,n.toViewLineNumber),s=o;s<=r;s++){var a=t.getLineMaxColumn(s),c=u.a.visibleColumnFromColumn2(e,t,new l.a(s,a));i=Math.max(i,c)}var d=n.toViewVisualColumn;return d<i&&d++,this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,d)},e.columnSelectUp=function(e,t,n,i){var o=i?e.pageSize:1,r=Math.max(1,n.toViewLineNumber-o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)},e.columnSelectDown=function(e,t,n,i){var o=i?e.pageSize:1,r=Math.min(t.getLineCount(),n.toViewLineNumber+o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)},e}(),h=n("snIX"),f=n("+Fos"),p=n("N0LK"),g=n("5v8Y"),m=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=function(){function e(){}return e._createWord=function(e,t,n,i,o){return{start:i,end:o,wordType:t,nextCharClass:n}},e._findPreviousWordOnLine=function(e,t,n){var i=t.getLineContent(n.lineNumber);return this._doFindPreviousWordOnLine(i,e,n)},e._doFindPreviousWordOnLine=function(e,t,n){for(var i=0,o=n.column-2;o>=0;o--){var r=e.charCodeAt(o),s=t.get(r);if(0===s){if(2===i)return this._createWord(e,i,s,o+1,this._findEndOfWord(e,t,i,o+1));i=1}else if(2===s){if(1===i)return this._createWord(e,i,s,o+1,this._findEndOfWord(e,t,i,o+1));i=2}else if(1===s&&0!==i)return this._createWord(e,i,s,o+1,this._findEndOfWord(e,t,i,o+1))}return 0!==i?this._createWord(e,i,1,0,this._findEndOfWord(e,t,i,0)):null},e._findEndOfWord=function(e,t,n,i){for(var o=e.length,r=i;r<o;r++){var s=e.charCodeAt(r),a=t.get(s);if(1===a)return r;if(1===n&&2===a)return r;if(2===n&&0===a)return r}return o},e._findNextWordOnLine=function(e,t,n){var i=t.getLineContent(n.lineNumber);return this._doFindNextWordOnLine(i,e,n)},e._doFindNextWordOnLine=function(e,t,n){for(var i=0,o=e.length,r=n.column-1;r<o;r++){var s=e.charCodeAt(r),a=t.get(s);if(0===a){if(2===i)return this._createWord(e,i,a,this._findStartOfWord(e,t,i,r-1),r);i=1}else if(2===a){if(1===i)return this._createWord(e,i,a,this._findStartOfWord(e,t,i,r-1),r);i=2}else if(1===a&&0!==i)return this._createWord(e,i,a,this._findStartOfWord(e,t,i,r-1),r)}return 0!==i?this._createWord(e,i,1,this._findStartOfWord(e,t,i,o-1),o):null},e._findStartOfWord=function(e,t,n,i){for(var o=i;o>=0;o--){var r=e.charCodeAt(o),s=t.get(r);if(1===s)return o+1;if(1===n&&2===s)return o+1;if(2===n&&0===s)return o+1}return 0},e.moveWordLeft=function(t,n,i,o){var r=i.lineNumber,s=i.column,a=!1;1===s&&r>1&&(a=!0,r-=1,s=n.getLineMaxColumn(r));var u=e._findPreviousWordOnLine(t,n,new l.a(r,s));if(0===o){if(u&&!a)if(n.getLineLastNonWhitespaceColumn(r)<s)return new l.a(r,u.end+1);return new l.a(r,u?u.start+1:1)}if(1===o)return u&&2===u.wordType&&u.end-u.start==1&&0===u.nextCharClass&&(u=e._findPreviousWordOnLine(t,n,new l.a(r,u.start+1))),new l.a(r,u?u.start+1:1);if(3===o){for(;u&&2===u.wordType;)u=e._findPreviousWordOnLine(t,n,new l.a(r,u.start+1));return new l.a(r,u?u.start+1:1)}return u&&s<=u.end+1&&(u=e._findPreviousWordOnLine(t,n,new l.a(r,u.start+1))),new l.a(r,u?u.end+1:1)},e._moveWordPartLeft=function(e,t){var n=t.lineNumber,i=e.getLineMaxColumn(n);if(1===t.column)return n>1?new l.a(n-1,e.getLineMaxColumn(n-1)):t;for(var o=e.getLineContent(n),r=t.column-1;r>1;r--){var s=o.charCodeAt(r-2),a=o.charCodeAt(r-1);if(95!==s&&95===a)return new l.a(n,r);if(p.z(s)&&p.A(a))return new l.a(n,r);if(p.A(s)&&p.A(a)&&r+1<i){var u=o.charCodeAt(r);if(p.z(u))return new l.a(n,r)}}return new l.a(n,1)},e.moveWordRight=function(t,n,i,o){var r=i.lineNumber,s=i.column,a=!1;s===n.getLineMaxColumn(r)&&r<n.getLineCount()&&(a=!0,r+=1,s=1);var u=e._findNextWordOnLine(t,n,new l.a(r,s));if(2===o)u&&2===u.wordType&&u.end-u.start==1&&0===u.nextCharClass&&(u=e._findNextWordOnLine(t,n,new l.a(r,u.end+1))),s=u?u.end+1:n.getLineMaxColumn(r);else if(3===o){for(a&&(s=0);u&&(2===u.wordType||u.start+1<=s);)u=e._findNextWordOnLine(t,n,new l.a(r,u.end+1));s=u?u.start+1:n.getLineMaxColumn(r)}else u&&!a&&s>=u.start+1&&(u=e._findNextWordOnLine(t,n,new l.a(r,u.end+1))),s=u?u.start+1:n.getLineMaxColumn(r);return new l.a(r,s)},e._moveWordPartRight=function(e,t){var n=t.lineNumber,i=e.getLineMaxColumn(n);if(t.column===i)return n<e.getLineCount()?new l.a(n+1,1):t;for(var o=e.getLineContent(n),r=t.column+1;r<i;r++){var s=o.charCodeAt(r-2),a=o.charCodeAt(r-1);if(95===s&&95!==a)return new l.a(n,r);if(p.z(s)&&p.A(a))return new l.a(n,r);if(p.A(s)&&p.A(a)&&r+1<i){var u=o.charCodeAt(r);if(p.z(u))return new l.a(n,r)}}return new l.a(n,i)},e._deleteWordLeftWhitespace=function(e,t){var n=e.getLineContent(t.lineNumber),i=t.column-2,o=p.B(n,i);return o+1<i?new c.a(t.lineNumber,o+2,t.lineNumber,t.column):null},e.deleteWordLeft=function(t,n,i,o,r){if(!i.isEmpty())return i;var s=new l.a(i.positionLineNumber,i.positionColumn),a=s.lineNumber,u=s.column;if(1===a&&1===u)return null;if(o){var d=this._deleteWordLeftWhitespace(n,s);if(d)return d}var h=e._findPreviousWordOnLine(t,n,s);return 0===r?h?u=h.start+1:u>1?u=1:(a--,u=n.getLineMaxColumn(a)):(h&&u<=h.end+1&&(h=e._findPreviousWordOnLine(t,n,new l.a(a,h.start+1))),h?u=h.end+1:u>1?u=1:(a--,u=n.getLineMaxColumn(a))),new c.a(a,u,s.lineNumber,s.column)},e._deleteWordPartLeft=function(t,n){if(!n.isEmpty())return n;var i=n.getPosition(),o=e._moveWordPartLeft(t,i);return new c.a(i.lineNumber,i.column,o.lineNumber,o.column)},e._findFirstNonWhitespaceChar=function(e,t){for(var n=e.length,i=t;i<n;i++){var o=e.charAt(i);if(" "!==o&&"\t"!==o)return i}return n},e._deleteWordRightWhitespace=function(e,t){var n=e.getLineContent(t.lineNumber),i=t.column-1,o=this._findFirstNonWhitespaceChar(n,i);return i+1<o?new c.a(t.lineNumber,t.column,t.lineNumber,o+1):null},e.deleteWordRight=function(t,n,i,o,r){if(!i.isEmpty())return i;var s=new l.a(i.positionLineNumber,i.positionColumn),a=s.lineNumber,u=s.column,d=n.getLineCount(),h=n.getLineMaxColumn(a);if(a===d&&u===h)return null;if(o){var f=this._deleteWordRightWhitespace(n,s);if(f)return f}var p=e._findNextWordOnLine(t,n,s);return 2===r?p?u=p.end+1:u<h||a===d?u=h:(a++,u=(p=e._findNextWordOnLine(t,n,new l.a(a,1)))?p.start+1:n.getLineMaxColumn(a)):(p&&u>=p.start+1&&(p=e._findNextWordOnLine(t,n,new l.a(a,p.end+1))),p?u=p.start+1:u<h||a===d?u=h:(a++,u=(p=e._findNextWordOnLine(t,n,new l.a(a,1)))?p.start+1:n.getLineMaxColumn(a))),new c.a(a,u,s.lineNumber,s.column)},e._deleteWordPartRight=function(t,n){if(!n.isEmpty())return n;var i=n.getPosition(),o=e._moveWordPartRight(t,i);return new c.a(i.lineNumber,i.column,o.lineNumber,o.column)},e.word=function(t,n,i,o,r){var s,a,d,h,f=Object(g.a)(t.wordSeparators),p=e._findPreviousWordOnLine(f,n,r),m=e._findNextWordOnLine(f,n,r);if(!o)return p&&1===p.wordType&&p.start<=r.column-1&&r.column-1<=p.end?(s=p.start+1,a=p.end+1):m&&1===m.wordType&&m.start<=r.column-1&&r.column-1<=m.end?(s=m.start+1,a=m.end+1):(s=p?p.end+1:1,a=m?m.start+1:n.getLineMaxColumn(r.lineNumber)),new u.f(new c.a(r.lineNumber,s,r.lineNumber,a),0,new l.a(r.lineNumber,a),0);p&&1===p.wordType&&p.start<r.column-1&&r.column-1<p.end?(d=p.start+1,h=p.end+1):m&&1===m.wordType&&m.start<r.column-1&&r.column-1<m.end?(d=m.start+1,h=m.end+1):(d=r.column,h=r.column);var v,_=r.lineNumber;if(i.selectionStart.containsPosition(r))v=i.selectionStart.endColumn;else if(r.isBeforeOrEqual(i.selectionStart.getStartPosition())){v=d;var y=new l.a(_,v);i.selectionStart.containsPosition(y)&&(v=i.selectionStart.endColumn)}else{v=h;y=new l.a(_,v);i.selectionStart.containsPosition(y)&&(v=i.selectionStart.startColumn)}return i.move(!0,_,v,0)},e}();!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}m(t,e),t.deleteWordPartLeft=function(e,t,n,i){var o=_([v.deleteWordLeft(e,t,n,i,0),v.deleteWordLeft(e,t,n,i,2),v._deleteWordPartLeft(t,n)]);return o.sort(c.a.compareRangesUsingEnds),o[2]},t.deleteWordPartRight=function(e,t,n,i){var o=_([v.deleteWordRight(e,t,n,i,0),v.deleteWordRight(e,t,n,i,2),v._deleteWordPartRight(t,n)]);return o.sort(c.a.compareRangesUsingStarts),o[0]},t.moveWordPartLeft=function(e,t,n){var i=_([v.moveWordLeft(e,t,n,0),v.moveWordLeft(e,t,n,2),v._moveWordPartLeft(t,n)]);return i.sort(l.a.compare),i[2]},t.moveWordPartRight=function(e,t,n){var i=_([v.moveWordRight(e,t,n,0),v.moveWordRight(e,t,n,2),v._moveWordPartRight(t,n)]);return i.sort(l.a.compare),i[0]}}(v);function _(e){return e.filter((function(e){return Boolean(e)}))}var y,b,C=function(){function e(){}return e.addCursorDown=function(e,t,n){for(var i=[],o=0,r=0,s=t.length;r<s;r++){var a=t[r];i[o++]=new u.d(a.modelState,a.viewState),i[o++]=n?u.d.fromModelState(f.a.translateDown(e.config,e.model,a.modelState)):u.d.fromViewState(f.a.translateDown(e.config,e.viewModel,a.viewState))}return i},e.addCursorUp=function(e,t,n){for(var i=[],o=0,r=0,s=t.length;r<s;r++){var a=t[r];i[o++]=new u.d(a.modelState,a.viewState),i[o++]=n?u.d.fromModelState(f.a.translateUp(e.config,e.model,a.modelState)):u.d.fromViewState(f.a.translateUp(e.config,e.viewModel,a.viewState))}return i},e.moveToBeginningOfLine=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o];i[o]=this._moveToLineStart(e,s,n)}return i},e._moveToLineStart=function(e,t,n){var i=t.viewState.position.column,o=i===t.modelState.position.column,r=t.viewState.position.lineNumber,s=e.viewModel.getLineFirstNonWhitespaceColumn(r);return o||i===s?this._moveToLineStartByModel(e,t,n):this._moveToLineStartByView(e,t,n)},e._moveToLineStartByView=function(e,t,n){return u.d.fromViewState(f.a.moveToBeginningOfLine(e.config,e.viewModel,t.viewState,n))},e._moveToLineStartByModel=function(e,t,n){return u.d.fromModelState(f.a.moveToBeginningOfLine(e.config,e.model,t.modelState,n))},e.moveToEndOfLine=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o];i[o]=this._moveToLineEnd(e,s,n)}return i},e._moveToLineEnd=function(e,t,n){var i=t.viewState.position,o=e.viewModel.getLineMaxColumn(i.lineNumber),r=i.column===o,s=t.modelState.position,a=e.model.getLineMaxColumn(s.lineNumber),u=o-i.column==a-s.column;return r||u?this._moveToLineEndByModel(e,t,n):this._moveToLineEndByView(e,t,n)},e._moveToLineEndByView=function(e,t,n){return u.d.fromViewState(f.a.moveToEndOfLine(e.config,e.viewModel,t.viewState,n))},e._moveToLineEndByModel=function(e,t,n){return u.d.fromModelState(f.a.moveToEndOfLine(e.config,e.model,t.modelState,n))},e.expandLineSelection=function(e,t){for(var n=[],i=0,o=t.length;i<o;i++){var r=t[i],s=r.modelState.selection.startLineNumber,a=e.model.getLineCount(),d=r.modelState.selection.endLineNumber,h=void 0;d===a?h=e.model.getLineMaxColumn(a):(d++,h=1),n[i]=u.d.fromModelState(new u.f(new c.a(s,1,s,1),0,new l.a(d,h),0))}return n},e.moveToBeginningOfBuffer=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o];i[o]=u.d.fromModelState(f.a.moveToBeginningOfBuffer(e.config,e.model,s.modelState,n))}return i},e.moveToEndOfBuffer=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o];i[o]=u.d.fromModelState(f.a.moveToEndOfBuffer(e.config,e.model,s.modelState,n))}return i},e.selectAll=function(e,t){var n=e.model.getLineCount(),i=e.model.getLineMaxColumn(n);return u.d.fromModelState(new u.f(new c.a(1,1,1,1),0,new l.a(n,i),0))},e.line=function(e,t,n,i,o){var r=e.model.validatePosition(i),s=o?e.validateViewPosition(new l.a(o.lineNumber,o.column),r):e.convertModelPositionToViewPosition(r);if(!n||!t.modelState.hasSelection()){var a=e.model.getLineCount(),d=r.lineNumber+1,h=1;return d>a&&(d=a,h=e.model.getLineMaxColumn(d)),u.d.fromModelState(new u.f(new c.a(r.lineNumber,1,d,h),0,new l.a(d,h),0))}var f=t.modelState.selectionStart.getStartPosition().lineNumber;if(r.lineNumber<f)return u.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),s.lineNumber,1,0));if(r.lineNumber>f){a=e.viewModel.getLineCount();var p=s.lineNumber+1,g=1;return p>a&&(p=a,g=e.viewModel.getLineMaxColumn(p)),u.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),p,g,0))}var m=t.modelState.selectionStart.getEndPosition();return u.d.fromModelState(t.modelState.move(t.modelState.hasSelection(),m.lineNumber,m.column,0))},e.word=function(e,t,n,i){var o=e.model.validatePosition(i);return u.d.fromModelState(v.word(e.config,e.model,t.modelState,n,o))},e.cancelSelection=function(e,t){if(!t.modelState.hasSelection())return new u.d(t.modelState,t.viewState);var n=t.viewState.position.lineNumber,i=t.viewState.position.column;return u.d.fromViewState(new u.f(new c.a(n,i,n,i),0,new l.a(n,i),0))},e.moveTo=function(e,t,n,i,o){var r=e.model.validatePosition(i),s=o?e.validateViewPosition(new l.a(o.lineNumber,o.column),r):e.convertModelPositionToViewPosition(r);return u.d.fromViewState(t.viewState.move(n,s.lineNumber,s.column,0))},e.move=function(e,t,n){var i=n.select,o=n.value;switch(n.direction){case 0:return 4===n.unit?this._moveHalfLineLeft(e,t,i):this._moveLeft(e,t,i,o);case 1:return 4===n.unit?this._moveHalfLineRight(e,t,i):this._moveRight(e,t,i,o);case 2:return 2===n.unit?this._moveUpByViewLines(e,t,i,o):this._moveUpByModelLines(e,t,i,o);case 3:return 2===n.unit?this._moveDownByViewLines(e,t,i,o):this._moveDownByModelLines(e,t,i,o);case 4:return this._moveToViewMinColumn(e,t,i);case 5:return this._moveToViewFirstNonWhitespaceColumn(e,t,i);case 6:return this._moveToViewCenterColumn(e,t,i);case 7:return this._moveToViewMaxColumn(e,t,i);case 8:return this._moveToViewLastNonWhitespaceColumn(e,t,i);case 9:var r=t[0],s=e.getCompletelyVisibleModelRange(),a=this._firstLineNumberInRange(e.model,s,o),u=e.model.getLineFirstNonWhitespaceColumn(a);return[this._moveToModelPosition(e,r,i,a,u)];case 11:r=t[0],s=e.getCompletelyVisibleModelRange(),a=this._lastLineNumberInRange(e.model,s,o),u=e.model.getLineFirstNonWhitespaceColumn(a);return[this._moveToModelPosition(e,r,i,a,u)];case 10:r=t[0],s=e.getCompletelyVisibleModelRange(),a=Math.round((s.startLineNumber+s.endLineNumber)/2),u=e.model.getLineFirstNonWhitespaceColumn(a);return[this._moveToModelPosition(e,r,i,a,u)];case 12:for(var l=e.getCompletelyVisibleViewRange(),c=[],d=0,h=t.length;d<h;d++){r=t[d];c[d]=this.findPositionInViewportIfOutside(e,r,l,i)}return c}return null},e.findPositionInViewportIfOutside=function(e,t,n,i){var o=t.viewState.position.lineNumber;if(n.startLineNumber<=o&&o<=n.endLineNumber-1)return new u.d(t.modelState,t.viewState);o>n.endLineNumber-1&&(o=n.endLineNumber-1),o<n.startLineNumber&&(o=n.startLineNumber);var r=e.viewModel.getLineFirstNonWhitespaceColumn(o);return this._moveToViewPosition(e,t,i,o,r)},e._firstLineNumberInRange=function(e,t,n){var i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.min(t.endLineNumber,i+n-1)},e._lastLineNumberInRange=function(e,t,n){var i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.max(i,t.endLineNumber-n+1)},e._moveLeft=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r],l=f.a.moveLeft(e.config,e.viewModel,a.viewState,n,i);if(1===i&&l.position.lineNumber!==a.viewState.position.lineNumber)e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(l.position).lineNumber===a.modelState.position.lineNumber&&(l=f.a.moveLeft(e.config,e.viewModel,l,n,1));o[r]=u.d.fromViewState(l)}return o},e._moveHalfLineLeft=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,l=Math.round(e.viewModel.getLineContent(a).length/2);i[o]=u.d.fromViewState(f.a.moveLeft(e.config,e.viewModel,s.viewState,n,l))}return i},e._moveRight=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r],l=f.a.moveRight(e.config,e.viewModel,a.viewState,n,i);if(1===i&&l.position.lineNumber!==a.viewState.position.lineNumber)e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(l.position).lineNumber===a.modelState.position.lineNumber&&(l=f.a.moveRight(e.config,e.viewModel,l,n,1));o[r]=u.d.fromViewState(l)}return o},e._moveHalfLineRight=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,l=Math.round(e.viewModel.getLineContent(a).length/2);i[o]=u.d.fromViewState(f.a.moveRight(e.config,e.viewModel,s.viewState,n,l))}return i},e._moveDownByViewLines=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r];o[r]=u.d.fromViewState(f.a.moveDown(e.config,e.viewModel,a.viewState,n,i))}return o},e._moveDownByModelLines=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r];o[r]=u.d.fromModelState(f.a.moveDown(e.config,e.model,a.modelState,n,i))}return o},e._moveUpByViewLines=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r];o[r]=u.d.fromViewState(f.a.moveUp(e.config,e.viewModel,a.viewState,n,i))}return o},e._moveUpByModelLines=function(e,t,n,i){for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r];o[r]=u.d.fromModelState(f.a.moveUp(e.config,e.model,a.modelState,n,i))}return o},e._moveToViewPosition=function(e,t,n,i,o){return u.d.fromViewState(t.viewState.move(n,i,o,0))},e._moveToModelPosition=function(e,t,n,i,o){return u.d.fromModelState(t.modelState.move(n,i,o,0))},e._moveToViewMinColumn=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,u=e.viewModel.getLineMinColumn(a);i[o]=this._moveToViewPosition(e,s,n,a,u)}return i},e._moveToViewFirstNonWhitespaceColumn=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,u=e.viewModel.getLineFirstNonWhitespaceColumn(a);i[o]=this._moveToViewPosition(e,s,n,a,u)}return i},e._moveToViewCenterColumn=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,u=Math.round((e.viewModel.getLineMaxColumn(a)+e.viewModel.getLineMinColumn(a))/2);i[o]=this._moveToViewPosition(e,s,n,a,u)}return i},e._moveToViewMaxColumn=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,u=e.viewModel.getLineMaxColumn(a);i[o]=this._moveToViewPosition(e,s,n,a,u)}return i},e._moveToViewLastNonWhitespaceColumn=function(e,t,n){for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=s.viewState.position.lineNumber,u=e.viewModel.getLineLastNonWhitespaceColumn(a);i[o]=this._moveToViewPosition(e,s,n,a,u)}return i},e}();(b=y||(y={})).description={description:"Move cursor to a logical position in the view",args:[{name:"Cursor move argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory logical position value providing where to move the cursor.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'left', 'right', 'up', 'down'\n\t\t\t\t\t\t'wrappedLineStart', 'wrappedLineEnd', 'wrappedLineColumnCenter'\n\t\t\t\t\t\t'wrappedLineFirstNonWhitespaceCharacter', 'wrappedLineLastNonWhitespaceCharacter'\n\t\t\t\t\t\t'viewPortTop', 'viewPortCenter', 'viewPortBottom', 'viewPortIfOutside'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'character', 'halfLine'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'select': If 'true' makes the selection. Default is 'false'.\n\t\t\t\t",constraint:function(e){if(!r.i(e))return!1;var t=e;return!(!r.j(t.to)||!r.k(t.select)&&!r.e(t.select)||!r.k(t.by)&&!r.j(t.by)||!r.k(t.value)&&!r.h(t.value))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},b.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},b.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},b.parse=function(e){if(!e.to)return null;var t;switch(e.to){case b.RawDirection.Left:t=0;break;case b.RawDirection.Right:t=1;break;case b.RawDirection.Up:t=2;break;case b.RawDirection.Down:t=3;break;case b.RawDirection.WrappedLineStart:t=4;break;case b.RawDirection.WrappedLineFirstNonWhitespaceCharacter:t=5;break;case b.RawDirection.WrappedLineColumnCenter:t=6;break;case b.RawDirection.WrappedLineEnd:t=7;break;case b.RawDirection.WrappedLineLastNonWhitespaceCharacter:t=8;break;case b.RawDirection.ViewPortTop:t=9;break;case b.RawDirection.ViewPortBottom:t=11;break;case b.RawDirection.ViewPortCenter:t=10;break;case b.RawDirection.ViewPortIfOutside:t=12;break;default:return null}var n=0;switch(e.by){case b.RawUnit.Line:n=1;break;case b.RawUnit.WrappedLine:n=2;break;case b.RawUnit.Character:n=3;break;case b.RawUnit.HalfLine:n=4}return{direction:t,unit:n,select:!!e.select,value:e.value||1}};var w,S,L,N,O,D,x,E,k=n("GR/f"),I=n("iuje"),M=n("wQH0"),T=n("T8No"),A=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=t._getCursors();i&&this.runCoreEditorCommand(i,n||{})},t}(s.c);function P(e){e.register()}(S=w||(w={})).description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory direction value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'up', 'down'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'page', 'halfPage'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n\t\t\t\t",constraint:function(e){if(!r.i(e))return!1;var t=e;return!(!r.j(t.to)||!r.k(t.by)&&!r.j(t.by)||!r.k(t.value)&&!r.h(t.value)||!r.k(t.revealCursor)&&!r.e(t.revealCursor))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},S.RawDirection={Up:"up",Down:"down"},S.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"},S.parse=function(e){var t,n;switch(e.to){case S.RawDirection.Up:t=1;break;case S.RawDirection.Down:t=2;break;default:return null}switch(e.by){case S.RawUnit.Line:n=1;break;case S.RawUnit.WrappedLine:n=2;break;case S.RawUnit.Page:n=3;break;case S.RawUnit.HalfPage:n=4;break;default:n=2}return{direction:t,unit:n,value:Math.floor(e.value||1),revealCursor:!!e.revealCursor,select:!!e.select}},(N=L||(L={})).description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'lineNumber': A mandatory line number value.\n\t\t\t\t\t* 'at': Logical position at which line has to be revealed .\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'top', 'center', 'bottom'\n\t\t\t\t\t\t```\n\t\t\t\t",constraint:function(e){if(!r.i(e))return!1;var t=e;return!(!r.h(t.lineNumber)||!r.k(t.at)&&!r.j(t.at))},schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:"number"},at:{type:"string",enum:["top","center","bottom"]}}}}]},N.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"},function(e){var t=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.moveTo(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position,t.viewPosition)]),e.reveal(t.source,!0,0,0)},t}(R);e.MoveTo=Object(s.f)(new t({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),e.MoveToSelect=Object(s.f)(new t({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement();var n=this._getColumnSelectResult(e.context,e.getPrimaryCursor(),e.getColumnSelectData(),t);e.setStates(t.source,3,n.viewStates.map((function(e){return u.d.fromViewState(e)}))),e.setColumnSelectData({isReal:!0,fromViewLineNumber:n.fromLineNumber,fromViewVisualColumn:n.fromVisualColumn,toViewLineNumber:n.toLineNumber,toViewVisualColumn:n.toVisualColumn}),e.reveal(t.source,!0,n.reversed?1:2,0)},t}(R);e.ColumnSelect=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"columnSelect",precondition:void 0})||this}return A(t,e),t.prototype._getColumnSelectResult=function(e,t,n,i){var o=e.model.validatePosition(i.position),r=e.validateViewPosition(new l.a(i.viewPosition.lineNumber,i.viewPosition.column),o),s=i.doColumnSelect?n.fromViewLineNumber:r.lineNumber,a=i.doColumnSelect?n.fromViewVisualColumn:i.mouseColumn-1;return d.columnSelect(e.config,e.viewModel,s,a,r.lineNumber,i.mouseColumn-1)},t}(n))),e.CursorColumnSelectLeft=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3599,linux:{primary:0}}})||this}return A(t,e),t.prototype._getColumnSelectResult=function(e,t,n,i){return d.columnSelectLeft(e.config,e.viewModel,n)},t}(n))),e.CursorColumnSelectRight=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3601,linux:{primary:0}}})||this}return A(t,e),t.prototype._getColumnSelectResult=function(e,t,n,i){return d.columnSelectRight(e.config,e.viewModel,n)},t}(n)));var i=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaged=t.isPaged,n}return A(t,e),t.prototype._getColumnSelectResult=function(e,t,n,i){return d.columnSelectUp(e.config,e.viewModel,n,this._isPaged)},t}(n);e.CursorColumnSelectUp=Object(s.f)(new i({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3600,linux:{primary:0}}})),e.CursorColumnSelectPageUp=Object(s.f)(new i({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3595,linux:{primary:0}}}));var o=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaged=t.isPaged,n}return A(t,e),t.prototype._getColumnSelectResult=function(e,t,n,i){return d.columnSelectDown(e.config,e.viewModel,n,this._isPaged)},t}(n);e.CursorColumnSelectDown=Object(s.f)(new o({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3602,linux:{primary:0}}})),e.CursorColumnSelectPageDown=Object(s.f)(new o({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3596,linux:{primary:0}}}));var r=function(e){function t(){return e.call(this,{id:"cursorMove",precondition:void 0,description:y.description})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=y.parse(t);n&&this._runCursorMove(e,t.source,n)},t.prototype._runCursorMove=function(e,t,n){e.context.model.pushStackElement(),e.setStates(t,3,C.move(e.context,e.getAll(),n)),e.reveal(t,!0,0,0)},t}(R);e.CursorMoveImpl=r,e.CursorMove=Object(s.f)(new r);var a=function(t){function n(e){var n=t.call(this,e)||this;return n._staticArgs=e.args,n}return A(n,t),n.prototype.runCoreEditorCommand=function(t,n){var i=this._staticArgs;-1===this._staticArgs.value&&(i={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:t.context.config.pageSize}),e.CursorMove._runCursorMove(t,n.source,i)},n}(R);e.CursorLeft=Object(s.f)(new a({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),e.CursorLeftSelect=Object(s.f)(new a({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1039}})),e.CursorRight=Object(s.f)(new a({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),e.CursorRightSelect=Object(s.f)(new a({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1041}})),e.CursorUp=Object(s.f)(new a({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),e.CursorUpSelect=Object(s.f)(new a({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),e.CursorPageUp=Object(s.f)(new a({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:11}})),e.CursorPageUpSelect=Object(s.f)(new a({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1035}})),e.CursorDown=Object(s.f)(new a({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),e.CursorDownSelect=Object(s.f)(new a({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),e.CursorPageDown=Object(s.f)(new a({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:12}})),e.CursorPageDownSelect=Object(s.f)(new a({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1036}})),e.CreateCursor=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"createCursor",precondition:void 0})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n,i=e.context;n=t.wholeLine?C.line(i,e.getPrimaryCursor(),!1,t.position,t.viewPosition):C.moveTo(i,e.getPrimaryCursor(),!1,t.position,t.viewPosition);var o=e.getAll();if(o.length>1)for(var r=n.modelState?n.modelState.position:null,s=n.viewState?n.viewState.position:null,a=0,u=o.length;a<u;a++){var l=o[a];if((!r||l.modelState.selection.containsPosition(r))&&(!s||l.viewState.selection.containsPosition(s)))return o.splice(a,1),e.context.model.pushStackElement(),void e.setStates(t.source,3,o)}o.push(n),e.context.model.pushStackElement(),e.setStates(t.source,3,o)},t}(R))),e.LastCursorMoveToSelect=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"_lastCursorMoveToSelect",precondition:void 0})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=e.context,i=e.getLastAddedCursorIndex(),o=e.getAll(),r=o.slice(0);r[i]=C.moveTo(n,o[i],!0,t.position,t.viewPosition),e.context.model.pushStackElement(),e.setStates(t.source,3,r)},t}(R)));var h=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,C.moveToBeginningOfLine(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(R);e.CursorHome=Object(s.f)(new h({inSelectionMode:!1,id:"cursorHome",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),e.CursorHomeSelect=Object(s.f)(new h({inSelectionMode:!0,id:"cursorHomeSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}})),e.CursorLineStart=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"cursorLineStart",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:0,mac:{primary:287}}})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,this._exec(e.context,e.getAll())),e.reveal(t.source,!0,0,0)},t.prototype._exec=function(e,t){for(var n=[],i=0,o=t.length;i<o;i++){var r=t[i],s=r.modelState.position.lineNumber;n[i]=u.d.fromModelState(r.modelState.move(!1,s,1,0))}return n},t}(R)));var f=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,C.moveToEndOfLine(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(R);e.CursorEnd=Object(s.f)(new f({inSelectionMode:!1,id:"cursorEnd",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}}})),e.CursorEndSelect=Object(s.f)(new f({inSelectionMode:!0,id:"cursorEndSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}}})),e.CursorLineEnd=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"cursorLineEnd",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:0,mac:{primary:291}}})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,this._exec(e.context,e.getAll())),e.reveal(t.source,!0,0,0)},t.prototype._exec=function(e,t){for(var n=[],i=0,o=t.length;i<o;i++){var r=t[i],s=r.modelState.position.lineNumber,a=e.model.getLineMaxColumn(s);n[i]=u.d.fromModelState(r.modelState.move(!1,s,a,0))}return n},t}(R)));var p=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,C.moveToBeginningOfBuffer(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(R);e.CursorTop=Object(s.f)(new p({inSelectionMode:!1,id:"cursorTop",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2062,mac:{primary:2064}}})),e.CursorTopSelect=Object(s.f)(new p({inSelectionMode:!0,id:"cursorTopSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3086,mac:{primary:3088}}}));var g=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,C.moveToEndOfBuffer(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(R);e.CursorBottom=Object(s.f)(new g({inSelectionMode:!1,id:"cursorBottom",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2061,mac:{primary:2066}}})),e.CursorBottomSelect=Object(s.f)(new g({inSelectionMode:!0,id:"cursorBottomSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:3085,mac:{primary:3090}}}));var m=function(e){function t(){return e.call(this,{id:"editorScroll",precondition:void 0,description:w.description})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=w.parse(t);n&&this._runEditorScroll(e,t.source,n)},t.prototype._runEditorScroll=function(e,t,n){var i=this._computeDesiredScrollTop(e.context,n);if(n.revealCursor){var o=e.context.getCompletelyVisibleViewRangeAtScrollTop(i);e.setStates(t,3,[C.findPositionInViewportIfOutside(e.context,e.getPrimaryCursor(),o,n.select)])}e.scrollTo(i)},t.prototype._computeDesiredScrollTop=function(e,t){if(1===t.unit){var n=e.getCompletelyVisibleModelRange(),i=void 0;i=1===t.direction?Math.max(1,n.startLineNumber-t.value):Math.min(e.model.getLineCount(),n.startLineNumber+t.value);var o=e.convertModelPositionToViewPosition(new l.a(i,1));return e.getVerticalOffsetForViewLine(o.lineNumber)}var r;r=3===t.unit?e.config.pageSize*t.value:4===t.unit?Math.round(e.config.pageSize/2)*t.value:t.value;var s=(1===t.direction?-1:1)*r;return e.getCurrentScrollTop()+s*e.config.lineHeight},t}(R);e.EditorScrollImpl=m,e.EditorScroll=Object(s.f)(new m),e.ScrollLineUp=Object(s.f)(new(function(t){function n(){return t.call(this,{id:"scrollLineUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2064,mac:{primary:267}}})||this}return A(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})},n}(R))),e.ScrollPageUp=Object(s.f)(new(function(t){function n(){return t.call(this,{id:"scrollPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})||this}return A(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})},n}(R))),e.ScrollLineDown=Object(s.f)(new(function(t){function n(){return t.call(this,{id:"scrollLineDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2066,mac:{primary:268}}})||this}return A(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})},n}(R))),e.ScrollPageDown=Object(s.f)(new(function(t){function n(){return t.call(this,{id:"scrollPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})||this}return A(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})},n}(R)));var v=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.word(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position)]),e.reveal(t.source,!0,0,0)},t}(R);e.WordSelect=Object(s.f)(new v({inSelectionMode:!1,id:"_wordSelect",precondition:void 0})),e.WordSelectDrag=Object(s.f)(new v({inSelectionMode:!0,id:"_wordSelectDrag",precondition:void 0})),e.LastCursorWordSelect=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"lastCursorWordSelect",precondition:void 0})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=e.context,i=e.getLastAddedCursorIndex(),o=e.getAll(),r=o.slice(0),s=o[i];r[i]=C.word(n,s,s.modelState.hasSelection(),t.position),n.model.pushStackElement(),e.setStates(t.source,3,r)},t}(R)));var _=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.line(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position,t.viewPosition)]),e.reveal(t.source,!1,0,0)},t}(R);e.LineSelect=Object(s.f)(new _({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),e.LineSelectDrag=Object(s.f)(new _({inSelectionMode:!0,id:"_lineSelectDrag",precondition:void 0}));var b=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=e.getLastAddedCursorIndex(),i=e.getAll(),o=i.slice(0);o[n]=C.line(e.context,i[n],this._inSelectionMode,t.position,t.viewPosition),e.context.model.pushStackElement(),e.setStates(t.source,3,o)},t}(R);e.LastCursorLineSelect=Object(s.f)(new b({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:void 0})),e.LastCursorLineSelectDrag=Object(s.f)(new b({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:void 0})),e.ExpandLineSelection=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"expandLineSelection",precondition:void 0,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2090}})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,C.expandLineSelection(e.context,e.getAll())),e.reveal(t.source,!0,0,0)},t}(R))),e.CancelSelection=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"cancelSelection",precondition:M.a.hasNonEmptySelection,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:9,secondary:[1033]}})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.cancelSelection(e.context,e.getPrimaryCursor())]),e.reveal(t.source,!0,0,0)},t}(R))),e.RemoveSecondaryCursors=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"removeSecondaryCursors",precondition:M.a.hasMultipleSelections,kbOpts:{weight:1,kbExpr:M.a.textInputFocus,primary:9,secondary:[1033]}})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[e.getPrimaryCursor()]),e.reveal(t.source,!0,0,0)},t}(R))),e.RevealLine=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"revealLine",precondition:void 0,description:L.description})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=t,i=(n.lineNumber||0)+1;i<1&&(i=1);var o=e.context.model.getLineCount();i>o&&(i=o);var r=new c.a(i,1,i,e.context.model.getLineMaxColumn(i)),s=0;if(n.at)switch(n.at){case L.RawAtArgument.Top:s=3;break;case L.RawAtArgument.Center:s=1;break;case L.RawAtArgument.Bottom:s=4}var a=e.context.convertModelRangeToViewRange(r);e.revealRange(t.source,!1,a,s,0)},t}(R))),e.SelectAll=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"selectAll",precondition:void 0})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.selectAll(e.context,e.getPrimaryCursor())])},t}(R))),e.SetSelection=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"setSelection",precondition:void 0})||this}return A(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[u.d.fromModelSelection(t.selection)])},t}(R)))}(O||(O={})),x=D||(D={}),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=t._getCursors();i&&this.runCoreEditingCommand(t,i,n||{})},t}(s.c),x.CoreEditingCommand=E,x.LineBreakInsert=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"lineBreakInsert",precondition:M.a.writable,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:0,mac:{primary:301}}})||this}return A(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,k.a.lineBreakInsert(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))))},t}(E))),x.Outdent=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"outdent",precondition:M.a.writable,kbOpts:{weight:0,kbExpr:T.a.and(M.a.editorTextFocus,M.a.tabDoesNotMoveFocus),primary:1026}})||this}return A(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,k.a.outdent(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(E))),x.Tab=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"tab",precondition:M.a.writable,kbOpts:{weight:0,kbExpr:T.a.and(M.a.editorTextFocus,M.a.tabDoesNotMoveFocus),primary:2}})||this}return A(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,k.a.tab(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(E))),x.DeleteLeft=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"deleteLeft",precondition:M.a.writable,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})||this}return A(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var i=h.a.deleteLeft(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),o=i[0],r=i[1];o&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(2)},t}(E))),x.DeleteRight=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"deleteRight",precondition:M.a.writable,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})||this}return A(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var i=h.a.deleteRight(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),o=i[0],r=i[1];o&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(3)},t}(E)));var F=function(e){function t(t){var n=e.call(this,t)||this;return n._editorHandler=t.editorHandler,n._inputHandler=t.inputHandler,n}return A(t,e),t.prototype.runCommand=function(e,t){var n=e.get(a.a).getFocusedCodeEditor();if(n&&n.hasTextFocus())return this._runEditorHandler(e,n,t);var i=document.activeElement;if(!(i&&["input","textarea"].indexOf(i.tagName.toLowerCase())>=0)){var o=e.get(a.a).getActiveCodeEditor();return o?(o.focus(),this._runEditorHandler(e,o,t)):void 0}document.execCommand(this._inputHandler)},t.prototype._runEditorHandler=function(e,t,n){var i=this._editorHandler;"string"==typeof i?t.trigger("keyboard",i,n):((n=n||{}).source="keyboard",i.runEditorCommand(e,t,n))},t}(s.a),V=function(e){function t(t,n,i){var o=e.call(this,{id:t,precondition:void 0,description:i})||this;return o._handlerId=n,o}return A(t,e),t.prototype.runCommand=function(e,t){var n=e.get(a.a).getFocusedCodeEditor();n&&n.trigger("keyboard",this._handlerId,t)},t}(s.a);function W(e,t){P(new V("default:"+e,e)),P(new V(e,e,t))}P(new F({editorHandler:O.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:M.a.textInputFocus,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:{menuId:25,group:"1_basic",title:o.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1}})),P(new F({editorHandler:I.b.Undo,inputHandler:"undo",id:I.b.Undo,precondition:M.a.writable,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2104},menuOpts:{menuId:17,group:"1_do",title:o.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),P(new V("default:"+I.b.Undo,I.b.Undo)),P(new F({editorHandler:I.b.Redo,inputHandler:"redo",id:I.b.Redo,precondition:M.a.writable,kbOpts:{weight:0,kbExpr:M.a.textInputFocus,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:{menuId:17,group:"1_do",title:o.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2}})),P(new V("default:"+I.b.Redo,I.b.Redo)),W(I.b.Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),W(I.b.ReplacePreviousChar),W(I.b.CompositionStart),W(I.b.CompositionEnd),W(I.b.Paste),W(I.b.Cut)},"23p7":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return n.e(142).then(n.bind(null,"aA7r"))}})},"24hK":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("JYp7"),o=function(){function e(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),r=function(){function e(){this._first=o.Undefined,this._last=o.Undefined,this._size=0}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this._first===o.Undefined},e.prototype.clear=function(){this._first=o.Undefined,this._last=o.Undefined,this._size=0},e.prototype.unshift=function(e){return this._insert(e,!1)},e.prototype.push=function(e){return this._insert(e,!0)},e.prototype._insert=function(e,t){var n=this,i=new o(e);if(this._first===o.Undefined)this._first=i,this._last=i;else if(t){var r=this._last;this._last=i,i.prev=r,r.next=i}else{var s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;var a=!1;return function(){a||(a=!0,n._remove(i))}},e.prototype.shift=function(){if(this._first!==o.Undefined){var e=this._first.element;return this._remove(this._first),e}},e.prototype.pop=function(){if(this._last!==o.Undefined){var e=this._last.element;return this._remove(this._last),e}},e.prototype._remove=function(e){if(e.prev!==o.Undefined&&e.next!==o.Undefined){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===o.Undefined&&e.next===o.Undefined?(this._first=o.Undefined,this._last=o.Undefined):e.next===o.Undefined?(this._last=this._last.prev,this._last.next=o.Undefined):e.prev===o.Undefined&&(this._first=this._first.next,this._first.prev=o.Undefined);this._size-=1},e.prototype.iterator=function(){var e,t=this._first;return{next:function(){return t===o.Undefined?i.b:(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e)}}},e.prototype.toArray=function(){for(var e=[],t=this._first;t!==o.Undefined;t=t.next)e.push(t.element);return e},e}()},"2MPD":function(e,t,n){},"2Tsy":function(e,t,n){},"2V9f":function(e,t,n){},"3/fG":function(e,t,n){"use strict";function i(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e}))}function o(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return i(t,n)}n.d(t,"a",(function(){return o}))},"3Rsk":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("ic2d"),o=n("MI8n"),r={JSONContribution:"base.contributions.json"};var s=new(function(){function e(){this._onDidChangeSchema=new o.a,this.schemasById={}}return e.prototype.registerSchema=function(e,t){var n;this.schemasById[(n=e,n.length>0&&"#"===n.charAt(n.length-1)?n.substring(0,n.length-1):n)]=t,this._onDidChangeSchema.fire(e)},e.prototype.notifySchemaChanged=function(e){this._onDidChangeSchema.fire(e)},e}());i.a.add(r.JSONContribution,s)},"4bUh":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("twdY"),o=function(){function e(e,t){this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t}return e.prototype.equals=function(t){return t instanceof e&&this.slicedEquals(t,0,this._tokensCount)},e.prototype.slicedEquals=function(e,t,n){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;for(var i=t<<1,o=i+(n<<1),r=i;r<o;r++)if(this._tokens[r]!==e._tokens[r])return!1;return!0},e.prototype.getLineContent=function(){return this._text},e.prototype.getCount=function(){return this._tokensCount},e.prototype.getStartOffset=function(e){return e>0?this._tokens[e-1<<1]:0},e.prototype.getMetadata=function(e){return this._tokens[1+(e<<1)]},e.prototype.getLanguageId=function(e){var t=this._tokens[1+(e<<1)];return i.x.getLanguageId(t)},e.prototype.getStandardTokenType=function(e){var t=this._tokens[1+(e<<1)];return i.x.getTokenType(t)},e.prototype.getForeground=function(e){var t=this._tokens[1+(e<<1)];return i.x.getForeground(t)},e.prototype.getClassName=function(e){var t=this._tokens[1+(e<<1)];return i.x.getClassNameFromMetadata(t)},e.prototype.getInlineStyle=function(e,t){var n=this._tokens[1+(e<<1)];return i.x.getInlineStyleFromMetadata(n,t)},e.prototype.getEndOffset=function(e){return this._tokens[e<<1]},e.prototype.findTokenIndexAtOffset=function(t){return e.findIndexInTokensArray(this._tokens,t)},e.prototype.inflate=function(){return this},e.prototype.sliceAndInflate=function(e,t,n){return new r(this,e,t,n)},e.convertToEndOffset=function(e,t){for(var n=(e.length>>>1)-1,i=0;i<n;i++)e[i<<1]=e[i+1<<1];e[n<<1]=t},e.findIndexInTokensArray=function(e,t){if(e.length<=2)return 0;for(var n=0,i=(e.length>>>1)-1;n<i;){var o=n+Math.floor((i-n)/2),r=e[o<<1];if(r===t)return o+1;r<t?n=o+1:r>t&&(i=o)}return n},e}(),r=function(){function e(e,t,n,i){this._source=e,this._startOffset=t,this._endOffset=n,this._deltaOffset=i,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(var o=this._firstTokenIndex,r=e.getCount();o<r;o++){if(e.getStartOffset(o)>=n)break;this._tokensCount++}}return e.prototype.equals=function(t){return t instanceof e&&(this._startOffset===t._startOffset&&this._endOffset===t._endOffset&&this._deltaOffset===t._deltaOffset&&this._source.slicedEquals(t._source,this._firstTokenIndex,this._tokensCount))},e.prototype.getCount=function(){return this._tokensCount},e.prototype.getForeground=function(e){return this._source.getForeground(this._firstTokenIndex+e)},e.prototype.getEndOffset=function(e){var t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset},e.prototype.getClassName=function(e){return this._source.getClassName(this._firstTokenIndex+e)},e.prototype.getInlineStyle=function(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)},e.prototype.findTokenIndexAtOffset=function(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex},e}()},"4rho":function(e,t,n){},"4y0V":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("MI8n"),o=function(e,t,n){var o=function(e){return r.fire(e)},r=new i.a({onFirstListenerAdd:function(){e.addEventListener(t,o,n)},onLastListenerRemove:function(){e.removeEventListener(t,o,n)}});return r.event}},"51f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=!1,o=null;function r(e){if(!e.parent||e.parent===e)return null;try{var t=e.location,n=e.parent.location;if(t.protocol!==n.protocol||t.hostname!==n.hostname||t.port!==n.port)return i=!0,null}catch(e){return i=!0,null}return e.parent}function s(e,t){for(var n,i=e.document.getElementsByTagName("iframe"),o=0,r=i.length;o<r;o++)if((n=i[o]).contentWindow===t)return n;return null}var a=function(){function e(){}return e.getSameOriginWindowChain=function(){if(!o){o=[];var e,t=window;do{(e=r(t))?o.push({window:t,iframeElement:s(e,t)}):o.push({window:t,iframeElement:null}),t=e}while(t)}return o.slice(0)},e.hasDifferentOriginAncestor=function(){return o||this.getSameOriginWindowChain(),i},e.getPositionOfChildWindowRelativeToAncestorWindow=function(e,t){if(!t||e===t)return{top:0,left:0};for(var n=0,i=0,o=0,r=this.getSameOriginWindowChain();o<r.length;o++){var s=r[o];if(s.window===t)break;if(!s.iframeElement)break;var a=s.iframeElement.getBoundingClientRect();n+=a.top,i+=a.left}return{top:n,left:i}},e}()},"5Y4S":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("MNsG"),o=i.b.performance&&"function"==typeof i.b.performance.now,r=function(){function e(e){this._highResolution=o&&e,this._startTime=this._now(),this._stopTime=-1}return e.create=function(t){return void 0===t&&(t=!0),new e(t)},e.prototype.stop=function(){this._stopTime=this._now()},e.prototype.elapsed=function(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime},e.prototype._now=function(){return this._highResolution?i.b.performance.now():(new Date).getTime()},e}()},"5v8Y":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i,o=n("MXAL"),r=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(t){for(var n=e.call(this,0)||this,i=0,o=t.length;i<o;i++)n.set(t.charCodeAt(i),2);return n.set(32,1),n.set(9,1),n}return r(t,e),t}(o.a);var a,u,l=(a=function(e){return new s(e)},u={},function(e){return u.hasOwnProperty(e)||(u[e]=a(e)),u[e]})},"6OMU":function(e,t,n){"use strict";function i(e,t){return void 0===t&&(t=0),e[e.length-(1+t)]}function o(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function r(e,t,n){if(void 0===n&&(n=function(e,t){return e===t}),e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var i=0,o=e.length;i<o;i++)if(!n(e[i],t[i]))return!1;return!0}function s(e,t,n){for(var i=0,o=e.length-1;i<=o;){var r=(i+o)/2|0,s=n(e[r],t);if(s<0)i=r+1;else{if(!(s>0))return r;o=r-1}}return-(i+1)}function a(e,t){return function e(t,n,i,o,r){if(o<=i)return;var s=i+(o-i)/2|0;if(e(t,n,i,s,r),e(t,n,s+1,o,r),n(t[s],t[s+1])<=0)return;!function(e,t,n,i,o,r){for(var s=n,a=i+1,u=n;u<=o;u++)r[u]=e[u];for(u=n;u<=o;u++)s>i?e[u]=r[a++]:a>o?e[u]=r[s++]:t(r[a],r[s])<0?e[u]=r[a++]:e[u]=r[s++]}(t,n,i,s,o,r)}(e,t,0,e.length-1,[]),e}function u(e){return e.filter((function(e){return!!e}))}function l(e){return!Array.isArray(e)||0===e.length}function c(e){return Array.isArray(e)&&e.length>0}function d(e,t){if(!t)return e.filter((function(t,n){return e.indexOf(t)===n}));var n=Object.create(null);return e.filter((function(e){var i=t(e);return!n[i]&&(n[i]=!0,!0)}))}function h(e){var t=new Set;return e.filter((function(e){return!t.has(e)&&(t.add(e),!0)}))}function f(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function p(e,t){for(var n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function g(e,t,n){void 0===n&&(n=void 0);var i=p(e,t);return i<0?n:e[i]}function m(e,t){return e.length>0?e[0]:t}function v(e){var t;return(t=[]).concat.apply(t,e)}function _(e,t){var n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);var i=[];if(n<=t)for(var o=n;o<t;o++)i.push(o);else for(o=n;o>t;o--)i.push(o);return i}function y(e,t,n){var i=e.slice(0,t),o=e.slice(t);return i.concat(n,o)}n.d(t,"p",(function(){return i})),n.d(t,"q",(function(){return o})),n.d(t,"f",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"n",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"l",(function(){return l})),n.d(t,"m",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"g",(function(){return g})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return v})),n.d(t,"o",(function(){return _})),n.d(t,"a",(function(){return y}))},"746U":function(e,t,n){"use strict";n.d(t,"d",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"i",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return p})),n.d(t,"a",(function(){return g})),n.d(t,"f",(function(){return v})),n.d(t,"g",(function(){return _})),n.d(t,"m",(function(){return y})),n.d(t,"c",(function(){return C})),n.d(t,"b",(function(){return w})),n.d(t,"n",(function(){return S})),n.d(t,"o",(function(){return L}));var i="number",o="string",r="undefined",s="object",a="function";function u(e){return Array.isArray?Array.isArray(e):!(!e||typeof e.length!==i||e.constructor!==Array)}function l(e){return typeof e===o||e instanceof String}function c(e){return!(typeof e!==s||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function d(e){return(typeof e===i||e instanceof Number)&&!isNaN(e)}function h(e){return!0===e||!1===e}function f(e){return typeof e===r}function p(e){return f(e)||null===e}function g(e,t){if(!e)throw new Error(t?"Unexpected type, expected '"+t+"'":"Unexpected type")}var m=Object.prototype.hasOwnProperty;function v(e){if(!c(e))return!1;for(var t in e)if(m.call(e,t))return!1;return!0}function _(e){return typeof e===a}function y(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i++)b(e[i],t[i])}function b(e,t){if(l(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(_(t)){try{if(e instanceof t)return}catch(e){}if(!p(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function C(e){for(var t=[],n=0,i=function(e){for(var t=[],n=Object.getPrototypeOf(e);Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e);n<i.length;n++){var o=i[n];"function"==typeof e[o]&&t.push(o)}return t}function w(e,t){for(var n=function(e){return function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)}},i={},o=0,r=e;o<r.length;o++){var s=r[o];i[s]=n(s)}return i}function S(e){return null===e?void 0:e}function L(e){return void 0===e?null:e}},"7zd4":function(e,t,n){},"8HAY":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var i,o=n("pmY6"),r=n("MI8n"),s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},u=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},l=function(e){function t(t,n,i,o,s){void 0===n&&(n=""),void 0===i&&(i=""),void 0===o&&(o=!0);var a=e.call(this)||this;return a._onDidChange=a._register(new r.a),a.onDidChange=a._onDidChange.event,a._enabled=!0,a._checked=!1,a._id=t,a._label=n,a._cssClass=i,a._enabled=o,a._actionCallback=s,a}return s(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this._label},set:function(e){this._setLabel(e)},enumerable:!0,configurable:!0}),t.prototype._setLabel=function(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))},Object.defineProperty(t.prototype,"tooltip",{get:function(){return this._tooltip||""},set:function(e){this._setTooltip(e)},enumerable:!0,configurable:!0}),t.prototype._setTooltip=function(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))},Object.defineProperty(t.prototype,"class",{get:function(){return this._cssClass},set:function(e){this._setClass(e)},enumerable:!0,configurable:!0}),t.prototype._setClass=function(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))},Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._setEnabled(e)},enumerable:!0,configurable:!0}),t.prototype._setEnabled=function(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))},Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(e){this._setChecked(e)},enumerable:!0,configurable:!0}),t.prototype._setChecked=function(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))},t.prototype.run=function(e,t){return this._actionCallback?this._actionCallback(e):Promise.resolve(!0)},t}(o.a),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onDidBeforeRun=t._register(new r.a),t.onDidBeforeRun=t._onDidBeforeRun.event,t._onDidRun=t._register(new r.a),t.onDidRun=t._onDidRun.event,t}return s(t,e),t.prototype.run=function(e,t){return a(this,void 0,void 0,(function(){var n,i;return u(this,(function(o){switch(o.label){case 0:if(!e.enabled)return[2,Promise.resolve(null)];this._onDidBeforeRun.fire({action:e}),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.runAction(e,t)];case 2:return n=o.sent(),this._onDidRun.fire({action:e,result:n}),[3,4];case 3:return i=o.sent(),this._onDidRun.fire({action:e,error:i}),[3,4];case 4:return[2]}}))}))},t.prototype.runAction=function(e,t){var n=t?e.run(t):e.run();return Promise.resolve(n)},t}(o.a)},"8gvo":function(e,t,n){},"8z58":function(e,t,n){"use strict";n.r(t),n.d(t,"CancellationTokenSource",(function(){return k_})),n.d(t,"Emitter",(function(){return I_})),n.d(t,"KeyCode",(function(){return M_})),n.d(t,"KeyMod",(function(){return T_})),n.d(t,"Position",(function(){return A_})),n.d(t,"Range",(function(){return R_})),n.d(t,"Selection",(function(){return P_})),n.d(t,"SelectionDirection",(function(){return F_})),n.d(t,"MarkerSeverity",(function(){return V_})),n.d(t,"MarkerTag",(function(){return W_})),n.d(t,"Uri",(function(){return B_})),n.d(t,"Token",(function(){return j_})),n.d(t,"editor",(function(){return H_})),n.d(t,"languages",(function(){return z_}));var i,o,r,s,a,u,l,c,d,h,f,p,g,m,v,_,y,b,C,w,S,L,N,O,D,x,E,k,I,M,T,A,R,P,F=n("/UlZ"),V=(n("URDS"),n("JQT/")),W=n("MI8n"),B=n("/kV6"),j=n("bY76"),H=n("cGHE"),z=n("aokT"),U=n("gCVg"),K=n("Tcc1");!function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(i||(i={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(o||(o={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.Snippet=25]="Snippet"}(r||(r={})),function(e){e[e.Deprecated=1]="Deprecated"}(s||(s={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(a||(a={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(u||(u={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(l||(l={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(c||(c={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(d||(d={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(h||(h={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.comments=13]="comments",e[e.contextmenu=14]="contextmenu",e[e.copyWithSyntaxHighlighting=15]="copyWithSyntaxHighlighting",e[e.cursorBlinking=16]="cursorBlinking",e[e.cursorSmoothCaretAnimation=17]="cursorSmoothCaretAnimation",e[e.cursorStyle=18]="cursorStyle",e[e.cursorSurroundingLines=19]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=20]="cursorSurroundingLinesStyle",e[e.cursorWidth=21]="cursorWidth",e[e.disableLayerHinting=22]="disableLayerHinting",e[e.disableMonospaceOptimizations=23]="disableMonospaceOptimizations",e[e.dragAndDrop=24]="dragAndDrop",e[e.emptySelectionClipboard=25]="emptySelectionClipboard",e[e.extraEditorClassName=26]="extraEditorClassName",e[e.fastScrollSensitivity=27]="fastScrollSensitivity",e[e.find=28]="find",e[e.fixedOverflowWidgets=29]="fixedOverflowWidgets",e[e.folding=30]="folding",e[e.foldingStrategy=31]="foldingStrategy",e[e.foldingHighlight=32]="foldingHighlight",e[e.fontFamily=33]="fontFamily",e[e.fontInfo=34]="fontInfo",e[e.fontLigatures=35]="fontLigatures",e[e.fontSize=36]="fontSize",e[e.fontWeight=37]="fontWeight",e[e.formatOnPaste=38]="formatOnPaste",e[e.formatOnType=39]="formatOnType",e[e.glyphMargin=40]="glyphMargin",e[e.gotoLocation=41]="gotoLocation",e[e.hideCursorInOverviewRuler=42]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=43]="highlightActiveIndentGuide",e[e.hover=44]="hover",e[e.inDiffEditor=45]="inDiffEditor",e[e.letterSpacing=46]="letterSpacing",e[e.lightbulb=47]="lightbulb",e[e.lineDecorationsWidth=48]="lineDecorationsWidth",e[e.lineHeight=49]="lineHeight",e[e.lineNumbers=50]="lineNumbers",e[e.lineNumbersMinChars=51]="lineNumbersMinChars",e[e.links=52]="links",e[e.matchBrackets=53]="matchBrackets",e[e.minimap=54]="minimap",e[e.mouseStyle=55]="mouseStyle",e[e.mouseWheelScrollSensitivity=56]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=57]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=58]="multiCursorMergeOverlapping",e[e.multiCursorModifier=59]="multiCursorModifier",e[e.multiCursorPaste=60]="multiCursorPaste",e[e.occurrencesHighlight=61]="occurrencesHighlight",e[e.overviewRulerBorder=62]="overviewRulerBorder",e[e.overviewRulerLanes=63]="overviewRulerLanes",e[e.parameterHints=64]="parameterHints",e[e.peekWidgetDefaultFocus=65]="peekWidgetDefaultFocus",e[e.quickSuggestions=66]="quickSuggestions",e[e.quickSuggestionsDelay=67]="quickSuggestionsDelay",e[e.readOnly=68]="readOnly",e[e.renderControlCharacters=69]="renderControlCharacters",e[e.renderIndentGuides=70]="renderIndentGuides",e[e.renderFinalNewline=71]="renderFinalNewline",e[e.renderLineHighlight=72]="renderLineHighlight",e[e.renderValidationDecorations=73]="renderValidationDecorations",e[e.renderWhitespace=74]="renderWhitespace",e[e.revealHorizontalRightPadding=75]="revealHorizontalRightPadding",e[e.roundedSelection=76]="roundedSelection",e[e.rulers=77]="rulers",e[e.scrollbar=78]="scrollbar",e[e.scrollBeyondLastColumn=79]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=80]="scrollBeyondLastLine",e[e.selectionClipboard=81]="selectionClipboard",e[e.selectionHighlight=82]="selectionHighlight",e[e.selectOnLineNumbers=83]="selectOnLineNumbers",e[e.showFoldingControls=84]="showFoldingControls",e[e.showUnused=85]="showUnused",e[e.snippetSuggestions=86]="snippetSuggestions",e[e.smoothScrolling=87]="smoothScrolling",e[e.stopRenderingLineAfter=88]="stopRenderingLineAfter",e[e.suggest=89]="suggest",e[e.suggestFontSize=90]="suggestFontSize",e[e.suggestLineHeight=91]="suggestLineHeight",e[e.suggestOnTriggerCharacters=92]="suggestOnTriggerCharacters",e[e.suggestSelection=93]="suggestSelection",e[e.tabCompletion=94]="tabCompletion",e[e.useTabStops=95]="useTabStops",e[e.wordSeparators=96]="wordSeparators",e[e.wordWrap=97]="wordWrap",e[e.wordWrapBreakAfterCharacters=98]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=99]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=100]="wordWrapColumn",e[e.wordWrapMinified=101]="wordWrapMinified",e[e.wrappingIndent=102]="wrappingIndent",e[e.wrappingStrategy=103]="wrappingStrategy",e[e.editorClassName=104]="editorClassName",e[e.pixelRatio=105]="pixelRatio",e[e.tabFocusMode=106]="tabFocusMode",e[e.layoutInfo=107]="layoutInfo",e[e.wrappingInfo=108]="wrappingInfo"}(f||(f={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(p||(p={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(m||(m={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(v||(v={})),(y=_||(_={}))[y.Hint=1]="Hint",y[y.Info=2]="Info",y[y.Warning=4]="Warning",y[y.Error=8]="Error",function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(b||(b={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(C||(C={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(w||(w={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(S||(S={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(L||(L={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(N||(N={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(O||(O={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(D||(D={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(x||(x={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(E||(E={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(k||(k={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(I||(I={})),function(e){e[e.Deprecated=1]="Deprecated"}(M||(M={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(T||(T={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(A||(A={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(R||(R={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(P||(P={}));var q=function(){function e(){}return e.chord=function(e,t){return Object(B.a)(e,t)},e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256,e}();function G(){return{editor:void 0,languages:void 0,CancellationTokenSource:V.a,Emitter:W.a,KeyCode:v,KeyMod:q,Position:H.a,Range:z.a,Selection:U.a,SelectionDirection:E,MarkerSeverity:_,MarkerTag:b,Uri:j.a,Token:K.a}}n("siPX");var Y=n("Vxe3"),Z=n("EffR"),X=n("24hK");function J(e){var t=JSON.parse(e);return t=function e(t,n){void 0===n&&(n=0);if(!t||n>200)return t;if("object"==typeof t){switch(t.$mid){case 1:return j.a.revive(t);case 2:return new RegExp(t.source,t.flags)}for(var i in t)Object.hasOwnProperty.call(t,i)&&(t[i]=e(t[i],n+1))}return t}(t)}var Q,$=n("tYmi"),ee=n("PTeM"),te=n("MrjW"),ne=n("N0LK"),ie=n("MNsG"),oe=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i};function re(e){var t,n=e.path;return t=e.authority&&n.length>1&&e.scheme===$.b.file?"//"+e.authority+n:ie.h&&47===n.charCodeAt(0)&&ee.b(n.charCodeAt(1))&&58===n.charCodeAt(2)?n.substr(1):n,ie.h&&(t=t.replace(/\//g,"\\")),t}!function(e){e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=function(t){var n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach((function(e){var t=e.split(":"),i=t[0],o=t[1];i&&o&&n.set(i,o)}));var i=t.path.substring(0,t.path.indexOf(";"));return i&&n.set(e.META_DATA_MIME,i),n}}(Q||(Q={}));var se,ae=n("nnTU"),ue=n("Cg/j"),le=n("pmY6"),ce=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},de=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},he=Object(ue.c)("openerService");Object.freeze({_serviceBrand:void 0,registerOpener:function(){return le.a.None},registerValidator:function(){return le.a.None},registerExternalUriResolver:function(){return le.a.None},setExternalOpener:function(){},open:function(){return ce(this,void 0,void 0,(function(){return de(this,(function(e){return[2,!1]}))}))},resolveExternalUri:function(e){return ce(this,void 0,void 0,(function(){return de(this,(function(t){return[2,{resolved:e,dispose:function(){}}]}))}))}});function fe(e,t){return j.a.isUri(e)?Object(ne.l)(e.scheme,t):Object(ne.I)(e,t+":")}!function(e){e[e.API=0]="API",e[e.USER=1]="USER"}(se||(se={}));var pe,ge=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},me=function(e,t){return function(n,i){t(n,i,e)}},ve=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},_e=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},ye=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},be=function(){function e(e){this._commandService=e}return e.prototype.open=function(e){return ve(this,void 0,void 0,(function(){var t,n;return _e(this,(function(i){switch(i.label){case 0:if(!fe(e,$.b.command))return[2,!1];if("string"==typeof e&&(e=j.a.parse(e)),!ae.a.getCommand(e.path))throw new Error("command '"+e.path+"' NOT known");t=[];try{t=J(decodeURIComponent(e.query))}catch(n){try{t=J(e.query)}catch(e){}}return Array.isArray(t)||(t=[t]),[4,(n=this._commandService).executeCommand.apply(n,ye([e.path],t))];case 1:return i.sent(),[2,!0]}}))}))},e=ge([me(0,ae.b)],e)}(),Ce=function(){function e(e){this._editorService=e}return e.prototype.open=function(e,t){return ve(this,void 0,void 0,(function(){var n,i;return _e(this,(function(o){switch(o.label){case 0:return"string"==typeof e&&(e=j.a.parse(e)),n=void 0,(i=/^L?(\d+)(?:,(\d+))?/.exec(e.fragment))&&(n={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1},e=e.with({fragment:""})),e.scheme===$.b.file&&(e=(r=e).path.length?(s=r.scheme===$.b.file?j.a.file(te.normalize(re(r))).path:te.posix.normalize(r.path),r.with({path:s})):r),[4,this._editorService.openCodeEditor({resource:e,options:{selection:n,context:(null==t?void 0:t.fromUserGesture)?se.USER:se.API}},this._editorService.getFocusedCodeEditor(),null==t?void 0:t.openToSide)];case 1:return o.sent(),[2,!0]}var r,s}))}))},e=ge([me(0,Y.a)],e)}(),we=function(){function e(e,t){var n=this;this._openers=new X.a,this._validators=new X.a,this._resolvers=new X.a,this._externalOpener={openExternal:function(e){return Z.U(e),Promise.resolve(!0)}},this._openers.push({open:function(e,t){return ve(n,void 0,void 0,(function(){return _e(this,(function(n){switch(n.label){case 0:return(null==t?void 0:t.openExternal)||fe(e,$.b.mailto)||fe(e,$.b.http)||fe(e,$.b.https)?[4,this._doOpenExternal(e,t)]:[3,2];case 1:return n.sent(),[2,!0];case 2:return[2,!1]}}))}))}}),this._openers.push(new be(t)),this._openers.push(new Ce(e))}return e.prototype.open=function(e,t){return ve(this,void 0,void 0,(function(){var n,i,o,r;return _e(this,(function(s){switch(s.label){case 0:n=0,i=this._validators.toArray(),s.label=1;case 1:return n<i.length?[4,i[n].shouldOpen(e)]:[3,4];case 2:if(!s.sent())return[2,!1];s.label=3;case 3:return n++,[3,1];case 4:o=0,r=this._openers.toArray(),s.label=5;case 5:return o<r.length?[4,r[o].open(e,t)]:[3,8];case 6:if(s.sent())return[2,!0];s.label=7;case 7:return o++,[3,5];case 8:return[2,!1]}}))}))},e.prototype.resolveExternalUri=function(e,t){return ve(this,void 0,void 0,(function(){var n,i,o;return _e(this,(function(r){switch(r.label){case 0:n=0,i=this._resolvers.toArray(),r.label=1;case 1:return n<i.length?[4,i[n].resolveExternalUri(e,t)]:[3,4];case 2:if(o=r.sent())return[2,o];r.label=3;case 3:return n++,[3,1];case 4:return[2,{resolved:e,dispose:function(){}}]}}))}))},e.prototype._doOpenExternal=function(e,t){return ve(this,void 0,void 0,(function(){var n,i;return _e(this,(function(o){switch(o.label){case 0:return n="string"==typeof e?j.a.parse(e):e,[4,this.resolveExternalUri(n,t)];case 1:return i=o.sent().resolved,"string"==typeof e&&n.toString()===i.toString()?[2,this._externalOpener.openExternal(e)]:[2,this._externalOpener.openExternal(encodeURI(i.toString(!0)))]}}))}))},e.prototype.dispose=function(){this._validators.clear()},e=ge([me(0,Y.a),me(1,ae.b)],e)}(),Se=n("FWmy"),Le=n("qj0h"),Ne=(pe=function(e,t){return(pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}pe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oe={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0},De=function(e){function t(t,n){void 0===n&&(n={});var i=e.call(this)||this;return i._onDidUpdate=i._register(new W.a),i._editor=t,i._options=Le.d(n,Oe,!1),i.disposed=!1,i.nextIdx=-1,i.ranges=[],i.ignoreSelectionChange=!1,i.revealFirst=Boolean(i._options.alwaysRevealFirst),i._register(i._editor.onDidDispose((function(){return i.dispose()}))),i._register(i._editor.onDidUpdateDiff((function(){return i._onDiffUpdated()}))),i._options.followsCaret&&i._register(i._editor.getModifiedEditor().onDidChangeCursorPosition((function(e){i.ignoreSelectionChange||(i.nextIdx=-1)}))),i._options.alwaysRevealFirst&&i._register(i._editor.getModifiedEditor().onDidChangeModel((function(e){i.revealFirst=!0}))),i._init(),i}return Ne(t,e),t.prototype._init=function(){this._editor.getLineChanges()},t.prototype._onDiffUpdated=function(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))},t.prototype._compute=function(e){var t=this;this.ranges=[],e&&e.forEach((function(e){!t._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach((function(e){t.ranges.push({rhs:!0,range:new z.a(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})})):t.ranges.push({rhs:!0,range:new z.a(e.modifiedStartLineNumber,1,e.modifiedStartLineNumber,1)})})),this.ranges.sort((function(e,t){return e.range.getStartPosition().isBeforeOrEqual(t.range.getStartPosition())?-1:t.range.getStartPosition().isBeforeOrEqual(e.range.getStartPosition())?1:0})),this._onDidUpdate.fire(this)},t.prototype._initIdx=function(e){var t=!1,n=this._editor.getPosition();if(n){for(var i=0,o=this.ranges.length;i<o&&!t;i++){var r=this.ranges[i].range;n.isBeforeOrEqual(r.getStartPosition())&&(this.nextIdx=i+(e?0:-1),t=!0)}t||(this.nextIdx=e?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}else this.nextIdx=0},t.prototype._move=function(e,t){if(Se.a(!this.disposed,"Illegal State - diff navigator has been disposed"),this.canNavigate()){-1===this.nextIdx?this._initIdx(e):e?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var i=n.range.getStartPosition();this._editor.setPosition(i),this._editor.revealPositionInCenter(i,t)}finally{this.ignoreSelectionChange=!1}}},t.prototype.canNavigate=function(){return this.ranges&&this.ranges.length>0},t.prototype.next=function(e){void 0===e&&(e=0),this._move(!0,e)},t.prototype.previous=function(e){void 0===e&&(e=0),this._move(!1,e)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.ranges=[],this.disposed=!0},t}(le.a),xe=new(function(){function e(){this._zoomLevel=0,this._onDidChangeZoomLevel=new W.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return e.prototype.getZoomLevel=function(){return this._zoomLevel},e.prototype.setZoomLevel=function(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))},e}()),Ee=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ke=ie.e?1.5:1.35,Ie=function(){function e(e){this.zoomLevel=e.zoomLevel,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}return e.createFromValidatedSettings=function(t,n,i){var o=t.get(33),r=t.get(37),s=t.get(36),a=t.get(35),u=t.get(49),l=t.get(46);return e._create(o,r,s,a,u,l,n,i)},e._create=function(t,n,i,o,r,s,a,u){0===r?r=Math.round(ke*i):r<8&&(r=8);var l=1+(u?0:.1*xe.getZoomLevel());return new e({zoomLevel:a,fontFamily:t,fontWeight:n,fontSize:i*=l,fontFeatureSettings:o,lineHeight:r*=l,letterSpacing:s})},e.prototype.getId=function(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing},e.prototype.getMassagedFontFamily=function(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?'"'+this.fontFamily+'"':this.fontFamily},e}(),Me=function(e){function t(t,n){var i=e.call(this,t)||this;return i.isTrusted=n,i.isMonospace=t.isMonospace,i.typicalHalfwidthCharacterWidth=t.typicalHalfwidthCharacterWidth,i.typicalFullwidthCharacterWidth=t.typicalFullwidthCharacterWidth,i.canUseHalfwidthRightwardsArrow=t.canUseHalfwidthRightwardsArrow,i.spaceWidth=t.spaceWidth,i.middotWidth=t.middotWidth,i.maxDigitWidth=t.maxDigitWidth,i}return Ee(t,e),t.prototype.equals=function(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.maxDigitWidth===e.maxDigitWidth},t}(Ie),Te=n("iuje"),Ae=n("M1Kb"),Re=n("twdY"),Pe=n("i/Ef"),Fe=Object(ue.c)("editorWorkerService"),Ve=n("t49l"),We=n("X+cX"),Be=n("/cxE"),je=n("746U"),He=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ze=!1;function Ue(e){ie.g&&(ze||(ze=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}var Ke=function(){function e(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return e.prototype.setWorkerId=function(e){this._workerId=e},e.prototype.sendMessage=function(e,t){var n=this,i=String(++this._lastSentReq);return new Promise((function(o,r){n._pendingReplies[i]={resolve:o,reject:r},n._send({vsWorker:n._workerId,req:i,method:e,args:t})}))},e.prototype.handleMessage=function(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))},e.prototype._handleMessage=function(e){var t=this;if(e.seq){var n=e;if(!this._pendingReplies[n.seq])return void console.warn("Got reply to unknown seq");var i=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){var o=n.err;return n.err.$isError&&((o=new Error).name=n.err.name,o.message=n.err.message,o.stack=n.err.stack),void i.reject(o)}i.resolve(n.res)}else{var r=e,s=r.req;this._handler.handleMessage(r.method,r.args).then((function(e){t._send({vsWorker:t._workerId,seq:s,res:e,err:void 0})}),(function(e){e.detail instanceof Error&&(e.detail=Object(Be.f)(e.detail)),t._send({vsWorker:t._workerId,seq:s,res:void 0,err:Object(Be.f)(e)})}))}},e.prototype._send=function(e){var t=[];if(e.req)for(var n=e,i=0;i<n.args.length;i++)n.args[i]instanceof ArrayBuffer&&t.push(n.args[i]);else(n=e).res instanceof ArrayBuffer&&t.push(n.res);this._handler.sendMessage(e,t)},e}(),qe=function(e){function t(t,n,i){var o=e.call(this)||this,r=null;o._worker=o._register(t.create("vs/base/common/worker/simpleWorker",(function(e){o._protocol.handleMessage(e)}),(function(e){r&&r(e)}))),o._protocol=new Ke({sendMessage:function(e,t){o._worker.postMessage(e,t)},handleMessage:function(e,t){if("function"!=typeof i[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(i[e].apply(i,t))}catch(e){return Promise.reject(e)}}}),o._protocol.setWorkerId(o._worker.getId());var s=null;void 0!==self.require&&"function"==typeof self.require.getConfig?s=self.require.getConfig():void 0!==self.requirejs&&(s=self.requirejs.s.contexts._.config);var a=je.c(i);o._onModuleLoaded=o._protocol.sendMessage("$initialize",[o._worker.getId(),JSON.parse(JSON.stringify(s)),n,a]);var u=function(e,t){return o._request(e,t)};return o._lazyProxy=new Promise((function(e,t){r=t,o._onModuleLoaded.then((function(t){e(je.b(t,u))}),(function(e){t(e),o._onError("Worker failed to load "+n,e)}))})),o}return He(t,e),t.prototype.getProxyObject=function(){return this._lazyProxy},t.prototype._request=function(e,t){var n=this;return new Promise((function(i,o){n._onModuleLoaded.then((function(){n._protocol.sendMessage(e,t).then(i,o)}),o)}))},t.prototype._onError=function(e,t){console.error(e),console.info(t)},t}(le.a);!function(){function e(e,t){var n=this;this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new Ke({sendMessage:function(t,n){e(t,n)},handleMessage:function(e,t){return n._handleMessage(e,t)}})}e.prototype.onmessage=function(e){this._protocol.handleMessage(e)},e.prototype._handleMessage=function(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}},e.prototype.initialize=function(e,t,n,i){var o=this;this._protocol.setWorkerId(e);var r=je.b(i,(function(e,t){return o._protocol.sendMessage(e,t)}));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(je.c(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((function(e,t){self.require([n],(function(n){o._requestHandler=n.create(r),o._requestHandler?e(je.c(o._requestHandler)):t(new Error("No RequestHandler!"))}),t)})))}}();var Ge=function(){function e(e,t,n,i,o){this.id=t;var r=function(e,t){if(ie.b.MonacoEnvironment){if("function"==typeof ie.b.MonacoEnvironment.getWorker)return ie.b.MonacoEnvironment.getWorker(e,t);if("function"==typeof ie.b.MonacoEnvironment.getWorkerUrl)return new Worker(ie.b.MonacoEnvironment.getWorkerUrl(e,t))}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}("workerMain.js",n);"function"==typeof r.then?this.worker=r:this.worker=Promise.resolve(r),this.postMessage(e,[]),this.worker.then((function(e){e.onmessage=function(e){i(e.data)},e.onmessageerror=o,"function"==typeof e.addEventListener&&e.addEventListener("error",o)}))}return e.prototype.getId=function(){return this.id},e.prototype.postMessage=function(e,t){this.worker&&this.worker.then((function(n){return n.postMessage(e,t)}))},e.prototype.dispose=function(){this.worker&&this.worker.then((function(e){return e.terminate()})),this.worker=null},e}(),Ye=function(){function e(e){this._label=e,this._webWorkerFailedBeforeError=!1}return e.prototype.create=function(t,n,i){var o=this,r=++e.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new Ge(t,r,this._label||"anonymous"+r,n,(function(e){Ue(e),o._webWorkerFailedBeforeError=e,i(e)}))},e.LAST_WORKER_ID=0,e}(),Ze=n("cMvZ"),Xe=n("6OMU"),Je=function(){function e(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}();function Qe(e,t){return(t<<5)-t+e|0}function $e(e,t){t=Qe(149417,t);for(var n=0,i=e.length;n<i;n++)t=Qe(e.charCodeAt(n),t);return t}var et=function(){function e(e){this.source=e}return e.prototype.getElements=function(){for(var e=this.source,t=new Int32Array(e.length),n=0,i=e.length;n<i;n++)t[n]=e.charCodeAt(n);return t},e}();function tt(e,t,n){return new rt(new et(e),new et(t)).ComputeDiff(n).changes}var nt=function(){function e(){}return e.Assert=function(e,t){if(!e)throw new Error(t)},e}(),it=function(){function e(){}return e.Copy=function(e,t,n,i,o){for(var r=0;r<o;r++)n[i+r]=e[t+r]},e.Copy2=function(e,t,n,i,o){for(var r=0;r<o;r++)n[i+r]=e[t+r]},e}(),ot=function(){function e(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}return e.prototype.MarkNextChange=function(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new Je(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824},e.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),rt=function(){function e(t,n,i){void 0===i&&(i=null),this.ContinueProcessingPredicate=i;var o=e._getElements(t),r=o[0],s=o[1],a=o[2],u=e._getElements(n),l=u[0],c=u[1],d=u[2];this._hasStrings=a&&d,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=c,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e._isStringArray=function(e){return e.length>0&&"string"==typeof e[0]},e._getElements=function(t){var n=t.getElements();if(e._isStringArray(n)){for(var i=new Int32Array(n.length),o=0,r=n.length;o<r;o++)i[o]=$e(n[o],0);return[n,i,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]},e.prototype.ElementsAreEqual=function(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])},e.prototype.OriginalElementsAreEqual=function(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])},e.prototype.ModifiedElementsAreEqual=function(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])},e.prototype.ComputeDiff=function(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)},e.prototype._ComputeDiff=function(e,t,n,i,o){var r=[!1],s=this.ComputeDiffRecursive(e,t,n,i,r);return o&&(s=this.PrettifyChanges(s)),{quitEarly:r[0],changes:s}},e.prototype.ComputeDiffRecursive=function(e,t,n,i,o){for(o[0]=!1;e<=t&&n<=i&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){var r=void 0;return n<=i?(nt.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new Je(e,0,n,i-n+1)]):e<=t?(nt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[new Je(e,t-e+1,n,0)]):(nt.Assert(e===t+1,"originalStart should only be one more than originalEnd"),nt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}var s=[0],a=[0],u=this.ComputeRecursionPoint(e,t,n,i,s,a,o),l=s[0],c=a[0];if(null!==u)return u;if(!o[0]){var d=this.ComputeDiffRecursive(e,l,n,c,o),h=[];return h=o[0]?[new Je(l+1,t-(l+1)+1,c+1,i-(c+1)+1)]:this.ComputeDiffRecursive(l+1,t,c+1,i,o),this.ConcatenateChanges(d,h)}return[new Je(e,t-e+1,n,i-n+1)]},e.prototype.WALKTRACE=function(e,t,n,i,o,r,s,a,u,l,c,d,h,f,p,g,m,v){var _,y=null,b=new ot,C=t,w=n,S=h[0]-g[0]-i,L=-1073741824,N=this.m_forwardHistory.length-1;do{(E=S+e)===C||E<w&&u[E-1]<u[E+1]?(f=(c=u[E+1])-S-i,c<L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f),S=E+1-e):(f=(c=u[E-1]+1)-S-i,c<L&&b.MarkNextChange(),L=c-1,b.AddOriginalElement(c,f+1),S=E-1-e),N>=0&&(e=(u=this.m_forwardHistory[N])[0],C=1,w=u.length-1)}while(--N>=-1);if(_=b.getReverseChanges(),v[0]){var O=h[0]+1,D=g[0]+1;if(null!==_&&_.length>0){var x=_[_.length-1];O=Math.max(O,x.getOriginalEnd()),D=Math.max(D,x.getModifiedEnd())}y=[new Je(O,d-O+1,D,p-D+1)]}else{b=new ot,C=r,w=s,S=h[0]-g[0]-a,L=1073741824,N=m?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var E;(E=S+o)===C||E<w&&l[E-1]>=l[E+1]?(f=(c=l[E+1]-1)-S-a,c>L&&b.MarkNextChange(),L=c+1,b.AddOriginalElement(c+1,f+1),S=E+1-o):(f=(c=l[E-1])-S-a,c>L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f+1),S=E-1-o),N>=0&&(o=(l=this.m_reverseHistory[N])[0],C=1,w=l.length-1)}while(--N>=-1);y=b.getChanges()}return this.ConcatenateChanges(_,y)},e.prototype.ComputeRecursionPoint=function(e,t,n,i,o,r,s){var a=0,u=0,l=0,c=0,d=0,h=0;e--,n--,o[0]=0,r[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var f=t-e+(i-n),p=f+1,g=new Int32Array(p),m=new Int32Array(p),v=i-n,_=t-e,y=e-n,b=t-i,C=(_-v)%2==0;g[v]=e,m[_]=t,s[0]=!1;for(var w=1;w<=f/2+1;w++){var S=0,L=0;l=this.ClipDiagonalBound(v-w,w,v,p),c=this.ClipDiagonalBound(v+w,w,v,p);for(var N=l;N<=c;N+=2){u=(a=N===l||N<c&&g[N-1]<g[N+1]?g[N+1]:g[N-1]+1)-(N-v)-y;for(var O=a;a<t&&u<i&&this.ElementsAreEqual(a+1,u+1);)a++,u++;if(g[N]=a,a+u>S+L&&(S=a,L=u),!C&&Math.abs(N-_)<=w-1&&a>=m[N])return o[0]=a,r[0]=u,O<=m[N]&&w<=1448?this.WALKTRACE(v,l,c,y,_,d,h,b,g,m,a,t,o,u,i,r,C,s):null}var D=(S-e+(L-n)-w)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(S,D))return s[0]=!0,o[0]=S,r[0]=L,D>0&&w<=1448?this.WALKTRACE(v,l,c,y,_,d,h,b,g,m,a,t,o,u,i,r,C,s):(e++,n++,[new Je(e,t-e+1,n,i-n+1)]);d=this.ClipDiagonalBound(_-w,w,_,p),h=this.ClipDiagonalBound(_+w,w,_,p);for(N=d;N<=h;N+=2){u=(a=N===d||N<h&&m[N-1]>=m[N+1]?m[N+1]-1:m[N-1])-(N-_)-b;for(O=a;a>e&&u>n&&this.ElementsAreEqual(a,u);)a--,u--;if(m[N]=a,C&&Math.abs(N-v)<=w&&a<=g[N])return o[0]=a,r[0]=u,O>=g[N]&&w<=1448?this.WALKTRACE(v,l,c,y,_,d,h,b,g,m,a,t,o,u,i,r,C,s):null}if(w<=1447){var x=new Int32Array(c-l+2);x[0]=v-l+1,it.Copy2(g,l,x,1,c-l+1),this.m_forwardHistory.push(x),(x=new Int32Array(h-d+2))[0]=_-d+1,it.Copy2(m,d,x,1,h-d+1),this.m_reverseHistory.push(x)}}return this.WALKTRACE(v,l,c,y,_,d,h,b,g,m,a,t,o,u,i,r,C,s)},e.prototype.PrettifyChanges=function(e){for(var t=0;t<e.length;t++){for(var n=e[t],i=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,o=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,r=n.originalLength>0,s=n.modifiedLength>0;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<o&&(!r||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;var a=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],a)&&(e[t]=a[0],e.splice(t+1,1),t--)}for(t=e.length-1;t>=0;t--){n=e[t],i=0,o=0;if(t>0){var u=e[t-1];u.originalLength>0&&(i=u.originalStart+u.originalLength),u.modifiedLength>0&&(o=u.modifiedStart+u.modifiedLength)}r=n.originalLength>0,s=n.modifiedLength>0;for(var l=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),d=1;;d++){var h=n.originalStart-d,f=n.modifiedStart-d;if(h<i||f<o)break;if(r&&!this.OriginalElementsAreEqual(h,h+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(f,f+n.modifiedLength))break;var p=this._boundaryScore(h,n.originalLength,f,n.modifiedLength);p>c&&(c=p,l=d)}n.originalStart-=l,n.modifiedStart-=l}return e},e.prototype._OriginalIsBoundary=function(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])},e.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])},e.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)},e.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var i=new Array(e.length+t.length-1);return it.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],it.Copy(t,1,i,e.length,t.length-1),i}i=new Array(e.length+t.length);return it.Copy(e,0,i,0,e.length),it.Copy(t,0,i,e.length,t.length),i},e.prototype.ChangesOverlap=function(e,t,n){if(nt.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),nt.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var i=e.originalStart,o=e.originalLength,r=e.modifiedStart,s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new Je(i,o,r,s),!0}return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,t,n,i){if(e>=0&&e<i)return e;var o=t%2==0;return e<0?o===(n%2==0)?0:1:o===((i-n-1)%2==0)?i-1:i-2},e}(),st=n("JYp7");function at(e,t,n,i){return new rt(e,t,n).ComputeDiff(i)}var ut=function(){function e(e){for(var t=[],n=[],i=0,o=e.length;i<o;i++)t[i]=ft(e[i],1),n[i]=pt(e[i],1);this.lines=e,this._startColumns=t,this._endColumns=n}return e.prototype.getElements=function(){for(var e=[],t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e},e.prototype.getStartLineNumber=function(e){return e+1},e.prototype.getEndLineNumber=function(e){return e+1},e.prototype.createCharSequence=function(e,t,n){for(var i=[],o=[],r=[],s=0,a=t;a<=n;a++)for(var u=this.lines[a],l=e?this._startColumns[a]:1,c=e?this._endColumns[a]:u.length+1,d=l;d<c;d++)i[s]=u.charCodeAt(d-1),o[s]=a+1,r[s]=d,s++;return new lt(i,o,r)},e}(),lt=function(){function e(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}return e.prototype.getElements=function(){return this._charCodes},e.prototype.getStartLineNumber=function(e){return this._lineNumbers[e]},e.prototype.getStartColumn=function(e){return this._columns[e]},e.prototype.getEndLineNumber=function(e){return this._lineNumbers[e]},e.prototype.getEndColumn=function(e){return this._columns[e]+1},e}(),ct=function(){function e(e,t,n,i,o,r,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=o,this.modifiedStartColumn=r,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}return e.createFromDiffChange=function(t,n,i){var o,r,s,a,u,l,c,d;return 0===t.originalLength?(o=0,r=0,s=0,a=0):(o=n.getStartLineNumber(t.originalStart),r=n.getStartColumn(t.originalStart),s=n.getEndLineNumber(t.originalStart+t.originalLength-1),a=n.getEndColumn(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=0,l=0,c=0,d=0):(u=i.getStartLineNumber(t.modifiedStart),l=i.getStartColumn(t.modifiedStart),c=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),d=i.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new e(o,r,s,a,u,l,c,d)},e}();var dt=function(){function e(e,t,n,i,o){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=o}return e.createFromDiffResult=function(t,n,i,o,r,s,a){var u,l,c,d,h=void 0;if(0===n.originalLength?(u=i.getStartLineNumber(n.originalStart)-1,l=0):(u=i.getStartLineNumber(n.originalStart),l=i.getEndLineNumber(n.originalStart+n.originalLength-1)),0===n.modifiedLength?(c=o.getStartLineNumber(n.modifiedStart)-1,d=0):(c=o.getStartLineNumber(n.modifiedStart),d=o.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),s&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&r()){var f=i.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),p=o.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),g=at(f,p,r,!0).changes;a&&(g=function(e){if(e.length<=1)return e;for(var t=[e[0]],n=t[0],i=1,o=e.length;i<o;i++){var r=e[i],s=r.originalStart-(n.originalStart+n.originalLength),a=r.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(s,a)<3?(n.originalLength=r.originalStart+r.originalLength-n.originalStart,n.modifiedLength=r.modifiedStart+r.modifiedLength-n.modifiedStart):(t.push(r),n=r)}return t}(g)),h=[];for(var m=0,v=g.length;m<v;m++)h.push(ct.createFromDiffChange(g[m],f,p))}return new e(u,l,c,d,h)},e}(),ht=function(){function e(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new ut(e),this.modified=new ut(t),this.continueLineDiff=gt(n.maxComputationTime),this.continueCharDiff=gt(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}return e.prototype.computeDiff=function(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};var e=at(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){for(var i=[],o=0,r=t.length;o<r;o++)i.push(dt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[o],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:i}}for(var s=[],a=0,u=0,l=(o=-1,t.length);o<l;o++){for(var c=o+1<l?t[o+1]:null,d=c?c.originalStart:this.originalLines.length,h=c?c.modifiedStart:this.modifiedLines.length;a<d&&u<h;){var f=this.originalLines[a],p=this.modifiedLines[u];if(f!==p){for(var g=ft(f,1),m=ft(p,1);g>1&&m>1;){if(f.charCodeAt(g-2)!==p.charCodeAt(m-2))break;g--,m--}(g>1||m>1)&&this._pushTrimWhitespaceCharChange(s,a+1,1,g,u+1,1,m);for(var v=pt(f,1),_=pt(p,1),y=f.length+1,b=p.length+1;v<y&&_<b;){if(f.charCodeAt(v-1)!==f.charCodeAt(_-1))break;v++,_++}(v<y||_<b)&&this._pushTrimWhitespaceCharChange(s,a+1,v,y,u+1,_,b)}a++,u++}c&&(s.push(dt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,c,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),a+=c.originalLength,u+=c.modifiedLength)}return{quitEarly:n,changes:s}},e.prototype._pushTrimWhitespaceCharChange=function(e,t,n,i,o,r,s){if(!this._mergeTrimWhitespaceCharChange(e,t,n,i,o,r,s)){var a=void 0;this.shouldComputeCharChanges&&(a=[new ct(t,n,t,i,o,r,o,s)]),e.push(new dt(t,t,o,o,a))}},e.prototype._mergeTrimWhitespaceCharChange=function(e,t,n,i,o,r,s){var a=e.length;if(0===a)return!1;var u=e[a-1];return 0!==u.originalEndLineNumber&&0!==u.modifiedEndLineNumber&&(u.originalEndLineNumber+1===t&&u.modifiedEndLineNumber+1===o&&(u.originalEndLineNumber=t,u.modifiedEndLineNumber=o,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new ct(t,n,t,i,o,r,o,s)),!0))},e}();function ft(e,t){var n=ne.o(e);return-1===n?t:n+1}function pt(e,t){var n=ne.B(e);return-1===n?t:n+2}function gt(e){if(0===e)return function(){return!0};var t=Date.now();return function(){return Date.now()-t<e}}var mt=n("CZ1j"),vt=function(e,t){this.index=e,this.remainder=t},_t=function(){function e(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return e.prototype.insertValues=function(e,t){e=Object(mt.a)(e);var n=this.values,i=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(e,t){return e=Object(mt.a)(e),t=Object(mt.a)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)},e.prototype.removeValues=function(e,t){e=Object(mt.a)(e),t=Object(mt.a)(t);var n=this.values,i=this.prefixSum;if(e>=n.length)return!1;var o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(e){return e<0?0:(e=Object(mt.a)(e),this._getAccumulatedValue(e))},e.prototype._getAccumulatedValue=function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(var n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]},e.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();for(var t=0,n=this.values.length-1,i=0,o=0,r=0;t<=n;)if(i=t+(n-t)/2|0,e<(r=(o=this.prefixSum[i])-this.values[i]))n=i-1;else{if(!(e>=o))break;t=i+1}return new vt(i,e-r)},e}(),yt=function(){function e(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null}return e.prototype.dispose=function(){this._lines.length=0},e.prototype.getText=function(){return this._lines.join(this._eol)},e.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var t=0,n=e.changes;t<n.length;t++){var i=n[t];this._acceptDeleteRange(i.range),this._acceptInsertText(new H.a(i.range.startLineNumber,i.range.startColumn),i.text)}this._versionId=e.versionId},e.prototype._ensureLineStarts=function(){if(!this._lineStarts){for(var e=this._eol.length,t=this._lines.length,n=new Uint32Array(t),i=0;i<t;i++)n[i]=this._lines[i].length+e;this._lineStarts=new _t(n)}},e.prototype._setLineText=function(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)},e.prototype._acceptDeleteRange=function(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}},e.prototype._acceptInsertText=function(e,t){if(0!==t.length){var n=t.split(/\r\n|\r|\n/);if(1!==n.length){n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);for(var i=new Uint32Array(n.length-1),o=1;o<n.length;o++)this._lines.splice(e.lineNumber+o-1,0,n[o]),i[o-1]=n[o].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,i)}else this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1))}},e}(),bt=n("0JNc"),Ct=n("MXAL"),wt=function(){function e(e,t,n){for(var i=new Uint8Array(e*t),o=0,r=e*t;o<r;o++)i[o]=n;this._data=i,this.rows=e,this.cols=t}return e.prototype.get=function(e,t){return this._data[e*this.cols+t]},e.prototype.set=function(e,t,n){this._data[e*this.cols+t]=n},e}(),St=function(){function e(e){for(var t=0,n=0,i=0,o=e.length;i<o;i++){var r=e[i],s=r[0];(l=r[1])>t&&(t=l),s>n&&(n=s),(c=r[2])>n&&(n=c)}t++,n++;var a=new wt(n,t,0);for(i=0,o=e.length;i<o;i++){var u=e[i],l=(s=u[0],u[1]),c=u[2];a.set(s,l,c)}this._states=a,this._maxCharCode=t}return e.prototype.nextState=function(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)},e}(),Lt=null;var Nt=null;var Ot=function(){function e(){}return e._createLink=function(e,t,n,i,o){var r=o-1;do{var s=t.charCodeAt(r);if(2!==e.get(s))break;r--}while(r>i);if(i>0){var a=t.charCodeAt(i-1),u=t.charCodeAt(r);(40===a&&41===u||91===a&&93===u||123===a&&125===u)&&r--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:r+2},url:t.substring(i,r+1)}},e.computeLinks=function(t,n){void 0===n&&(null===Lt&&(Lt=new St([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),n=Lt);for(var i=function(){if(null===Nt){Nt=new Ct.a(0);for(var e=0;e<" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".length;e++)Nt.set(" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".charCodeAt(e),1);for(e=0;e<".,;".length;e++)Nt.set(".,;".charCodeAt(e),2)}return Nt}(),o=[],r=1,s=t.getLineCount();r<=s;r++){for(var a=t.getLineContent(r),u=a.length,l=0,c=0,d=0,h=1,f=!1,p=!1,g=!1;l<u;){var m=!1,v=a.charCodeAt(l);if(13===h){var _=void 0;switch(v){case 40:f=!0,_=0;break;case 41:_=f?0:1;break;case 91:p=!0,_=0;break;case 93:_=p?0:1;break;case 123:g=!0,_=0;break;case 125:_=g?0:1;break;case 39:_=34===d||96===d?0:1;break;case 34:_=39===d||96===d?0:1;break;case 96:_=39===d||34===d?0:1;break;case 42:_=42===d?1:0;break;case 124:_=124===d?1:0;break;default:_=i.get(v)}1===_&&(o.push(e._createLink(i,a,r,c,l)),m=!0)}else if(12===h){_=void 0;91===v?(p=!0,_=0):_=i.get(v),1===_?m=!0:h=13}else 0===(h=n.nextState(h,v))&&(m=!0);m&&(h=1,f=!1,p=!1,g=!1,c=l+1,d=v),l++}13===h&&o.push(e._createLink(i,a,r,c,u))}return o},e}();function Dt(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?Ot.computeLinks(e):[]}var xt=function(){function e(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}return e.prototype.navigateValueSet=function(e,t,n,i,o){var r;if(e&&t&&(r=this.doNavigateValueSet(t,o)))return{range:e,value:r};if(n&&i&&(r=this.doNavigateValueSet(i,o)))return{range:n,value:r};return null},e.prototype.doNavigateValueSet=function(e,t){var n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)},e.prototype.numberReplace=function(e,t){var n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),i=Number(e),o=parseFloat(e);return isNaN(i)||isNaN(o)||i!==o?null:0!==i||t?(i=Math.floor(i*n),i+=t?n:-n,String(i/n)):null},e.prototype.textReplace=function(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)},e.prototype.valueSetsReplace=function(e,t,n){for(var i=null,o=0,r=e.length;null===i&&o<r;o++)i=this.valueSetReplace(e[o],t,n);return i},e.prototype.valueSetReplace=function(e,t,n){var i=e.indexOf(t);return i>=0?((i+=n?1:-1)<0?i=e.length-1:i%=e.length,e[i]):null},e.INSTANCE=new e,e}(),Et=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),kt=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},It=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},Mt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Et(t,e),Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){return this.getText()},t.prototype.getLinesContent=function(){return this._lines.slice(0)},t.prototype.getLineCount=function(){return this._lines.length},t.prototype.getLineContent=function(e){return this._lines[e-1]},t.prototype.getWordAtPosition=function(e,t){var n=Object(bt.d)(e.column,Object(bt.c)(t),this._lines[e.lineNumber-1],0);return n?new z.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null},t.prototype.createWordIterator=function(e){var t,n,i=this,o=0,r=0,s=[],a=function(){if(r<s.length){var u=n.substring(s[r].start,s[r].end);return r+=1,t?t.value=u:t={done:!1,value:u},t}return o>=i._lines.length?st.b:(n=i._lines[o],s=i._wordenize(n,e),r=0,o+=1,a())};return{next:a}},t.prototype.getLineWords=function(e,t){for(var n=this._lines[e-1],i=[],o=0,r=this._wordenize(n,t);o<r.length;o++){var s=r[o];i.push({word:n.substring(s.start,s.end),startColumn:s.start+1,endColumn:s.end+1})}return i},t.prototype._wordenize=function(e,t){var n,i=[];for(t.lastIndex=0;(n=t.exec(e))&&0!==n[0].length;)i.push({start:n.index,end:n.index+n[0].length});return i},t.prototype.getValueInRange=function(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);var t=this._eol,n=e.startLineNumber-1,i=e.endLineNumber-1,o=[];o.push(this._lines[n].substring(e.startColumn-1));for(var r=n+1;r<i;r++)o.push(this._lines[r]);return o.push(this._lines[i].substring(0,e.endColumn-1)),o.join(t)},t.prototype.offsetAt=function(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)},t.prototype.positionAt=function(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();var t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}},t.prototype._validateRange=function(e){var t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e},t.prototype._validatePosition=function(e){if(!H.a.isIPosition(e))throw new Error("bad position");var t=e.lineNumber,n=e.column,i=!1;if(t<1)t=1,n=1,i=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{var o=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>o&&(n=o,i=!0)}return i?{lineNumber:t,column:n}:e},t}(yt),Tt=function(){function e(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}return e.prototype.dispose=function(){this._models=Object.create(null)},e.prototype._getModel=function(e){return this._models[e]},e.prototype._getModels=function(){var e=this,t=[];return Object.keys(this._models).forEach((function(n){return t.push(e._models[n])})),t},e.prototype.acceptNewModel=function(e){this._models[e.url]=new Mt(j.a.parse(e.url),e.lines,e.EOL,e.versionId)},e.prototype.acceptModelChanged=function(e,t){this._models[e]&&this._models[e].onEvents(t)},e.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},e.prototype.computeDiff=function(e,t,n,i){return kt(this,void 0,void 0,(function(){var o,r,s,a,u,l,c;return It(this,(function(d){return o=this._getModel(e),r=this._getModel(t),o&&r?(s=o.getLinesContent(),a=r.getLinesContent(),u=new ht(s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}),l=u.computeDiff(),c=!(l.changes.length>0)&&this._modelsAreIdentical(o,r),[2,{quitEarly:l.quitEarly,identical:c,changes:l.changes}]):[2,null]}))}))},e.prototype._modelsAreIdentical=function(e,t){var n=e.getLineCount();if(n!==t.getLineCount())return!1;for(var i=1;i<=n;i++){if(e.getLineContent(i)!==t.getLineContent(i))return!1}return!0},e.prototype.computeMoreMinimalEdits=function(t,n){return kt(this,void 0,void 0,(function(){var i,o,r,s,a,u,l,c,d,h,f,p,g,m,v,_,y,b;return It(this,(function(C){if(!(i=this._getModel(t)))return[2,n];for(o=[],r=void 0,n=Object(Xe.n)(n,(function(e,t){return e.range&&t.range?z.a.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)})),s=0,a=n;s<a.length;s++)if(u=a[s],l=u.range,c=u.text,"number"==typeof(d=u.eol)&&(r=d),(!z.a.isEmpty(l)||c)&&(h=i.getValueInRange(l),c=c.replace(/\r\n|\n|\r/g,i.eol),h!==c))if(Math.max(c.length,h.length)>e._diffLimit)o.push({range:l,text:c});else for(f=tt(h,c,!1),p=i.offsetAt(z.a.lift(l).getStartPosition()),g=0,m=f;g<m.length;g++)v=m[g],_=i.positionAt(p+v.originalStart),y=i.positionAt(p+v.originalStart+v.originalLength),b={text:c.substr(v.modifiedStart,v.modifiedLength),range:{startLineNumber:_.lineNumber,startColumn:_.column,endLineNumber:y.lineNumber,endColumn:y.column}},i.getValueInRange(b.range)!==b.text&&o.push(b);return"number"==typeof r&&o.push({eol:r,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),[2,o]}))}))},e.prototype.computeLinks=function(e){return kt(this,void 0,void 0,(function(){var t;return It(this,(function(n){return(t=this._getModel(e))?[2,Dt(t)]:[2,null]}))}))},e.prototype.textualSuggest=function(t,n,i,o){return kt(this,void 0,void 0,(function(){var r,s,a,u,l,c,d,h;return It(this,(function(f){if(!(r=this._getModel(t)))return[2,null];for(s=[],a=new Set,u=new RegExp(i,o),(l=r.getWordAtPosition(n,u))&&a.add(r.getValueInRange(l)),c=r.createWordIterator(u),d=c.next();!d.done&&a.size<=e._suggestionsLimit;d=c.next())h=d.value,a.has(h)||(a.add(h),isNaN(Number(h))&&s.push(h));return[2,s]}))}))},e.prototype.computeWordRanges=function(e,t,n,i){return kt(this,void 0,void 0,(function(){var o,r,s,a,u,l,c,d,h;return It(this,(function(f){if(!(o=this._getModel(e)))return[2,Object.create(null)];for(r=new RegExp(n,i),s=Object.create(null),a=t.startLineNumber;a<t.endLineNumber;a++)for(u=o.getLineWords(a,r),l=0,c=u;l<c.length;l++)d=c[l],isNaN(Number(d.word))&&((h=s[d.word])||(h=[],s[d.word]=h),h.push({startLineNumber:a,startColumn:d.startColumn,endLineNumber:a,endColumn:d.endColumn}));return[2,s]}))}))},e.prototype.navigateValueSet=function(e,t,n,i,o){return kt(this,void 0,void 0,(function(){var r,s,a,u,l;return It(this,(function(c){return(r=this._getModel(e))?(s=new RegExp(i,o),t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1}),a=r.getValueInRange(t),(u=r.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s))?(l=r.getValueInRange(u),[2,xt.INSTANCE.navigateValueSet(t,a,u,l,n)]):[2,null]):[2,null]}))}))},e.prototype.loadForeignModule=function(e,t,n){var i=this,o={host:je.b(n,(function(e,t){return i._host.fhr(e,t)})),getMirrorModels:function(){return i._getModels()}};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,t),Promise.resolve(je.c(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))},e.prototype.fmr=function(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}},e._diffLimit=1e5,e._suggestionsLimit=1e4,e}();"function"==typeof importScripts&&(ie.b.monaco=G());var At,Rt=n("G2kB"),Pt=Object(ue.c)("textResourceConfigurationService"),Ft=Object(ue.c)("textResourcePropertiesService"),Vt=Object(ue.c)("logService");!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Info=2]="Info",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.Off=6]="Off"}(At||(At={}));var Wt=function(){function e(){}return e.prototype.getLevel=function(){return At.Info},e.prototype.trace=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n]},e.prototype.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n]},e.prototype.dispose=function(){},e}(),Bt=n("5Y4S"),jt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ht=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},zt=function(e,t){return function(n,i){t(n,i,e)}},Ut=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},Kt=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}};function qt(e,t){var n=e.getModel(t);return!!n&&!n.isTooLargeForSyncing()}var Gt=function(e){function t(t,n,i){var o=e.call(this)||this;return o._modelService=t,o._workerManager=o._register(new Zt(o._modelService)),o._logService=i,o._register(Re.r.register("*",{provideLinks:function(e,t){return qt(o._modelService,e.uri)?o._workerManager.withWorker().then((function(t){return t.computeLinks(e.uri)})).then((function(e){return e&&{links:e}})):Promise.resolve({links:[]})}})),o._register(Re.d.register("*",new Yt(o._workerManager,n,o._modelService))),o}return jt(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.canComputeDiff=function(e,t){return qt(this._modelService,e)&&qt(this._modelService,t)},t.prototype.computeDiff=function(e,t,n,i){return this._workerManager.withWorker().then((function(o){return o.computeDiff(e,t,n,i)}))},t.prototype.computeMoreMinimalEdits=function(e,t){var n=this;if(Object(Xe.m)(t)){if(!qt(this._modelService,e))return Promise.resolve(t);var i=Bt.a.create(!0),o=this._workerManager.withWorker().then((function(n){return n.computeMoreMinimalEdits(e,t)}));return o.finally((function(){return n._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),i.elapsed())})),o}return Promise.resolve(void 0)},t.prototype.canNavigateValueSet=function(e){return qt(this._modelService,e)},t.prototype.navigateValueSet=function(e,t,n){return this._workerManager.withWorker().then((function(i){return i.navigateValueSet(e,t,n)}))},t.prototype.canComputeWordRanges=function(e){return qt(this._modelService,e)},t.prototype.computeWordRanges=function(e,t){return this._workerManager.withWorker().then((function(n){return n.computeWordRanges(e,t)}))},t=Ht([zt(0,Rt.a),zt(1,Pt),zt(2,Vt)],t)}(le.a),Yt=function(){function e(e,t,n){this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=n}return e.prototype.provideCompletionItems=function(e,t){return Ut(this,void 0,void 0,(function(){var n,i,o,r;return Kt(this,(function(s){switch(s.label){case 0:return this._configurationService.getValue(e.uri,t,"editor").wordBasedSuggestions&&qt(this._modelService,e.uri)?(n=e.getWordAtPosition(t),i=n?new z.a(t.lineNumber,n.startColumn,t.lineNumber,n.endColumn):z.a.fromPositions(t),o=i.setEndPosition(t.lineNumber,t.column),[4,this._workerManager.withWorker()]):[2,void 0];case 1:return[4,s.sent().textualSuggest(e.uri,t)];case 2:return(r=s.sent())?[2,{suggestions:r.map((function(e){return{kind:18,label:e,insertText:e,range:{insert:o,replace:i}}}))}]:[2,void 0]}}))}))},e}(),Zt=function(e){function t(t){var n=e.call(this)||this;return n._modelService=t,n._editorWorkerClient=null,n._lastWorkerUsedTime=(new Date).getTime(),n._register(new We.c).cancelAndSet((function(){return n._checkStopIdleWorker()}),Math.round(15e4)),n._register(n._modelService.onModelRemoved((function(e){return n._checkStopEmptyWorker()}))),n}return jt(t,e),t.prototype.dispose=function(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),e.prototype.dispose.call(this)},t.prototype._checkStopEmptyWorker=function(){this._editorWorkerClient&&(0===this._modelService.getModels().length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null))},t.prototype._checkStopIdleWorker=function(){this._editorWorkerClient&&((new Date).getTime()-this._lastWorkerUsedTime>3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null))},t.prototype.withWorker=function(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new $t(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)},t}(le.a),Xt=function(e){function t(t,n,i){var o=e.call(this)||this;if(o._syncedModels=Object.create(null),o._syncedModelsLastUsedTime=Object.create(null),o._proxy=t,o._modelService=n,!i){var r=new We.c;r.cancelAndSet((function(){return o._checkStopModelSync()}),Math.round(3e4)),o._register(r)}return o}return jt(t,e),t.prototype.dispose=function(){for(var t in this._syncedModels)Object(le.e)(this._syncedModels[t]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),e.prototype.dispose.call(this)},t.prototype.ensureSyncedResources=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t],o=i.toString();this._syncedModels[o]||this._beginModelSync(i),this._syncedModels[o]&&(this._syncedModelsLastUsedTime[o]=(new Date).getTime())}},t.prototype._checkStopModelSync=function(){var e=(new Date).getTime(),t=[];for(var n in this._syncedModelsLastUsedTime){e-this._syncedModelsLastUsedTime[n]>6e4&&t.push(n)}for(var i=0,o=t;i<o.length;i++){var r=o[i];this._stopModelSync(r)}},t.prototype._beginModelSync=function(e){var t=this,n=this._modelService.getModel(e);if(n&&!n.isTooLargeForSyncing()){var i=e.toString();this._proxy.acceptNewModel({url:n.uri.toString(),lines:n.getLinesContent(),EOL:n.getEOL(),versionId:n.getVersionId()});var o=new le.b;o.add(n.onDidChangeContent((function(e){t._proxy.acceptModelChanged(i.toString(),e)}))),o.add(n.onWillDispose((function(){t._stopModelSync(i)}))),o.add(Object(le.f)((function(){t._proxy.acceptRemovedModel(i)}))),this._syncedModels[i]=o}},t.prototype._stopModelSync=function(e){var t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],Object(le.e)(t)},t}(le.a),Jt=function(){function e(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}return e.prototype.dispose=function(){this._instance.dispose()},e.prototype.getProxyObject=function(){return this._proxyObj},e}(),Qt=function(){function e(e){this._workerClient=e}return e.prototype.fhr=function(e,t){return this._workerClient.fhr(e,t)},e}(),$t=function(e){function t(t,n,i){var o=e.call(this)||this;return o._modelService=t,o._keepIdleModels=n,o._workerFactory=new Ye(i),o._worker=null,o._modelManager=null,o}return jt(t,e),t.prototype.fhr=function(e,t){throw new Error("Not implemented!")},t.prototype._getOrCreateWorker=function(){if(!this._worker)try{this._worker=this._register(new qe(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new Qt(this)))}catch(e){Ue(e),this._worker=new Jt(new Tt(new Qt(this),null))}return this._worker},t.prototype._getProxy=function(){var e=this;return this._getOrCreateWorker().getProxyObject().then(void 0,(function(t){return Ue(t),e._worker=new Jt(new Tt(new Qt(e),null)),e._getOrCreateWorker().getProxyObject()}))},t.prototype._getOrCreateModelManager=function(e){return this._modelManager||(this._modelManager=this._register(new Xt(e,this._modelService,this._keepIdleModels))),this._modelManager},t.prototype._withSyncedResources=function(e){var t=this;return this._getProxy().then((function(n){return t._getOrCreateModelManager(n).ensureSyncedResources(e),n}))},t.prototype.computeDiff=function(e,t,n,i){return this._withSyncedResources([e,t]).then((function(o){return o.computeDiff(e.toString(),t.toString(),n,i)}))},t.prototype.computeMoreMinimalEdits=function(e,t){return this._withSyncedResources([e]).then((function(n){return n.computeMoreMinimalEdits(e.toString(),t)}))},t.prototype.computeLinks=function(e){return this._withSyncedResources([e]).then((function(t){return t.computeLinks(e.toString())}))},t.prototype.textualSuggest=function(e,t){var n=this;return this._withSyncedResources([e]).then((function(i){var o=n._modelService.getModel(e);if(!o)return null;var r=Ze.a.getWordDefinition(o.getLanguageIdentifier().id),s=r.source,a=Object(ne.E)(r);return i.textualSuggest(e.toString(),t,s,a)}))},t.prototype.computeWordRanges=function(e,t){var n=this;return this._withSyncedResources([e]).then((function(i){var o=n._modelService.getModel(e);if(!o)return Promise.resolve(null);var r=Ze.a.getWordDefinition(o.getLanguageIdentifier().id),s=r.source,a=Object(ne.E)(r);return i.computeWordRanges(e.toString(),t,s,a)}))},t.prototype.navigateValueSet=function(e,t,n){var i=this;return this._withSyncedResources([e]).then((function(o){var r=i._modelService.getModel(e);if(!r)return null;var s=Ze.a.getWordDefinition(r.getLanguageIdentifier().id),a=s.source,u=Object(ne.E)(s);return o.navigateValueSet(e.toString(),t,n,a,u)}))},t}(le.a),en=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();var tn,nn=function(e){function t(t,n){var i=e.call(this,t,n.keepIdleModels||!1,n.label)||this;return i._foreignModuleId=n.moduleId,i._foreignModuleCreateData=n.createData||null,i._foreignModuleHost=n.host||null,i._foreignProxy=null,i}return en(t,e),t.prototype.fhr=function(e,t){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[e])return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(e){return Promise.reject(e)}},t.prototype._getForeignProxy=function(){var e=this;return this._foreignProxy||(this._foreignProxy=this._getProxy().then((function(t){var n=e._foreignModuleHost?je.c(e._foreignModuleHost):[];return t.loadForeignModule(e._foreignModuleId,e._foreignModuleCreateData,n).then((function(n){e._foreignModuleCreateData=null;for(var i=function(e,n){return t.fmr(e,n)},o=function(e,t){return function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)}},r={},s=0,a=n;s<a.length;s++){var u=a[s];r[u]=o(u,i)}return r}))}))),this._foreignProxy},t.prototype.getProxy=function(){return this._getForeignProxy()},t.prototype.withSyncedResources=function(e){var t=this;return this._withSyncedResources(e).then((function(e){return t.getProxy()}))},t}($t),on=n("4bUh");tn="undefined"!=typeof TextDecoder?function(e){return new rn(e)}:function(e){return new sn};var rn=function(){function e(e){this._decoder=new TextDecoder("UTF-16LE"),this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}return e.prototype.reset=function(){this._completedStrings=null,this._bufferLength=0},e.prototype.build=function(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()},e.prototype._buildBuffer=function(){if(0===this._bufferLength)return"";var e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return this._decoder.decode(e)},e.prototype._flushBuffer=function(){var e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e},e.prototype.write1=function(e){var t=this._capacity-this._bufferLength;t<=1&&(0===t||ne.x(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e},e.prototype.appendASCII=function(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e},e.prototype.appendASCIIString=function(e){var t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(var n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)},e}(),sn=function(){function e(){this._pieces=[],this._piecesLen=0}return e.prototype.reset=function(){this._pieces=[],this._piecesLen=0},e.prototype.build=function(){return this._pieces.join("")},e.prototype.write1=function(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)},e.prototype.appendASCII=function(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)},e.prototype.appendASCIIString=function(e){this._pieces[this._piecesLen++]=e},e}(),an=function(){function e(e,t,n,i){this.startColumn=e,this.endColumn=t,this.className=n,this.type=i}return e._equals=function(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type},e.equalsArr=function(t,n){var i=t.length;if(i!==n.length)return!1;for(var o=0;o<i;o++)if(!e._equals(t[o],n[o]))return!1;return!0},e.filter=function(t,n,i,o){if(0===t.length)return[];for(var r=[],s=0,a=0,u=t.length;a<u;a++){var l=t[a],c=l.range;if(!(c.endLineNumber<n||c.startLineNumber>n)&&(!c.isEmpty()||0!==l.type&&3!==l.type)){var d=c.startLineNumber===n?c.startColumn:i,h=c.endLineNumber===n?c.endColumn:o;r[s++]=new e(d,h,l.inlineClassName,l.type)}}return r},e.compare=function(e,t){return e.startColumn===t.startColumn?e.endColumn===t.endColumn?e.className<t.className?-1:e.className>t.className?1:0:e.endColumn-t.endColumn:e.startColumn-t.startColumn},e}(),un=function(e,t,n){this.startOffset=e,this.endOffset=t,this.className=n},ln=function(){function e(){this.stopOffsets=[],this.classNames=[],this.count=0}return e.prototype.consumeLowerThan=function(e,t,n){for(;this.count>0&&this.stopOffsets[0]<e;){for(var i=0;i+1<this.count&&this.stopOffsets[i]===this.stopOffsets[i+1];)i++;n.push(new un(t,this.stopOffsets[i],this.classNames.join(" "))),t=this.stopOffsets[i]+1,this.stopOffsets.splice(0,i+1),this.classNames.splice(0,i+1),this.count-=i+1}return this.count>0&&t<e&&(n.push(new un(t,e-1,this.classNames.join(" "))),t=e),t},e.prototype.insert=function(e,t){if(0===this.count||this.stopOffsets[this.count-1]<=e)this.stopOffsets.push(e),this.classNames.push(t);else for(var n=0;n<this.count;n++)if(this.stopOffsets[n]>=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t);break}this.count++},e}(),cn=function(){function e(){}return e.normalize=function(e,t){if(0===t.length)return[];for(var n=[],i=new ln,o=0,r=0,s=t.length;r<s;r++){var a=t[r],u=a.startColumn,l=a.endColumn,c=a.className;if(u>1){var d=e.charCodeAt(u-2);ne.x(d)&&u--}if(l>1){d=e.charCodeAt(l-2);ne.x(d)&&l--}var h=u-1,f=l-2;o=i.consumeLowerThan(h,o,n),0===i.count&&(o=h),i.insert(f,c)}return i.consumeLowerThan(1073741824,o,n),n},e}(),dn=function(e,t){this.endIndex=e,this.type=t},hn=function(){function e(e,t){this.startOffset=e,this.endOffset=t}return e.prototype.equals=function(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset},e}(),fn=function(){function e(e,t,n,i,o,r,s,a,u,l,c,d,h,f,p,g,m,v){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=i,this.isBasicASCII=o,this.containsRTL=r,this.fauxIndentLength=s,this.lineTokens=a,this.lineDecorations=u,this.tabSize=l,this.startVisibleColumn=c,this.spaceWidth=d,this.middotWidth=h,this.stopRenderingLineAfter=f,this.renderWhitespace="all"===p?3:"boundary"===p?1:"selection"===p?2:0,this.renderControlCharacters=g,this.fontLigatures=m,this.selectionsOnLine=v&&v.sort((function(e,t){return e.startOffset<t.startOffset?-1:1}))}return e.prototype.sameSelection=function(e){if(null===this.selectionsOnLine)return null===e;if(null===e)return!1;if(e.length!==this.selectionsOnLine.length)return!1;for(var t=0;t<this.selectionsOnLine.length;t++)if(!this.selectionsOnLine[t].equals(e[t]))return!1;return!0},e.prototype.equals=function(e){return this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineContent===e.lineContent&&this.continuesWithWrappedLine===e.continuesWithWrappedLine&&this.isBasicASCII===e.isBasicASCII&&this.containsRTL===e.containsRTL&&this.fauxIndentLength===e.fauxIndentLength&&this.tabSize===e.tabSize&&this.startVisibleColumn===e.startVisibleColumn&&this.spaceWidth===e.spaceWidth&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.fontLigatures===e.fontLigatures&&an.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)&&this.sameSelection(e.selectionsOnLine)},e}(),pn=function(){function e(e,t){this.length=e,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}return e.getPartIndex=function(e){return(4294901760&e)>>>16},e.getCharIndex=function(e){return(65535&e)>>>0},e.prototype.setPartData=function(e,t,n,i){var o=(t<<16|n<<0)>>>0;this._data[e]=o,this._absoluteOffsets[e]=i+n},e.prototype.getAbsoluteOffsets=function(){return this._absoluteOffsets},e.prototype.charOffsetToPartData=function(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]},e.prototype.partDataToCharOffset=function(t,n,i){if(0===this.length)return 0;for(var o=(t<<16|i<<0)>>>0,r=0,s=this.length-1;r+1<s;){var a=r+s>>>1,u=this._data[a];if(u===o)return a;u>o?s=a:r=a}if(r===s)return r;var l=this._data[r],c=this._data[s];if(l===o)return r;if(c===o)return s;var d=e.getPartIndex(l);return i-e.getCharIndex(l)<=(d!==e.getPartIndex(c)?n:e.getCharIndex(c))-i?r:s},e}(),gn=function(e,t,n){this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n};function mn(e,t){if(0===e.lineContent.length){var n=0,i="<span><span> </span></span>";if(e.lineDecorations.length>0){for(var o=[],r=[],s=0,a=e.lineDecorations.length;s<a;s++){var u=e.lineDecorations[s];1===u.type&&(o.push(e.lineDecorations[s].className),n|=1),2===u.type&&(r.push(e.lineDecorations[s].className),n|=2)}if(0!==n)i="<span>"+(o.length>0?'<span class="'+o.join(" ")+'"></span>':"")+(r.length>0?'<span class="'+r.join(" ")+'"></span>':"")+"</span>"}return t.appendASCIIString(i),new gn(new pn(0,0),!1,n)}return function(e,t){var n=e.fontIsMonospace,i=e.canUseHalfwidthRightwardsArrow,o=e.containsForeignElements,r=e.lineContent,s=e.len,a=e.isOverflowing,u=e.parts,l=e.fauxIndentLength,c=e.tabSize,d=e.startVisibleColumn,h=e.containsRTL,f=e.spaceWidth,p=e.middotWidth,g=e.renderWhitespace,m=e.renderControlCharacters,v=p>f?11825:183,_=new pn(s+1,u.length),y=0,b=d,C=0,w=0,S=0;t.appendASCIIString("<span>");for(var L=0,N=u.length;L<N;L++){S+=w;var O=u[L],D=O.endIndex,x=O.type,E=0!==g&&x.indexOf("vs-whitespace")>=0;if(C=0,t.appendASCIIString('<span class="'),t.appendASCIIString(x),t.appendASCII(34),E){for(var k=0,I=y,M=b;I<D;I++){var T=r.charCodeAt(I);k+=A=0|(9===T?c-M%c:1),I>=l&&(M+=A)}if(!n)!("vs-whitespace"===x)&&o||(t.appendASCIIString(' style="display:inline-block;width:'),t.appendASCIIString(String(f*k)),t.appendASCIIString('px"'));for(t.appendASCII(62);y<D;y++){_.setPartData(y,L,C,S);T=r.charCodeAt(y);var A=void 0;if(9===T){A=c-b%c|0,!i||A>1?t.write1(8594):t.write1(65515);for(var R=2;R<=A;R++)t.write1(160)}else A=1,t.write1(v);C+=A,y>=l&&(b+=A)}w=k}else{k=0;for(h&&t.appendASCIIString(' dir="ltr"'),t.appendASCII(62);y<D;y++){_.setPartData(y,L,C,S);T=r.charCodeAt(y);var P=1;A=1;switch(T){case 9:A=P=c-b%c;for(R=1;R<=P;R++)t.write1(160);break;case 32:t.write1(160);break;case 60:t.appendASCIIString("<");break;case 62:t.appendASCIIString(">");break;case 38:t.appendASCIIString("&");break;case 0:t.appendASCIIString("�");break;case 65279:case 8232:t.write1(65533);break;default:ne.w(T)&&A++,m&&T<32?t.write1(9216+T):t.write1(T)}C+=P,k+=P,y>=l&&(b+=A)}w=k}t.appendASCIIString("</span>")}_.setPartData(s,u.length-1,C,S),a&&t.appendASCIIString("<span>…</span>");return t.appendASCIIString("</span>"),new gn(_,h,o)}(function(e){var t,n,i=e.useMonospaceOptimizations,o=e.lineContent;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter<o.length?(t=!0,n=e.stopRenderingLineAfter):(t=!1,n=o.length);var r=function(e,t,n){var i=[],o=0;t>0&&(i[o++]=new dn(t,""));for(var r=0,s=e.getCount();r<s;r++){var a=e.getEndOffset(r);if(!(a<=t)){var u=e.getClassName(r);if(a>=n){i[o++]=new dn(n,u);break}i[o++]=new dn(a,u)}}return i}(e.lineTokens,e.fauxIndentLength,n);(3===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine)&&(r=function(e,t,n,i,o,r,s,a,u,l){var c,d=[],h=0,f=0,p=i[f].type,g=i[f].endIndex,m=i.length,v=ne.o(e);-1===v?(v=t,c=t):c=ne.B(e);for(var _=!1,y=0,b=u&&u[y],C=s%r,w=o;w<t;w++){var S=e.charCodeAt(w);b&&w>=b.endOffset&&(y++,b=u&&u[y]);var L=void 0;if(w<v||w>c)L=!0;else if(9===S)L=!0;else if(32===S)if(l)if(_)L=!0;else{var N=w+1<t?e.charCodeAt(w+1):0;L=32===N||9===N}else L=!0;else L=!1;L&&u&&(L=!!b&&b.startOffset<=w&&b.endOffset>w),_?(!L||!a&&C>=r)&&(d[h++]=new dn(w,"vs-whitespace"),C%=r):(w===g||L&&w>o)&&(d[h++]=new dn(w,p),C%=r),9===S?C=r:ne.w(S)?C+=2:C++,_=L,w===g&&++f<m&&(p=i[f].type,g=i[f].endIndex)}var O=!1;if(_)if(n&&l){var D=t>0?e.charCodeAt(t-1):0,x=t>1?e.charCodeAt(t-2):0;32===D&&32!==x&&9!==x||(O=!0)}else O=!0;return d[h++]=new dn(t,O?"vs-whitespace":p),d}(o,n,e.continuesWithWrappedLine,r,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,i,e.selectionsOnLine,1===e.renderWhitespace));var s=0;if(e.lineDecorations.length>0){for(var a=0,u=e.lineDecorations.length;a<u;a++){var l=e.lineDecorations[a];3===l.type||1===l.type?s|=1:2===l.type&&(s|=2)}r=function(e,t,n,i){i.sort(an.compare);for(var o=cn.normalize(e,i),r=o.length,s=0,a=[],u=0,l=0,c=0,d=n.length;c<d;c++){for(var h=n[c],f=h.endIndex,p=h.type;s<r&&o[s].startOffset<f;){var g=o[s];if(g.startOffset>l&&(l=g.startOffset,a[u++]=new dn(l,p)),!(g.endOffset+1<=f)){l=f,a[u++]=new dn(l,p+" "+g.className);break}l=g.endOffset+1,a[u++]=new dn(l,p+" "+g.className),s++}f>l&&(l=f,a[u++]=new dn(l,p))}var m=n[n.length-1].endIndex;if(s<r&&o[s].startOffset===m){for(var v=[];s<r&&o[s].startOffset===m;)v.push(o[s].className),s++;a[u++]=new dn(l,v.join(" "))}return a}(o,0,r,e.lineDecorations)}e.containsRTL||(r=function(e,t,n){var i=0,o=[],r=0;if(n)for(var s=0,a=t.length;s<a;s++){var u=(f=t[s]).endIndex;if(i+50<u){for(var l=f.type,c=-1,d=i,h=i;h<u;h++)32===e.charCodeAt(h)&&(c=h),-1!==c&&h-d>=50&&(o[r++]=new dn(c+1,l),d=c+1,c=-1);d!==u&&(o[r++]=new dn(u,l))}else o[r++]=f;i=u}else for(s=0,a=t.length;s<a;s++){var f=t[s],p=(u=f.endIndex)-i;if(p>50){l=f.type;var g=Math.ceil(p/50);for(h=1;h<g;h++){var m=i+50*h;o[r++]=new dn(m,l)}o[r++]=new dn(u,l)}else o[r++]=f;i=u}return o}(o,r,!e.isBasicASCII||e.fontLigatures));return new yn(i,e.canUseHalfwidthRightwardsArrow,o,n,t,r,s,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,e.containsRTL,e.spaceWidth,e.middotWidth,e.renderWhitespace,e.renderControlCharacters)}(e),t)}var vn=function(e,t,n,i){this.characterMapping=e,this.html=t,this.containsRTL=n,this.containsForeignElements=i};function _n(e){var t=tn(1e4),n=mn(e,t);return new vn(n.characterMapping,t.build(),n.containsRTL,n.containsForeignElements)}var yn=function(e,t,n,i,o,r,s,a,u,l,c,d,h,f,p){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.len=i,this.isOverflowing=o,this.parts=r,this.containsForeignElements=s,this.fauxIndentLength=a,this.tabSize=u,this.startVisibleColumn=l,this.containsRTL=c,this.spaceWidth=d,this.middotWidth=h,this.renderWhitespace=f,this.renderControlCharacters=p};var bn=function(e,t,n,i){this.top=0|e,this.left=0|t,this.width=0|n,this.height=0|i},Cn=function(e,t){this.tabSize=e,this.data=t},wn=function(e,t,n,i,o,r){this.content=e,this.continuesWithWrappedLine=t,this.minColumn=n,this.maxColumn=i,this.startVisibleColumn=o,this.tokens=r},Sn=function(){function e(t,n,i,o,r,s,a,u,l,c){this.minColumn=t,this.maxColumn=n,this.content=i,this.continuesWithWrappedLine=o,this.isBasicASCII=e.isBasicASCII(i,s),this.containsRTL=e.containsRTL(i,this.isBasicASCII,r),this.tokens=a,this.inlineDecorations=u,this.tabSize=l,this.startVisibleColumn=c}return e.isBasicASCII=function(e,t){return!t||ne.t(e)},e.containsRTL=function(e,t,n){return!(t||!n)&&ne.g(e)},e}(),Ln=function(e,t,n){this.range=e,this.inlineClassName=t,this.type=n},Nn=function(e,t){this.range=e,this.options=t};function On(e){return!function(e){return Array.isArray(e)}(e)}function Dn(e){return"string"==typeof e}function xn(e){return!Dn(e)}function En(e){return!e}function kn(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function In(e){return e.replace(/[&<>'"_]/g,"-")}function Mn(e,t){return new Error(e.languageId+": "+t)}function Tn(e,t,n,i,o){var r=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,(function(t,s,a,u,l,c,d,h,f){return En(a)?En(u)?!En(l)&&l<i.length?kn(e,i[l]):!En(d)&&e&&"string"==typeof e[d]?e[d]:(null===r&&(r=o.split(".")).unshift(o),!En(c)&&c<r.length?kn(e,r[c]):""):kn(e,n):"$"}))}function An(e,t){for(var n=t;n&&n.length>0;){var i=e.tokenizer[n];if(i)return i;var o=n.lastIndexOf(".");n=o<0?null:n.substr(0,o)}return null}var Rn=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new Pn(e,t);var n=Pn.getStackElementId(e);n.length>0&&(n+="|"),n+=t;var i=this._entries[n];return i||(i=new Pn(e,t),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),Pn=function(){function e(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}return e.getStackElementId=function(e){for(var t="";null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t},e._equals=function(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t},e.prototype.equals=function(t){return e._equals(this,t)},e.prototype.push=function(e){return Rn.create(this,e)},e.prototype.pop=function(){return this.parent},e.prototype.popall=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.switchTo=function(e){return Rn.create(this.parent,e)},e}(),Fn=function(){function e(e,t){this.modeId=e,this.state=t}return e.prototype.equals=function(e){return this.modeId===e.modeId&&this.state.equals(e.state)},e.prototype.clone=function(){return this.state.clone()===this.state?this:new e(this.modeId,this.state)},e}(),Vn=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==t)return new Wn(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new Wn(e,t);var n=Pn.getStackElementId(e),i=this._entries[n];return i||(i=new Wn(e,null),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),Wn=function(){function e(e,t){this.stack=e,this.embeddedModeData=t}return e.prototype.clone=function(){return(this.embeddedModeData?this.embeddedModeData.clone():null)===this.embeddedModeData?this:Vn.create(this.stack,this.embeddedModeData)},e.prototype.equals=function(t){return t instanceof e&&(!!this.stack.equals(t.stack)&&(null===this.embeddedModeData&&null===t.embeddedModeData||null!==this.embeddedModeData&&null!==t.embeddedModeData&&this.embeddedModeData.equals(t.embeddedModeData)))},e}(),Bn=function(){function e(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}return e.prototype.enterMode=function(e,t){this._language=t},e.prototype.emit=function(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._language||(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new K.a(e,t,this._language)))},e.prototype.nestedModeTokenize=function(e,t,n){var i=t.modeId,o=t.state,r=Re.y.get(i);if(!r)return this.enterMode(n,i),this.emit(n,""),o;var s=r.tokenize(e,o,n);return this._tokens=this._tokens.concat(s.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,s.endState},e.prototype.finalize=function(e){return new K.b(this._tokens,e)},e}(),jn=function(){function e(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}return e.prototype.enterMode=function(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id},e.prototype.emit=function(e,t){var n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))},e._merge=function(e,t,n){var i=null!==e?e.length:0,o=t.length,r=null!==n?n.length:0;if(0===i&&0===o&&0===r)return new Uint32Array(0);if(0===i&&0===o)return n;if(0===o&&0===r)return e;var s=new Uint32Array(i+o+r);null!==e&&s.set(e);for(var a=0;a<o;a++)s[i+a]=t[a];return null!==n&&s.set(n,i+o),s},e.prototype.nestedModeTokenize=function(t,n,i){var o=n.modeId,r=n.state,s=Re.y.get(o);if(!s)return this.enterMode(i,o),this.emit(i,""),r;var a=s.tokenize2(t,r,i);return this._prependTokens=e._merge(this._prependTokens,this._tokens,a.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,a.endState},e.prototype.finalize=function(t){return new K.c(e._merge(this._prependTokens,this._tokens,null),t)},e}(),Hn=function(){function e(e,t,n,i){var o=this;this._modeService=e,this._standaloneThemeService=t,this._modeId=n,this._lexer=i,this._embeddedModes=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);var r=!1;this._tokenizationRegistryListener=Re.y.onDidChange((function(e){if(!r){for(var t=!1,n=0,i=e.changedLanguages.length;n<i;n++){var s=e.changedLanguages[n];if(o._embeddedModes[s]){t=!0;break}}t&&(r=!0,Re.y.fire([o._modeId]),r=!1)}}))}return e.prototype.dispose=function(){this._tokenizationRegistryListener.dispose()},e.prototype.getLoadStatus=function(){var t=[];for(var n in this._embeddedModes){var i=Re.y.get(n);if(i){if(i instanceof e){var o=i.getLoadStatus();!1===o.loaded&&t.push(o.promise)}}else{var r=Re.y.getPromise(n);r&&t.push(r)}}return 0===t.length?{loaded:!0}:{loaded:!1,promise:Promise.all(t).then((function(e){}))}},e.prototype.getInitialState=function(){var e=Rn.create(null,this._lexer.start);return Vn.create(e,null)},e.prototype.tokenize=function(e,t,n){var i=new Bn,o=this._tokenize(e,t,n,i);return i.finalize(o)},e.prototype.tokenize2=function(e,t,n){var i=new jn(this._modeService,this._standaloneThemeService.getTheme().tokenTheme),o=this._tokenize(e,t,n,i);return i.finalize(o)},e.prototype._tokenize=function(e,t,n,i){return t.embeddedModeData?this._nestedTokenize(e,t,n,i):this._myTokenize(e,t,n,i)},e.prototype._findLeavingNestedModeOffset=function(e,t){var n=this._lexer.tokenizer[t.stack.state];if(!n&&!(n=An(this._lexer,t.stack.state)))throw Mn(this._lexer,"tokenizer state is not defined: "+t.stack.state);for(var i=-1,o=!1,r=0,s=n;r<s.length;r++){var a=s[r];if(xn(a.action)&&"@pop"===a.action.nextEmbedded){o=!0;var u=a.regex,l=a.regex.source;"^(?:"===l.substr(0,4)&&")"===l.substr(l.length-1,1)&&(u=new RegExp(l.substr(4,l.length-5),u.ignoreCase?"i":""));var c=e.search(u);-1===c||0!==c&&a.matchOnlyAtLineStart||(-1===i||c<i)&&(i=c)}}if(!o)throw Mn(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+t.stack.state);return i},e.prototype._nestedTokenize=function(e,t,n,i){var o=this._findLeavingNestedModeOffset(e,t);if(-1===o){var r=i.nestedModeTokenize(e,t.embeddedModeData,n);return Vn.create(t.stack,new Fn(t.embeddedModeData.modeId,r))}var s=e.substring(0,o);s.length>0&&i.nestedModeTokenize(s,t.embeddedModeData,n);var a=e.substring(o);return this._myTokenize(a,t,n+o,i)},e.prototype._safeRuleName=function(e){return e?e.name:"(unknown)"},e.prototype._myTokenize=function(e,t,n,i){i.enterMode(n,this._modeId);for(var o,r,s=e.length,a=t.embeddedModeData,u=t.stack,l=0,c=null,d=!0;d||l<s;){var h=l,f=u.depth,p=c?c.groups.length:0,g=u.state,m=null,v=null,_=null,y=null,b=null;if(c){m=c.matches;var C=c.groups.shift();v=C.matched,_=C.action,y=c.rule,0===c.groups.length&&(c=null)}else{if(!d&&l>=s)break;d=!1;var w=this._lexer.tokenizer[g];if(!w&&!(w=An(this._lexer,g)))throw Mn(this._lexer,"tokenizer state is not defined: "+g);for(var S=e.substr(l),L=0,N=w;L<N.length;L++){var O=N[L];if((0===l||!O.matchOnlyAtLineStart)&&(m=S.match(O.regex))){v=m[0],_=O.action;break}}}if(m||(m=[""],v=""),_||(l<s&&(v=(m=[e.charAt(l)])[0]),_=this._lexer.defaultToken),null===v)break;for(l+=v.length;On(_)&&xn(_)&&_.test;)_=_.test(v,m,g,l===s);var D=null;if("string"==typeof _||Array.isArray(_))D=_;else if(_.group)D=_.group;else if(null!==_.token&&void 0!==_.token){if(D=_.tokenSubst?Tn(this._lexer,_.token,v,m,g):_.token,_.nextEmbedded)if("@pop"===_.nextEmbedded){if(!a)throw Mn(this._lexer,"cannot pop embedded mode if not inside one");a=null}else{if(a)throw Mn(this._lexer,"cannot enter embedded mode from within an embedded mode");b=Tn(this._lexer,_.nextEmbedded,v,m,g)}if(_.goBack&&(l=Math.max(0,l-_.goBack)),_.switchTo&&"string"==typeof _.switchTo){if("@"===(x=Tn(this._lexer,_.switchTo,v,m,g))[0]&&(x=x.substr(1)),!An(this._lexer,x))throw Mn(this._lexer,"trying to switch to a state '"+x+"' that is undefined in rule: "+this._safeRuleName(y));u=u.switchTo(x)}else{if(_.transform&&"function"==typeof _.transform)throw Mn(this._lexer,"action.transform not supported");if(_.next)if("@push"===_.next){if(u.depth>=this._lexer.maxStack)throw Mn(this._lexer,"maximum tokenizer stack size reached: ["+u.state+","+u.parent.state+",...]");u=u.push(g)}else if("@pop"===_.next){if(u.depth<=1)throw Mn(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(y));u=u.pop()}else if("@popall"===_.next)u=u.popall();else{var x;if("@"===(x=Tn(this._lexer,_.next,v,m,g))[0]&&(x=x.substr(1)),!An(this._lexer,x))throw Mn(this._lexer,"trying to set a next state '"+x+"' that is undefined in rule: "+this._safeRuleName(y));u=u.push(x)}}_.log&&"string"==typeof _.log&&(o=this._lexer,r=this._lexer.languageId+": "+Tn(this._lexer,_.log,v,m,g),console.log(o.languageId+": "+r))}if(null===D)throw Mn(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(y));if(Array.isArray(D)){if(c&&c.groups.length>0)throw Mn(this._lexer,"groups cannot be nested: "+this._safeRuleName(y));if(m.length!==D.length+1)throw Mn(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(y));for(var E=0,k=1;k<m.length;k++)E+=m[k].length;if(E!==v.length)throw Mn(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(y));c={rule:y,matches:m,groups:[]};for(k=0;k<D.length;k++)c.groups[k]={action:D[k],matched:m[k+1]};l-=v.length}else{if("@rematch"===D&&(l-=v.length,v="",m=null,D=""),0===v.length){if(0===s||f!==u.depth||g!==u.state||(c?c.groups.length:0)!==p)continue;throw Mn(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(y))}var I=null;if(Dn(D)&&0===D.indexOf("@brackets")){var M=D.substr("@brackets".length),T=zn(this._lexer,v);if(!T)throw Mn(this._lexer,"@brackets token returned but no bracket defined as: "+v);I=In(T.token+M)}else{I=In(""===D?"":D+this._lexer.tokenPostfix)}if(i.emit(h+n,I),null!==b){var A=this._modeService.getModeIdForLanguageName(b);A&&(b=A);var R=this._getNestedEmbeddedModeData(b);if(l<s){S=e.substr(l);return this._nestedTokenize(S,Vn.create(u,R),n+l,i)}return Vn.create(u,R)}}}return Vn.create(u,a)},e.prototype._getNestedEmbeddedModeData=function(e){var t=this._locateMode(e);if(t){var n=Re.y.get(t);if(n)return new Fn(t,n.getInitialState())}return new Fn(t||Pe.b,Pe.c)},e.prototype._locateMode=function(e){if(!e||!this._modeService.isRegisteredMode(e))return null;if(e===this._modeId)return e;var t=this._modeService.getModeId(e);return t&&(this._modeService.triggerMode(t),this._embeddedModes[t]=!0),t},e}();function zn(e,t){if(!t)return null;t=kn(e,t);for(var n=0,i=e.brackets;n<i.length;n++){var o=i[n];if(o.open===t)return{token:o.token,bracketType:1};if(o.close===t)return{token:o.token,bracketType:-1}}return null}var Un=function(){function e(){}return e.colorizeElement=function(e,t,n,i){var o=(i=i||{}).theme||"vs",r=i.mimeType||n.getAttribute("lang")||n.getAttribute("data-lang");if(!r)return console.error("Mode not detected"),Promise.resolve();e.setTheme(o);var s=n.firstChild?n.firstChild.nodeValue:"";n.className+=" "+o;return this.colorize(t,s||"",r,i).then((function(e){n.innerHTML=e}),(function(e){return console.error(e)}))},e.colorize=function(e,t,n,i){var o=4;i&&"number"==typeof i.tabSize&&(o=i.tabSize),ne.J(t)&&(t=t.substr(1));var r=t.split(/\r\n|\r|\n/),s=e.getModeId(n);if(!s)return Promise.resolve(qn(r,o));e.triggerMode(s);var a=Re.y.get(s);if(a)return Kn(r,o,a);var u=Re.y.getPromise(s);return new Promise(u?function(e,t){u.then((function(n){Kn(r,o,n).then(e,t)}),t)}:function(e,t){var n=null,i=null,a=function(){n&&(n.dispose(),n=null),i&&(i.dispose(),i=null);var a=Re.y.get(s);a?Kn(r,o,a).then(e,t):e(qn(r,o))};(i=new We.e).cancelAndSet(a,500),n=Re.y.onDidChange((function(e){e.changedLanguages.indexOf(s)>=0&&a()}))})},e.colorizeLine=function(e,t,n,i,o){void 0===o&&(o=4);var r=Sn.isBasicASCII(e,t),s=Sn.containsRTL(e,r,n);return _n(new fn(!1,!0,e,!1,r,s,0,i,[],o,0,0,0,-1,"none",!1,!1,null)).html},e.colorizeModelLine=function(e,t,n){void 0===n&&(n=4);var i=e.getLineContent(t);e.forceTokenization(t);var o=e.getLineTokens(t).inflate();return this.colorizeLine(i,e.mightContainNonBasicASCII(),e.mightContainRTL(),o,n)},e}();function Kn(e,t,n){return new Promise((function(i,o){var r=function(){var s=function(e,t,n){for(var i=[],o=n.getInitialState(),r=0,s=e.length;r<s;r++){var a=e[r],u=n.tokenize2(a,o,0);on.a.convertToEndOffset(u.tokens,a.length);var l=new on.a(u.tokens,a),c=Sn.isBasicASCII(a,!0),d=Sn.containsRTL(a,c,!0),h=_n(new fn(!1,!0,a,!1,c,d,0,l.inflate(),[],t,0,0,0,-1,"none",!1,!1,null));(i=i.concat(h.html)).push("<br/>"),o=u.endState}return i.join("")}(e,t,n);if(n instanceof Hn){var a=n.getLoadStatus();if(!1===a.loaded)return void a.promise.then(r,o)}i(s)};r()}))}function qn(e,t){var n=[],i=new Uint32Array(2);i[0]=0,i[1]=16793600;for(var o=0,r=e.length;o<r;o++){var s=e[o];i[0]=s.length;var a=new on.a(i,s),u=Sn.isBasicASCII(s,!0),l=Sn.containsRTL(s,u,!0),c=_n(new fn(!1,!0,s,!1,u,l,0,a,[],t,0,0,0,-1,"none",!1,!1,null));(n=n.concat(c.html)).push("<br/>")}return n.join("")}var Gn=n("uDWl"),Yn=n("S3by");var Zn=n("3/fG"),Xn=n("ic2d"),Jn=n("3Rsk"),Qn=n("QDVR"),$n="base.contributions.configuration",ei={properties:{},patternProperties:{}},ti={properties:{},patternProperties:{}},ni={properties:{},patternProperties:{}},ii={properties:{},patternProperties:{}},oi={properties:{},patternProperties:{}},ri={properties:{},patternProperties:{}},si=Xn.a.as(Jn.a.JSONContribution),ai=function(){function e(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new W.a,this._onDidUpdateConfiguration=new W.a,this.defaultOverridesConfigurationNode={id:"defaultOverrides",title:Zn.a("defaultConfigurations.title","Default Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultOverridesConfigurationNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},si.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema)}return e.prototype.registerConfiguration=function(e,t){void 0===t&&(t=!0),this.registerConfigurations([e],t)},e.prototype.registerConfigurations=function(e,t){var n=this;void 0===t&&(t=!0);var i=[];e.forEach((function(e){i.push.apply(i,n.validateAndRegisterProperties(e,t)),n.configurationContributors.push(e),n.registerJSONConfiguration(e)})),si.registerSchema("vscode://schemas/settings/resourceLanguage",this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(i)},e.prototype.registerOverrideIdentifiers=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];this.overrideIdentifiers.add(i)}this.updateOverridePropertyPatternKey()},e.prototype.validateAndRegisterProperties=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=3),n=je.l(e.scope)?n:e.scope;var i=[],o=e.properties;if(o)for(var r in o)if(t&&di(r))delete o[r];else{var s=o[r],a=s.default;je.k(a)&&(s.default=li(s.type)),ui.test(r)?s.scope=void 0:s.scope=je.l(s.scope)?n:s.scope,!o[r].hasOwnProperty("included")||o[r].included?(this.configurationProperties[r]=o[r],i.push(r)):(this.excludedConfigurationProperties[r]=o[r],delete o[r])}var u=e.allOf;if(u)for(var l=0,c=u;l<c.length;l++){var d=c[l];i.push.apply(i,this.validateAndRegisterProperties(d,t,n))}return i},e.prototype.getConfigurationProperties=function(){return this.configurationProperties},e.prototype.registerJSONConfiguration=function(e){var t=this,n=function(e){var i=e.properties;if(i)for(var o in i)switch(ei.properties[o]=i[o],i[o].scope){case 1:ti.properties[o]=i[o];break;case 2:ni.properties[o]=i[o];break;case 6:ii.properties[o]=i[o];break;case 3:oi.properties[o]=i[o];break;case 4:ri.properties[o]=i[o];break;case 5:ri.properties[o]=i[o],t.resourceLanguageSettingsSchema.properties[o]=i[o]}var r=e.allOf;r&&r.forEach(n)};n(e)},e.prototype.updateOverridePropertyPatternKey=function(){for(var e,t=0,n=Object(Qn.e)(this.overrideIdentifiers);t<n.length;t++){var i="["+n[t]+"]",o={type:"object",description:Zn.a("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:Zn.a("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:"vscode://schemas/settings/resourceLanguage",default:null===(e=this.defaultOverridesConfigurationNode.properties[i])||void 0===e?void 0:e.default};ei.properties[i]=o,ti.properties[i]=o,ni.properties[i]=o,ii.properties[i]=o,oi.properties[i]=o,ri.properties[i]=o}this._onDidSchemaChange.fire()},e}(),ui=new RegExp("\\[.*\\]$");function li(e){switch(Array.isArray(e)?e[0]:e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}var ci=new ai;function di(e){return ui.test(e)?Zn.a("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==ci.getConfigurationProperties()[e]?Zn.a("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):null}Xn.a.add($n,ci);var hi=Object.prototype.hasOwnProperty;function fi(e,t){var n=function(n){if(hi.call(e,n)&&!1===t({key:n,value:e[n]},(function(){delete e[n]})))return{value:void 0}};for(var i in e){var o=n(i);if("object"==typeof o)return o.value}}var pi=function(){function e(){this.map=new Map}return e.prototype.add=function(e,t){var n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)},e.prototype.delete=function(e,t){var n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))},e.prototype.forEach=function(e,t){var n=this.map.get(e);n&&n.forEach(t)},e}(),gi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),mi=function(){return(mi=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},vi=new(function(){function e(){this._tabFocus=!1,this._onDidChangeTabFocus=new W.a,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}return e.prototype.getTabFocusMode=function(){return this._tabFocus},e.prototype.setTabFocusMode=function(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))},e}()),_i=Object.hasOwnProperty,yi=function(){function e(){this._values=[]}return e.prototype._read=function(e){return this._values[e]},e.prototype.get=function(e){return this._values[e]},e.prototype._write=function(e,t){this._values[e]=t},e}(),bi=function(){function e(){this._values=[]}return e.prototype._read=function(e){return this._values[e]},e.prototype._write=function(e,t){this._values[e]=t},e}(),Ci=function(){function e(){}return e.readOptions=function(e){for(var t=e,n=new bi,i=0,o=F.i;i<o.length;i++){var r=o[i],s="_never_"===r.name?void 0:t[r.name];n._write(r.id,s)}return n},e.validateOptions=function(e){for(var t=new F.h,n=0,i=F.i;n<i.length;n++){var o=i[n];t._write(o.id,o.validate(e._read(o.id)))}return t},e.computeOptions=function(e,t){for(var n=new yi,i=0,o=F.i;i<o.length;i++){var r=o[i];n._write(r.id,r.compute(t,n,e._read(r.id)))}return n},e._deepEquals=function(t,n){if("object"!=typeof t||"object"!=typeof n)return t===n;if(Array.isArray(t)||Array.isArray(n))return!(!Array.isArray(t)||!Array.isArray(n))&&Xe.f(t,n);for(var i in t)if(!e._deepEquals(t[i],n[i]))return!1;return!0},e.checkEquals=function(t,n){for(var i=[],o=!1,r=0,s=F.i;r<s.length;r++){var a=s[r],u=!e._deepEquals(t._read(a.id),n._read(a.id));i[a.id]=u,u&&(o=!0)}return o?new F.a(i):null},e}();function wi(e){var t=Le.a(e);return function(e){var t=e.wordWrap;!0===t?e.wordWrap="on":!1===t&&(e.wordWrap="off");var n=e.lineNumbers;!0===n?e.lineNumbers="on":!1===n&&(e.lineNumbers="off"),!1===e.autoClosingBrackets&&(e.autoClosingBrackets="never",e.autoClosingQuotes="never",e.autoSurround="never"),"visible"===e.cursorBlinking&&(e.cursorBlinking="solid");var i=e.renderWhitespace;!0===i?e.renderWhitespace="boundary":!1===i&&(e.renderWhitespace="none");var o=e.renderLineHighlight;!0===o?e.renderLineHighlight="line":!1===o&&(e.renderLineHighlight="none");var r=e.acceptSuggestionOnEnter;!0===r?e.acceptSuggestionOnEnter="on":!1===r&&(e.acceptSuggestionOnEnter="off");var s=e.tabCompletion;!1===s?e.tabCompletion="off":!0===s&&(e.tabCompletion="onlySnippets");var a=e.suggest;if(a&&"object"==typeof a.filteredTypes&&a.filteredTypes){var u={method:"showMethods",function:"showFunctions",constructor:"showConstructors",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};fi(u,(function(e){var t=a.filteredTypes[e.key];!1===t&&(a[e.value]=t)}))}var l=e.hover;!0===l?e.hover={enabled:!0}:!1===l&&(e.hover={enabled:!1});var c=e.parameterHints;!0===c?e.parameterHints={enabled:!0}:!1===c&&(e.parameterHints={enabled:!1});var d=e.autoIndent;!0===d?e.autoIndent="full":!1===d&&(e.autoIndent="advanced");var h=e.matchBrackets;!0===h?e.matchBrackets="always":!1===h&&(e.matchBrackets="never")}(t),t}var Si,Li=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidChange=i._register(new W.a),i.onDidChange=i._onDidChange.event,i.isSimpleWidget=t,i._isDominatedByLongLines=!1,i._lineNumbersDigitCount=1,i._rawOptions=wi(n),i._readOptions=Ci.readOptions(i._rawOptions),i._validatedOptions=Ci.validateOptions(i._readOptions),i._register(xe.onDidChangeZoomLevel((function(e){return i._recomputeOptions()}))),i._register(vi.onDidChangeTabFocus((function(e){return i._recomputeOptions()}))),i}return gi(t,e),t.prototype.observeReferenceElement=function(e){},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._recomputeOptions=function(){var e=this.options,t=this._computeInternalOptions();if(e){var n=Ci.checkEquals(e,t);if(null===n)return;this.options=t,this._onDidChange.fire(n)}else this.options=t},t.prototype.getRawOptions=function(){return this._rawOptions},t.prototype._computeInternalOptions=function(){var e=this._getEnvConfiguration(),t=Ie.createFromValidatedSettings(this._validatedOptions,e.zoomLevel,this.isSimpleWidget),n={outerWidth:e.outerWidth,outerHeight:e.outerHeight,fontInfo:this.readConfiguration(t),extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:vi.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport};return Ci.computeOptions(this._validatedOptions,n)},t._subsetEquals=function(e,t){for(var n in t)if(_i.call(t,n)){var i=t[n],o=e[n];if(o===i)continue;if(Array.isArray(o)&&Array.isArray(i)){if(!Xe.f(o,i))return!1;continue}if("object"==typeof o&&"object"==typeof i){if(!this._subsetEquals(o,i))return!1;continue}return!1}return!0},t.prototype.updateOptions=function(e){if(void 0!==e){var n=wi(e);t._subsetEquals(this._rawOptions,n)||(this._rawOptions=Le.d(this._rawOptions,n||{}),this._readOptions=Ci.readOptions(this._rawOptions),this._validatedOptions=Ci.validateOptions(this._readOptions),this._recomputeOptions())}},t.prototype.setIsDominatedByLongLines=function(e){this._isDominatedByLongLines=e,this._recomputeOptions()},t.prototype.setMaxLineNumber=function(e){var n=t._digitCount(e);this._lineNumbersDigitCount!==n&&(this._lineNumbersDigitCount=n,this._recomputeOptions())},t._digitCount=function(e){for(var t=0;e;)e=Math.floor(e/10),t++;return t||1},t}(le.a),Ni=Object.freeze({id:"editor",order:5,type:"object",title:Zn.a("editorConfigurationTitle","Editor"),scope:5}),Oi=Xn.a.as($n),Di=mi(mi({},Ni),{properties:{"editor.tabSize":{type:"number",default:F.c.tabSize,minimum:1,markdownDescription:Zn.a("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:F.c.insertSpaces,markdownDescription:Zn.a("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:F.c.detectIndentation,markdownDescription:Zn.a("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:F.c.trimAutoWhitespace,description:Zn.a("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:F.c.largeFileOptimizations,description:Zn.a("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:Zn.a("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.semanticHighlighting.enabled":{type:"boolean",default:!1,description:Zn.a("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:Zn.a("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:Zn.a("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:Zn.a("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:Zn.a("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:Zn.a("ignoreTrimWhitespace","Controls whether the diff editor shows changes in leading or trailing whitespace as diffs.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:Zn.a("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")}}});for(var xi=0,Ei=F.i;xi<Ei.length;xi++){var ki=Ei[xi],Ii=ki.schema;if(void 0!==Ii)if(void 0!==(Si=Ii).type||void 0!==Si.anyOf)Di.properties["editor."+ki.name]=Ii;else for(var Mi in Ii)_i.call(Ii,Mi)&&(Di.properties[Mi]=Ii[Mi])}var Ti=null;function Ai(){return null===Ti&&(Ti=Object.create(null),Object.keys(Di.properties).forEach((function(e){Ti[e]=!0}))),Ti}Oi.registerConfiguration(Di);var Ri=function(){function e(){}return e.insert=function(e,t){return{range:new z.a(e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}},e.delete=function(e){return{range:e,text:null}},e.replace=function(e,t){return{range:e,text:t}},e.replaceMove=function(e,t){return{range:e,text:t,forceMoveMarkers:!0}},e}(),Pi=Object(ue.c)("configurationService");function Fi(e,t){var n=Object.create(null);for(var i in e)Vi(n,i,e[i],t);return n}function Vi(e,t,n,i){for(var o=t.split("."),r=o.pop(),s=e,a=0;a<o.length;a++){var u=o[a],l=s[u];switch(typeof l){case"undefined":l=s[u]=Object.create(null);break;case"object":break;default:return void i("Ignoring "+t+" as "+o.slice(0,a+1).join(".")+" is "+JSON.stringify(l))}s=l}"object"==typeof s?s[r]=n:i("Ignoring "+t+" as "+o.join(".")+" is "+JSON.stringify(s))}function Wi(e,t){!function e(t,n){var i=n.shift();if(0===n.length)return void delete t[i];if(-1!==Object.keys(t).indexOf(i)){var o=t[i];"object"!=typeof o||Array.isArray(o)||(e(o,n),0===Object.keys(o).length&&delete t[i])}}(e,t.split("."))}function Bi(e,t,n){var i=function(e,t){for(var n=e,i=0,o=t;i<o.length;i++){var r=o[i];if("object"!=typeof n||null===n)return;n=n[r]}return n}(e,t.split("."));return void 0===i?n:i}function ji(e){return e.substring(1,e.length-1)}var Hi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),zi=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Ui=function(){function e(e,t,n){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===n&&(n=[]),this._contents=e,this._keys=t,this._overrides=n,this.isFrozen=!1}return Object.defineProperty(e.prototype,"contents",{get:function(){return this.checkAndFreeze(this._contents)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overrides",{get:function(){return this.checkAndFreeze(this._overrides)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keys",{get:function(){return this.checkAndFreeze(this._keys)},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length},e.prototype.getValue=function(e){return e?Bi(this.contents,e):this.contents},e.prototype.getOverrideValue=function(e,t){var n=this.getContentsForOverrideIdentifer(t);return n?e?Bi(n,e):n:void 0},e.prototype.override=function(t){var n=this.getContentsForOverrideIdentifer(t);if(!n||"object"!=typeof n||!Object.keys(n).length)return this;for(var i={},o=0,r=Xe.d(zi(Object.keys(this.contents),Object.keys(n)));o<r.length;o++){var s=r[o],a=this.contents[s],u=n[s];u&&("object"==typeof a&&"object"==typeof u?(a=Le.a(a),this.mergeContents(a,u)):a=u),i[s]=a}return new e(i,this.keys,this.overrides)},e.prototype.merge=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i=Le.a(this.contents),o=Le.a(this.overrides),r=zi(this.keys),s=0,a=t;s<a.length;s++){var u=a[s];this.mergeContents(i,u.contents);for(var l=function(e){var t=o.filter((function(t){return Xe.f(t.identifiers,e.identifiers)}))[0];t?c.mergeContents(t.contents,e.contents):o.push(Le.a(e))},c=this,d=0,h=u.overrides;d<h.length;d++){var f=h[d];l(f)}for(var p=0,g=u.keys;p<g.length;p++){var m=g[p];-1===r.indexOf(m)&&r.push(m)}}return new e(i,r,o)},e.prototype.freeze=function(){return this.isFrozen=!0,this},e.prototype.mergeContents=function(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var o=i[n];o in e&&je.i(e[o])&&je.i(t[o])?this.mergeContents(e[o],t[o]):e[o]=Le.a(t[o])}},e.prototype.checkAndFreeze=function(e){return this.isFrozen&&!Object.isFrozen(e)?Le.b(e):e},e.prototype.getContentsForOverrideIdentifer=function(e){for(var t=0,n=this.overrides;t<n.length;t++){var i=n[t];if(-1!==i.identifiers.indexOf(e))return i.contents}return null},e.prototype.toJSON=function(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}},e.prototype.setValue=function(e,t){this.addKey(e),Vi(this.contents,e,t,(function(e){throw new Error(e)}))},e.prototype.removeValue=function(e){this.removeKey(e)&&Wi(this.contents,e)},e.prototype.addKey=function(e){for(var t=this.keys.length,n=0;n<t;n++)0===e.indexOf(this.keys[n])&&(t=n);this.keys.splice(t,1,e)},e.prototype.removeKey=function(e){var t=this.keys.indexOf(e);return-1!==t&&(this.keys.splice(t,1),!0)},e}(),Ki=function(e){function t(){for(var t,n=function(){var e=Object.create(null),t=Xn.a.as($n).getConfigurationProperties();for(var n in t){Vi(e,n,t[n].default,(function(e){return console.error("Conflict in default settings: "+e)}))}return e}(),i=(t=Xn.a.as($n).getConfigurationProperties(),Object.keys(t)),o=[],r=0,s=Object.keys(n);r<s.length;r++){var a=s[r];ui.test(a)&&o.push({identifiers:[ji(a).trim()],keys:Object.keys(n[a]),contents:Fi(n[a],(function(e){return console.error("Conflict in default settings file: "+e)}))})}return e.call(this,n,i,o)||this}return Hi(t,e),t}(Ui),qi=function(){function e(e,t,n,i,o,r,s,a){void 0===n&&(n=new Ui),void 0===i&&(i=new Ui),void 0===o&&(o=new Qn.b),void 0===r&&(r=new Ui),void 0===s&&(s=new Qn.b),void 0===a&&(a=!0),this._defaultConfiguration=e,this._localUserConfiguration=t,this._remoteUserConfiguration=n,this._workspaceConfiguration=i,this._folderConfigurations=o,this._memoryConfiguration=r,this._memoryConfigurationByResource=s,this._freeze=a,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new Qn.b,this._userConfiguration=null}return e.prototype.getValue=function(e,t,n){return this.getConsolidateConfigurationModel(t,n).getValue(e)},e.prototype.updateValue=function(e,t,n){var i;void 0===n&&(n={}),n.resource?(i=this._memoryConfigurationByResource.get(n.resource))||(i=new Ui,this._memoryConfigurationByResource.set(n.resource,i)):i=this._memoryConfiguration,void 0===t?i.removeValue(e):i.setValue(e,t),n.resource||(this._workspaceConsolidatedConfiguration=null)},e.prototype.inspect=function(e,t,n){var i=this.getConsolidateConfigurationModel(t,n),o=this.getFolderConfigurationModelForResource(t.resource,n),r=t.resource&&this._memoryConfigurationByResource.get(t.resource)||this._memoryConfiguration,s=t.overrideIdentifier?this._defaultConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._defaultConfiguration.freeze().getValue(e),a=t.overrideIdentifier?this.userConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.userConfiguration.freeze().getValue(e),u=t.overrideIdentifier?this.localUserConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.localUserConfiguration.freeze().getValue(e),l=t.overrideIdentifier?this.remoteUserConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.remoteUserConfiguration.freeze().getValue(e),c=n?t.overrideIdentifier?this._workspaceConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._workspaceConfiguration.freeze().getValue(e):void 0,d=o?t.overrideIdentifier?o.freeze().override(t.overrideIdentifier).getValue(e):o.freeze().getValue(e):void 0,h=t.overrideIdentifier?r.override(t.overrideIdentifier).getValue(e):r.getValue(e),f=i.getValue(e),p=Xe.d(Xe.j(i.overrides.map((function(e){return e.identifiers})))).filter((function(t){return void 0!==i.getOverrideValue(e,t)}));return{defaultValue:s,userValue:a,userLocalValue:u,userRemoteValue:l,workspaceValue:c,workspaceFolderValue:d,memoryValue:h,value:f,default:void 0!==s?{value:this._defaultConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this._defaultConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,user:void 0!==a?{value:this.userConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.userConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,userLocal:void 0!==u?{value:this.localUserConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.localUserConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,userRemote:void 0!==l?{value:this.remoteUserConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.remoteUserConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,workspace:void 0!==c?{value:this._workspaceConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this._workspaceConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,workspaceFolder:void 0!==d?{value:null==o?void 0:o.freeze().getValue(e),override:t.overrideIdentifier?null==o?void 0:o.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,memory:void 0!==h?{value:r.getValue(e),override:t.overrideIdentifier?r.getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,overrideIdentifiers:p.length?p:void 0}},Object.defineProperty(e.prototype,"userConfiguration",{get:function(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"localUserConfiguration",{get:function(){return this._localUserConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"remoteUserConfiguration",{get:function(){return this._remoteUserConfiguration},enumerable:!0,configurable:!0}),e.prototype.getConsolidateConfigurationModel=function(e,t){var n=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?n.override(e.overrideIdentifier):n},e.prototype.getConsolidatedConfigurationModelForResource=function(e,t){var n=e.resource,i=this.getWorkspaceConsolidatedConfiguration();if(t&&n){var o=t.getFolder(n);o&&(i=this.getFolderConsolidatedConfiguration(o.uri)||i);var r=this._memoryConfigurationByResource.get(n);r&&(i=i.merge(r))}return i},e.prototype.getWorkspaceConsolidatedConfiguration=function(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration},e.prototype.getFolderConsolidatedConfiguration=function(e){var t=this._foldersConsolidatedConfigurations.get(e);if(!t){var n=this.getWorkspaceConsolidatedConfiguration(),i=this._folderConfigurations.get(e);i?(t=n.merge(i),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t},e.prototype.getFolderConfigurationModelForResource=function(e,t){if(t&&e){var n=t.getFolder(e);if(n)return this._folderConfigurations.get(n.uri)}},e}(),Gi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Yi=function(e){function t(t,n,i,o){var r=e.call(this)||this;return r._contextKeyService=t,r._commandService=n,r._telemetryService=i,r._notificationService=o,r._onDidUpdateKeybindings=r._register(new W.a),r._currentChord=null,r._currentChordChecker=new We.c,r._currentChordStatusMessage=null,r}return Gi(t,e),Object.defineProperty(t.prototype,"onDidUpdateKeybindings",{get:function(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:W.b.None},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getKeybindings=function(){return this._getResolver().getKeybindings()},t.prototype.lookupKeybinding=function(e){var t=this._getResolver().lookupPrimaryKeybinding(e);if(t)return t.resolvedKeybinding},t.prototype.softDispatch=function(e,t){var n=this.resolveKeyboardEvent(e);if(n.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;var i=n.getDispatchParts()[0];if(null===i)return null;var o=this._contextKeyService.getContext(t),r=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(o,r,i)},t.prototype._enterChordMode=function(e,t){var n=this;this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(Zn.a("first.chord","({0}) was pressed. Waiting for second key of chord...",t));var i=Date.now();this._currentChordChecker.cancelAndSet((function(){n._documentHasFocus()?Date.now()-i>5e3&&n._leaveChordMode():n._leaveChordMode()}),500)},t.prototype._leaveChordMode=function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null},t.prototype._dispatch=function(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t)},t.prototype._doDispatch=function(e,t){var n=this,i=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var o=e.getDispatchParts()[0];if(null===o)return i;var r=this._contextKeyService.getContext(t),s=this._currentChord?this._currentChord.keypress:null,a=e.getLabel(),u=this._getResolver().resolve(r,s,o);return u&&u.enterChord?(i=!0,this._enterChordMode(o,a),i):(this._currentChord&&(u&&u.commandId||(this._notificationService.status(Zn.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,a),{hideAfter:1e4}),i=!0)),this._leaveChordMode(),u&&u.commandId&&(u.bubble||(i=!0),void 0===u.commandArgs?this._commandService.executeCommand(u.commandId).then(void 0,(function(e){return n._notificationService.warn(e)})):this._commandService.executeCommand(u.commandId,u.commandArgs).then(void 0,(function(e){return n._notificationService.warn(e)})),this._telemetryService.publicLog2("workbenchActionExecuted",{id:u.commandId,from:"keybinding"})),i)},t.prototype.mightProducePrintableCharacter=function(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)},t}(le.a),Zi=n("T8No"),Xi=function(){function e(t,n){this._defaultKeybindings=t,this._defaultBoundCommands=new Map;for(var i=0,o=t.length;i<o;i++){var r=t[i].command;r&&this._defaultBoundCommands.set(r,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=e.combine(t,n);for(i=0,o=this._keybindings.length;i<o;i++){var s=this._keybindings[i];0!==s.keypressParts.length&&this._addKeyPress(s.keypressParts[0],s)}}return e._isTargetedForRemoval=function(e,t,n,i,o){if(e.command!==i)return!1;if(t&&e.keypressParts[0]!==t)return!1;if(n&&e.keypressParts[1]!==n)return!1;if(o){if(!e.when)return!1;if(!o.equals(e.when))return!1}return!0},e.combine=function(e,t){e=e.slice(0);for(var n=[],i=0,o=t;i<o.length;i++){var r=o[i];if(r.command&&0!==r.command.length&&"-"===r.command.charAt(0))for(var s=r.command.substr(1),a=r.keypressParts[0],u=r.keypressParts[1],l=r.when,c=e.length-1;c>=0;c--)this._isTargetedForRemoval(e[c],a,u,s,l)&&e.splice(c,1);else n.push(r)}return e.concat(n)},e.prototype._addKeyPress=function(t,n){var i=this._map.get(t);if(void 0===i)return this._map.set(t,[n]),void this._addToLookupMap(n);for(var o=i.length-1;o>=0;o--){var r=i[o];if(r.command!==n.command){var s=r.keypressParts.length>1,a=n.keypressParts.length>1;s&&a&&r.keypressParts[1]!==n.keypressParts[1]||e.whenIsEntirelyIncluded(r.when,n.when)&&this._removeFromLookupMap(r)}}i.push(n),this._addToLookupMap(n)},e.prototype._addToLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);void 0===t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}},e.prototype._removeFromLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);if(void 0!==t)for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return void t.splice(n,1)}},e.whenIsEntirelyIncluded=function(e,t){return!t||!!e&&this._implies(e,t)},e._implies=function(e,t){for(var n=function(e){return e instanceof Zi.b?e.expr:[e]},i=n(e.negate()).concat(n(t)),o=0;o<i.length;o++)for(var r=i[o].negate(),s=o+1;s<i.length;s++){var a=i[s];if(r.equals(a))return!0}return!1},e.prototype.getKeybindings=function(){return this._keybindings},e.prototype.lookupPrimaryKeybinding=function(e){var t=this._lookupMap.get(e);return void 0===t||0===t.length?null:t[t.length-1]},e.prototype.resolve=function(e,t,n){var i=null;if(null!==t){if(void 0===(a=this._map.get(t)))return null;i=[];for(var o=0,r=a.length;o<r;o++){var s=a[o];s.keypressParts[1]===n&&i.push(s)}}else{var a;if(void 0===(a=this._map.get(n)))return null;i=a}var u=this._findCommand(e,i);return u?null===t&&u.keypressParts.length>1&&null!==u.keypressParts[1]?{enterChord:!0,commandId:null,commandArgs:null,bubble:!1}:{enterChord:!1,commandId:u.command,commandArgs:u.commandArgs,bubble:u.bubble}:null},e.prototype._findCommand=function(t,n){for(var i=n.length-1;i>=0;i--){var o=n[i];if(e.contextMatchesRules(t,o.when))return o}return null},e.contextMatchesRules=function(e,t){return!t||t.evaluate(e)},e}(),Ji=n("nrhi"),Qi=function(e,t,n,i,o){this.resolvedKeybinding=e,this.keypressParts=e?function(e){for(var t=[],n=0,i=e.length;n<i;n++){var o=e[n];if(!o)return t;t.push(o)}return t}(e.getDispatchParts()):[],this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=n,this.when=i,this.isDefault=o};var $i=function(){function e(e,t,n){void 0===n&&(n=t),this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=n}return e.prototype.toLabel=function(e,t,n){if(0===t.length)return null;for(var i=[],o=0,r=t.length;o<r;o++){var s=t[o],a=n(s);if(null===a)return null;i[o]=no(s,a,this.modifierLabels[e])}return i.join(" ")},e}(),eo=new $i({ctrlKey:"⌃",shiftKey:"⇧",altKey:"⌥",metaKey:"⌘",separator:""},{ctrlKey:Zn.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:Zn.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:Zn.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:Zn.a({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:Zn.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:Zn.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:Zn.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:Zn.a({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),to=new $i({ctrlKey:Zn.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Zn.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Zn.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Zn.a({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:Zn.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Zn.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Zn.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Zn.a({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:Zn.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Zn.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Zn.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Zn.a({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function no(e,t,n){if(null===t)return"";var i=[];return e.ctrlKey&&i.push(n.ctrlKey),e.shiftKey&&i.push(n.shiftKey),e.altKey&&i.push(n.altKey),e.metaKey&&i.push(n.metaKey),i.push(t),i.join(n.separator)}var io,oo,ro=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),so=function(e){function t(t,n){var i=e.call(this)||this;if(0===n.length)throw Object(Be.b)("parts");return i._os=t,i._parts=n,i}return ro(t,e),t.prototype.getLabel=function(){var e=this;return eo.toLabel(this._os,this._parts,(function(t){return e._getLabel(t)}))},t.prototype.getAriaLabel=function(){var e=this;return to.toLabel(this._os,this._parts,(function(t){return e._getAriaLabel(t)}))},t.prototype.isChord=function(){return this._parts.length>1},t.prototype.getParts=function(){var e=this;return this._parts.map((function(t){return e._getPart(t)}))},t.prototype._getPart=function(e){return new B.d(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))},t.prototype.getDispatchParts=function(){var e=this;return this._parts.map((function(t){return e._getDispatchPart(t)}))},t}(B.c),ao=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),uo=function(e){function t(t,n){return e.call(this,n,t.parts)||this}return ao(t,e),t.prototype._keyCodeToUILabel=function(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return B.b.toString(e)},t.prototype._getLabel=function(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)},t.prototype._getAriaLabel=function(e){return e.isDuplicateModifierCase()?"":B.b.toString(e.keyCode)},t.prototype._getDispatchPart=function(e){return t.getDispatchStr(e)},t.getDispatchStr=function(e){if(e.isModifierKey())return null;var t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=B.b.toString(e.keyCode)},t}(so),lo=n("sM1p"),co=Object(ue.c)("contextService");!function(e){e.isIWorkspace=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&Array.isArray(e.folders)}}(io||(io={})),(oo||(oo={})).isIWorkspaceFolder=function(e){return e&&"object"==typeof e&&j.a.isUri(e.uri)&&"string"==typeof e.name&&"function"==typeof e.toResource};!function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=null),this._id=e,this._configuration=n,this._foldersMap=Qn.c.forPaths(),this.folders=t}Object.defineProperty(e.prototype,"folders",{get:function(){return this._folders},set:function(e){this._folders=e,this.updateFoldersMap()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"configuration",{get:function(){return this._configuration},set:function(e){this._configuration=e},enumerable:!0,configurable:!0}),e.prototype.getFolder=function(e){return e&&this._foldersMap.findSubstr(e.with({scheme:e.scheme,authority:e.authority,path:e.path}).toString())||null},e.prototype.updateFoldersMap=function(){this._foldersMap=Qn.c.forPaths();for(var e=0,t=this.folders;e<t.length;e++){var n=t[e];this._foldersMap.set(n.uri.toString(),n)}},e.prototype.toJSON=function(){return{id:this.id,folders:this.folders,configuration:this.configuration}}}();var ho,fo,po,go,mo,vo,_o,yo,bo,Co,wo,So,Lo,No=function(){function e(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}return e.prototype.toResource=function(e){return function(e){for(var t,n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return n=e.scheme===$.b.file?j.a.file(te.join.apply(te,oe([re(e)],i))).path:(t=te.posix).join.apply(t,oe([e.path||"/"],i)),e.with({path:n})}(this.uri,e)},e.prototype.toJSON=function(){return{uri:this.uri,name:this.name,index:this.index}},e}();(fo=ho||(ho={})).noSelection=Zn.a("noSelection","No selection"),fo.singleSelectionRange=Zn.a("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),fo.singleSelection=Zn.a("singleSelection","Line {0}, Column {1}"),fo.multiSelectionRange=Zn.a("multiSelectionRange","{0} selections ({1} characters selected)"),fo.multiSelection=Zn.a("multiSelection","{0} selections"),fo.emergencyConfOn=Zn.a("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),fo.openingDocs=Zn.a("openingDocs","Now opening the Editor Accessibility documentation page."),fo.readonlyDiffEditor=Zn.a("readonlyDiffEditor"," in a read-only pane of a diff editor."),fo.editableDiffEditor=Zn.a("editableDiffEditor"," in a pane of a diff editor."),fo.readonlyEditor=Zn.a("readonlyEditor"," in a read-only code editor"),fo.editableEditor=Zn.a("editableEditor"," in a code editor"),fo.changeConfigToOnMac=Zn.a("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),fo.changeConfigToOnWinLinux=Zn.a("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),fo.auto_on=Zn.a("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),fo.auto_off=Zn.a("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),fo.tabFocusModeOnMsg=Zn.a("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),fo.tabFocusModeOnMsgNoKb=Zn.a("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),fo.tabFocusModeOffMsg=Zn.a("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),fo.tabFocusModeOffMsgNoKb=Zn.a("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),fo.openDocMac=Zn.a("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),fo.openDocWinLinux=Zn.a("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),fo.outroMsg=Zn.a("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),fo.showAccessibilityHelpAction=Zn.a("showAccessibilityHelpAction","Show Accessibility Help"),(po||(po={})).inspectTokensAction=Zn.a("inspectTokens","Developer: Inspect Tokens"),(mo=go||(go={})).gotoLineLabelValidLineAndColumn=Zn.a("gotoLineLabelValidLineAndColumn","Go to line {0} and character {1}"),mo.gotoLineLabelValidLine=Zn.a("gotoLineLabelValidLine","Go to line {0}"),mo.gotoLineLabelEmptyWithLineLimit=Zn.a("gotoLineLabelEmptyWithLineLimit","Type a line number between 1 and {0} to navigate to"),mo.gotoLineLabelEmptyWithLineAndColumnLimit=Zn.a("gotoLineLabelEmptyWithLineAndColumnLimit","Type a character between 1 and {0} to navigate to"),mo.gotoLineAriaLabel=Zn.a("gotoLineAriaLabel","Current Line: {0}. Go to line {1}."),mo.gotoLineActionInput=Zn.a("gotoLineActionInput","Type a line number, followed by an optional colon and a character number to navigate to"),mo.gotoLineActionLabel=Zn.a("gotoLineActionLabel","Go to Line..."),(_o=vo||(vo={})).ariaLabelEntryWithKey=Zn.a("ariaLabelEntryWithKey","{0}, {1}, commands"),_o.ariaLabelEntry=Zn.a("ariaLabelEntry","{0}, commands"),_o.quickCommandActionInput=Zn.a("quickCommandActionInput","Type the name of an action you want to execute"),_o.quickCommandActionLabel=Zn.a("quickCommandActionLabel","Command Palette"),(bo=yo||(yo={})).entryAriaLabel=Zn.a("entryAriaLabel","{0}, symbols"),bo.quickOutlineActionInput=Zn.a("quickOutlineActionInput","Type the name of an identifier you wish to navigate to"),bo.quickOutlineActionLabel=Zn.a("quickOutlineActionLabel","Go to Symbol..."),bo._symbols_=Zn.a("symbols","symbols ({0})"),bo._modules_=Zn.a("modules","modules ({0})"),bo._class_=Zn.a("class","classes ({0})"),bo._interface_=Zn.a("interface","interfaces ({0})"),bo._method_=Zn.a("method","methods ({0})"),bo._function_=Zn.a("function","functions ({0})"),bo._property_=Zn.a("property","properties ({0})"),bo._variable_=Zn.a("variable","variables ({0})"),bo._variable2_=Zn.a("variable2","variables ({0})"),bo._constructor_=Zn.a("_constructor","constructors ({0})"),bo._call_=Zn.a("call","calls ({0})"),(wo=Co||(Co={})).editorViewAccessibleLabel=Zn.a("editorViewAccessibleLabel","Editor content"),wo.accessibilityHelpMessageIE=Zn.a("accessibilityHelpMessageIE","Press Ctrl+F1 for Accessibility Options."),wo.accessibilityHelpMessage=Zn.a("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options."),(So||(So={})).toggleHighContrast=Zn.a("toggleHighContrast","Toggle High Contrast Theme"),(Lo||(Lo={})).bulkEditServiceSummary=Zn.a("bulkEditServiceSummary","Made {0} edits in {1} files");var Oo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Do=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},xo=function(e,t){return function(n,i){t(n,i,e)}},Eo=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},ko=function(){function e(e){this.model=e,this._onDispose=new W.a}return Object.defineProperty(e.prototype,"textEditorModel",{get:function(){return this.model},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._onDispose.fire()},e}();function Io(e,t,n){return(i=e)&&"function"==typeof i.getEditorType&&i.getEditorType()===Te.a.ICodeEditor?t(e):n(e);var i}var Mo=function(){function e(e){this.modelService=e}return e.prototype.setEditor=function(e){this.editor=e},e.prototype.createModelReference=function(e){var t=this,n=null;return this.editor&&(n=Io(this.editor,(function(n){return t.findModel(n,e)}),(function(n){return t.findModel(n.getOriginalEditor(),e)||t.findModel(n.getModifiedEditor(),e)}))),n?Promise.resolve(new le.c(new ko(n))):Promise.reject(new Error("Model not found"))},e.prototype.findModel=function(e,t){var n=this.modelService?this.modelService.getModel(t):e.getModel();return n&&n.uri.toString()!==t.toString()?null:n},e}(),To=function(){function e(){}return e.prototype.show=function(){return e.NULL_PROGRESS_RUNNER},e.prototype.showWhile=function(e,t){return Promise.resolve(void 0)},e.NULL_PROGRESS_RUNNER={done:function(){},total:function(){},worked:function(){}},e}(),Ao=function(){},Ro=function(){function e(){}return e.prototype.info=function(e){return this.notify({severity:Yn.a.Info,message:e})},e.prototype.warn=function(e){return this.notify({severity:Yn.a.Warning,message:e})},e.prototype.error=function(e){return this.notify({severity:Yn.a.Error,message:e})},e.prototype.notify=function(t){switch(t.severity){case Yn.a.Error:console.error(t.message);break;case Yn.a.Warning:console.warn(t.message);break;default:console.log(t.message)}return e.NO_OP},e.prototype.status=function(e,t){return le.a.None},e.NO_OP=new lo.b,e}(),Po=function(){function e(e){this._onWillExecuteCommand=new W.a,this._onDidExecuteCommand=new W.a,this._instantiationService=e,this._dynamicCommands=Object.create(null)}return e.prototype.addCommand=function(e){var t=this,n=e.id;return this._dynamicCommands[n]=e,Object(le.f)((function(){delete t._dynamicCommands[n]}))},e.prototype.executeCommand=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=ae.a.getCommand(e)||this._dynamicCommands[e];if(!i)return Promise.reject(new Error("command '"+e+"' not found"));try{this._onWillExecuteCommand.fire({commandId:e,args:t});var o=this._instantiationService.invokeFunction.apply(this._instantiationService,Eo([i.handler],t));return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(o)}catch(e){return Promise.reject(e)}},e}(),Fo=function(e){function t(t,n,i,o,r){var s=e.call(this,t,n,i,o)||this;return s._cachedResolver=null,s._dynamicKeybindings=[],s._register(Z.g(r,Z.c.KEY_DOWN,(function(e){var t=new Gn.a(e);s._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())}))),s}return Oo(t,e),t.prototype.addDynamicKeybinding=function(e,t,n,i){var o=this,r=Object(B.f)(t,ie.a),s=new le.b;r&&(this._dynamicKeybindings.push({keybinding:r,command:e,when:i,weight1:1e3,weight2:0}),s.add(Object(le.f)((function(){for(var t=0;t<o._dynamicKeybindings.length;t++){if(o._dynamicKeybindings[t].command===e)return o._dynamicKeybindings.splice(t,1),void o.updateResolver({source:1})}}))));var a=this._commandService;if(!(a instanceof Po))throw new Error("Unknown command service!");return s.add(a.addCommand({id:e,handler:n})),this.updateResolver({source:1}),s},t.prototype.updateResolver=function(e){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(e)},t.prototype._getResolver=function(){if(!this._cachedResolver){var e=this._toNormalizedKeybindingItems(Ji.a.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new Xi(e,t)}return this._cachedResolver},t.prototype._documentHasFocus=function(){return document.hasFocus()},t.prototype._toNormalizedKeybindingItems=function(e,t){for(var n=[],i=0,o=0,r=e;o<r.length;o++){var s=r[o],a=s.when||void 0,u=s.keybinding;if(u)for(var l=0,c=this.resolveKeybinding(u);l<c.length;l++){var d=c[l];n[i++]=new Qi(d,s.command,s.commandArgs,a,t)}else n[i++]=new Qi(void 0,s.command,s.commandArgs,a,t)}return n},t.prototype.resolveKeybinding=function(e){return[new uo(e,ie.a)]},t.prototype.resolveKeyboardEvent=function(e){var t=new B.e(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new uo(t,ie.a)},t}(Yi);function Vo(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof j.a)}var Wo=function(){function e(){this._onDidChangeConfiguration=new W.a,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new qi(new Ki,new Ui)}return e.prototype.configuration=function(){return this._configuration},e.prototype.getValue=function(e,t){var n="string"==typeof e?e:void 0,i=Vo(e)?e:Vo(t)?t:{};return this.configuration().getValue(n,i,void 0)},e.prototype.updateValue=function(e,t,n,i){return this.configuration().updateValue(e,t),Promise.resolve()},e.prototype.inspect=function(e,t){return void 0===t&&(t={}),this.configuration().inspect(e,t,void 0)},e}(),Bo=function(){function e(e){var t=this;this.configurationService=e,this._onDidChangeConfiguration=new W.a,this.configurationService.onDidChangeConfiguration((function(e){t._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:function(t,n){return e.affectsConfiguration(n)}})}))}return e.prototype.getValue=function(e,t,n){var i=(H.a.isIPosition(t)?t:null)?"string"==typeof n?n:void 0:"string"==typeof t?t:void 0;return void 0===i?this.configurationService.getValue():this.configurationService.getValue(i)},e}(),jo=function(){function e(e){this.configurationService=e}return e.prototype.getEOL=function(e,t){var n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"auto"!==n?n:ie.d||ie.e?"\n":"\r\n"},e=Do([xo(0,Pi)],e)}(),Ho=function(){function e(){}return e.prototype.publicLog=function(e,t){return Promise.resolve(void 0)},e.prototype.publicLog2=function(e,t){return this.publicLog(e,t)},e}(),zo=function(){function e(){var t=j.a.from({scheme:e.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new No({uri:t,name:"",index:0})]}}return e.prototype.getWorkspace=function(){return this.workspace},e.prototype.getWorkspaceFolder=function(t){return t&&t.scheme===e.SCHEME?this.workspace.folders[0]:null},e.SCHEME="inmemory",e}();function Uo(e,t,n){t&&e instanceof Wo&&Object.keys(t).forEach((function(i){(function(e){return Ai()["editor."+e]||!1})(i)&&e.updateValue("editor."+i,t[i]),n&&function(e){return Ai()["diffEditor."+e]||!1}(i)&&e.updateValue("diffEditor."+i,t[i])}))}var Ko=function(){function e(e){this._modelService=e}return e.prototype.hasPreviewHandler=function(){return!1},e.prototype.apply=function(e,t){var n=new Map;if(e.edits)for(var i=0,o=e.edits;i<o.length;i++){var r=o[i];if(!Re.A.is(r))return Promise.reject(new Error("bad edit - only text edits are supported"));var s=this._modelService.getModel(r.resource);if(!s)return Promise.reject(new Error("bad edit - model not found"));var a=n.get(s);a||(a=[],n.set(s,a)),a.push(r.edit)}var u=0,l=0;return n.forEach((function(e,t){t.pushStackElement(),t.pushEditOperations([],e.map((function(e){return Ri.replaceMove(z.a.lift(e.range),e.text)})),(function(){return[]})),t.pushStackElement(),l+=1,u+=e.length})),Promise.resolve({selection:void 0,ariaSummary:ne.p(Lo.bulkEditServiceSummary,u,l)})},e}(),qo=function(){function e(){}return e.prototype.getUriLabel=function(e,t){return"file"===e.scheme?e.fsPath:e.path},e}(),Go=function(){function e(e){this._container=e,this.onLayout=W.b.None}return Object.defineProperty(e.prototype,"container",{get:function(){return this._container},enumerable:!0,configurable:!0}),e}(),Yo=n("D3Dy"),Zo=n("OBOq"),Xo=(n("lrmC"),function(){function e(e,t){this.chr=e,this.type=t,this.width=0}return e.prototype.fulfill=function(e){this.width=e},e}()),Jo=function(){function e(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}return e.prototype.read=function(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null},e.prototype._createDomElements=function(){var t=document.createElement("div");t.style.position="absolute",t.style.top="-50000px",t.style.width="50000px";var n=document.createElement("div");n.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),n.style.fontWeight=this._bareFontInfo.fontWeight,n.style.fontSize=this._bareFontInfo.fontSize+"px",n.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,n.style.lineHeight=this._bareFontInfo.lineHeight+"px",n.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",t.appendChild(n);var i=document.createElement("div");i.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),i.style.fontWeight="bold",i.style.fontSize=this._bareFontInfo.fontSize+"px",i.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,i.style.lineHeight=this._bareFontInfo.lineHeight+"px",i.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",t.appendChild(i);var o=document.createElement("div");o.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),o.style.fontWeight=this._bareFontInfo.fontWeight,o.style.fontSize=this._bareFontInfo.fontSize+"px",o.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,o.style.lineHeight=this._bareFontInfo.lineHeight+"px",o.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",o.style.fontStyle="italic",t.appendChild(o);for(var r=[],s=0,a=this._requests;s<a.length;s++){var u=a[s],l=void 0;0===u.type&&(l=n),2===u.type&&(l=i),1===u.type&&(l=o),l.appendChild(document.createElement("br"));var c=document.createElement("span");e._render(c,u),l.appendChild(c),r.push(c)}this._container=t,this._testElements=r},e._render=function(e,t){if(" "===t.chr){for(var n=" ",i=0;i<8;i++)n+=n;e.innerHTML=n}else{var o=t.chr;for(i=0;i<8;i++)o+=o;e.textContent=o}},e.prototype._readFromDomElements=function(){for(var e=0,t=this._requests.length;e<t;e++){var n=this._requests[e],i=this._testElements[e];n.fulfill(i.offsetWidth/256)}},e}();var Qo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),$o=function(e){function t(t,n,i){var o=e.call(this)||this;return o.referenceDomElement=t,o.changeCallback=i,o.width=-1,o.height=-1,o.mutationObserver=null,o.windowSizeListener=null,o.measureReferenceDomElement(!1,n),o}return Qo(t,e),t.prototype.dispose=function(){this.stopObserving(),e.prototype.dispose.call(this)},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.startObserving=function(){var e=this;!this.mutationObserver&&this.referenceDomElement&&(this.mutationObserver=new MutationObserver((function(){return e._onDidMutate()})),this.mutationObserver.observe(this.referenceDomElement,{attributes:!0})),this.windowSizeListener||(this.windowSizeListener=Z.g(window,"resize",(function(){return e._onDidResizeWindow()})))},t.prototype.stopObserving=function(){this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=null),this.windowSizeListener&&(this.windowSizeListener.dispose(),this.windowSizeListener=null)},t.prototype.observe=function(e){this.measureReferenceDomElement(!0,e)},t.prototype._onDidMutate=function(){this.measureReferenceDomElement(!0)},t.prototype._onDidResizeWindow=function(){this.measureReferenceDomElement(!0)},t.prototype.measureReferenceDomElement=function(e,t){var n=0,i=0;t?(n=t.width,i=t.height):this.referenceDomElement&&(n=this.referenceDomElement.clientWidth,i=this.referenceDomElement.clientHeight),n=Math.max(5,n),i=Math.max(5,i),this.width===n&&this.height===i||(this.width=n,this.height=i,e&&this.changeCallback())},t}(le.a),er=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),tr=function(){function e(){this._keys=Object.create(null),this._values=Object.create(null)}return e.prototype.has=function(e){var t=e.getId();return!!this._values[t]},e.prototype.get=function(e){var t=e.getId();return this._values[t]},e.prototype.put=function(e,t){var n=e.getId();this._keys[n]=e,this._values[n]=t},e.prototype.remove=function(e){var t=e.getId();delete this._keys[t],delete this._values[t]},e.prototype.getValues=function(){var e=this;return Object.keys(this._keys).map((function(t){return e._values[t]}))},e}();var nr=function(e){function t(){var t=e.call(this)||this;return t._onDidChange=t._register(new W.a),t.onDidChange=t._onDidChange.event,t._cache=new tr,t._evictUntrustedReadingsTimeout=-1,t}return er(t,e),t.prototype.dispose=function(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),e.prototype.dispose.call(this)},t.prototype.clearCache=function(){this._cache=new tr,this._onDidChange.fire()},t.prototype._writeToCache=function(e,t){var n=this;this._cache.put(e,t),t.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=setTimeout((function(){n._evictUntrustedReadingsTimeout=-1,n._evictUntrustedReadings()}),5e3))},t.prototype._evictUntrustedReadings=function(){for(var e=this._cache.getValues(),t=!1,n=0,i=e.length;n<i;n++){var o=e[n];o.isTrusted||(t=!0,this._cache.remove(o))}t&&this._onDidChange.fire()},t.prototype.readConfiguration=function(e){if(!this._cache.has(e)){var n=t._actualReadConfiguration(e);(n.typicalHalfwidthCharacterWidth<=2||n.typicalFullwidthCharacterWidth<=2||n.spaceWidth<=2||n.maxDigitWidth<=2)&&(n=new Me({zoomLevel:Yo.c(),fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,fontFeatureSettings:n.fontFeatureSettings,lineHeight:n.lineHeight,letterSpacing:n.letterSpacing,isMonospace:n.isMonospace,typicalHalfwidthCharacterWidth:Math.max(n.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(n.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:n.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(n.spaceWidth,5),middotWidth:Math.max(n.middotWidth,5),maxDigitWidth:Math.max(n.maxDigitWidth,5)},!1)),this._writeToCache(e,n)}return this._cache.get(e)},t.createRequest=function(e,t,n,i){var o=new Xo(e,t);return n.push(o),i&&i.push(o),o},t._actualReadConfiguration=function(e){var t=[],n=[],i=this.createRequest("n",0,t,n),o=this.createRequest("m",0,t,null),r=this.createRequest(" ",0,t,n),s=this.createRequest("0",0,t,n),a=this.createRequest("1",0,t,n),u=this.createRequest("2",0,t,n),l=this.createRequest("3",0,t,n),c=this.createRequest("4",0,t,n),d=this.createRequest("5",0,t,n),h=this.createRequest("6",0,t,n),f=this.createRequest("7",0,t,n),p=this.createRequest("8",0,t,n),g=this.createRequest("9",0,t,n),m=this.createRequest("→",0,t,n),v=this.createRequest("→",0,t,null),_=this.createRequest("·",0,t,n);this.createRequest("|",0,t,n),this.createRequest("/",0,t,n),this.createRequest("-",0,t,n),this.createRequest("_",0,t,n),this.createRequest("i",0,t,n),this.createRequest("l",0,t,n),this.createRequest("m",0,t,n),this.createRequest("|",1,t,n),this.createRequest("_",1,t,n),this.createRequest("i",1,t,n),this.createRequest("l",1,t,n),this.createRequest("m",1,t,n),this.createRequest("n",1,t,n),this.createRequest("|",2,t,n),this.createRequest("_",2,t,n),this.createRequest("i",2,t,n),this.createRequest("l",2,t,n),this.createRequest("m",2,t,n),this.createRequest("n",2,t,n),function(e,t){new Jo(e,t).read()}(e,t);for(var y=Math.max(s.width,a.width,u.width,l.width,c.width,d.width,h.width,f.width,p.width,g.width),b=e.fontFeatureSettings===F.d.OFF,C=n[0].width,w=1,S=n.length;b&&w<S;w++){var L=C-n[w].width;if(L<-.001||L>.001){b=!1;break}}var N=!0;b&&v.width!==C&&(N=!1),v.width>m.width&&(N=!1);var O=Yo.b()>2e3;return new Me({zoomLevel:Yo.c(),fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:b,typicalHalfwidthCharacterWidth:i.width,typicalFullwidthCharacterWidth:o.width,canUseHalfwidthRightwardsArrow:N,spaceWidth:r.width,middotWidth:_.width,maxDigitWidth:y},O)},t.INSTANCE=new t,t}(le.a),ir=function(e){function t(t,n,i,o){void 0===i&&(i=null);var r=e.call(this,t,n)||this;return r.accessibilityService=o,r._elementSizeObserver=r._register(new $o(i,n.dimension,(function(){return r._onReferenceDomElementSizeChanged()}))),r._register(nr.INSTANCE.onDidChange((function(){return r._onCSSBasedConfigurationChanged()}))),r._validatedOptions.get(9)&&r._elementSizeObserver.startObserving(),r._register(Yo.o((function(e){return r._recomputeOptions()}))),r._register(r.accessibilityService.onDidChangeScreenReaderOptimized((function(){return r._recomputeOptions()}))),r._recomputeOptions(),r}return er(t,e),t.applyFontInfoSlow=function(e,t){e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px"},t.applyFontInfo=function(e,t){e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)},t.prototype._onReferenceDomElementSizeChanged=function(){this._recomputeOptions()},t.prototype._onCSSBasedConfigurationChanged=function(){this._recomputeOptions()},t.prototype.observeReferenceElement=function(e){this._elementSizeObserver.observe(e)},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._getExtraEditorClassName=function(){var e="";return Yo.k||Yo.n||(e+="no-user-select "),ie.e&&(e+="mac "),e},t.prototype._getEnvConfiguration=function(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:Yo.m||Yo.h,pixelRatio:Yo.a(),zoomLevel:Yo.c(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}},t.prototype.readConfiguration=function(e){return nr.INSTANCE.readConfiguration(e)},t}(Li),or=n("sswD"),rr=n("ZlPH"),sr=n("pg8w"),ar=n("XSiN"),ur=n("AKMP"),lr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),cr=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.toClientCoordinates=function(){return new dr(this.x-Z.d.scrollX,this.y-Z.d.scrollY)},e}(),dr=function(){function e(e,t){this.clientX=e,this.clientY=t}return e.prototype.toPageCoordinates=function(){return new cr(this.clientX+Z.d.scrollX,this.clientY+Z.d.scrollY)},e}(),hr=function(e,t,n,i){this.x=e,this.y=t,this.width=n,this.height=i};function fr(e){var t=Z.w(e);return new hr(t.left,t.top,t.width,t.height)}var pr=function(e){function t(t,n){var i=e.call(this,t)||this;return i.pos=new cr(i.posx,i.posy),i.editorPos=fr(n),i}return lr(t,e),t}(ar.a),gr=function(){function e(e){this._editorViewDomNode=e}return e.prototype._create=function(e){return new pr(e,this._editorViewDomNode)},e.prototype.onContextMenu=function(e,t){var n=this;return Z.g(e,"contextmenu",(function(e){t(n._create(e))}))},e.prototype.onMouseUp=function(e,t){var n=this;return Z.g(e,"mouseup",(function(e){t(n._create(e))}))},e.prototype.onMouseDown=function(e,t){var n=this;return Z.g(e,"mousedown",(function(e){t(n._create(e))}))},e.prototype.onMouseLeave=function(e,t){var n=this;return Z.h(e,(function(e){t(n._create(e))}))},e.prototype.onMouseMoveThrottled=function(e,t,n,i){var o=this;return Z.j(e,"mousemove",t,(function(e,t){return n(e,o._create(t))}),i)},e}(),mr=function(){function e(e){this._editorViewDomNode=e}return e.prototype._create=function(e){return new pr(e,this._editorViewDomNode)},e.prototype.onPointerUp=function(e,t){var n=this;return Z.g(e,"pointerup",(function(e){t(n._create(e))}))},e.prototype.onPointerDown=function(e,t){var n=this;return Z.g(e,"pointerdown",(function(e){t(n._create(e))}))},e.prototype.onPointerLeave=function(e,t){var n=this;return Z.i(e,(function(e){t(n._create(e))}))},e.prototype.onPointerMoveThrottled=function(e,t,n,i){var o=this;return Z.j(e,"pointermove",t,(function(e,t){return n(e,o._create(t))}),i)},e}(),vr=function(e){function t(t){var n=e.call(this)||this;return n._editorViewDomNode=t,n._globalMouseMoveMonitor=n._register(new ur.a),n._keydownListener=null,n}return lr(t,e),t.prototype.startMonitoring=function(e,t,n,i,o){var r=this;this._keydownListener=Z.k(document,"keydown",(function(e){e.toKeybinding().isModifierKey()||r._globalMouseMoveMonitor.stopMonitoring(!0)}),!0);this._globalMouseMoveMonitor.startMonitoring(e,t,(function(e,t){return n(e,new pr(t,r._editorViewDomNode))}),i,(function(){r._keydownListener.dispose(),o()}))},t}(le.a),_r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),yr=function(e){function t(){var t=e.call(this)||this;return t._shouldRender=!0,t}return _r(t,e),t.prototype.shouldRender=function(){return this._shouldRender},t.prototype.forceShouldRender=function(){this._shouldRender=!0},t.prototype.setShouldRender=function(){this._shouldRender=!0},t.prototype.onDidRender=function(){this._shouldRender=!1},t.prototype.onConfigurationChanged=function(e){return!1},t.prototype.onContentSizeChanged=function(e){return!1},t.prototype.onCursorStateChanged=function(e){return!1},t.prototype.onDecorationsChanged=function(e){return!1},t.prototype.onFlushed=function(e){return!1},t.prototype.onFocusChanged=function(e){return!1},t.prototype.onLanguageConfigurationChanged=function(e){return!1},t.prototype.onLineMappingChanged=function(e){return!1},t.prototype.onLinesChanged=function(e){return!1},t.prototype.onLinesDeleted=function(e){return!1},t.prototype.onLinesInserted=function(e){return!1},t.prototype.onRevealRangeRequest=function(e){return!1},t.prototype.onScrollChanged=function(e){return!1},t.prototype.onThemeChanged=function(e){return!1},t.prototype.onTokensChanged=function(e){return!1},t.prototype.onTokensColorsChanged=function(e){return!1},t.prototype.onZonesChanged=function(e){return!1},t.prototype.handleEvents=function(e){for(var t=!1,n=0,i=e.length;n<i;n++){var o=e[n];switch(o.type){case 1:this.onConfigurationChanged(o)&&(t=!0);break;case 2:this.onContentSizeChanged(o)&&(t=!0);break;case 3:this.onCursorStateChanged(o)&&(t=!0);break;case 4:this.onDecorationsChanged(o)&&(t=!0);break;case 5:this.onFlushed(o)&&(t=!0);break;case 6:this.onFocusChanged(o)&&(t=!0);break;case 7:this.onLanguageConfigurationChanged(o)&&(t=!0);break;case 8:this.onLineMappingChanged(o)&&(t=!0);break;case 9:this.onLinesChanged(o)&&(t=!0);break;case 10:this.onLinesDeleted(o)&&(t=!0);break;case 11:this.onLinesInserted(o)&&(t=!0);break;case 12:this.onRevealRangeRequest(o)&&(t=!0);break;case 13:this.onScrollChanged(o)&&(t=!0);break;case 15:this.onTokensChanged(o)&&(t=!0);break;case 14:this.onThemeChanged(o)&&(t=!0);break;case 16:this.onTokensColorsChanged(o)&&(t=!0);break;case 17:this.onZonesChanged(o)&&(t=!0);break;default:console.info("View received unknown event: "),console.info(o)}}t&&(this._shouldRender=!0)},t}(le.a),br=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Cr=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._context.addEventHandler(n),n}return br(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t}(yr),wr=function(){function e(){}return e.write=function(e,t){rr.a,e.setAttribute("data-mprt",String(t))},e.read=function(e){var t=e.getAttribute("data-mprt");return null===t?0:parseInt(t,10)},e.collect=function(e,t){for(var n=[],i=0;e&&e!==document.body&&e!==t;)e.nodeType===e.ELEMENT_NODE&&(n[i++]=this.read(e)),e=e.parentElement;for(var o=new Uint8Array(i),r=0;r<i;r++)o[r]=n[i-r-1];return o},e}(),Sr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Lr=function(e){function t(t,n,i){var o=e.call(this,t,n)||this;return o._viewLines=i,o}return Sr(t,e),t.prototype.linesVisibleRangesForRange=function(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)},t.prototype.visibleRangeForPosition=function(e){return this._viewLines.visibleRangeForPosition(e)},t}(function(){function e(e,t){this._viewLayout=e,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;var n=this._viewLayout.getCurrentViewport();this.scrollTop=n.top,this.scrollLeft=n.left,this.viewportWidth=n.width,this.viewportHeight=n.height}return e.prototype.getScrolledTopFromAbsoluteTop=function(e){return e-this.scrollTop},e.prototype.getVerticalOffsetForLineNumber=function(e){return this._viewLayout.getVerticalOffsetForLineNumber(e)},e.prototype.getDecorationsInViewport=function(){return this.viewportData.getDecorationsInViewport()},e}()),Nr=function(e,t,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=n},Or=function(){function e(e,t){this.left=Math.round(e),this.width=Math.round(t)}return e.prototype.toString=function(){return"["+this.left+","+this.width+"]"},e}(),Dr=function(e,t){this.outsideRenderedLine=e,this.left=Math.round(t)},xr=function(e,t){this.outsideRenderedLine=e,this.ranges=t},Er=function(){function e(e,t){this.left=e,this.width=t}return e.prototype.toString=function(){return"["+this.left+","+this.width+"]"},e.compare=function(e,t){return e.left-t.left},e}(),kr=function(){function e(){}return e._createRange=function(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange},e._detachRange=function(e,t){e.selectNodeContents(t)},e._readClientRects=function(e,t,n,i,o){var r=this._createRange();try{return r.setStart(e,t),r.setEnd(n,i),r.getClientRects()}catch(e){return null}finally{this._detachRange(r,o)}},e._mergeAdjacentRanges=function(e){if(1===e.length)return[new Or(e[0].left,e[0].width)];e.sort(Er.compare);for(var t=[],n=0,i=e[0].left,o=e[0].width,r=1,s=e.length;r<s;r++){var a=e[r],u=a.left,l=a.width;i+o+.9>=u?o=Math.max(o,u+l-i):(t[n++]=new Or(i,o),i=u,o=l)}return t[n++]=new Or(i,o),t},e._createHorizontalRangesFromClientRects=function(e,t){if(!e||0===e.length)return null;for(var n=[],i=0,o=e.length;i<o;i++){var r=e[i];n[i]=new Er(Math.max(0,r.left-t),r.width)}return this._mergeAdjacentRanges(n)},e.readHorizontalRanges=function(e,t,n,i,o,r,s){var a=e.children.length-1;if(0>a)return null;(t=Math.min(a,Math.max(0,t)))!==(i=Math.min(a,Math.max(0,i)))&&i>0&&0===o&&(i--,o=1073741824);var u=e.children[t].firstChild,l=e.children[i].firstChild;if(u&&l||(!u&&0===n&&t>0&&(u=e.children[t-1].firstChild,n=1073741824),!l&&0===o&&i>0&&(l=e.children[i-1].firstChild,o=1073741824)),!u||!l)return null;n=Math.min(u.textContent.length,Math.max(0,n)),o=Math.min(l.textContent.length,Math.max(0,o));var c=this._readClientRects(u,n,l,o,s);return this._createHorizontalRangesFromClientRects(c,r)},e}(),Ir=n("t9D7"),Mr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Tr=!!ie.f||!(ie.d||Yo.h||Yo.k),Ar=Yo.f,Rr=function(){function e(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}return Object.defineProperty(e.prototype,"clientRectDeltaLeft",{get:function(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft},enumerable:!0,configurable:!0}),e}(),Pr=function(){function e(e,t){this.themeType=t;var n=e.options,i=n.get(34);this.renderWhitespace=n.get(74),this.renderControlCharacters=n.get(69),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.useMonospaceOptimizations=i.isMonospace&&!n.get(23),this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=n.get(49),this.stopRenderingLineAfter=n.get(88),this.fontLigatures=n.get(35)}return e.prototype.equals=function(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures},e}(),Fr=function(){function e(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}return e.prototype.getDomNode=function(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null},e.prototype.setDomNode=function(e){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=Object(rr.b)(e)},e.prototype.onContentChanged=function(){this._isMaybeInvalid=!0},e.prototype.onTokensChanged=function(){this._isMaybeInvalid=!0},e.prototype.onDecorationsChanged=function(){this._isMaybeInvalid=!0},e.prototype.onOptionsChanged=function(e){this._isMaybeInvalid=!0,this._options=e},e.prototype.onSelectionChanged=function(){return!(!Ar&&this._options.themeType!==Ir.b&&"selection"!==this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)},e.prototype.renderLine=function(t,n,i,o){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;var r=i.getViewLineRenderingData(t),s=this._options,a=an.filter(r.inlineDecorations,t,r.minColumn,r.maxColumn),u=null;if(Ar||s.themeType===Ir.b||"selection"===this._options.renderWhitespace)for(var l=0,c=i.selections;l<c.length;l++){var d=c[l];if(!(d.endLineNumber<t||d.startLineNumber>t)){var h=d.startLineNumber===t?d.startColumn:r.minColumn,f=d.endLineNumber===t?d.endColumn:r.maxColumn;h<f&&("selection"!==this._options.renderWhitespace?a.push(new an(h,f,"inline-selected-text",0)):(u||(u=[]),u.push(new hn(h-1,f-1))))}}var p=new fn(s.useMonospaceOptimizations,s.canUseHalfwidthRightwardsArrow,r.content,r.continuesWithWrappedLine,r.isBasicASCII,r.containsRTL,r.minColumn-1,r.tokens,a,r.tabSize,r.startVisibleColumn,s.spaceWidth,s.middotWidth,s.stopRenderingLineAfter,s.renderWhitespace,s.renderControlCharacters,s.fontLigatures!==F.d.OFF,u);if(this._renderedViewLine&&this._renderedViewLine.input.equals(p))return!1;o.appendASCIIString('<div style="top:'),o.appendASCIIString(String(n)),o.appendASCIIString("px;height:"),o.appendASCIIString(String(this._options.lineHeight)),o.appendASCIIString('px;" class="'),o.appendASCIIString(e.CLASS_NAME),o.appendASCIIString('">');var g=mn(p,o);o.appendASCIIString("</div>");var m=null;return Tr&&r.isBasicASCII&&s.useMonospaceOptimizations&&0===g.containsForeignElements&&r.content.length<300&&p.lineTokens.getCount()<100&&(m=new Vr(this._renderedViewLine?this._renderedViewLine.domNode:null,p,g.characterMapping)),m||(m=jr(this._renderedViewLine?this._renderedViewLine.domNode:null,p,g.characterMapping,g.containsRTL,g.containsForeignElements)),this._renderedViewLine=m,!0},e.prototype.layoutLine=function(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))},e.prototype.getWidth=function(){return this._renderedViewLine?this._renderedViewLine.getWidth():0},e.prototype.getWidthIsFast=function(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this._renderedViewLine)return null;e|=0,t|=0,e=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,e)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));var i=0|this._renderedViewLine.input.stopRenderingLineAfter,o=!1;-1!==i&&e>i+1&&t>i+1&&(o=!0),-1!==i&&e>i+1&&(e=i+1),-1!==i&&t>i+1&&(t=i+1);var r=this._renderedViewLine.getVisibleRangesForRange(e,t,n);return r&&r.length>0?new xr(o,r):null},e.prototype.getColumnOfNodeOffset=function(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1},e.CLASS_NAME="view-line",e}(),Vr=function(){function e(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}return e.prototype.getWidth=function(){return this._getCharPosition(this._characterMapping.length)},e.prototype.getWidthIsFast=function(){return!0},e.prototype.getVisibleRangesForRange=function(e,t,n){var i=this._getCharPosition(e),o=this._getCharPosition(t);return[new Or(i,o-i)]},e.prototype._getCharPosition=function(e){var t=this._characterMapping.getAbsoluteOffsets();return 0===t.length?0:Math.round(this._charWidth*t[e-1])},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var i=t.textContent.length,o=-1;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,i,n)+1},e}(),Wr=function(){function e(e,t,n,i,o){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=o,this._cachedWidth=-1,this._pixelOffsetCache=null,!i||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(var r=0,s=this._characterMapping.length;r<=s;r++)this._pixelOffsetCache[r]=-1}}return e.prototype._getReadingTarget=function(e){return e.domNode.firstChild},e.prototype.getWidth=function(){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0},e.prototype.getWidthIsFast=function(){return-1!==this._cachedWidth},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){var i=this._readPixelOffset(this.domNode,e,n);if(-1===i)return null;var o=this._readPixelOffset(this.domNode,t,n);return-1===o?null:[new Or(i,o-i)]}return this._readVisibleRangesForRange(this.domNode,e,t,n)},e.prototype._readVisibleRangesForRange=function(e,t,n,i){if(t===n){var o=this._readPixelOffset(e,t,i);return-1===o?null:[new Or(o,0)]}return this._readRawVisibleRangesForRange(e,t,n,i)},e.prototype._readPixelOffset=function(e,t,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth();var i=this._getReadingTarget(e);return i.firstChild?i.firstChild.offsetWidth:0}if(null!==this._pixelOffsetCache){var o=this._pixelOffsetCache[t];if(-1!==o)return o;var r=this._actualReadPixelOffset(e,t,n);return this._pixelOffsetCache[t]=r,r}return this._actualReadPixelOffset(e,t,n)},e.prototype._actualReadPixelOffset=function(e,t,n){if(0===this._characterMapping.length){var i=kr.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n.clientRectDeltaLeft,n.endNode);return i&&0!==i.length?i[0].left:-1}if(t===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();var o=this._characterMapping.charOffsetToPartData(t-1),r=pn.getPartIndex(o),s=pn.getCharIndex(o),a=kr.readHorizontalRanges(this._getReadingTarget(e),r,s,r,s,n.clientRectDeltaLeft,n.endNode);return a&&0!==a.length?a[0].left:-1},e.prototype._readRawVisibleRangesForRange=function(e,t,n,i){if(1===t&&n===this._characterMapping.length)return[new Or(0,this.getWidth())];var o=this._characterMapping.charOffsetToPartData(t-1),r=pn.getPartIndex(o),s=pn.getCharIndex(o),a=this._characterMapping.charOffsetToPartData(n-1),u=pn.getPartIndex(a),l=pn.getCharIndex(a);return kr.readHorizontalRanges(this._getReadingTarget(e),r,s,u,l,i.clientRectDeltaLeft,i.endNode)},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var i=t.textContent.length,o=-1;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,i,n)+1},e}(),Br=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Mr(t,e),t.prototype._readVisibleRangesForRange=function(t,n,i,o){var r=e.prototype._readVisibleRangesForRange.call(this,t,n,i,o);if(!r||0===r.length||n===i||1===n&&i===this._characterMapping.length)return r;if(!this.input.containsRTL){var s=this._readPixelOffset(t,i,o);if(-1!==s){var a=r[r.length-1];a.left<s&&(a.width=s-a.left)}}return r},t}(Wr),jr=Yo.m?Hr:zr;function Hr(e,t,n,i,o){return new Br(e,t,n,i,o)}function zr(e,t,n,i,o){return new Wr(e,t,n,i,o)}var Ur=n("Ll0s"),Kr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),qr=function(e,t){this.lastViewCursorsRenderData=e,this.lastTextareaPosition=t},Gr=function(){function e(e,t,n,i,o,r){void 0===n&&(n=0),void 0===i&&(i=null),void 0===o&&(o=null),void 0===r&&(r=null),this.element=e,this.type=t,this.mouseColumn=n,this.position=i,!o&&i&&(o=new z.a(i.lineNumber,i.column,i.lineNumber,i.column)),this.range=o,this.detail=r}return e._typeToString=function(e){return 1===e?"TEXTAREA":2===e?"GUTTER_GLYPH_MARGIN":3===e?"GUTTER_LINE_NUMBERS":4===e?"GUTTER_LINE_DECORATIONS":5===e?"GUTTER_VIEW_ZONE":6===e?"CONTENT_TEXT":7===e?"CONTENT_EMPTY":8===e?"CONTENT_VIEW_ZONE":9===e?"CONTENT_WIDGET":10===e?"OVERVIEW_RULER":11===e?"SCROLLBAR":12===e?"OVERLAY_WIDGET":"UNKNOWN"},e.toString=function(e){return this._typeToString(e.type)+": "+e.position+" - "+e.range+" - "+e.detail},e.prototype.toString=function(){return e.toString(this)},e}(),Yr=function(){function e(){}return e.isTextArea=function(e){return 2===e.length&&3===e[0]&&6===e[1]},e.isChildOfViewLines=function(e){return e.length>=4&&3===e[0]&&7===e[3]},e.isStrictChildOfViewLines=function(e){return e.length>4&&3===e[0]&&7===e[3]},e.isChildOfScrollableElement=function(e){return e.length>=2&&3===e[0]&&5===e[1]},e.isChildOfMinimap=function(e){return e.length>=2&&3===e[0]&&8===e[1]},e.isChildOfContentWidgets=function(e){return e.length>=4&&3===e[0]&&1===e[3]},e.isChildOfOverflowingContentWidgets=function(e){return e.length>=1&&2===e[0]},e.isChildOfOverlayWidgets=function(e){return e.length>=2&&3===e[0]&&4===e[1]},e}(),Zr=function(){function e(e,t,n){this.model=e.model;var i=e.configuration.options;this.layoutInfo=i.get(107),this.viewDomNode=t.viewDomNode,this.lineHeight=i.get(49),this.typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,this.lastRenderData=n,this._context=e,this._viewHelper=t}return e.prototype.getZoneAtCoord=function(t){return e.getZoneAtCoord(this._context,t)},e.getZoneAtCoord=function(e,t){var n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){var i=n.verticalOffset+n.height/2,o=e.model.getLineCount(),r=null,s=void 0,a=null;return n.afterLineNumber!==o&&(a=new H.a(n.afterLineNumber+1,1)),n.afterLineNumber>0&&(r=new H.a(n.afterLineNumber,e.model.getLineMaxColumn(n.afterLineNumber))),s=null===a?r:null===r?a:t<i?r:a,{viewZoneId:n.id,afterLineNumber:n.afterLineNumber,positionBefore:r,positionAfter:a,position:s}}return null},e.prototype.getFullLineRangeAtCoord=function(e){if(this._context.viewLayout.isAfterLines(e)){var t=this._context.model.getLineCount(),n=this._context.model.getLineMaxColumn(t);return{range:new z.a(t,n,t,n),isAfterLines:!0}}var i=this._context.viewLayout.getLineNumberAtVerticalOffset(e),o=this._context.model.getLineMaxColumn(i);return{range:new z.a(i,1,i,o),isAfterLines:!1}},e.prototype.getLineNumberAtVerticalOffset=function(e){return this._context.viewLayout.getLineNumberAtVerticalOffset(e)},e.prototype.isAfterLines=function(e){return this._context.viewLayout.isAfterLines(e)},e.prototype.getVerticalOffsetForLineNumber=function(e){return this._context.viewLayout.getVerticalOffsetForLineNumber(e)},e.prototype.findAttribute=function(t,n){return e._findAttribute(t,n,this._viewHelper.viewDomNode)},e._findAttribute=function(e,t,n){for(;e&&e!==document.body;){if(e.hasAttribute&&e.hasAttribute(t))return e.getAttribute(t);if(e===n)return null;e=e.parentNode}return null},e.prototype.getLineWidth=function(e){return this._viewHelper.getLineWidth(e)},e.prototype.visibleRangeForPosition=function(e,t){return this._viewHelper.visibleRangeForPosition(e,t)},e.prototype.getPositionFromDOMInfo=function(e,t){return this._viewHelper.getPositionFromDOMInfo(e,t)},e.prototype.getCurrentScrollTop=function(){return this._context.viewLayout.getCurrentScrollTop()},e.prototype.getCurrentScrollLeft=function(){return this._context.viewLayout.getCurrentScrollLeft()},e}(),Xr=function(e){function t(t,n,i,o){var r=e.call(this,t,n,i)||this;return r._ctx=t,o?(r.target=o,r.targetPath=wr.collect(o,t.viewDomNode)):(r.target=null,r.targetPath=new Uint8Array(0)),r}return Kr(t,e),t.prototype.toString=function(){return"pos("+this.pos.x+","+this.pos.y+"), editorPos("+this.editorPos.x+","+this.editorPos.y+"), mouseVerticalOffset: "+this.mouseVerticalOffset+", mouseContentHorizontalOffset: "+this.mouseContentHorizontalOffset+"\n\ttarget: "+(this.target?this.target.outerHTML:null)},t.prototype.fulfill=function(e,t,n,i){void 0===t&&(t=null),void 0===n&&(n=null),void 0===i&&(i=null);var o=this.mouseColumn;return t&&t.column<this._ctx.model.getLineMaxColumn(t.lineNumber)&&(o=Ur.a.visibleColumnFromColumn(this._ctx.model.getLineContent(t.lineNumber),t.column,this._ctx.model.getOptions().tabSize)+1),new Gr(this.target,e,o,t,n,i)},t.prototype.withTarget=function(e){return new t(this._ctx,this.editorPos,this.pos,e)},t}((function(e,t,n){this.editorPos=t,this.pos=n,this.mouseVerticalOffset=Math.max(0,e.getCurrentScrollTop()+n.y-t.y),this.mouseContentHorizontalOffset=e.getCurrentScrollLeft()+n.x-t.x-e.layoutInfo.contentLeft,this.isInMarginArea=n.x-t.x<e.layoutInfo.contentLeft&&n.x-t.x>=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,$r._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))})),Jr={isAfterLines:!0};function Qr(e){return{isAfterLines:!1,horizontalDistanceToText:e}}var $r=function(){function e(e,t){this._context=e,this._viewHelper=t}return e.prototype.mouseTargetIsWidget=function(e){var t=e.target,n=wr.collect(t,this._viewHelper.viewDomNode);return!(!Yr.isChildOfContentWidgets(n)&&!Yr.isChildOfOverflowingContentWidgets(n))||!!Yr.isChildOfOverlayWidgets(n)},e.prototype.createMouseTarget=function(t,n,i,o){var r=new Zr(this._context,this._viewHelper,t),s=new Xr(r,n,i,o);try{return e._createMouseTarget(r,s,!1)}catch(e){return s.fulfill(0)}},e._createMouseTarget=function(t,n,i){if(null===n.target){if(i)return n.fulfill(0);var o=e._doHitTest(t,n);return o.position?e.createMouseTargetFromHitTestPosition(t,n,o.position.lineNumber,o.position.column):this._createMouseTarget(t,n.withTarget(o.hitTarget),!0)}var r=n,s=null;return(s=(s=(s=(s=(s=(s=(s=(s=(s=(s=s||e._hitTestContentWidget(t,r))||e._hitTestOverlayWidget(t,r))||e._hitTestMinimap(t,r))||e._hitTestScrollbarSlider(t,r))||e._hitTestViewZone(t,r))||e._hitTestMargin(t,r))||e._hitTestViewCursor(t,r))||e._hitTestTextArea(t,r))||e._hitTestViewLines(t,r,i))||e._hitTestScrollbar(t,r))||n.fulfill(0)},e._hitTestContentWidget=function(e,t){if(Yr.isChildOfContentWidgets(t.targetPath)||Yr.isChildOfOverflowingContentWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(9,null,null,n):t.fulfill(0)}return null},e._hitTestOverlayWidget=function(e,t){if(Yr.isChildOfOverlayWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(12,null,null,n):t.fulfill(0)}return null},e._hitTestViewCursor=function(e,t){if(t.target)for(var n=0,i=r=e.lastRenderData.lastViewCursorsRenderData;n<i.length;n++){var o=i[n];if(t.target===o.domNode)return t.fulfill(6,o.position)}if(t.isInContentArea)for(var r=e.lastRenderData.lastViewCursorsRenderData,s=t.mouseContentHorizontalOffset,a=t.mouseVerticalOffset,u=0,l=r;u<l.length;u++){if(!(s<(o=l[u]).contentLeft)&&!(s>o.contentLeft+o.width)){var c=e.getVerticalOffsetForLineNumber(o.position.lineNumber);if(c<=a&&a<=c+o.height)return t.fulfill(6,o.position)}}return null},e._hitTestViewZone=function(e,t){var n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){var i=t.isInContentArea?8:5;return t.fulfill(i,n.position,null,n)}return null},e._hitTestTextArea=function(e,t){return Yr.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfill(6,e.lastRenderData.lastTextareaPosition):t.fulfill(1,e.lastRenderData.lastTextareaPosition):null},e._hitTestMargin=function(e,t){if(t.isInMarginArea){var n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),i=n.range.getStartPosition(),o=Math.abs(t.pos.x-t.editorPos.x),r={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:o};return(o-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,i,n.range,r):(o-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,i,n.range,r):(o-=e.layoutInfo.lineNumbersWidth,t.fulfill(4,i,n.range,r))}return null},e._hitTestViewLines=function(t,n,i){if(!Yr.isChildOfViewLines(n.targetPath))return null;if(t.isAfterLines(n.mouseVerticalOffset)){var o=t.model.getLineCount(),r=t.model.getLineMaxColumn(o);return n.fulfill(7,new H.a(o,r),void 0,Jr)}if(i){if(Yr.isStrictChildOfViewLines(n.targetPath)){var s=t.getLineNumberAtVerticalOffset(n.mouseVerticalOffset);if(0===t.model.getLineLength(s)){var a=t.getLineWidth(s),u=Qr(n.mouseContentHorizontalOffset-a);return n.fulfill(7,new H.a(s,1),void 0,u)}var l=t.getLineWidth(s);if(n.mouseContentHorizontalOffset>=l){u=Qr(n.mouseContentHorizontalOffset-l);var c=new H.a(s,t.model.getLineMaxColumn(s));return n.fulfill(7,c,void 0,u)}}return n.fulfill(0)}var d=e._doHitTest(t,n);return d.position?e.createMouseTargetFromHitTestPosition(t,n,d.position.lineNumber,d.position.column):this._createMouseTarget(t,n.withTarget(d.hitTarget),!0)},e._hitTestMinimap=function(e,t){if(Yr.isChildOfMinimap(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new H.a(n,i))}return null},e._hitTestScrollbarSlider=function(e,t){if(Yr.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){var n=t.target.className;if(n&&/\b(slider|scrollbar)\b/.test(n)){var i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),o=e.model.getLineMaxColumn(i);return t.fulfill(11,new H.a(i,o))}}return null},e._hitTestScrollbar=function(e,t){if(Yr.isChildOfScrollableElement(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new H.a(n,i))}return null},e.prototype.getMouseColumn=function(t,n){var i=this._context.configuration.options,o=i.get(107),r=this._context.viewLayout.getCurrentScrollLeft()+n.x-t.x-o.contentLeft;return e._getMouseColumn(r,i.get(34).typicalHalfwidthCharacterWidth)},e._getMouseColumn=function(e,t){return e<0?1:Math.round(e/t)+1},e.createMouseTargetFromHitTestPosition=function(e,t,n,i){var o=new H.a(n,i),r=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>r){if(Yo.e&&1===o.column){var s=Qr(t.mouseContentHorizontalOffset-r);return t.fulfill(7,new H.a(n,e.model.getLineMaxColumn(n)),void 0,s)}var a=Qr(t.mouseContentHorizontalOffset-r);return t.fulfill(7,o,void 0,a)}var u=e.visibleRangeForPosition(n,i);if(!u)return t.fulfill(0,o);var l=u.left;if(t.mouseContentHorizontalOffset===l)return t.fulfill(6,o);var c=[];if(c.push({offset:u.left,column:i}),i>1){var d=e.visibleRangeForPosition(n,i-1);d&&c.push({offset:d.left,column:i-1})}if(i<e.model.getLineMaxColumn(n)){var h=e.visibleRangeForPosition(n,i+1);h&&c.push({offset:h.left,column:i+1})}c.sort((function(e,t){return e.offset-t.offset}));for(var f=1;f<c.length;f++){var p=c[f-1],g=c[f];if(p.offset<=t.mouseContentHorizontalOffset&&t.mouseContentHorizontalOffset<=g.offset){var m=new z.a(n,p.column,n,g.column);return t.fulfill(6,o,m)}}return t.fulfill(6,o)},e._doHitTestWithCaretRangeFromPoint=function(e,t){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.getVerticalOffsetForLineNumber(n)+Math.floor(e.lineHeight/2),o=t.pos.y+(i-t.mouseVerticalOffset);o<=t.editorPos.y&&(o=t.editorPos.y+1),o>=t.editorPos.y+e.layoutInfo.height&&(o=t.editorPos.y+e.layoutInfo.height-1);var r=new cr(t.pos.x,o),s=this._actualDoHitTestWithCaretRangeFromPoint(e,r.toClientCoordinates());return s.position?s:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())},e._actualDoHitTestWithCaretRangeFromPoint=function(e,t){var n,i=Z.y(e.viewDomNode);if(!(n=i?void 0===i.caretRangeFromPoint?function(e,t,n){var i=document.createRange(),o=e.elementFromPoint(t,n);if(null!==o){for(;o&&o.firstChild&&o.firstChild.nodeType!==o.firstChild.TEXT_NODE;)o=o.lastChild;var r=o.getBoundingClientRect(),s=window.getComputedStyle(o,null).getPropertyValue("font"),a=o.innerText,u=r.left,l=0,c=void 0;if(t>r.left+r.width)l=a.length;else for(var d=es.getInstance(),h=0;h<a.length+1;h++){if(c=d.getCharWidth(a.charAt(h),s)/2,t<(u+=c)){l=h;break}u+=c}i.setStart(o.firstChild,l),i.setEnd(o.firstChild,l)}return i}(i,t.clientX,t.clientY):i.caretRangeFromPoint(t.clientX,t.clientY):document.caretRangeFromPoint(t.clientX,t.clientY))||!n.startContainer)return{position:null,hitTarget:null};var o=n.startContainer,r=null;if(o.nodeType===o.TEXT_NODE){var s=(u=(a=o.parentNode)?a.parentNode:null)?u.parentNode:null;if((s&&s.nodeType===s.ELEMENT_NODE?s.className:null)===Fr.CLASS_NAME)return{position:e.getPositionFromDOMInfo(a,n.startOffset),hitTarget:null};r=o.parentNode}else if(o.nodeType===o.ELEMENT_NODE){var a,u;if(((u=(a=o.parentNode)?a.parentNode:null)&&u.nodeType===u.ELEMENT_NODE?u.className:null)===Fr.CLASS_NAME)return{position:e.getPositionFromDOMInfo(o,o.textContent.length),hitTarget:null};r=o}return{position:null,hitTarget:r}},e._doHitTestWithCaretPositionFromPoint=function(e,t){var n=document.caretPositionFromPoint(t.clientX,t.clientY);if(n.offsetNode.nodeType===n.offsetNode.TEXT_NODE){var i=n.offsetNode.parentNode,o=i?i.parentNode:null,r=o?o.parentNode:null;return(r&&r.nodeType===r.ELEMENT_NODE?r.className:null)===Fr.CLASS_NAME?{position:e.getPositionFromDOMInfo(n.offsetNode.parentNode,n.offset),hitTarget:null}:{position:null,hitTarget:n.offsetNode.parentNode}}return{position:null,hitTarget:n.offsetNode}},e._doHitTestWithMoveToPoint=function(e,t){var n=null,i=null,o=document.body.createTextRange();try{o.moveToPoint(t.clientX,t.clientY)}catch(e){return{position:null,hitTarget:null}}o.collapse(!0);var r=o?o.parentElement():null,s=r?r.parentNode:null,a=s?s.parentNode:null;if((a&&a.nodeType===a.ELEMENT_NODE?a.className:"")===Fr.CLASS_NAME){var u=o.duplicate();u.moveToElementText(r),u.setEndPoint("EndToStart",o),n=e.getPositionFromDOMInfo(r,u.text.length),u.moveToElementText(e.viewDomNode)}else i=r;return o.moveToElementText(e.viewDomNode),{position:n,hitTarget:i}},e._doHitTest=function(e,t){return"function"==typeof document.caretRangeFromPoint?this._doHitTestWithCaretRangeFromPoint(e,t):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(e,t.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(e,t.pos.toClientCoordinates()):{position:null,hitTarget:null}},e}();var es=function(){function e(){this._cache={},this._canvas=document.createElement("canvas")}return e.getInstance=function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE},e.prototype.getCharWidth=function(e,t){var n=e+t;if(this._cache[n])return this._cache[n];var i=this._canvas.getContext("2d");i.font=t;var o=i.measureText(e).width;return this._cache[n]=o,o},e._INSTANCE=null,e}(),ts=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function ns(e){return function(t,n){var i=!1;return e&&(i=e.mouseTargetIsWidget(n)),i||n.preventDefault(),n}}var is=function(e){function t(n,i,o){var r=e.call(this)||this;r._isFocused=!1,r._context=n,r.viewController=i,r.viewHelper=o,r.mouseTargetFactory=new $r(r._context,o),r._mouseDownOperation=r._register(new os(r._context,r.viewController,r.viewHelper,(function(e,t){return r._createMouseTarget(e,t)}),(function(e){return r._getMouseColumn(e)}))),r._asyncFocus=r._register(new We.d((function(){return r.viewHelper.focusTextArea()}),0)),r.lastMouseLeaveTime=-1;var s=new gr(r.viewHelper.viewDomNode);r._register(s.onContextMenu(r.viewHelper.viewDomNode,(function(e){return r._onContextMenu(e,!0)}))),r._register(s.onMouseMoveThrottled(r.viewHelper.viewDomNode,(function(e){return r._onMouseMove(e)}),ns(r.mouseTargetFactory),t.MOUSE_MOVE_MINIMUM_TIME)),r._register(s.onMouseUp(r.viewHelper.viewDomNode,(function(e){return r._onMouseUp(e)}))),r._register(s.onMouseLeave(r.viewHelper.viewDomNode,(function(e){return r._onMouseLeave(e)}))),r._register(s.onMouseDown(r.viewHelper.viewDomNode,(function(e){return r._onMouseDown(e)})));return r._register(Z.g(r.viewHelper.viewDomNode,Yo.f?"mousewheel":"wheel",(function(e){if(r.viewController.emitMouseWheel(e),r._context.configuration.options.get(57)){var t=new ar.b(e);if(t.browserEvent.ctrlKey||t.browserEvent.metaKey){var n=xe.getZoomLevel(),i=t.deltaY>0?1:-1;xe.setZoomLevel(n+i),t.preventDefault(),t.stopPropagation()}}}),{capture:!0,passive:!1})),r._context.addEventHandler(r),r}return ts(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onCursorStateChanged=function(e){return this._mouseDownOperation.onCursorStateChanged(e),!1},t.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!1},t.prototype.onScrollChanged=function(e){return this._mouseDownOperation.onScrollChanged(),!1},t.prototype.getTargetAtClientPoint=function(e,t){var n=new dr(e,t).toPageCoordinates(),i=fr(this.viewHelper.viewDomNode);return n.y<i.y||n.y>i.y+i.height||n.x<i.x||n.x>i.x+i.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),i,n,null)},t.prototype._createMouseTarget=function(e,t){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,t?e.target:null)},t.prototype._getMouseColumn=function(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)},t.prototype._onContextMenu=function(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})},t.prototype._onMouseMove=function(e){this._mouseDownOperation.isActive()||(e.timestamp<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:e,target:this._createMouseTarget(e,!0)}))},t.prototype._onMouseLeave=function(e){this.lastMouseLeaveTime=(new Date).getTime(),this.viewController.emitMouseLeave({event:e,target:null})},t.prototype._onMouseUp=function(e){this.viewController.emitMouseUp({event:e,target:this._createMouseTarget(e,!0)})},t.prototype._onMouseDown=function(e){var t=this,n=this._createMouseTarget(e,!0),i=6===n.type||7===n.type,o=2===n.type||3===n.type||4===n.type,r=3===n.type,s=this._context.configuration.options.get(83),a=8===n.type||5===n.type,u=9===n.type,l=e.leftButton||e.middleButton;ie.e&&e.leftButton&&e.ctrlKey&&(l=!1);var c=function(){Yo.i&&!t._isFocused?t._asyncFocus.schedule():(e.preventDefault(),t.viewHelper.focusTextArea())};if(l&&(i||r&&s))c(),this._mouseDownOperation.start(n.type,e);else if(o)e.preventDefault();else if(a){var d=n.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(d.viewZoneId)&&(c(),this._mouseDownOperation.start(n.type,e),e.preventDefault())}else u&&this.viewHelper.shouldSuppressMouseDownOnWidget(n.detail)&&(c(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:n})},t.MOUSE_MOVE_MINIMUM_TIME=100,t}(yr),os=function(e){function t(t,n,i,o,r){var s=e.call(this)||this;return s._context=t,s._viewController=n,s._viewHelper=i,s._createMouseTarget=o,s._getMouseColumn=r,s._mouseMoveMonitor=s._register(new vr(s._viewHelper.viewDomNode)),s._onScrollTimeout=s._register(new We.e),s._mouseState=new rs,s._currentSelection=new U.a(1,1,1,1),s._isActive=!1,s._lastMouseEvent=null,s}return ts(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.isActive=function(){return this._isActive},t.prototype._onMouseDownThenMove=function(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);var t=this._findMousePosition(e,!0);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))},t.prototype.start=function(e,t){var n=this;this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);var i=this._findMousePosition(t,!0);if(i&&i.position){this._mouseState.trySetCount(t.detail,i.position),t.detail=this._mouseState.count;var o=this._context.configuration.options;if(!o.get(68)&&o.get(24)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===i.type&&i.position&&this._currentSelection.containsPosition(i.position))return this._mouseState.isDragAndDrop=!0,this._isActive=!0,void this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,ns(null),(function(e){return n._onMouseDownThenMove(e)}),(function(){var e=n._findMousePosition(n._lastMouseEvent,!0);n._viewController.emitMouseDrop({event:n._lastMouseEvent,target:e?n._createMouseTarget(n._lastMouseEvent,!0):null}),n._stop()}));this._mouseState.isDragAndDrop=!1,this._dispatchMouse(i,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,ns(null),(function(e){return n._onMouseDownThenMove(e)}),(function(){return n._stop()})))}},t.prototype._stop=function(){this._isActive=!1,this._onScrollTimeout.cancel()},t.prototype.onScrollChanged=function(){var e=this;this._isActive&&this._onScrollTimeout.setIfNotSet((function(){if(e._lastMouseEvent){var t=e._findMousePosition(e._lastMouseEvent,!1);t&&(e._mouseState.isDragAndDrop||e._dispatchMouse(t,!0))}}),10)},t.prototype.onCursorStateChanged=function(e){this._currentSelection=e.selections[0]},t.prototype._getPositionOutsideEditor=function(e){var t=e.editorPos,n=this._context.model,i=this._context.viewLayout,o=this._getMouseColumn(e);if(e.posy<t.y){var r=Math.max(i.getCurrentScrollTop()-(t.y-e.posy),0);if(a=Zr.getZoneAtCoord(this._context,r))if(u=this._helpPositionJumpOverViewZone(a))return new Gr(null,13,o,u);var s=i.getLineNumberAtVerticalOffset(r);return new Gr(null,13,o,new H.a(s,1))}if(e.posy>t.y+t.height){var a,u;r=i.getCurrentScrollTop()+(e.posy-t.y);if(a=Zr.getZoneAtCoord(this._context,r))if(u=this._helpPositionJumpOverViewZone(a))return new Gr(null,13,o,u);var l=i.getLineNumberAtVerticalOffset(r);return new Gr(null,13,o,new H.a(l,n.getLineMaxColumn(l)))}var c=i.getLineNumberAtVerticalOffset(i.getCurrentScrollTop()+(e.posy-t.y));return e.posx<t.x?new Gr(null,13,o,new H.a(c,1)):e.posx>t.x+t.width?new Gr(null,13,o,new H.a(c,n.getLineMaxColumn(c))):null},t.prototype._findMousePosition=function(e,t){var n=this._getPositionOutsideEditor(e);if(n)return n;var i=this._createMouseTarget(e,t);if(!i.position)return null;if(8===i.type||5===i.type){var o=this._helpPositionJumpOverViewZone(i.detail);if(o)return new Gr(i.element,i.type,i.mouseColumn,o,null,i.detail)}return i},t.prototype._helpPositionJumpOverViewZone=function(e){var t=new H.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,i=e.positionAfter;return n&&i?n.isBefore(t)?n:i:null},t.prototype._dispatchMouse=function(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})},t}(le.a),rs=function(){function e(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}return Object.defineProperty(e.prototype,"altKey",{get:function(){return this._altKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ctrlKey",{get:function(){return this._ctrlKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"metaKey",{get:function(){return this._metaKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftKey",{get:function(){return this._shiftKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftButton",{get:function(){return this._leftButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleButton",{get:function(){return this._middleButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startedOnLineNumbers",{get:function(){return this._startedOnLineNumbers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this._lastMouseDownCount},enumerable:!0,configurable:!0}),e.prototype.setModifiers=function(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey},e.prototype.setStartButtons=function(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton},e.prototype.setStartedOnLineNumbers=function(e){this._startedOnLineNumbers=e},e.prototype.trySetCount=function(t,n){var i=(new Date).getTime();i-this._lastSetMouseDownCountTime>e.CLEAR_MOUSE_DOWN_COUNT_TIME&&(t=1),this._lastSetMouseDownCountTime=i,t>this._lastMouseDownCount+1&&(t=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(n)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=n,this._lastMouseDownCount=Math.min(t,this._lastMouseDownPositionEqualCount)},e.CLEAR_MOUSE_DOWN_COUNT_TIME=400,e}(),ss=n("CjF5"),as=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function us(e,t){var n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n}var ls=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o.viewHelper.linesContentDomNode.style.msTouchAction="none",o.viewHelper.linesContentDomNode.style.msContentZooming="none",o._installGestureHandlerTimeout=window.setTimeout((function(){if(o._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=o.viewHelper.linesContentDomNode,t.target=o.viewHelper.linesContentDomNode,o.viewHelper.linesContentDomNode.addEventListener("MSPointerDown",(function(n){var i=n.pointerType;i!==(n.MSPOINTER_TYPE_MOUSE||"mouse")?i===(n.MSPOINTER_TYPE_TOUCH||"touch")?(o._lastPointerType="touch",e.addPointer(n.pointerId)):(o._lastPointerType="pen",t.addPointer(n.pointerId)):o._lastPointerType="mouse"})),o._register(Z.j(o.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return o._onGestureChange(e)}),us)),o._register(Z.g(o.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return o._onCaptureGestureTap(e)}),!0))}}),100),o._lastPointerType="mouse",o}return as(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new pr(e,this.viewHelper.viewDomNode),i=this._createMouseTarget(n,!1);i.position&&this.viewController.moveTo(i.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(is),cs=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o.viewHelper.linesContentDomNode.style.touchAction="none",o._installGestureHandlerTimeout=window.setTimeout((function(){if(o._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=o.viewHelper.linesContentDomNode,t.target=o.viewHelper.linesContentDomNode,o.viewHelper.linesContentDomNode.addEventListener("pointerdown",(function(n){var i=n.pointerType;"mouse"!==i?"touch"===i?(o._lastPointerType="touch",e.addPointer(n.pointerId)):(o._lastPointerType="pen",t.addPointer(n.pointerId)):o._lastPointerType="mouse"})),o._register(Z.j(o.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return o._onGestureChange(e)}),us)),o._register(Z.g(o.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return o._onCaptureGestureTap(e)}),!0))}}),100),o._lastPointerType="mouse",o}return as(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new pr(e,this.viewHelper.viewDomNode),i=this._createMouseTarget(n,!1);i.position&&this.viewController.moveTo(i.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(is),ds=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;o._register(sr.b.addTarget(o.viewHelper.linesContentDomNode)),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Tap,(function(e){return o.onTap(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Change,(function(e){return o.onChange(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Contextmenu,(function(e){return o._onContextMenu(new pr(e,o.viewHelper.viewDomNode),!1)}))),o._lastPointerType="mouse",o._register(Z.g(o.viewHelper.linesContentDomNode,"pointerdown",(function(e){var t=e.pointerType;o._lastPointerType="mouse"!==t?"touch"===t?"touch":"pen":"mouse"})));var r=new mr(o.viewHelper.viewDomNode);return o._register(r.onPointerMoveThrottled(o.viewHelper.viewDomNode,(function(e){return o._onMouseMove(e)}),ns(o.mouseTargetFactory),is.MOUSE_MOVE_MINIMUM_TIME)),o._register(r.onPointerUp(o.viewHelper.viewDomNode,(function(e){return o._onMouseUp(e)}))),o._register(r.onPointerLeave(o.viewHelper.viewDomNode,(function(e){return o._onMouseLeave(e)}))),o._register(r.onPointerDown(o.viewHelper.viewDomNode,(function(e){return o._onMouseDown(e)}))),o}return as(t,e),t.prototype.onTap=function(e){if(e.initialTarget&&this.viewHelper.linesContentDomNode.contains(e.initialTarget)){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new pr(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})}},t.prototype.onChange=function(e){"touch"===this._lastPointerType&&this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype._onMouseDown=function(t){t.target&&this.viewHelper.linesContentDomNode.contains(t.target)&&"touch"===this._lastPointerType||e.prototype._onMouseDown.call(this,t)},t}(is),hs=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o._register(sr.b.addTarget(o.viewHelper.linesContentDomNode)),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Tap,(function(e){return o.onTap(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Change,(function(e){return o.onChange(e)}))),o._register(Z.g(o.viewHelper.linesContentDomNode,sr.a.Contextmenu,(function(e){return o._onContextMenu(new pr(e,o.viewHelper.viewDomNode),!1)}))),o}return as(t,e),t.prototype.onTap=function(e){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new pr(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.moveTo(t.position)},t.prototype.onChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t}(is),fs=function(e){function t(t,n,i){var o=e.call(this)||this;return window.navigator.msPointerEnabled?o.handler=o._register(new ls(t,n,i)):ie.c&&ss.a.pointerEvents?o.handler=o._register(new ds(t,n,i)):window.TouchEvent?o.handler=o._register(new hs(t,n,i)):window.navigator.pointerEnabled||window.PointerEvent?o.handler=o._register(new cs(t,n,i)):o.handler=o._register(new is(t,n,i)),o}return as(t,e),t.prototype.getTargetAtClientPoint=function(e,t){return this.handler.getTargetAtClientPoint(e,t)},t}(le.a),ps=(n("VvMK"),function(){function e(e,t,n,i,o){this.value=e,this.selectionStart=t,this.selectionEnd=n,this.selectionStartPosition=i,this.selectionEndPosition=o}return e.prototype.toString=function(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"},e.readFromTextArea=function(t){return new e(t.getValue(),t.getSelectionStart(),t.getSelectionEnd(),null,null)},e.prototype.collapseSelection=function(){return new e(this.value,this.value.length,this.value.length,null,null)},e.prototype.writeToTextArea=function(e,t,n){t.setValue(e,this.value),n&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)},e.prototype.deduceEditorPosition=function(e){if(e<=this.selectionStart){var t=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(e>=this.selectionEnd){t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}var n=this.value.substring(this.selectionStart,e);if(-1===n.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,n,1);var i=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,i,-1)},e.prototype._finishDeduceEditorPosition=function(e,t,n){for(var i=0,o=-1;-1!==(o=t.indexOf("\n",o+1));)i++;return[e,n*t.length,i]},e.selectedText=function(t){return new e(t,0,t.length,null,null)},e.deduceInput=function(e,t,n){if(!e)return{text:"",replaceCharCnt:0};var i=e.value,o=e.selectionStart,r=e.selectionEnd,s=t.value,a=t.selectionStart,u=t.selectionEnd,l=i.substring(r),c=s.substring(u),d=ne.d(l,c);s=s.substring(0,s.length-d);var h=(i=i.substring(0,i.length-d)).substring(0,o),f=s.substring(0,a),p=ne.c(h,f);if(s=s.substring(p),i=i.substring(p),a-=p,o-=p,u-=p,r-=p,n&&a===u&&i.length>0){var g=null;if(a===s.length?ne.H(s,i)&&(g=s.substring(i.length)):ne.k(s,i)&&(g=s.substring(0,s.length-i.length)),null!==g&&g.length>0&&(/\uFE0F/.test(g)||ne.e(g)))return{text:g,replaceCharCnt:0}}return a===u?i===s&&0===o&&r===i.length&&a===s.length&&-1===s.indexOf("\n")&&ne.f(s)?{text:"",replaceCharCnt:0}:{text:s,replaceCharCnt:h.length-p}:{text:s,replaceCharCnt:r-o}},e.EMPTY=new e("",0,0,null,null),e}()),gs=function(){function e(){}return e._getPageOfLine=function(e,t){return Math.floor((e-1)/t)},e._getRangeForPage=function(e,t){var n=e*t,i=n+1,o=n+t;return new z.a(i,1,o+1,1)},e.fromEditorSelection=function(t,n,i,o,r){var s,a=e._getPageOfLine(i.startLineNumber,o),u=e._getRangeForPage(a,o),l=e._getPageOfLine(i.endLineNumber,o),c=e._getRangeForPage(l,o),d=u.intersectRanges(new z.a(1,1,i.startLineNumber,i.startColumn)),h=n.getValueInRange(d,1),f=n.getLineCount(),p=n.getLineMaxColumn(f),g=c.intersectRanges(new z.a(i.endLineNumber,i.endColumn,f,p)),m=n.getValueInRange(g,1);if(a===l||a+1===l)s=n.getValueInRange(i,1);else{var v=u.intersectRanges(i),_=c.intersectRanges(i);s=n.getValueInRange(v,1)+String.fromCharCode(8230)+n.getValueInRange(_,1)}if(r){h.length>500&&(h=h.substring(h.length-500,h.length)),m.length>500&&(m=m.substring(0,500)),s.length>1e3&&(s=s.substring(0,500)+String.fromCharCode(8230)+s.substring(s.length-500,s.length))}return new ps(h+s+m,h.length,h.length+s.length,new H.a(i.startLineNumber,i.startColumn),new H.a(i.endLineNumber,i.endColumn))},e}(),ms=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),vs=!1,_s=function(){function e(){this._lastState=null}return e.prototype.set=function(e,t){this._lastState={lastCopiedValue:e,data:t}},e.prototype.get=function(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)},e.INSTANCE=new e,e}(),ys=function(e){function t(t,n){var i=e.call(this)||this;i.textArea=n,i._onFocus=i._register(new W.a),i.onFocus=i._onFocus.event,i._onBlur=i._register(new W.a),i.onBlur=i._onBlur.event,i._onKeyDown=i._register(new W.a),i.onKeyDown=i._onKeyDown.event,i._onKeyUp=i._register(new W.a),i.onKeyUp=i._onKeyUp.event,i._onCut=i._register(new W.a),i.onCut=i._onCut.event,i._onPaste=i._register(new W.a),i.onPaste=i._onPaste.event,i._onType=i._register(new W.a),i.onType=i._onType.event,i._onCompositionStart=i._register(new W.a),i.onCompositionStart=i._onCompositionStart.event,i._onCompositionUpdate=i._register(new W.a),i.onCompositionUpdate=i._onCompositionUpdate.event,i._onCompositionEnd=i._register(new W.a),i.onCompositionEnd=i._onCompositionEnd.event,i._onSelectionChangeRequest=i._register(new W.a),i.onSelectionChangeRequest=i._onSelectionChangeRequest.event,i._host=t,i._textArea=i._register(new Cs(n)),i._asyncTriggerCut=i._register(new We.d((function(){return i._onCut.fire()}),0)),i._textAreaState=ps.EMPTY,i._selectionChangeListener=null,i.writeScreenReaderContent("ctor"),i._hasFocus=!1,i._isDoingComposition=!1,i._nextCommand=0,i._register(Z.k(n.domNode,"keydown",(function(e){!i._isDoingComposition||109!==e.keyCode&&1!==e.keyCode||e.stopPropagation(),e.equals(9)&&e.preventDefault(),i._onKeyDown.fire(e)}))),i._register(Z.k(n.domNode,"keyup",(function(e){i._onKeyUp.fire(e)}))),i._register(Z.g(n.domNode,"compositionstart",(function(e){i._isDoingComposition||(i._isDoingComposition=!0,Yo.f||i._setAndWriteTextAreaState("compositionstart",ps.EMPTY),i._onCompositionStart.fire())})));var o=function(e){var t=i._textAreaState,n=ps.readFromTextArea(i._textArea);return[n,ps.deduceInput(t,n,e)]},r=function(e){var t=i._textAreaState,n=ps.selectedText(e);return[n,{text:n.value,replaceCharCnt:t.selectionEnd-t.selectionStart}]},s=function(e){return!(!Yo.f||"ja"!==e)||!(!Yo.i||0!==e.indexOf("zh-Han"))};return i._register(Z.g(n.domNode,"compositionupdate",(function(e){if(s(e.locale)){var t=o(!1),n=t[0],a=t[1];return i._textAreaState=n,i._onType.fire(a),void i._onCompositionUpdate.fire(e)}var u=r(e.data),l=u[0],c=u[1];i._textAreaState=l,i._onType.fire(c),i._onCompositionUpdate.fire(e)}))),i._register(Z.g(n.domNode,"compositionend",(function(e){if(i._isDoingComposition){if(s(e.locale)){var t=o(!1),n=t[0],a=t[1];i._textAreaState=n,i._onType.fire(a)}else{var u=r(e.data);n=u[0],a=u[1];i._textAreaState=n,i._onType.fire(a)}(Yo.f||Yo.d)&&(i._textAreaState=ps.readFromTextArea(i._textArea)),i._isDoingComposition&&(i._isDoingComposition=!1,i._onCompositionEnd.fire())}}))),i._register(Z.g(n.domNode,"input",(function(){if(i._textArea.setIgnoreSelectionChangeTime("received input event"),!i._isDoingComposition){var e=o(ie.e),t=e[0],n=e[1];0===n.replaceCharCnt&&1===n.text.length&&ne.x(n.text.charCodeAt(0))||(i._textAreaState=t,0===i._nextCommand?""!==n.text&&i._onType.fire(n):(""===n.text&&0===n.replaceCharCnt||i._firePaste(n.text,null),i._nextCommand=0))}}))),i._register(Z.g(n.domNode,"cut",(function(e){i._textArea.setIgnoreSelectionChangeTime("received cut event"),i._ensureClipboardGetsEditorSelection(e),i._asyncTriggerCut.schedule()}))),i._register(Z.g(n.domNode,"copy",(function(e){i._ensureClipboardGetsEditorSelection(e)}))),i._register(Z.g(n.domNode,"paste",(function(e){if(i._textArea.setIgnoreSelectionChangeTime("received paste event"),bs.canUseTextData(e)){var t=bs.getTextData(e),n=t[0],o=t[1];""!==n&&i._firePaste(n,o)}else i._textArea.getSelectionStart()!==i._textArea.getSelectionEnd()&&i._setAndWriteTextAreaState("paste",ps.EMPTY),i._nextCommand=1}))),i._register(Z.g(n.domNode,"focus",(function(){i._setHasFocus(!0)}))),i._register(Z.g(n.domNode,"blur",(function(){i._setHasFocus(!1)}))),i}return ms(t,e),t.prototype._installSelectionChangeListener=function(){var e=this,t=0;return Z.g(document,"selectionchange",(function(n){if(e._hasFocus&&!e._isDoingComposition&&Yo.d&&ie.h){var i=Date.now(),o=i-t;if(t=i,!(o<5)){var r=i-e._textArea.getIgnoreSelectionChangeTime();if(e._textArea.resetSelectionChangeTime(),!(r<100)&&e._textAreaState.selectionStartPosition&&e._textAreaState.selectionEndPosition){var s=e._textArea.getValue();if(e._textAreaState.value===s){var a=e._textArea.getSelectionStart(),u=e._textArea.getSelectionEnd();if(e._textAreaState.selectionStart!==a||e._textAreaState.selectionEnd!==u){var l=e._textAreaState.deduceEditorPosition(a),c=e._host.deduceModelPosition(l[0],l[1],l[2]),d=e._textAreaState.deduceEditorPosition(u),h=e._host.deduceModelPosition(d[0],d[1],d[2]),f=new U.a(c.lineNumber,c.column,h.lineNumber,h.column);e._onSelectionChangeRequest.fire(f)}}}}}}))},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)},t.prototype.focusTextArea=function(){this._setHasFocus(!0),this.refreshFocusState()},t.prototype.isFocused=function(){return this._hasFocus},t.prototype.refreshFocusState=function(){var e=Z.y(this.textArea.domNode);e?this._setHasFocus(e.activeElement===this.textArea.domNode):Z.G(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)},t.prototype._setHasFocus=function(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(Yo.e?this._setAndWriteTextAreaState("focusgain",ps.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire())},t.prototype._setAndWriteTextAreaState=function(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t},t.prototype.writeScreenReaderContent=function(e){this._isDoingComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))},t.prototype._ensureClipboardGetsEditorSelection=function(e){var t=this._host.getDataToCopy(bs.canUseTextData(e)&&ss.a.clipboard.richText),n={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};_s.INSTANCE.set(Yo.h?t.text.replace(/\r\n/g,"\n"):t.text,n),bs.canUseTextData(e)?bs.setTextData(e,t.text,t.html,n):this._setAndWriteTextAreaState("copy or cut",ps.selectedText(t.text))},t.prototype._firePaste=function(e,t){t||(t=_s.INSTANCE.get(e)),this._onPaste.fire({text:e,metadata:t})},t}(le.a),bs=function(){function e(){}return e.canUseTextData=function(e){return!!e.clipboardData||!!window.clipboardData},e.getTextData=function(e){if(e.clipboardData){e.preventDefault();var t=e.clipboardData.getData("text/plain"),n=null,i=e.clipboardData.getData("vscode-editor-data");if("string"==typeof i)try{1!==(n=JSON.parse(i)).version&&(n=null)}catch(e){}return[t,n]}if(window.clipboardData)return e.preventDefault(),[t=window.clipboardData.getData("Text"),null];throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")},e.setTextData=function(e,t,n,i){if(e.clipboardData)return e.clipboardData.setData("text/plain",t),"string"==typeof n&&e.clipboardData.setData("text/html",n),e.clipboardData.setData("vscode-editor-data",JSON.stringify(i)),void e.preventDefault();if(window.clipboardData)return window.clipboardData.setData("Text",t),void e.preventDefault();throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")},e}(),Cs=function(e){function t(t){var n=e.call(this)||this;return n._actual=t,n._ignoreSelectionChangeTime=0,n}return ms(t,e),t.prototype.setIgnoreSelectionChangeTime=function(e){this._ignoreSelectionChangeTime=Date.now()},t.prototype.getIgnoreSelectionChangeTime=function(){return this._ignoreSelectionChangeTime},t.prototype.resetSelectionChangeTime=function(){this._ignoreSelectionChangeTime=0},t.prototype.getValue=function(){return this._actual.domNode.value},t.prototype.setValue=function(e,t){var n=this._actual.domNode;n.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),n.value=t)},t.prototype.getSelectionStart=function(){return this._actual.domNode.selectionStart},t.prototype.getSelectionEnd=function(){return this._actual.domNode.selectionEnd},t.prototype.setSelectionRange=function(e,t,n){var i=this._actual.domNode,o=Z.y(i),r=(o?o.activeElement:document.activeElement)===i,s=i.selectionStart,a=i.selectionEnd;if(r&&s===t&&a===n)Yo.h&&window.parent!==window&&i.focus();else{if(r)return this.setIgnoreSelectionChangeTime("setSelectionRange"),i.setSelectionRange(t,n),void(Yo.h&&window.parent!==window&&i.focus());try{var u=Z.P(i);this.setIgnoreSelectionChangeTime("setSelectionRange"),i.focus(),i.setSelectionRange(t,n),Z.N(i,u)}catch(e){}}},t}(le.a),ws=(n("Krc3"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Ss=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ws(t,e),t}(yr),Ls=n("zrhQ"),Ns=n("MD5Z"),Os=Object(Ns.Eb)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},Zn.a("lineHighlight","Background color for the highlight of line at the cursor position.")),Ds=Object(Ns.Eb)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},Zn.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),xs=Object(Ns.Eb)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},Zn.a("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),Es=Object(Ns.Eb)("editor.rangeHighlightBorder",{dark:null,light:null,hc:Ns.b},Zn.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),ks=Object(Ns.Eb)("editor.symbolHighlightBackground",{dark:Ns.s,light:Ns.s,hc:null},Zn.a("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),Is=Object(Ns.Eb)("editor.symbolHighlightBorder",{dark:null,light:null,hc:Ns.b},Zn.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),Ms=Object(Ns.Eb)("editorCursor.foreground",{dark:"#AEAFAD",light:Ls.a.black,hc:Ls.a.white},Zn.a("caret","Color of the editor cursor.")),Ts=Object(Ns.Eb)("editorCursor.background",null,Zn.a("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),As=Object(Ns.Eb)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},Zn.a("editorWhitespaces","Color of whitespace characters in the editor.")),Rs=Object(Ns.Eb)("editorIndentGuide.background",{dark:As,light:As,hc:As},Zn.a("editorIndentGuides","Color of the editor indentation guides.")),Ps=Object(Ns.Eb)("editorIndentGuide.activeBackground",{dark:As,light:As,hc:As},Zn.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),Fs=Object(Ns.Eb)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:Ls.a.white},Zn.a("editorLineNumbers","Color of editor line numbers.")),Vs=Object(Ns.Eb)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:Ns.b},Zn.a("editorActiveLineNumber","Color of editor active line number"),!1,Zn.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),Ws=Object(Ns.Eb)("editorLineNumber.activeForeground",{dark:Vs,light:Vs,hc:Vs},Zn.a("editorActiveLineNumber","Color of editor active line number")),Bs=Object(Ns.Eb)("editorRuler.foreground",{dark:"#5A5A5A",light:Ls.a.lightgrey,hc:Ls.a.white},Zn.a("editorRuler","Color of the editor rulers.")),js=(Object(Ns.Eb)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},Zn.a("editorCodeLensForeground","Foreground color of editor code lenses")),Object(Ns.Eb)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},Zn.a("editorBracketMatchBackground","Background color behind matching brackets")),Object(Ns.Eb)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:Ns.e},Zn.a("editorBracketMatchBorder","Color for matching brackets boxes")),Object(Ns.Eb)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},Zn.a("editorOverviewRulerBorder","Color of the overview ruler border."))),Hs=Object(Ns.Eb)("editorGutter.background",{dark:Ns.n,light:Ns.n,hc:Ns.n},Zn.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),zs=Object(Ns.Eb)("editorUnnecessaryCode.border",{dark:null,light:null,hc:Ls.a.fromHex("#fff").transparent(.8)},Zn.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),Us=Object(Ns.Eb)("editorUnnecessaryCode.opacity",{dark:Ls.a.fromHex("#000a"),light:Ls.a.fromHex("#0007"),hc:null},Zn.a("unnecessaryCodeOpacity","Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.")),Ks=Object(Ns.Eb)("editorOverviewRuler.errorForeground",{dark:new Ls.a(new Ls.b(255,18,18,.7)),light:new Ls.a(new Ls.b(255,18,18,.7)),hc:new Ls.a(new Ls.b(255,50,50,1))},Zn.a("overviewRuleError","Overview ruler marker color for errors.")),qs=Object(Ns.Eb)("editorOverviewRuler.warningForeground",{dark:Ns.G,light:Ns.G,hc:Ns.F},Zn.a("overviewRuleWarning","Overview ruler marker color for warnings.")),Gs=Object(Ns.Eb)("editorOverviewRuler.infoForeground",{dark:Ns.B,light:Ns.B,hc:Ns.A},Zn.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(Ir.e)((function(e,t){var n=e.getColor(Ns.n);n&&t.addRule(".monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: "+n+"; }");var i=e.getColor(Ns.w);i&&t.addRule(".monaco-editor, .monaco-editor .inputarea.ime-input { color: "+i+"; }");var o=e.getColor(Hs);o&&t.addRule(".monaco-editor .margin { background-color: "+o+"; }");var r=e.getColor(xs);r&&t.addRule(".monaco-editor .rangeHighlight { background-color: "+r+"; }");var s=e.getColor(Es);s&&t.addRule(".monaco-editor .rangeHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+s+"; }");var a=e.getColor(ks);a&&t.addRule(".monaco-editor .symbolHighlight { background-color: "+a+"; }");var u=e.getColor(Is);u&&t.addRule(".monaco-editor .symbolHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+u+"; }");var l=e.getColor(As);l&&t.addRule(".vs-whitespace { color: "+l+" !important; }")}));var Ys=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Zs=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._readConfig(),n._lastCursorModelPosition=new H.a(1,1),n._renderResult=null,n._context.addEventHandler(n),n}return Ys(t,e),t.prototype._readConfig=function(){var e=this._context.configuration.options;this._lineHeight=e.get(49);var t=e.get(50);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(71);var n=e.get(107);this._lineNumbersLeft=n.lineNumbersLeft,this._lineNumbersWidth=n.lineNumbersWidth},t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return this._readConfig(),!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(t),2===this._renderLineNumbers||3===this._renderLineNumbers},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getLineRenderLineNumber=function(e){var t=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new H.a(e,1));if(1!==t.column)return"";var n=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(2===this._renderLineNumbers){var i=Math.abs(this._lastCursorModelPosition.lineNumber-n);return 0===i?'<span class="relative-current-line-number">'+n+"</span>":String(i)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===n||n%10==0?String(n):"":String(n)},t.prototype.prepareRender=function(e){if(0!==this._renderLineNumbers){for(var n=ie.d?this._lineHeight%2==0?" lh-even":" lh-odd":"",i=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,r='<div class="'+t.CLASS_NAME+n+'" style="left:'+this._lineNumbersLeft.toString()+"px;width:"+this._lineNumbersWidth.toString()+'px;">',s=this._context.model.getLineCount(),a=[],u=i;u<=o;u++){var l=u-i;if(this._renderFinalNewline||u!==s||0!==this._context.model.getLineLength(u)){var c=this._getLineRenderLineNumber(u);a[l]=c?r+c+"</div>":""}else a[l]=""}this._renderResult=a}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t.CLASS_NAME="line-numbers",t}(Ss);Object(Ir.e)((function(e,t){var n=e.getColor(Fs);n&&t.addRule(".monaco-editor .line-numbers { color: "+n+"; }");var i=e.getColor(Ws);i&&t.addRule(".monaco-editor .current-line ~ .line-numbers { color: "+i+"; }")}));var Xs=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Js=function(e){function t(n){var i=e.call(this,n)||this,o=i._context.configuration.options,r=o.get(107);return i._canUseLayerHinting=!o.get(22),i._contentLeft=r.contentLeft,i._glyphMarginLeft=r.glyphMarginLeft,i._glyphMarginWidth=r.glyphMarginWidth,i._domNode=Object(rr.b)(document.createElement("div")),i._domNode.setClassName(t.OUTER_CLASS_NAME),i._domNode.setPosition("absolute"),i._domNode.setAttribute("role","presentation"),i._domNode.setAttribute("aria-hidden","true"),i._glyphMarginBackgroundDomNode=Object(rr.b)(document.createElement("div")),i._glyphMarginBackgroundDomNode.setClassName(t.CLASS_NAME),i._domNode.appendChild(i._glyphMarginBackgroundDomNode),i}return Xs(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._canUseLayerHinting=!t.get(22),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollTopChanged},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");var t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);var n=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(n),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(n)},t.CLASS_NAME="glyph-margin",t.OUTER_CLASS_NAME="margin",t}(Cr),Qs=n("5v8Y"),$s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ea=function(){function e(e){this.type=1,this._source=e}return e.prototype.hasChanged=function(e){return this._source.hasChanged(e)},e}(),ta=function(e){this.type=2,this.contentWidth=e.contentWidth,this.contentHeight=e.contentHeight,this.contentWidthChanged=e.contentWidthChanged,this.contentHeightChanged=e.contentHeightChanged},na=function(e,t){this.type=3,this.selections=e,this.modelSelections=t},ia=function(){this.type=4},oa=function(){this.type=5},ra=function(e){this.type=6,this.isFocused=e},sa=function(){this.type=7},aa=function(){this.type=8},ua=function(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t},la=function(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t},ca=function(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t},da=function(e,t,n,i,o){this.type=12,this.source=e,this.range=t,this.verticalType=n,this.revealHorizontal=i,this.scrollType=o},ha=function(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged},fa=function(){this.type=14},pa=function(e){this.type=15,this.ranges=e},ga=function(){this.type=16},ma=function(){this.type=17},va=function(e){function t(){var t=e.call(this)||this;return t._listeners=[],t._collector=null,t._collectorCnt=0,t}return $s(t,e),t.prototype.dispose=function(){this._listeners=[],e.prototype.dispose.call(this)},t.prototype._beginEmit=function(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new _a),this._collector},t.prototype._endEmit=function(){if(this._collectorCnt--,0===this._collectorCnt){var e=this._collector.finalize();this._collector=null,e.length>0&&this._emit(e)}},t.prototype._emit=function(e){for(var t=this._listeners.slice(0),n=0,i=t.length;n<i;n++)ya(t[n],e)},t.prototype.addEventListener=function(e){var t=this;return this._listeners.push(e),Object(le.f)((function(){for(var n=t._listeners,i=0,o=n.length;i<o;i++)if(n[i]===e){n.splice(i,1);break}}))},t}(le.a),_a=function(){function e(){this._eventsLen=0,this._events=[],this._eventsLen=0}return e.prototype.emit=function(e){this._events[this._eventsLen++]=e},e.prototype.finalize=function(){var e=this._events;return this._events=[],e},e}();function ya(e,t){try{e(t)}catch(e){Be.e(e)}}var ba=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ca=function(){function e(e,t,n){this.top=e,this.left=t,this.width=n}return e.prototype.setWidth=function(t){return new e(this.top,this.left,t)},e}(),wa=Yo.f||Yo.h,Sa=function(e){function t(t,n,i){var o=e.call(this,t)||this;o._primaryCursorPosition=new H.a(1,1),o._primaryCursorVisibleRange=null,o._viewController=n,o._viewHelper=i,o._scrollLeft=0,o._scrollTop=0;var r=o._context.configuration.options,s=r.get(107);o._setAccessibilityOptions(r),o._contentLeft=s.contentLeft,o._contentWidth=s.contentWidth,o._contentHeight=s.height,o._fontInfo=r.get(34),o._lineHeight=r.get(49),o._emptySelectionClipboard=r.get(25),o._copyWithSyntaxHighlighting=r.get(15),o._visibleTextArea=null,o._selections=[new U.a(1,1,1,1)],o._modelSelections=[new U.a(1,1,1,1)],o._lastRenderPosition=null,o.textArea=Object(rr.b)(document.createElement("textarea")),wr.write(o.textArea,6),o.textArea.setClassName("inputarea"),o.textArea.setAttribute("wrap","off"),o.textArea.setAttribute("autocorrect","off"),o.textArea.setAttribute("autocapitalize","off"),o.textArea.setAttribute("autocomplete","off"),o.textArea.setAttribute("spellcheck","false"),o.textArea.setAttribute("aria-label",o._getAriaLabel(r)),o.textArea.setAttribute("role","textbox"),o.textArea.setAttribute("aria-multiline","true"),o.textArea.setAttribute("aria-haspopup","false"),o.textArea.setAttribute("aria-autocomplete","both"),ie.g&&r.get(68)&&o.textArea.setAttribute("readonly","true"),o.textAreaCover=Object(rr.b)(document.createElement("div")),o.textAreaCover.setPosition("absolute");var a={getLineCount:function(){return o._context.model.getLineCount()},getLineMaxColumn:function(e){return o._context.model.getLineMaxColumn(e)},getValueInRange:function(e,t){return o._context.model.getValueInRange(e,t)}},u={getDataToCopy:function(e){var t=o._context.model.getPlainTextToCopy(o._modelSelections,o._emptySelectionClipboard,ie.h),n=o._context.model.getEOL(),i=o._emptySelectionClipboard&&1===o._modelSelections.length&&o._modelSelections[0].isEmpty(),r=Array.isArray(t)?t:null,s=Array.isArray(t)?t.join(n):t,a=void 0,u=null;if(e&&(vs||o._copyWithSyntaxHighlighting&&s.length<65536)){var l=o._context.model.getRichTextToCopy(o._modelSelections,o._emptySelectionClipboard);l&&(a=l.html,u=l.mode)}return{isFromEmptySelection:i,multicursorText:r,text:s,html:a,mode:u}},getScreenReaderContent:function(e){if(Yo.j)return ps.EMPTY;if(1===o._accessibilitySupport){if(ie.e){var t=o._selections[0];if(t.isEmpty()){var n=t.getStartPosition(),i=o._getWordBeforePosition(n);if(0===i.length&&(i=o._getCharacterBeforePosition(n)),i.length>0)return new ps(i,i.length,i.length,n,n)}}return ps.EMPTY}return gs.fromEditorSelection(e,a,o._selections[0],o._accessibilityPageSize,0===o._accessibilitySupport)},deduceModelPosition:function(e,t,n){return o._context.model.deduceModelPositionRelativeToViewPosition(e,t,n)}};return o._textAreaInput=o._register(new ys(u,o.textArea)),o._register(o._textAreaInput.onKeyDown((function(e){o._viewController.emitKeyDown(e)}))),o._register(o._textAreaInput.onKeyUp((function(e){o._viewController.emitKeyUp(e)}))),o._register(o._textAreaInput.onPaste((function(e){var t=!1,n=null,i=null;e.metadata&&(t=o._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,n=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,i=e.metadata.mode),o._viewController.paste("keyboard",e.text,t,n,i)}))),o._register(o._textAreaInput.onCut((function(){o._viewController.cut("keyboard")}))),o._register(o._textAreaInput.onType((function(e){e.replaceCharCnt?o._viewController.replacePreviousChar("keyboard",e.text,e.replaceCharCnt):o._viewController.type("keyboard",e.text)}))),o._register(o._textAreaInput.onSelectionChangeRequest((function(e){o._viewController.setSelection("keyboard",e)}))),o._register(o._textAreaInput.onCompositionStart((function(){var e=o._selections[0].startLineNumber,t=o._selections[0].startColumn;o._context.privateViewEventBus.emit(new da("keyboard",new z.a(e,t,e,t),0,!0,1));var n=o._viewHelper.visibleRangeForPositionRelativeToEditor(e,t);n&&(o._visibleTextArea=new Ca(o._context.viewLayout.getVerticalOffsetForLineNumber(e),n.left,wa?0:1),o._render()),o.textArea.setClassName("inputarea ime-input"),o._viewController.compositionStart("keyboard")}))),o._register(o._textAreaInput.onCompositionUpdate((function(e){Yo.f?o._visibleTextArea=o._visibleTextArea.setWidth(0):o._visibleTextArea=o._visibleTextArea.setWidth(function(e,t){var n=document.createElement("canvas").getContext("2d");n.font=(i=t,o="normal",r=i.fontWeight,s=i.fontSize,a=i.lineHeight,u=i.fontFamily,o+" normal "+r+" "+s+"px / "+a+"px "+u);var i,o,r,s,a,u;var l=n.measureText(e);return Yo.h?l.width+2:l.width}(e.data,o._fontInfo)),o._render()}))),o._register(o._textAreaInput.onCompositionEnd((function(){o._visibleTextArea=null,o._render(),o.textArea.setClassName("inputarea"),o._viewController.compositionEnd("keyboard")}))),o._register(o._textAreaInput.onFocus((function(){o._context.privateViewEventBus.emit(new ra(!0))}))),o._register(o._textAreaInput.onBlur((function(){o._context.privateViewEventBus.emit(new ra(!1))}))),o}return ba(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._getWordBeforePosition=function(e){for(var t=this._context.model.getLineContent(e.lineNumber),n=Object(Qs.a)(this._context.configuration.options.get(96)),i=e.column,o=0;i>1;){var r=t.charCodeAt(i-2);if(0!==n.get(r)||o>50)return t.substring(i-1,e.column-1);o++,i--}return t.substring(0,e.column-1)},t.prototype._getCharacterBeforePosition=function(e){if(e.column>1){var t=this._context.model.getLineContent(e.lineNumber).charAt(e.column-2);if(!ne.x(t.charCodeAt(0)))return t}return""},t.prototype._getAriaLabel=function(e){return 1===e.get(2)?Zn.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press Alt+F1 for options."):e.get(4)},t.prototype._setAccessibilityOptions=function(e){this._accessibilitySupport=e.get(2);var t=e.get(3);2===this._accessibilitySupport&&t===F.e.accessibilityPageSize.defaultValue?this._accessibilityPageSize=160:this._accessibilityPageSize=t},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._setAccessibilityOptions(t),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._contentHeight=n.height,this._fontInfo=t.get(34),this._lineHeight=t.get(49),this._emptySelectionClipboard=t.get(25),this._copyWithSyntaxHighlighting=t.get(15),this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),ie.g&&e.hasChanged(68)&&(t.get(68)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),e.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0},t.prototype.onZonesChanged=function(e){return!0},t.prototype.isFocused=function(){return this._textAreaInput.isFocused()},t.prototype.focusTextArea=function(){this._textAreaInput.focusTextArea()},t.prototype.getLastRenderData=function(){return this._lastRenderPosition},t.prototype.setAriaOptions=function(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant"))},t.prototype.prepareRender=function(e){this._primaryCursorPosition=new H.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition)},t.prototype.render=function(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()},t.prototype._render=function(){if(this._visibleTextArea)this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);else if(this._primaryCursorVisibleRange){var e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(e<this._contentLeft||e>this._contentLeft+this._contentWidth)this._renderAtTopLeft();else{var t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;t<0||t>this._contentHeight?this._renderAtTopLeft():ie.e?this._renderInsideEditor(this._primaryCursorPosition,t,e,wa?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,t,e,wa?0:1,wa?0:1)}}else this._renderAtTopLeft()},t.prototype._renderInsideEditor=function(e,t,n,i,o){this._lastRenderPosition=e;var r=this.textArea,s=this.textAreaCover;ir.applyFontInfo(r,this._fontInfo),r.setTop(t),r.setLeft(n),r.setWidth(i),r.setHeight(o),s.setTop(0),s.setLeft(0),s.setWidth(0),s.setHeight(0)},t.prototype._renderAtTopLeft=function(){this._lastRenderPosition=null;var e=this.textArea,t=this.textAreaCover;if(ir.applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),wa)return e.setWidth(0),e.setHeight(0),t.setWidth(0),void t.setHeight(0);e.setWidth(1),e.setHeight(1),t.setWidth(1),t.setHeight(1);var n=this._context.configuration.options;n.get(40)?t.setClassName("monaco-editor-background textAreaCover "+Js.OUTER_CLASS_NAME):0!==n.get(50).renderType?t.setClassName("monaco-editor-background textAreaCover "+Zs.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")},t}(Cr);var La=n("1YUG"),Na=function(){function e(e,t,n,i){this.configuration=e,this.viewModel=t,this.outgoingEvents=n,this.commandDelegate=i}return e.prototype._execMouseCommand=function(e,t){t.source="mouse",this.commandDelegate.executeEditorCommand(e,t)},e.prototype.paste=function(e,t,n,i,o){this.commandDelegate.paste(e,t,n,i,o)},e.prototype.type=function(e,t){this.commandDelegate.type(e,t)},e.prototype.replacePreviousChar=function(e,t,n){this.commandDelegate.replacePreviousChar(e,t,n)},e.prototype.compositionStart=function(e){this.commandDelegate.compositionStart(e)},e.prototype.compositionEnd=function(e){this.commandDelegate.compositionEnd(e)},e.prototype.cut=function(e){this.commandDelegate.cut(e)},e.prototype.setSelection=function(e,t){this.commandDelegate.executeEditorCommand(La.CoreNavigationCommands.SetSelection,{source:e,selection:t})},e.prototype._validateViewColumn=function(e){var t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column<t?new H.a(e.lineNumber,t):e},e.prototype._hasMulticursorModifier=function(e){switch(this.configuration.options.get(59)){case"altKey":return e.altKey;case"ctrlKey":return e.ctrlKey;case"metaKey":return e.metaKey}return!1},e.prototype._hasNonMulticursorModifier=function(e){switch(this.configuration.options.get(59)){case"altKey":return e.ctrlKey||e.metaKey;case"ctrlKey":return e.altKey||e.metaKey;case"metaKey":return e.ctrlKey||e.altKey}return!1},e.prototype.dispatchMouse=function(e){var t=ie.d&&this.configuration.options.get(81);e.middleButton&&!t?this._columnSelect(e.position,e.mouseColumn,e.inSelectionMode):e.startedOnLineNumbers?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelect(e.position):this._createCursor(e.position,!0):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):e.mouseDownCount>=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):2===e.mouseDownCount?this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position):this.moveTo(e.position)},e.prototype._usualArgs=function(e){return e=this._validateViewColumn(e),{position:this._convertViewToModelPosition(e),viewPosition:e}},e.prototype.moveTo=function(e){this._execMouseCommand(La.CoreNavigationCommands.MoveTo,this._usualArgs(e))},e.prototype._moveToSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.MoveToSelect,this._usualArgs(e))},e.prototype._columnSelect=function(e,t,n){e=this._validateViewColumn(e),this._execMouseCommand(La.CoreNavigationCommands.ColumnSelect,{position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})},e.prototype._createCursor=function(e,t){e=this._validateViewColumn(e),this._execMouseCommand(La.CoreNavigationCommands.CreateCursor,{position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})},e.prototype._lastCursorMoveToSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.LastCursorMoveToSelect,this._usualArgs(e))},e.prototype._wordSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.WordSelect,this._usualArgs(e))},e.prototype._wordSelectDrag=function(e){this._execMouseCommand(La.CoreNavigationCommands.WordSelectDrag,this._usualArgs(e))},e.prototype._lastCursorWordSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.LastCursorWordSelect,this._usualArgs(e))},e.prototype._lineSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.LineSelect,this._usualArgs(e))},e.prototype._lineSelectDrag=function(e){this._execMouseCommand(La.CoreNavigationCommands.LineSelectDrag,this._usualArgs(e))},e.prototype._lastCursorLineSelect=function(e){this._execMouseCommand(La.CoreNavigationCommands.LastCursorLineSelect,this._usualArgs(e))},e.prototype._lastCursorLineSelectDrag=function(e){this._execMouseCommand(La.CoreNavigationCommands.LastCursorLineSelectDrag,this._usualArgs(e))},e.prototype._selectAll=function(){this._execMouseCommand(La.CoreNavigationCommands.SelectAll,{})},e.prototype._convertViewToModelPosition=function(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)},e.prototype.emitKeyDown=function(e){this.outgoingEvents.emitKeyDown(e)},e.prototype.emitKeyUp=function(e){this.outgoingEvents.emitKeyUp(e)},e.prototype.emitContextMenu=function(e){this.outgoingEvents.emitContextMenu(e)},e.prototype.emitMouseMove=function(e){this.outgoingEvents.emitMouseMove(e)},e.prototype.emitMouseLeave=function(e){this.outgoingEvents.emitMouseLeave(e)},e.prototype.emitMouseUp=function(e){this.outgoingEvents.emitMouseUp(e)},e.prototype.emitMouseDown=function(e){this.outgoingEvents.emitMouseDown(e)},e.prototype.emitMouseDrag=function(e){this.outgoingEvents.emitMouseDrag(e)},e.prototype.emitMouseDrop=function(e){this.outgoingEvents.emitMouseDrop(e)},e.prototype.emitMouseWheel=function(e){this.outgoingEvents.emitMouseWheel(e)},e}(),Oa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Da=function(e){function t(t){var n=e.call(this)||this;return n.onDidContentSizeChange=null,n.onDidScroll=null,n.onDidGainFocus=null,n.onDidLoseFocus=null,n.onKeyDown=null,n.onKeyUp=null,n.onContextMenu=null,n.onMouseMove=null,n.onMouseLeave=null,n.onMouseUp=null,n.onMouseDown=null,n.onMouseDrag=null,n.onMouseDrop=null,n.onMouseWheel=null,n._viewModel=t,n}return Oa(t,e),t.prototype.emitContentSizeChange=function(e){this.onDidContentSizeChange&&this.onDidContentSizeChange(e)},t.prototype.emitScrollChanged=function(e){this.onDidScroll&&this.onDidScroll(e)},t.prototype.emitViewFocusGained=function(){this.onDidGainFocus&&this.onDidGainFocus(void 0)},t.prototype.emitViewFocusLost=function(){this.onDidLoseFocus&&this.onDidLoseFocus(void 0)},t.prototype.emitKeyDown=function(e){this.onKeyDown&&this.onKeyDown(e)},t.prototype.emitKeyUp=function(e){this.onKeyUp&&this.onKeyUp(e)},t.prototype.emitContextMenu=function(e){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseMove=function(e){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseLeave=function(e){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseUp=function(e){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDown=function(e){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDrag=function(e){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDrop=function(e){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseWheel=function(e){this.onMouseWheel&&this.onMouseWheel(e)},t.prototype._convertViewToModelMouseEvent=function(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e},t.prototype._convertViewToModelMouseTarget=function(e){return t.convertViewToModelMouseTarget(e,this._viewModel.coordinatesConverter)},t.convertViewToModelMouseTarget=function(e,t){return new xa(e.element,e.type,e.mouseColumn,e.position?t.convertViewPositionToModelPosition(e.position):null,e.range?t.convertViewRangeToModelRange(e.range):null,e.detail)},t}(le.a),xa=function(){function e(e,t,n,i,o,r){this.element=e,this.type=t,this.mouseColumn=n,this.position=i,this.range=o,this.detail=r}return e.prototype.toString=function(){return Gr.toString(this)},e}(),Ea=function(){function e(e){this._createLine=e,this._set(1,[])}return e.prototype.flush=function(){this._set(1,[])},e.prototype._set=function(e,t){this._lines=t,this._rendLineNumberStart=e},e.prototype._get=function(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}},e.prototype.getStartLineNumber=function(){return this._rendLineNumberStart},e.prototype.getEndLineNumber=function(){return this._rendLineNumberStart+this._lines.length-1},e.prototype.getCount=function(){return this._lines.length},e.prototype.getLine=function(e){var t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]},e.prototype.onLinesDeleted=function(e,t){if(0===this.getCount())return null;var n=this.getStartLineNumber(),i=this.getEndLineNumber();if(t<n){var o=t-e+1;return this._rendLineNumberStart-=o,null}if(e>i)return null;for(var r=0,s=0,a=n;a<=i;a++){var u=a-this._rendLineNumberStart;e<=a&&a<=t&&(0===s?(r=u,s=1):s++)}if(e<n){var l=0;l=t<n?t-e+1:n-e,this._rendLineNumberStart-=l}return this._lines.splice(r,s)},e.prototype.onLinesChanged=function(e,t){if(0===this.getCount())return!1;for(var n=this.getStartLineNumber(),i=this.getEndLineNumber(),o=!1,r=e;r<=t;r++)r>=n&&r<=i&&(this._lines[r-this._rendLineNumberStart].onContentChanged(),o=!0);return o},e.prototype.onLinesInserted=function(e,t){if(0===this.getCount())return null;var n=t-e+1,i=this.getStartLineNumber(),o=this.getEndLineNumber();if(e<=i)return this._rendLineNumberStart+=n,null;if(e>o)return null;if(n+e>o)return this._lines.splice(e-this._rendLineNumberStart,o-e+1);for(var r=[],s=0;s<n;s++)r[s]=this._createLine();var a=e-this._rendLineNumberStart,u=this._lines.slice(0,a),l=this._lines.slice(a,this._lines.length-n),c=this._lines.slice(this._lines.length-n,this._lines.length);return this._lines=u.concat(r).concat(l),c},e.prototype.onTokensChanged=function(e){if(0===this.getCount())return!1;for(var t=this.getStartLineNumber(),n=this.getEndLineNumber(),i=!1,o=0,r=e.length;o<r;o++){var s=e[o];if(!(s.toLineNumber<t||s.fromLineNumber>n))for(var a=Math.max(t,s.fromLineNumber),u=Math.min(n,s.toLineNumber),l=a;l<=u;l++){var c=l-this._rendLineNumberStart;this._lines[c].onTokensChanged(),i=!0}}return i},e}(),ka=function(){function e(e){var t=this;this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new Ea((function(){return t._host.createVisibleLine()}))}return e.prototype._createDomNode=function(){var e=Object(rr.b)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e},e.prototype.onConfigurationChanged=function(e){return!!e.hasChanged(107)},e.prototype.onFlushed=function(e){return this._linesCollection.flush(),!0},e.prototype.onLinesChanged=function(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesDeleted=function(e){var t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,i=t.length;n<i;n++){var o=t[n].getDomNode();o&&this.domNode.domNode.removeChild(o)}return!0},e.prototype.onLinesInserted=function(e){var t=this._linesCollection.onLinesInserted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,i=t.length;n<i;n++){var o=t[n].getDomNode();o&&this.domNode.domNode.removeChild(o)}return!0},e.prototype.onScrollChanged=function(e){return e.scrollTopChanged},e.prototype.onTokensChanged=function(e){return this._linesCollection.onTokensChanged(e.ranges)},e.prototype.onZonesChanged=function(e){return!0},e.prototype.getStartLineNumber=function(){return this._linesCollection.getStartLineNumber()},e.prototype.getEndLineNumber=function(){return this._linesCollection.getEndLineNumber()},e.prototype.getVisibleLine=function(e){return this._linesCollection.getLine(e)},e.prototype.renderLines=function(e){var t=this._linesCollection._get(),n=new Ia(this.domNode.domNode,this._host,e),i={rendLineNumberStart:t.rendLineNumberStart,lines:t.lines,linesLength:t.lines.length},o=n.render(i,e.startLineNumber,e.endLineNumber,e.relativeVerticalOffset);this._linesCollection._set(o.rendLineNumberStart,o.lines)},e}(),Ia=function(){function e(e,t,n){this.domNode=e,this.host=t,this.viewportData=n}return e.prototype.render=function(e,t,n,i){var o={rendLineNumberStart:e.rendLineNumberStart,lines:e.lines.slice(0),linesLength:e.linesLength};if(o.rendLineNumberStart+o.linesLength-1<t||n<o.rendLineNumberStart){o.rendLineNumberStart=t,o.linesLength=n-t+1,o.lines=[];for(var r=t;r<=n;r++)o.lines[r-t]=this.host.createVisibleLine();return this._finishRendering(o,!0,i),o}if(this._renderUntouchedLines(o,Math.max(t-o.rendLineNumberStart,0),Math.min(n-o.rendLineNumberStart,o.linesLength-1),i,t),o.rendLineNumberStart>t)(u=t)<=(s=Math.min(n,o.rendLineNumberStart-1))&&(this._insertLinesBefore(o,u,s,i,t),o.linesLength+=s-u+1);else if(o.rendLineNumberStart<t){(a=Math.min(o.linesLength,t-o.rendLineNumberStart))>0&&(this._removeLinesBefore(o,a),o.linesLength-=a)}if(o.rendLineNumberStart=t,o.rendLineNumberStart+o.linesLength-1<n)(u=o.rendLineNumberStart+o.linesLength)<=(s=n)&&(this._insertLinesAfter(o,u,s,i,t),o.linesLength+=s-u+1);else if(o.rendLineNumberStart+o.linesLength-1>n){var s,a,u=Math.max(0,n-o.rendLineNumberStart+1);(a=(s=o.linesLength-1)-u+1)>0&&(this._removeLinesAfter(o,a),o.linesLength-=a)}return this._finishRendering(o,!1,i),o},e.prototype._renderUntouchedLines=function(e,t,n,i,o){for(var r=e.rendLineNumberStart,s=e.lines,a=t;a<=n;a++){var u=r+a;s[a].layoutLine(u,i[u-o])}},e.prototype._insertLinesBefore=function(e,t,n,i,o){for(var r=[],s=0,a=t;a<=n;a++)r[s++]=this.host.createVisibleLine();e.lines=r.concat(e.lines)},e.prototype._removeLinesBefore=function(e,t){for(var n=0;n<t;n++){var i=e.lines[n].getDomNode();i&&this.domNode.removeChild(i)}e.lines.splice(0,t)},e.prototype._insertLinesAfter=function(e,t,n,i,o){for(var r=[],s=0,a=t;a<=n;a++)r[s++]=this.host.createVisibleLine();e.lines=e.lines.concat(r)},e.prototype._removeLinesAfter=function(e,t){for(var n=e.linesLength-t,i=0;i<t;i++){var o=e.lines[n+i].getDomNode();o&&this.domNode.removeChild(o)}e.lines.splice(n,t)},e.prototype._finishRenderingNewLines=function(e,t,n,i){var o=this.domNode.lastChild;t||!o?this.domNode.innerHTML=n:o.insertAdjacentHTML("afterend",n);for(var r=this.domNode.lastChild,s=e.linesLength-1;s>=0;s--){var a=e.lines[s];i[s]&&(a.setDomNode(r),r=r.previousSibling)}},e.prototype._finishRenderingInvalidLines=function(e,t,n){var i=document.createElement("div");i.innerHTML=t;for(var o=0;o<e.linesLength;o++){var r=e.lines[o];if(n[o]){var s=i.firstChild,a=r.getDomNode();a.parentNode.replaceChild(s,a),r.setDomNode(s)}}},e.prototype._finishRendering=function(t,n,i){var o=e._sb,r=t.linesLength,s=t.lines,a=t.rendLineNumberStart,u=[];o.reset();for(var l=!1,c=0;c<r;c++){var d=s[c];if(u[c]=!1,!d.getDomNode())d.renderLine(c+a,i[c],this.viewportData,o)&&(u[c]=!0,l=!0)}l&&this._finishRenderingNewLines(t,n,o.build(),u),o.reset();var h=!1,f=[];for(c=0;c<r;c++){d=s[c];if(f[c]=!1,!u[c])d.renderLine(c+a,i[c],this.viewportData,o)&&(f[c]=!0,h=!0)}h&&this._finishRenderingInvalidLines(t,o.build(),f)},e._sb=tn(1e5),e}(),Ma=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ta=function(e){function t(t){var n=e.call(this,t)||this;return n._visibleLines=new ka(n),n.domNode=n._visibleLines.domNode,n._dynamicOverlays=[],n._isFocused=!1,n.domNode.setClassName("view-overlays"),n}return Ma(t,e),t.prototype.shouldRender=function(){if(e.prototype.shouldRender.call(this))return!0;for(var t=0,n=this._dynamicOverlays.length;t<n;t++){if(this._dynamicOverlays[t].shouldRender())return!0}return!1},t.prototype.dispose=function(){e.prototype.dispose.call(this);for(var t=0,n=this._dynamicOverlays.length;t<n;t++){this._dynamicOverlays[t].dispose()}this._dynamicOverlays=[]},t.prototype.getDomNode=function(){return this.domNode},t.prototype.createVisibleLine=function(){return new Aa(this._context.configuration,this._dynamicOverlays)},t.prototype.addDynamicOverlay=function(e){this._dynamicOverlays.push(e)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e);for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=t;i<=n;i++){this._visibleLines.getVisibleLine(i).onConfigurationChanged(e)}return!0},t.prototype.onFlushed=function(e){return this._visibleLines.onFlushed(e)},t.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!0},t.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},t.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},t.prototype.onScrollChanged=function(e){return this._visibleLines.onScrollChanged(e)||!0},t.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},t.prototype.onZonesChanged=function(e){return this._visibleLines.onZonesChanged(e)},t.prototype.prepareRender=function(e){for(var t=this._dynamicOverlays.filter((function(e){return e.shouldRender()})),n=0,i=t.length;n<i;n++){var o=t[n];o.prepareRender(e),o.onDidRender()}},t.prototype.render=function(e){this._viewOverlaysRender(e),this.domNode.toggleClassName("focused",this._isFocused)},t.prototype._viewOverlaysRender=function(e){this._visibleLines.renderLines(e.viewportData)},t}(Cr),Aa=function(){function e(e,t){this._configuration=e,this._lineHeight=this._configuration.options.get(49),this._dynamicOverlays=t,this._domNode=null,this._renderedContent=null}return e.prototype.getDomNode=function(){return this._domNode?this._domNode.domNode:null},e.prototype.setDomNode=function(e){this._domNode=Object(rr.b)(e)},e.prototype.onContentChanged=function(){},e.prototype.onTokensChanged=function(){},e.prototype.onConfigurationChanged=function(e){this._lineHeight=this._configuration.options.get(49)},e.prototype.renderLine=function(e,t,n,i){for(var o="",r=0,s=this._dynamicOverlays.length;r<s;r++){o+=this._dynamicOverlays[r].render(n.startLineNumber,e)}return this._renderedContent!==o&&(this._renderedContent=o,i.appendASCIIString('<div style="position:absolute;top:'),i.appendASCIIString(String(t)),i.appendASCIIString("px;width:100%;height:"),i.appendASCIIString(String(this._lineHeight)),i.appendASCIIString('px;">'),i.appendASCIIString(o),i.appendASCIIString("</div>"),!0)},e.prototype.layoutLine=function(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))},e}(),Ra=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options.get(107);return n._contentWidth=i.contentWidth,n.domNode.setHeight(0),n}return Ma(t,e),t.prototype.onConfigurationChanged=function(t){var n=this._context.configuration.options.get(107);return this._contentWidth=n.contentWidth,e.prototype.onConfigurationChanged.call(this,t)||!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollWidthChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t),this.domNode.setWidth(Math.max(t.scrollWidth,this._contentWidth))},t}(Ta),Pa=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options,o=i.get(107);return n._contentLeft=o.contentLeft,n.domNode.setClassName("margin-view-overlays"),n.domNode.setWidth(1),ir.applyFontInfo(n.domNode,i.get(34)),n}return Ma(t,e),t.prototype.onConfigurationChanged=function(t){var n=this._context.configuration.options;ir.applyFontInfo(this.domNode,n.get(34));var i=n.get(107);return this._contentLeft=i.contentLeft,e.prototype.onConfigurationChanged.call(this,t)||!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollHeightChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t);var n=Math.min(t.scrollHeight,1e6);this.domNode.setHeight(n),this.domNode.setWidth(this._contentLeft)},t}(Ta),Fa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Va=function(e,t){this.top=e,this.left=t},Wa=function(e){function t(t,n){var i=e.call(this,t)||this;return i._viewDomNode=n,i._widgets={},i.domNode=Object(rr.b)(document.createElement("div")),wr.write(i.domNode,1),i.domNode.setClassName("contentWidgets"),i.domNode.setPosition("absolute"),i.domNode.setTop(0),i.overflowingContentWidgetsDomNode=Object(rr.b)(document.createElement("div")),wr.write(i.overflowingContentWidgetsDomNode,2),i.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),i}return Fa(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.onConfigurationChanged=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var i=n[t];this._widgets[i].onConfigurationChanged(e)}return!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLineMappingChanged=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var i=n[t];this._widgets[i].onLineMappingChanged(e)}return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onZonesChanged=function(e){return!0},t.prototype.addWidget=function(e){var t=new Ba(this._context,this._viewDomNode,e);this._widgets[t.id]=t,t.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(t.domNode):this.domNode.appendChild(t.domNode),this.setShouldRender()},t.prototype.setWidgetPosition=function(e,t,n){this._widgets[e.getId()].setPosition(t,n),this.setShouldRender()},t.prototype.removeWidget=function(e){var t=e.getId();if(this._widgets.hasOwnProperty(t)){var n=this._widgets[t];delete this._widgets[t];var i=n.domNode.domNode;i.parentNode.removeChild(i),i.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}},t.prototype.shouldSuppressMouseDownOnWidget=function(e){return!!this._widgets.hasOwnProperty(e)&&this._widgets[e].suppressMouseDown},t.prototype.onBeforeRender=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var i=n[t];this._widgets[i].onBeforeRender(e)}},t.prototype.prepareRender=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var i=n[t];this._widgets[i].prepareRender(e)}},t.prototype.render=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var i=n[t];this._widgets[i].render(e)}},t}(Cr),Ba=function(){function e(e,t,n){this._context=e,this._viewDomNode=t,this._actual=n,this.domNode=Object(rr.b)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;var i=this._context.configuration.options,o=i.get(107);this._fixedOverflowWidgets=i.get(29),this._contentWidth=o.contentWidth,this._contentLeft=o.contentLeft,this._lineHeight=i.get(49),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}return e.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;if(this._lineHeight=t.get(49),e.hasChanged(107)){var n=t.get(107);this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._maxWidth=this._getMaxWidth()}},e.prototype.onLineMappingChanged=function(e){this._setPosition(this._range)},e.prototype._setPosition=function(e){if(this._range=e,this._viewRange=null,this._range){var t=this._context.model.validateModelRange(this._range);(this._context.model.coordinatesConverter.modelPositionIsVisible(t.getStartPosition())||this._context.model.coordinatesConverter.modelPositionIsVisible(t.getEndPosition()))&&(this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(t))}},e.prototype._getMaxWidth=function(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth},e.prototype.setPosition=function(e,t){this._setPosition(e),this._preference=t,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1},e.prototype._layoutBoxInViewport=function(e,t,n,i,o){var r=e.top,s=r,a=t.top+this._lineHeight,u=r-i,l=s>=i,c=a,d=o.viewportHeight-a>=i,h=e.left,f=t.left;return h+n>o.scrollLeft+o.viewportWidth&&(h=o.scrollLeft+o.viewportWidth-n),f+n>o.scrollLeft+o.viewportWidth&&(f=o.scrollLeft+o.viewportWidth-n),h<o.scrollLeft&&(h=o.scrollLeft),f<o.scrollLeft&&(f=o.scrollLeft),{fitsAbove:l,aboveTop:u,aboveLeft:h,fitsBelow:d,belowTop:c,belowLeft:f}},e.prototype._layoutHorizontalSegmentInPage=function(e,t,n,i){var o,r=Math.max(0,t.left-i),s=Math.min(t.left+t.width+i,e.width),a=t.left+n-Z.d.scrollX;a+i>s&&(a-=o=a-(s-i),n-=o);a<r&&(a-=o=a-r,n-=o);return[n,a]},e.prototype._layoutBoxInPage=function(e,t,n,i,o){var r=e.top-i,s=t.top+this._lineHeight,a=Z.w(this._viewDomNode.domNode),u=a.top+r-Z.d.scrollY,l=a.top+s-Z.d.scrollY,c=Z.s(document.body),d=this._layoutHorizontalSegmentInPage(c,a,e.left-o.scrollLeft+this._contentLeft,n),h=d[0],f=d[1],p=this._layoutHorizontalSegmentInPage(c,a,t.left-o.scrollLeft+this._contentLeft,n),g=p[0],m=p[1],v=u>=22,_=l+i<=c.height-22;return this._fixedOverflowWidgets?{fitsAbove:v,aboveTop:Math.max(u,22),aboveLeft:f,fitsBelow:_,belowTop:l,belowLeft:m}:{fitsAbove:v,aboveTop:Math.max(r,22),aboveLeft:h,fitsBelow:_,belowTop:s,belowLeft:g}},e.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(e){return new Va(e.top,e.left+this._contentLeft)},e.prototype._getTopAndBottomLeft=function(e){if(!this._viewRange)return[null,null];var t=e.linesVisibleRangesForRange(this._viewRange,!1);if(!t||0===t.length)return[null,null];for(var n=t[0],i=t[0],o=0,r=t;o<r.length;o++){var s=r[o];s.lineNumber<n.lineNumber&&(n=s),s.lineNumber>i.lineNumber&&(i=s)}for(var a=1073741824,u=0,l=n.ranges;u<l.length;u++){(f=l[u]).left<a&&(a=f.left)}for(var c=1073741824,d=0,h=i.ranges;d<h.length;d++){var f;(f=h[d]).left<c&&(c=f.left)}var p=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.scrollTop,g=new Va(p,a),m=e.getVerticalOffsetForLineNumber(i.lineNumber)-e.scrollTop;return[g,new Va(m,c)]},e.prototype._prepareRenderWidget=function(e){var t,n=this._getTopAndBottomLeft(e),i=n[0],o=n[1];if(!i||!o)return null;if(-1===this._cachedDomNodeClientWidth||-1===this._cachedDomNodeClientHeight){var r=this.domNode.domNode;this._cachedDomNodeClientWidth=r.clientWidth,this._cachedDomNodeClientHeight=r.clientHeight}if(t=this.allowEditorOverflow?this._layoutBoxInPage(i,o,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e):this._layoutBoxInViewport(i,o,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e),this._preference)for(var s=1;s<=2;s++)for(var a=0,u=this._preference;a<u.length;a++){var l=u[a];if(1===l){if(!t)return null;if(2===s||t.fitsAbove)return new Va(t.aboveTop,t.aboveLeft)}else{if(2!==l)return this.allowEditorOverflow?this._prepareRenderWidgetAtExactPositionOverflowing(i):i;if(!t)return null;if(2===s||t.fitsBelow)return new Va(t.belowTop,t.belowLeft)}}return null},e.prototype.onBeforeRender=function(e){this._viewRange&&this._preference&&(this._viewRange.endLineNumber<e.startLineNumber||this._viewRange.startLineNumber>e.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))},e.prototype.prepareRender=function(e){this._renderData=this._prepareRenderWidget(e)},e.prototype.render=function(e){this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)):this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"))},e}(),ja=(n("kw+w"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Ha=!0,za=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options,o=i.get(107);return n._lineHeight=i.get(49),n._renderLineHighlight=i.get(72),n._contentLeft=o.contentLeft,n._contentWidth=o.contentWidth,n._selectionIsEmpty=!0,n._cursorLineNumbers=[],n._selections=[],n._renderData=null,n._context.addEventHandler(n),n}return ja(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype._readFromSelections=function(){var e=!1,t=Ha?this._selections.slice(0,1):this._selections,n=t.map((function(e){return e.positionLineNumber}));n.sort((function(e,t){return e-t})),Xe.f(this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,e=!0);var i=t.every((function(e){return e.isEmpty()}));return this._selectionIsEmpty!==i&&(this._selectionIsEmpty=i,e=!0),e},t.prototype.onThemeChanged=function(e){return this._readFromSelections()},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._lineHeight=t.get(49),this._renderLineHighlight=t.get(72),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections,this._readFromSelections()},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollWidthChanged||e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){if(this._shouldRenderThis()){for(var t=this._renderOne(e),n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o=this._cursorLineNumbers.length,r=0,s=[],a=n;a<=i;a++){for(var u=a-n;r<o&&this._cursorLineNumbers[r]<a;)r++;r<o&&this._cursorLineNumbers[r]===a?s[u]=t:s[u]=""}this._renderData=s}else this._renderData=null},t.prototype.render=function(e,t){if(!this._renderData)return"";var n=t-e;return n>=this._renderData.length?"":this._renderData[n]},t}(Ss),Ua=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ja(t,e),t.prototype._renderOne=function(e){return'<div class="'+("current-line"+(this._shouldRenderOther()?" current-line-both":""))+'" style="width:'+Math.max(e.scrollWidth,this._contentWidth)+"px; height:"+this._lineHeight+'px;"></div>'},t.prototype._shouldRenderThis=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t.prototype._shouldRenderOther=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t}(za),Ka=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ja(t,e),t.prototype._renderOne=function(e){return'<div class="'+("current-line current-line-margin"+(this._shouldRenderOther()?" current-line-margin-both":""))+'" style="width:'+this._contentLeft+"px; height:"+this._lineHeight+'px;"></div>'},t.prototype._shouldRenderThis=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t.prototype._shouldRenderOther=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t}(za);Object(Ir.e)((function(e,t){Ha=!1;var n=e.getColor(Os);if(n&&(t.addRule(".monaco-editor .view-overlays .current-line { background-color: "+n+"; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: "+n+"; border: none; }")),!n||n.isTransparent()||e.defines(Ds)){var i=e.getColor(Ds);i&&(Ha=!0,t.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid "+i+"; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid "+i+"; }"),"hc"===e.type&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}}));n("Vtyv");var qa=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ga=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options;return n._lineHeight=i.get(49),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return qa(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;o<r;o++){var s=t[o];s.options.className&&(n[i++]=s)}n=n.sort((function(e,t){if(e.options.zIndex<t.options.zIndex)return-1;if(e.options.zIndex>t.options.zIndex)return 1;var n=e.options.className,i=t.options.className;return n<i?-1:n>i?1:z.a.compareRangesUsingStarts(e.range,t.range)}));for(var a=e.visibleRange.startLineNumber,u=e.visibleRange.endLineNumber,l=[],c=a;c<=u;c++){l[c-a]=""}this._renderWholeLineDecorations(e,n,l),this._renderNormalDecorations(e,n,l),this._renderResult=l},t.prototype._renderWholeLineDecorations=function(e,t,n){for(var i=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,s=0,a=t.length;s<a;s++){var u=t[s];if(u.options.isWholeLine)for(var l='<div class="cdr '+u.options.className+'" style="left:0;width:100%;height:'+i+'px;"></div>',c=Math.max(u.range.startLineNumber,o),d=Math.min(u.range.endLineNumber,r),h=c;h<=d;h++){n[h-o]+=l}}},t.prototype._renderNormalDecorations=function(e,t,n){for(var i=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=null,s=!1,a=null,u=0,l=t.length;u<l;u++){var c=t[u];if(!c.options.isWholeLine){var d=c.options.className,h=Boolean(c.options.showIfCollapsed),f=c.range;h&&1===f.endColumn&&f.endLineNumber!==f.startLineNumber&&(f=new z.a(f.startLineNumber,f.startColumn,f.endLineNumber-1,this._context.model.getLineMaxColumn(f.endLineNumber-1))),r===d&&s===h&&z.a.areIntersectingOrTouching(a,f)?a=z.a.plusRange(a,f):(null!==r&&this._renderNormalDecoration(e,a,r,s,i,o,n),r=d,s=h,a=f)}}null!==r&&this._renderNormalDecoration(e,a,r,s,i,o,n)},t.prototype._renderNormalDecoration=function(e,t,n,i,o,r,s){var a=e.linesVisibleRangesForRange(t,"findMatch"===n);if(a)for(var u=0,l=a.length;u<l;u++){var c=a[u];if(!c.outsideRenderedLine){var d=c.lineNumber-r;if(i&&1===c.ranges.length){var h=c.ranges[0];0===h.width&&(c.ranges[0]=new Or(h.left,this._typicalHalfwidthCharacterWidth))}for(var f=0,p=c.ranges.length;f<p;f++){var g=c.ranges[f],m='<div class="cdr '+n+'" style="left:'+String(g.left)+"px;width:"+String(g.width)+"px;height:"+o+'px;"></div>';s[d]+=m}}}},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(Ss),Ya=n("GJhM"),Za=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Xa=function(e){function t(t,n,i,o){var r=e.call(this,t)||this,s=r._context.configuration.options,a=s.get(78),u=s.get(56),l=s.get(27),c={listenOnDomNode:i.domNode,className:"editor-scrollable "+Object(Ir.d)(t.theme.type),useShadows:!1,lazyRender:!0,vertical:a.vertical,horizontal:a.horizontal,verticalHasArrows:a.verticalHasArrows,horizontalHasArrows:a.horizontalHasArrows,verticalScrollbarSize:a.verticalScrollbarSize,verticalSliderSize:a.verticalSliderSize,horizontalScrollbarSize:a.horizontalScrollbarSize,horizontalSliderSize:a.horizontalSliderSize,handleMouseWheel:a.handleMouseWheel,alwaysConsumeMouseWheel:a.alwaysConsumeMouseWheel,arrowSize:a.arrowSize,mouseWheelScrollSensitivity:u,fastScrollSensitivity:l};r.scrollbar=r._register(new Ya.c(n.domNode,c,r._context.viewLayout.getScrollable())),wr.write(r.scrollbar.getDomNode(),5),r.scrollbarDomNode=Object(rr.b)(r.scrollbar.getDomNode()),r.scrollbarDomNode.setPosition("absolute"),r._setLayout();var d=function(e,t,n){var i={};if(t){var o=e.scrollTop;o&&(i.scrollTop=r._context.viewLayout.getCurrentScrollTop()+o,e.scrollTop=0)}if(n){var s=e.scrollLeft;s&&(i.scrollLeft=r._context.viewLayout.getCurrentScrollLeft()+s,e.scrollLeft=0)}r._context.viewLayout.setScrollPositionNow(i)};return r._register(Z.g(i.domNode,"scroll",(function(e){return d(i.domNode,!0,!0)}))),r._register(Z.g(n.domNode,"scroll",(function(e){return d(n.domNode,!0,!1)}))),r._register(Z.g(o.domNode,"scroll",(function(e){return d(o.domNode,!0,!1)}))),r._register(Z.g(r.scrollbarDomNode.domNode,"scroll",(function(e){return d(r.scrollbarDomNode.domNode,!0,!1)}))),r}return Za(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._setLayout=function(){var e=this._context.configuration.options,t=e.get(107);this.scrollbarDomNode.setLeft(t.contentLeft),"right"===e.get(54).side?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)},t.prototype.getOverviewRulerLayoutInfo=function(){return this.scrollbar.getOverviewRulerLayoutInfo()},t.prototype.getDomNode=function(){return this.scrollbarDomNode},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)},t.prototype.onConfigurationChanged=function(e){if(e.hasChanged(78)||e.hasChanged(56)||e.hasChanged(27)){var t=this._context.configuration.options,n=t.get(78),i=t.get(56),o=t.get(27),r={handleMouseWheel:n.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:o};this.scrollbar.updateOptions(r)}return e.hasChanged(107)&&this._setLayout(),!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onThemeChanged=function(e){return this.scrollbar.updateClassName("editor-scrollable "+Object(Ir.d)(this._context.theme.type)),!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this.scrollbar.renderNow()},t}(Cr),Ja=(n("hHjc"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Qa=function(e,t,n){this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)},$a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ja(t,e),t.prototype._render=function(e,t,n){for(var i=[],o=e;o<=t;o++){i[o-e]=[]}if(0===n.length)return i;n.sort((function(e,t){return e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className<t.className?-1:1}));for(var r=null,s=0,a=0,u=n.length;a<u;a++){var l=n[a],c=l.className,d=Math.max(l.startLineNumber,e)-e,h=Math.min(l.endLineNumber,t)-e;r===c?(d=Math.max(s+1,d),s=Math.max(s,h)):(r=c,s=h);for(var f=d;f<=s;f++)i[f].push(r)}return i},t}(Ss),eu=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options,o=i.get(107);return n._lineHeight=i.get(49),n._glyphMargin=i.get(40),n._glyphMarginLeft=o.glyphMarginLeft,n._glyphMarginWidth=o.glyphMarginWidth,n._renderResult=null,n._context.addEventHandler(n),n}return Ja(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._lineHeight=t.get(49),this._glyphMargin=t.get(40),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;o<r;o++){var s=t[o],a=s.options.glyphMarginClassName;a&&(n[i++]=new Qa(s.range.startLineNumber,s.range.endLineNumber,a))}return n},t.prototype.prepareRender=function(e){if(this._glyphMargin){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o=this._lineHeight.toString(),r='" style="left:'+this._glyphMarginLeft.toString()+"px;width:"+this._glyphMarginWidth.toString()+"px;height:"+o+'px;"></div>',s=[],a=t;a<=n;a++){var u=a-t,l=i[u];0===l.length?s[u]="":s[u]='<div class="cgmr codicon '+l.join(" ")+r}this._renderResult=s}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}($a),tu=(n("C6rC"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),nu=function(e){function t(t){var n=e.call(this)||this;n._context=t,n._primaryLineNumber=0;var i=n._context.configuration.options,o=i.get(108),r=i.get(34);return n._lineHeight=i.get(49),n._spaceWidth=r.spaceWidth,n._enabled=i.get(70),n._activeIndentEnabled=i.get(43),n._maxIndentLeft=-1===o.wrappingColumn?-1:o.wrappingColumn*r.typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return tu(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(108),i=t.get(34);return this._lineHeight=t.get(49),this._spaceWidth=i.spaceWidth,this._enabled=t.get(70),this._activeIndentEnabled=t.get(43),this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0],n=t.isEmpty()?t.positionLineNumber:0;return this._primaryLineNumber!==n&&(this._primaryLineNumber=n,!0)},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onLanguageConfigurationChanged=function(e){return!0},t.prototype.prepareRender=function(e){if(this._enabled){var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._context.model.getOptions().indentSize*this._spaceWidth,o=e.scrollWidth,r=this._lineHeight,s=this._context.model.getLinesIndentGuides(t,n),a=0,u=0,l=0;if(this._activeIndentEnabled&&this._primaryLineNumber){var c=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,n);a=c.startLineNumber,u=c.endLineNumber,l=c.indent}for(var d=[],h=t;h<=n;h++){var f=a<=h&&h<=u,p=h-t,g=s[p],m="";if(g>=1)for(var v=e.visibleRangeForPosition(new H.a(h,1)),_=v?v.left:0,y=1;y<=g;y++){if(m+='<div class="'+(f&&y===l?"cigra":"cigr")+'" style="left:'+_+"px;height:"+r+"px;width:"+i+'px"></div>',(_+=i)>o||this._maxIndentLeft>0&&_>this._maxIndentLeft)break}d[p]=m}this._renderResult=d}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(Ss);Object(Ir.e)((function(e,t){var n=e.getColor(Rs);n&&t.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 "+n+" inset; }");var i=e.getColor(Ps)||n;i&&t.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 "+i+" inset; }")}));n("OKK6");var iu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ou=function(){function e(){this._currentVisibleRange=new z.a(1,1,1,1)}return e.prototype.getCurrentVisibleRange=function(){return this._currentVisibleRange},e.prototype.setCurrentVisibleRange=function(e){this._currentVisibleRange=e},e}(),ru=function(e,t,n,i,o,r){this.lineNumber=e,this.startColumn=t,this.endColumn=n,this.startScrollTop=i,this.stopScrollTop=o,this.scrollType=r},su=function(e){function t(t,n){var i=e.call(this,t)||this;i._linesContent=n,i._textRangeRestingSpot=document.createElement("div"),i._visibleLines=new ka(i),i.domNode=i._visibleLines.domNode;var o=i._context.configuration,r=i._context.configuration.options,s=r.get(34),a=r.get(108);return i._lineHeight=r.get(49),i._typicalHalfwidthCharacterWidth=s.typicalHalfwidthCharacterWidth,i._isViewportWrapping=a.isViewportWrapping,i._revealHorizontalRightPadding=r.get(75),i._cursorSurroundingLines=r.get(19),i._cursorSurroundingLinesStyle=r.get(20),i._canUseLayerHinting=!r.get(22),i._viewLineOptions=new Pr(o,i._context.theme.type),wr.write(i.domNode,7),i.domNode.setClassName("view-lines"),ir.applyFontInfo(i.domNode,s),i._maxLineWidth=0,i._asyncUpdateLineWidths=new We.d((function(){i._updateLineWidthsSlow()}),200),i._lastRenderedData=new ou,i._horizontalRevealRequest=null,i}return iu(t,e),t.prototype.dispose=function(){this._asyncUpdateLineWidths.dispose(),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this.domNode},t.prototype.createVisibleLine=function(){return new Fr(this._viewLineOptions)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(108)&&(this._maxLineWidth=0);var t=this._context.configuration.options,n=t.get(34),i=t.get(108);return this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._isViewportWrapping=i.isViewportWrapping,this._revealHorizontalRightPadding=t.get(75),this._cursorSurroundingLines=t.get(19),this._cursorSurroundingLinesStyle=t.get(20),this._canUseLayerHinting=!t.get(22),ir.applyFontInfo(this.domNode,n),this._onOptionsMaybeChanged(),e.hasChanged(107)&&(this._maxLineWidth=0),!0},t.prototype._onOptionsMaybeChanged=function(){var e=this._context.configuration,t=new Pr(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;for(var n=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),o=n;o<=i;o++){this._visibleLines.getVisibleLine(o).onOptionsChanged(this._viewLineOptions)}return!0}return!1},t.prototype.onCursorStateChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=!1,o=t;o<=n;o++)i=this._visibleLines.getVisibleLine(o).onSelectionChanged()||i;return i},t.prototype.onDecorationsChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=t;i<=n;i++)this._visibleLines.getVisibleLine(i).onDecorationsChanged();return!0},t.prototype.onFlushed=function(e){var t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t},t.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},t.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},t.prototype.onRevealRangeRequest=function(e){var t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.range,e.verticalType),n=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range.startLineNumber!==e.range.endLineNumber?n={scrollTop:n.scrollTop,scrollLeft:0}:this._horizontalRevealRequest=new ru(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):this._horizontalRevealRequest=null;var i=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop);return 0===e.scrollType&&i>this._lineHeight?this._context.viewLayout.setScrollPositionSmooth(n):this._context.viewLayout.setScrollPositionNow(n),!0},t.prototype.onScrollChanged=function(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){var t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),n=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTop<t||e.scrollTop>n)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0},t.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},t.prototype.onZonesChanged=function(e){return this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth),this._visibleLines.onZonesChanged(e)},t.prototype.onThemeChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.getPositionFromDOMInfo=function(e,t){var n=this._getViewLineDomNode(e);if(null===n)return null;var i=this._getLineNumberFor(n);if(-1===i)return null;if(i<1||i>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(i))return new H.a(i,1);var o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(i<o||i>r)return null;var s=this._visibleLines.getVisibleLine(i).getColumnOfNodeOffset(i,e,t),a=this._context.model.getLineMinColumn(i);return s<a&&(s=a),new H.a(i,s)},t.prototype._getViewLineDomNode=function(e){for(;e&&1===e.nodeType;){if(e.className===Fr.CLASS_NAME)return e;e=e.parentElement}return null},t.prototype._getLineNumberFor=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=t;i<=n;i++){if(e===this._visibleLines.getVisibleLine(i).getDomNode())return i}return-1},t.prototype.getLineWidth=function(e){var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();return e<t||e>n?-1:this._visibleLines.getVisibleLine(e).getWidth()},t.prototype.linesVisibleRangesForRange=function(e,t){if(this.shouldRender())return null;var n=e.endLineNumber,i=z.a.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!i)return null;var o=[],r=0,s=new Rr(this.domNode.domNode,this._textRangeRestingSpot),a=0;t&&(a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new H.a(i.startLineNumber,1)).lineNumber);for(var u=this._visibleLines.getStartLineNumber(),l=this._visibleLines.getEndLineNumber(),c=i.startLineNumber;c<=i.endLineNumber;c++)if(!(c<u||c>l)){var d=c===i.startLineNumber?i.startColumn:1,h=c===i.endLineNumber?i.endColumn:this._context.model.getLineMaxColumn(c),f=this._visibleLines.getVisibleLine(c).getVisibleRangesForRange(d,h,s);if(f){if(t&&c<n)a!==(a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new H.a(c+1,1)).lineNumber)&&(f.ranges[f.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth);o[r++]=new Nr(f.outsideRenderedLine,c,f.ranges)}}return 0===r?null:o},t.prototype._visibleRangesForLineRange=function(e,t,n){return this.shouldRender()||e<this._visibleLines.getStartLineNumber()||e>this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(t,n,new Rr(this.domNode.domNode,this._textRangeRestingSpot))},t.prototype.visibleRangeForPosition=function(e){var t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new Dr(t.outsideRenderedLine,t.ranges[0].left):null},t.prototype.updateLineWidths=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidthsFast=function(){return this._updateLineWidths(!0)},t.prototype._updateLineWidthsSlow=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidths=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=1,o=!0,r=t;r<=n;r++){var s=this._visibleLines.getVisibleLine(r);!e||s.getWidthIsFast()?i=Math.max(i,s.getWidth()):o=!1}return o&&1===t&&n===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(i),o},t.prototype.prepareRender=function(){throw new Error("Not supported")},t.prototype.render=function(){throw new Error("Not supported")},t.prototype.renderText=function(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){var t=this._horizontalRevealRequest.lineNumber,n=this._horizontalRevealRequest.startColumn,i=this._horizontalRevealRequest.endColumn,o=this._horizontalRevealRequest.scrollType;if(e.startLineNumber<=t&&t<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();var r=this._computeScrollLeftToRevealRange(t,n,i);this._isViewportWrapping||this._ensureMaxLineWidth(r.maxHorizontalOffset),0===o?this._context.viewLayout.setScrollPositionSmooth({scrollLeft:r.scrollLeft}):this._context.viewLayout.setScrollPositionNow({scrollLeft:r.scrollLeft})}}this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");var s=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-s),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())},t.prototype._ensureMaxLineWidth=function(e){var t=Math.ceil(e);this._maxLineWidth<t&&(this._maxLineWidth=t,this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth))},t.prototype._computeScrollTopToRevealRange=function(e,t,n,i){var o,r,s,a=e.top,u=e.height,l=a+u;if(o=this._context.viewLayout.getVerticalOffsetForLineNumber(n.startLineNumber),r=this._context.viewLayout.getVerticalOffsetForLineNumber(n.endLineNumber)+this._lineHeight,!("mouse"===t&&"default"===this._cursorSurroundingLinesStyle)){var c=Math.min(u/this._lineHeight/2,this._cursorSurroundingLines);o-=c*this._lineHeight,r+=Math.max(0,c-1)*this._lineHeight}if(0!==i&&4!==i||(r+=this._lineHeight),r-o>u)s=o;else if(1===i||2===i)if(2===i&&a<=o&&r<=l)s=a;else{var d=(o+r)/2;s=Math.max(0,d-u/2)}else s=this._computeMinimumScrolling(a,l,o,r,3===i,4===i);return s},t.prototype._computeScrollLeftToRevealRange=function(e,n,i){var o=0,r=this._context.viewLayout.getCurrentViewport(),s=r.left,a=s+r.width,u=this._visibleRangesForLineRange(e,n,i),l=1073741824,c=0;if(!u)return{scrollLeft:s,maxHorizontalOffset:o};for(var d=0,h=u.ranges;d<h.length;d++){var f=h[d];f.left<l&&(l=f.left),f.left+f.width>c&&(c=f.left+f.width)}return o=c,l=Math.max(0,l-t.HORIZONTAL_EXTRA_PX),c+=this._revealHorizontalRightPadding,{scrollLeft:this._computeMinimumScrolling(s,a,l,c),maxHorizontalOffset:o}},t.prototype._computeMinimumScrolling=function(e,t,n,i,o,r){o=!!o,r=!!r;var s=(t|=0)-(e|=0);return(i|=0)-(n|=0)<s?o?n:r?Math.max(0,i-s):n<e?n:i>t?Math.max(0,i-s):e:n},t.HORIZONTAL_EXTRA_PX=30,t}(Cr),au=(n("J+ZK"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),uu=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options.get(107);return n._decorationsLeft=i.decorationsLeft,n._decorationsWidth=i.decorationsWidth,n._renderResult=null,n._context.addEventHandler(n),n}return au(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options.get(107);return this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.decorationsWidth,!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;o<r;o++){var s=t[o],a=s.options.linesDecorationsClassName;a&&(n[i++]=new Qa(s.range.startLineNumber,s.range.endLineNumber,a))}return n},t.prototype.prepareRender=function(e){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o='" style="left:'+this._decorationsLeft.toString()+"px;width:"+this._decorationsWidth.toString()+'px;"></div>',r=[],s=t;s<=n;s++){for(var a=s-t,u=i[a],l="",c=0,d=u.length;c<d;c++)l+='<div class="cldr '+u[c]+o;r[a]=l}this._renderResult=r},t.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},t}($a),lu=(n("XXBq"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),cu=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._renderResult=null,n._context.addEventHandler(n),n}return lu(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;o<r;o++){var s=t[o],a=s.options.marginClassName;a&&(n[i++]=new Qa(s.range.startLineNumber,s.range.endLineNumber,a))}return n},t.prototype.prepareRender=function(e){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o=[],r=t;r<=n;r++){for(var s=r-t,a=i[s],u="",l=0,c=a.length;l<c;l++)u+='<div class="cmdr '+a[l]+'" style=""></div>';o[s]=u}this._renderResult=o},t.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},t}($a),du=(n("8gvo"),function(){function e(t,n,i,o){this.r=e._clamp(t),this.g=e._clamp(n),this.b=e._clamp(i),this.a=e._clamp(o)}return e._clamp=function(e){return e<0?0:e>255?255:0|e},e.Empty=new e(0,0,0,0),e}()),hu=function(){function e(){var e=this;this._onDidChange=new W.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),Re.y.onDidChange((function(t){t.changedColorMap&&e._updateColorMap()}))}return e.getInstance=function(){return this._INSTANCE||(this._INSTANCE=new e),this._INSTANCE},e.prototype._updateColorMap=function(){var e=Re.y.getColorMap();if(!e)return this._colors=[du.Empty],void(this._backgroundIsLight=!0);this._colors=[du.Empty];for(var t=1;t<e.length;t++){var n=e[t].rgba;this._colors[t]=new du(n.r,n.g,n.b,Math.round(255*n.a))}var i=e[2].getRelativeLuminance();this._backgroundIsLight=i>=.5,this._onDidChange.fire(void 0)},e.prototype.getColor=function(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]},e.prototype.backgroundIsLight=function(){return this._backgroundIsLight},e._INSTANCE=null,e}(),fu=function(){for(var e=[],t=32;t<=126;t++)e.push(t);return e.push(65533),e}(),pu=function(){function e(t,n){this.scale=n,this.charDataNormal=e.soften(t,.8),this.charDataLight=e.soften(t,50/60)}return e.soften=function(e,t){for(var n=new Uint8ClampedArray(e.length),i=0,o=e.length;i<o;i++)n[i]=e[i]*t;return n},e.prototype.renderChar=function(e,t,n,i,o,r,s,a){var u=1*this.scale,l=2*this.scale;if(t+u>e.width||n+l>e.height)console.warn("bad render request outside image data");else for(var c=a?this.charDataLight:this.charDataNormal,d=function(e,t){return(e-=32)<0||e>96?t<=2?(e+96)%96:95:e}(i,s),h=4*e.width,f=r.r,p=r.g,g=r.b,m=o.r-f,v=o.g-p,_=o.b-g,y=e.data,b=d*u*l,C=n*h+4*t,w=0;w<l;w++){for(var S=C,L=0;L<u;L++){var N=c[b++]/255;y[S++]=f+m*N,y[S++]=p+v*N,y[S++]=g+_*N,S++}C+=h}},e.prototype.blockRenderChar=function(e,t,n,i,o,r){var s=1*this.scale,a=2*this.scale;if(t+s>e.width||n+a>e.height)console.warn("bad render request outside image data");else for(var u=4*e.width,l=o.r,c=o.g,d=o.b,h=l+.5*(i.r-l),f=c+.5*(i.g-c),p=d+.5*(i.b-d),g=e.data,m=n*u+4*t,v=0;v<a;v++){for(var _=m,y=0;y<s;y++)g[_++]=h,g[_++]=f,g[_++]=p,_++;m+=u}},e}(),gu=n("C/vA"),mu={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15},vu=function(e){for(var t=new Uint8ClampedArray(e.length/2),n=0;n<e.length;n+=2)t[n>>1]=mu[e[n]]<<4|15&mu[e[n+1]];return t},_u={1:Object(gu.a)((function(){return vu("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")})),2:Object(gu.a)((function(){return vu("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126")}))},yu=function(){function e(){}return e.create=function(t,n){return this.lastCreated&&t===this.lastCreated.scale&&n===this.lastFontFamily?this.lastCreated:(i=_u[t]?new pu(_u[t](),t):e.createFromSampleData(e.createSampleData(n).data,t),this.lastFontFamily=n,this.lastCreated=i,i);var i},e.createSampleData=function(e){var t=document.createElement("canvas"),n=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",n.fillStyle="#ffffff",n.font="bold 16px "+e,n.textBaseline="middle";for(var i=0,o=0,r=fu;o<r.length;o++){var s=r[o];n.fillText(String.fromCharCode(s),i,8),i+=10}return n.getImageData(0,0,960,16)},e.createFromSampleData=function(t,n){if(61440!==t.length)throw new Error("Unexpected source in MinimapCharRenderer");var i=e._downsample(t,n);return new pu(i,n)},e._downsampleChar=function(e,t,n,i,o){for(var r=1*o,s=2*o,a=i,u=0,l=0;l<s;l++)for(var c=l/s*16,d=(l+1)/s*16,h=0;h<r;h++){for(var f=h/r*10,p=(h+1)/r*10,g=0,m=0,v=c;v<d;v++)for(var _=t+3840*Math.floor(v),y=1-(v-Math.floor(v)),b=f;b<p;b++){var C=1-(b-Math.floor(b)),w=_+4*Math.floor(b),S=C*y;m+=S,g+=e[w]*e[w+3]/255*S}var L=g/m;u=Math.max(u,L),n[a++]=L}return u},e._downsample=function(e,t){for(var n=2*t*1*t,i=96*n,o=new Uint8ClampedArray(i),r=0,s=0,a=0,u=0;u<96;u++)a=Math.max(a,this._downsampleChar(e,s,o,r,t)),r+=n,s+=40;if(a>0)for(var l=255/a,c=0;c<i;c++)o[c]*=l;return o},e}(),bu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function Cu(e,t){return 1===e?2*t:3*t}function wu(e,t){return 1*t}var Su=function(){function e(e){var t=this,n=e.options,i=n.get(105),o=n.get(107),r=n.get(34);this.renderMinimap=0|o.renderMinimap,this.scrollBeyondLastLine=n.get(80);var s=n.get(54);this.showSlider=s.showSlider,this.fontScale=Math.round(s.scale*i),this.charRenderer=Object(gu.a)((function(){return yu.create(t.fontScale,r.fontFamily)})),this.pixelRatio=i,this.typicalHalfwidthCharacterWidth=r.typicalHalfwidthCharacterWidth,this.lineHeight=n.get(49),this.minimapLeft=o.minimapLeft,this.minimapWidth=o.minimapWidth,this.minimapHeight=o.height,this.canvasInnerWidth=Math.floor(i*this.minimapWidth),this.canvasInnerHeight=Math.floor(i*this.minimapHeight),this.canvasOuterWidth=this.canvasInnerWidth/i,this.canvasOuterHeight=this.canvasInnerHeight/i}return e.prototype.equals=function(e){return this.renderMinimap===e.renderMinimap&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.fontScale===e.fontScale&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight},e}(),Lu=function(){function e(e,t,n,i,o,r,s){this.scrollTop=e,this.scrollHeight=t,this._computedSliderRatio=n,this.sliderTop=i,this.sliderHeight=o,this.startLineNumber=r,this.endLineNumber=s}return e.prototype.getDesiredScrollTopFromDelta=function(e){var t=this.sliderTop+e;return Math.round(t/this._computedSliderRatio)},e.prototype.getDesiredScrollTopFromTouchLocation=function(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)},e.create=function(t,n,i,o,r,s,a,u,l){var c,d,h=t.pixelRatio,f=Cu(t.renderMinimap,t.fontScale),p=Math.floor(t.canvasInnerHeight/f),g=t.lineHeight;if(r&&i!==s){var m=i-n+1;c=Math.floor(m*f/h)}else{var v=o/g;c=Math.floor(v*f/h)}d=t.scrollBeyondLastLine?(s-1)*f/h:Math.max(0,s*f/h-c);var _=(d=Math.min(t.minimapHeight-c,d))/(u-o),y=a*_,b=0;t.scrollBeyondLastLine&&(b=v=o/g);if(p>=s+b)return new e(a,u,_,y,c,C=1,s);var C=Math.max(1,Math.floor(n-y*h/f));return l&&l.scrollHeight===u&&(l.scrollTop>a&&(C=Math.min(C,l.startLineNumber)),l.scrollTop<a&&(C=Math.max(C,l.startLineNumber))),new e(a,u,_,y,c,C,Math.min(s,C+p-1))},e}(),Nu=function(){function e(e){this.dy=e}return e.prototype.onContentChanged=function(){this.dy=-1},e.prototype.onTokensChanged=function(){this.dy=-1},e.INVALID=new e(-1),e}(),Ou=function(){function e(e,t,n){this.renderedLayout=e,this._imageData=t,this._renderedLines=new Ea((function(){return Nu.INVALID})),this._renderedLines._set(e.startLineNumber,n)}return e.prototype.linesEquals=function(e){if(!this.scrollEquals(e))return!1;for(var t=this._renderedLines._get().lines,n=0,i=t.length;n<i;n++)if(-1===t[n].dy)return!1;return!0},e.prototype.scrollEquals=function(e){return this.renderedLayout.startLineNumber===e.startLineNumber&&this.renderedLayout.endLineNumber===e.endLineNumber},e.prototype._get=function(){var e=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:e.rendLineNumberStart,lines:e.lines}},e.prototype.onLinesChanged=function(e){return this._renderedLines.onLinesChanged(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesDeleted=function(e){this._renderedLines.onLinesDeleted(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesInserted=function(e){this._renderedLines.onLinesInserted(e.fromLineNumber,e.toLineNumber)},e.prototype.onTokensChanged=function(e){return this._renderedLines.onTokensChanged(e.ranges)},e}(),Du=function(){function e(t,n,i,o){this._backgroundFillData=e._createBackgroundFillData(n,i,o),this._buffers=[t.createImageData(n,i),t.createImageData(n,i)],this._lastUsedBuffer=0}return e.prototype.getBuffer=function(){this._lastUsedBuffer=1-this._lastUsedBuffer;var e=this._buffers[this._lastUsedBuffer];return e.data.set(this._backgroundFillData),e},e._createBackgroundFillData=function(e,t,n){for(var i=n.r,o=n.g,r=n.b,s=new Uint8ClampedArray(e*t*4),a=0,u=0;u<t;u++)for(var l=0;l<e;l++)s[a]=i,s[a+1]=o,s[a+2]=r,s[a+3]=255,a+=4;return s},e}(),xu=function(e){function t(t){var n=e.call(this,t)||this;return n._selections=[],n._renderDecorations=!1,n._gestureInProgress=!1,n._options=new Su(n._context.configuration),n._lastRenderData=null,n._buffers=null,n._selectionColor=n._context.theme.getColor(Ns.yb),n._domNode=Object(rr.b)(document.createElement("div")),wr.write(n._domNode,8),n._domNode.setClassName(n._getMinimapDomNodeClassName()),n._domNode.setPosition("absolute"),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n._shadow=Object(rr.b)(document.createElement("div")),n._shadow.setClassName("minimap-shadow-hidden"),n._domNode.appendChild(n._shadow),n._canvas=Object(rr.b)(document.createElement("canvas")),n._canvas.setPosition("absolute"),n._canvas.setLeft(0),n._domNode.appendChild(n._canvas),n._decorationsCanvas=Object(rr.b)(document.createElement("canvas")),n._decorationsCanvas.setPosition("absolute"),n._decorationsCanvas.setClassName("minimap-decorations-layer"),n._decorationsCanvas.setLeft(0),n._domNode.appendChild(n._decorationsCanvas),n._slider=Object(rr.b)(document.createElement("div")),n._slider.setPosition("absolute"),n._slider.setClassName("minimap-slider"),n._slider.setLayerHinting(!0),n._slider.setContain("strict"),n._domNode.appendChild(n._slider),n._sliderHorizontal=Object(rr.b)(document.createElement("div")),n._sliderHorizontal.setPosition("absolute"),n._sliderHorizontal.setClassName("minimap-slider-horizontal"),n._slider.appendChild(n._sliderHorizontal),n._tokensColorTracker=hu.getInstance(),n._applyLayout(),n._mouseDownListener=Z.k(n._domNode.domNode,"mousedown",(function(e){e.preventDefault();var t=n._options.renderMinimap;if(0!==t&&n._lastRenderData){var i=Cu(t,n._options.fontScale),o=n._options.pixelRatio*e.browserEvent.offsetY,r=Math.floor(o/i)+n._lastRenderData.renderedLayout.startLineNumber;r=Math.min(r,n._context.model.getLineCount()),n._context.privateViewEventBus.emit(new da("mouse",new z.a(r,1,r,1),1,!1,0))}})),n._sliderMouseMoveMonitor=new ur.a,n._sliderMouseDownListener=Z.k(n._slider.domNode,"mousedown",(function(e){if(e.preventDefault(),e.stopPropagation(),e.leftButton&&n._lastRenderData){var t=e.posy,i=e.posx,o=n._lastRenderData.renderedLayout;n._slider.toggleClassName("active",!0),n._sliderMouseMoveMonitor.startMonitoring(e.target,e.buttons,ur.b,(function(e){var r=Math.abs(e.posx-i);if(ie.h&&r>140)n._context.viewLayout.setScrollPositionNow({scrollTop:o.scrollTop});else{var s=e.posy-t;n._context.viewLayout.setScrollPositionNow({scrollTop:o.getDesiredScrollTopFromDelta(s)})}}),(function(){n._slider.toggleClassName("active",!1)}))}})),n._gestureDisposable=sr.b.addTarget(n._domNode.domNode),n._sliderTouchStartListener=Z.g(n._domNode.domNode,sr.a.Start,(function(e){e.preventDefault(),e.stopPropagation(),n._lastRenderData&&(n._slider.toggleClassName("active",!0),n._gestureInProgress=!0,n.scrollDueToTouchEvent(e))})),n._sliderTouchMoveListener=Z.k(n._domNode.domNode,sr.a.Change,(function(e){e.preventDefault(),e.stopPropagation(),n._lastRenderData&&n._gestureInProgress&&n.scrollDueToTouchEvent(e)})),n._sliderTouchEndListener=Z.k(n._domNode.domNode,sr.a.End,(function(e){e.preventDefault(),e.stopPropagation(),n._gestureInProgress=!1,n._slider.toggleClassName("active",!1)})),n}return bu(t,e),t.prototype.scrollDueToTouchEvent=function(e){var t=this._domNode.domNode.getBoundingClientRect().top,n=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._context.viewLayout.setScrollPositionNow({scrollTop:n})},t.prototype.dispose=function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),e.prototype.dispose.call(this)},t.prototype._getMinimapDomNodeClassName=function(){return"always"===this._options.showSlider?"minimap slider-always":"minimap slider-mouseover"},t.prototype.getDomNode=function(){return this._domNode},t.prototype._applyLayout=function(){this._domNode.setLeft(this._options.minimapLeft),this._domNode.setWidth(this._options.minimapWidth),this._domNode.setHeight(this._options.minimapHeight),this._shadow.setHeight(this._options.minimapHeight),this._canvas.setWidth(this._options.canvasOuterWidth),this._canvas.setHeight(this._options.canvasOuterHeight),this._canvas.domNode.width=this._options.canvasInnerWidth,this._canvas.domNode.height=this._options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._options.canvasInnerHeight,this._slider.setWidth(this._options.minimapWidth)},t.prototype._getBuffer=function(){return this._buffers||this._options.canvasInnerWidth>0&&this._options.canvasInnerHeight>0&&(this._buffers=new Du(this._canvas.domNode.getContext("2d"),this._options.canvasInnerWidth,this._options.canvasInnerHeight,this._tokensColorTracker.getColor(2))),this._buffers?this._buffers.getBuffer():null},t.prototype._onOptionsMaybeChanged=function(){var e=new Su(this._context.configuration);return!this._options.equals(e)&&(this._options=e,this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName()),!0)},t.prototype.onConfigurationChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections,this._renderDecorations=!0,!0},t.prototype.onFlushed=function(e){return this._lastRenderData=null,!0},t.prototype.onLinesChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e),!0},t.prototype.onLinesInserted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e),!0},t.prototype.onScrollChanged=function(e){return this._renderDecorations=!0,!0},t.prototype.onTokensChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)},t.prototype.onTokensColorsChanged=function(e){return this._lastRenderData=null,this._buffers=null,!0},t.prototype.onZonesChanged=function(e){return this._lastRenderData=null,!0},t.prototype.onDecorationsChanged=function(e){return this._renderDecorations=!0,!0},t.prototype.onThemeChanged=function(e){return this._context.model.invalidateMinimapColorCache(),this._selectionColor=this._context.theme.getColor(Ns.yb),this._renderDecorations=!0,!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){if(0===this._options.renderMinimap)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");var t=Lu.create(this._options,e.visibleRange.startLineNumber,e.visibleRange.endLineNumber,e.viewportHeight,e.viewportData.whitespaceViewportData.length>0,this._context.model.getLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setTop(t.sliderTop),this._slider.setHeight(t.sliderHeight);var n=e.scrollLeft/this._options.typicalHalfwidthCharacterWidth,i=Math.min(this._options.minimapWidth,Math.round(n*wu(this._options.renderMinimap,this._options.fontScale)/this._options.pixelRatio));this._sliderHorizontal.setLeft(i),this._sliderHorizontal.setWidth(this._options.minimapWidth-i),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this.renderDecorations(t),this._lastRenderData=this.renderLines(t)},t.prototype.renderDecorations=function(e){if(this._renderDecorations){this._renderDecorations=!1;var t=this._context.model.getDecorationsInViewport(new z.a(e.startLineNumber,1,e.endLineNumber,this._context.model.getLineMaxColumn(e.endLineNumber))),n=this._options,i=n.renderMinimap,o=n.canvasInnerWidth,r=n.canvasInnerHeight,s=Cu(i,this._options.fontScale),a=wu(0,this._options.fontScale),u=this._context.model.getOptions().tabSize,l=this._decorationsCanvas.domNode.getContext("2d");l.clearRect(0,0,o,r);for(var c=new Map,d=0;d<this._selections.length;d++)for(var h=this._selections[d],f=h.startLineNumber;f<=h.endLineNumber;f++)this.renderDecorationOnLine(l,c,h,this._selectionColor,e,f,s,s,u,a);for(d=0;d<t.length;d++){var p=t[d];if(p.options.minimap){var g=p.options.minimap.getColor(this._context.theme);for(f=p.range.startLineNumber;f<=p.range.endLineNumber;f++)switch(p.options.minimap.position){case Ae.c.Inline:this.renderDecorationOnLine(l,c,p.range,g,e,f,s,s,u,a);continue;case Ae.c.Gutter:var m=(f-e.startLineNumber)*s;this.renderDecoration(l,g,2,m,2,s);continue}}}}},t.prototype.renderDecorationOnLine=function(e,t,n,i,o,r,s,a,u,l){var c=(r-o.startLineNumber)*a;if(!(c+s<0||c>this._options.canvasInnerHeight)){var d=t.get(r),h=!d;if(!d){var f=this._context.model.getLineContent(r);d=[F.f];for(var p=1;p<f.length+1;p++){var g=f.charCodeAt(p-1),m=9===g?u*l:ne.w(g)?2*l:l;d[p]=d[p-1]+m}t.set(r,d)}var v=n.startColumn,_=n.endColumn,y=n.startLineNumber,b=n.endLineNumber,C=y===r?d[v-1]:F.f,w=b>r?d.length-1:_-1;if(w>0){var S=d[w]-C||2;this.renderDecoration(e,i,C,c,S,s)}h&&this.renderLineHighlight(e,i,c,s)}},t.prototype.renderLineHighlight=function(e,t,n,i){e.fillStyle=t&&t.transparent(.5).toString()||"",e.fillRect(F.f,n,e.canvas.width,i)},t.prototype.renderDecoration=function(e,t,n,i,o,r){e.fillStyle=t&&t.toString()||"",e.fillRect(n,i,o,r)},t.prototype.renderLines=function(e){var n=this._options.renderMinimap,i=this._options.charRenderer(),o=e.startLineNumber,r=e.endLineNumber,s=Cu(n,this._options.fontScale);if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){var a=this._lastRenderData._get();return new Ou(e,a.imageData,a.lines)}var u=this._getBuffer();if(!u)return null;for(var l=t._renderUntouchedLines(u,o,r,s,this._lastRenderData),c=l[0],d=l[1],h=l[2],f=this._context.model.getMinimapLinesRenderingData(o,r,h),p=f.tabSize,g=this._tokensColorTracker.getColor(2),m=this._tokensColorTracker.backgroundIsLight(),v=0,_=[],y=0,b=r-o+1;y<b;y++)h[y]&&t._renderLine(u,g,m,n,this._tokensColorTracker,i,v,p,f.data[y],this._options.fontScale),_[y]=new Nu(v),v+=s;var C=-1===c?0:c,w=(-1===d?u.height:d)-C;return this._canvas.domNode.getContext("2d").putImageData(u,0,0,0,C,u.width,w),new Ou(e,u,_)},t._renderUntouchedLines=function(e,t,n,i,o){var r=[];if(!o){for(var s=0,a=n-t+1;s<a;s++)r[s]=!0;return[-1,-1,r]}for(var u=o._get(),l=u.imageData.data,c=u.rendLineNumberStart,d=u.lines,h=d.length,f=e.width,p=e.data,g=(n-t+1)*i*f*4,m=-1,v=-1,_=-1,y=-1,b=-1,C=-1,w=0,S=t;S<=n;S++){var L=S-t,N=S-c,O=N>=0&&N<h?d[N].dy:-1;if(-1!==O){var D=O*f*4,x=(O+i)*f*4,E=w*f*4,k=(w+i)*f*4;y===D&&C===E?(y=x,C=k):(-1!==_&&(p.set(l.subarray(_,y),b),-1===m&&0===_&&_===b&&(m=y),-1===v&&y===g&&_===b&&(v=_)),_=D,y=x,b=E,C=k),r[L]=!1,w+=i}else r[L]=!0,w+=i}return-1!==_&&(p.set(l.subarray(_,y),b),-1===m&&0===_&&_===b&&(m=y),-1===v&&y===g&&_===b&&(v=_)),[-1===m?-1:m/(4*f),-1===v?-1:v/(4*f),r]},t._renderLine=function(e,t,n,i,o,r,s,a,u,l){for(var c=u.content,d=u.tokens,h=wu(0,l),f=e.width-h,p=F.f,g=0,m=0,v=0,_=d.getCount();v<_;v++)for(var y=d.getEndOffset(v),b=d.getForeground(v),C=o.getColor(b);g<y;g++){if(p>f)return;var w=c.charCodeAt(g);if(9===w){var S=a-(g+m)%a;m+=S-1,p+=S*h}else if(32===w)p+=h;else for(var L=ne.w(w)?2:1,N=0;N<L;N++)if(2===i?r.blockRenderChar(e,p,s,C,t,n):r.renderChar(e,p,s,w,C,t,l,n),(p+=h)>f)return}},t}(Cr);Object(Ir.e)((function(e,t){var n=e.getColor(Ns.Ib);if(n){var i=n.transparent(.5);t.addRule(".monaco-editor .minimap-slider, .monaco-editor .minimap-slider .minimap-slider-horizontal { background: "+i+"; }")}var o=e.getColor(Ns.Jb);if(o){var r=o.transparent(.5);t.addRule(".monaco-editor .minimap-slider:hover, .monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: "+r+"; }")}var s=e.getColor(Ns.Hb);if(s){var a=s.transparent(.5);t.addRule(".monaco-editor .minimap-slider.active, .monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: "+a+"; }")}var u=e.getColor(Ns.Gb);u&&t.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+u+" -6px 0 6px -6px inset; }")}));n("cl4r");var Eu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ku=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options.get(107);return n._widgets={},n._verticalScrollbarWidth=i.verticalScrollbarWidth,n._minimapWidth=i.minimapWidth,n._horizontalScrollbarHeight=i.horizontalScrollbarHeight,n._editorHeight=i.height,n._editorWidth=i.width,n._domNode=Object(rr.b)(document.createElement("div")),wr.write(n._domNode,4),n._domNode.setClassName("overlayWidgets"),n}return Eu(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options.get(107);return this._verticalScrollbarWidth=t.verticalScrollbarWidth,this._minimapWidth=t.minimapWidth,this._horizontalScrollbarHeight=t.horizontalScrollbarHeight,this._editorHeight=t.height,this._editorWidth=t.width,!0},t.prototype.addWidget=function(e){var t=Object(rr.b)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()},t.prototype.setWidgetPosition=function(e,t){var n=this._widgets[e.getId()];return n.preference!==t&&(n.preference=t,this.setShouldRender(),!0)},t.prototype.removeWidget=function(e){var t=e.getId();if(this._widgets.hasOwnProperty(t)){var n=this._widgets[t].domNode.domNode;delete this._widgets[t],n.parentNode.removeChild(n),this.setShouldRender()}},t.prototype._renderWidget=function(e){var t=e.domNode;if(null!==e.preference)if(0===e.preference)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===e.preference){var n=t.domNode.clientHeight;t.setTop(this._editorHeight-n-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===e.preference&&(t.setTop(0),t.domNode.style.right="50%");else t.unsetTop()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._editorWidth);for(var t=Object.keys(this._widgets),n=0,i=t.length;n<i;n++){var o=t[n];this._renderWidget(this._widgets[o])}},t}(Cr),Iu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Mu=function(){function e(e,t){var n=e.options;this.lineHeight=n.get(49),this.pixelRatio=n.get(105),this.overviewRulerLanes=n.get(63),this.renderBorder=n.get(62);var i=t.getColor(js);this.borderColor=i?i.toString():null,this.hideCursor=n.get(42);var o=t.getColor(Ms);this.cursorColor=o?o.transparent(.7).toString():null,this.themeType=t.type;var r=n.get(54),s=r.enabled,a=r.side,u=s?Re.y.getDefaultBackground():null;this.backgroundColor=null===u||"left"===a?null:Ls.a.Format.CSS.formatHex(u);var l=n.get(107).overviewRuler;this.top=l.top,this.right=l.right,this.domWidth=l.width,this.domHeight=l.height,0===this.overviewRulerLanes?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);var c=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes),d=c[0],h=c[1];this.x=d,this.w=h}return e.prototype._initLanes=function(e,t,n){var i=t-e;if(n>=3){var o,r,s,a=i-(o=Math.floor(i/3))-(r=Math.floor(i/3)),u=(s=e)+o;return[[0,s,u,s,s+o+a,s,u,s],[0,o,a,o+a,r,o+a+r,a+r,o+a+r]]}if(2===n)return[[0,s=e,s,s,s+(o=Math.floor(i/2)),s,s,s],[0,o,o,o,r=i-o,o+r,o+r,o+r]];return[[0,e,e,e,e,e,e,e],[0,i,i,i,i,i,i,i]]},e.prototype.equals=function(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColor===e.cursorColor&&this.themeType===e.themeType&&this.backgroundColor===e.backgroundColor&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight},e}(),Tu=function(e){function t(t){var n=e.call(this,t)||this;return n._domNode=Object(rr.b)(document.createElement("canvas")),n._domNode.setClassName("decorationsOverviewRuler"),n._domNode.setPosition("absolute"),n._domNode.setLayerHinting(!0),n._domNode.setContain("strict"),n._domNode.setAttribute("aria-hidden","true"),n._updateSettings(!1),n._tokensColorTrackerListener=Re.y.onDidChange((function(e){e.changedColorMap&&n._updateSettings(!0)})),n._cursorPositions=[],n}return Iu(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},t.prototype._updateSettings=function(e){var t=new Mu(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)},t.prototype.onConfigurationChanged=function(e){return this._updateSettings(!1)},t.prototype.onCursorStateChanged=function(e){this._cursorPositions=[];for(var t=0,n=e.selections.length;t<n;t++)this._cursorPositions[t]=e.selections[t].getPosition();return this._cursorPositions.sort(H.a.compare),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onThemeChanged=function(e){return this._context.model.invalidateOverviewRulerColorCache(),this._updateSettings(!1)},t.prototype.getDomNode=function(){return this._domNode.domNode},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._render()},t.prototype._render=function(){if(0!==this._settings.overviewRulerLanes){var e=this._settings.canvasWidth,t=this._settings.canvasHeight,n=this._settings.lineHeight,i=this._context.viewLayout,o=t/this._context.viewLayout.getScrollHeight(),r=this._context.model.getAllOverviewRulerDecorations(this._context.theme),s=6*this._settings.pixelRatio|0,a=s/2|0,u=this._domNode.domNode.getContext("2d");null===this._settings.backgroundColor?u.clearRect(0,0,e,t):(u.fillStyle=this._settings.backgroundColor,u.fillRect(0,0,e,t));var l=this._settings.x,c=this._settings.w,d=Object.keys(r);d.sort();for(var h=0,f=d.length;h<f;h++){var p=d[h],g=r[p];u.fillStyle=p;for(var m=0,v=0,_=0,y=0,b=g.length;y<b;y++){var C=g[3*y],w=g[3*y+1],S=g[3*y+2],L=i.getVerticalOffsetForLineNumber(w)*o|0;if((I=(i.getVerticalOffsetForLineNumber(S)+n)*o|0)-L<s)(E=(L+I)/2|0)<a?E=a:E+a>t&&(E=t-a),L=E-a,I=E+a;L>_+1||C!==m?(0!==y&&u.fillRect(l[m],v,c[m],_-v),m=C,v=L,_=I):I>_&&(_=I)}u.fillRect(l[m],v,c[m],_-v)}if(!this._settings.hideCursor&&this._settings.cursorColor){var N=2*this._settings.pixelRatio|0,O=N/2|0,D=this._settings.x[7],x=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(v=-100,_=-100,y=0,b=this._cursorPositions.length;y<b;y++){var E,k=this._cursorPositions[y];(E=i.getVerticalOffsetForLineNumber(k.lineNumber)*o|0)<O?E=O:E+O>t&&(E=t-O);var I=(L=E-O)+N;L>_+1?(0!==y&&u.fillRect(D,v,x,_-v),v=L,_=I):I>_&&(_=I)}u.fillRect(D,v,x,_-v)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(u.beginPath(),u.lineWidth=1,u.strokeStyle=this._settings.borderColor,u.moveTo(0,0),u.lineTo(0,t),u.stroke(),u.moveTo(0,0),u.lineTo(e,0),u.stroke())}else this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:"")},t}(Cr),Au=function(){function e(e,t,n){this.from=0|e,this.to=0|t,this.colorId=0|n}return e.compare=function(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId},e}(),Ru=function(){function e(e,t,n){this.startLineNumber=e,this.endLineNumber=t,this.color=n,this._colorZone=null}return e.compare=function(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.color<t.color?-1:1},e.prototype.setColorZone=function(e){this._colorZone=e},e.prototype.getColorZones=function(){return this._colorZone},e}(),Pu=function(){function e(e){this._getVerticalOffsetForLine=e,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}return e.prototype.getId2Color=function(){return this._id2Color},e.prototype.setZones=function(e){this._zones=e,this._zones.sort(Ru.compare)},e.prototype.setLineHeight=function(e){return this._lineHeight!==e&&(this._lineHeight=e,this._colorZonesInvalid=!0,!0)},e.prototype.setPixelRatio=function(e){this._pixelRatio=e,this._colorZonesInvalid=!0},e.prototype.getDOMWidth=function(){return this._domWidth},e.prototype.getCanvasWidth=function(){return this._domWidth*this._pixelRatio},e.prototype.setDOMWidth=function(e){return this._domWidth!==e&&(this._domWidth=e,this._colorZonesInvalid=!0,!0)},e.prototype.getDOMHeight=function(){return this._domHeight},e.prototype.getCanvasHeight=function(){return this._domHeight*this._pixelRatio},e.prototype.setDOMHeight=function(e){return this._domHeight!==e&&(this._domHeight=e,this._colorZonesInvalid=!0,!0)},e.prototype.getOuterHeight=function(){return this._outerHeight},e.prototype.setOuterHeight=function(e){return this._outerHeight!==e&&(this._outerHeight=e,this._colorZonesInvalid=!0,!0)},e.prototype.resolveColorZones=function(){for(var e=this._colorZonesInvalid,t=Math.floor(this._lineHeight),n=Math.floor(this.getCanvasHeight()),i=n/Math.floor(this._outerHeight),o=Math.floor(4*this._pixelRatio/2),r=[],s=0,a=this._zones.length;s<a;s++){var u=this._zones[s];if(!e){var l=u.getColorZones();if(l){r.push(l);continue}}var c=Math.floor(i*this._getVerticalOffsetForLine(u.startLineNumber)),d=Math.floor(i*(this._getVerticalOffsetForLine(u.endLineNumber)+t)),h=Math.floor((c+d)/2),f=d-h;f<o&&(f=o),h-f<0&&(h=f),h+f>n&&(h=n-f);var p=u.color,g=this._color2Id[p];g||(g=++this._lastAssignedId,this._color2Id[p]=g,this._id2Color[g]=p);var m=new Au(h-f,h+f,g);u.setColorZone(m),r.push(m)}return this._colorZonesInvalid=!1,r.sort(Au.compare),r},e}(),Fu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Vu=function(e){function t(t,n){var i=e.call(this)||this;i._context=t;var o=i._context.configuration.options;return i._domNode=Object(rr.b)(document.createElement("canvas")),i._domNode.setClassName(n),i._domNode.setPosition("absolute"),i._domNode.setLayerHinting(!0),i._domNode.setContain("strict"),i._zoneManager=new Pu((function(e){return i._context.viewLayout.getVerticalOffsetForLineNumber(e)})),i._zoneManager.setDOMWidth(0),i._zoneManager.setDOMHeight(0),i._zoneManager.setOuterHeight(i._context.viewLayout.getScrollHeight()),i._zoneManager.setLineHeight(o.get(49)),i._zoneManager.setPixelRatio(o.get(105)),i._context.addEventHandler(i),i}return Fu(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return e.hasChanged(49)&&(this._zoneManager.setLineHeight(t.get(49)),this._render()),e.hasChanged(105)&&(this._zoneManager.setPixelRatio(t.get(105)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0},t.prototype.onFlushed=function(e){return this._render(),!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0},t.prototype.onZonesChanged=function(e){return this._render(),!0},t.prototype.getDomNode=function(){return this._domNode.domNode},t.prototype.setLayout=function(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);var t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,(t=this._zoneManager.setDOMHeight(e.height)||t)&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())},t.prototype.setZones=function(e){this._zoneManager.setZones(e),this._render()},t.prototype._render=function(){if(0===this._zoneManager.getOuterHeight())return!1;var e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),n=this._zoneManager.resolveColorZones(),i=this._zoneManager.getId2Color(),o=this._domNode.domNode.getContext("2d");return o.clearRect(0,0,e,t),n.length>0&&this._renderOneLane(o,n,i,e),!0},t.prototype._renderOneLane=function(e,t,n,i){for(var o=0,r=0,s=0,a=0,u=t;a<u.length;a++){var l=u[a],c=l.colorId,d=l.from,h=l.to;c!==o?(e.fillRect(0,r,i,s-r),o=c,e.fillStyle=n[o],r=d,s=h):s>=d?s=Math.max(s,h):(e.fillRect(0,r,i,s-r),r=d,s=h)}e.fillRect(0,r,i,s-r)},t}(yr),Wu=(n("7zd4"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Bu=function(e){function t(t){var n=e.call(this,t)||this;n.domNode=Object(rr.b)(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n.domNode.setClassName("view-rulers"),n._renderedRulers=[];var i=n._context.configuration.options;return n._rulers=i.get(77),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n}return Wu(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._rulers=t.get(77),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},t.prototype.prepareRender=function(e){},t.prototype._ensureRulersCount=function(){var e=this._renderedRulers.length,t=this._rulers.length;if(e!==t)if(e<t)for(var n=this._context.model.getOptions().tabSize,i=t-e;i>0;){(r=Object(rr.b)(document.createElement("div"))).setClassName("view-ruler"),r.setWidth(n),this.domNode.appendChild(r),this._renderedRulers.push(r),i--}else for(var o=e-t;o>0;){var r=this._renderedRulers.pop();this.domNode.removeChild(r),o--}},t.prototype.render=function(e){this._ensureRulersCount();for(var t=0,n=this._rulers.length;t<n;t++){var i=this._renderedRulers[t];i.setHeight(Math.min(e.scrollHeight,1e6)),i.setLeft(this._rulers[t]*this._typicalHalfwidthCharacterWidth)}},t}(Cr);Object(Ir.e)((function(e,t){var n=e.getColor(Bs);n&&t.addRule(".monaco-editor .view-ruler { box-shadow: 1px 0 0 0 "+n+" inset; }")}));n("2MPD");var ju=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Hu=function(e){function t(t){var n=e.call(this,t)||this;n._scrollTop=0,n._width=0,n._updateWidth(),n._shouldShow=!1;var i=n._context.configuration.options.get(78);return n._useShadows=i.useShadows,n._domNode=Object(rr.b)(document.createElement("div")),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n}return ju(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._updateShouldShow=function(){var e=this._useShadows&&this._scrollTop>0;return this._shouldShow!==e&&(this._shouldShow=e,!0)},t.prototype.getDomNode=function(){return this._domNode},t.prototype._updateWidth=function(){var e=this._context.configuration.options.get(107);0===e.renderMinimap||e.minimapWidth>0&&0===e.minimapLeft?this._width=e.width:this._width=e.width-e.minimapWidth-e.verticalScrollbarWidth},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options.get(78);return this._useShadows=t.useShadows,this._updateWidth(),this._updateShouldShow(),!0},t.prototype.onScrollChanged=function(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")},t}(Cr);Object(Ir.e)((function(e,t){var n=e.getColor(Ns.Gb);n&&t.addRule(".monaco-editor .scroll-decoration { box-shadow: "+n+" 0 6px 6px -6px inset; }")}));n("eC1c");var zu=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Uu=function(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null},Ku=function(e,t){this.lineNumber=e,this.ranges=t};function qu(e){return new Uu(e)}function Gu(e){return new Ku(e.lineNumber,e.ranges.map(qu))}var Yu=Yo.f,Zu=function(e){function t(t){var n=e.call(this)||this;n._previousFrameVisibleRangesWithStyle=[],n._context=t;var i=n._context.configuration.options;return n._lineHeight=i.get(49),n._roundedSelection=i.get(76),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n._selections=[],n._renderResult=null,n._context.addEventHandler(n),n}return zu(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._lineHeight=t.get(49),this._roundedSelection=t.get(76),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._visibleRangesHaveGaps=function(e){for(var t=0,n=e.length;t<n;t++){if(e[t].ranges.length>1)return!0}return!1},t.prototype._enrichVisibleRangesWithStyle=function(e,t,n){var i=this._typicalHalfwidthCharacterWidth/4,o=null,r=null;if(n&&n.length>0&&t.length>0){var s=t[0].lineNumber;if(s===e.startLineNumber)for(var a=0;!o&&a<n.length;a++)n[a].lineNumber===s&&(o=n[a].ranges[0]);var u=t[t.length-1].lineNumber;if(u===e.endLineNumber)for(a=n.length-1;!r&&a>=0;a--)n[a].lineNumber===u&&(r=n[a].ranges[0]);o&&!o.startStyle&&(o=null),r&&!r.startStyle&&(r=null)}a=0;for(var l=t.length;a<l;a++){var c=t[a].ranges[0],d=c.left,h=c.left+c.width,f={top:0,bottom:0},p={top:0,bottom:0};if(a>0){var g=t[a-1].ranges[0].left,m=t[a-1].ranges[0].left+t[a-1].ranges[0].width;Xu(d-g)<i?f.top=2:d>g&&(f.top=1),Xu(h-m)<i?p.top=2:g<h&&h<m&&(p.top=1)}else o&&(f.top=o.startStyle.top,p.top=o.endStyle.top);if(a+1<l){var v=t[a+1].ranges[0].left,_=t[a+1].ranges[0].left+t[a+1].ranges[0].width;Xu(d-v)<i?f.bottom=2:v<d&&d<_&&(f.bottom=1),Xu(h-_)<i?p.bottom=2:h<_&&(p.bottom=1)}else r&&(f.bottom=r.startStyle.bottom,p.bottom=r.endStyle.bottom);c.startStyle=f,c.endStyle=p}},t.prototype._getVisibleRangesWithStyle=function(e,t,n){var i=(t.linesVisibleRangesForRange(e,!0)||[]).map(Gu),o=this._visibleRangesHaveGaps(i);return Yu||o||!this._roundedSelection||this._enrichVisibleRangesWithStyle(t.visibleRange,i,n),i},t.prototype._createSelectionPiece=function(e,t,n,i,o){return'<div class="cslr '+n+'" style="top:'+e.toString()+"px;left:"+i.toString()+"px;width:"+o.toString()+"px;height:"+t+'px;"></div>'},t.prototype._actualRenderOneSelection=function(e,n,i,o){if(0!==o.length)for(var r=!!o[0].ranges[0].startStyle,s=this._lineHeight.toString(),a=(this._lineHeight-1).toString(),u=o[0].lineNumber,l=o[o.length-1].lineNumber,c=0,d=o.length;c<d;c++){for(var h=o[c],f=h.lineNumber,p=f-n,g=i&&(f===l||f===u)?a:s,m=i&&f===u?1:0,v="",_="",y=0,b=h.ranges.length;y<b;y++){var C=h.ranges[y];if(r){var w=C.startStyle,S=C.endStyle;if(1===w.top||1===w.bottom){v+=this._createSelectionPiece(m,g,t.SELECTION_CLASS_NAME,C.left-t.ROUNDED_PIECE_WIDTH,t.ROUNDED_PIECE_WIDTH);var L=t.EDITOR_BACKGROUND_CLASS_NAME;1===w.top&&(L+=" "+t.SELECTION_TOP_RIGHT),1===w.bottom&&(L+=" "+t.SELECTION_BOTTOM_RIGHT),v+=this._createSelectionPiece(m,g,L,C.left-t.ROUNDED_PIECE_WIDTH,t.ROUNDED_PIECE_WIDTH)}if(1===S.top||1===S.bottom){v+=this._createSelectionPiece(m,g,t.SELECTION_CLASS_NAME,C.left+C.width,t.ROUNDED_PIECE_WIDTH);var N=t.EDITOR_BACKGROUND_CLASS_NAME;1===S.top&&(N+=" "+t.SELECTION_TOP_LEFT),1===S.bottom&&(N+=" "+t.SELECTION_BOTTOM_LEFT),v+=this._createSelectionPiece(m,g,N,C.left+C.width,t.ROUNDED_PIECE_WIDTH)}}var O=t.SELECTION_CLASS_NAME;if(r){w=C.startStyle,S=C.endStyle;0===w.top&&(O+=" "+t.SELECTION_TOP_LEFT),0===w.bottom&&(O+=" "+t.SELECTION_BOTTOM_LEFT),0===S.top&&(O+=" "+t.SELECTION_TOP_RIGHT),0===S.bottom&&(O+=" "+t.SELECTION_BOTTOM_RIGHT)}_+=this._createSelectionPiece(m,g,O,C.left,C.width)}e[p][0]+=v,e[p][1]+=_}},t.prototype.prepareRender=function(e){for(var t=[],n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o=n;o<=i;o++){t[o-n]=["",""]}for(var r=[],s=0,a=this._selections.length;s<a;s++){var u=this._selections[s];if(u.isEmpty())r[s]=null;else{var l=this._getVisibleRangesWithStyle(u,e,this._previousFrameVisibleRangesWithStyle[s]);r[s]=l,this._actualRenderOneSelection(t,n,this._selections.length>1,l)}}this._previousFrameVisibleRangesWithStyle=r,this._renderResult=t.map((function(e){return e[0]+e[1]}))},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t.SELECTION_CLASS_NAME="selected-text",t.SELECTION_TOP_LEFT="top-left-radius",t.SELECTION_BOTTOM_LEFT="bottom-left-radius",t.SELECTION_TOP_RIGHT="top-right-radius",t.SELECTION_BOTTOM_RIGHT="bottom-right-radius",t.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",t.ROUNDED_PIECE_WIDTH=10,t}(Ss);function Xu(e){return e<0?-e:e}Object(Ir.e)((function(e,t){var n=e.getColor(Ns.C);n&&t.addRule(".monaco-editor .focused .selected-text { background-color: "+n+"; }");var i=e.getColor(Ns.z);i&&t.addRule(".monaco-editor .selected-text { background-color: "+i+"; }");var o=e.getColor(Ns.D);o&&t.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+o+"; }")}));n("2Tsy");var Ju=function(e,t,n,i,o,r){this.top=e,this.left=t,this.width=n,this.height=i,this.textContent=o,this.textContentClassName=r},Qu=function(){function e(e){this._context=e;var t=this._context.configuration.options,n=t.get(34);this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(rr.b)(document.createElement("div")),this._domNode.setClassName("cursor"),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),ir.applyFontInfo(this._domNode,n),this._domNode.setDisplay("none"),this._position=new H.a(1,1),this._lastRenderedContent="",this._renderData=null}return e.prototype.getDomNode=function(){return this._domNode},e.prototype.getPosition=function(){return this._position},e.prototype.show=function(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)},e.prototype.hide=function(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)},e.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(34);return this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),ir.applyFontInfo(this._domNode,n),!0},e.prototype.onCursorPositionChanged=function(e){return this._position=e,!0},e.prototype._prepareRender=function(e){var t="";if(this._cursorStyle===F.g.Line||this._cursorStyle===F.g.LineThin){var n,i=e.visibleRangeForPosition(this._position);if(!i||i.outsideRenderedLine)return null;if(this._cursorStyle===F.g.Line){if((n=Z.p(this._lineCursorWidth>0?this._lineCursorWidth:2))>2){var o=this._context.model.getLineContent(this._position.lineNumber),r=ne.C(o,this._position.column-1);t=o.substr(this._position.column-1,r)}}else n=Z.p(1);var s=i.left;n>=2&&s>=1&&(s-=1);var a=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta;return new Ju(a,s,n,this._lineHeight,t,"")}var u=this._context.model.getLineContent(this._position.lineNumber),l=ne.C(u,this._position.column-1),c=e.linesVisibleRangesForRange(new z.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+l),!1);if(!c||0===c.length)return null;var d=c[0];if(d.outsideRenderedLine||0===d.ranges.length)return null;var h=d.ranges[0],f=h.width<1?this._typicalHalfwidthCharacterWidth:h.width,p="";if(this._cursorStyle===F.g.Block){var g=this._context.model.getViewLineData(this._position.lineNumber);t=u.substr(this._position.column-1,l);var m=g.tokens.findTokenIndexAtOffset(this._position.column-1);p=g.tokens.getClassName(m)}var v=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta,_=this._lineHeight;return this._cursorStyle!==F.g.Underline&&this._cursorStyle!==F.g.UnderlineThin||(v+=this._lineHeight-2,_=2),new Ju(v,h.left,f,_,t,p)},e.prototype.prepareRender=function(e){this._renderData=this._prepareRender(e)},e.prototype.render=function(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName("cursor "+this._renderData.textContentClassName),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)},e}(),$u=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),el=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options;return n._readOnly=i.get(68),n._cursorBlinking=i.get(16),n._cursorStyle=i.get(18),n._cursorSmoothCaretAnimation=i.get(17),n._selectionIsEmpty=!0,n._isVisible=!1,n._primaryCursor=new Qu(n._context),n._secondaryCursors=[],n._renderData=[],n._domNode=Object(rr.b)(document.createElement("div")),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n._updateDomClassName(),n._domNode.appendChild(n._primaryCursor.getDomNode()),n._startCursorBlinkAnimation=new We.e,n._cursorFlatBlinkInterval=new We.c,n._blinkingEnabled=!1,n._editorHasFocus=!1,n._updateBlinking(),n}return $u(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;this._readOnly=t.get(68),this._cursorBlinking=t.get(16),this._cursorStyle=t.get(18),this._cursorSmoothCaretAnimation=t.get(17),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(var n=0,i=this._secondaryCursors.length;n<i;n++)this._secondaryCursors[n].onConfigurationChanged(e);return!0},t.prototype._onCursorPositionChanged=function(e,t){if(this._primaryCursor.onCursorPositionChanged(e),this._updateBlinking(),this._secondaryCursors.length<t.length)for(var n=t.length-this._secondaryCursors.length,i=0;i<n;i++){var o=new Qu(this._context);this._domNode.domNode.insertBefore(o.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(o)}else if(this._secondaryCursors.length>t.length){var r=this._secondaryCursors.length-t.length;for(i=0;i<r;i++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(i=0;i<t.length;i++)this._secondaryCursors[i].onCursorPositionChanged(t[i])},t.prototype.onCursorStateChanged=function(e){for(var t=[],n=0,i=e.selections.length;n<i;n++)t[n]=e.selections[n].getPosition();this._onCursorPositionChanged(t[0],t.slice(1));var o=e.selections[0].isEmpty();return this._selectionIsEmpty!==o&&(this._selectionIsEmpty=o,this._updateDomClassName()),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onFocusChanged=function(e){return this._editorHasFocus=e.isFocused,this._updateBlinking(),!1},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onTokensChanged=function(e){var t=function(t){for(var n=0,i=e.ranges.length;n<i;n++)if(e.ranges[n].fromLineNumber<=t.lineNumber&&t.lineNumber<=e.ranges[n].toLineNumber)return!0;return!1};if(t(this._primaryCursor.getPosition()))return!0;for(var n=0,i=this._secondaryCursors;n<i.length;n++){if(t(i[n].getPosition()))return!0}return!1},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getCursorBlinking=function(){return this._editorHasFocus?this._readOnly?5:this._cursorBlinking:0},t.prototype._updateBlinking=function(){var e=this;this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();var n=this._getCursorBlinking(),i=0===n,o=5===n;i?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),i||o||(1===n?this._cursorFlatBlinkInterval.cancelAndSet((function(){e._isVisible?e._hide():e._show()}),t.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet((function(){e._blinkingEnabled=!0,e._updateDomClassName()}),t.BLINK_INTERVAL))},t.prototype._updateDomClassName=function(){this._domNode.setClassName(this._getClassName())},t.prototype._getClassName=function(){var e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case F.g.Line:e+=" cursor-line-style";break;case F.g.Block:e+=" cursor-block-style";break;case F.g.Underline:e+=" cursor-underline-style";break;case F.g.LineThin:e+=" cursor-line-thin-style";break;case F.g.BlockOutline:e+=" cursor-block-outline-style";break;case F.g.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;case 5:e+=" cursor-solid";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(e+=" cursor-smooth-caret-animation"),e},t.prototype._show=function(){this._primaryCursor.show();for(var e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].show();this._isVisible=!0},t.prototype._hide=function(){this._primaryCursor.hide();for(var e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].hide();this._isVisible=!1},t.prototype.prepareRender=function(e){this._primaryCursor.prepareRender(e);for(var t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].prepareRender(e)},t.prototype.render=function(e){var t=[],n=0,i=this._primaryCursor.render(e);i&&(t[n++]=i);for(var o=0,r=this._secondaryCursors.length;o<r;o++){var s=this._secondaryCursors[o].render(e);s&&(t[n++]=s)}this._renderData=t},t.prototype.getLastRenderData=function(){return this._renderData},t.BLINK_INTERVAL=500,t}(Cr);Object(Ir.e)((function(e,t){var n=e.getColor(Ms);if(n){var i=e.getColor(Ts);i||(i=n.opposite()),t.addRule(".monaco-editor .cursor { background-color: "+n+"; border-color: "+n+"; color: "+i+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid "+i+"; border-right: 1px solid "+i+"; }")}}));var tl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),nl=function(){throw new Error("Invalid change accessor")},il=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options,o=i.get(107);return n._lineHeight=i.get(49),n._contentWidth=o.contentWidth,n._contentLeft=o.contentLeft,n.domNode=Object(rr.b)(document.createElement("div")),n.domNode.setClassName("view-zones"),n.domNode.setPosition("absolute"),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n.marginDomNode=Object(rr.b)(document.createElement("div")),n.marginDomNode.setClassName("margin-view-zones"),n.marginDomNode.setPosition("absolute"),n.marginDomNode.setAttribute("role","presentation"),n.marginDomNode.setAttribute("aria-hidden","true"),n._zones={},n}return tl(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._zones={}},t.prototype._recomputeWhitespacesProps=function(){for(var e=this,t=this._context.viewLayout.getWhitespaces(),n=new Map,i=0,o=t;i<o.length;i++){var r=o[i];n.set(r.id,r)}return this._context.viewLayout.changeWhitespace((function(t){for(var i=!1,o=Object.keys(e._zones),r=0,s=o.length;r<s;r++){var a=o[r],u=e._zones[a],l=e._computeWhitespaceProps(u.delegate),c=n.get(a);!c||c.afterLineNumber===l.afterViewLineNumber&&c.height===l.heightInPx||(t.changeOneWhitespace(a,l.afterViewLineNumber,l.heightInPx),e._safeCallOnComputedHeight(u.delegate,l.heightInPx),i=!0)}return i}))},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._lineHeight=t.get(49),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,e.hasChanged(49)&&this._recomputeWhitespacesProps(),!0},t.prototype.onLineMappingChanged=function(e){var t=this._recomputeWhitespacesProps();return t&&this._context.viewLayout.onHeightMaybeChanged(),t},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype._getZoneOrdinal=function(e){return void 0!==e.afterColumn?e.afterColumn:1e4},t.prototype._computeWhitespaceProps=function(e){if(0===e.afterLineNumber)return{afterViewLineNumber:0,heightInPx:this._heightInPixels(e),minWidthInPx:this._minWidthInPixels(e)};var t,n;if(void 0!==e.afterColumn)t=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:e.afterColumn});else{var i=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:1}).lineNumber;t=new H.a(i,this._context.model.getModelLineMaxColumn(i))}n=t.column===this._context.model.getModelLineMaxColumn(t.lineNumber)?this._context.model.validateModelPosition({lineNumber:t.lineNumber+1,column:1}):this._context.model.validateModelPosition({lineNumber:t.lineNumber,column:t.column+1});var o=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(t),r=this._context.model.coordinatesConverter.modelPositionIsVisible(n);return{afterViewLineNumber:o.lineNumber,heightInPx:r?this._heightInPixels(e):0,minWidthInPx:this._minWidthInPixels(e)}},t.prototype.changeViewZones=function(e){var t=this;return this._context.viewLayout.changeWhitespace((function(n){var i=!1,o={addZone:function(e){return i=!0,t._addZone(n,e)},removeZone:function(e){e&&(i=t._removeZone(n,e)||i)},layoutZone:function(e){e&&(i=t._layoutZone(n,e)||i)}};return function(e,t){try{e(t)}catch(e){Object(Be.e)(e)}}(e,o),o.addZone=nl,o.removeZone=nl,o.layoutZone=nl,i}))},t.prototype._addZone=function(e,t){var n=this._computeWhitespaceProps(t),i={whitespaceId:e.insertWhitespace(n.afterViewLineNumber,this._getZoneOrdinal(t),n.heightInPx,n.minWidthInPx),delegate:t,isVisible:!1,domNode:Object(rr.b)(t.domNode),marginDomNode:t.marginDomNode?Object(rr.b)(t.marginDomNode):null};return this._safeCallOnComputedHeight(i.delegate,n.heightInPx),i.domNode.setPosition("absolute"),i.domNode.domNode.style.width="100%",i.domNode.setDisplay("none"),i.domNode.setAttribute("monaco-view-zone",i.whitespaceId),this.domNode.appendChild(i.domNode),i.marginDomNode&&(i.marginDomNode.setPosition("absolute"),i.marginDomNode.domNode.style.width="100%",i.marginDomNode.setDisplay("none"),i.marginDomNode.setAttribute("monaco-view-zone",i.whitespaceId),this.marginDomNode.appendChild(i.marginDomNode)),this._zones[i.whitespaceId]=i,this.setShouldRender(),i.whitespaceId},t.prototype._removeZone=function(e,t){if(this._zones.hasOwnProperty(t)){var n=this._zones[t];return delete this._zones[t],e.removeWhitespace(n.whitespaceId),n.domNode.removeAttribute("monaco-visible-view-zone"),n.domNode.removeAttribute("monaco-view-zone"),n.domNode.domNode.parentNode.removeChild(n.domNode.domNode),n.marginDomNode&&(n.marginDomNode.removeAttribute("monaco-visible-view-zone"),n.marginDomNode.removeAttribute("monaco-view-zone"),n.marginDomNode.domNode.parentNode.removeChild(n.marginDomNode.domNode)),this.setShouldRender(),!0}return!1},t.prototype._layoutZone=function(e,t){if(this._zones.hasOwnProperty(t)){var n=this._zones[t],i=this._computeWhitespaceProps(n.delegate);return e.changeOneWhitespace(n.whitespaceId,i.afterViewLineNumber,i.heightInPx),this._safeCallOnComputedHeight(n.delegate,i.heightInPx),this.setShouldRender(),!0}return!1},t.prototype.shouldSuppressMouseDownOnViewZone=function(e){if(this._zones.hasOwnProperty(e)){var t=this._zones[e];return Boolean(t.delegate.suppressMouseDown)}return!1},t.prototype._heightInPixels=function(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight},t.prototype._minWidthInPixels=function(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0},t.prototype._safeCallOnComputedHeight=function(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){Object(Be.e)(e)}},t.prototype._safeCallOnDomNodeTop=function(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){Object(Be.e)(e)}},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){for(var t=e.viewportData.whitespaceViewportData,n={},i=!1,o=0,r=t.length;o<r;o++)n[t[o].id]=t[o],i=!0;var s=Object.keys(this._zones);for(o=0,r=s.length;o<r;o++){var a=s[o],u=this._zones[a],l=0,c=0,d="none";n.hasOwnProperty(a)?(l=n[a].verticalOffset-e.bigNumbersDelta,c=n[a].height,d="block",u.isVisible||(u.domNode.setAttribute("monaco-visible-view-zone","true"),u.isVisible=!0),this._safeCallOnDomNodeTop(u.delegate,e.getScrolledTopFromAbsoluteTop(n[a].verticalOffset))):(u.isVisible&&(u.domNode.removeAttribute("monaco-visible-view-zone"),u.isVisible=!1),this._safeCallOnDomNodeTop(u.delegate,e.getScrolledTopFromAbsoluteTop(-1e6))),u.domNode.setTop(l),u.domNode.setHeight(c),u.domNode.setDisplay(d),u.marginDomNode&&(u.marginDomNode.setTop(l),u.marginDomNode.setHeight(c),u.marginDomNode.setDisplay(d))}i&&(this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))},t}(Cr);var ol=function(){function e(e,t,n,i){this.configuration=e,this.theme=t,this.model=n,this.viewLayout=n.viewLayout,this.privateViewEventBus=i}return e.prototype.addEventHandler=function(e){this.privateViewEventBus.addEventHandler(e)},e.prototype.removeEventHandler=function(e){this.privateViewEventBus.removeEventHandler(e)},e}(),rl=function(){function e(e){this._eventHandlerGateKeeper=e,this._eventHandlers=[],this._eventQueue=null,this._isConsumingQueue=!1}return e.prototype.addEventHandler=function(e){for(var t=0,n=this._eventHandlers.length;t<n;t++)this._eventHandlers[t]===e&&console.warn("Detected duplicate listener in ViewEventDispatcher",e);this._eventHandlers.push(e)},e.prototype.removeEventHandler=function(e){for(var t=0;t<this._eventHandlers.length;t++)if(this._eventHandlers[t]===e){this._eventHandlers.splice(t,1);break}},e.prototype.emit=function(e){this._eventQueue?this._eventQueue.push(e):this._eventQueue=[e],this._isConsumingQueue||this.consumeQueue()},e.prototype.emitMany=function(e){this._eventQueue?this._eventQueue=this._eventQueue.concat(e):this._eventQueue=e,this._isConsumingQueue||this.consumeQueue()},e.prototype.consumeQueue=function(){var e=this;this._eventHandlerGateKeeper((function(){try{e._isConsumingQueue=!0,e._doConsumeQueue()}finally{e._isConsumingQueue=!1}}))},e.prototype._doConsumeQueue=function(){for(;this._eventQueue;){var e=this._eventQueue;this._eventQueue=null;for(var t=this._eventHandlers.slice(0),n=0,i=t.length;n<i;n++)t[n].handleEvents(e)}},e}(),sl=function(){function e(e,t,n,i){this.selections=e,this.startLineNumber=0|t.startLineNumber,this.endLineNumber=0|t.endLineNumber,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=0|t.bigNumbersDelta,this.whitespaceViewportData=n,this._model=i,this.visibleRange=new z.a(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}return e.prototype.getViewLineRenderingData=function(e){return this._model.getViewLineRenderingData(this.visibleRange,e)},e.prototype.getDecorationsInViewport=function(){return this._model.getDecorationsInViewport(this.visibleRange)},e}(),al=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ul=function(e){function t(t,n,i,o,r,s){var a=e.call(this)||this;a._cursor=r,a._renderAnimationFrame=null,a.outgoingEvents=s;var u=new Na(n,o,a.outgoingEvents,t);a.eventDispatcher=new rl((function(e){return a._renderOnce(e)})),a.eventDispatcher.addEventHandler(a),a._context=new ol(n,i.getTheme(),o,a.eventDispatcher),a._register(i.onThemeChange((function(e){a._context.theme=e,a.eventDispatcher.emit(new fa),a.render(!0,!1)}))),a.viewParts=[],a._textAreaHandler=new Sa(a._context,u,a.createTextAreaHandlerHelper()),a.viewParts.push(a._textAreaHandler),a.linesContent=Object(rr.b)(document.createElement("div")),a.linesContent.setClassName("lines-content monaco-editor-background"),a.linesContent.setPosition("absolute"),a.domNode=Object(rr.b)(document.createElement("div")),a.domNode.setClassName(a.getEditorClassName()),a.overflowGuardContainer=Object(rr.b)(document.createElement("div")),wr.write(a.overflowGuardContainer,3),a.overflowGuardContainer.setClassName("overflow-guard"),a._scrollbar=new Xa(a._context,a.linesContent,a.domNode,a.overflowGuardContainer),a.viewParts.push(a._scrollbar),a.viewLines=new su(a._context,a.linesContent),a.viewZones=new il(a._context),a.viewParts.push(a.viewZones);var l=new Tu(a._context);a.viewParts.push(l);var c=new Hu(a._context);a.viewParts.push(c);var d=new Ra(a._context);a.viewParts.push(d),d.addDynamicOverlay(new Ua(a._context)),d.addDynamicOverlay(new Zu(a._context)),d.addDynamicOverlay(new nu(a._context)),d.addDynamicOverlay(new Ga(a._context));var h=new Pa(a._context);a.viewParts.push(h),h.addDynamicOverlay(new Ka(a._context)),h.addDynamicOverlay(new eu(a._context)),h.addDynamicOverlay(new cu(a._context)),h.addDynamicOverlay(new uu(a._context)),h.addDynamicOverlay(new Zs(a._context));var f=new Js(a._context);f.getDomNode().appendChild(a.viewZones.marginDomNode),f.getDomNode().appendChild(h.getDomNode()),a.viewParts.push(f),a.contentWidgets=new Wa(a._context,a.domNode),a.viewParts.push(a.contentWidgets),a.viewCursors=new el(a._context),a.viewParts.push(a.viewCursors),a.overlayWidgets=new ku(a._context),a.viewParts.push(a.overlayWidgets);var p=new Bu(a._context);a.viewParts.push(p);var g=new xu(a._context);if(a.viewParts.push(g),l){var m=a._scrollbar.getOverviewRulerLayoutInfo();m.parent.insertBefore(l.getDomNode(),m.insertBefore)}return a.linesContent.appendChild(d.getDomNode()),a.linesContent.appendChild(p.domNode),a.linesContent.appendChild(a.viewZones.domNode),a.linesContent.appendChild(a.viewLines.getDomNode()),a.linesContent.appendChild(a.contentWidgets.domNode),a.linesContent.appendChild(a.viewCursors.getDomNode()),a.overflowGuardContainer.appendChild(f.getDomNode()),a.overflowGuardContainer.appendChild(a._scrollbar.getDomNode()),a.overflowGuardContainer.appendChild(c.getDomNode()),a.overflowGuardContainer.appendChild(a._textAreaHandler.textArea),a.overflowGuardContainer.appendChild(a._textAreaHandler.textAreaCover),a.overflowGuardContainer.appendChild(a.overlayWidgets.getDomNode()),a.overflowGuardContainer.appendChild(g.getDomNode()),a.domNode.appendChild(a.overflowGuardContainer),a.domNode.appendChild(a.contentWidgets.overflowingContentWidgetsDomNode),a._applyLayout(),a.pointerHandler=a._register(new fs(a._context,u,a.createPointerHandlerHelper())),a._register(o.addEventListener((function(e){a.eventDispatcher.emitMany(e)}))),a._register(a._cursor.addEventListener((function(e){a.eventDispatcher.emitMany(e)}))),a}return al(t,e),t.prototype._flushAccumulatedAndRenderNow=function(){this._renderNow()},t.prototype.createPointerHandlerHelper=function(){var e=this;return{viewDomNode:this.domNode.domNode,linesContentDomNode:this.linesContent.domNode,focusTextArea:function(){e.focus()},getLastRenderData:function(){var t=e.viewCursors.getLastRenderData()||[],n=e._textAreaHandler.getLastRenderData();return new qr(t,n)},shouldSuppressMouseDownOnViewZone:function(t){return e.viewZones.shouldSuppressMouseDownOnViewZone(t)},shouldSuppressMouseDownOnWidget:function(t){return e.contentWidgets.shouldSuppressMouseDownOnWidget(t)},getPositionFromDOMInfo:function(t,n){return e._flushAccumulatedAndRenderNow(),e.viewLines.getPositionFromDOMInfo(t,n)},visibleRangeForPosition:function(t,n){return e._flushAccumulatedAndRenderNow(),e.viewLines.visibleRangeForPosition(new H.a(t,n))},getLineWidth:function(t){return e._flushAccumulatedAndRenderNow(),e.viewLines.getLineWidth(t)}}},t.prototype.createTextAreaHandlerHelper=function(){var e=this;return{visibleRangeForPositionRelativeToEditor:function(t,n){return e._flushAccumulatedAndRenderNow(),e.viewLines.visibleRangeForPosition(new H.a(t,n))}}},t.prototype._applyLayout=function(){var e=this._context.configuration.options.get(107);this.domNode.setWidth(e.width),this.domNode.setHeight(e.height),this.overflowGuardContainer.setWidth(e.width),this.overflowGuardContainer.setHeight(e.height),this.linesContent.setWidth(1e6),this.linesContent.setHeight(1e6)},t.prototype.getEditorClassName=function(){var e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(104)+" "+Object(Ir.d)(this._context.theme.type)+e},t.prototype.onConfigurationChanged=function(e){return this.domNode.setClassName(this.getEditorClassName()),this._applyLayout(),!1},t.prototype.onContentSizeChanged=function(e){return this.outgoingEvents.emitContentSizeChange(e),!1},t.prototype.onFocusChanged=function(e){return this.domNode.setClassName(this.getEditorClassName()),this._context.model.setHasFocus(e.isFocused),e.isFocused?this.outgoingEvents.emitViewFocusGained():this.outgoingEvents.emitViewFocusLost(),!1},t.prototype.onScrollChanged=function(e){return this.outgoingEvents.emitScrollChanged(e),!1},t.prototype.onThemeChanged=function(e){return this.domNode.setClassName(this.getEditorClassName()),!1},t.prototype.dispose=function(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this.eventDispatcher.removeEventHandler(this),this.outgoingEvents.dispose(),this.viewLines.dispose();for(var t=0,n=this.viewParts.length;t<n;t++)this.viewParts[t].dispose();this.viewParts=[],e.prototype.dispose.call(this)},t.prototype._renderOnce=function(e){var t=ll(e);return this._scheduleRender(),t},t.prototype._scheduleRender=function(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=Z.O(this._onRenderScheduled.bind(this),100))},t.prototype._onRenderScheduled=function(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()},t.prototype._renderNow=function(){var e=this;ll((function(){return e._actualRender()}))},t.prototype._getViewPartsToRender=function(){for(var e=[],t=0,n=0,i=this.viewParts.length;n<i;n++){var o=this.viewParts[n];o.shouldRender()&&(e[t++]=o)}return e},t.prototype._actualRender=function(){if(Z.G(this.domNode.domNode)){var e=this._getViewPartsToRender();if(this.viewLines.shouldRender()||0!==e.length){var t=this._context.viewLayout.getLinesViewportData();this._context.model.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);var n=new sl(this._cursor.getViewSelections(),t,this._context.viewLayout.getWhitespaceViewportData(),this._context.model);this.contentWidgets.shouldRender()&&this.contentWidgets.onBeforeRender(n),this.viewLines.shouldRender()&&(this.viewLines.renderText(n),this.viewLines.onDidRender(),e=this._getViewPartsToRender());for(var i=new Lr(this._context.viewLayout,n,this.viewLines),o=0,r=e.length;o<r;o++){(s=e[o]).prepareRender(i)}for(o=0,r=e.length;o<r;o++){var s;(s=e[o]).render(i),s.onDidRender()}}}},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._scrollbar.delegateVerticalScrollbarMouseDown(e)},t.prototype.restoreState=function(e){this._context.viewLayout.setScrollPositionNow({scrollTop:e.scrollTop}),this._context.model.tokenizeViewport(),this._renderNow(),this.viewLines.updateLineWidths(),this._context.viewLayout.setScrollPositionNow({scrollLeft:e.scrollLeft})},t.prototype.getOffsetForColumn=function(e,t){var n=this._context.model.validateModelPosition({lineNumber:e,column:t}),i=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(n);this._flushAccumulatedAndRenderNow();var o=this.viewLines.visibleRangeForPosition(new H.a(i.lineNumber,i.column));return o?o.left:-1},t.prototype.getTargetAtClientPoint=function(e,t){var n=this.pointerHandler.getTargetAtClientPoint(e,t);return n?Da.convertViewToModelMouseTarget(n,this._context.model.coordinatesConverter):null},t.prototype.createOverviewRuler=function(e){return new Vu(this._context,e)},t.prototype.change=function(e){var t=this;return this._renderOnce((function(){var n=t.viewZones.changeViewZones(e);return n&&(t._context.viewLayout.onHeightMaybeChanged(),t._context.privateViewEventBus.emit(new ma)),n}))},t.prototype.render=function(e,t){if(t){this.viewLines.forceShouldRender();for(var n=0,i=this.viewParts.length;n<i;n++){this.viewParts[n].forceShouldRender()}}e?this._flushAccumulatedAndRenderNow():this._scheduleRender()},t.prototype.focus=function(){this._textAreaHandler.focusTextArea()},t.prototype.isFocused=function(){return this._textAreaHandler.isFocused()},t.prototype.setAriaOptions=function(e){this._textAreaHandler.setAriaOptions(e)},t.prototype.addContentWidget=function(e){this.contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()},t.prototype.layoutContentWidget=function(e){var t=e.position&&e.position.range||null;if(null===t){var n=e.position?e.position.position:null;null!==n&&(t=new z.a(n.lineNumber,n.column,n.lineNumber,n.column))}var i=e.position?e.position.preference:null;this.contentWidgets.setWidgetPosition(e.widget,t,i),this._scheduleRender()},t.prototype.removeContentWidget=function(e){this.contentWidgets.removeWidget(e.widget),this._scheduleRender()},t.prototype.addOverlayWidget=function(e){this.overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()},t.prototype.layoutOverlayWidget=function(e){var t=e.position?e.position.preference:null;this.overlayWidgets.setWidgetPosition(e.widget,t)&&this._scheduleRender()},t.prototype.removeOverlayWidget=function(e){this.overlayWidgets.removeWidget(e.widget),this._scheduleRender()},t}(yr);function ll(e){try{return e()}catch(e){Object(Be.e)(e)}}var cl=function(){function e(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new Ur.f(new z.a(1,1,1,1),0,new H.a(1,1),0),new Ur.f(new z.a(1,1,1,1),0,new H.a(1,1),0))}return e.prototype.dispose=function(e){this._removeTrackedRange(e)},e.prototype.startTrackingSelection=function(e){this._trackSelection=!0,this._updateTrackedRange(e)},e.prototype.stopTrackingSelection=function(e){this._trackSelection=!1,this._removeTrackedRange(e)},e.prototype._updateTrackedRange=function(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))},e.prototype._removeTrackedRange=function(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)},e.prototype.asCursorState=function(){return new Ur.d(this.modelState,this.viewState)},e.prototype.readSelectionFromMarkers=function(e){var t=e.model._getTrackedRange(this._selTrackedRange);return 0===this.modelState.selection.getDirection()?new U.a(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new U.a(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)},e.prototype.ensureValidState=function(e){this._setState(e,this.modelState,this.viewState)},e.prototype.setState=function(e,t,n){this._setState(e,t,n)},e.prototype._setState=function(e,t,n){if(t){r=e.model.validateRange(t.selectionStart);var i=t.selectionStart.equalsRange(r)?t.selectionStartLeftoverVisibleColumns:0,o=(s=e.model.validatePosition(t.position),t.position.equals(s)?t.leftoverVisibleColumns:0);t=new Ur.f(r,i,s,o)}else{if(!n)return;var r=e.model.validateRange(e.convertViewRangeToModelRange(n.selectionStart)),s=e.model.validatePosition(e.convertViewPositionToModelPosition(n.position.lineNumber,n.position.column));t=new Ur.f(r,n.selectionStartLeftoverVisibleColumns,s,n.leftoverVisibleColumns)}if(n){l=e.validateViewRange(n.selectionStart,t.selectionStart),c=e.validateViewPosition(n.position,t.position);n=new Ur.f(l,t.selectionStartLeftoverVisibleColumns,c,t.leftoverVisibleColumns)}else{var a=e.convertModelPositionToViewPosition(new H.a(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),u=e.convertModelPositionToViewPosition(new H.a(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),l=new z.a(a.lineNumber,a.column,u.lineNumber,u.column),c=e.convertModelPositionToViewPosition(t.position);n=new Ur.f(l,t.selectionStartLeftoverVisibleColumns,c,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=n,this._updateTrackedRange(e)},e}(),dl=function(){function e(e){this.context=e,this.primaryCursor=new cl(e),this.secondaryCursors=[],this.lastAddedCursorIndex=0}return e.prototype.dispose=function(){this.primaryCursor.dispose(this.context),this.killSecondaryCursors()},e.prototype.startTrackingSelections=function(){this.primaryCursor.startTrackingSelection(this.context);for(var e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].startTrackingSelection(this.context)},e.prototype.stopTrackingSelections=function(){this.primaryCursor.stopTrackingSelection(this.context);for(var e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].stopTrackingSelection(this.context)},e.prototype.updateContext=function(e){this.context=e},e.prototype.ensureValidState=function(){this.primaryCursor.ensureValidState(this.context);for(var e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].ensureValidState(this.context)},e.prototype.readSelectionFromMarkers=function(){var e=[];e[0]=this.primaryCursor.readSelectionFromMarkers(this.context);for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].readSelectionFromMarkers(this.context);return e},e.prototype.getAll=function(){var e=[];e[0]=this.primaryCursor.asCursorState();for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].asCursorState();return e},e.prototype.getViewPositions=function(){var e=[];e[0]=this.primaryCursor.viewState.position;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.position;return e},e.prototype.getSelections=function(){var e=[];e[0]=this.primaryCursor.modelState.selection;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].modelState.selection;return e},e.prototype.getViewSelections=function(){var e=[];e[0]=this.primaryCursor.viewState.selection;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.selection;return e},e.prototype.setSelections=function(e){this.setStates(Ur.d.fromModelSelections(e))},e.prototype.getPrimaryCursor=function(){return this.primaryCursor.asCursorState()},e.prototype.setStates=function(e){null!==e&&(this.primaryCursor.setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))},e.prototype._setSecondaryStates=function(e){var t=this.secondaryCursors.length,n=e.length;if(t<n)for(var i=n-t,o=0;o<i;o++)this._addSecondaryCursor();else if(t>n){var r=t-n;for(o=0;o<r;o++)this._removeSecondaryCursor(this.secondaryCursors.length-1)}for(o=0;o<n;o++)this.secondaryCursors[o].setState(this.context,e[o].modelState,e[o].viewState)},e.prototype.killSecondaryCursors=function(){this._setSecondaryStates([])},e.prototype._addSecondaryCursor=function(){this.secondaryCursors.push(new cl(this.context)),this.lastAddedCursorIndex=this.secondaryCursors.length},e.prototype.getLastAddedCursorIndex=function(){return 0===this.secondaryCursors.length||0===this.lastAddedCursorIndex?0:this.lastAddedCursorIndex},e.prototype._removeSecondaryCursor=function(e){this.lastAddedCursorIndex>=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)},e.prototype._getAll=function(){var e=[];e[0]=this.primaryCursor;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t];return e},e.prototype.normalize=function(){if(0!==this.secondaryCursors.length){for(var e=this._getAll(),t=[],n=0,i=e.length;n<i;n++)t.push({index:n,selection:e[n].modelState.selection});t.sort((function(e,t){return e.selection.startLineNumber===t.selection.startLineNumber?e.selection.startColumn-t.selection.startColumn:e.selection.startLineNumber-t.selection.startLineNumber}));for(var o=0;o<t.length-1;o++){var r=t[o],s=t[o+1],a=r.selection,u=s.selection;if(this.context.config.multiCursorMergeOverlapping){if(u.isEmpty()||a.isEmpty()?u.getStartPosition().isBeforeOrEqual(a.getEndPosition()):u.getStartPosition().isBefore(a.getEndPosition())){var l=r.index<s.index?o:o+1,c=r.index<s.index?o+1:o,d=t[c].index,h=t[l].index,f=t[c].selection,p=t[l].selection;if(!f.equalsSelection(p)){var g=f.plusRange(p),m=f.selectionStartLineNumber===f.startLineNumber&&f.selectionStartColumn===f.startColumn,v=p.selectionStartLineNumber===p.startLineNumber&&p.selectionStartColumn===p.startColumn,_=void 0;d===this.lastAddedCursorIndex?(_=m,this.lastAddedCursorIndex=h):_=v;var y=void 0;y=_?new U.a(g.startLineNumber,g.startColumn,g.endLineNumber,g.endColumn):new U.a(g.endLineNumber,g.endColumn,g.startLineNumber,g.startColumn),t[l].selection=y;var b=Ur.d.fromModelSelection(y);e[h].setState(this.context,b.modelState,b.viewState)}for(var C=0,w=t;C<w.length;C++){var S=w[C];S.index>d&&S.index--}e.splice(d,1),t.splice(c,1),this._removeSecondaryCursor(d-1),o--}}}}},e}(),hl=n("snIX"),fl=n("GR/f"),pl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();var gl=function(e,t,n,i,o,r){this.selections=e,this.modelVersionId=t,this.oldSelections=n,this.oldModelVersionId=i,this.source=o,this.reason=r},ml=function(){function e(e,t){this.modelVersionId=e.getVersionId(),this.cursorState=t.getAll()}return e.prototype.equals=function(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(var t=0,n=this.cursorState.length;t<n;t++)if(!this.cursorState[t].equals(e.cursorState[t]))return!1;return!0},e}(),vl=function(){function e(e,t,n){this._model=e,this._autoClosedCharactersDecorations=t,this._autoClosedEnclosingDecorations=n}return e.getAllAutoClosedCharacters=function(e){for(var t=[],n=0,i=e;n<i.length;n++){var o=i[n];t=t.concat(o.getAutoClosedCharactersRanges())}return t},e.prototype.dispose=function(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])},e.prototype.getAutoClosedCharactersRanges=function(){for(var e=[],t=0;t<this._autoClosedCharactersDecorations.length;t++){var n=this._model.getDecorationRange(this._autoClosedCharactersDecorations[t]);n&&e.push(n)}return e},e.prototype.isValid=function(e){for(var t=[],n=0;n<this._autoClosedEnclosingDecorations.length;n++){var i=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[n]);if(i&&(t.push(i),i.startLineNumber!==i.endLineNumber))return!1}t.sort(z.a.compareRangesUsingStarts),e.sort(z.a.compareRangesUsingStarts);for(n=0;n<e.length;n++){if(n>=t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0},e}(),_l=function(e){function t(t,n,i){var o=e.call(this)||this;o._onDidReachMaxCursorCount=o._register(new W.a),o.onDidReachMaxCursorCount=o._onDidReachMaxCursorCount.event,o._onDidAttemptReadOnlyEdit=o._register(new W.a),o.onDidAttemptReadOnlyEdit=o._onDidAttemptReadOnlyEdit.event,o._onDidChange=o._register(new W.a),o.onDidChange=o._onDidChange.event,o._configuration=t,o._model=n,o._knownModelVersionId=o._model.getVersionId(),o._viewModel=i,o.context=new Ur.c(o._configuration,o._model,o._viewModel),o._cursors=new dl(o.context),o._isHandling=!1,o._isDoingComposition=!1,o._selectionsWhenCompositionStarted=null,o._columnSelectData=null,o._autoClosedActions=[],o._prevEditOperationType=0,o._register(o._model.onDidChangeRawContent((function(e){if(o._knownModelVersionId=e.versionId,!o._isHandling){var t=e.containsEvent(1);o._onModelContentChanged(t)}}))),o._register(i.addEventListener((function(e){(function(e){for(var t=0,n=e.length;t<n;t++)if(8===e[t].type)return!0;return!1})(e)&&o._knownModelVersionId===o._model.getVersionId()&&o.setStates("viewModel",0,o.getAll())})));var r=function(){o.context=new Ur.c(o._configuration,o._model,o._viewModel),o._cursors.updateContext(o.context)};return o._register(o._model.onDidChangeLanguage((function(e){r()}))),o._register(o._model.onDidChangeLanguageConfiguration((function(){r()}))),o._register(o._model.onDidChangeOptions((function(){r()}))),o._register(o._configuration.onDidChange((function(e){Ur.b.shouldRecreate(e)&&r()}))),o}return pl(t,e),t.prototype.dispose=function(){this._cursors.dispose(),this._autoClosedActions=Object(le.e)(this._autoClosedActions),e.prototype.dispose.call(this)},t.prototype._validateAutoClosedActions=function(){if(this._autoClosedActions.length>0)for(var e=this._cursors.getSelections(),t=0;t<this._autoClosedActions.length;t++){var n=this._autoClosedActions[t];n.isValid(e)||(n.dispose(),this._autoClosedActions.splice(t,1),t--)}},t.prototype.getPrimaryCursor=function(){return this._cursors.getPrimaryCursor()},t.prototype.getLastAddedCursorIndex=function(){return this._cursors.getLastAddedCursorIndex()},t.prototype.getAll=function(){return this._cursors.getAll()},t.prototype.setStates=function(e,n,i){null!==i&&i.length>t.MAX_CURSOR_COUNT&&(i=i.slice(0,t.MAX_CURSOR_COUNT),this._onDidReachMaxCursorCount.fire(void 0));var o=new ml(this._model,this);this._cursors.setStates(i),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,n,o)},t.prototype.setColumnSelectData=function(e){this._columnSelectData=e},t.prototype.reveal=function(e,t,n,i){this._revealRange(e,n,0,t,i)},t.prototype.revealRange=function(e,t,n,i,o){this.emitCursorRevealRange(e,n,i,t,o)},t.prototype.scrollTo=function(e){this._viewModel.viewLayout.setScrollPositionSmooth({scrollTop:e})},t.prototype.saveState=function(){for(var e=[],t=this._cursors.getSelections(),n=0,i=t.length;n<i;n++){var o=t[n];e.push({inSelectionMode:!o.isEmpty(),selectionStart:{lineNumber:o.selectionStartLineNumber,column:o.selectionStartColumn},position:{lineNumber:o.positionLineNumber,column:o.positionColumn}})}return e},t.prototype.restoreState=function(e){for(var t=[],n=0,i=e.length;n<i;n++){var o=e[n],r=1,s=1;o.position&&o.position.lineNumber&&(r=o.position.lineNumber),o.position&&o.position.column&&(s=o.position.column);var a=r,u=s;o.selectionStart&&o.selectionStart.lineNumber&&(a=o.selectionStart.lineNumber),o.selectionStart&&o.selectionStart.column&&(u=o.selectionStart.column),t.push({selectionStartLineNumber:a,selectionStartColumn:u,positionLineNumber:r,positionColumn:s})}this.setStates("restoreState",0,Ur.d.fromModelSelections(t)),this.reveal("restoreState",!0,0,1)},t.prototype._onModelContentChanged=function(e){if(this._prevEditOperationType=0,e)this._cursors.dispose(),this._cursors=new dl(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary("model",1,null);else{var t=this._cursors.readSelectionFromMarkers();this.setStates("modelChange",2,Ur.d.fromModelSelections(t))}},t.prototype.getSelection=function(){return this._cursors.getPrimaryCursor().modelState.selection},t.prototype.getColumnSelectData=function(){if(this._columnSelectData)return this._columnSelectData;var e=this._cursors.getPrimaryCursor().viewState.selectionStart.getStartPosition(),t=e.lineNumber,n=Ur.a.visibleColumnFromColumn2(this.context.config,this.context.viewModel,e);return{isReal:!1,fromViewLineNumber:t,fromViewVisualColumn:n,toViewLineNumber:t,toViewVisualColumn:n}},t.prototype.getSelections=function(){return this._cursors.getSelections()},t.prototype.getViewSelections=function(){return this._cursors.getViewSelections()},t.prototype.getPosition=function(){return this._cursors.getPrimaryCursor().modelState.position},t.prototype.setSelections=function(e,t){this.setStates(e,0,Ur.d.fromModelSelections(t))},t.prototype.getPrevEditOperationType=function(){return this._prevEditOperationType},t.prototype.setPrevEditOperationType=function(e){this._prevEditOperationType=e},t.prototype._pushAutoClosedAction=function(e,t){for(var n=[],i=[],o=0,r=e.length;o<r;o++)n.push({range:e[o],options:{inlineClassName:"auto-closed-character",stickiness:1}}),i.push({range:t[o],options:{stickiness:1}});var s=this._model.deltaDecorations([],n),a=this._model.deltaDecorations([],i);this._autoClosedActions.push(new vl(this._model,s,a))},t.prototype._executeEditOperation=function(e){if(e){e.shouldPushStackElementBefore&&this._model.pushStackElement();var t=yl.executeCommands(this._model,this._cursors.getSelections(),e.commands);if(t){this._interpretCommandResult(t);for(var n=[],i=[],o=0;o<e.commands.length;o++){var r=e.commands[o];r instanceof fl.b&&r.enclosingRange&&r.closeCharacterRange&&(n.push(r.closeCharacterRange),i.push(r.enclosingRange))}n.length>0&&this._pushAutoClosedAction(n,i),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}},t.prototype._interpretCommandResult=function(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()},t.prototype._emitStateChangedIfNecessary=function(e,t,n){var i=new ml(this._model,this);if(i.equals(n))return!1;var o=this._cursors.getSelections(),r=this._cursors.getViewSelections();try{this._beginEmit().emit(new na(r,o))}finally{this._endEmit()}if(!n||n.cursorState.length!==i.cursorState.length||i.cursorState.some((function(e,t){return!e.modelState.equals(n.cursorState[t].modelState)}))){var s=n?n.cursorState.map((function(e){return e.modelState.selection})):null,a=n?n.modelVersionId:0;this._onDidChange.fire(new gl(o,i.modelVersionId,s,a,e||"keyboard",t))}return!0},t.prototype._revealRange=function(e,t,n,i,o){var r=this._cursors.getViewPositions(),s=r[0];if(1===t)for(var a=1;a<r.length;a++)r[a].isBefore(s)&&(s=r[a]);else if(2===t)for(a=1;a<r.length;a++)s.isBeforeOrEqual(r[a])&&(s=r[a]);else if(r.length>1)return;var u=new z.a(s.lineNumber,s.column,s.lineNumber,s.column);this.emitCursorRevealRange(e,u,n,i,o)},t.prototype.emitCursorRevealRange=function(e,t,n,i,o){try{this._beginEmit().emit(new da(e,t,n,i,o))}finally{this._endEmit()}},t.prototype._findAutoClosingPairs=function(e){if(!e.length)return null;for(var t=[],n=0,i=e.length;n<i;n++){var o=e[n];if(!o.text||o.text.indexOf("\n")>=0)return null;var r=o.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!r)return null;var s=r[1],a=this.context.config.autoClosingPairsClose2.get(s);if(!a||1!==a.length)return null;var u=a[0].open,l=o.text.length-r[2].length-1,c=o.text.lastIndexOf(u,l-1);if(-1===c)return null;t.push([c,l])}return t},t.prototype.executeEdits=function(e,t,n){var i=this,o=null;"snippet"===e&&(o=this._findAutoClosingPairs(t)),o&&(t[0]._isTracked=!0);var r=[],s=[],a=this._model.pushEditOperations(this.getSelections(),t,(function(e){if(o)for(var t=0,a=o.length;t<a;t++){var u=o[t],l=u[0],c=u[1],d=e[t],h=d.range.startLineNumber,f=d.range.startColumn-1+l,p=d.range.startColumn-1+c;r.push(new z.a(h,p+1,h,p+2)),s.push(new z.a(h,f+1,h,p+2))}var g=n(e);return g&&(i._isHandling=!0),g}));a&&(this._isHandling=!1,this.setSelections(e,a)),r.length>0&&this._pushAutoClosedAction(r,s)},t.prototype.trigger=function(e,t,n){var i=Te.b;if(t===i.CompositionStart)return this._isDoingComposition=!0,void(this._selectionsWhenCompositionStarted=this.getSelections().slice(0));if(t===i.CompositionEnd&&(this._isDoingComposition=!1),this._configuration.options.get(68))this._onDidAttemptReadOnlyEdit.fire(void 0);else{var o=new ml(this._model,this),r=0;t!==i.Undo&&t!==i.Redo&&this._cursors.stopTrackingSelections(),this._cursors.ensureValidState(),this._isHandling=!0;try{switch(t){case i.Type:this._type(e,n.text);break;case i.ReplacePreviousChar:this._replacePreviousChar(n.text,n.replaceCharCnt);break;case i.Paste:r=4,this._paste(n.text,n.pasteOnNewLine,n.multicursorText||[]);break;case i.Cut:this._cut();break;case i.Undo:r=5,this._interpretCommandResult(this._model.undo());break;case i.Redo:r=6,this._interpretCommandResult(this._model.redo());break;case i.ExecuteCommand:this._externalExecuteCommand(n);break;case i.ExecuteCommands:this._externalExecuteCommands(n);break;case i.CompositionEnd:this._interpretCompositionEnd(e)}}catch(e){Object(Be.e)(e)}this._isHandling=!1,t!==i.Undo&&t!==i.Redo&&this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,r,o)&&this._revealRange(e,0,0,!0,0)}},t.prototype._interpretCompositionEnd=function(e){if(!this._isDoingComposition&&"keyboard"===e){var t=vl.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(fl.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this._selectionsWhenCompositionStarted,this.getSelections(),t)),this._selectionsWhenCompositionStarted=null}},t.prototype._type=function(e,t){if(this._isDoingComposition||"keyboard"!==e)this._executeEditOperation(fl.a.typeWithoutInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),t));else for(var n=t.length,i=0;i<n;){var o=ne.C(t,i),r=t.substr(i,o),s=vl.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(fl.a.typeWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),s,r)),i+=o}},t.prototype._replacePreviousChar=function(e,t){this._executeEditOperation(fl.a.replacePreviousChar(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),e,t))},t.prototype._paste=function(e,t,n){this._executeEditOperation(fl.a.paste(this.context.config,this.context.model,this.getSelections(),e,t,n))},t.prototype._cut=function(){this._executeEditOperation(hl.a.cut(this.context.config,this.context.model,this.getSelections()))},t.prototype._externalExecuteCommand=function(e){this._cursors.killSecondaryCursors(),this._executeEditOperation(new Ur.e(0,[e],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},t.prototype._externalExecuteCommands=function(e){this._executeEditOperation(new Ur.e(0,e,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},t.MAX_CURSOR_COUNT=1e4,t}(va),yl=function(){function e(){}return e.executeCommands=function(e,t,n){for(var i={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},o=this._innerExecuteCommands(i,n),r=0,s=i.trackedRanges.length;r<s;r++)i.model._setTrackedRange(i.trackedRanges[r],null,0);return o},e._innerExecuteCommands=function(e,t){if(this._arrayIsEmpty(t))return null;var n=this._getEditOperations(e,t);if(0===n.operations.length)return null;var i=n.operations,o=this._getLoserCursorMap(i);if(o.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;for(var r=[],s=0,a=i.length;s<a;s++)o.hasOwnProperty(i[s].identifier.major.toString())||r.push(i[s]);n.hadTrackedEditOperation&&r.length>0&&(r[0]._isTracked=!0);var u=e.model.pushEditOperations(e.selectionsBefore,r,(function(n){for(var i=[],o=0;o<e.selectionsBefore.length;o++)i[o]=[];for(var r=0,s=n;r<s.length;r++){var a=s[r];a.identifier&&i[a.identifier.major].push(a)}var u=function(e,t){return e.identifier.minor-t.identifier.minor},l=[],c=function(n){i[n].length>0?(i[n].sort(u),l[n]=t[n].computeCursorState(e.model,{getInverseEditOperations:function(){return i[n]},getTrackedSelection:function(t){var n=parseInt(t,10),i=e.model._getTrackedRange(e.trackedRanges[n]);return 0===e.trackedRangesDirection[n]?new U.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new U.a(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):l[n]=e.selectionsBefore[n]};for(o=0;o<e.selectionsBefore.length;o++)c(o);return l}));u||(u=e.selectionsBefore);var l=[];for(var c in o)o.hasOwnProperty(c)&&l.push(parseInt(c,10));l.sort((function(e,t){return t-e}));for(var d=0,h=l;d<h.length;d++){var f=h[d];u.splice(f,1)}return u},e._arrayIsEmpty=function(e){for(var t=0,n=e.length;t<n;t++)if(e[t])return!1;return!0},e._getEditOperations=function(e,t){for(var n=[],i=!1,o=0,r=t.length;o<r;o++){var s=t[o];if(s){var a=this._getEditOperationsFromCommand(e,o,s);n=n.concat(a.operations),i=i||a.hadTrackedEditOperation}}return{operations:n,hadTrackedEditOperation:i}},e._getEditOperationsFromCommand=function(e,t,n){var i=[],o=0,r=function(e,r,s){void 0===s&&(s=!1),e.isEmpty()&&""===r||i.push({identifier:{major:t,minor:o++},range:e,text:r,forceMoveMarkers:s,isAutoWhitespaceEdit:n.insertsAutoWhitespace})},s=!1,a={addEditOperation:r,addTrackedEditOperation:function(e,t,n){s=!0,r(e,t,n)},trackSelection:function(t,n){var i;if(t.isEmpty())if("boolean"==typeof n)i=n?2:3;else{var o=e.model.getLineMaxColumn(t.startLineNumber);i=t.startColumn===o?2:3}else i=1;var r=e.trackedRanges.length,s=e.model._setTrackedRange(null,t,i);return e.trackedRanges[r]=s,e.trackedRangesDirection[r]=t.getDirection(),r.toString()}};try{n.getEditOperations(e.model,a)}catch(e){return Object(Be.e)(e),{operations:[],hadTrackedEditOperation:!1}}return{operations:i,hadTrackedEditOperation:s}},e._getLoserCursorMap=function(e){(e=e.slice(0)).sort((function(e,t){return-z.a.compareRangesUsingEnds(e.range,t.range)}));for(var t={},n=1;n<e.length;n++){var i=e[n-1],o=e[n];if(i.range.getStartPosition().isBefore(o.range.getEndPosition())){var r=void 0;t[(r=i.identifier.major>o.identifier.major?i.identifier.major:o.identifier.major).toString()]=!0;for(var s=0;s<e.length;s++)e[s].identifier.major===r&&(e.splice(s,1),s<n&&n--,s--);n>0&&n--}}return t},e}(),bl=function(){function e(e,t,n,i,o,r){this.id=e,this.label=t,this.alias=n,this._precondition=i,this._run=o,this._contextKeyService=r}return e.prototype.isSupported=function(){return this._contextKeyService.contextMatchesRules(this._precondition)},e.prototype.run=function(){if(!this.isSupported())return Promise.resolve(void 0);var e=this._run();return e||Promise.resolve(void 0)},e}(),Cl=n("wQH0");function wl(e,t,n,i,o,r,s){for(var a="<div>",u=i,l=0,c=0,d=t.getCount();c<d;c++){var h=t.getEndOffset(c);if(!(h<=i)){for(var f="";u<h&&u<o;u++){var p=e.charCodeAt(u);switch(p){case 9:var g=r-(u+l)%r;for(l+=g-1;g>0;)f+=s?" ":" ",g--;break;case 60:f+="<";break;case 62:f+=">";break;case 38:f+="&";break;case 0:f+="�";break;case 65279:case 8232:f+="�";break;case 13:f+="​";break;case 32:f+=s?" ":" ";break;default:f+=String.fromCharCode(p)}}if(a+='<span style="'+t.getInlineStyle(c,n)+'">'+f+"</span>",h>o||u>=o)break}}return a+="</div>"}var Sl=n("QuOb"),Ll=function(){function e(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}return e.prototype.insert=function(e){this._hasPending=!0,this._inserts.push(e)},e.prototype.change=function(e){this._hasPending=!0,this._changes.push(e)},e.prototype.remove=function(e){this._hasPending=!0,this._removes.push(e)},e.prototype.mustCommit=function(){return this._hasPending},e.prototype.commit=function(e){if(this._hasPending){var t=this._inserts,n=this._changes,i=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],e._commitPendingChanges(t,n,i)}},e}(),Nl=function(e,t,n,i,o){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=i,this.minWidth=o,this.prefixSum=0},Ol=function(){function e(t,n){this._instanceId=ne.G(++e.INSTANCE_COUNT),this._pendingChanges=new Ll,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=t,this._lineHeight=n}return e.findInsertionIndex=function(e,t,n){for(var i=0,o=e.length;i<o;){var r=i+o>>>1;t===e[r].afterLineNumber?n<e[r].ordinal?o=r:i=r+1:t<e[r].afterLineNumber?o=r:i=r+1}return i},e.prototype.setLineHeight=function(e){this._checkPendingChanges(),this._lineHeight=e},e.prototype.onFlushed=function(e){this._checkPendingChanges(),this._lineCount=e},e.prototype.changeWhitespace=function(e){var t=this;try{return e({insertWhitespace:function(e,n,i,o){e|=0,n|=0,i|=0,o|=0;var r=t._instanceId+ ++t._lastWhitespaceId;return t._pendingChanges.insert(new Nl(r,e,n,i,o)),r},changeOneWhitespace:function(e,n,i){n|=0,i|=0,t._pendingChanges.change({id:e,newAfterLineNumber:n,newHeight:i})},removeWhitespace:function(e){t._pendingChanges.remove({id:e})}})}finally{this._pendingChanges.commit(this)}},e.prototype._commitPendingChanges=function(e,t,n){if((e.length>0||n.length>0)&&(this._minWidth=-1),e.length+t.length+n.length<=1){for(var i=0,o=e;i<o.length;i++){var r=o[i];this._insertWhitespace(r)}for(var s=0,a=t;s<a.length;s++){var u=a[s];this._changeOneWhitespace(u.id,u.newAfterLineNumber,u.newHeight)}for(var l=0,c=n;l<c.length;l++){var d=c[l],h=this._findWhitespaceIndex(d.id);-1!==h&&this._removeWhitespace(h)}}else{for(var f=new Set,p=0,g=n;p<g.length;p++){d=g[p];f.add(d.id)}for(var m=new Map,v=0,_=t;v<_.length;v++){u=_[v];m.set(u.id,u)}var y=function(e){for(var t=[],n=0,i=e;n<i.length;n++){var o=i[n];if(!f.has(o.id)){if(m.has(o.id)){var r=m.get(o.id);o.afterLineNumber=r.newAfterLineNumber,o.height=r.newHeight}t.push(o)}}return t},b=y(this._arr).concat(y(e));b.sort((function(e,t){return e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber})),this._arr=b,this._prefixSumValidIndex=-1}},e.prototype._checkPendingChanges=function(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)},e.prototype._insertWhitespace=function(t){var n=e.findInsertionIndex(this._arr,t.afterLineNumber,t.ordinal);this._arr.splice(n,0,t),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,n-1)},e.prototype._findWhitespaceIndex=function(e){for(var t=this._arr,n=0,i=t.length;n<i;n++)if(t[n].id===e)return n;return-1},e.prototype._changeOneWhitespace=function(e,t,n){var i=this._findWhitespaceIndex(e);if(-1!==i&&(this._arr[i].height!==n&&(this._arr[i].height=n,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,i-1)),this._arr[i].afterLineNumber!==t)){var o=this._arr[i];this._removeWhitespace(i),o.afterLineNumber=t,this._insertWhitespace(o)}},e.prototype._removeWhitespace=function(e){this._arr.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1)},e.prototype.onLinesDeleted=function(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount-=t-e+1;for(var n=0,i=this._arr.length;n<i;n++){var o=this._arr[n].afterLineNumber;e<=o&&o<=t?this._arr[n].afterLineNumber=e-1:o>t&&(this._arr[n].afterLineNumber-=t-e+1)}},e.prototype.onLinesInserted=function(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(var n=0,i=this._arr.length;n<i;n++){e<=this._arr[n].afterLineNumber&&(this._arr[n].afterLineNumber+=t-e+1)}},e.prototype.getWhitespacesTotalHeight=function(){return this._checkPendingChanges(),0===this._arr.length?0:this.getWhitespacesAccumulatedHeight(this._arr.length-1)},e.prototype.getWhitespacesAccumulatedHeight=function(e){this._checkPendingChanges(),e|=0;var t=Math.max(0,this._prefixSumValidIndex+1);0===t&&(this._arr[0].prefixSum=this._arr[0].height,t++);for(var n=t;n<=e;n++)this._arr[n].prefixSum=this._arr[n-1].prefixSum+this._arr[n].height;return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,e),this._arr[e].prefixSum},e.prototype.getLinesTotalHeight=function(){return this._checkPendingChanges(),this._lineHeight*this._lineCount+this.getWhitespacesTotalHeight()},e.prototype.getWhitespaceAccumulatedHeightBeforeLineNumber=function(e){this._checkPendingChanges(),e|=0;var t=this._findLastWhitespaceBeforeLineNumber(e);return-1===t?0:this.getWhitespacesAccumulatedHeight(t)},e.prototype._findLastWhitespaceBeforeLineNumber=function(e){e|=0;for(var t=this._arr,n=0,i=t.length-1;n<=i;){var o=n+((i-n|0)/2|0)|0;if(t[o].afterLineNumber<e){if(o+1>=t.length||t[o+1].afterLineNumber>=e)return o;n=o+1|0}else i=o-1|0}return-1},e.prototype._findFirstWhitespaceAfterLineNumber=function(e){e|=0;var t=this._findLastWhitespaceBeforeLineNumber(e)+1;return t<this._arr.length?t:-1},e.prototype.getFirstWhitespaceIndexAfterLineNumber=function(e){return this._checkPendingChanges(),e|=0,this._findFirstWhitespaceAfterLineNumber(e)},e.prototype.getVerticalOffsetForLineNumber=function(e){return this._checkPendingChanges(),((e|=0)>1?this._lineHeight*(e-1):0)+this.getWhitespaceAccumulatedHeightBeforeLineNumber(e)},e.prototype.getWhitespaceMinWidth=function(){if(this._checkPendingChanges(),-1===this._minWidth){for(var e=0,t=0,n=this._arr.length;t<n;t++)e=Math.max(e,this._arr[t].minWidth);this._minWidth=e}return this._minWidth},e.prototype.isAfterLines=function(e){return this._checkPendingChanges(),e>this.getLinesTotalHeight()},e.prototype.getLineNumberAtOrAfterVerticalOffset=function(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;for(var t=0|this._lineCount,n=this._lineHeight,i=1,o=t;i<o;){var r=(i+o)/2|0,s=0|this.getVerticalOffsetForLineNumber(r);if(e>=s+n)i=r+1;else{if(e>=s)return r;o=r}}return i>t?t:i},e.prototype.getLinesViewportData=function(e,t){this._checkPendingChanges(),e|=0,t|=0;var n,i,o=this._lineHeight,r=0|this.getLineNumberAtOrAfterVerticalOffset(e),s=0|this.getVerticalOffsetForLineNumber(r),a=0|this._lineCount,u=0|this.getFirstWhitespaceIndexAfterLineNumber(r),l=0|this.getWhitespacesCount();-1===u?(u=l,i=a+1,n=0):(i=0|this.getAfterLineNumberForWhitespaceIndex(u),n=0|this.getHeightForWhitespaceIndex(u));var c=s,d=c,h=0;s>=5e5&&(h=5e5*Math.floor(s/5e5),d-=h=Math.floor(h/o)*o);for(var f=[],p=e+(t-e)/2,g=-1,m=r;m<=a;m++){if(-1===g){(c<=p&&p<c+o||c>p)&&(g=m)}for(c+=o,f[m-r]=d,d+=o;i===m;)d+=n,c+=n,++u>=l?i=a+1:(i=0|this.getAfterLineNumberForWhitespaceIndex(u),n=0|this.getHeightForWhitespaceIndex(u));if(c>=t){a=m;break}}-1===g&&(g=a);var v=0|this.getVerticalOffsetForLineNumber(a),_=r,y=a;return _<y&&s<e&&_++,_<y&&v+o>t&&y--,{bigNumbersDelta:h,startLineNumber:r,endLineNumber:a,relativeVerticalOffset:f,centeredLineNumber:g,completelyVisibleStartLineNumber:_,completelyVisibleEndLineNumber:y}},e.prototype.getVerticalOffsetForWhitespaceIndex=function(e){this._checkPendingChanges(),e|=0;var t=this.getAfterLineNumberForWhitespaceIndex(e);return(t>=1?this._lineHeight*t:0)+(e>0?this.getWhitespacesAccumulatedHeight(e-1):0)},e.prototype.getWhitespaceIndexAtOrAfterVerticallOffset=function(e){this._checkPendingChanges(),e|=0;var t=0,n=this.getWhitespacesCount()-1;if(n<0)return-1;if(e>=this.getVerticalOffsetForWhitespaceIndex(n)+this.getHeightForWhitespaceIndex(n))return-1;for(;t<n;){var i=Math.floor((t+n)/2),o=this.getVerticalOffsetForWhitespaceIndex(i);if(e>=o+this.getHeightForWhitespaceIndex(i))t=i+1;else{if(e>=o)return i;n=i}}return t},e.prototype.getWhitespaceAtVerticalOffset=function(e){this._checkPendingChanges(),e|=0;var t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this.getWhitespacesCount())return null;var n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;var i=this.getHeightForWhitespaceIndex(t);return{id:this.getIdForWhitespaceIndex(t),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(t),verticalOffset:n,height:i}},e.prototype.getWhitespaceViewportData=function(e,t){this._checkPendingChanges(),e|=0,t|=0;var n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),i=this.getWhitespacesCount()-1;if(n<0)return[];for(var o=[],r=n;r<=i;r++){var s=this.getVerticalOffsetForWhitespaceIndex(r),a=this.getHeightForWhitespaceIndex(r);if(s>=t)break;o.push({id:this.getIdForWhitespaceIndex(r),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(r),verticalOffset:s,height:a})}return o},e.prototype.getWhitespaces=function(){return this._checkPendingChanges(),this._arr.slice(0)},e.prototype.getWhitespacesCount=function(){return this._checkPendingChanges(),this._arr.length},e.prototype.getIdForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].id},e.prototype.getAfterLineNumberForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber},e.prototype.getHeightForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].height},e.INSTANCE_COUNT=0,e}(),Dl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),xl=function(){function e(e,t,n,i){(e|=0)<0&&(e=0),(t|=0)<0&&(t=0),(n|=0)<0&&(n=0),(i|=0)<0&&(i=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=n,this.contentHeight=i,this.scrollHeight=Math.max(n,i)}return e.prototype.equals=function(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight},e}(),El=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidContentSizeChange=i._register(new W.a),i.onDidContentSizeChange=i._onDidContentSizeChange.event,i._dimensions=new xl(0,0,0,0),i._scrollable=i._register(new Sl.a(t,n)),i.onDidScroll=i._scrollable.onScroll,i}return Dl(t,e),t.prototype.getScrollable=function(){return this._scrollable},t.prototype.setSmoothScrollDuration=function(e){this._scrollable.setSmoothScrollDuration(e)},t.prototype.validateScrollPosition=function(e){return this._scrollable.validateScrollPosition(e)},t.prototype.getScrollDimensions=function(){return this._dimensions},t.prototype.setScrollDimensions=function(e){if(!this._dimensions.equals(e)){var t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight});var n=t.contentWidth!==e.contentWidth,i=t.contentHeight!==e.contentHeight;(n||i)&&this._onDidContentSizeChange.fire({contentWidth:e.contentWidth,contentHeight:e.contentHeight,contentWidthChanged:n,contentHeightChanged:i})}},t.prototype.getFutureScrollPosition=function(){return this._scrollable.getFutureScrollPosition()},t.prototype.getCurrentScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t.prototype.setScrollPositionNow=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.setScrollPositionSmooth=function(e){this._scrollable.setScrollPositionSmooth(e)},t}(le.a),kl=function(e){function t(t,n,i){var o=e.call(this)||this;o._configuration=t;var r=o._configuration.options,s=r.get(107);return o._linesLayout=new Ol(n,r.get(49)),o._scrollable=o._register(new El(0,i)),o._configureSmoothScrollDuration(),o._scrollable.setScrollDimensions(new xl(s.contentWidth,0,s.height,0)),o.onDidScroll=o._scrollable.onDidScroll,o.onDidContentSizeChange=o._scrollable.onDidContentSizeChange,o._updateHeight(),o}return Dl(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getScrollable=function(){return this._scrollable.getScrollable()},t.prototype.onHeightMaybeChanged=function(){this._updateHeight()},t.prototype._configureSmoothScrollDuration=function(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(87)?125:0)},t.prototype.onConfigurationChanged=function(e){var t=this._configuration.options;if(e.hasChanged(49)&&this._linesLayout.setLineHeight(t.get(49)),e.hasChanged(107)){var n=t.get(107),i=n.contentWidth,o=n.height,r=this._scrollable.getScrollDimensions(),s=r.scrollWidth;this._scrollable.setScrollDimensions(new xl(i,r.contentWidth,o,this._getContentHeight(i,o,s)))}else this._updateHeight();e.hasChanged(87)&&this._configureSmoothScrollDuration()},t.prototype.onFlushed=function(e){this._linesLayout.onFlushed(e)},t.prototype.onLinesDeleted=function(e,t){this._linesLayout.onLinesDeleted(e,t)},t.prototype.onLinesInserted=function(e,t){this._linesLayout.onLinesInserted(e,t)},t.prototype._getHorizontalScrollbarHeight=function(e,t){var n=this._configuration.options.get(78);return 2===n.horizontal||e>=t?0:n.horizontalScrollbarSize},t.prototype._getContentHeight=function(e,t,n){var i=this._configuration.options,o=this._linesLayout.getLinesTotalHeight();return i.get(80)?o+=t-i.get(49):o+=this._getHorizontalScrollbarHeight(e,n),o},t.prototype._updateHeight=function(){var e=this._scrollable.getScrollDimensions(),t=e.width,n=e.height,i=e.scrollWidth;this._scrollable.setScrollDimensions(new xl(t,e.contentWidth,n,this._getContentHeight(t,n,i)))},t.prototype.getCurrentViewport=function(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new bn(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype.getFutureViewport=function(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new bn(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype._computeContentWidth=function(e){var t=this._configuration.options,n=t.get(108),i=t.get(34);if(n.isViewportWrapping){var o=t.get(107),r=t.get(54);return e>o.contentWidth+i.typicalHalfwidthCharacterWidth&&r.enabled&&"right"===r.side?e+o.verticalScrollbarWidth:e}var s=t.get(79)*i.typicalHalfwidthCharacterWidth,a=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+s,a)},t.prototype.onMaxLineWidthChanged=function(e){var t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new xl(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()},t.prototype.saveState=function(){var e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t);return{scrollTop:t,scrollTopWithoutViewZones:t-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n),scrollLeft:e.scrollLeft}},t.prototype.changeWhitespace=function(e){return this._linesLayout.changeWhitespace(e)},t.prototype.getVerticalOffsetForLineNumber=function(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)},t.prototype.isAfterLines=function(e){return this._linesLayout.isAfterLines(e)},t.prototype.getLineNumberAtVerticalOffset=function(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)},t.prototype.getWhitespaceAtVerticalOffset=function(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)},t.prototype.getLinesViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)},t.prototype.getLinesViewportDataAtScrollTop=function(e){var t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)},t.prototype.getWhitespaceViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)},t.prototype.getWhitespaces=function(){return this._linesLayout.getWhitespaces()},t.prototype.getContentWidth=function(){return this._scrollable.getScrollDimensions().contentWidth},t.prototype.getScrollWidth=function(){return this._scrollable.getScrollDimensions().scrollWidth},t.prototype.getContentHeight=function(){return this._scrollable.getScrollDimensions().contentHeight},t.prototype.getScrollHeight=function(){return this._scrollable.getScrollDimensions().scrollHeight},t.prototype.getCurrentScrollLeft=function(){return this._scrollable.getCurrentScrollPosition().scrollLeft},t.prototype.getCurrentScrollTop=function(){return this._scrollable.getCurrentScrollPosition().scrollTop},t.prototype.validateScrollPosition=function(e){return this._scrollable.validateScrollPosition(e)},t.prototype.setScrollPositionNow=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.setScrollPositionSmooth=function(e){this._scrollable.setScrollPositionSmooth(e)},t.prototype.deltaScrollNow=function(e,t){var n=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})},t}(le.a),Il=n("tX9W"),Ml=function(e,t){this.outputLineIndex=e,this.outputOffset=t},Tl=function(){function e(e,t,n){this.breakOffsets=e,this.breakOffsetsVisibleColumn=t,this.wrappedTextIndentLength=n}return e.getInputOffsetOfOutputPosition=function(e,t,n){return 0===t?n:e[t-1]+n},e.getOutputPositionOfInputOffset=function(e,t){for(var n=0,i=e.length-1,o=0,r=0;n<=i;){var s=e[o=n+(i-n)/2|0];if(t<(r=o>0?e[o-1]:0))i=o-1;else{if(!(t>=s))break;n=o+1}}return new Ml(o,t-r)},e}(),Al=function(){function e(e){this._lines=e}return e.prototype.convertViewPositionToModelPosition=function(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)},e.prototype.convertViewRangeToModelRange=function(e){return this._lines.convertViewRangeToModelRange(e)},e.prototype.validateViewPosition=function(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)},e.prototype.validateViewRange=function(e,t){return this._lines.validateViewRange(e,t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)},e.prototype.convertModelRangeToViewRange=function(e){return this._lines.convertModelRangeToViewRange(e)},e.prototype.modelPositionIsVisible=function(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)},e}(),Rl=function(){function e(e){this._counts=e,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}return e.prototype._invalidate=function(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)},e.prototype._ensureValid=function(){if(!this._isValid){for(var e=this._validEndIndex+1,t=this._counts.length;e<t;e++){var n=this._counts[e],i=e>0?this._modelToView[e-1]:0;this._modelToView[e]=i+n;for(var o=0;o<n;o++)this._viewToModel[i+o]=e}this._modelToView.length=this._counts.length,this._viewToModel.length=this._modelToView[this._modelToView.length-1],this._isValid=!0,this._validEndIndex=this._counts.length-1}},e.prototype.changeValue=function(e,t){this._counts[e]!==t&&(this._counts[e]=t,this._invalidate(e))},e.prototype.removeValues=function(e,t){this._counts.splice(e,t),this._invalidate(e)},e.prototype.insertValues=function(e,t){this._counts=Xe.a(this._counts,e,t),this._invalidate(e)},e.prototype.getTotalValue=function(){return this._ensureValid(),this._viewToModel.length},e.prototype.getAccumulatedValue=function(e){return this._ensureValid(),this._modelToView[e]},e.prototype.getIndexOf=function(e){this._ensureValid();var t=this._viewToModel[e],n=t>0?this._modelToView[t-1]:0;return new vt(t,e-n)},e}(),Pl=function(){function e(e,t,n,i,o,r,s,a){this.model=e,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=t,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=i,this.tabSize=o,this.wrappingStrategy=r,this.wrappingColumn=s,this.wrappingIndent=a,this._constructLines(!0,null)}return e.prototype.dispose=function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])},e.prototype.createCoordinatesConverter=function(){return new Al(this)},e.prototype._constructLines=function(e,t){var n=this;this.lines=[],e&&(this.hiddenAreasIds=[]);for(var i=this.model.getLinesContent(),o=i.length,r=this.createLineBreaksComputer(),s=0;s<o;s++)r.addRequest(i[s],t?t[s]:null);var a=r.finalize(),u=[],l=this.hiddenAreasIds.map((function(e){return n.model.getDecorationRange(e)})).sort(z.a.compareRangesUsingStarts),c=1,d=0,h=-1,f=h+1<l.length?d+1:o+2;for(s=0;s<o;s++){var p=s+1;p===f&&(c=l[++h].startLineNumber,d=l[h].endLineNumber,f=h+1<l.length?d+1:o+2);var g=p>=c&&p<=d,m=zl(a[s],!g);u[s]=m.getViewLineCount(),this.lines[s]=m}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new Rl(u)},e.prototype.getHiddenAreas=function(){var e=this;return this.hiddenAreasIds.map((function(t){return e.model.getDecorationRange(t)}))},e.prototype._reduceRanges=function(e){var t=this;if(0===e.length)return[];for(var n=e.map((function(e){return t.model.validateRange(e)})).sort(z.a.compareRangesUsingStarts),i=[],o=n[0].startLineNumber,r=n[0].endLineNumber,s=1,a=n.length;s<a;s++){var u=n[s];u.startLineNumber>r+1?(i.push(new z.a(o,1,r,1)),o=u.startLineNumber,r=u.endLineNumber):u.endLineNumber>r&&(r=u.endLineNumber)}return i.push(new z.a(o,1,r,1)),i},e.prototype.setHiddenAreas=function(e){var t=this,n=this._reduceRanges(e),i=this.hiddenAreasIds.map((function(e){return t.model.getDecorationRange(e)})).sort(z.a.compareRangesUsingStarts);if(n.length===i.length){for(var o=!1,r=0;r<n.length;r++)if(!n[r].equalsRange(i[r])){o=!0;break}if(!o)return!1}for(var s=[],a=0,u=n;a<u.length;a++){var l=u[a];s.push({range:l,options:Il.a.EMPTY})}this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,s);var c=n,d=1,h=0,f=-1,p=f+1<c.length?h+1:this.lines.length+2,g=!1;for(r=0;r<this.lines.length;r++){var m=r+1;m===p&&(d=c[++f].startLineNumber,h=c[f].endLineNumber,p=f+1<c.length?h+1:this.lines.length+2);var v=!1;if(m>=d&&m<=h?this.lines[r].isVisible()&&(this.lines[r]=this.lines[r].setVisible(!1),v=!0):(g=!0,this.lines[r].isVisible()||(this.lines[r]=this.lines[r].setVisible(!0),v=!0)),v){var _=this.lines[r].getViewLineCount();this.prefixSumComputer.changeValue(r,_)}}return g||this.setHiddenAreas([]),!0},e.prototype.modelPositionIsVisible=function(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()},e.prototype.setTabSize=function(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)},e.prototype.setWrappingSettings=function(e,t,n,i){var o=this.fontInfo.equals(e),r=this.wrappingStrategy===t,s=this.wrappingColumn===n,a=this.wrappingIndent===i;if(o&&r&&s&&a)return!1;var u=o&&r&&!s&&a;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=n,this.wrappingIndent=i;var l=null;if(u){l=[];for(var c=0,d=this.lines.length;c<d;c++)l[c]=this.lines[c].getLineBreakData()}return this._constructLines(!1,l),!0},e.prototype.createLineBreaksComputer=function(){return("advanced"===this.wrappingStrategy?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory).createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent)},e.prototype.onModelFlushed=function(){this._constructLines(!0,null)},e.prototype.onModelLinesDeleted=function(e,t,n){if(e<=this._validModelVersionId)return null;var i=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,o=this.prefixSumComputer.getAccumulatedValue(n-1);return this.lines.splice(t-1,n-t+1),this.prefixSumComputer.removeValues(t-1,n-t+1),new la(i,o)},e.prototype.onModelLinesInserted=function(e,t,n,i){if(e<=this._validModelVersionId)return null;for(var o=this.getHiddenAreas(),r=!1,s=new H.a(t,1),a=0,u=o;a<u.length;a++){if(u[a].containsPosition(s)){r=!0;break}}for(var l=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=0,d=[],h=[],f=0,p=i.length;f<p;f++){var g=zl(i[f],!r);d.push(g);var m=g.getViewLineCount();c+=m,h[f]=m}return this.lines=this.lines.slice(0,t-1).concat(d).concat(this.lines.slice(t-1)),this.prefixSumComputer.insertValues(t-1,h),new ca(l,l+c-1)},e.prototype.onModelLineChanged=function(e,t,n){if(e<=this._validModelVersionId)return[!1,null,null,null];var i=t-1,o=this.lines[i].getViewLineCount(),r=zl(n,this.lines[i].isVisible());this.lines[i]=r;var s=this.lines[i].getViewLineCount(),a=!1,u=0,l=-1,c=0,d=-1,h=0,f=-1;return o>s?(f=(h=(l=(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+s-1)+1)+(o-s)-1,a=!0):o<s?(d=(c=(l=(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+o-1)+1)+(s-o)-1,a=!0):l=(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+s-1,this.prefixSumComputer.changeValue(i,s),[a,u<=l?new ua(u,l):null,c<=d?new ca(c,d):null,h<=f?new la(h,f):null]},e.prototype.acceptVersionId=function(e){this._validModelVersionId=e,1!==this.lines.length||this.lines[0].isVisible()||this.setHiddenAreas([])},e.prototype.getViewLineCount=function(){return this.prefixSumComputer.getTotalValue()},e.prototype._toValidViewLineNumber=function(e){if(e<1)return 1;var t=this.getViewLineCount();return e>t?t:0|e},e.prototype.getActiveIndentGuide=function(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);var i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),r=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),s=this.model.getActiveIndentGuide(i.lineNumber,o.lineNumber,r.lineNumber),a=this.convertModelPositionToViewPosition(s.startLineNumber,1),u=this.convertModelPositionToViewPosition(s.endLineNumber,this.model.getLineMaxColumn(s.endLineNumber));return{startLineNumber:a.lineNumber,endLineNumber:u.lineNumber,indent:s.indent}},e.prototype.getViewLinesIndentGuides=function(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),i=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),o=[],r=[],s=[],a=n.lineNumber-1,u=i.lineNumber-1,l=null,c=a;c<=u;c++){var d=this.lines[c];if(d.isVisible()){var h=d.getViewLineNumberOfModelPosition(0,c===a?n.column:1),f=d.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(c+1)),p=0;(C=f-h+1)>1&&1===d.getViewLineMinColumn(this.model,c+1,f)&&(p=0===h?1:2),r.push(C),s.push(p),null===l&&(l=new H.a(c+1,0))}else null!==l&&(o=o.concat(this.model.getLinesIndentGuides(l.lineNumber,c)),l=null)}null!==l&&(o=o.concat(this.model.getLinesIndentGuides(l.lineNumber,i.lineNumber)),l=null);for(var g=t-e+1,m=new Array(g),v=0,_=0,y=o.length;_<y;_++){var b=o[_],C=Math.min(g-v,r[_]),w=void 0;w=2===(p=s[_])?0:1===p?1:C;for(var S=0;S<C;S++)S===w&&(b=0),m[v++]=b}return m},e.prototype.getViewLineContent=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineContent(this.model,n+1,i)},e.prototype.getViewLineLength=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineLength(this.model,n+1,i)},e.prototype.getViewLineMinColumn=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineMinColumn(this.model,n+1,i)},e.prototype.getViewLineMaxColumn=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineMaxColumn(this.model,n+1,i)},e.prototype.getViewLineData=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineData(this.model,n+1,i)},e.prototype.getViewLinesData=function(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var i=this.prefixSumComputer.getIndexOf(e-1),o=e,r=i.index,s=i.remainder,a=[],u=r,l=this.model.getLineCount();u<l;u++){var c=this.lines[u];if(c.isVisible()){var d=u===r?s:0,h=c.getViewLineCount()-d,f=!1;o+h>t&&(f=!0,h=t-o+1);var p=d+h;if(c.getViewLinesData(this.model,u+1,d,p,o-e,n,a),o+=h,f)break}}return a},e.prototype.validateViewPosition=function(e,t,n){e=this._toValidViewLineNumber(e);var i=this.prefixSumComputer.getIndexOf(e-1),o=i.index,r=i.remainder,s=this.lines[o],a=s.getViewLineMinColumn(this.model,o+1,r),u=s.getViewLineMaxColumn(this.model,o+1,r);t<a&&(t=a),t>u&&(t=u);var l=s.getModelColumnOfViewPosition(r,t);return this.model.validatePosition(new H.a(o+1,l)).equals(n)?new H.a(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)},e.prototype.validateViewRange=function(e,t){var n=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),i=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new z.a(n.lineNumber,n.column,i.lineNumber,i.column)},e.prototype.convertViewPositionToModelPosition=function(e,t){e=this._toValidViewLineNumber(e);var n=this.prefixSumComputer.getIndexOf(e-1),i=n.index,o=n.remainder,r=this.lines[i].getModelColumnOfViewPosition(o,t);return this.model.validatePosition(new H.a(i+1,r))},e.prototype.convertViewRangeToModelRange=function(e){var t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new z.a(t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype.convertModelPositionToViewPosition=function(e,t){for(var n=this.model.validatePosition(new H.a(e,t)),i=n.lineNumber,o=n.column,r=i-1,s=!1;r>0&&!this.lines[r].isVisible();)r--,s=!0;if(0===r&&!this.lines[r].isVisible())return new H.a(1,1);var a=1+(0===r?0:this.prefixSumComputer.getAccumulatedValue(r-1));return s?this.lines[r].getViewPositionOfModelPosition(a,this.model.getLineMaxColumn(r+1)):this.lines[i-1].getViewPositionOfModelPosition(a,o)},e.prototype.convertModelRangeToViewRange=function(e){var t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),n=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return e.startLineNumber===e.endLineNumber&&t.lineNumber!==n.lineNumber&&n.column===this.getViewLineMinColumn(n.lineNumber)?new z.a(t.lineNumber,t.column,n.lineNumber-1,this.getViewLineMaxColumn(n.lineNumber-1)):new z.a(t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype._getViewLineNumberForModelPosition=function(e,t){var n=e-1;if(this.lines[n].isVisible()){var i=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(i,t)}for(;n>0&&!this.lines[n].isVisible();)n--;if(0===n&&!this.lines[n].isVisible())return 1;var o=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(o,this.model.getLineMaxColumn(n+1))},e.prototype.getAllOverviewRulerDecorations=function(e,t,n){for(var i=this.model.getOverviewRulerDecorations(e,t),o=new ql,r=0,s=i;r<s.length;r++){var a=s[r],u=a.options.overviewRuler,l=u?u.position:0;if(0!==l){var c=u.getColor(n),d=this._getViewLineNumberForModelPosition(a.range.startLineNumber,a.range.startColumn),h=this._getViewLineNumberForModelPosition(a.range.endLineNumber,a.range.endColumn);o.accept(c,d,h,l)}}return o.result},e.prototype.getDecorationsInRange=function(e,t,n){var i=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),o=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(o.lineNumber-i.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new z.a(i.lineNumber,1,o.lineNumber,o.column),t,n);for(var r=[],s=i.lineNumber-1,a=o.lineNumber-1,u=null,l=s;l<=a;l++){if(this.lines[l].isVisible())null===u&&(u=new H.a(l+1,l===s?i.column:1));else if(null!==u){var c=this.model.getLineMaxColumn(l);r=r.concat(this.model.getDecorationsInRange(new z.a(u.lineNumber,u.column,l,c),t,n)),u=null}}null!==u&&(r=r.concat(this.model.getDecorationsInRange(new z.a(u.lineNumber,u.column,o.lineNumber,o.column),t,n)),u=null),r.sort((function(e,t){var n=z.a.compareRangesUsingStarts(e.range,t.range);return 0===n?e.id<t.id?-1:e.id>t.id?1:0:n}));for(var d=[],h=0,f=null,p=0,g=r;p<g.length;p++){var m=g[p],v=m.id;f!==v&&(f=v,d[h++]=m)}return d},e}(),Fl=function(){function e(){}return e.prototype.isVisible=function(){return!0},e.prototype.setVisible=function(e){return e?this:Vl.INSTANCE},e.prototype.getLineBreakData=function(){return null},e.prototype.getViewLineCount=function(){return 1},e.prototype.getViewLineContent=function(e,t,n){return e.getLineContent(t)},e.prototype.getViewLineLength=function(e,t,n){return e.getLineLength(t)},e.prototype.getViewLineMinColumn=function(e,t,n){return e.getLineMinColumn(t)},e.prototype.getViewLineMaxColumn=function(e,t,n){return e.getLineMaxColumn(t)},e.prototype.getViewLineData=function(e,t,n){var i=e.getLineTokens(t),o=i.getLineContent();return new wn(o,!1,1,o.length+1,0,i.inflate())},e.prototype.getViewLinesData=function(e,t,n,i,o,r,s){r[o]?s[o]=this.getViewLineData(e,t,0):s[o]=null},e.prototype.getModelColumnOfViewPosition=function(e,t){return t},e.prototype.getViewPositionOfModelPosition=function(e,t){return new H.a(e,t)},e.prototype.getViewLineNumberOfModelPosition=function(e,t){return e},e.INSTANCE=new e,e}(),Vl=function(){function e(){}return e.prototype.isVisible=function(){return!1},e.prototype.setVisible=function(e){return e?Fl.INSTANCE:this},e.prototype.getLineBreakData=function(){return null},e.prototype.getViewLineCount=function(){return 0},e.prototype.getViewLineContent=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineLength=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineMinColumn=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineMaxColumn=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineData=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLinesData=function(e,t,n,i,o,r,s){throw new Error("Not supported")},e.prototype.getModelColumnOfViewPosition=function(e,t){throw new Error("Not supported")},e.prototype.getViewPositionOfModelPosition=function(e,t){throw new Error("Not supported")},e.prototype.getViewLineNumberOfModelPosition=function(e,t){throw new Error("Not supported")},e.INSTANCE=new e,e}(),Wl=function(){function e(e,t){this._lineBreakData=e,this._isVisible=t}return e.prototype.isVisible=function(){return this._isVisible},e.prototype.setVisible=function(e){return this._isVisible=e,this},e.prototype.getLineBreakData=function(){return this._lineBreakData},e.prototype.getViewLineCount=function(){return this._isVisible?this._lineBreakData.breakOffsets.length:0},e.prototype.getInputStartOffsetOfOutputLineIndex=function(e){return Tl.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,0)},e.prototype.getInputEndOffsetOfOutputLineIndex=function(e,t,n){return n+1===this._lineBreakData.breakOffsets.length?e.getLineMaxColumn(t)-1:Tl.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,n+1,0)},e.prototype.getViewLineContent=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:o+1});return n>0&&(r=jl(this._lineBreakData.wrappedTextIndentLength)+r),r},e.prototype.getViewLineLength=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n)-i;return n>0&&(o=this._lineBreakData.wrappedTextIndentLength+o),o},e.prototype.getViewLineMinColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return n>0?this._lineBreakData.wrappedTextIndentLength+1:1},e.prototype.getViewLineMaxColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(e,t,n).length+1},e.prototype.getViewLineData=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:o+1});n>0&&(r=jl(this._lineBreakData.wrappedTextIndentLength)+r);var s=n>0?this._lineBreakData.wrappedTextIndentLength+1:1,a=r.length+1,u=n+1<this.getViewLineCount(),l=0;n>0&&(l=this._lineBreakData.wrappedTextIndentLength);var c=e.getLineTokens(t),d=0===n?0:this._lineBreakData.breakOffsetsVisibleColumn[n-1];return new wn(r,u,s,a,d,c.sliceAndInflate(i,o,l))},e.prototype.getViewLinesData=function(e,t,n,i,o,r,s){if(!this._isVisible)throw new Error("Not supported");for(var a=n;a<i;a++){var u=o+a-n;r[u]?s[u]=this.getViewLineData(e,t,a):s[u]=null}},e.prototype.getModelColumnOfViewPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var n=t-1;return e>0&&(n<this._lineBreakData.wrappedTextIndentLength?n=0:n-=this._lineBreakData.wrappedTextIndentLength),Tl.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,n)+1},e.prototype.getViewPositionOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var n=Tl.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1),i=n.outputLineIndex,o=n.outputOffset+1;return i>0&&(o+=this._lineBreakData.wrappedTextIndentLength),new H.a(e+i,o)},e.prototype.getViewLineNumberOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");return e+Tl.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1).outputLineIndex},e}(),Bl=[""];function jl(e){if(e>=Bl.length)for(var t=1;t<=e;t++)Bl[t]=Hl(t);return Bl[e]}function Hl(e){return new Array(e+1).join(" ")}function zl(e,t){return null===e?t?Fl.INSTANCE:Vl.INSTANCE:new Wl(e,t)}var Ul=function(){function e(e){this._lines=e}return e.prototype._validPosition=function(e){return this._lines.model.validatePosition(e)},e.prototype._validRange=function(e){return this._lines.model.validateRange(e)},e.prototype.convertViewPositionToModelPosition=function(e){return this._validPosition(e)},e.prototype.convertViewRangeToModelRange=function(e){return this._validRange(e)},e.prototype.validateViewPosition=function(e,t){return this._validPosition(t)},e.prototype.validateViewRange=function(e,t){return this._validRange(t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._validPosition(e)},e.prototype.convertModelRangeToViewRange=function(e){return this._validRange(e)},e.prototype.modelPositionIsVisible=function(e){var t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)},e}(),Kl=function(){function e(e){this.model=e}return e.prototype.dispose=function(){},e.prototype.createCoordinatesConverter=function(){return new Ul(this)},e.prototype.getHiddenAreas=function(){return[]},e.prototype.setHiddenAreas=function(e){return!1},e.prototype.setTabSize=function(e){return!1},e.prototype.setWrappingSettings=function(e,t,n,i){return!1},e.prototype.createLineBreaksComputer=function(){var e=[];return{addRequest:function(t,n){e.push(null)},finalize:function(){return e}}},e.prototype.onModelFlushed=function(){},e.prototype.onModelLinesDeleted=function(e,t,n){return new la(t,n)},e.prototype.onModelLinesInserted=function(e,t,n,i){return new ca(t,n)},e.prototype.onModelLineChanged=function(e,t,n){return[!1,new ua(t,t),null,null]},e.prototype.acceptVersionId=function(e){},e.prototype.getViewLineCount=function(){return this.model.getLineCount()},e.prototype.getActiveIndentGuide=function(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}},e.prototype.getViewLinesIndentGuides=function(e,t){for(var n=t-e+1,i=new Array(n),o=0;o<n;o++)i[o]=0;return i},e.prototype.getViewLineContent=function(e){return this.model.getLineContent(e)},e.prototype.getViewLineLength=function(e){return this.model.getLineLength(e)},e.prototype.getViewLineMinColumn=function(e){return this.model.getLineMinColumn(e)},e.prototype.getViewLineMaxColumn=function(e){return this.model.getLineMaxColumn(e)},e.prototype.getViewLineData=function(e){var t=this.model.getLineTokens(e),n=t.getLineContent();return new wn(n,!1,1,n.length+1,0,t.inflate())},e.prototype.getViewLinesData=function(e,t,n){var i=this.model.getLineCount();e=Math.min(Math.max(1,e),i),t=Math.min(Math.max(1,t),i);for(var o=[],r=e;r<=t;r++){var s=r-e;n[s]||(o[s]=null),o[s]=this.getViewLineData(r)}return o},e.prototype.getAllOverviewRulerDecorations=function(e,t,n){for(var i=this.model.getOverviewRulerDecorations(e,t),o=new ql,r=0,s=i;r<s.length;r++){var a=s[r],u=a.options.overviewRuler,l=u?u.position:0;if(0!==l){var c=u.getColor(n),d=a.range.startLineNumber,h=a.range.endLineNumber;o.accept(c,d,h,l)}}return o.result},e.prototype.getDecorationsInRange=function(e,t,n){return this.model.getDecorationsInRange(e,t,n)},e}(),ql=function(){function e(){this.result=Object.create(null)}return e.prototype.accept=function(e,t,n,i){var o=this.result[e];if(o){var r=o[o.length-3],s=o[o.length-1];if(r===i&&s+1>=t)return void(n>s&&(o[o.length-1]=n));o.push(i,t,n)}else this.result[e]=[i,t,n]},e}(),Gl=function(){function e(e,t,n,i,o){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=i,this._coordinatesConverter=o,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}return e.prototype._clearCachedModelDecorationsResolver=function(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null},e.prototype.dispose=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.reset=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onModelDecorationsChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onLineMappingChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype._getOrCreateViewModelDecoration=function(e){var t=e.id,n=this._decorationsCache[t];if(!n){var i=e.range,o=e.options,r=void 0;if(o.isWholeLine){var s=this._coordinatesConverter.convertModelPositionToViewPosition(new H.a(i.startLineNumber,1)),a=this._coordinatesConverter.convertModelPositionToViewPosition(new H.a(i.endLineNumber,this.model.getLineMaxColumn(i.endLineNumber)));r=new z.a(s.lineNumber,s.column,a.lineNumber,a.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(i);n=new Nn(r,o),this._decorationsCache[t]=n}return n},e.prototype.getDecorationsViewportData=function(e){var t=null!==this._cachedModelDecorationsResolver;return(t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange))||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver},e.prototype._getDecorationsViewportData=function(e){for(var t=this._linesCollection.getDecorationsInRange(e,this.editorId,Object(F.j)(this.configuration.options)),n=e.startLineNumber,i=e.endLineNumber,o=[],r=0,s=[],a=n;a<=i;a++)s[a-n]=[];for(var u=0,l=t.length;u<l;u++){var c=t[u],d=c.options,h=this._getOrCreateViewModelDecoration(c),f=h.range;if(o[r++]=h,d.inlineClassName){var p=new Ln(f,d.inlineClassName,d.inlineClassNameAffectsLetterSpacing?3:0),g=Math.max(n,f.startLineNumber),m=Math.min(i,f.endLineNumber);for(a=g;a<=m;a++)s[a-n].push(p)}if(d.beforeContentClassName&&n<=f.startLineNumber&&f.startLineNumber<=i){p=new Ln(new z.a(f.startLineNumber,f.startColumn,f.startLineNumber,f.startColumn),d.beforeContentClassName,1);s[f.startLineNumber-n].push(p)}if(d.afterContentClassName&&n<=f.endLineNumber&&f.endLineNumber<=i){p=new Ln(new z.a(f.endLineNumber,f.endColumn,f.endLineNumber,f.endColumn),d.afterContentClassName,2);s[f.endLineNumber-n].push(p)}}return{decorations:o,inlineDecorations:s}},e}(),Yl=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Zl=function(e){function t(t,n,i,o,r,s){var a=e.call(this)||this;if(a.editorId=t,a.configuration=n,a.model=i,a._tokenizeViewportSoon=a._register(new We.d((function(){return a.tokenizeViewport()}),50)),a.hasFocus=!1,a.viewportStartLine=-1,a.viewportStartLineTrackedRange=null,a.viewportStartLineDelta=0,a.model.isTooLargeForTokenization())a.lines=new Kl(a.model);else{var u=a.configuration.options,l=u.get(34),c=u.get(103),d=u.get(108),h=u.get(102);a.lines=new Pl(a.model,o,r,l,a.model.getOptions().tabSize,c,d.wrappingColumn,h)}return a.coordinatesConverter=a.lines.createCoordinatesConverter(),a.viewLayout=a._register(new kl(a.configuration,a.getLineCount(),s)),a._register(a.viewLayout.onDidScroll((function(e){e.scrollTopChanged&&a._tokenizeViewportSoon.schedule();try{a._beginEmit().emit(new ha(e))}finally{a._endEmit()}}))),a._register(a.viewLayout.onDidContentSizeChange((function(e){try{a._beginEmit().emit(new ta(e))}finally{a._endEmit()}}))),a.decorations=new Gl(a.editorId,a.model,a.configuration,a.lines,a.coordinatesConverter),a._registerModelEvents(),a._register(a.configuration.onDidChange((function(e){try{var t=a._beginEmit();a._onConfigurationChanged(t,e)}finally{a._endEmit()}}))),a._register(hu.getInstance().onDidChange((function(){try{a._beginEmit().emit(new ga)}finally{a._endEmit()}}))),a}return Yl(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this.decorations.dispose(),this.lines.dispose(),this.invalidateMinimapColorCache(),this.viewportStartLineTrackedRange=this.model._setTrackedRange(this.viewportStartLineTrackedRange,null,1)},t.prototype.tokenizeViewport=function(){var e=this.viewLayout.getLinesViewportData(),t=this.coordinatesConverter.convertViewPositionToModelPosition(new H.a(e.startLineNumber,1)),n=this.coordinatesConverter.convertViewPositionToModelPosition(new H.a(e.endLineNumber,1));this.model.tokenizeViewport(t.lineNumber,n.lineNumber)},t.prototype.setHasFocus=function(e){this.hasFocus=e},t.prototype._onConfigurationChanged=function(e,t){var n=null;if(-1!==this.viewportStartLine){var i=new H.a(this.viewportStartLine,this.getLineMinColumn(this.viewportStartLine));n=this.coordinatesConverter.convertViewPositionToModelPosition(i)}var o=!1,r=this.configuration.options,s=r.get(34),a=r.get(103),u=r.get(108),l=r.get(102);if(this.lines.setWrappingSettings(s,a,u.wrappingColumn,l)&&(e.emit(new oa),e.emit(new aa),e.emit(new ia),this.decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(o=!0)),t.hasChanged(68)&&(this.decorations.reset(),e.emit(new ia)),e.emit(new ea(t)),this.viewLayout.onConfigurationChanged(t),o&&n){var c=this.coordinatesConverter.convertModelPositionToViewPosition(n),d=this.viewLayout.getVerticalOffsetForLineNumber(c.lineNumber);this.viewLayout.setScrollPositionNow({scrollTop:d+this.viewportStartLineDelta})}},t.prototype._registerModelEvents=function(){var e=this;this._register(this.model.onDidChangeRawContentFast((function(t){try{for(var n=e._beginEmit(),i=!1,o=!1,r=t.changes,s=t.versionId,a=e.lines.createLineBreaksComputer(),u=0,l=r;u<l.length;u++){switch((v=l[u]).changeType){case 4:for(var c=0,d=v.detail;c<d.length;c++){var h=d[c];a.addRequest(h,null)}break;case 2:a.addRequest(v.detail,null)}}for(var f=a.finalize(),p=0,g=0,m=r;g<m.length;g++){var v;switch((v=m[g]).changeType){case 1:e.lines.onModelFlushed(),n.emit(new oa),e.decorations.reset(),e.viewLayout.onFlushed(e.getLineCount()),i=!0;break;case 3:null!==(L=e.lines.onModelLinesDeleted(s,v.fromLineNumber,v.toLineNumber))&&(n.emit(L),e.viewLayout.onLinesDeleted(L.fromLineNumber,L.toLineNumber)),i=!0;break;case 4:var _=f.slice(p,p+v.detail.length);p+=v.detail.length,null!==(S=e.lines.onModelLinesInserted(s,v.fromLineNumber,v.toLineNumber,_))&&(n.emit(S),e.viewLayout.onLinesInserted(S.fromLineNumber,S.toLineNumber)),i=!0;break;case 2:var y=f[p];p++;var b=e.lines.onModelLineChanged(s,v.lineNumber,y),C=b[0],w=b[1],S=b[2],L=b[3];o=C,w&&n.emit(w),S&&(n.emit(S),e.viewLayout.onLinesInserted(S.fromLineNumber,S.toLineNumber)),L&&(n.emit(L),e.viewLayout.onLinesDeleted(L.fromLineNumber,L.toLineNumber))}}e.lines.acceptVersionId(s),e.viewLayout.onHeightMaybeChanged(),!i&&o&&(n.emit(new aa),n.emit(new ia),e.decorations.onLineMappingChanged())}finally{e._endEmit()}if(e.viewportStartLine=-1,e.configuration.setMaxLineNumber(e.model.getLineCount()),!e.hasFocus&&e.model.getAttachedEditorCount()>=2&&e.viewportStartLineTrackedRange){var N=e.model._getTrackedRange(e.viewportStartLineTrackedRange);if(N){var O=e.coordinatesConverter.convertModelPositionToViewPosition(N.getStartPosition()),D=e.viewLayout.getVerticalOffsetForLineNumber(O.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:D+e.viewportStartLineDelta})}}}))),this._register(this.model.onDidChangeTokens((function(t){for(var n=[],i=0,o=t.ranges.length;i<o;i++){var r=t.ranges[i],s=e.coordinatesConverter.convertModelPositionToViewPosition(new H.a(r.fromLineNumber,1)).lineNumber,a=e.coordinatesConverter.convertModelPositionToViewPosition(new H.a(r.toLineNumber,e.model.getLineMaxColumn(r.toLineNumber))).lineNumber;n[i]={fromLineNumber:s,toLineNumber:a}}try{e._beginEmit().emit(new pa(n))}finally{e._endEmit()}t.tokenizationSupportChanged&&e._tokenizeViewportSoon.schedule()}))),this._register(this.model.onDidChangeLanguageConfiguration((function(t){try{e._beginEmit().emit(new sa)}finally{e._endEmit()}}))),this._register(this.model.onDidChangeOptions((function(t){if(e.lines.setTabSize(e.model.getOptions().tabSize)){e.decorations.onLineMappingChanged(),e.viewLayout.onFlushed(e.getLineCount());try{var n=e._beginEmit();n.emit(new oa),n.emit(new aa),n.emit(new ia)}finally{e._endEmit()}}}))),this._register(this.model.onDidChangeDecorations((function(t){e.decorations.onModelDecorationsChanged();try{e._beginEmit().emit(new ia)}finally{e._endEmit()}})))},t.prototype.setHiddenAreas=function(e){try{var t=this._beginEmit();this.lines.setHiddenAreas(e)&&(t.emit(new oa),t.emit(new aa),t.emit(new ia),this.decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._endEmit()}},t.prototype.getVisibleRanges=function(){var e=this.getCompletelyVisibleViewRange(),t=this.coordinatesConverter.convertViewRangeToModelRange(e),n=this.lines.getHiddenAreas();if(0===n.length)return[t];for(var i=[],o=0,r=t.startLineNumber,s=t.startColumn,a=t.endLineNumber,u=t.endColumn,l=0,c=n.length;l<c;l++){var d=n[l].startLineNumber,h=n[l].endLineNumber;h<r||(d>a||(r<d&&(i[o++]=new z.a(r,s,d-1,this.model.getLineMaxColumn(d-1))),r=h+1,s=1))}return(r<a||r===a&&s<u)&&(i[o++]=new z.a(r,s,a,u)),i},t.prototype.getCompletelyVisibleViewRange=function(){var e=this.viewLayout.getLinesViewportData(),t=e.completelyVisibleStartLineNumber,n=e.completelyVisibleEndLineNumber;return new z.a(t,this.getLineMinColumn(t),n,this.getLineMaxColumn(n))},t.prototype.getCompletelyVisibleViewRangeAtScrollTop=function(e){var t=this.viewLayout.getLinesViewportDataAtScrollTop(e),n=t.completelyVisibleStartLineNumber,i=t.completelyVisibleEndLineNumber;return new z.a(n,this.getLineMinColumn(n),i,this.getLineMaxColumn(i))},t.prototype.saveState=function(){var e=this.viewLayout.saveState(),t=e.scrollTop,n=this.viewLayout.getLineNumberAtVerticalOffset(t),i=this.coordinatesConverter.convertViewPositionToModelPosition(new H.a(n,this.getLineMinColumn(n))),o=this.viewLayout.getVerticalOffsetForLineNumber(n)-t;return{scrollLeft:e.scrollLeft,firstPosition:i,firstPositionDeltaTop:o}},t.prototype.reduceRestoreState=function(e){if(void 0===e.firstPosition)return this._reduceRestoreStateCompatibility(e);var t=this.model.validatePosition(e.firstPosition),n=this.coordinatesConverter.convertModelPositionToViewPosition(t),i=this.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber)-e.firstPositionDeltaTop;return{scrollLeft:e.scrollLeft,scrollTop:i}},t.prototype._reduceRestoreStateCompatibility=function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTopWithoutViewZones}},t.prototype.getTabSize=function(){return this.model.getOptions().tabSize},t.prototype.getOptions=function(){return this.model.getOptions()},t.prototype.getLineCount=function(){return this.lines.getViewLineCount()},t.prototype.setViewport=function(e,t,n){this.viewportStartLine=e;var i=this.coordinatesConverter.convertViewPositionToModelPosition(new H.a(e,this.getLineMinColumn(e)));this.viewportStartLineTrackedRange=this.model._setTrackedRange(this.viewportStartLineTrackedRange,new z.a(i.lineNumber,i.column,i.lineNumber,i.column),1);var o=this.viewLayout.getVerticalOffsetForLineNumber(e),r=this.viewLayout.getCurrentScrollTop();this.viewportStartLineDelta=r-o},t.prototype.getActiveIndentGuide=function(e,t,n){return this.lines.getActiveIndentGuide(e,t,n)},t.prototype.getLinesIndentGuides=function(e,t){return this.lines.getViewLinesIndentGuides(e,t)},t.prototype.getLineContent=function(e){return this.lines.getViewLineContent(e)},t.prototype.getLineLength=function(e){return this.lines.getViewLineLength(e)},t.prototype.getLineMinColumn=function(e){return this.lines.getViewLineMinColumn(e)},t.prototype.getLineMaxColumn=function(e){return this.lines.getViewLineMaxColumn(e)},t.prototype.getLineFirstNonWhitespaceColumn=function(e){var t=ne.o(this.getLineContent(e));return-1===t?0:t+1},t.prototype.getLineLastNonWhitespaceColumn=function(e){var t=ne.B(this.getLineContent(e));return-1===t?0:t+2},t.prototype.getDecorationsInViewport=function(e){return this.decorations.getDecorationsViewportData(e).decorations},t.prototype.getViewLineRenderingData=function(e,t){var n=this.model.mightContainRTL(),i=this.model.mightContainNonBasicASCII(),o=this.getTabSize(),r=this.lines.getViewLineData(t),s=this.decorations.getDecorationsViewportData(e).inlineDecorations[t-e.startLineNumber];return new Sn(r.minColumn,r.maxColumn,r.content,r.continuesWithWrappedLine,n,i,r.tokens,s,o,r.startVisibleColumn)},t.prototype.getViewLineData=function(e){return this.lines.getViewLineData(e)},t.prototype.getMinimapLinesRenderingData=function(e,t,n){var i=this.lines.getViewLinesData(e,t,n);return new Cn(this.getTabSize(),i)},t.prototype.getAllOverviewRulerDecorations=function(e){return this.lines.getAllOverviewRulerDecorations(this.editorId,Object(F.j)(this.configuration.options),e)},t.prototype.invalidateOverviewRulerColorCache=function(){for(var e=0,t=this.model.getOverviewRulerDecorations();e<t.length;e++){var n=t[e].options.overviewRuler;n&&n.invalidateCachedColor()}},t.prototype.invalidateMinimapColorCache=function(){for(var e=0,t=this.model.getAllDecorations();e<t.length;e++){var n=t[e].options.minimap;n&&n.invalidateCachedColor()}},t.prototype.getValueInRange=function(e,t){var n=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(n,t)},t.prototype.getModelLineMaxColumn=function(e){return this.model.getLineMaxColumn(e)},t.prototype.validateModelPosition=function(e){return this.model.validatePosition(e)},t.prototype.validateModelRange=function(e){return this.model.validateRange(e)},t.prototype.deduceModelPositionRelativeToViewPosition=function(e,t,n){var i=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=n:t+=n);var o=this.model.getOffsetAt(i)+t;return this.model.getPositionAt(o)},t.prototype.getEOL=function(){return this.model.getEOL()},t.prototype.getPlainTextToCopy=function(e,t,n){var i=n?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(z.a.compareRangesUsingStarts);for(var o=!1,r=!1,s=0,a=e;s<a.length;s++){a[s].isEmpty()?o=!0:r=!0}if(!r){if(!t)return"";for(var u=e.map((function(e){return e.startLineNumber})),l="",c=0;c<u.length;c++)c>0&&u[c-1]===u[c]||(l+=this.model.getLineContent(u[c])+i);return l}if(o&&t){for(var d=[],h=0,f=0,p=e;f<p.length;f++){var g=(y=p[f]).startLineNumber;y.isEmpty()?g!==h&&d.push(this.model.getLineContent(g)):d.push(this.model.getValueInRange(y,n?2:0)),h=g}return 1===d.length?d[0]:d}for(var m=[],v=0,_=e;v<_.length;v++){var y;(y=_[v]).isEmpty()||m.push(this.model.getValueInRange(y,n?2:0))}return 1===m.length?m[0]:m},t.prototype.getRichTextToCopy=function(e,t){var n=this.model.getLanguageIdentifier();if(1===n.id)return null;if(1!==e.length)return null;var i=e[0];if(i.isEmpty()){if(!t)return null;var o=i.startLineNumber;i=new z.a(o,this.model.getLineMinColumn(o),o,this.model.getLineMaxColumn(o))}var r=this.configuration.options.get(34),s=this._getColorMap(),a=r.fontFamily===F.b.fontFamily?r.fontFamily:"'"+r.fontFamily+"', "+F.b.fontFamily;return{mode:n.language,html:'<div style="color: '+s[1]+";background-color: "+s[2]+";font-family: "+a+";font-weight: "+r.fontWeight+";font-size: "+r.fontSize+"px;line-height: "+r.lineHeight+'px;white-space: pre;">'+this._getHTMLToCopy(i,s)+"</div>"}},t.prototype._getHTMLToCopy=function(e,t){for(var n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn,s=this.getTabSize(),a="",u=n;u<=o;u++){var l=this.model.getLineTokens(u),c=l.getLineContent(),d=u===n?i-1:0,h=u===o?r-1:c.length;a+=""===c?"<br>":wl(c,l.inflate(),t,d,h,s,ie.h)}return a},t.prototype._getColorMap=function(){var e=Re.y.getColorMap(),t=["#000000"];if(e)for(var n=1,i=e.length;n<i;n++)t[n]=Ls.a.Format.CSS.formatHex(e[n]);return t},t}(va),Xl=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._entries=new Map;for(var n=0,i=e;n<i.length;n++){var o=i[n],r=o[0],s=o[1];this.set(r,s)}}return e.prototype.set=function(e,t){var n=this._entries.get(e);return this._entries.set(e,t),n},e.prototype.has=function(e){return this._entries.has(e)},e.prototype.get=function(e){return this._entries.get(e)},e}(),Jl=Object(ue.c)("accessibilityService"),Ql=new Zi.d("accessibilityModeEnabled",!1),$l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ec=function(e){function t(t,n){for(var i=e.call(this,0)||this,o=0;o<t.length;o++)i.set(t.charCodeAt(o),1);for(o=0;o<n.length;o++)i.set(n.charCodeAt(o),2);return i}return $l(t,e),t.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue},t}(Ct.a),tc=[],nc=[],ic=function(){function e(e,t){this.classifier=new ec(e,t)}return e.create=function(t){return new e(t.get(99),t.get(98))},e.prototype.createLineBreaksComputer=function(e,t,n,i){var o=this;t|=0,n=+n;var r=[],s=[];return{addRequest:function(e,t){r.push(e),s.push(t)},finalize:function(){for(var a=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,u=[],l=0,c=r.length;l<c;l++){var d=s[l];u[l]=d?oc(o.classifier,d,r[l],t,n,a,i):rc(o.classifier,r[l],t,n,a,i)}return tc.length=0,nc.length=0,u}}},e}();function oc(e,t,n,i,o,r,s){if(-1===o)return null;var a=n.length;if(a<=1)return null;var u=t.breakOffsets,l=t.breakOffsetsVisibleColumn,c=lc(n,i,o,r,s),d=o-c,h=tc,f=nc,p=0,g=o,m=u.length,v=0;if(v>=0)for(var _=Math.abs(l[v]-g);v+1<m;){if((V=Math.abs(l[v+1]-g))>=_)break;_=V,v++}for(;v<m;){var y=v<0?0:u[v],b=v<0?0:l[v],C=0,w=0,S=0,L=0;if(b<=g){for(var N=b,O=n.charCodeAt(y-1),D=e.get(O),x=!0,E=y;E<a;E++){var k=E,I=n.charCodeAt(E),M=void 0,T=void 0;if(ne.x(I)?(E++,M=0,T=2):(M=e.get(I),T=sc(I,N,i,r)),uc(O,D,I,M)&&(C=k,w=N),(N+=T)>g){S=k,L=N-T,N-w>d&&(C=0),x=!1;break}O=I,D=M}if(x){p>0&&(h[p]=u[u.length-1],f[p]=l[u.length-1],p++);break}}if(0===C){N=b,I=n.charCodeAt(y),M=e.get(I);var A=!1;for(E=y-1;E>=0;E--){k=E+1;if(9===(O=n.charCodeAt(E))){A=!0;break}D=void 0;var R=void 0;if(ne.y(O)?(E--,D=0,R=2):(D=e.get(O),R=ne.w(O)?r:1),N<=g){if(0===S&&(S=k,L=N),N<=g-d)break;if(uc(O,D,I,M)){C=k,w=N;break}}N-=R,I=O,M=D}if(0!==C){var P=d-(L-w);if(P<=i){var F=n.charCodeAt(S);T=void 0;P-(T=ne.x(F)?2:sc(F,L,i,r))<0&&(C=0)}}if(A){v--;continue}}for(0===C&&(C=S,w=L),h[p]=C,f[p]=w,p++,g=w+d;v<0||v<m&&l[v]<w;)v++;for(_=Math.abs(l[v]-g);v+1<m;){var V;if((V=Math.abs(l[v+1]-g))>=_)break;_=V,v++}}return 0===p?null:(h.length=p,f.length=p,tc=t.breakOffsets,nc=t.breakOffsetsVisibleColumn,t.breakOffsets=h,t.breakOffsetsVisibleColumn=f,t.wrappedTextIndentLength=c,t)}function rc(e,t,n,i,o,r){if(-1===i)return null;var s=t.length;if(s<=1)return null;var a=lc(t,n,i,o,r),u=i-a,l=[],c=[],d=0,h=0,f=0,p=i,g=t.charCodeAt(0),m=e.get(g),v=sc(g,0,n,o),_=1;ne.x(g)&&(v+=1,g=t.charCodeAt(1),m=e.get(g),_++);for(var y=_;y<s;y++){var b=y,C=t.charCodeAt(y),w=void 0,S=void 0;ne.x(C)?(y++,w=0,S=2):(w=e.get(C),S=sc(C,v,n,o)),uc(g,m,C,w)&&(h=b,f=v),(v+=S)>p&&((0===h||v-f>u)&&(h=b,f=v-S),l[d]=h,c[d]=f,d++,p=f+u,h=0),g=C,m=w}return 0===d?null:(l[d]=s,c[d]=v,new Tl(l,c,a))}function sc(e,t,n,i){return 9===e?n-t%n:ne.w(e)?i:1}function ac(e,t){return t-e%t}function uc(e,t,n,i){return 32!==n&&(2===t||3===t&&2!==i||1===i||3===i&&1!==t)}function lc(e,t,n,i,o){var r=0;if(0!==o){var s=ne.o(e);if(-1!==s){for(var a=0;a<s;a++){r+=9===e.charCodeAt(a)?ac(r,t):1}var u=3===o?2:2===o?1:0;for(a=0;a<u;a++){r+=ac(r,t)}r+i>n&&(r=0)}}return r}var cc=function(){function e(){}return e.create=function(){return new e},e.prototype.createLineBreaksComputer=function(e,t,n,i){t|=0,n=+n;var o=[];return{addRequest:function(e,t){o.push(e)},finalize:function(){return function(e,t,n,i,o){if(-1===i){for(var r=[],s=0,a=e.length;s<a;s++)r[s]=null;return r}var u=Math.round(i*t.typicalHalfwidthCharacterWidth);2!==o&&3!==o||(o=1);var l=document.createElement("div");ir.applyFontInfoSlow(l,t);var c=tn(1e4),d=[],h=[],f=[],p=[],g=[];for(s=0;s<e.length;s++){var m=e[s],v=0,_=0,y=u;if(0!==o)if(-1===(v=ne.o(m)))v=0;else{for(var b=0;b<v;b++){var C=9===m.charCodeAt(b)?n-_%n:1;_+=C}var w=Math.ceil(t.spaceWidth*_);w+t.typicalFullwidthCharacterWidth>u?(v=0,_=0):y=u-w}var S=m.substr(v),L=dc(S,_,n,y,c);d[s]=v,h[s]=_,f[s]=S,p[s]=L[0],g[s]=L[1]}l.innerHTML=c.build(),l.style.position="absolute",l.style.top="10000",l.style.wordWrap="break-word",document.body.appendChild(l);var N=document.createRange(),O=Array.prototype.slice.call(l.children,0),D=[];for(s=0;s<e.length;s++){var x=O[s],E=hc(N,x,f[s],p[s]);if(null!==E){v=d[s],_=h[s];var k=g[s],I=[],M=0;for(a=E.length;M<a;M++)I[M]=k[E[M]];if(0!==v)for(M=0,a=E.length;M<a;M++)E[M]+=v;D[s]=new Tl(E,I,_)}else D[s]=null}return document.body.removeChild(l),D}(o,e,t,n,i)}}},e}();function dc(e,t,n,i,o){o.appendASCIIString('<div style="width:'),o.appendASCIIString(String(i)),o.appendASCIIString('px;">');for(var r=e.length,s=t,a=0,u=[],l=[],c=0<r?e.charCodeAt(0):0,d=0;d<r;d++){u[d]=a,l[d]=s;var h=c;c=d+1<r?e.charCodeAt(d+1):0;var f=1,p=1;switch(h){case 9:p=f=n-s%n;for(var g=1;g<=f;g++)g<f?o.write1(160):o.appendASCII(32);break;case 32:32===c?o.write1(160):o.appendASCII(32);break;case 60:o.appendASCIIString("<");break;case 62:o.appendASCIIString(">");break;case 38:o.appendASCIIString("&");break;case 0:o.appendASCIIString("�");break;case 65279:case 8232:o.write1(65533);break;default:ne.w(h)&&p++,o.write1(h)}a+=f,s+=p}return u[e.length]=a,l[e.length]=s,o.appendASCIIString("</div>"),[u,l]}function hc(e,t,n,i){if(n.length<=1)return null;var o=[];return function e(t,n,i,o,r,s,a,u){if(o===s)return;if(r=r||fc(t,n,i[o],i[o+1]),a=a||fc(t,n,i[s],i[s+1]),Math.abs(r[0].top-a[0].top)<=.1)return;if(o+1===s)return void u.push(s);var l=o+(s-o)/2|0,c=fc(t,n,i[l],i[l+1]);e(t,n,i,o,r,l,c,u),e(t,n,i,l,c,s,a,u)}(e,t.firstChild,i,0,null,n.length-1,null,o),0===o.length?null:(o.push(n.length),o)}function fc(e,t,n,i){return e.setStart(t,n),e.setEnd(t,i),e.getClientRects()}var pc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),gc=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},mc=function(e,t){return function(n,i){t(n,i,e)}},vc=0,_c=function(){function e(e,t,n,i,o,r){this.model=e,this.viewModel=t,this.cursor=n,this.view=i,this.hasRealView=o,this.listenersToRemove=r}return e.prototype.dispose=function(){Object(le.e)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.cursor.dispose(),this.viewModel.dispose()},e}(),yc=function(e){function t(t,n,i,o,r,s,a,u,l,c){var d=e.call(this)||this;d._onDidDispose=d._register(new W.a),d.onDidDispose=d._onDidDispose.event,d._onDidChangeModelContent=d._register(new W.a),d.onDidChangeModelContent=d._onDidChangeModelContent.event,d._onDidChangeModelLanguage=d._register(new W.a),d.onDidChangeModelLanguage=d._onDidChangeModelLanguage.event,d._onDidChangeModelLanguageConfiguration=d._register(new W.a),d.onDidChangeModelLanguageConfiguration=d._onDidChangeModelLanguageConfiguration.event,d._onDidChangeModelOptions=d._register(new W.a),d.onDidChangeModelOptions=d._onDidChangeModelOptions.event,d._onDidChangeModelDecorations=d._register(new W.a),d.onDidChangeModelDecorations=d._onDidChangeModelDecorations.event,d._onDidChangeConfiguration=d._register(new W.a),d.onDidChangeConfiguration=d._onDidChangeConfiguration.event,d._onDidChangeModel=d._register(new W.a),d.onDidChangeModel=d._onDidChangeModel.event,d._onDidChangeCursorPosition=d._register(new W.a),d.onDidChangeCursorPosition=d._onDidChangeCursorPosition.event,d._onDidChangeCursorSelection=d._register(new W.a),d.onDidChangeCursorSelection=d._onDidChangeCursorSelection.event,d._onDidAttemptReadOnlyEdit=d._register(new W.a),d.onDidAttemptReadOnlyEdit=d._onDidAttemptReadOnlyEdit.event,d._onDidLayoutChange=d._register(new W.a),d.onDidLayoutChange=d._onDidLayoutChange.event,d._editorTextFocus=d._register(new bc),d.onDidFocusEditorText=d._editorTextFocus.onDidChangeToTrue,d.onDidBlurEditorText=d._editorTextFocus.onDidChangeToFalse,d._editorWidgetFocus=d._register(new bc),d.onDidFocusEditorWidget=d._editorWidgetFocus.onDidChangeToTrue,d.onDidBlurEditorWidget=d._editorWidgetFocus.onDidChangeToFalse,d._onWillType=d._register(new W.a),d.onWillType=d._onWillType.event,d._onDidType=d._register(new W.a),d.onDidType=d._onDidType.event,d._onDidCompositionStart=d._register(new W.a),d.onDidCompositionStart=d._onDidCompositionStart.event,d._onDidCompositionEnd=d._register(new W.a),d.onDidCompositionEnd=d._onDidCompositionEnd.event,d._onDidPaste=d._register(new W.a),d.onDidPaste=d._onDidPaste.event,d._onMouseUp=d._register(new W.a),d.onMouseUp=d._onMouseUp.event,d._onMouseDown=d._register(new W.a),d.onMouseDown=d._onMouseDown.event,d._onMouseDrag=d._register(new W.a),d.onMouseDrag=d._onMouseDrag.event,d._onMouseDrop=d._register(new W.a),d.onMouseDrop=d._onMouseDrop.event,d._onContextMenu=d._register(new W.a),d.onContextMenu=d._onContextMenu.event,d._onMouseMove=d._register(new W.a),d.onMouseMove=d._onMouseMove.event,d._onMouseLeave=d._register(new W.a),d.onMouseLeave=d._onMouseLeave.event,d._onMouseWheel=d._register(new W.a),d.onMouseWheel=d._onMouseWheel.event,d._onKeyUp=d._register(new W.a),d.onKeyUp=d._onKeyUp.event,d._onKeyDown=d._register(new W.a),d.onKeyDown=d._onKeyDown.event,d._onDidContentSizeChange=d._register(new W.a),d.onDidContentSizeChange=d._onDidContentSizeChange.event,d._onDidScrollChange=d._register(new W.a),d.onDidScrollChange=d._onDidScrollChange.event,d._onDidChangeViewZones=d._register(new W.a),d.onDidChangeViewZones=d._onDidChangeViewZones.event,d._domElement=t,d._id=++vc,d._decorationTypeKeysToIds={},d._decorationTypeSubtypes={},d.isSimpleWidget=i.isSimpleWidget||!1,d._telemetryData=i.telemetryData,n=n||{},d._configuration=d._register(d._createConfiguration(n,c)),d._register(d._configuration.onDidChange((function(e){d._onDidChangeConfiguration.fire(e);var t=d._configuration.options;if(e.hasChanged(107)){var n=t.get(107);d._onDidLayoutChange.fire(n)}}))),d._contextKeyService=d._register(a.createScoped(d._domElement)),d._notificationService=l,d._codeEditorService=r,d._commandService=s,d._themeService=u,d._register(new Cc(d,d._contextKeyService)),d._register(new wc(d,d._contextKeyService)),d._instantiationService=o.createChild(new Xl([Zi.c,d._contextKeyService])),d._modelData=null,d._contributions={},d._actions={},d._focusTracker=new Sc(t),d._focusTracker.onChange((function(){d._editorWidgetFocus.setValue(d._focusTracker.hasFocus())})),d._contentWidgets={},d._overlayWidgets={};for(var h=0,f=Array.isArray(i.contributions)?i.contributions:or.d.getEditorContributions();h<f.length;h++){var p=f[h];try{var g=d._instantiationService.createInstance(p.ctor,d);d._contributions[p.id]=g}catch(e){Object(Be.e)(e)}}return or.d.getEditorActions().forEach((function(e){var t=new bl(e.id,e.label,e.alias,Object(je.n)(e.precondition),(function(){return d._instantiationService.invokeFunction((function(t){return Promise.resolve(e.runEditorCommand(t,d,null))}))}),d._contextKeyService);d._actions[t.id]=t})),d._codeEditorService.addCodeEditor(d),d}return pc(t,e),t.prototype._createConfiguration=function(e,t){return new ir(this.isSimpleWidget,e,this._domElement,t)},t.prototype.getId=function(){return this.getEditorType()+":"+this._id},t.prototype.getEditorType=function(){return Te.a.ICodeEditor},t.prototype.dispose=function(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();for(var t=Object.keys(this._contributions),n=0,i=t.length;n<i;n++){var o=t[n];this._contributions[o].dispose()}this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),e.prototype.dispose.call(this)},t.prototype.invokeWithinContext=function(e){return this._instantiationService.invokeFunction(e)},t.prototype.updateOptions=function(e){this._configuration.updateOptions(e)},t.prototype.getOptions=function(){return this._configuration.options},t.prototype.getOption=function(e){return this._configuration.options.get(e)},t.prototype.getRawOptions=function(){return this._configuration.getRawOptions()},t.prototype.getValue=function(e){if(void 0===e&&(e=null),!this._modelData)return"";var t=!(!e||!e.preserveBOM),n=0;return e&&e.lineEnding&&"\n"===e.lineEnding?n=1:e&&e.lineEnding&&"\r\n"===e.lineEnding&&(n=2),this._modelData.model.getValue(n,t)},t.prototype.setValue=function(e){this._modelData&&this._modelData.model.setValue(e)},t.prototype.getModel=function(){return this._modelData?this._modelData.model:null},t.prototype.setModel=function(e){void 0===e&&(e=null);var t=e;if(!(null===this._modelData&&null===t||this._modelData&&this._modelData.model===t)){var n=this.hasTextFocus(),i=this._detachModel();this._attachModel(t),n&&this.hasModel()&&this.focus();var o={oldModelUrl:i?i.uri:null,newModelUrl:t?t.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(o),this._postDetachModelCleanup(i)}},t.prototype._removeDecorationTypes=function(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(var e in this._decorationTypeSubtypes){var t=this._decorationTypeSubtypes[e];for(var n in t)this._removeDecorationType(e+"-"+n)}this._decorationTypeSubtypes={}}},t.prototype.getVisibleRanges=function(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]},t.prototype.getWhitespaces=function(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]},t._getVerticalOffsetForPosition=function(e,t,n){var i=e.model.validatePosition({lineNumber:t,column:n}),o=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(o.lineNumber)},t.prototype.getTopForLineNumber=function(e){return this._modelData?t._getVerticalOffsetForPosition(this._modelData,e,1):-1},t.prototype.getTopForPosition=function(e,n){return this._modelData?t._getVerticalOffsetForPosition(this._modelData,e,n):-1},t.prototype.setHiddenAreas=function(e){this._modelData&&this._modelData.viewModel.setHiddenAreas(e.map((function(e){return z.a.lift(e)})))},t.prototype.getVisibleColumnFromPosition=function(e){if(!this._modelData)return e.column;var t=this._modelData.model.validatePosition(e),n=this._modelData.model.getOptions().tabSize;return Ur.a.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,n)+1},t.prototype.getPosition=function(){return this._modelData?this._modelData.cursor.getPosition():null},t.prototype.setPosition=function(e){if(this._modelData){if(!H.a.isIPosition(e))throw new Error("Invalid arguments");this._modelData.cursor.setSelections("api",[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}},t.prototype._sendRevealRange=function(e,t,n,i){if(this._modelData){if(!z.a.isIRange(e))throw new Error("Invalid arguments");var o=this._modelData.model.validateRange(e),r=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(o);this._modelData.cursor.emitCursorRevealRange("api",r,t,n,i)}},t.prototype.revealLine=function(e,t){void 0===t&&(t=0),this._revealLine(e,0,t)},t.prototype.revealLineInCenter=function(e,t){void 0===t&&(t=0),this._revealLine(e,1,t)},t.prototype.revealLineInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealLine(e,2,t)},t.prototype._revealLine=function(e,t,n){if("number"!=typeof e)throw new Error("Invalid arguments");this._sendRevealRange(new z.a(e,1,e,1),t,!1,n)},t.prototype.revealPosition=function(e,t){void 0===t&&(t=0),this._revealPosition(e,0,!0,t)},t.prototype.revealPositionInCenter=function(e,t){void 0===t&&(t=0),this._revealPosition(e,1,!0,t)},t.prototype.revealPositionInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealPosition(e,2,!0,t)},t.prototype._revealPosition=function(e,t,n,i){if(!H.a.isIPosition(e))throw new Error("Invalid arguments");this._sendRevealRange(new z.a(e.lineNumber,e.column,e.lineNumber,e.column),t,n,i)},t.prototype.getSelection=function(){return this._modelData?this._modelData.cursor.getSelection():null},t.prototype.getSelections=function(){return this._modelData?this._modelData.cursor.getSelections():null},t.prototype.setSelection=function(e){var t=U.a.isISelection(e),n=z.a.isIRange(e);if(!t&&!n)throw new Error("Invalid arguments");if(t)this._setSelectionImpl(e);else if(n){var i={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(i)}},t.prototype._setSelectionImpl=function(e){if(this._modelData){var t=new U.a(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.cursor.setSelections("api",[t])}},t.prototype.revealLines=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,0,n)},t.prototype.revealLinesInCenter=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,1,n)},t.prototype.revealLinesInCenterIfOutsideViewport=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,2,n)},t.prototype._revealLines=function(e,t,n,i){if("number"!=typeof e||"number"!=typeof t)throw new Error("Invalid arguments");this._sendRevealRange(new z.a(e,1,t,1),n,!1,i)},t.prototype.revealRange=function(e,t,n,i){void 0===t&&(t=0),void 0===n&&(n=!1),void 0===i&&(i=!0),this._revealRange(e,n?1:0,i,t)},t.prototype.revealRangeInCenter=function(e,t){void 0===t&&(t=0),this._revealRange(e,1,!0,t)},t.prototype.revealRangeInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealRange(e,2,!0,t)},t.prototype.revealRangeAtTop=function(e,t){void 0===t&&(t=0),this._revealRange(e,3,!0,t)},t.prototype._revealRange=function(e,t,n,i){if(!z.a.isIRange(e))throw new Error("Invalid arguments");this._sendRevealRange(z.a.lift(e),t,n,i)},t.prototype.setSelections=function(e,t){if(void 0===t&&(t="api"),this._modelData){if(!e||0===e.length)throw new Error("Invalid arguments");for(var n=0,i=e.length;n<i;n++)if(!U.a.isISelection(e[n]))throw new Error("Invalid arguments");this._modelData.cursor.setSelections(t,e)}},t.prototype.getContentWidth=function(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1},t.prototype.getScrollWidth=function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1},t.prototype.getScrollLeft=function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1},t.prototype.getContentHeight=function(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1},t.prototype.getScrollHeight=function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1},t.prototype.getScrollTop=function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1},t.prototype.setScrollLeft=function(e){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPositionNow({scrollLeft:e})}},t.prototype.setScrollTop=function(e){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPositionNow({scrollTop:e})}},t.prototype.setScrollPosition=function(e){this._modelData&&this._modelData.viewModel.viewLayout.setScrollPositionNow(e)},t.prototype.saveViewState=function(){if(!this._modelData)return null;for(var e={},t=0,n=Object.keys(this._contributions);t<n.length;t++){var i=n[t],o=this._contributions[i];"function"==typeof o.saveViewState&&(e[i]=o.saveViewState())}return{cursorState:this._modelData.cursor.saveState(),viewState:this._modelData.viewModel.saveState(),contributionsState:e}},t.prototype.restoreViewState=function(e){if(this._modelData&&this._modelData.hasRealView){var t=e;if(t&&t.cursorState&&t.viewState){var n=t.cursorState;Array.isArray(n)?this._modelData.cursor.restoreState(n):this._modelData.cursor.restoreState([n]);for(var i=t.contributionsState||{},o=Object.keys(this._contributions),r=0,s=o.length;r<s;r++){var a=o[r],u=this._contributions[a];"function"==typeof u.restoreViewState&&u.restoreViewState(i[a])}var l=this._modelData.viewModel.reduceRestoreState(t.viewState);this._modelData.view.restoreState(l)}}},t.prototype.getContribution=function(e){return this._contributions[e]||null},t.prototype.getActions=function(){for(var e=[],t=Object.keys(this._actions),n=0,i=t.length;n<i;n++){var o=t[n];e.push(this._actions[o])}return e},t.prototype.getSupportedActions=function(){var e=this.getActions();return e=e.filter((function(e){return e.isSupported()}))},t.prototype.getAction=function(e){return this._actions[e]||null},t.prototype.trigger=function(e,t,n){if(n=n||{},t===Te.b.Type){if(!this._modelData||"string"!=typeof n.text||0===n.text.length)return;return"keyboard"===e&&this._onWillType.fire(n.text),this._modelData.cursor.trigger(e,t,n),void("keyboard"===e&&this._onDidType.fire(n.text))}if(t!==Te.b.Paste){var i=this.getAction(t);i?Promise.resolve(i.run()).then(void 0,Be.e):this._modelData&&(this._triggerEditorCommand(e,t,n)||(this._modelData.cursor.trigger(e,t,n),t===Te.b.CompositionStart&&this._onDidCompositionStart.fire(),t===Te.b.CompositionEnd&&this._onDidCompositionEnd.fire()))}else{if(!this._modelData||"string"!=typeof n.text||0===n.text.length)return;var o=this._modelData.cursor.getSelection().getStartPosition();this._modelData.cursor.trigger(e,t,n);var r=this._modelData.cursor.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire({range:new z.a(o.lineNumber,o.column,r.lineNumber,r.column),mode:n.mode})}},t.prototype._triggerEditorCommand=function(e,t,n){var i=this,o=or.d.getEditorCommand(t);return!!o&&((n=n||{}).source=e,this._instantiationService.invokeFunction((function(e){Promise.resolve(o.runEditorCommand(e,i,n)).then(void 0,Be.e)})),!0)},t.prototype._getCursors=function(){return this._modelData?this._modelData.cursor:null},t.prototype.pushUndoStop=function(){return!!this._modelData&&(!this._configuration.options.get(68)&&(this._modelData.model.pushStackElement(),!0))},t.prototype.executeEdits=function(e,t,n){return!!this._modelData&&(!this._configuration.options.get(68)&&(i=n?Array.isArray(n)?function(){return n}:n:function(){return null},this._modelData.cursor.executeEdits(e,t,i),!0));var i},t.prototype.executeCommand=function(e,t){this._modelData&&this._modelData.cursor.trigger(e,Te.b.ExecuteCommand,t)},t.prototype.executeCommands=function(e,t){this._modelData&&this._modelData.cursor.trigger(e,Te.b.ExecuteCommands,t)},t.prototype.changeDecorations=function(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null},t.prototype.getLineDecorations=function(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,Object(F.j)(this._configuration.options)):null},t.prototype.deltaDecorations=function(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]},t.prototype.removeDecorations=function(e){var t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]},t.prototype.getLayoutInfo=function(){return this._configuration.options.get(107)},t.prototype.createOverviewRuler=function(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null},t.prototype.getContainerDomNode=function(){return this._domElement},t.prototype.getDomNode=function(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(e)},t.prototype.layout=function(e){this._configuration.observeReferenceElement(e),this.render()},t.prototype.focus=function(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()},t.prototype.hasTextFocus=function(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()},t.prototype.hasWidgetFocus=function(){return this._focusTracker&&this._focusTracker.hasFocus()},t.prototype.addContentWidget=function(e){var t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)},t.prototype.layoutContentWidget=function(e){var t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){var n=this._contentWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(n)}},t.prototype.removeContentWidget=function(e){var t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){var n=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(n)}},t.prototype.addOverlayWidget=function(e){var t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)},t.prototype.layoutOverlayWidget=function(e){var t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){var n=this._overlayWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(n)}},t.prototype.removeOverlayWidget=function(e){var t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){var n=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(n)}},t.prototype.changeViewZones=function(e){this._modelData&&this._modelData.hasRealView&&(this._modelData.view.change(e)&&this._onDidChangeViewZones.fire())},t.prototype.getTargetAtClientPoint=function(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null},t.prototype.getScrolledVisiblePosition=function(e){if(!this._modelData||!this._modelData.hasRealView)return null;var n=this._modelData.model.validatePosition(e),i=this._configuration.options,o=i.get(107);return{top:t._getVerticalOffsetForPosition(this._modelData,n.lineNumber,n.column)-this.getScrollTop(),left:this._modelData.view.getOffsetForColumn(n.lineNumber,n.column)+o.glyphMarginWidth+o.lineNumbersWidth+o.decorationsWidth-this.getScrollLeft(),height:i.get(49)}},t.prototype.getOffsetForColumn=function(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1},t.prototype.render=function(e){void 0===e&&(e=!1),this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)},t.prototype.setAriaOptions=function(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)},t.prototype.applyFontInfo=function(e){ir.applyFontInfoSlow(e,this._configuration.options.get(34))},t.prototype._attachModel=function(e){var t=this;if(e){var n=[];this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setMaxLineNumber(e.getLineCount()),e.onBeforeAttached();var i=new Zl(this._id,this._configuration,e,cc.create(),ic.create(this._configuration.options),(function(e){return Z.Q(e)}));n.push(e.onDidChangeDecorations((function(e){return t._onDidChangeModelDecorations.fire(e)}))),n.push(e.onDidChangeLanguage((function(n){t._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),t._onDidChangeModelLanguage.fire(n)}))),n.push(e.onDidChangeLanguageConfiguration((function(e){return t._onDidChangeModelLanguageConfiguration.fire(e)}))),n.push(e.onDidChangeContent((function(e){return t._onDidChangeModelContent.fire(e)}))),n.push(e.onDidChangeOptions((function(e){return t._onDidChangeModelOptions.fire(e)}))),n.push(e.onWillDispose((function(){return t.setModel(null)})));var o=new _l(this._configuration,e,i);n.push(o.onDidReachMaxCursorCount((function(){t._notificationService.warn(Zn.a("cursors.maximum","The number of cursors has been limited to {0}.",_l.MAX_CURSOR_COUNT))}))),n.push(o.onDidAttemptReadOnlyEdit((function(){t._onDidAttemptReadOnlyEdit.fire(void 0)}))),n.push(o.onDidChange((function(e){for(var n=[],i=0,o=e.selections.length;i<o;i++)n[i]=e.selections[i].getPosition();var r={position:n[0],secondaryPositions:n.slice(1),reason:e.reason,source:e.source};t._onDidChangeCursorPosition.fire(r);var s={selection:e.selections[0],secondarySelections:e.selections.slice(1),modelVersionId:e.modelVersionId,oldSelections:e.oldSelections,oldModelVersionId:e.oldModelVersionId,source:e.source,reason:e.reason};t._onDidChangeCursorSelection.fire(s)})));var r=this._createView(i,o),s=r[0],a=r[1];if(a){this._domElement.appendChild(s.domNode.domNode);for(var u=Object.keys(this._contentWidgets),l=0,c=u.length;l<c;l++){var d=u[l];s.addContentWidget(this._contentWidgets[d])}for(l=0,c=(u=Object.keys(this._overlayWidgets)).length;l<c;l++){d=u[l];s.addOverlayWidget(this._overlayWidgets[d])}s.render(!1,!0),s.domNode.domNode.setAttribute("data-uri",e.uri.toString())}this._modelData=new _c(e,i,o,s,a,n)}else this._modelData=null},t.prototype._createView=function(e,t){var n,i=this;n=this.isSimpleWidget?{executeEditorCommand:function(e,n){e.runCoreEditorCommand(t,n)},paste:function(e,t,n,o,r){i.trigger(e,Te.b.Paste,{text:t,pasteOnNewLine:n,multicursorText:o,mode:r})},type:function(e,t){i.trigger(e,Te.b.Type,{text:t})},replacePreviousChar:function(e,t,n){i.trigger(e,Te.b.ReplacePreviousChar,{text:t,replaceCharCnt:n})},compositionStart:function(e){i.trigger(e,Te.b.CompositionStart,void 0)},compositionEnd:function(e){i.trigger(e,Te.b.CompositionEnd,void 0)},cut:function(e){i.trigger(e,Te.b.Cut,void 0)}}:{executeEditorCommand:function(e,n){e.runCoreEditorCommand(t,n)},paste:function(e,t,n,o,r){i._commandService.executeCommand(Te.b.Paste,{text:t,pasteOnNewLine:n,multicursorText:o,mode:r})},type:function(e,t){i._commandService.executeCommand(Te.b.Type,{text:t})},replacePreviousChar:function(e,t,n){i._commandService.executeCommand(Te.b.ReplacePreviousChar,{text:t,replaceCharCnt:n})},compositionStart:function(e){i._commandService.executeCommand(Te.b.CompositionStart,{})},compositionEnd:function(e){i._commandService.executeCommand(Te.b.CompositionEnd,{})},cut:function(e){i._commandService.executeCommand(Te.b.Cut,{})}};var o=new Da(e);return o.onDidContentSizeChange=function(e){return i._onDidContentSizeChange.fire(e)},o.onDidScroll=function(e){return i._onDidScrollChange.fire(e)},o.onDidGainFocus=function(){return i._editorTextFocus.setValue(!0)},o.onDidLoseFocus=function(){return i._editorTextFocus.setValue(!1)},o.onContextMenu=function(e){return i._onContextMenu.fire(e)},o.onMouseDown=function(e){return i._onMouseDown.fire(e)},o.onMouseUp=function(e){return i._onMouseUp.fire(e)},o.onMouseDrag=function(e){return i._onMouseDrag.fire(e)},o.onMouseDrop=function(e){return i._onMouseDrop.fire(e)},o.onKeyUp=function(e){return i._onKeyUp.fire(e)},o.onMouseMove=function(e){return i._onMouseMove.fire(e)},o.onMouseLeave=function(e){return i._onMouseLeave.fire(e)},o.onMouseWheel=function(e){return i._onMouseWheel.fire(e)},o.onKeyDown=function(e){return i._onKeyDown.fire(e)},[new ul(n,this._configuration,this._themeService,e,t,o),!0]},t.prototype._postDetachModelCleanup=function(e){e&&e.removeAllDecorationsWithOwnerId(this._id)},t.prototype._detachModel=function(){if(!this._modelData)return null;var e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),t&&this._domElement.removeChild(t),e},t.prototype._removeDecorationType=function(e){this._codeEditorService.removeDecorationType(e)},t.prototype.hasModel=function(){return null!==this._modelData},t=gc([mc(3,ue.a),mc(4,Y.a),mc(5,ae.b),mc(6,Zi.c),mc(7,Ir.c),mc(8,lo.a),mc(9,Jl)],t)}(le.a),bc=function(e){function t(){var t=e.call(this)||this;return t._onDidChangeToTrue=t._register(new W.a),t.onDidChangeToTrue=t._onDidChangeToTrue.event,t._onDidChangeToFalse=t._register(new W.a),t.onDidChangeToFalse=t._onDidChangeToFalse.event,t._value=0,t}return pc(t,e),t.prototype.setValue=function(e){var t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())},t}(le.a),Cc=function(e){function t(t,n){var i=e.call(this)||this;return i._editor=t,n.createKey("editorId",t.getId()),i._editorSimpleInput=Cl.a.editorSimpleInput.bindTo(n),i._editorFocus=Cl.a.focus.bindTo(n),i._textInputFocus=Cl.a.textInputFocus.bindTo(n),i._editorTextFocus=Cl.a.editorTextFocus.bindTo(n),i._editorTabMovesFocus=Cl.a.tabMovesFocus.bindTo(n),i._editorReadonly=Cl.a.readOnly.bindTo(n),i._hasMultipleSelections=Cl.a.hasMultipleSelections.bindTo(n),i._hasNonEmptySelection=Cl.a.hasNonEmptySelection.bindTo(n),i._canUndo=Cl.a.canUndo.bindTo(n),i._canRedo=Cl.a.canRedo.bindTo(n),i._register(i._editor.onDidChangeConfiguration((function(){return i._updateFromConfig()}))),i._register(i._editor.onDidChangeCursorSelection((function(){return i._updateFromSelection()}))),i._register(i._editor.onDidFocusEditorWidget((function(){return i._updateFromFocus()}))),i._register(i._editor.onDidBlurEditorWidget((function(){return i._updateFromFocus()}))),i._register(i._editor.onDidFocusEditorText((function(){return i._updateFromFocus()}))),i._register(i._editor.onDidBlurEditorText((function(){return i._updateFromFocus()}))),i._register(i._editor.onDidChangeModel((function(){return i._updateFromModel()}))),i._register(i._editor.onDidChangeConfiguration((function(){return i._updateFromModel()}))),i._updateFromConfig(),i._updateFromSelection(),i._updateFromFocus(),i._updateFromModel(),i._editorSimpleInput.set(i._editor.isSimpleWidget),i}return pc(t,e),t.prototype._updateFromConfig=function(){var e=this._editor.getOptions();this._editorTabMovesFocus.set(e.get(106)),this._editorReadonly.set(e.get(68))},t.prototype._updateFromSelection=function(){var e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some((function(e){return!e.isEmpty()})))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())},t.prototype._updateFromFocus=function(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())},t.prototype._updateFromModel=function(){var e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))},t}(le.a),wc=function(e){function t(t,n){var i=e.call(this)||this;i._editor=t,i._contextKeyService=n,i._langId=Cl.a.languageId.bindTo(n),i._hasCompletionItemProvider=Cl.a.hasCompletionItemProvider.bindTo(n),i._hasCodeActionsProvider=Cl.a.hasCodeActionsProvider.bindTo(n),i._hasCodeLensProvider=Cl.a.hasCodeLensProvider.bindTo(n),i._hasDefinitionProvider=Cl.a.hasDefinitionProvider.bindTo(n),i._hasDeclarationProvider=Cl.a.hasDeclarationProvider.bindTo(n),i._hasImplementationProvider=Cl.a.hasImplementationProvider.bindTo(n),i._hasTypeDefinitionProvider=Cl.a.hasTypeDefinitionProvider.bindTo(n),i._hasHoverProvider=Cl.a.hasHoverProvider.bindTo(n),i._hasDocumentHighlightProvider=Cl.a.hasDocumentHighlightProvider.bindTo(n),i._hasDocumentSymbolProvider=Cl.a.hasDocumentSymbolProvider.bindTo(n),i._hasReferenceProvider=Cl.a.hasReferenceProvider.bindTo(n),i._hasRenameProvider=Cl.a.hasRenameProvider.bindTo(n),i._hasSignatureHelpProvider=Cl.a.hasSignatureHelpProvider.bindTo(n),i._hasDocumentFormattingProvider=Cl.a.hasDocumentFormattingProvider.bindTo(n),i._hasDocumentSelectionFormattingProvider=Cl.a.hasDocumentSelectionFormattingProvider.bindTo(n),i._hasMultipleDocumentFormattingProvider=Cl.a.hasMultipleDocumentFormattingProvider.bindTo(n),i._hasMultipleDocumentSelectionFormattingProvider=Cl.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(n),i._isInWalkThrough=Cl.a.isInEmbeddedEditor.bindTo(n);var o=function(){return i._update()};return i._register(t.onDidChangeModel(o)),i._register(t.onDidChangeModelLanguage(o)),i._register(Re.d.onDidChange(o)),i._register(Re.a.onDidChange(o)),i._register(Re.b.onDidChange(o)),i._register(Re.f.onDidChange(o)),i._register(Re.e.onDidChange(o)),i._register(Re.p.onDidChange(o)),i._register(Re.z.onDidChange(o)),i._register(Re.o.onDidChange(o)),i._register(Re.h.onDidChange(o)),i._register(Re.l.onDidChange(o)),i._register(Re.t.onDidChange(o)),i._register(Re.u.onDidChange(o)),i._register(Re.g.onDidChange(o)),i._register(Re.i.onDidChange(o)),i._register(Re.w.onDidChange(o)),o(),i}return pc(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.reset=function(){var e=this;this._contextKeyService.bufferChangeEvents((function(){e._langId.reset(),e._hasCompletionItemProvider.reset(),e._hasCodeActionsProvider.reset(),e._hasCodeLensProvider.reset(),e._hasDefinitionProvider.reset(),e._hasDeclarationProvider.reset(),e._hasImplementationProvider.reset(),e._hasTypeDefinitionProvider.reset(),e._hasHoverProvider.reset(),e._hasDocumentHighlightProvider.reset(),e._hasDocumentSymbolProvider.reset(),e._hasReferenceProvider.reset(),e._hasRenameProvider.reset(),e._hasDocumentFormattingProvider.reset(),e._hasDocumentSelectionFormattingProvider.reset(),e._hasSignatureHelpProvider.reset(),e._isInWalkThrough.reset()}))},t.prototype._update=function(){var e=this,t=this._editor.getModel();t?this._contextKeyService.bufferChangeEvents((function(){e._langId.set(t.getLanguageIdentifier().language),e._hasCompletionItemProvider.set(Re.d.has(t)),e._hasCodeActionsProvider.set(Re.a.has(t)),e._hasCodeLensProvider.set(Re.b.has(t)),e._hasDefinitionProvider.set(Re.f.has(t)),e._hasDeclarationProvider.set(Re.e.has(t)),e._hasImplementationProvider.set(Re.p.has(t)),e._hasTypeDefinitionProvider.set(Re.z.has(t)),e._hasHoverProvider.set(Re.o.has(t)),e._hasDocumentHighlightProvider.set(Re.h.has(t)),e._hasDocumentSymbolProvider.set(Re.l.has(t)),e._hasReferenceProvider.set(Re.t.has(t)),e._hasRenameProvider.set(Re.u.has(t)),e._hasSignatureHelpProvider.set(Re.w.has(t)),e._hasDocumentFormattingProvider.set(Re.g.has(t)||Re.i.has(t)),e._hasDocumentSelectionFormattingProvider.set(Re.i.has(t)),e._hasMultipleDocumentFormattingProvider.set(Re.g.all(t).length+Re.i.all(t).length>1),e._hasMultipleDocumentSelectionFormattingProvider.set(Re.i.all(t).length>1),e._isInWalkThrough.set(t.uri.scheme===$.b.walkThroughSnippet)})):this.reset()},t}(le.a),Sc=function(e){function t(t){var n=e.call(this)||this;return n._onChange=n._register(new W.a),n.onChange=n._onChange.event,n._hasFocus=!1,n._domFocusTracker=n._register(Z.T(t)),n._register(n._domFocusTracker.onDidFocus((function(){n._hasFocus=!0,n._onChange.fire(void 0)}))),n._register(n._domFocusTracker.onDidBlur((function(){n._hasFocus=!1,n._onChange.fire(void 0)}))),n}return pc(t,e),t.prototype.hasFocus=function(){return this._hasFocus},t}(le.a),Lc=encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='"),Nc=encodeURIComponent("'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>");function Oc(e){return Lc+encodeURIComponent(e.toString())+Nc}var Dc=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),xc=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');Object(Ir.e)((function(e,t){var n=e.getColor(Ns.o);n&&t.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+n+"; }");var i=e.getColor(Ns.p);i&&t.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+Oc(i)+'") repeat-x bottom left; }');var o=e.getColor(Ns.F);o&&t.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+o+"; }");var r=e.getColor(Ns.G);r&&t.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+Oc(r)+'") repeat-x bottom left; }');var s=e.getColor(Ns.A);s&&t.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+s+"; }");var a=e.getColor(Ns.B);a&&t.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+Oc(a)+'") repeat-x bottom left; }');var u=e.getColor(Ns.x);u&&t.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+u+"; }");var l=e.getColor(Ns.y);l&&t.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+(Dc+encodeURIComponent(l.toString())+xc+'") no-repeat bottom left; }'));var c=e.getColor(Us);c&&t.addRule(".monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: "+c.rgba.a+"; }");var d=e.getColor(zs);d&&t.addRule(".monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed "+d+"; }");var h=e.getColor(Ns.w)||"inherit";t.addRule(".monaco-editor .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: "+h+"}")}));n("lKfe");var Ec=n("cMOf"),kc=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=!1),this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n},Ic=[];var Mc,Tc,Ac,Rc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Pc=Object(ue.c)("IEditorCancelService"),Fc=new Zi.d("cancellableOperation",!1);Mc=Pc,Tc=function(){function e(){this._tokens=new WeakMap}return e.prototype.add=function(e,t){var n,i=this._tokens.get(e);return i||(i=e.invokeWithinContext((function(e){return{key:Fc.bindTo(e.get(Zi.c)),tokens:new X.a}})),this._tokens.set(e,i)),i.key.set(!0),n=i.tokens.push(t),function(){n&&(n(),i.key.set(!i.tokens.isEmpty()),n=void 0)}},e.prototype.cancel=function(e){var t=this._tokens.get(e);if(t){var n=t.tokens.pop();n&&(n.cancel(),t.key.set(!t.tokens.isEmpty()))}},e}(),Ac=!0,Ic.push([Mc,new kc(Tc,[],Ac)]);var Vc=function(e){function t(t,n){var i=e.call(this,n)||this;return i.editor=t,i._unregister=t.invokeWithinContext((function(e){return e.get(Pc).add(t,i)})),i}return Rc(t,e),t.prototype.dispose=function(){this._unregister(),e.prototype.dispose.call(this)},t}(V.a);Object(or.f)(new(function(e){function t(){return e.call(this,{id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:Fc})||this}return Rc(t,e),t.prototype.runEditorCommand=function(e,t){e.get(Pc).cancel(t)},t}(or.c)));var Wc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Bc=(function(){function e(e,t){if(this.flags=t,0!=(1&this.flags)){var n=e.getModel();this.modelVersionId=n?ne.p("{0}#{1}",n.uri.toString(),n.getVersionId()):null}else this.modelVersionId=null;0!=(4&this.flags)?this.position=e.getPosition():this.position=null,0!=(2&this.flags)?this.selection=e.getSelection():this.selection=null,0!=(8&this.flags)?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}e.prototype._equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.modelVersionId===n.modelVersionId&&(this.scrollLeft===n.scrollLeft&&this.scrollTop===n.scrollTop&&(!(!this.position&&n.position||this.position&&!n.position||this.position&&n.position&&!this.position.equals(n.position))&&!(!this.selection&&n.selection||this.selection&&!n.selection||this.selection&&n.selection&&!this.selection.equalsRange(n.selection))))},e.prototype.validate=function(t){return this._equals(new e(t,this.flags))}}(),function(e){function t(t,n,i){var o=e.call(this,t,i)||this;return o.editor=t,o._listener=new le.b,4&n&&o._listener.add(t.onDidChangeCursorPosition((function(e){return o.cancel()}))),2&n&&o._listener.add(t.onDidChangeCursorSelection((function(e){return o.cancel()}))),8&n&&o._listener.add(t.onDidScrollChange((function(e){return o.cancel()}))),1&n&&(o._listener.add(t.onDidChangeModel((function(e){return o.cancel()}))),o._listener.add(t.onDidChangeModelContent((function(e){return o.cancel()})))),o}Wc(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)}}(Vc),function(e){function t(t,n){var i=e.call(this,n)||this;return i._listener=t.onDidChangeContent((function(){return i.cancel()})),i}Wc(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)}}(V.a),function(){function e(e,t){this._visiblePosition=e,this._visiblePositionScrollDelta=t}return e.capture=function(t){var n=null,i=0;if(0!==t.getScrollTop()){var o=t.getVisibleRanges();if(o.length>0){n=o[0].getStartPosition();var r=t.getTopForPosition(n.lineNumber,n.column);i=t.getScrollTop()-r}}return new e(n,i)},e.prototype.restore=function(e){if(this._visiblePosition){var t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}},e}()),jc=(n("DTDp"),n("WqXY")),Hc=n("8HAY"),zc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Uc=function(){function e(e,t,n,i){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=n,this.modifiedLineEnd=i}return e.prototype.getType=function(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0},e}(),Kc=function(e){this.entries=e},qc=function(e){function t(t){var n=e.call(this)||this;return n._width=0,n._diffEditor=t,n._isVisible=!1,n.shadow=Object(rr.b)(document.createElement("div")),n.shadow.setClassName("diff-review-shadow"),n.actionBarContainer=Object(rr.b)(document.createElement("div")),n.actionBarContainer.setClassName("diff-review-actions"),n._actionBar=n._register(new jc.a(n.actionBarContainer.domNode)),n._actionBar.push(new Hc.a("diffreview.close",Zn.a("label.close","Close"),"close-diff-review",!0,(function(){return n.hide(),Promise.resolve(null)})),{label:!1,icon:!0}),n.domNode=Object(rr.b)(document.createElement("div")),n.domNode.setClassName("diff-review monaco-editor-background"),n._content=Object(rr.b)(document.createElement("div")),n._content.setClassName("diff-review-content"),n.scrollbar=n._register(new Ya.a(n._content.domNode,{})),n.domNode.domNode.appendChild(n.scrollbar.getDomNode()),n._register(t.onDidUpdateDiff((function(){n._isVisible&&(n._diffs=n._compute(),n._render())}))),n._register(t.getModifiedEditor().onDidChangeCursorPosition((function(){n._isVisible&&n._render()}))),n._register(t.getOriginalEditor().onDidFocusEditorWidget((function(){n._isVisible&&n.hide()}))),n._register(t.getModifiedEditor().onDidFocusEditorWidget((function(){n._isVisible&&n.hide()}))),n._register(Z.k(n.domNode.domNode,"click",(function(e){e.preventDefault();var t=Z.r(e.target,"diff-review-row");t&&n._goToRow(t)}))),n._register(Z.k(n.domNode.domNode,"keydown",(function(e){(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),n._goToRow(n._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),n._goToRow(n._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),n.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),n.accept())}))),n._diffs=[],n._currentDiff=null,n}return zc(t,e),t.prototype.prev=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var t=-1,n=0,i=this._diffs.length;n<i;n++)if(this._diffs[n]===this._currentDiff){t=n;break}e=this._diffs.length+t-1}else e=this._findDiffIndex(this._diffEditor.getPosition());0!==this._diffs.length&&(e%=this._diffs.length,this._diffEditor.setPosition(new H.a(this._diffs[e].entries[0].modifiedLineStart,1)),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow()))},t.prototype.next=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var t=-1,n=0,i=this._diffs.length;n<i;n++)if(this._diffs[n]===this._currentDiff){t=n;break}e=t+1}else e=this._findDiffIndex(this._diffEditor.getPosition());0!==this._diffs.length&&(e%=this._diffs.length,this._diffEditor.setPosition(new H.a(this._diffs[e].entries[0].modifiedLineStart,1)),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow()))},t.prototype.accept=function(){var e=-1,t=this._getCurrentFocusedRow();if(t){var n=parseInt(t.getAttribute("data-line"),10);isNaN(n)||(e=n)}this.hide(),-1!==e&&(this._diffEditor.setPosition(new H.a(e,1)),this._diffEditor.revealPosition(new H.a(e,1),1))},t.prototype.hide=function(){this._isVisible=!1,this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()},t.prototype._getPrevRow=function(){var e=this._getCurrentFocusedRow();return e?e.previousElementSibling?e.previousElementSibling:e:this._getFirstRow()},t.prototype._getNextRow=function(){var e=this._getCurrentFocusedRow();return e?e.nextElementSibling?e.nextElementSibling:e:this._getFirstRow()},t.prototype._getFirstRow=function(){return this.domNode.domNode.querySelector(".diff-review-row")},t.prototype._getCurrentFocusedRow=function(){var e=document.activeElement;return e&&/diff-review-row/.test(e.className)?e:null},t.prototype._goToRow=function(e){var t=this._getCurrentFocusedRow();e.tabIndex=0,e.focus(),t&&t!==e&&(t.tabIndex=-1),this.scrollbar.scanDomNode()},t.prototype.isVisible=function(){return this._isVisible},t.prototype.layout=function(e,t,n){this._width=t,this.shadow.setTop(e-6),this.shadow.setWidth(t),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(e),this.domNode.setWidth(t),this.domNode.setHeight(n),this._content.setHeight(n),this._content.setWidth(t),this._isVisible?(this.actionBarContainer.setAttribute("aria-hidden","false"),this.actionBarContainer.setDisplay("block")):(this.actionBarContainer.setAttribute("aria-hidden","true"),this.actionBarContainer.setDisplay("none"))},t.prototype._compute=function(){var e=this._diffEditor.getLineChanges();if(!e||0===e.length)return[];var n=this._diffEditor.getOriginalEditor().getModel(),i=this._diffEditor.getModifiedEditor().getModel();return n&&i?t._mergeAdjacent(e,n.getLineCount(),i.getLineCount()):[]},t._mergeAdjacent=function(e,t,n){if(!e||0===e.length)return[];for(var i=[],o=0,r=0,s=e.length;r<s;r++){var a=e[r],u=a.originalStartLineNumber,l=a.originalEndLineNumber,c=a.modifiedStartLineNumber,d=a.modifiedEndLineNumber,h=[],f=0,p=0===l?u:u-1,g=0===d?c:c-1,m=1,v=1;if(r>0){var _=e[r-1];m=0===_.originalEndLineNumber?_.originalStartLineNumber+1:_.originalEndLineNumber+1,v=0===_.modifiedEndLineNumber?_.modifiedStartLineNumber+1:_.modifiedEndLineNumber+1}var y=p-3+1,b=g-3+1;if(y<m)y+=O=m-y,b+=O;if(b<v)y+=O=v-b,b+=O;h[f++]=new Uc(y,p,b,g),0!==l&&(h[f++]=new Uc(u,l,0,0)),0!==d&&(h[f++]=new Uc(0,0,c,d));var C=0===l?u+1:l+1,w=0===d?c+1:d+1,S=t,L=n;if(r+1<s){var N=e[r+1];S=0===N.originalEndLineNumber?N.originalStartLineNumber:N.originalStartLineNumber-1,L=0===N.modifiedEndLineNumber?N.modifiedStartLineNumber:N.modifiedStartLineNumber-1}var O,D=C+3-1,x=w+3-1;if(D>S)D+=O=S-D,x+=O;if(x>L)D+=O=L-x,x+=O;h[f++]=new Uc(C,D,w,x),i[o++]=new Kc(h)}var E=i[0].entries,k=[],I=0;for(r=1,s=i.length;r<s;r++){var M=i[r].entries,T=E[E.length-1],A=M[0];0===T.getType()&&0===A.getType()&&A.originalLineStart<=T.originalLineEnd?(E[E.length-1]=new Uc(T.originalLineStart,A.originalLineEnd,T.modifiedLineStart,A.modifiedLineEnd),E=E.concat(M.slice(1))):(k[I++]=new Kc(E),E=M)}return k[I++]=new Kc(E),k},t.prototype._findDiffIndex=function(e){for(var t=e.lineNumber,n=0,i=this._diffs.length;n<i;n++){var o=this._diffs[n].entries;if(t<=o[o.length-1].modifiedLineEnd)return n}return 0},t.prototype._render=function(){var e=this._diffEditor.getOriginalEditor().getOptions(),n=this._diffEditor.getModifiedEditor().getOptions(),i=this._diffEditor.getOriginalEditor().getModel(),o=this._diffEditor.getModifiedEditor().getModel(),r=i.getOptions(),s=o.getOptions();if(!this._isVisible||!i||!o)return Z.o(this._content.domNode),this._currentDiff=null,void this.scrollbar.scanDomNode();var a=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[a]!==this._currentDiff){this._currentDiff=this._diffs[a];var u=this._diffs[a].entries,l=document.createElement("div");l.className="diff-review-table",l.setAttribute("role","list"),ir.applyFontInfoSlow(l,n.get(34));for(var c=0,d=0,h=0,f=0,p=0,g=u.length;p<g;p++){var m=(x=u[p]).originalLineStart,v=x.originalLineEnd,_=x.modifiedLineStart,y=x.modifiedLineEnd;0!==m&&(0===c||m<c)&&(c=m),0!==v&&(0===d||v>d)&&(d=v),0!==_&&(0===h||_<h)&&(h=_),0!==y&&(0===f||y>f)&&(f=y)}var b=document.createElement("div");b.className="diff-review-row";var C=document.createElement("div");C.className="diff-review-cell diff-review-summary";var w=d-c+1,S=f-h+1;C.appendChild(document.createTextNode(a+1+"/"+this._diffs.length+": @@ -"+c+","+w+" +"+h+","+S+" @@")),b.setAttribute("data-line",String(h));var L=function(e){return 0===e?Zn.a("no_lines","no lines"):1===e?Zn.a("one_line","1 line"):Zn.a("more_lines","{0} lines",e)},N=L(w),O=L(S);b.setAttribute("aria-label",Zn.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines", "1 line" or "X lines", localized separately.']},"Difference {0} of {1}: original {2}, {3}, modified {4}, {5}",a+1,this._diffs.length,c,N,h,O)),b.appendChild(C),b.setAttribute("role","listitem"),l.appendChild(b);var D=h;for(p=0,g=u.length;p<g;p++){var x=u[p];t._renderSection(l,x,D,this._width,e,i,r,n,o,s),0!==x.modifiedLineStart&&(D=x.modifiedLineEnd)}Z.o(this._content.domNode),this._content.domNode.appendChild(l),this.scrollbar.scanDomNode()}},t._renderSection=function(e,t,n,i,o,r,s,a,u,l){var c=t.getType(),d="diff-review-row",h="",f="diff-review-spacer";switch(c){case 1:d="diff-review-row line-insert",h=" char-insert",f="diff-review-spacer insert-sign";break;case 2:d="diff-review-row line-delete",h=" char-delete",f="diff-review-spacer delete-sign"}for(var p=t.originalLineStart,g=t.originalLineEnd,m=t.modifiedLineStart,v=t.modifiedLineEnd,_=Math.max(v-m,g-p),y=o.get(107),b=y.glyphMarginWidth+y.lineNumbersWidth,C=a.get(107),w=10+C.glyphMarginWidth+C.lineNumbersWidth,S=0;S<=_;S++){var L=0===p?0:p+S,N=0===m?0:m+S,O=document.createElement("div");O.style.minWidth=i+"px",O.className=d,O.setAttribute("role","listitem"),0!==N&&(n=N),O.setAttribute("data-line",String(n));var D=document.createElement("div");D.className="diff-review-cell",O.appendChild(D);var x=document.createElement("span");x.style.width=b+"px",x.style.minWidth=b+"px",x.className="diff-review-line-number"+h,0!==L?x.appendChild(document.createTextNode(String(L))):x.innerHTML=" ",D.appendChild(x);var E=document.createElement("span");E.style.width=w+"px",E.style.minWidth=w+"px",E.style.paddingRight="10px",E.className="diff-review-line-number"+h,0!==N?E.appendChild(document.createTextNode(String(N))):E.innerHTML=" ",D.appendChild(E);var k=document.createElement("span");k.className=f,k.innerHTML="  ",D.appendChild(k);var I=void 0;0!==N?(D.insertAdjacentHTML("beforeend",this._renderLine(u,a,l.tabSize,N)),I=u.getLineContent(N)):(D.insertAdjacentHTML("beforeend",this._renderLine(r,o,s.tabSize,L)),I=r.getLineContent(L)),0===I.length&&(I=Zn.a("blankLine","blank"));var M="";switch(c){case 0:M=Zn.a("equalLine","original {0}, modified {1}: {2}",L,N,I);break;case 1:M=Zn.a("insertLine","+ modified {0}: {1}",N,I);break;case 2:M=Zn.a("deleteLine","- original {0}: {1}",L,I)}O.setAttribute("aria-label",M),e.appendChild(O)}},t._renderLine=function(e,t,n,i){var o=e.getLineContent(i),r=t.get(34),s=new Uint32Array(2);s[0]=o.length,s[1]=16793600;var a=new on.a(s,o),u=Sn.isBasicASCII(o,e.mightContainNonBasicASCII()),l=Sn.containsRTL(o,u,e.mightContainRTL());return _n(new fn(r.isMonospace&&!t.get(23),r.canUseHalfwidthRightwardsArrow,o,!1,u,l,0,a,[],n,0,r.spaceWidth,r.middotWidth,t.get(88),t.get(74),t.get(69),t.get(35)!==F.d.OFF,null)).html},t}(le.a);Object(Ir.e)((function(e,t){var n=e.getColor(Fs);n&&t.addRule(".monaco-diff-editor .diff-review-line-number { color: "+n+"; }");var i=e.getColor(Ns.Gb);i&&t.addRule(".monaco-diff-editor .diff-review-shadow { box-shadow: "+i+" 0 -6px 6px -6px inset; }")}));var Gc=function(e){function t(){return e.call(this,{id:"editor.action.diffReview.next",label:Zn.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:Zi.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})||this}return zc(t,e),t.prototype.run=function(e,t){var n=Zc(e);n&&n.diffReviewNext()},t}(or.b),Yc=function(e){function t(){return e.call(this,{id:"editor.action.diffReview.prev",label:Zn.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:Zi.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})||this}return zc(t,e),t.prototype.run=function(e,t){var n=Zc(e);n&&n.diffReviewPrev()},t}(or.b);function Zc(e){for(var t=e.get(Y.a).listDiffEditors(),n=0,i=t.length;n<i;n++){var o=t[n];if(o.hasWidgetFocus())return o}return null}Object(or.e)(Gc),Object(or.e)(Yc);var Xc=n("Uzvx"),Jc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Qc=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},$c=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},ed=function(e){function t(t,n,i,o,r,s){var a=e.call(this)||this;a._viewZoneId=t,a._marginDomNode=n,a.editor=i,a.diff=o,a._contextMenuService=r,a._clipboardService=s,a._visibility=!1,a._marginDomNode.style.zIndex="10",a._diffActions=document.createElement("div"),a._diffActions.className="codicon codicon-lightbulb lightbulb-glyph",a._diffActions.style.position="absolute";var u=i.getOption(49),l=i.getModel().getEOL();a._diffActions.style.right="0px",a._diffActions.style.visibility="hidden",a._diffActions.style.height=u+"px",a._diffActions.style.lineHeight=u+"px",a._marginDomNode.appendChild(a._diffActions);var c=[];c.push(new Hc.a("diff.clipboard.copyDeletedContent",o.originalEndLineNumber>o.modifiedStartLineNumber?Zn.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):Zn.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,(function(){return Qc(a,void 0,void 0,(function(){return $c(this,(function(e){switch(e.label){case 0:return[4,this._clipboardService.writeText(o.originalContent.join(l)+l)];case 1:return e.sent(),[2]}}))}))})));var d=0,h=void 0;o.originalEndLineNumber>o.modifiedStartLineNumber&&(h=new Hc.a("diff.clipboard.copyDeletedLineContent",Zn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",o.originalStartLineNumber),void 0,!0,(function(){return Qc(a,void 0,void 0,(function(){return $c(this,(function(e){switch(e.label){case 0:return[4,this._clipboardService.writeText(o.originalContent[d])];case 1:return e.sent(),[2]}}))}))})),c.push(h)),i.getOption(68)||c.push(new Hc.a("diff.inline.revertChange",Zn.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,(function(){return Qc(a,void 0,void 0,(function(){var e;return $c(this,(function(t){return 0===o.modifiedEndLineNumber?(e=i.getModel().getLineMaxColumn(o.modifiedStartLineNumber),i.executeEdits("diffEditor",[{range:new z.a(o.modifiedStartLineNumber,e,o.modifiedStartLineNumber,e),text:l+o.originalContent.join(l)}])):(e=i.getModel().getLineMaxColumn(o.modifiedEndLineNumber),i.executeEdits("diffEditor",[{range:new z.a(o.modifiedStartLineNumber,1,o.modifiedEndLineNumber,e),text:o.originalContent.join(l)}])),[2]}))}))})));var f=function(e,t){a._contextMenuService.showContextMenu({getAnchor:function(){return{x:e,y:t}},getActions:function(){return h&&(h.label=Zn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",o.originalStartLineNumber+d)),c},autoSelectFirstItem:!0})};return a._register(Z.k(a._diffActions,"mousedown",(function(e){var t=Z.w(a._diffActions),n=t.top,i=t.height,o=Math.floor(u/3);e.preventDefault(),f(e.posx,n+i+o)}))),a._register(i.onMouseMove((function(e){8===e.target.type||5===e.target.type?e.target.detail.viewZoneId===a._viewZoneId?(a.visibility=!0,d=a._updateLightBulbPosition(a._marginDomNode,e.event.browserEvent.y,u)):a.visibility=!1:a.visibility=!1}))),a._register(i.onMouseDown((function(e){e.event.rightButton&&(8!==e.target.type&&5!==e.target.type||e.target.detail.viewZoneId===a._viewZoneId&&(e.event.preventDefault(),d=a._updateLightBulbPosition(a._marginDomNode,e.event.browserEvent.y,u),f(e.event.posx,e.event.posy+u)))}))),a}return Jc(t,e),Object.defineProperty(t.prototype,"visibility",{get:function(){return this._visibility},set:function(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?"visible":"hidden")},enumerable:!0,configurable:!0}),t.prototype._updateLightBulbPosition=function(e,t,n){var i=t-Z.w(e).top,o=Math.floor(i/n),r=o*n;return this._diffActions.style.top=r+"px",o},t}(le.a),td=Object(ue.c)("editorProgressService"),nd=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),id=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},od=function(e,t){return function(n,i){t(n,i,e)}},rd=function(){function e(e,t){this._contextMenuService=e,this._clipboardService=t,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}return e.prototype.getForeignViewZones=function(e){var t=this;return e.filter((function(e){return!t._zonesMap[String(e.id)]}))},e.prototype.clean=function(e){var t=this;this._zones.length>0&&e.changeViewZones((function(e){for(var n=0,i=t._zones.length;n<i;n++)e.removeZone(t._zones[n])})),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])},e.prototype.apply=function(e,t,n,i){var o=this,r=i?Bc.capture(e):null;e.changeViewZones((function(t){for(var i=0,r=o._zones.length;i<r;i++)t.removeZone(o._zones[i]);i=0;for(var s=o.inlineDiffMargins.length;i<s;i++)o.inlineDiffMargins[i].dispose();o._zones=[],o._zonesMap={},o.inlineDiffMargins=[];i=0;for(var a=n.zones.length;i<a;i++){var u=n.zones[i];u.suppressMouseDown=!0;var l=t.addZone(u);o._zones.push(l),o._zonesMap[String(l)]=!0,n.zones[i].diff&&u.marginDomNode&&o._clipboardService&&(u.suppressMouseDown=!1,o.inlineDiffMargins.push(new ed(l,u.marginDomNode,e,n.zones[i].diff,o._contextMenuService,o._clipboardService)))}})),r&&r.restore(e),this._decorations=e.deltaDecorations(this._decorations,n.decorations),t&&t.setZones(n.overviewZones)},e}(),sd=0,ad=function(e){function t(n,i,o,r,s,a,u,l,c,d,h){var f=e.call(this)||this;f._editorProgressService=h,f._onDidDispose=f._register(new W.a),f.onDidDispose=f._onDidDispose.event,f._onDidUpdateDiff=f._register(new W.a),f.onDidUpdateDiff=f._onDidUpdateDiff.event,f._lastOriginalWarning=null,f._lastModifiedWarning=null,f._editorWorkerService=r,f._codeEditorService=u,f._contextKeyService=f._register(s.createScoped(n)),f._contextKeyService.createKey("isInDiffEditor",!0),f._themeService=l,f._notificationService=c,f.id=++sd,f._state=0,f._updatingDiffProgress=null,f._domElement=n,i=i||{},f._renderSideBySide=!0,void 0!==i.renderSideBySide&&(f._renderSideBySide=i.renderSideBySide),f._maxComputationTime=5e3,void 0!==i.maxComputationTime&&(f._maxComputationTime=i.maxComputationTime),f._ignoreTrimWhitespace=!0,void 0!==i.ignoreTrimWhitespace&&(f._ignoreTrimWhitespace=i.ignoreTrimWhitespace),f._renderIndicators=!0,void 0!==i.renderIndicators&&(f._renderIndicators=i.renderIndicators),f._originalIsEditable=!1,void 0!==i.originalEditable&&(f._originalIsEditable=Boolean(i.originalEditable)),f._updateDecorationsRunner=f._register(new We.d((function(){return f._updateDecorations()}),0)),f._containerDomElement=document.createElement("div"),f._containerDomElement.className=t._getClassName(f._themeService.getTheme(),f._renderSideBySide),f._containerDomElement.style.position="relative",f._containerDomElement.style.height="100%",f._domElement.appendChild(f._containerDomElement),f._overviewViewportDomElement=Object(rr.b)(document.createElement("div")),f._overviewViewportDomElement.setClassName("diffViewport"),f._overviewViewportDomElement.setPosition("absolute"),f._overviewDomElement=document.createElement("div"),f._overviewDomElement.className="diffOverview",f._overviewDomElement.style.position="absolute",f._overviewDomElement.appendChild(f._overviewViewportDomElement.domNode),f._register(Z.k(f._overviewDomElement,"mousedown",(function(e){f.modifiedEditor.delegateVerticalScrollbarMouseDown(e)}))),f._containerDomElement.appendChild(f._overviewDomElement),f._originalDomNode=document.createElement("div"),f._originalDomNode.className="editor original",f._originalDomNode.style.position="absolute",f._originalDomNode.style.height="100%",f._containerDomElement.appendChild(f._originalDomNode),f._modifiedDomNode=document.createElement("div"),f._modifiedDomNode.className="editor modified",f._modifiedDomNode.style.position="absolute",f._modifiedDomNode.style.height="100%",f._containerDomElement.appendChild(f._modifiedDomNode),f._beginUpdateDecorationsTimeout=-1,f._currentlyChangingViewZones=!1,f._diffComputationToken=0,f._originalEditorState=new rd(d,o),f._modifiedEditorState=new rd(d,o),f._isVisible=!0,f._isHandlingScrollEvent=!1,f._elementSizeObserver=f._register(new $o(f._containerDomElement,void 0,(function(){return f._onDidContainerSizeChanged()}))),i.automaticLayout&&f._elementSizeObserver.startObserving(),f._diffComputationResult=null;var p=f._contextKeyService.createScoped();p.createKey("isInDiffLeftEditor",!0);var g=new Xl;g.set(Zi.c,p);var m=a.createChild(g),v=f._contextKeyService.createScoped();v.createKey("isInDiffRightEditor",!0);var _=new Xl;_.set(Zi.c,v);var y=a.createChild(_);f.originalEditor=f._createLeftHandSideEditor(i,m),f.modifiedEditor=f._createRightHandSideEditor(i,y),f._originalOverviewRuler=null,f._modifiedOverviewRuler=null,f._reviewPane=new qc(f),f._containerDomElement.appendChild(f._reviewPane.domNode.domNode),f._containerDomElement.appendChild(f._reviewPane.shadow.domNode),f._containerDomElement.appendChild(f._reviewPane.actionBarContainer.domNode),f._enableSplitViewResizing=!0,void 0!==i.enableSplitViewResizing&&(f._enableSplitViewResizing=i.enableSplitViewResizing),f._renderSideBySide?f._setStrategy(new fd(f._createDataSource(),f._enableSplitViewResizing)):f._setStrategy(new gd(f._createDataSource(),f._enableSplitViewResizing)),f._register(l.onThemeChange((function(e){f._strategy&&f._strategy.applyColors(e)&&f._updateDecorationsRunner.schedule(),f._containerDomElement.className=t._getClassName(f._themeService.getTheme(),f._renderSideBySide)})));for(var b=0,C=or.d.getDiffEditorContributions();b<C.length;b++){var w=C[b];try{f._register(a.createInstance(w.ctor,f))}catch(e){Object(Be.e)(e)}}return f._codeEditorService.addDiffEditor(f),f}return nd(t,e),t.prototype._setState=function(e){this._state!==e&&(this._state=e,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),1===this._state&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))},t.prototype.hasWidgetFocus=function(){return Z.E(document.activeElement,this._domElement)},t.prototype.diffReviewNext=function(){this._reviewPane.next()},t.prototype.diffReviewPrev=function(){this._reviewPane.prev()},t._getClassName=function(e,t){var n="monaco-diff-editor monaco-editor-background ";return t&&(n+="side-by-side "),n+=Object(Ir.d)(e.type)},t.prototype._recreateOverviewRulers=function(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this.originalEditor.hasModel()&&(this._originalOverviewRuler=this.originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this.modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this.modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers()},t.prototype._createLeftHandSideEditor=function(e,t){var n=this,i=this._createInnerEditor(t,this._originalDomNode,this._adjustOptionsForLeftHandSide(e,this._originalIsEditable));return this._register(i.onDidScrollChange((function(e){n._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(n._isHandlingScrollEvent=!0,n.modifiedEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),n._isHandlingScrollEvent=!1,n._layoutOverviewViewport())}))),this._register(i.onDidChangeViewZones((function(){n._onViewZonesChanged()}))),this._register(i.onDidChangeModelContent((function(){n._isVisible&&n._beginUpdateDecorationsSoon()}))),i},t.prototype._createRightHandSideEditor=function(e,t){var n=this,i=this._createInnerEditor(t,this._modifiedDomNode,this._adjustOptionsForRightHandSide(e));return this._register(i.onDidScrollChange((function(e){n._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(n._isHandlingScrollEvent=!0,n.originalEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),n._isHandlingScrollEvent=!1,n._layoutOverviewViewport())}))),this._register(i.onDidChangeViewZones((function(){n._onViewZonesChanged()}))),this._register(i.onDidChangeConfiguration((function(e){e.hasChanged(34)&&i.getModel()&&n._onViewZonesChanged()}))),this._register(i.onDidChangeModelContent((function(){n._isVisible&&n._beginUpdateDecorationsSoon()}))),this._register(i.onDidChangeModelOptions((function(e){e.tabSize&&n._updateDecorationsRunner.schedule()}))),i},t.prototype._createInnerEditor=function(e,t,n){return e.createInstance(yc,t,n,{})},t.prototype.dispose=function(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this.originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this.modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),e.prototype.dispose.call(this)},t.prototype.getId=function(){return this.getEditorType()+":"+this.id},t.prototype.getEditorType=function(){return Te.a.IDiffEditor},t.prototype.getLineChanges=function(){return this._diffComputationResult?this._diffComputationResult.changes:null},t.prototype.getOriginalEditor=function(){return this.originalEditor},t.prototype.getModifiedEditor=function(){return this.modifiedEditor},t.prototype.updateOptions=function(e){var n=!1;void 0!==e.renderSideBySide&&this._renderSideBySide!==e.renderSideBySide&&(this._renderSideBySide=e.renderSideBySide,n=!0),void 0!==e.maxComputationTime&&(this._maxComputationTime=e.maxComputationTime,this._isVisible&&this._beginUpdateDecorationsSoon());var i=!1;void 0!==e.ignoreTrimWhitespace&&this._ignoreTrimWhitespace!==e.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=e.ignoreTrimWhitespace,i=!0),void 0!==e.renderIndicators&&this._renderIndicators!==e.renderIndicators&&(this._renderIndicators=e.renderIndicators,i=!0),i&&this._beginUpdateDecorations(),void 0!==e.originalEditable&&(this._originalIsEditable=Boolean(e.originalEditable)),this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(e)),this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(e,this._originalIsEditable)),void 0!==e.enableSplitViewResizing&&(this._enableSplitViewResizing=e.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),n&&(this._renderSideBySide?this._setStrategy(new fd(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new gd(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=t._getClassName(this._themeService.getTheme(),this._renderSideBySide))},t.prototype.getModel=function(){return{original:this.originalEditor.getModel(),modified:this.modifiedEditor.getModel()}},t.prototype.setModel=function(e){if(e&&(!e.original||!e.modified))throw new Error(e.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this.originalEditor.setModel(e?e.original:null),this.modifiedEditor.setModel(e?e.modified:null),this._updateDecorationsRunner.cancel(),e&&(this.originalEditor.setScrollTop(0),this.modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),e&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()},t.prototype.getDomNode=function(){return this._domElement},t.prototype.getVisibleColumnFromPosition=function(e){return this.modifiedEditor.getVisibleColumnFromPosition(e)},t.prototype.getPosition=function(){return this.modifiedEditor.getPosition()},t.prototype.setPosition=function(e){this.modifiedEditor.setPosition(e)},t.prototype.revealLine=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLine(e,t)},t.prototype.revealLineInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLineInCenter(e,t)},t.prototype.revealLineInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLineInCenterIfOutsideViewport(e,t)},t.prototype.revealPosition=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPosition(e,t)},t.prototype.revealPositionInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPositionInCenter(e,t)},t.prototype.revealPositionInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPositionInCenterIfOutsideViewport(e,t)},t.prototype.getSelection=function(){return this.modifiedEditor.getSelection()},t.prototype.getSelections=function(){return this.modifiedEditor.getSelections()},t.prototype.setSelection=function(e){this.modifiedEditor.setSelection(e)},t.prototype.setSelections=function(e){this.modifiedEditor.setSelections(e)},t.prototype.revealLines=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLines(e,t,n)},t.prototype.revealLinesInCenter=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLinesInCenter(e,t,n)},t.prototype.revealLinesInCenterIfOutsideViewport=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLinesInCenterIfOutsideViewport(e,t,n)},t.prototype.revealRange=function(e,t,n,i){void 0===t&&(t=0),void 0===n&&(n=!1),void 0===i&&(i=!0),this.modifiedEditor.revealRange(e,t,n,i)},t.prototype.revealRangeInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeInCenter(e,t)},t.prototype.revealRangeInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeInCenterIfOutsideViewport(e,t)},t.prototype.revealRangeAtTop=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeAtTop(e,t)},t.prototype.getSupportedActions=function(){return this.modifiedEditor.getSupportedActions()},t.prototype.saveViewState=function(){return{original:this.originalEditor.saveViewState(),modified:this.modifiedEditor.saveViewState()}},t.prototype.restoreViewState=function(e){if(e.original&&e.modified){var t=e;this.originalEditor.restoreViewState(t.original),this.modifiedEditor.restoreViewState(t.modified)}},t.prototype.layout=function(e){this._elementSizeObserver.observe(e)},t.prototype.focus=function(){this.modifiedEditor.focus()},t.prototype.hasTextFocus=function(){return this.originalEditor.hasTextFocus()||this.modifiedEditor.hasTextFocus()},t.prototype.trigger=function(e,t,n){this.modifiedEditor.trigger(e,t,n)},t.prototype.changeDecorations=function(e){return this.modifiedEditor.changeDecorations(e)},t.prototype._onDidContainerSizeChanged=function(){this._doLayout()},t.prototype._getReviewHeight=function(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0},t.prototype._layoutOverviewRulers=function(){if(this._originalOverviewRuler&&this._modifiedOverviewRuler){var e=this._elementSizeObserver.getHeight(),n=this._getReviewHeight(),i=t.ENTIRE_DIFF_OVERVIEW_WIDTH-2*t.ONE_OVERVIEW_WIDTH;this.modifiedEditor.getLayoutInfo()&&(this._originalOverviewRuler.setLayout({top:0,width:t.ONE_OVERVIEW_WIDTH,right:i+t.ONE_OVERVIEW_WIDTH,height:e-n}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:t.ONE_OVERVIEW_WIDTH,height:e-n}))}},t.prototype._onViewZonesChanged=function(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()},t.prototype._beginUpdateDecorationsSoon=function(){var e=this;-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout((function(){return e._beginUpdateDecorations()}),t.UPDATE_DIFF_DECORATIONS_DELAY)},t._equals=function(e,t){return!e&&!t||!(!e||!t)&&e.toString()===t.toString()},t.prototype._beginUpdateDecorations=function(){var e=this;this._beginUpdateDecorationsTimeout=-1;var n=this.originalEditor.getModel(),i=this.modifiedEditor.getModel();if(n&&i){this._diffComputationToken++;var o=this._diffComputationToken;this._setState(1),this._editorWorkerService.canComputeDiff(n.uri,i.uri)?this._editorWorkerService.computeDiff(n.uri,i.uri,this._ignoreTrimWhitespace,this._maxComputationTime).then((function(t){o===e._diffComputationToken&&n===e.originalEditor.getModel()&&i===e.modifiedEditor.getModel()&&(e._setState(2),e._diffComputationResult=t,e._updateDecorationsRunner.schedule(),e._onDidUpdateDiff.fire())}),(function(t){o===e._diffComputationToken&&n===e.originalEditor.getModel()&&i===e.modifiedEditor.getModel()&&(e._setState(2),e._diffComputationResult=null,e._updateDecorationsRunner.schedule())})):t._equals(n.uri,this._lastOriginalWarning)&&t._equals(i.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=n.uri,this._lastModifiedWarning=i.uri,this._notificationService.warn(Zn.a("diff.tooLarge","Cannot compare files because one file is too large.")))}},t.prototype._cleanViewZonesAndDecorations=function(){this._originalEditorState.clean(this.originalEditor),this._modifiedEditorState.clean(this.modifiedEditor)},t.prototype._updateDecorations=function(){if(this.originalEditor.getModel()&&this.modifiedEditor.getModel()&&this._originalOverviewRuler&&this._modifiedOverviewRuler){var e=this._diffComputationResult?this._diffComputationResult.changes:[],t=this._originalEditorState.getForeignViewZones(this.originalEditor.getWhitespaces()),n=this._modifiedEditorState.getForeignViewZones(this.modifiedEditor.getWhitespaces()),i=this._strategy.getEditorsDiffDecorations(e,this._ignoreTrimWhitespace,this._renderIndicators,t,n,this.originalEditor,this.modifiedEditor);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this.originalEditor,this._originalOverviewRuler,i.original,!1),this._modifiedEditorState.apply(this.modifiedEditor,this._modifiedOverviewRuler,i.modified,!0)}finally{this._currentlyChangingViewZones=!1}}},t.prototype._adjustOptionsForSubEditor=function(e){var t=Le.a(e||{});return t.inDiffEditor=!0,t.wordWrap="off",t.wordWrapMinified=!1,t.automaticLayout=!1,t.scrollbar=t.scrollbar||{},t.scrollbar.vertical="visible",t.folding=!1,t.codeLens=!1,t.fixedOverflowWidgets=!0,t.minimap||(t.minimap={}),t.minimap.enabled=!1,t},t.prototype._adjustOptionsForLeftHandSide=function(e,t){var n=this._adjustOptionsForSubEditor(e);return n.readOnly=!t,n.extraEditorClassName="original-in-monaco-diff-editor",n},t.prototype._adjustOptionsForRightHandSide=function(e){var n=this._adjustOptionsForSubEditor(e);return n.revealHorizontalRightPadding=F.e.revealHorizontalRightPadding.defaultValue+t.ENTIRE_DIFF_OVERVIEW_WIDTH,n.scrollbar.verticalHasArrows=!1,n.extraEditorClassName="modified-in-monaco-diff-editor",n},t.prototype.doLayout=function(){this._elementSizeObserver.observe(),this._doLayout()},t.prototype._doLayout=function(){var e=this._elementSizeObserver.getWidth(),n=this._elementSizeObserver.getHeight(),i=this._getReviewHeight(),o=this._strategy.layout();this._originalDomNode.style.width=o+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=e-o+"px",this._modifiedDomNode.style.left=o+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=n-i+"px",this._overviewDomElement.style.width=t.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=e-t.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(t.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this.originalEditor.layout({width:o,height:n-i}),this.modifiedEditor.layout({width:e-o-t.ENTIRE_DIFF_OVERVIEW_WIDTH,height:n-i}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(n-i,e,i),this._layoutOverviewViewport()},t.prototype._layoutOverviewViewport=function(){var e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))},t.prototype._computeOverviewViewport=function(){var e=this.modifiedEditor.getLayoutInfo();if(!e)return null;var t=this.modifiedEditor.getScrollTop(),n=this.modifiedEditor.getScrollHeight(),i=Math.max(0,e.height),o=Math.max(0,i-0),r=n>0?o/n:0;return{height:Math.max(0,Math.floor(e.height*r)),top:Math.floor(t*r)}},t.prototype._createDataSource=function(){var e=this;return{getWidth:function(){return e._elementSizeObserver.getWidth()},getHeight:function(){return e._elementSizeObserver.getHeight()-e._getReviewHeight()},getContainerDomNode:function(){return e._containerDomElement},relayoutEditors:function(){e._doLayout()},getOriginalEditor:function(){return e.originalEditor},getModifiedEditor:function(){return e.modifiedEditor}}},t.prototype._setStrategy=function(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()},t.prototype._getLineChangeAtOrBeforeLineNumber=function(e,t){var n=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===n.length||e<t(n[0]))return null;for(var i=0,o=n.length-1;i<o;){var r=Math.floor((i+o)/2),s=t(n[r]),a=r+1<=o?t(n[r+1]):1073741824;e<s?o=r-1:e>=a?i=r+1:(i=r,o=r)}return n[i]},t.prototype._getEquivalentLineForOriginalLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.originalStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-n;return s<=o?i+Math.min(s,r):i+r-o+s},t.prototype._getEquivalentLineForModifiedLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.modifiedStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-i;return s<=r?n+Math.min(s,o):n+o-r+s},t.prototype.getDiffLineInformationForOriginal=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null},t.prototype.getDiffLineInformationForModified=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null},t.ONE_OVERVIEW_WIDTH=15,t.ENTIRE_DIFF_OVERVIEW_WIDTH=30,t.UPDATE_DIFF_DECORATIONS_DELAY=200,t=id([od(3,Fe),od(4,Zi.c),od(5,ue.a),od(6,Y.a),od(7,Ir.c),od(8,lo.a),od(9,Xc.a),od(10,td)],t)}(le.a),ud=function(e){function t(t){var n=e.call(this)||this;return n._dataSource=t,n._insertColor=null,n._removeColor=null,n}return nd(t,e),t.prototype.applyColors=function(e){var t=(e.getColor(Ns.j)||Ns.g).transparent(2),n=(e.getColor(Ns.l)||Ns.h).transparent(2),i=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,i},t.prototype.getEditorsDiffDecorations=function(e,t,n,i,o,r,s){o=o.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber})),i=i.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber}));var a=this._getViewZones(e,i,o,r,s,n),u=this._getOriginalEditorDecorations(e,t,n,r,s),l=this._getModifiedEditorDecorations(e,t,n,r,s);return{original:{decorations:u.decorations,overviewZones:u.overviewZones,zones:a.original},modified:{decorations:l.decorations,overviewZones:l.overviewZones,zones:a.modified}}},t}(le.a),ld=function(){function e(e){this._source=e,this._index=-1,this.current=null,this.advance()}return e.prototype.advance=function(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null},e}(),cd=function(){function e(e,t,n,i,o){this.lineChanges=e,this.originalForeignVZ=t,this.originalLineHeight=n,this.modifiedForeignVZ=i,this.modifiedLineHeight=o}return e.prototype.getViewZones=function(){for(var t=[],n=[],i=0,o=0,r=0,s=0,a=0,u=0,l=function(e,t){return e.afterLineNumber-t.afterLineNumber},c=function(e,t){if(null===t.domNode&&e.length>0){var n=e[e.length-1];if(n.afterLineNumber===t.afterLineNumber&&null===n.domNode)return void(n.heightInLines+=t.heightInLines)}e.push(t)},d=new ld(this.modifiedForeignVZ),h=new ld(this.originalForeignVZ),f=0,p=this.lineChanges.length;f<=p;f++){var g=f<p?this.lineChanges[f]:null;null!==g?(r=g.originalStartLineNumber+(g.originalEndLineNumber>0?-1:0),s=g.modifiedStartLineNumber+(g.modifiedEndLineNumber>0?-1:0),o=g.originalEndLineNumber>0?g.originalEndLineNumber-g.originalStartLineNumber+1:0,i=g.modifiedEndLineNumber>0?g.modifiedEndLineNumber-g.modifiedStartLineNumber+1:0,a=Math.max(g.originalStartLineNumber,g.originalEndLineNumber),u=Math.max(g.modifiedStartLineNumber,g.modifiedEndLineNumber)):(a=r+=1e7+o,u=s+=1e7+i);for(var m,v=[],_=[];d.current&&d.current.afterLineNumber<=u;){var y=void 0;y=d.current.afterLineNumber<=s?r-s+d.current.afterLineNumber:a;var b=null;g&&g.modifiedStartLineNumber<=d.current.afterLineNumber&&d.current.afterLineNumber<=g.modifiedEndLineNumber&&(b=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),v.push({afterLineNumber:y,heightInLines:d.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:b}),d.advance()}for(;h.current&&h.current.afterLineNumber<=a;){y=void 0;y=h.current.afterLineNumber<=r?s-r+h.current.afterLineNumber:u,_.push({afterLineNumber:y,heightInLines:h.current.height/this.originalLineHeight,domNode:null}),h.advance()}if(null!==g&&vd(g))(m=this._produceOriginalFromDiff(g,o,i))&&v.push(m);if(null!==g&&_d(g))(m=this._produceModifiedFromDiff(g,o,i))&&_.push(m);var C=0,w=0;for(v=v.sort(l),_=_.sort(l);C<v.length&&w<_.length;){var S=v[C],L=_[w],N=S.afterLineNumber-r,O=L.afterLineNumber-s;N<O?(c(t,S),C++):O<N?(c(n,L),w++):S.shouldNotShrink?(c(t,S),C++):L.shouldNotShrink?(c(n,L),w++):S.heightInLines>=L.heightInLines?(S.heightInLines-=L.heightInLines,w++):(L.heightInLines-=S.heightInLines,C++)}for(;C<v.length;)c(t,v[C]),C++;for(;w<_.length;)c(n,_[w]),w++}return{original:e._ensureDomNodes(t),modified:e._ensureDomNodes(n)}},e._ensureDomNodes=function(e){return e.map((function(e){var t;return e.domNode||(e.domNode=((t=document.createElement("div")).className="diagonal-fill",t)),e}))},e}();function dd(e,t,n,i,o){return{range:new z.a(e,t,n,i),options:o}}var hd={charDelete:Il.a.register({className:"char-delete"}),charDeleteWholeLine:Il.a.register({className:"char-delete",isWholeLine:!0}),charInsert:Il.a.register({className:"char-insert"}),charInsertWholeLine:Il.a.register({className:"char-insert",isWholeLine:!0}),lineInsert:Il.a.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:Il.a.register({className:"line-insert",linesDecorationsClassName:"insert-sign codicon codicon-add",marginClassName:"line-insert",isWholeLine:!0}),lineDelete:Il.a.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:Il.a.register({className:"line-delete",linesDecorationsClassName:"delete-sign codicon codicon-remove",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:Il.a.register({marginClassName:"line-delete"})},fd=function(e){function t(t,n){var i=e.call(this,t)||this;return i._disableSash=!1===n,i._sashRatio=null,i._sashPosition=null,i._startSashPosition=null,i._sash=i._register(new Ec.a(i._dataSource.getContainerDomNode(),i)),i._disableSash&&(i._sash.state=0),i._sash.onDidStart((function(){return i.onSashDragStart()})),i._sash.onDidChange((function(e){return i.onSashDrag(e)})),i._sash.onDidEnd((function(){return i.onSashDragEnd()})),i._sash.onDidReset((function(){return i.onSashReset()})),i}return nd(t,e),t.prototype.setEnableSplitViewResizing=function(e){var t=!1===e;this._disableSash!==t&&(this._disableSash=t,this._sash.state=this._disableSash?0:3)},t.prototype.layout=function(e){void 0===e&&(e=this._sashRatio);var n=this._dataSource.getWidth()-ad.ENTIRE_DIFF_OVERVIEW_WIDTH,i=Math.floor((e||.5)*n),o=Math.floor(.5*n);return i=this._disableSash?o:i||o,n>2*t.MINIMUM_EDITOR_WIDTH?(i<t.MINIMUM_EDITOR_WIDTH&&(i=t.MINIMUM_EDITOR_WIDTH),i>n-t.MINIMUM_EDITOR_WIDTH&&(i=n-t.MINIMUM_EDITOR_WIDTH)):i=o,this._sashPosition!==i&&(this._sashPosition=i,this._sash.layout()),this._sashPosition},t.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},t.prototype.onSashDrag=function(e){var t=this._dataSource.getWidth()-ad.ENTIRE_DIFF_OVERVIEW_WIDTH,n=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=n/t,this._dataSource.relayoutEditors()},t.prototype.onSashDragEnd=function(){this._sash.layout()},t.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},t.prototype.getVerticalSashTop=function(e){return 0},t.prototype.getVerticalSashLeft=function(e){return this._sashPosition},t.prototype.getVerticalSashHeight=function(e){return this._dataSource.getHeight()},t.prototype._getViewZones=function(e,t,n,i,o){return new pd(e,t,i.getOption(49),n,o.getOption(49)).getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,i,o){for(var r=String(this._removeColor),s={decorations:[],overviewZones:[]},a=i.getModel(),u=0,l=e.length;u<l;u++){var c=e[u];if(_d(c)&&(s.decorations.push({range:new z.a(c.originalStartLineNumber,1,c.originalEndLineNumber,1073741824),options:n?hd.lineDeleteWithSign:hd.lineDelete}),vd(c)&&c.charChanges||s.decorations.push(dd(c.originalStartLineNumber,1,c.originalEndLineNumber,1073741824,hd.charDeleteWholeLine)),s.overviewZones.push(new Ru(c.originalStartLineNumber,c.originalEndLineNumber,r)),c.charChanges))for(var d=0,h=c.charChanges.length;d<h;d++){var f=c.charChanges[d];if(_d(f))if(t)for(var p=f.originalStartLineNumber;p<=f.originalEndLineNumber;p++){var g=void 0,m=void 0;g=p===f.originalStartLineNumber?f.originalStartColumn:a.getLineFirstNonWhitespaceColumn(p),m=p===f.originalEndLineNumber?f.originalEndColumn:a.getLineLastNonWhitespaceColumn(p),s.decorations.push(dd(p,g,p,m,hd.charDelete))}else s.decorations.push(dd(f.originalStartLineNumber,f.originalStartColumn,f.originalEndLineNumber,f.originalEndColumn,hd.charDelete))}}return s},t.prototype._getModifiedEditorDecorations=function(e,t,n,i,o){for(var r=String(this._insertColor),s={decorations:[],overviewZones:[]},a=o.getModel(),u=0,l=e.length;u<l;u++){var c=e[u];if(vd(c)&&(s.decorations.push({range:new z.a(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824),options:n?hd.lineInsertWithSign:hd.lineInsert}),_d(c)&&c.charChanges||s.decorations.push(dd(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824,hd.charInsertWholeLine)),s.overviewZones.push(new Ru(c.modifiedStartLineNumber,c.modifiedEndLineNumber,r)),c.charChanges))for(var d=0,h=c.charChanges.length;d<h;d++){var f=c.charChanges[d];if(vd(f))if(t)for(var p=f.modifiedStartLineNumber;p<=f.modifiedEndLineNumber;p++){var g=void 0,m=void 0;g=p===f.modifiedStartLineNumber?f.modifiedStartColumn:a.getLineFirstNonWhitespaceColumn(p),m=p===f.modifiedEndLineNumber?f.modifiedEndColumn:a.getLineLastNonWhitespaceColumn(p),s.decorations.push(dd(p,g,p,m,hd.charInsert))}else s.decorations.push(dd(f.modifiedStartLineNumber,f.modifiedStartColumn,f.modifiedEndLineNumber,f.modifiedEndColumn,hd.charInsert))}}return s},t.MINIMUM_EDITOR_WIDTH=100,t}(ud),pd=function(e){function t(t,n,i,o,r){return e.call(this,t,n,i,o,r)||this}return nd(t,e),t.prototype._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion=function(){return null},t.prototype._produceOriginalFromDiff=function(e,t,n){return n>t?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null},t.prototype._produceModifiedFromDiff=function(e,t,n){return t>n?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null},t}(cd),gd=function(e){function t(t,n){var i=e.call(this,t)||this;return i.decorationsLeft=t.getOriginalEditor().getLayoutInfo().decorationsLeft,i._register(t.getOriginalEditor().onDidLayoutChange((function(e){i.decorationsLeft!==e.decorationsLeft&&(i.decorationsLeft=e.decorationsLeft,t.relayoutEditors())}))),i}return nd(t,e),t.prototype.setEnableSplitViewResizing=function(e){},t.prototype._getViewZones=function(e,t,n,i,o,r){return new md(e,t,n,i,o,r).getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,i,o){for(var r=String(this._removeColor),s={decorations:[],overviewZones:[]},a=0,u=e.length;a<u;a++){var l=e[a];_d(l)&&(s.decorations.push({range:new z.a(l.originalStartLineNumber,1,l.originalEndLineNumber,1073741824),options:hd.lineDeleteMargin}),s.overviewZones.push(new Ru(l.originalStartLineNumber,l.originalEndLineNumber,r)))}return s},t.prototype._getModifiedEditorDecorations=function(e,t,n,i,o){for(var r=String(this._insertColor),s={decorations:[],overviewZones:[]},a=o.getModel(),u=0,l=e.length;u<l;u++){var c=e[u];if(vd(c))if(s.decorations.push({range:new z.a(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824),options:n?hd.lineInsertWithSign:hd.lineInsert}),s.overviewZones.push(new Ru(c.modifiedStartLineNumber,c.modifiedEndLineNumber,r)),c.charChanges)for(var d=0,h=c.charChanges.length;d<h;d++){var f=c.charChanges[d];if(vd(f))if(t)for(var p=f.modifiedStartLineNumber;p<=f.modifiedEndLineNumber;p++){var g=void 0,m=void 0;g=p===f.modifiedStartLineNumber?f.modifiedStartColumn:a.getLineFirstNonWhitespaceColumn(p),m=p===f.modifiedEndLineNumber?f.modifiedEndColumn:a.getLineLastNonWhitespaceColumn(p),s.decorations.push(dd(p,g,p,m,hd.charInsert))}else s.decorations.push(dd(f.modifiedStartLineNumber,f.modifiedStartColumn,f.modifiedEndLineNumber,f.modifiedEndColumn,hd.charInsert))}else s.decorations.push(dd(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824,hd.charInsertWholeLine))}return s},t.prototype.layout=function(){return Math.max(5,this.decorationsLeft)},t}(ud),md=function(e){function t(t,n,i,o,r,s){var a=e.call(this,t,n,o.getOption(49),i,r.getOption(49))||this;return a.originalModel=o.getModel(),a.modifiedEditorOptions=r.getOptions(),a.modifiedEditorTabSize=r.getModel().getOptions().tabSize,a.renderIndicators=s,a}return nd(t,e),t.prototype._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion=function(){var e=document.createElement("div");return e.className="inline-added-margin-view-zone",e},t.prototype._produceOriginalFromDiff=function(e,t,n){var i=document.createElement("div");return i.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n,domNode:document.createElement("div"),marginDomNode:i}},t.prototype._produceModifiedFromDiff=function(e,t,n){var i=[];if(e.charChanges)for(var o=0,r=e.charChanges.length;o<r;o++){var s=e.charChanges[o];_d(s)&&i.push(new Ln(new z.a(s.originalStartLineNumber,s.originalStartColumn,s.originalEndLineNumber,s.originalEndColumn),"char-delete",0))}for(var a=tn(1e4),u=[],l=this.modifiedEditorOptions.get(107),c=this.modifiedEditorOptions.get(34),d=l.decorationsWidth,h=this.modifiedEditorOptions.get(49),f=c.typicalHalfwidthCharacterWidth,p=0,g=[],m=e.originalStartLineNumber;m<=e.originalEndLineNumber;m++)if(p=Math.max(p,this._renderOriginalLine(m-e.originalStartLineNumber,this.originalModel,this.modifiedEditorOptions,this.modifiedEditorTabSize,m,i,a)),g.push(this.originalModel.getLineContent(m)),this.renderIndicators){var v=m-e.originalStartLineNumber;u=u.concat(['<div class="delete-sign codicon codicon-remove" style="position:absolute;top:'+v*h+"px;width:"+d+"px;height:"+h+'px;right:0;"></div>'])}p+=this.modifiedEditorOptions.get(79);var _=document.createElement("div");_.className="view-lines line-delete",_.innerHTML=a.build(),ir.applyFontInfoSlow(_,c);var y=document.createElement("div");return y.className="inline-deleted-margin-view-zone",y.innerHTML=u.join(""),ir.applyFontInfoSlow(y,c),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:p*f,domNode:_,marginDomNode:y,diff:{originalStartLineNumber:e.originalStartLineNumber,originalEndLineNumber:e.originalEndLineNumber,modifiedStartLineNumber:e.modifiedStartLineNumber,modifiedEndLineNumber:e.modifiedEndLineNumber,originalContent:g}}},t.prototype._renderOriginalLine=function(e,t,n,i,o,r,s){var a=t.getLineTokens(o),u=a.getLineContent(),l=n.get(34),c=an.filter(r,o,1,u.length+1);s.appendASCIIString('<div class="view-line'),0===r.length&&s.appendASCIIString(" char-delete"),s.appendASCIIString('" style="top:'),s.appendASCIIString(String(e*n.get(49))),s.appendASCIIString('px;width:1000000px;">');var d=Sn.isBasicASCII(u,t.mightContainNonBasicASCII()),h=Sn.containsRTL(u,d,t.mightContainRTL()),f=mn(new fn(l.isMonospace&&!n.get(23),l.canUseHalfwidthRightwardsArrow,u,!1,d,h,0,a,c,i,0,l.spaceWidth,l.middotWidth,n.get(88),n.get(74),n.get(69),n.get(35)!==F.d.OFF,null),s);s.appendASCIIString("</div>");var p=f.characterMapping.getAbsoluteOffsets();return p.length>0?p[p.length-1]:0},t}(cd);function vd(e){return e.modifiedEndLineNumber>0}function _d(e){return e.originalEndLineNumber>0}Object(Ir.e)((function(e,t){var n=e.getColor(Ns.j);n&&(t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: "+n+"; }"));var i=e.getColor(Ns.l);i&&(t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+i+"; }"),t.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+i+"; }"),t.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+i+"; }"));var o=e.getColor(Ns.k);o&&t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+o+"; }");var r=e.getColor(Ns.m);r&&t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+r+"; }");var s=e.getColor(Ns.Gb);s&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+s+"; }");var a=e.getColor(Ns.i);a&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+a+"; }")}));var yd=Object(ue.c)("themeService"),bd=n("fjLI"),Cd=n("bexQ"),wd=n("9XeP"),Sd=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ld=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Nd=function(e,t){return function(n,i){t(n,i,e)}},Od=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Dd=0,xd=!1;var Ed=function(e){function t(t,n,i,o,r,s,a,u,l,c){var d=this;return(n=n||{}).ariaLabel=n.ariaLabel||Co.editorViewAccessibleLabel,n.ariaLabel=n.ariaLabel+";"+(Yo.i?Co.accessibilityHelpMessageIE:Co.accessibilityHelpMessage),(d=e.call(this,t,n,{},i,o,r,s,u,l,c)||this)._standaloneKeybindingService=a instanceof Fo?a:null,xd||(xd=!0,Zo.b(document.body)),d}return Sd(t,e),t.prototype.addCommand=function(e,t,n){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;var i="DYNAMIC_"+ ++Dd,o=Zi.a.deserialize(n);return this._standaloneKeybindingService.addDynamicKeybinding(i,e,t,o),i},t.prototype.createContextKey=function(e,t){return this._contextKeyService.createKey(e,t)},t.prototype.addAction=function(e){var t=this;if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),le.a.None;var n=e.id,i=e.label,o=Zi.a.and(Zi.a.equals("editorId",this.getId()),Zi.a.deserialize(e.precondition)),r=e.keybindings,s=Zi.a.and(o,Zi.a.deserialize(e.keybindingContext)),a=e.contextMenuGroupId||null,u=e.contextMenuOrder||0,l=function(n){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return Promise.resolve(e.run.apply(e,Od([t],i)))},c=new le.b,d=this.getId()+":"+n;if(c.add(ae.a.registerCommand(d,l)),a){var h={command:{id:d,title:i},when:o,group:a,order:u};c.add(bd.c.appendMenuItem(7,h))}if(Array.isArray(r))for(var f=0,p=r;f<p.length;f++){var g=p[f];c.add(this._standaloneKeybindingService.addDynamicKeybinding(d,g,l,s))}var m=new bl(d,i,i,o,l,this._contextKeyService);return this._actions[n]=m,c.add(Object(le.f)((function(){delete t._actions[n]}))),c},t=Ld([Nd(2,ue.a),Nd(3,Y.a),Nd(4,ae.b),Nd(5,Zi.c),Nd(6,Cd.a),Nd(7,Ir.c),Nd(8,lo.a),Nd(9,Jl)],t)}(yc),kd=function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h,f){var p=this;Uo(h,n,!1);var g=c.registerEditorContainer(t);"string"==typeof(n=n||{}).theme&&c.setTheme(n.theme);var m,v=n.model;if(delete n.model,(p=e.call(this,t,n,o,r,s,a,u,c,d,f)||this)._contextViewService=l,p._configurationService=h,p._register(i),p._register(g),void 0===v?(m=self.monaco.editor.createModel(n.value||"",n.language||"text/plain"),p._ownsModel=!0):(m=v,p._ownsModel=!1),p._attachModel(m),m){var _={oldModelUrl:null,newModelUrl:m.uri};p._onDidChangeModel.fire(_)}return p}return Sd(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.updateOptions=function(t){Uo(this._configurationService,t,!1),e.prototype.updateOptions.call(this,t)},t.prototype._attachModel=function(t){e.prototype._attachModel.call(this,t),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)},t.prototype._postDetachModelCleanup=function(t){e.prototype._postDetachModelCleanup.call(this,t),t&&this._ownsModel&&(t.dispose(),this._ownsModel=!1)},t=Ld([Nd(3,ue.a),Nd(4,Y.a),Nd(5,ae.b),Nd(6,Zi.c),Nd(7,Cd.a),Nd(8,Xc.b),Nd(9,yd),Nd(10,lo.a),Nd(11,Pi),Nd(12,Jl)],t)}(Ed),Id=function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h,f,p,g){var m=this;Uo(h,n,!0);var v=c.registerEditorContainer(t);return"string"==typeof(n=n||{}).theme&&(n.theme=c.setTheme(n.theme)),(m=e.call(this,t,n,g,u,r,o,l,c,d,f,p)||this)._contextViewService=a,m._configurationService=h,m._register(i),m._register(v),m._contextViewService.setContainer(m._containerDomElement),m}return Sd(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.updateOptions=function(t){Uo(this._configurationService,t,!0),e.prototype.updateOptions.call(this,t)},t.prototype._createInnerEditor=function(e,t,n){return e.createInstance(Ed,t,n)},t.prototype.getOriginalEditor=function(){return e.prototype.getOriginalEditor.call(this)},t.prototype.getModifiedEditor=function(){return e.prototype.getModifiedEditor.call(this)},t.prototype.addCommand=function(e,t,n){return this.getModifiedEditor().addCommand(e,t,n)},t.prototype.createContextKey=function(e,t){return this.getModifiedEditor().createContextKey(e,t)},t.prototype.addAction=function(e){return this.getModifiedEditor().addAction(e)},t=Ld([Nd(3,ue.a),Nd(4,Zi.c),Nd(5,Cd.a),Nd(6,Xc.b),Nd(7,Fe),Nd(8,Y.a),Nd(9,yd),Nd(10,lo.a),Nd(11,Pi),Nd(12,Xc.a),Nd(13,td),Nd(14,Object(ue.d)(wd.a))],t)}(ad),Md=Object(ue.c)("IWorkspaceEditService"),Td=Object(ue.c)("modeService"),Ad=function(){function e(e){this._languageIdentifier=e}return e.prototype.getId=function(){return this._languageIdentifier.language},e}(),Rd=n("l2gE"),Pd=[],Fd=[],Vd=[];function Wd(e,t){void 0===t&&(t=!1);var n=function(e){return{id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:e.userConfigured,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?e.filepattern.toLowerCase():void 0,filepatternOnPath:!!e.filepattern&&e.filepattern.indexOf(te.posix.sep)>=0}}(e);Pd.push(n),n.userConfigured?Vd.push(n):Fd.push(n),t&&!n.userConfigured&&Pd.forEach((function(e){e.mime===n.mime||e.userConfigured||(n.extension&&e.extension===n.extension&&console.warn("Overwriting extension <<"+n.extension+">> to now point to mime <<"+n.mime+">>"),n.filename&&e.filename===n.filename&&console.warn("Overwriting filename <<"+n.filename+">> to now point to mime <<"+n.mime+">>"),n.filepattern&&e.filepattern===n.filepattern&&console.warn("Overwriting filepattern <<"+n.filepattern+">> to now point to mime <<"+n.mime+">>"),n.firstline&&e.firstline===n.firstline&&console.warn("Overwriting firstline <<"+n.firstline+">> to now point to mime <<"+n.mime+">>"))}))}function Bd(e,t){var n;if(e)switch(e.scheme){case $.b.file:n=e.fsPath;break;case $.b.data:n=Q.parseMetaData(e).get(Q.META_DATA_LABEL);break;default:n=e.path}if(!n)return["application/unknown"];n=n.toLowerCase();var i=Object(te.basename)(n),o=jd(n,i,Vd);if(o)return[o,"text/plain"];var r=jd(n,i,Fd);if(r)return[r,"text/plain"];if(t){var s=function(e){Object(ne.J)(e)&&(e=e.substr(1));if(e.length>0)for(var t=Pd.length-1;t>=0;t--){var n=Pd[t];if(n.firstline){var i=e.match(n.firstline);if(i&&i.length>0)return n.mime}}return null}(t);if(s)return[s,"text/plain"]}return["application/unknown"]}function jd(e,t,n){for(var i=null,o=null,r=null,s=n.length-1;s>=0;s--){var a=n[s];if(t===a.filenameLowercase){i=a;break}if(a.filepattern&&(!o||a.filepattern.length>o.filepattern.length)){var u=a.filepatternOnPath?e:t;Object(Rd.a)(a.filepatternLowercase,u)&&(o=a)}a.extension&&(!r||a.extension.length>r.extension.length)&&Object(ne.k)(t,a.extensionLowercase)&&(r=a)}return i?i.mime:o?o.mime:r?r.mime:null}var Hd=new(function(){function e(){this._onDidChangeLanguages=new W.a,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}return e.prototype.registerLanguage=function(e){this._languages.push(e),this._onDidChangeLanguages.fire(void 0)},e.prototype.getLanguages=function(){return[].concat(this._languages).concat(this._dynamicLanguages)},e}());Xn.a.add("editor.modesRegistry",Hd);var zd=new Re.q("plaintext",1);Hd.registerLanguage({id:"plaintext",extensions:[".txt",".gitignore"],aliases:[Zn.a("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),Ze.a.register(zd,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}});var Ud=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Kd=Object.prototype.hasOwnProperty,qd=function(e){function t(t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var i=e.call(this)||this;return i._onDidChange=i._register(new W.a),i.onDidChange=i._onDidChange.event,i._warnOnOverwrite=n,i._nextLanguageId2=1,i._languageIdToLanguage=[],i._languageToLanguageId=Object.create(null),i._languages={},i._mimeTypesMap={},i._nameMap={},i._lowercaseNameMap={},t&&(i._initializeFromRegistry(),i._register(Hd.onDidChangeLanguages((function(e){return i._initializeFromRegistry()})))),i}return Ud(t,e),t.prototype._initializeFromRegistry=function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var e=Hd.getLanguages();this._registerLanguages(e)},t.prototype._registerLanguages=function(e){for(var t=this,n=0,i=e;n<i.length;n++){var o=i[n];this._registerLanguage(o)}this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach((function(e){var n=t._languages[e];n.name&&(t._nameMap[n.name]=n.identifier),n.aliases.forEach((function(e){t._lowercaseNameMap[e.toLowerCase()]=n.identifier})),n.mimetypes.forEach((function(e){t._mimeTypesMap[e]=n.identifier}))})),Xn.a.as($n).registerOverrideIdentifiers(Hd.getLanguages().map((function(e){return e.id}))),this._onDidChange.fire()},t.prototype._getLanguageId=function(e){if(this._languageToLanguageId[e])return this._languageToLanguageId[e];var t=this._nextLanguageId2++;return this._languageIdToLanguage[t]=e,this._languageToLanguageId[e]=t,t},t.prototype._registerLanguage=function(e){var t,n=e.id;if(Kd.call(this._languages,n))t=this._languages[n];else{var i=this._getLanguageId(n);t={identifier:new Re.q(n,i),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[n]=t}this._mergeLanguage(t,e)},t.prototype._mergeLanguage=function(e,t){var n,i=t.id,o=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&((n=e.mimetypes).push.apply(n,t.mimetypes),o=t.mimetypes[0]),o||(o="text/x-"+i,e.mimetypes.push(o)),Array.isArray(t.extensions))for(var r=0,s=t.extensions;r<s.length;r++){var a=s[r];Wd({id:i,mime:o,extension:a},this._warnOnOverwrite),e.extensions.push(a)}if(Array.isArray(t.filenames))for(var u=0,l=t.filenames;u<l.length;u++){var c=l[u];Wd({id:i,mime:o,filename:c},this._warnOnOverwrite),e.filenames.push(c)}if(Array.isArray(t.filenamePatterns))for(var d=0,h=t.filenamePatterns;d<h.length;d++){Wd({id:i,mime:o,filepattern:h[d]},this._warnOnOverwrite)}if("string"==typeof t.firstLine&&t.firstLine.length>0){var f=t.firstLine;"^"!==f.charAt(0)&&(f="^"+f);try{var p=new RegExp(f);ne.F(p)||Wd({id:i,mime:o,firstline:p},this._warnOnOverwrite)}catch(e){Object(Be.e)(e)}}e.aliases.push(i);var g=null;if(void 0!==t.aliases&&Array.isArray(t.aliases)&&(g=0===t.aliases.length?[null]:t.aliases),null!==g)for(var m=0,v=g;m<v.length;m++){var _=v[m];_&&0!==_.length&&e.aliases.push(_)}var y=null!==g&&g.length>0;if(y&&null===g[0]);else{var b=(y?g[0]:null)||i;!y&&e.name||(e.name=b)}t.configuration&&e.configurationFiles.push(t.configuration)},t.prototype.isRegisteredMode=function(e){return!!Kd.call(this._mimeTypesMap,e)||Kd.call(this._languages,e)},t.prototype.getModeIdForLanguageNameLowercase=function(e){return Kd.call(this._lowercaseNameMap,e)?this._lowercaseNameMap[e].language:null},t.prototype.extractModeIds=function(e){var t=this;return e?e.split(",").map((function(e){return e.trim()})).map((function(e){return Kd.call(t._mimeTypesMap,e)?t._mimeTypesMap[e].language:e})).filter((function(e){return Kd.call(t._languages,e)})):[]},t.prototype.getLanguageIdentifier=function(e){if(e===Pe.b||0===e)return Pe.a;var t;if("string"==typeof e)t=e;else if(!(t=this._languageIdToLanguage[e]))return null;return Kd.call(this._languages,t)?this._languages[t].identifier:null},t.prototype.getModeIdsFromFilepathOrFirstLine=function(e,t){if(!e&&!t)return[];var n=Bd(e,t);return this.extractModeIds(n.join(","))},t}(le.a),Gd=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Yd=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidChange=i._register(new W.a),i.onDidChange=i._onDidChange.event,i._selector=n,i.languageIdentifier=i._selector(),i._register(t((function(){return i._evaluate()}))),i}return Gd(t,e),t.prototype._evaluate=function(){var e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))},t}(le.a),Zd=function(){function e(e){var t=this;void 0===e&&(e=!1),this._onDidCreateMode=new W.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new W.a,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new qd(!0,e),this._registry.onDidChange((function(){return t._onLanguagesMaybeChanged.fire()}))}return e.prototype.isRegisteredMode=function(e){return this._registry.isRegisteredMode(e)},e.prototype.getModeIdForLanguageName=function(e){return this._registry.getModeIdForLanguageNameLowercase(e)},e.prototype.getModeIdByFilepathOrFirstLine=function(e,t){var n=this._registry.getModeIdsFromFilepathOrFirstLine(e,t);return Object(Xe.i)(n,null)},e.prototype.getModeId=function(e){var t=this._registry.extractModeIds(e);return Object(Xe.i)(t,null)},e.prototype.getLanguageIdentifier=function(e){return this._registry.getLanguageIdentifier(e)},e.prototype.create=function(e){var t=this;return new Yd(this.onLanguagesMaybeChanged,(function(){var n=t.getModeId(e);return t._createModeAndGetLanguageIdentifier(n)}))},e.prototype.createByFilepathOrFirstLine=function(e,t){var n=this;return new Yd(this.onLanguagesMaybeChanged,(function(){var i=n.getModeIdByFilepathOrFirstLine(e,t);return n._createModeAndGetLanguageIdentifier(i)}))},e.prototype._createModeAndGetLanguageIdentifier=function(e){var t=this.getLanguageIdentifier(e||"plaintext")||Pe.a;return this._getOrCreateMode(t.language),t},e.prototype.triggerMode=function(e){var t=this.getModeId(e);this._getOrCreateMode(t||"plaintext")},e.prototype._getOrCreateMode=function(e){if(!this._instantiatedModes.hasOwnProperty(e)){var t=this.getLanguageIdentifier(e)||Pe.a;this._instantiatedModes[e]=new Ad(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]},e}(),Xd=n("QRHv"),Jd=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Qd=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},$d=function(e,t){return function(n,i){t(n,i,e)}};function eh(e){return e.toString()}var th=function(){function e(e,t,n){this._modelEventListeners=new le.b,this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(e.onWillDispose((function(){return t(e)}))),this._modelEventListeners.add(e.onDidChangeLanguage((function(t){return n(e,t)})))}return e.prototype._disposeLanguageSelection=function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)},e.prototype.dispose=function(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()},e.prototype.setLanguage=function(e){var t=this;this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange((function(){return t.model.setMode(e.languageIdentifier)})),this.model.setMode(e.languageIdentifier)},e}(),nh=ie.d||ie.e?1:2,ih=function(e){function t(t,n,i,o){var r=e.call(this)||this;return r._onModelAdded=r._register(new W.a),r.onModelAdded=r._onModelAdded.event,r._onModelRemoved=r._register(new W.a),r.onModelRemoved=r._onModelRemoved.event,r._onModelModeChanged=r._register(new W.a),r.onModelModeChanged=r._onModelModeChanged.event,r._configurationService=t,r._resourcePropertiesService=n,r._models={},r._modelCreationOptionsByLanguageAndResource=Object.create(null),r._configurationServiceSubscription=r._configurationService.onDidChangeConfiguration((function(e){return r._updateModelOptions()})),r._updateModelOptions(),r._register(new oh(r,i,t,o)),r}return Jd(t,e),t._readModelOptions=function(e,t){var n=F.c.tabSize;if(e.editor&&void 0!==e.editor.tabSize){var i=parseInt(e.editor.tabSize,10);isNaN(i)||(n=i),n<1&&(n=1)}var o=n;if(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize){var r=parseInt(e.editor.indentSize,10);isNaN(r)||(o=r),o<1&&(o=1)}var s=F.c.insertSpaces;e.editor&&void 0!==e.editor.insertSpaces&&(s="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces));var a=nh,u=e.eol;"\r\n"===u?a=2:"\n"===u&&(a=1);var l=F.c.trimAutoWhitespace;e.editor&&void 0!==e.editor.trimAutoWhitespace&&(l="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace));var c=F.c.detectIndentation;e.editor&&void 0!==e.editor.detectIndentation&&(c="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation));var d=F.c.largeFileOptimizations;return e.editor&&void 0!==e.editor.largeFileOptimizations&&(d="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations)),{isForSimpleWidget:t,tabSize:n,indentSize:o,insertSpaces:s,detectIndentation:c,defaultEOL:a,trimAutoWhitespace:l,largeFileOptimizations:d}},t.prototype.getCreationOptions=function(e,n,i){var o=this._modelCreationOptionsByLanguageAndResource[e+n];if(!o){var r=this._configurationService.getValue("editor",{overrideIdentifier:e,resource:n}),s=this._resourcePropertiesService.getEOL(n,e);o=t._readModelOptions({editor:r,eol:s},i),this._modelCreationOptionsByLanguageAndResource[e+n]=o}return o},t.prototype._updateModelOptions=function(){var e=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var n=Object.keys(this._models),i=0,o=n.length;i<o;i++){var r=n[i],s=this._models[r],a=s.model.getLanguageIdentifier().language,u=s.model.uri,l=e[a+u],c=this.getCreationOptions(a,u,s.model.isForSimpleWidget);t._setModelOptionsForModel(s.model,c,l)}},t._setModelOptionsForModel=function(e,t,n){n&&n.defaultEOL!==t.defaultEOL&&1===e.getLineCount()&&e.setEOL(1===t.defaultEOL?0:1),n&&n.detectIndentation===t.detectIndentation&&n.insertSpaces===t.insertSpaces&&n.tabSize===t.tabSize&&n.indentSize===t.indentSize&&n.trimAutoWhitespace===t.trimAutoWhitespace||(t.detectIndentation?(e.detectIndentation(t.insertSpaces,t.tabSize),e.updateOptions({trimAutoWhitespace:t.trimAutoWhitespace})):e.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.indentSize,trimAutoWhitespace:t.trimAutoWhitespace}))},t.prototype.dispose=function(){this._configurationServiceSubscription.dispose(),e.prototype.dispose.call(this)},t.prototype._createModelData=function(e,t,n,i){var o=this,r=this.getCreationOptions(t.language,n,i),s=new Il.b(e,r,t,n),a=eh(s.uri);if(this._models[a])throw new Error("ModelService: Cannot add model because it already exists!");var u=new th(s,(function(e){return o._onWillDispose(e)}),(function(e,t){return o._onDidChangeLanguage(e,t)}));return this._models[a]=u,u},t.prototype.createModel=function(e,t,n,i){var o;return void 0===i&&(i=!1),t?(o=this._createModelData(e,t.languageIdentifier,n,i),this.setMode(o.model,t)):o=this._createModelData(e,zd,n,i),this._onModelAdded.fire(o.model),o.model},t.prototype.setMode=function(e,t){if(t){var n=this._models[eh(e.uri)];n&&n.setLanguage(t)}},t.prototype.getModels=function(){for(var e=[],t=Object.keys(this._models),n=0,i=t.length;n<i;n++){var o=t[n];e.push(this._models[o].model)}return e},t.prototype.getModel=function(e){var t=eh(e),n=this._models[t];return n?n.model:null},t.prototype._onWillDispose=function(e){var t=eh(e.uri),n=this._models[t];delete this._models[t],n.dispose(),delete this._modelCreationOptionsByLanguageAndResource[e.getLanguageIdentifier().language+e.uri],this._onModelRemoved.fire(e)},t.prototype._onDidChangeLanguage=function(e,n){var i=n.oldLanguage,o=e.getLanguageIdentifier().language,r=this.getCreationOptions(i,e.uri,e.isForSimpleWidget),s=this.getCreationOptions(o,e.uri,e.isForSimpleWidget);t._setModelOptionsForModel(e,s,r),this._onModelModeChanged.fire({model:e,oldModeId:i})},t=Qd([$d(0,Pi),$d(1,Ft),$d(2,Ir.c),$d(3,Vt)],t)}(le.a),oh=function(e){function t(n,i,o,r){var s=e.call(this)||this;s._configurationService=o,s._watchers=Object.create(null),s._semanticStyling=s._register(new rh(i,r));var a=function(e){var n=o.getValue(t.SETTING_ID,{overrideIdentifier:e.getLanguageIdentifier().language,resource:e.uri});return n&&n.enabled},u=function(e){s._watchers[e.uri.toString()]=new ch(e,i,s._semanticStyling)},l=function(e,t){t.dispose(),delete s._watchers[e.uri.toString()]};return s._register(n.onModelAdded((function(e){a(e)&&u(e)}))),s._register(n.onModelRemoved((function(e){var t=s._watchers[e.uri.toString()];t&&l(e,t)}))),s._configurationService.onDidChangeConfiguration((function(e){if(e.affectsConfiguration(t.SETTING_ID))for(var i=0,o=n.getModels();i<o.length;i++){var r=o[i],c=s._watchers[r.uri.toString()];a(r)?c||u(r):c&&l(r,c)}})),s}return Jd(t,e),t.SETTING_ID="editor.semanticHighlighting",t}(le.a),rh=function(e){function t(t,n){var i=e.call(this)||this;return i._themeService=t,i._logService=n,i._caches=new WeakMap,i._themeService&&i._register(i._themeService.onThemeChange((function(){i._caches=new WeakMap}))),i}return Jd(t,e),t.prototype.get=function(e){return this._caches.has(e)||this._caches.set(e,new uh(e.getLegend(),this._themeService,this._logService)),this._caches.get(e)},t}(le.a),sh=function(e,t,n){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.metadata=n,this.next=null},ah=function(){function e(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=e._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<e._SIZES.length?2/3*this._currentLength:0),this._elements=[],e._nullOutEntries(this._elements,this._currentLength)}return e._nullOutEntries=function(e,t){for(var n=0;n<t;n++)e[n]=null},e.prototype._hashFunc=function(e,t){return((e<<5)-e+t|0)%this._currentLength},e.prototype.get=function(e,t){for(var n=this._hashFunc(e,t),i=this._elements[n];i;){if(i.tokenTypeIndex===e&&i.tokenModifierSet===t)return i;i=i.next}return null},e.prototype.add=function(t,n,i){if(this._elementsCount++,0!==this._growCount&&this._elementsCount>=this._growCount){var o=this._elements;this._currentLengthIndex++,this._currentLength=e._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<e._SIZES.length?2/3*this._currentLength:0),this._elements=[],e._nullOutEntries(this._elements,this._currentLength);for(var r=0,s=o;r<s.length;r++)for(var a=s[r];a;){var u=a.next;a.next=null,this._add(a),a=u}}this._add(new sh(t,n,i))},e.prototype._add=function(e){var t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet);e.next=this._elements[t],this._elements[t]=e},e._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143],e}(),uh=function(){function e(e,t,n){this._legend=e,this._themeService=t,this._logService=n,this._hashTable=new ah}return e.prototype.getMetadata=function(e,t){var n,i=this._hashTable.get(e,t);if(i)n=i.metadata;else{for(var o=this._legend.tokenTypes[e],r=[],s=t,a=0;s>0&&a<this._legend.tokenModifiers.length;a++)1&s&&r.push(this._legend.tokenModifiers[a]),s>>=1;var u=this._themeService.getTheme().getTokenStyleMetadata(o,r);if(void 0===u)n=2147483647;else{if(n=0,void 0!==u.italic)n|=1|(u.italic?1:0)<<11;if(void 0!==u.bold)n|=2|(u.bold?2:0)<<11;if(void 0!==u.underline)n|=4|(u.underline?4:0)<<11;if(u.foreground)n|=8|u.foreground<<14;0===n&&(n=2147483647)}this._hashTable.add(e,t,n)}if(this._logService.getLevel()===At.Trace){var l=this._legend.tokenTypes[e],c=t?" "+this._legend.tokenModifiers.filter((function(e,n){return t&1<<n})).join(" "):"";this._logService.trace("tokenStyleMetadata "+(i?"[CACHED] ":"")+l+c+": foreground "+Re.x.getForeground(n)+", fontStyle "+Re.x.getFontStyle(n).toString(2))}return n},e}(),lh=function(){function e(e,t,n){this._provider=e,this.resultId=t,this.data=n}return e.prototype.dispose=function(){this._provider.releaseDocumentSemanticTokens(this.resultId)},e}(),ch=function(e){function t(t,n,i){var o=e.call(this)||this;return o._isDisposed=!1,o._model=t,o._semanticStyling=i,o._fetchSemanticTokens=o._register(new We.d((function(){return o._fetchSemanticTokensNow()}),300)),o._currentResponse=null,o._currentRequestCancellationTokenSource=null,o._register(o._model.onDidChangeContent((function(e){o._fetchSemanticTokens.isScheduled()||o._fetchSemanticTokens.schedule()}))),o._register(Re.k.onDidChange((function(e){return o._fetchSemanticTokens.schedule()}))),n&&o._register(n.onThemeChange((function(e){o._setSemanticTokens(null,null,null,[]),o._fetchSemanticTokens.schedule()}))),o._fetchSemanticTokens.schedule(0),o}return Jd(t,e),t.prototype.dispose=function(){this._currentResponse&&(this._currentResponse.dispose(),this._currentResponse=null),this._currentRequestCancellationTokenSource&&(this._currentRequestCancellationTokenSource.cancel(),this._currentRequestCancellationTokenSource=null),this._setSemanticTokens(null,null,null,[]),this._isDisposed=!0,e.prototype.dispose.call(this)},t.prototype._fetchSemanticTokensNow=function(){var e=this;if(!this._currentRequestCancellationTokenSource){var t=this._getSemanticColoringProvider();if(t){this._currentRequestCancellationTokenSource=new V.a;var n=[],i=this._model.onDidChangeContent((function(e){n.push(e)})),o=this._semanticStyling.get(t),r=this._currentResponse&&this._currentResponse.resultId||null;Promise.resolve(t.provideDocumentSemanticTokens(this._model,r,this._currentRequestCancellationTokenSource.token)).then((function(r){e._currentRequestCancellationTokenSource=null,i.dispose(),e._setSemanticTokens(t,r||null,o,n)}),(function(t){t&&"string"==typeof t.message&&-1!==t.message.indexOf("busy")||Be.e(t),e._currentRequestCancellationTokenSource=null,i.dispose(),n.length>0&&(e._fetchSemanticTokens.isScheduled()||e._fetchSemanticTokens.schedule())}))}}},t._isSemanticTokens=function(e){return e&&!!e.data},t._isSemanticTokensEdits=function(e){return e&&Array.isArray(e.edits)},t._copy=function(e,t,n,i,o){for(var r=0;r<o;r++)n[i+r]=e[t+r]},t.prototype._setSemanticTokens=function(e,n,i,o){var r=this._currentResponse;if(this._currentResponse&&(this._currentResponse.dispose(),this._currentResponse=null),this._isDisposed)e&&n&&e.releaseDocumentSemanticTokens(n.resultId);else if(e&&n&&i){if(t._isSemanticTokensEdits(n)){if(!r)return void this._model.setSemanticTokens(null);if(0===n.edits.length)n={resultId:n.resultId,data:r.data};else{for(var s=0,a=0,u=n.edits;a<u.length;a++){s+=((p=u[a]).data?p.data.length:0)-p.deleteCount}for(var l=r.data,c=new Uint32Array(l.length+s),d=l.length,h=c.length,f=n.edits.length-1;f>=0;f--){var p,g=d-((p=n.edits[f]).start+p.deleteCount);g>0&&(t._copy(l,d-g,c,h-g,g),h-=g),p.data&&(t._copy(p.data,0,c,h-p.data.length,p.data.length),h-=p.data.length),d=p.start}d>0&&t._copy(l,0,c,0,d),n={resultId:n.resultId,data:c}}}if(t._isSemanticTokens(n)){this._currentResponse=new lh(e,n.resultId,n.data);l=n.data;for(var m=n.data.length/5|0,v=Math.max(Math.ceil(m/1024),400),_=[],y=0,b=1,C=0;y<m;){var w=y,S=Math.min(w+v,m);if(S<m){for(var L=S;L-1>w&&0===l[5*L];)L--;if(L-1===w){for(var N=S;N+1<m&&0===l[5*N];)N++;S=N}else S=L}c=new Uint32Array(4*(S-w));for(var O=0,D=0;y<S;){var x=5*y,E=l[x],k=l[x+1],I=b+E,M=0===E?C+k:k,T=l[x+2],A=l[x+3],R=l[x+4],P=i.getMetadata(A,R);2147483647!==P&&(0===D&&(D=I),c[O]=I-D,c[O+1]=M,c[O+2]=M+T,c[O+3]=P,O+=4),b=I,C=M,y++}O!==c.length&&(c=c.subarray(0,O));var F=new Xd.a(D,new Xd.c(c));_.push(F)}if(o.length>0){for(var V=0,W=o;V<W.length;V++)for(var B=W[V],j=0,H=_;j<H.length;j++)for(var z=H[j],U=0,K=B.changes;U<K.length;U++){var q=K[U];z.applyEdit(q.range,q.text)}this._fetchSemanticTokens.isScheduled()||this._fetchSemanticTokens.schedule()}this._model.setSemanticTokens(_)}else this._model.setSemanticTokens(null)}else this._model.setSemanticTokens(null)},t.prototype._getSemanticColoringProvider=function(){var e=Re.k.ordered(this._model);return e.length>0?e[0]:null},t}(le.a),dh=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),hh=function(e){function t(){var t=e.call(this)||this;return t._onCodeEditorAdd=t._register(new W.a),t.onCodeEditorAdd=t._onCodeEditorAdd.event,t._onCodeEditorRemove=t._register(new W.a),t.onCodeEditorRemove=t._onCodeEditorRemove.event,t._onDiffEditorAdd=t._register(new W.a),t._onDiffEditorRemove=t._register(new W.a),t._codeEditors=Object.create(null),t._diffEditors=Object.create(null),t}return dh(t,e),t.prototype.addCodeEditor=function(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)},t.prototype.removeCodeEditor=function(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)},t.prototype.listCodeEditors=function(){var e=this;return Object.keys(this._codeEditors).map((function(t){return e._codeEditors[t]}))},t.prototype.addDiffEditor=function(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)},t.prototype.removeDiffEditor=function(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)},t.prototype.listDiffEditors=function(){var e=this;return Object.keys(this._diffEditors).map((function(t){return e._diffEditors[t]}))},t.prototype.getFocusedCodeEditor=function(){for(var e=null,t=0,n=this.listCodeEditors();t<n.length;t++){var i=n[t];if(i.hasTextFocus())return i;i.hasWidgetFocus()&&(e=i)}return e},t}(le.a),fh=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ph=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},gh=function(e,t){return function(n,i){t(n,i,e)}},mh=function(){function e(e,t,n){this._parent=e,this._editorId=t,this.styleSheet=n,this._refCount=0}return e.prototype.ref=function(){this._refCount++},e.prototype.unref=function(){var e;this._refCount--,0===this._refCount&&(null===(e=this.styleSheet.parentNode)||void 0===e||e.removeChild(this.styleSheet),this._parent._removeEditorStyleSheets(this._editorId))},e}(),vh=function(){function e(e){this.styleSheet=e}return e.prototype.ref=function(){},e.prototype.unref=function(){},e}(),_h=function(e){function t(t,n){void 0===n&&(n=null);var i=e.call(this)||this;return i._decorationOptionProviders=new Map,i._editorStyleSheets=new Map,i._globalStyleSheet=n?new vh(n):null,i._themeService=t,i}return fh(t,e),t.prototype._getOrCreateGlobalStyleSheet=function(){return this._globalStyleSheet||(this._globalStyleSheet=new vh(Z.q())),this._globalStyleSheet},t.prototype._getOrCreateStyleSheet=function(e){if(!e)return this._getOrCreateGlobalStyleSheet();var t=e.getContainerDomNode();if(!Z.H(t))return this._getOrCreateGlobalStyleSheet();var n=e.getId();if(!this._editorStyleSheets.has(n)){var i=new mh(this,n,Z.q(t));this._editorStyleSheets.set(n,i)}return this._editorStyleSheets.get(n)},t.prototype._removeEditorStyleSheets=function(e){this._editorStyleSheets.delete(e)},t.prototype.registerDecorationType=function(e,t,n,i){var o=this._decorationOptionProviders.get(e);if(!o){var r=this._getOrCreateStyleSheet(i),s={styleSheet:r.styleSheet,key:e,parentTypeKey:n,options:t||Object.create(null)};o=n?new yh(this._themeService,r,s):new bh(this._themeService,r,s),this._decorationOptionProviders.set(e,o)}o.refCount++},t.prototype.removeDecorationType=function(e){var t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach((function(t){return t.removeDecorations(e)}))))},t.prototype.resolveDecorationOptions=function(e,t){var n=this._decorationOptionProviders.get(e);if(!n)throw new Error("Unknown decoration type key: "+e);return n.getOptions(this,t)},t=ph([gh(0,Ir.c)],t)}(hh),yh=function(){function e(e,t,n){this._styleSheet=t,this._styleSheet.ref(),this._parentTypeKey=n.parentTypeKey,this.refCount=0,this._beforeContentRules=new wh(3,n,e),this._afterContentRules=new wh(4,n,e)}return e.prototype.getOptions=function(e,t){var n=e.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(n.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(n.afterContentClassName=this._afterContentRules.className),n},e.prototype.dispose=function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()},e}(),bh=function(){function e(e,t,n){var i=this;this._disposables=new le.b,this._styleSheet=t,this._styleSheet.ref(),this.refCount=0;var o=function(t){var o=new wh(t,n,e);if(i._disposables.add(o),o.hasContent)return o.className};this.className=o(0);var r,s=(r=new wh(1,n,e),i._disposables.add(r),r.hasContent?{className:r.className,hasLetterSpacing:r.hasLetterSpacing}:null);s&&(this.inlineClassName=s.className,this.inlineClassNameAffectsLetterSpacing=s.hasLetterSpacing),this.beforeContentClassName=o(3),this.afterContentClassName=o(4),this.glyphMarginClassName=o(2);var a=n.options;this.isWholeLine=Boolean(a.isWholeLine),this.stickiness=a.rangeBehavior;var u=a.light&&a.light.overviewRulerColor||a.overviewRulerColor,l=a.dark&&a.dark.overviewRulerColor||a.overviewRulerColor;void 0===u&&void 0===l||(this.overviewRuler={color:u||l,darkColor:l||u,position:a.overviewRulerLane||Ae.d.Center})}return e.prototype.getOptions=function(e,t){return t?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this},e.prototype.dispose=function(){this._disposables.dispose(),this._styleSheet.unref()},e}(),Ch={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"},wh=function(){function e(e,t,n){var i=this;this._theme=n.getTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var o=Sh.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(o=o+" "+Sh.getClassName(this._providerArgs.parentTypeKey,e)),this._className=o,this._unThemedSelector=Sh.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._usesThemeColors?this._themeListener=n.onThemeChange((function(e){i._theme=n.getTheme(),i._removeCSS(),i._buildCSS()})):this._themeListener=null}return e.prototype.dispose=function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)},Object.defineProperty(e.prototype,"hasContent",{get:function(){return this._hasContent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasLetterSpacing",{get:function(){return this._hasLetterSpacing},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},enumerable:!0,configurable:!0}),e.prototype._buildCSS=function(){var e,t,n,i=this._providerArgs.options;switch(this._ruleType){case 0:e=this.getCSSTextForModelDecorationClassName(i),t=this.getCSSTextForModelDecorationClassName(i.light),n=this.getCSSTextForModelDecorationClassName(i.dark);break;case 1:e=this.getCSSTextForModelDecorationInlineClassName(i),t=this.getCSSTextForModelDecorationInlineClassName(i.light),n=this.getCSSTextForModelDecorationInlineClassName(i.dark);break;case 2:e=this.getCSSTextForModelDecorationGlyphMarginClassName(i),t=this.getCSSTextForModelDecorationGlyphMarginClassName(i.light),n=this.getCSSTextForModelDecorationGlyphMarginClassName(i.dark);break;case 3:e=this.getCSSTextForModelDecorationContentClassName(i.before),t=this.getCSSTextForModelDecorationContentClassName(i.light&&i.light.before),n=this.getCSSTextForModelDecorationContentClassName(i.dark&&i.dark.before);break;case 4:e=this.getCSSTextForModelDecorationContentClassName(i.after),t=this.getCSSTextForModelDecorationContentClassName(i.light&&i.light.after),n=this.getCSSTextForModelDecorationContentClassName(i.dark&&i.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var o=this._providerArgs.styleSheet.sheet,r=!1;e.length>0&&(o.insertRule(this._unThemedSelector+" {"+e+"}",0),r=!0),t.length>0&&(o.insertRule(".vs"+this._unThemedSelector+" {"+t+"}",0),r=!0),n.length>0&&(o.insertRule(".vs-dark"+this._unThemedSelector+", .hc-black"+this._unThemedSelector+" {"+n+"}",0),r=!0),this._hasContent=r},e.prototype._removeCSS=function(){Z.I(this._unThemedSelector,this._providerArgs.styleSheet)},e.prototype.getCSSTextForModelDecorationClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["backgroundColor"],t),this.collectCSSText(e,["outline","outlineColor","outlineStyle","outlineWidth"],t),this.collectBorderSettingsCSSText(e,t),t.join("")},e.prototype.getCSSTextForModelDecorationInlineClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],t),e.letterSpacing&&(this._hasLetterSpacing=!0),t.join("")},e.prototype.getCSSTextForModelDecorationContentClassName=function(e){if(!e)return"";var t=[];if(void 0!==e){if(this.collectBorderSettingsCSSText(e,t),void 0!==e.contentIconPath&&t.push(ne.p(Ch.contentIconPath,Z.n(j.a.revive(e.contentIconPath)))),"string"==typeof e.contentText){var n=e.contentText.match(/^.*$/m)[0].replace(/['\\]/g,"\\$&");t.push(ne.p(Ch.contentText,n))}this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],t),this.collectCSSText(e,["width","height"],t)&&t.push("display:inline-block;")}return t.join("")},e.prototype.getCSSTextForModelDecorationGlyphMarginClassName=function(e){if(!e)return"";var t=[];return void 0!==e.gutterIconPath&&(t.push(ne.p(Ch.gutterIconPath,Z.n(j.a.revive(e.gutterIconPath)))),void 0!==e.gutterIconSize&&t.push(ne.p(Ch.gutterIconSize,e.gutterIconSize))),t.join("")},e.prototype.collectBorderSettingsCSSText=function(e,t){return!!this.collectCSSText(e,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],t)&&(t.push(ne.p("box-sizing: border-box;")),!0)},e.prototype.collectCSSText=function(e,t,n){for(var i=n.length,o=0,r=t;o<r.length;o++){var s=r[o],a=this.resolveValue(e[s]);"string"==typeof a&&n.push(ne.p(Ch[s],a))}return n.length!==i},e.prototype.resolveValue=function(e){if(Object(Te.c)(e)){this._usesThemeColors=!0;var t=this._theme.getColor(e.id);return t?t.toString():"transparent"}return e},e}(),Sh=function(){function e(){}return e.getClassName=function(e,t){return"ced-"+e+"-"+t},e.getSelector=function(e,t,n){var i=".monaco-editor ."+this.getClassName(e,n);return t&&(i=i+"."+this.getClassName(t,n)),3===n?i+="::before":4===n&&(i+="::after"),i},e}(),Lh=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Nh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Lh(t,e),t.prototype.getActiveCodeEditor=function(){return null},t.prototype.openCodeEditor=function(e,t,n){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)},t.prototype.doOpenEditor=function(e,t){if(!this.findModel(e,t.resource)){if(t.resource){var n=t.resource.scheme;if(n===$.b.http||n===$.b.https)return Object(Z.U)(t.resource.toString()),e}return null}var i=t.options?t.options.selection:null;if(i)if("number"==typeof i.endLineNumber&&"number"==typeof i.endColumn)e.setSelection(i),e.revealRangeInCenter(i,1);else{var o={lineNumber:i.startLineNumber,column:i.startColumn};e.setPosition(o),e.revealPositionInCenter(o,1)}return e},t.prototype.findModel=function(e,t){var n=e.getModel();return n&&n.uri.toString()!==t.toString()?null:n},t}(_h),Oh=function(e,t,n,i,o){this.token=e,this.index=t,this.fontStyle=n,this.foreground=i,this.background=o};function Dh(e,t){e.sort((function(e,t){var n=function(e,t){if(e<t)return-1;if(e>t)return 1;return 0}(e.token,t.token);return 0!==n?n:e.index-t.index}));for(var n=0,i="000000",o="ffffff";e.length>=1&&""===e[0].token;){var r=e.shift();-1!==r.fontStyle&&(n=r.fontStyle),null!==r.foreground&&(i=r.foreground),null!==r.background&&(o=r.background)}for(var s=new Eh,a=0,u=t;a<u.length;a++){var l=u[a];s.getId(l)}for(var c=s.getId(i),d=s.getId(o),h=new Rh(n,c,d),f=new Ph(h),p=0,g=e.length;p<g;p++){var m=e[p];f.insert(m.token,m.fontStyle,s.getId(m.foreground),s.getId(m.background))}return new kh(s,f)}var xh=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,Eh=function(){function e(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}return e.prototype.getId=function(e){if(null===e)return 0;var t=e.match(xh);if(!t)throw new Error("Illegal value for token color: "+e);e=t[1].toUpperCase();var n=this._color2id.get(e);return n||(n=++this._lastColorId,this._color2id.set(e,n),this._id2color[n]=Ls.a.fromHex("#"+e),n)},e.prototype.getColorMap=function(){return this._id2color.slice(0)},e}(),kh=function(){function e(e,t){this._colorMap=e,this._root=t,this._cache=new Map}return e.createFromRawTokenTheme=function(e,t){return this.createFromParsedTokenTheme(function(e){if(!e||!Array.isArray(e))return[];for(var t=[],n=0,i=0,o=e.length;i<o;i++){var r=e[i],s=-1;if("string"==typeof r.fontStyle){s=0;for(var a=r.fontStyle.split(" "),u=0,l=a.length;u<l;u++){switch(a[u]){case"italic":s|=1;break;case"bold":s|=2;break;case"underline":s|=4}}}var c=null;"string"==typeof r.foreground&&(c=r.foreground);var d=null;"string"==typeof r.background&&(d=r.background),t[n++]=new Oh(r.token||"",i,s,c,d)}return t}(e),t)},e.createFromParsedTokenTheme=function(e,t){return Dh(e,t)},e.prototype.getColorMap=function(){return this._colorMap.getColorMap()},e.prototype._match=function(e){return this._root.match(e)},e.prototype.match=function(e,t){var n=this._cache.get(t);if(void 0===n){var i=this._match(t),o=function(e){var t=e.match(Ih);if(!t)return 0;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}(t);n=(i.metadata|o<<8)>>>0,this._cache.set(t,n)}return(n|e<<0)>>>0},e}(),Ih=/\b(comment|string|regex|regexp)\b/;var Mh,Th,Ah,Rh=function(){function e(e,t,n){this._fontStyle=e,this._foreground=t,this._background=n,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}return e.prototype.clone=function(){return new e(this._fontStyle,this._foreground,this._background)},e.prototype.acceptOverwrite=function(e,t,n){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==n&&(this._background=n),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0},e}(),Ph=function(){function e(e){this._mainRule=e,this._children=new Map}return e.prototype.match=function(e){if(""===e)return this._mainRule;var t,n,i=e.indexOf(".");-1===i?(t=e,n=""):(t=e.substring(0,i),n=e.substring(i+1));var o=this._children.get(t);return void 0!==o?o.match(n):this._mainRule},e.prototype.insert=function(t,n,i,o){if(""!==t){var r,s,a=t.indexOf(".");-1===a?(r=t,s=""):(r=t.substring(0,a),s=t.substring(a+1));var u=this._children.get(r);void 0===u&&(u=new e(this._mainRule.clone()),this._children.set(r,u)),u.insert(s,n,i,o)}else this._mainRule.acceptOverwrite(n,i,o)},e}();var Fh={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(Mh={},Mh[Ns.n]="#FFFFFE",Mh[Ns.w]="#000000",Mh[Ns.z]="#E5EBF1",Mh[Rs]="#D3D3D3",Mh[Ps]="#939393",Mh[Ns.E]="#ADD6FF4D",Mh)},Vh={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(Th={},Th[Ns.n]="#1E1E1E",Th[Ns.w]="#D4D4D4",Th[Ns.z]="#3A3D41",Th[Rs]="#404040",Th[Ps]="#707070",Th[Ns.E]="#ADD6FF26",Th)},Wh={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(Ah={},Ah[Ns.n]="#000000",Ah[Ns.w]="#FFFFFF",Ah[Rs]="#FFFFFF",Ah[Ps]="#FFFFFF",Ah)},Bh=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),jh=Xn.a.as(Ns.a.ColorContribution),Hh=Xn.a.as(Ir.a.ThemingContribution),zh=function(){function e(e,t){this.themeData=t;var n=t.base;e.length>0?(this.id=n+" "+e,this.themeName=e):(this.id=n,this.themeName=n),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}return Object.defineProperty(e.prototype,"base",{get:function(){return this.themeData.base},enumerable:!0,configurable:!0}),e.prototype.notifyBaseUpdated=function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)},e.prototype.getColors=function(){if(!this.colors){var e=new Map;for(var t in this.themeData.colors)e.set(t,Ls.a.fromHex(this.themeData.colors[t]));if(this.themeData.inherit){var n=Kh(this.themeData.base);for(var t in n.colors)e.has(t)||e.set(t,Ls.a.fromHex(n.colors[t]))}this.colors=e}return this.colors},e.prototype.getColor=function(e,t){var n=this.getColors().get(e);return n||(!1!==t?this.getDefault(e):void 0)},e.prototype.getDefault=function(e){var t=this.defaultColors[e];return t||(t=jh.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)},e.prototype.defines=function(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)},Object.defineProperty(e.prototype,"type",{get:function(){switch(this.base){case"vs":return"light";case"hc-black":return"hc";default:return"dark"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tokenTheme",{get:function(){if(!this._tokenTheme){var e=[],t=[];if(this.themeData.inherit){var n=Kh(this.themeData.base);e=n.rules,n.encodedTokensColors&&(t=n.encodedTokensColors)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=kh.createFromRawTokenTheme(e,t)}return this._tokenTheme},enumerable:!0,configurable:!0}),e.prototype.getTokenStyleMetadata=function(e,t){},e}();function Uh(e){return"vs"===e||"vs-dark"===e||"hc-black"===e}function Kh(e){switch(e){case"vs":return Fh;case"vs-dark":return Vh;case"hc-black":return Wh}}function qh(e){var t=Kh(e);return new zh(e,t)}var Gh=function(e){function t(){var t=e.call(this)||this;return t._onThemeChange=t._register(new W.a),t.onThemeChange=t._onThemeChange.event,t._environment=Object.create(null),t._knownThemes=new Map,t._knownThemes.set("vs",qh("vs")),t._knownThemes.set("vs-dark",qh("vs-dark")),t._knownThemes.set("hc-black",qh("hc-black")),t._css="",t._globalStyleElement=null,t._styleElements=[],t.setTheme("vs"),t}return Bh(t,e),t.prototype.registerEditorContainer=function(e){return Z.H(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()},t.prototype._registerRegularEditorContainer=function(){return this._globalStyleElement||(this._globalStyleElement=Z.q(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._css,this._styleElements.push(this._globalStyleElement)),le.a.None},t.prototype._registerShadowDomContainer=function(e){var t=this,n=Z.q(e);return n.className="monaco-colors",n.innerHTML=this._css,this._styleElements.push(n),{dispose:function(){for(var e=0;e<t._styleElements.length;e++)if(t._styleElements[e]===n)return void t._styleElements.splice(e,1)}}},t.prototype.defineTheme=function(e,t){if(!/^[a-z0-9\-]+$/i.test(e))throw new Error("Illegal theme name!");if(!Uh(t.base)&&!Uh(e))throw new Error("Illegal theme base!");this._knownThemes.set(e,new zh(e,t)),Uh(e)&&this._knownThemes.forEach((function(t){t.base===e&&t.notifyBaseUpdated()})),this._theme&&this._theme.themeName===e&&this.setTheme(e)},t.prototype.getTheme=function(){return this._theme},t.prototype.setTheme=function(e){var t,n=this;if(t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get("vs"),this._theme===t)return t.id;this._theme=t;var i=[],o={},r={addRule:function(e){o[e]||(i.push(e),o[e]=!0)}};Hh.getThemingParticipants().forEach((function(e){return e(t,r,n._environment)}));var s=t.tokenTheme.getColorMap();return r.addRule(function(e){for(var t=[],n=1,i=e.length;n<i;n++){var o=e[n];t[n]=".mtk"+n+" { color: "+o+"; }"}return t.push(".mtki { font-style: italic; }"),t.push(".mtkb { font-weight: bold; }"),t.push(".mtku { text-decoration: underline; text-underline-position: under; }"),t.join("\n")}(s)),this._css=i.join("\n"),this._styleElements.forEach((function(e){return e.innerHTML=n._css})),Re.y.setColorMap(s),this._onThemeChange.fire(t),t.id},t.prototype.getIconTheme=function(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}},t}(le.a),Yh=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Zh=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Xh=function(e,t){return function(n,i){t(n,i,e)}},Jh=function(){function e(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}return e.prototype.setValue=function(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)},e.prototype.removeValue=function(e){return e in this._value&&(delete this._value[e],!0)},e.prototype.getValue=function(e){var t=this._value[e];return void 0===t&&this._parent?this._parent.getValue(e):t},e}(),Qh=function(e){function t(){return e.call(this,-1,null)||this}return Yh(t,e),t.prototype.setValue=function(e,t){return!1},t.prototype.removeValue=function(e){return!1},t.prototype.getValue=function(e){},t.INSTANCE=new t,t}(Jh),$h=function(e){function t(t,n,i){var o=e.call(this,t,null)||this;return o._configurationService=n,o._values=new Map,o._listener=o._configurationService.onDidChangeConfiguration((function(e){if(6===e.source){var t=Object(Qn.d)(o._values);o._values.clear(),i.fire(new nf(t))}else{for(var n=[],r=0,s=e.affectedKeys;r<s.length;r++){var a="config."+s[r];o._values.has(a)&&(o._values.delete(a),n.push(a))}i.fire(new nf(n))}})),o}return Yh(t,e),t.prototype.dispose=function(){this._listener.dispose()},t.prototype.getValue=function(n){if(0!==n.indexOf(t._keyPrefix))return e.prototype.getValue.call(this,n);if(this._values.has(n))return this._values.get(n);var i=n.substr(t._keyPrefix.length),o=this._configurationService.getValue(i),r=void 0;switch(typeof o){case"number":case"boolean":case"string":r=o}return this._values.set(n,r),r},t.prototype.setValue=function(t,n){return e.prototype.setValue.call(this,t,n)},t.prototype.removeValue=function(t){return e.prototype.removeValue.call(this,t)},t._keyPrefix="config.",t}(Jh),ef=function(){function e(e,t,n){this._service=e,this._key=t,this._defaultValue=n,this.reset()}return e.prototype.set=function(e){this._service.setContext(this._key,e)},e.prototype.reset=function(){void 0===this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)},e.prototype.get=function(){return this._service.getContextKeyValue(this._key)},e}(),tf=function(){function e(e){this.key=e}return e.prototype.affectsSome=function(e){return e.has(this.key)},e}(),nf=function(){function e(e){this.keys=e}return e.prototype.affectsSome=function(e){for(var t=0,n=this.keys;t<n.length;t++){var i=n[t];if(e.has(i))return!0}return!1},e}(),of=function(){function e(e){this.events=e}return e.prototype.affectsSome=function(e){for(var t=0,n=this.events;t<n.length;t++){if(n[t].affectsSome(e))return!0}return!1},e}(),rf=function(){function e(e){this._onDidChangeContext=new W.d({merge:function(e){return new of(e)}}),this._isDisposed=!1,this._myContextId=e}return e.prototype.createKey=function(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new ef(this,e,t)},Object.defineProperty(e.prototype,"onDidChangeContext",{get:function(){return this._onDidChangeContext.event},enumerable:!0,configurable:!0}),e.prototype.bufferChangeEvents=function(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}},e.prototype.createScoped=function(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new af(this,e)},e.prototype.contextMatchesRules=function(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");var t=this.getContextValuesContainer(this._myContextId);return Xi.contextMatchesRules(t,e)},e.prototype.getContextKeyValue=function(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)},e.prototype.setContext=function(e,t){if(!this._isDisposed){var n=this.getContextValuesContainer(this._myContextId);n&&n.setValue(e,t)&&this._onDidChangeContext.fire(new tf(e))}},e.prototype.removeContext=function(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new tf(e))},e.prototype.getContext=function(e){return this._isDisposed?Qh.INSTANCE:this.getContextValuesContainer(function(e){for(;e;){if(e.hasAttribute("data-keybinding-context")){var t=e.getAttribute("data-keybinding-context");return t?parseInt(t,10):NaN}e=e.parentElement}return 0}(e))},e}(),sf=function(e){function t(t){var n=e.call(this,0)||this;n._contexts=new Map,n._toDispose=new le.b,n._lastContextId=0;var i=new $h(n._myContextId,t,n._onDidChangeContext);return n._contexts.set(n._myContextId,i),n._toDispose.add(i),n}return Yh(t,e),t.prototype.dispose=function(){this._isDisposed=!0,this._toDispose.dispose()},t.prototype.getContextValuesContainer=function(e){return this._isDisposed?Qh.INSTANCE:this._contexts.get(e)||Qh.INSTANCE},t.prototype.createChildContext=function(e){if(void 0===e&&(e=this._myContextId),this._isDisposed)throw new Error("ContextKeyService has been disposed");var t=++this._lastContextId;return this._contexts.set(t,new Jh(t,this.getContextValuesContainer(e))),t},t.prototype.disposeContext=function(e){this._isDisposed||this._contexts.delete(e)},t=Zh([Xh(0,Pi)],t)}(rf),af=function(e){function t(t,n){var i=e.call(this,t.createChildContext())||this;return i._parent=t,n&&(i._domNode=n,i._domNode.setAttribute("data-keybinding-context",String(i._myContextId))),i}return Yh(t,e),t.prototype.dispose=function(){this._isDisposed=!0,this._parent.disposeContext(this._myContextId),this._domNode&&(this._domNode.removeAttribute("data-keybinding-context"),this._domNode=void 0)},Object.defineProperty(t.prototype,"onDidChangeContext",{get:function(){return W.b.any(this._parent.onDidChangeContext,this._onDidChangeContext.event)},enumerable:!0,configurable:!0}),t.prototype.getContextValuesContainer=function(e){return this._isDisposed?Qh.INSTANCE:this._parent.getContextValuesContainer(e)},t.prototype.createChildContext=function(e){if(void 0===e&&(e=this._myContextId),this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)},t.prototype.disposeContext=function(e){this._isDisposed||this._parent.disposeContext(e)},t}(rf);ae.a.registerCommand(Zi.e,(function(e,t,n){e.get(Zi.c).createKey(String(t),n)}));n("eizg"),n("CHaL");var uf,lf=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),cf=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},df=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,hf=/(&)?(&)([^\s&])/g;!function(e){e[e.Right=0]="Right",e[e.Left=1]="Left"}(uf||(uf={}));var ff=function(e){function t(t,n,i){var o=e.call(this,i||"submenu",t,"",!0)||this;return o.entries=n,o}return lf(t,e),t}(Hc.a),pf=function(e){function t(t,n,i){void 0===i&&(i={});var o=this;Object(Z.e)(t,"monaco-menu-container"),t.setAttribute("role","presentation");var r=document.createElement("div");Object(Z.e)(r,"monaco-menu"),r.setAttribute("role","presentation"),(o=e.call(this,r,{orientation:2,actionViewItemProvider:function(e){return o.doGetActionViewItem(e,i,s)},context:i.context,actionRunner:i.actionRunner,ariaLabel:i.ariaLabel,triggerKeys:{keys:cf([3],ie.e?[10]:[]),keyDown:!0}})||this).menuElement=r,o.actionsList.setAttribute("role","menu"),o.actionsList.tabIndex=0,o.menuDisposables=o._register(new le.b),Object(Z.g)(r,Z.c.KEY_DOWN,(function(e){new Gn.a(e).equals(2)&&e.preventDefault()})),i.enableMnemonics&&o.menuDisposables.add(Object(Z.g)(r,Z.c.KEY_DOWN,(function(e){var t=e.key.toLocaleLowerCase();if(o.mnemonics.has(t)){Z.b.stop(e,!0);var n=o.mnemonics.get(t);if(1===n.length&&(n[0]instanceof mf&&n[0].container&&o.focusItemByElement(n[0].container),n[0].onClick(e)),n.length>1){var i=n.shift();i&&i.container&&(o.focusItemByElement(i.container),n.push(i)),o.mnemonics.set(t,n)}}}))),ie.d&&o._register(Object(Z.g)(r,Z.c.KEY_DOWN,(function(e){var t=new Gn.a(e);t.equals(14)||t.equals(11)?(o.focusedItem=o.viewItems.length-1,o.focusNext(),Z.b.stop(e,!0)):(t.equals(13)||t.equals(12))&&(o.focusedItem=0,o.focusPrevious(),Z.b.stop(e,!0))}))),o._register(Object(Z.g)(o.domNode,Z.c.MOUSE_OUT,(function(e){var t=e.relatedTarget;Object(Z.E)(t,o.domNode)||(o.focusedItem=void 0,o.updateFocus(),e.stopPropagation())}))),o._register(Object(Z.g)(o.actionsList,Z.c.MOUSE_OVER,(function(e){var t=e.target;if(t&&Object(Z.E)(t,o.actionsList)&&t!==o.actionsList){for(;t.parentElement!==o.actionsList&&null!==t.parentElement;)t=t.parentElement;if(Object(Z.C)(t,"action-item")){var n=o.focusedItem;o.setFocusedItem(t),n!==o.focusedItem&&o.updateFocus()}}})));var s={parent:o};o.mnemonics=new Map,o.scrollableElement=o._register(new Ya.a(r,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));var a=o.scrollableElement.getDomNode();return a.style.position="",o._register(Object(Z.g)(a,Z.c.MOUSE_UP,(function(e){e.preventDefault()}))),r.style.maxHeight=Math.max(10,window.innerHeight-t.getBoundingClientRect().top-30)+"px",o.push(n,{icon:!0,label:!0,isMenu:!0}),t.appendChild(o.scrollableElement.getDomNode()),o.scrollableElement.scanDomNode(),o.viewItems.filter((function(e){return!(e instanceof vf)})).forEach((function(e,t,n){e.updatePositionInSet(t+1,n.length)})),o}return lf(t,e),t.prototype.style=function(e){var t=this.getContainer(),n=e.foregroundColor?""+e.foregroundColor:"",i=e.backgroundColor?""+e.backgroundColor:"",o=e.borderColor?"1px solid "+e.borderColor:"",r=e.shadowColor?"0 2px 4px "+e.shadowColor:"";t.style.border=o,this.domNode.style.color=n,this.domNode.style.backgroundColor=i,t.style.boxShadow=r,this.viewItems&&this.viewItems.forEach((function(t){(t instanceof gf||t instanceof vf)&&t.style(e)}))},t.prototype.getContainer=function(){return this.scrollableElement.getDomNode()},Object.defineProperty(t.prototype,"onScroll",{get:function(){return this.scrollableElement.onScroll},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollOffset",{get:function(){return this.menuElement.scrollTop},enumerable:!0,configurable:!0}),t.prototype.focusItemByElement=function(e){var t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()},t.prototype.setFocusedItem=function(e){for(var t=0;t<this.actionsList.children.length;t++){if(e===this.actionsList.children[t]){this.focusedItem=t;break}}},t.prototype.updateFocus=function(t){e.prototype.updateFocus.call(this,t,!0),void 0!==this.focusedItem&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})},t.prototype.doGetActionViewItem=function(e,t,n){if(e instanceof jc.d)return new vf(t.context,e,{icon:!0});if(e instanceof ff){var i=new mf(e,e.entries,n,t);if(t.enableMnemonics)if((u=i.getMnemonic())&&i.isEnabled()){var o=[];this.mnemonics.has(u)&&(o=this.mnemonics.get(u)),o.push(i),this.mnemonics.set(u,o)}return i}var r={enableMnemonics:t.enableMnemonics};if(t.getKeyBinding){var s=t.getKeyBinding(e);if(s){var a=s.getLabel();a&&(r.keybinding=a)}}var u;i=new gf(t.context,e,r);if(t.enableMnemonics&&(u=i.getMnemonic())&&i.isEnabled()){o=[];this.mnemonics.has(u)&&(o=this.mnemonics.get(u)),o.push(i),this.mnemonics.set(u,o)}return i},t}(jc.a),gf=function(e){function t(t,n,i){void 0===i&&(i={});var o=this;if(i.isMenu=!0,(o=e.call(this,n,n,i)||this).options=i,o.options.icon=void 0!==i.icon&&i.icon,o.options.label=void 0===i.label||i.label,o.cssClass="",o.options.label&&i.enableMnemonics){var r=o.getAction().label;if(r){var s=df.exec(r);s&&(o.mnemonic=(s[1]?s[1]:s[3]).toLocaleLowerCase())}}return o.runOnceToEnableMouseUp=new We.d((function(){o.element&&o._register(Object(Z.g)(o.element,Z.c.MOUSE_UP,(function(e){e.defaultPrevented||(Z.b.stop(e,!0),o.onClick(e))})))}),100),o._register(o.runOnceToEnableMouseUp),o}return lf(t,e),t.prototype.render=function(t){e.prototype.render.call(this,t),this.element&&(this.container=t,this.item=Object(Z.m)(this.element,Object(Z.a)("a.action-menu-item")),this._action.id===jc.d.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=Object(Z.m)(this.item,Object(Z.a)("span.menu-item-check.codicon.codicon-check")),this.check.setAttribute("role","none"),this.label=Object(Z.m)(this.item,Object(Z.a)("span.action-label")),this.options.label&&this.options.keybinding&&(Object(Z.m)(this.item,Object(Z.a)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())},t.prototype.blur=function(){e.prototype.blur.call(this),this.applyStyle()},t.prototype.focus=function(){e.prototype.focus.call(this),this.item&&this.item.focus(),this.applyStyle()},t.prototype.updatePositionInSet=function(e,t){this.item&&(this.item.setAttribute("aria-posinset",""+e),this.item.setAttribute("aria-setsize",""+t))},t.prototype.updateLabel=function(){if(this.options.label){var e=this.getAction().label;if(e){var t=function(e){var t=df,n=t.exec(e);if(!n)return e;var i=!n[1];return e.replace(t,i?"$2$3":"").trim()}(e);this.options.enableMnemonics||(e=t),this.label&&this.label.setAttribute("aria-label",t.replace(/&&/g,"&"));var n=df.exec(e);if(n){e=ne.m(e),hf.lastIndex=0;for(var i=hf.exec(e);i&&i[1];)i=hf.exec(e);i&&(e=e.substr(0,i.index)+'<u aria-hidden="true">'+i[3]+"</u>"+e.substr(i.index+i[0].length)),e=e.replace(/&&/g,"&"),this.item&&this.item.setAttribute("aria-keyshortcuts",(n[1]?n[1]:n[3]).toLocaleLowerCase())}else e=e.replace(/&&/g,"&")}this.label&&(this.label.innerHTML=e.trim())}},t.prototype.updateTooltip=function(){var e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=Zn.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.item&&(this.item.title=e)},t.prototype.updateClass=function(){this.cssClass&&this.item&&Object(Z.K)(this.item,this.cssClass),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",Object(Z.e)(this.label,"icon"),this.cssClass&&Object(Z.f)(this.label,this.cssClass),this.updateEnabled()):this.label&&Object(Z.J)(this.label,"icon")},t.prototype.updateEnabled=function(){this.getAction().enabled?(this.element&&Object(Z.J)(this.element,"disabled"),this.item&&(Object(Z.J)(this.item,"disabled"),this.item.tabIndex=0)):(this.element&&Object(Z.e)(this.element,"disabled"),this.item&&(Object(Z.e)(this.item,"disabled"),Object(Z.M)(this.item)))},t.prototype.updateChecked=function(){this.item&&(this.getAction().checked?(Object(Z.e)(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(Object(Z.J)(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))},t.prototype.getMnemonic=function(){return this.mnemonic},t.prototype.applyStyle=function(){if(this.menuStyle){var e=this.element&&Object(Z.C)(this.element,"focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,n=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,i=e&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"";this.item&&(this.item.style.color=t?t.toString():"",this.item.style.backgroundColor=n?n.toString():""),this.check&&(this.check.style.color=t?t.toString():""),this.container&&(this.container.style.border=i)}},t.prototype.style=function(e){this.menuStyle=e,this.applyStyle()},t}(jc.c),mf=function(e){function t(t,n,i,o){var r=e.call(this,t,t,o)||this;return r.submenuActions=n,r.parentData=i,r.submenuOptions=o,r.mysubmenu=null,r.submenuDisposables=r._register(new le.b),r.mouseOver=!1,r.expandDirection=o&&void 0!==o.expandDirection?o.expandDirection:uf.Right,r.showScheduler=new We.d((function(){r.mouseOver&&(r.cleanupExistingSubmenu(!1),r.createSubmenu(!1))}),250),r.hideScheduler=new We.d((function(){r.element&&!Object(Z.E)(document.activeElement,r.element)&&r.parentData.submenu===r.mysubmenu&&(r.parentData.parent.focus(!1),r.cleanupExistingSubmenu(!0))}),750),r}return lf(t,e),t.prototype.render=function(t){var n=this;e.prototype.render.call(this,t),this.element&&(this.item&&(Object(Z.e)(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(Z.m)(this.item,Object(Z.a)("span.submenu-indicator.codicon.codicon-chevron-right")),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(Z.g)(this.element,Z.c.KEY_UP,(function(e){var t=new Gn.a(e);(t.equals(17)||t.equals(3))&&(Z.b.stop(e,!0),n.createSubmenu(!0))}))),this._register(Object(Z.g)(this.element,Z.c.KEY_DOWN,(function(e){var t=new Gn.a(e);document.activeElement===n.item&&(t.equals(17)||t.equals(3))&&Z.b.stop(e,!0)}))),this._register(Object(Z.g)(this.element,Z.c.MOUSE_OVER,(function(e){n.mouseOver||(n.mouseOver=!0,n.showScheduler.schedule())}))),this._register(Object(Z.g)(this.element,Z.c.MOUSE_LEAVE,(function(e){n.mouseOver=!1}))),this._register(Object(Z.g)(this.element,Z.c.FOCUS_OUT,(function(e){n.element&&!Object(Z.E)(document.activeElement,n.element)&&n.hideScheduler.schedule()}))),this._register(this.parentData.parent.onScroll((function(){n.parentData.parent.focus(!1),n.cleanupExistingSubmenu(!1)}))))},t.prototype.onClick=function(e){Z.b.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)},t.prototype.cleanupExistingSubmenu=function(e){this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)&&(this.parentData.submenu.dispose(),this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0))},t.prototype.createSubmenu=function(e){var t=this;if(void 0===e&&(e=!0),this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=Object(Z.m)(this.element,Object(Z.a)("div.monaco-submenu")),Object(Z.f)(this.submenuContainer,"menubar-menu-items-holder","context-view");var n=getComputedStyle(this.parentData.parent.domNode),i=parseFloat(n.paddingTop||"0")||0;this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-i+"px",this.parentData.submenu=new pf(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);var o=this.element.getBoundingClientRect(),r=this.submenuContainer.getBoundingClientRect();this.expandDirection===uf.Right?window.innerWidth<=o.right+r.width?(this.submenuContainer.style.left="10px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset+o.height+"px"):(this.submenuContainer.style.left=this.element.offsetWidth+"px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-i+"px"):this.expandDirection===uf.Left&&(this.submenuContainer.style.right=this.element.offsetWidth+"px",this.submenuContainer.style.left="auto",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-i+"px"),this.submenuDisposables.add(Object(Z.g)(this.submenuContainer,Z.c.KEY_UP,(function(e){new Gn.a(e).equals(15)&&(Z.b.stop(e,!0),t.parentData.parent.focus(),t.cleanupExistingSubmenu(!0))}))),this.submenuDisposables.add(Object(Z.g)(this.submenuContainer,Z.c.KEY_DOWN,(function(e){new Gn.a(e).equals(15)&&Z.b.stop(e,!0)}))),this.submenuDisposables.add(this.parentData.submenu.onDidCancel((function(){t.parentData.parent.focus(),t.cleanupExistingSubmenu(!0)}))),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}},t.prototype.updateAriaExpanded=function(e){var t;this.item&&(null===(t=this.item)||void 0===t||t.setAttribute("aria-expanded",e))},t.prototype.applyStyle=function(){if(e.prototype.applyStyle.call(this),this.menuStyle){var t=this.element&&Object(Z.C)(this.element,"focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=t?""+t:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)},t}(gf),vf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lf(t,e),t.prototype.style=function(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?""+e.separatorColor:"")},t}(jc.b);var _f=function(){return(_f=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function yf(e,t,n){function i(i){var o=function(e,t){var n=Object.create(null);for(var i in t){var o=t[i];o&&(n[i]=Object(Ns.Fb)(o,e))}return n}(e.getTheme(),t);"function"==typeof n?n(o):n.style(o)}return i(e.getTheme()),e.onThemeChange(i)}function bf(e,t,n){return yf(t,_f(_f({},Cf),n||{}),e)}var Cf={listFocusBackground:Ns.ib,listFocusForeground:Ns.jb,listActiveSelectionBackground:Object(Ns.f)(Ns.cb,.1),listActiveSelectionForeground:Ns.db,listFocusAndSelectionBackground:Ns.cb,listFocusAndSelectionForeground:Ns.db,listInactiveSelectionBackground:Ns.nb,listInactiveSelectionForeground:Ns.ob,listInactiveFocusBackground:Ns.mb,listHoverBackground:Ns.kb,listHoverForeground:Ns.lb,listDropBackground:Ns.eb,listFocusOutline:Ns.b,listSelectionOutline:Ns.b,listHoverOutline:Ns.b,listFilterWidgetBackground:Ns.fb,listFilterWidgetOutline:Ns.hb,listFilterWidgetNoMatchesOutline:Ns.gb,listMatchesShadow:Ns.Lb,treeIndentGuidesStroke:Ns.Kb},wf={shadowColor:Ns.Lb,borderColor:Ns.qb,foregroundColor:Ns.rb,backgroundColor:Ns.pb,selectionForegroundColor:Ns.ub,selectionBackgroundColor:Ns.sb,selectionBorderColor:Ns.tb,separatorColor:Ns.vb};var Sf,Lf=n("4y0V"),Nf=function(){function e(e,t,n,i,o){this.contextViewService=e,this.telemetryService=t,this.notificationService=n,this.keybindingService=i,this.themeService=o,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}return e.prototype.configure=function(e){this.options=e},e.prototype.showContextMenu=function(e){var t,n=this,i=e.getActions();i.length&&(this.focusToReturn=document.activeElement,this.contextViewService.showContextView({getAnchor:function(){return e.getAnchor()},canRelayout:!1,anchorAlignment:e.anchorAlignment,render:function(o){var r=e.getMenuClassName?e.getMenuClassName():"";r&&(o.className+=" "+r),n.options.blockMouse&&(n.block=o.appendChild(Object(Z.a)(".context-view-block")));var s,a,u=new le.b,l=e.actionRunner||new Hc.b;return l.onDidBeforeRun(n.onActionRun,n,u),l.onDidRun(n.onDidActionRun,n,u),t=new pf(o,i,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:l,getKeyBinding:e.getKeyBinding?e.getKeyBinding:function(e){return n.keybindingService.lookupKeybinding(e.id)}}),u.add((s=t,yf(n.themeService,_f(_f({},wf),a),s))),t.onDidCancel((function(){return n.contextViewService.hideContextView(!0)}),null,u),t.onDidBlur((function(){return n.contextViewService.hideContextView(!0)}),null,u),Object(Lf.a)(window,Z.c.BLUR)((function(){n.contextViewService.hideContextView(!0)}),null,u),Object(Lf.a)(window,Z.c.MOUSE_DOWN)((function(e){if(!e.defaultPrevented){var t=new ar.a(e),i=t.target;if(!t.rightButton){for(;i;){if(i===o)return;i=i.parentElement}n.contextViewService.hideContextView(!0)}}}),null,u),Object(le.d)(u,t)},focus:function(){t&&t.focus(!!e.autoSelectFirstItem)},onHide:function(t){e.onHide&&e.onHide(!!t),n.block&&(Object(Z.L)(n.block),n.block=null),n.focusToReturn&&n.focusToReturn.focus()}}))},e.prototype.onActionRun=function(e){this.telemetryService&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()},e.prototype.onDidActionRun=function(e){e.error&&this.notificationService&&this.notificationService.error(e.error)},e}(),Of=n("XXUj"),Df=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),xf=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ef=function(e,t){return function(n,i){t(n,i,e)}},kf=function(e){function t(t,n,i,o,r){var s=e.call(this)||this;return s._onDidContextMenu=s._register(new W.a),s.contextMenuHandler=new Nf(i,t,n,o,r),s}return Df(t,e),t.prototype.configure=function(e){this.contextMenuHandler.configure(e)},t.prototype.showContextMenu=function(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()},t=xf([Ef(0,Of.a),Ef(1,lo.a),Ef(2,Xc.b),Ef(3,Cd.a),Ef(4,Ir.c)],t)}(le.a);n("TT2d");!function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};var n=Math.max(e.start,t.start),i=Math.min(e.end,t.end);return i-n<=0?{start:0,end:0}:{start:n,end:i}}function n(e){return e.end-e.start<=0}e.intersect=t,e.isEmpty=n,e.intersects=function(e,i){return!n(t(e,i))},e.relativeComplement=function(e,t){var i=[],o={start:e.start,end:Math.min(t.start,e.end)},r={start:Math.max(t.end,e.start),end:e.end};return n(o)||i.push(o),n(r)||i.push(r),i}}(Sf||(Sf={}));var If=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function Mf(e,t,n){var i=n.offset+n.size;return 0===n.position?t<=e-i?i:t<=n.offset?n.offset-t:Math.max(e-t,0):t<=n.offset?n.offset-t:t<=e-i?i:0}var Tf=function(e){function t(t){var n=e.call(this)||this;return n.container=null,n.delegate=null,n.toDisposeOnClean=le.a.None,n.toDisposeOnSetContainer=le.a.None,n.view=Z.a(".context-view"),Z.D(n.view),n.setContainer(t),n._register(Object(le.f)((function(){return n.setContainer(null)}))),n}return If(t,e),t.prototype.setContainer=function(e){var n=this;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.container.removeChild(this.view),this.container=null),e){this.container=e,this.container.appendChild(this.view);var i=new le.b;t.BUBBLE_UP_EVENTS.forEach((function(e){i.add(Z.k(n.container,e,(function(e){n.onDOMEvent(e,!1)})))})),t.BUBBLE_DOWN_EVENTS.forEach((function(e){i.add(Z.k(n.container,e,(function(e){n.onDOMEvent(e,!0)}),!0))})),this.toDisposeOnSetContainer=i}},t.prototype.show=function(e){this.isVisible()&&this.hide(),Z.o(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",Z.R(this.view),this.toDisposeOnClean=e.render(this.view)||le.a.None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()},t.prototype.layout=function(){this.isVisible()&&(!1!==this.delegate.canRelayout||ie.c&&ss.a.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())},t.prototype.doLayout=function(){if(this.isVisible()){var e,t=this.delegate.getAnchor();if(Z.F(t)){var n=Z.w(t);e={top:n.top,left:n.left,width:n.width,height:n.height}}else e={top:t.y,left:t.x,width:t.width||1,height:t.height||2};var i,o=Z.B(this.view),r=Z.A(this.view),s=this.delegate.anchorPosition||0,a=this.delegate.anchorAlignment||0,u={offset:e.top-window.pageYOffset,size:e.height,position:0===s?0:1};i=0===a?{offset:e.left,size:0,position:0}:{offset:e.left+e.width,size:0,position:1};var l=Mf(window.innerHeight,r,u)+window.pageYOffset;Sf.intersects({start:l,end:l+r},{start:u.offset,end:u.offset+u.size})&&(i.size=e.width,1===a&&(i.offset=e.left));var c=Mf(window.innerWidth,o,i);Z.K(this.view,"top","bottom","left","right"),Z.e(this.view,0===s?"bottom":"top"),Z.e(this.view,0===a?"left":"right");var d=Z.w(this.container);this.view.style.top=l-d.top+"px",this.view.style.left=c-d.left+"px",this.view.style.width="initial"}},t.prototype.hide=function(e){var t=this.delegate;this.delegate=null,(null==t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),Z.D(this.view)},t.prototype.isVisible=function(){return!!this.delegate},t.prototype.onDOMEvent=function(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!Z.E(e.target,this.container)&&this.hide())},t.prototype.dispose=function(){this.hide(),e.prototype.dispose.call(this)},t.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],t.BUBBLE_DOWN_EVENTS=["click"],t}(le.a),Af=Object(ue.c)("layoutService"),Rf=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Pf=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ff=function(e,t){return function(n,i){t(n,i,e)}},Vf=function(e){function t(t){var n=e.call(this)||this;return n.layoutService=t,n.contextView=n._register(new Tf(t.container)),n.layout(),n._register(t.onLayout((function(){return n.layout()}))),n}return Rf(t,e),t.prototype.setContainer=function(e){this.contextView.setContainer(e)},t.prototype.showContextView=function(e){this.contextView.show(e)},t.prototype.layout=function(){this.contextView.layout()},t.prototype.hideContextView=function(e){this.contextView.hide(e)},t=Pf([Ff(0,Af)],t)}(le.a),Wf=Object(ue.c)("dialogService");var Bf,jf=function(){function e(e){this._hashFn=e,this._nodes=Object.create(null)}return e.prototype.roots=function(){var e=[];return fi(this._nodes,(function(t){Object(je.f)(t.value.outgoing)&&e.push(t.value)})),e},e.prototype.insertEdge=function(e,t){var n=this.lookupOrInsertNode(e),i=this.lookupOrInsertNode(t);n.outgoing[this._hashFn(t)]=i,i.incoming[this._hashFn(e)]=n},e.prototype.removeNode=function(e){var t=this._hashFn(e);delete this._nodes[t],fi(this._nodes,(function(e){delete e.value.outgoing[t],delete e.value.incoming[t]}))},e.prototype.lookupOrInsertNode=function(e){var t=this._hashFn(e),n=this._nodes[t];return n||(n=function(e){return{data:e,incoming:Object.create(null),outgoing:Object.create(null)}}(e),this._nodes[t]=n),n},e.prototype.isEmpty=function(){for(var e in this._nodes)return!1;return!0},e.prototype.toString=function(){var e=[];return fi(this._nodes,(function(t){e.push(t.key+", (incoming)["+Object.keys(t.value.incoming).join(", ")+"], (outgoing)["+Object.keys(t.value.outgoing).join(",")+"]")})),e.join("\n")},e}(),Hf=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),zf=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Uf="function"==typeof Proxy,Kf=function(e){function t(t){var n=e.call(this,"cyclic dependency between services")||this;return n.message=t.toString(),n}return Hf(t,e),t}(Error),qf=function(){function e(e,t,n){void 0===e&&(e=new Xl),void 0===t&&(t=!1),this._services=e,this._strict=t,this._parent=n,this._services.set(ue.a,this)}return e.prototype.createChild=function(t){return new e(t,this._strict,this)},e.prototype.invokeFunction=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o=Gf.traceInvocation(e),r=!1;try{var s={get:function(e,n){if(r)throw Object(Be.c)("service accessor is only valid during the invocation of its target method");var i=t._getOrCreateServiceInstance(e,o);if(!i&&n!==ue.d)throw new Error("[invokeFunction] unknown service '"+e+"'");return i}};return e.apply(void 0,zf([s],n))}finally{r=!0,o.stop()}},e.prototype.createInstance=function(e){for(var t,n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return e instanceof kc?(t=Gf.traceCreation(e.ctor),n=this._createInstance(e.ctor,e.staticArguments.concat(i),t)):(t=Gf.traceCreation(e),n=this._createInstance(e,i,t)),t.stop(),n},e.prototype._createInstance=function(e,t,n){void 0===t&&(t=[]);for(var i=ue.b.getServiceDependencies(e).sort((function(e,t){return e.index-t.index})),o=[],r=0,s=i;r<s.length;r++){var a=s[r],u=this._getOrCreateServiceInstance(a.id,n);if(!u&&this._strict&&!a.optional)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+a.id+".");o.push(u)}var l=i.length>0?i[0].index:t.length;if(t.length!==l){console.warn("[createInstance] First service dependency of "+e.name+" at position "+(l+1)+" conflicts with "+t.length+" static arguments");var c=l-t.length;t=c>0?t.concat(new Array(c)):t.slice(0,l)}return new(e.bind.apply(e,zf([void 0],zf(t,o))))},e.prototype._setServiceInstance=function(e,t){if(this._services.get(e)instanceof kc)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}},e.prototype._getServiceInstanceOrDescriptor=function(e){var t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t},e.prototype._getOrCreateServiceInstance=function(e,t){var n=this._getServiceInstanceOrDescriptor(e);return n instanceof kc?this._createAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)},e.prototype._createAndCacheServiceInstance=function(e,t,n){for(var i=new jf((function(e){return e.id.toString()})),o=0,r=[{id:e,desc:t,_trace:n}];r.length;){var s=r.pop();if(i.lookupOrInsertNode(s),o++>150)throw new Kf(i);for(var a=0,u=ue.b.getServiceDependencies(s.desc.ctor);a<u.length;a++){var l=u[a],c=this._getServiceInstanceOrDescriptor(l.id);if(c||l.optional||console.warn("[createInstance] "+e+" depends on "+l.id+" which is NOT registered."),c instanceof kc){var d={id:l.id,desc:c,_trace:s._trace.branch(l.id,!0)};i.insertEdge(s,d),r.push(d)}}}for(;;){var h=i.roots();if(0===h.length){if(!i.isEmpty())throw new Kf(i);break}for(var f=0,p=h;f<p.length;f++){var g=p[f].data,m=this._createServiceInstanceWithOwner(g.id,g.desc.ctor,g.desc.staticArguments,g.desc.supportsDelayedInstantiation,g._trace);this._setServiceInstance(g.id,m),i.removeNode(g)}}return this._getServiceInstanceOrDescriptor(e)},e.prototype._createServiceInstanceWithOwner=function(e,t,n,i,o){if(void 0===n&&(n=[]),this._services.get(e)instanceof kc)return this._createServiceInstance(t,n,i,o);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,i,o);throw new Error("illegalState - creating UNKNOWN service instance "+t.name)},e.prototype._createServiceInstance=function(e,t,n,i){var o=this;if(void 0===t&&(t=[]),n&&Uf){var r=new We.b((function(){return o._createInstance(e,t,i)}));return new Proxy(Object.create(null),{get:function(e,t){if(t in e)return e[t];var n=r.getValue(),i=n[t];return"function"!=typeof i||(i=i.bind(n),e[t]=i),i},set:function(e,t,n){return r.getValue()[t]=n,!0}})}return this._createInstance(e,t,i)},e}(),Gf=function(){function e(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}return e.traceInvocation=function(t){return e._None},e.traceCreation=function(t){return e._None},e.prototype.branch=function(t,n){var i=new e(2,t.toString());return this._dep.push([t,n,i]),i},e.prototype.stop=function(){var t=Date.now()-this._start;e._totals+=t;var n=!1;var i=[(0===this.type?"CREATE":"CALL")+" "+this.name,""+function e(t,i){for(var o=[],r=new Array(t+1).join("\t"),s=0,a=i._dep;s<a.length;s++){var u=a[s],l=u[0],c=u[1],d=u[2];if(c&&d){n=!0,o.push(r+"CREATES -> "+l);var h=e(t+1,d);h&&o.push(h)}else o.push(r+"uses -> "+l)}return o.join("\n")}(1,this),"DONE, took "+t.toFixed(2)+"ms (grand total "+e._totals.toFixed(2)+"ms)"];(t>2||n)&&console.log(i.join("\n"))},e._None=new(function(e){function t(){return e.call(this,-1,null)||this}return Hf(t,e),t.prototype.stop=function(){},t.prototype.branch=function(){return this},t}(e)),e._totals=0,e}(),Yf=Object(ue.c)("label"),Zf=(n("4rho"),n("ZCR3")),Xf=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(e){e.TREE="tree",e.FORM="form"}(Bf||(Bf={}));var Jf=function(e){function t(t,n){return e.call(this,"ListError ["+t+"] "+n)||this}return Xf(t,e),t}(Error);function Qf(e,t){for(var n=[],i=0,o=t;i<o.length;i++){var r=o[i];if(!(e.start>=r.range.end)){if(e.end<r.range.start)break;var s=Sf.intersect(e,r.range);Sf.isEmpty(s)||n.push({range:s,size:r.size})}}return n}function $f(e,t){return{start:e.start+t,end:e.end+t}}function ep(e){for(var t=[],n=null,i=0,o=e;i<o.length;i++){var r=o[i],s=r.range.start,a=r.range.end,u=r.size;n&&u===n.size?n.range.end=a:(n={range:{start:s,end:a},size:u},t.push(n))}return t}var tp=function(){function e(){this.groups=[],this._size=0}return e.prototype.splice=function(e,t,n){void 0===n&&(n=[]);var i=n.length-t,o=Qf({start:0,end:e},this.groups),r=Qf({start:e+t,end:Number.POSITIVE_INFINITY},this.groups).map((function(e){return{range:$f(e.range,i),size:e.size}})),s=n.map((function(t,n){return{range:{start:e+n,end:e+n+1},size:t.size}}));this.groups=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ep(e.reduce((function(e,t){return e.concat(t)}),[]))}(o,s,r),this._size=this.groups.reduce((function(e,t){return e+t.size*(t.range.end-t.range.start)}),0)},Object.defineProperty(e.prototype,"count",{get:function(){var e=this.groups.length;return e?this.groups[e-1].range.end:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.indexAt=function(e){if(e<0)return-1;for(var t=0,n=0,i=0,o=this.groups;i<o.length;i++){var r=o[i],s=r.range.end-r.range.start,a=n+s*r.size;if(e<a)return t+Math.floor((e-n)/r.size);t+=s,n=a}return t},e.prototype.indexAfter=function(e){return Math.min(this.indexAt(e)+1,this.count)},e.prototype.positionAt=function(e){if(e<0)return-1;for(var t=0,n=0,i=0,o=this.groups;i<o.length;i++){var r=o[i],s=r.range.end-r.range.start,a=n+s;if(e<a)return t+(e-n)*r.size;t+=s*r.size,n=a}return-1},e}();var np=function(){function e(e){this.renderers=e,this.cache=new Map}return e.prototype.alloc=function(e){var t=this.getTemplateCache(e).pop();if(!t){var n=Object(Z.a)(".monaco-list-row");t={domNode:n,templateId:e,templateData:this.getRenderer(e).renderTemplate(n)}}return t},e.prototype.release=function(e){e&&this.releaseRow(e)},e.prototype.releaseRow=function(e){var t=e.domNode,n=e.templateId;t&&(Object(Z.J)(t,"scrolling"),function(e){try{e.parentElement&&e.parentElement.removeChild(e)}catch(e){}}(t)),this.getTemplateCache(n).push(e)},e.prototype.getTemplateCache=function(e){var t=this.cache.get(e);return t||(t=[],this.cache.set(e,t)),t},e.prototype.dispose=function(){var e=this;this.cache.forEach((function(t,n){for(var i=0,o=t;i<o.length;i++){var r=o[i];e.getRenderer(n).disposeTemplate(r.templateData),r.domNode=null,r.templateData=null}})),this.cache.clear()},e.prototype.getRenderer=function(e){var t=this.renderers.get(e);if(!t)throw new Error("No renderer found for "+e);return t},e}(),ip=n("ZQ78"),op=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},rp=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},sp={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:function(e){return[e]},getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},horizontalScrolling:!1},ap=function(){function e(e){this.elements=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.elements},e}(),up=function(){function e(e){this.elements=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.elements},e}(),lp=function(){function e(){this.types=[],this.files=[]}return e.prototype.update=function(e){var t;if(e.types&&(t=this.types).splice.apply(t,rp([0,this.types.length],e.types)),e.files){this.files.splice(0,this.files.length);for(var n=0;n<e.files.length;n++){var i=e.files.item(n);i&&(i.size||i.type)&&this.files.push(i)}}},e.prototype.getData=function(){return{types:this.types,files:this.files}},e}();var cp=function(){function e(t,n,i,o){var r=this;if(void 0===o&&(o=sp),this.virtualDelegate=n,this.domId="list_id_"+ ++e.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new We.a(50),this.splicing=!1,this.dragOverAnimationStopDisposable=le.a.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=le.a.None,this.onDragLeaveTimeout=le.a.None,this.disposables=new le.b,this._onDidChangeContentHeight=new W.a,o.horizontalScrolling&&o.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new tp;for(var s=0,a=i;s<a.length;s++){var u=a[s];this.renderers.set(u.templateId,u)}this.cache=this.disposables.add(new np(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",Z.e(this.domNode,this.domId),this.domNode.tabIndex=0,Z.S(this.domNode,"mouse-support","boolean"!=typeof o.mouseSupport||o.mouseSupport),this.horizontalScrolling=Object(Le.c)(o,(function(e){return e.horizontalScrolling}),sp.horizontalScrolling),Z.S(this.domNode,"horizontal-scrolling",this.horizontalScrolling),this.additionalScrollHeight=void 0===o.additionalScrollHeight?0:o.additionalScrollHeight,this.ariaProvider=o.ariaProvider||{getSetSize:function(e,t,n){return n},getPosInSet:function(e,t){return t+1}},this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)",this.disposables.add(sr.b.addTarget(this.rowsContainer)),this.scrollableElement=this.disposables.add(new Ya.b(this.rowsContainer,{alwaysConsumeMouseWheel:!0,horizontal:this.horizontalScrolling?1:2,vertical:Object(Le.c)(o,(function(e){return e.verticalScrollMode}),sp.verticalScrollMode),useShadows:Object(Le.c)(o,(function(e){return e.useShadows}),sp.useShadows)})),this.domNode.appendChild(this.scrollableElement.getDomNode()),t.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),Object(Lf.a)(this.rowsContainer,sr.a.Change)(this.onTouchChange,this,this.disposables),Object(Lf.a)(this.scrollableElement.getDomNode(),"scroll")((function(e){return e.target.scrollTop=0}),null,this.disposables),W.b.map(Object(Lf.a)(this.domNode,"dragover"),(function(e){return r.toDragEvent(e)}))(this.onDragOver,this,this.disposables),W.b.map(Object(Lf.a)(this.domNode,"drop"),(function(e){return r.toDragEvent(e)}))(this.onDrop,this,this.disposables),Object(Lf.a)(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),Object(Lf.a)(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=Object(Le.c)(o,(function(e){return e.setRowLineHeight}),sp.setRowLineHeight),this.supportDynamicHeights=Object(Le.c)(o,(function(e){return e.supportDynamicHeights}),sp.supportDynamicHeights),this.dnd=Object(Le.c)(o,(function(e){return e.dnd}),sp.dnd),this.layout()}return Object.defineProperty(e.prototype,"contentHeight",{get:function(){return this.rangeMap.size},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,n){if(void 0===n&&(n=[]),this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,n)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}},e.prototype._splice=function(e,t,n){var i,o=this;void 0===n&&(n=[]);for(var r=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),s={start:e,end:e+t},a=Sf.intersect(r,s),u=a.start;u<a.end;u++)this.removeItemFromDOM(u);var l,c={start:e+t,end:this.items.length},d=Sf.intersect(c,r),h=Sf.relativeComplement(c,r),f=n.map((function(e){return{id:String(o.itemId++),element:e,templateId:o.virtualDelegate.getTemplateId(e),size:o.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!o.virtualDelegate.hasDynamicHeight&&o.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:le.a.None}}));0===e&&t>=this.items.length?(this.rangeMap=new tp,this.rangeMap.splice(0,0,f),this.items=f,l=[]):(this.rangeMap.splice(e,t,f),l=(i=this.items).splice.apply(i,rp([e,t],f)));var p=n.length-t,g=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),m=$f(d,p),v=Sf.intersect(g,m);for(u=v.start;u<v.end;u++)this.updateItemInDOM(this.items[u],u);for(var _=0,y=Sf.relativeComplement(m,g);_<y.length;_++)for(u=(O=y[_]).start;u<O.end;u++)this.removeItemFromDOM(u);for(var b=h.map((function(e){return $f(e,p)})),C={start:e,end:e+n.length},w=rp([C],b).map((function(e){return Sf.intersect(g,e)})),S=this.getNextToLastElement(w),L=0,N=w;L<N.length;L++){var O;for(u=(O=N[L]).start;u<O.end;u++)this.insertItemInDOM(u,S)}return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),l.map((function(e){return e.element}))},e.prototype.eventuallyUpdateScrollDimensions=function(){var e=this;this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=Z.Q((function(){e.scrollableElement.setScrollDimensions({scrollHeight:e.scrollHeight}),e.updateScrollWidth(),e.scrollableElementUpdateDisposable=null})))},e.prototype.eventuallyUpdateScrollWidth=function(){var e=this;this.horizontalScrolling&&this.scrollableElementWidthDelayer.trigger((function(){return e.updateScrollWidth()}))},e.prototype.updateScrollWidth=function(){if(this.horizontalScrolling){0===this.items.length&&this.scrollableElement.setScrollDimensions({scrollWidth:0});for(var e=0,t=0,n=this.items;t<n.length;t++){var i=n[t];void 0!==i.width&&(e=Math.max(e,i.width))}this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:e+10})}},e.prototype.rerender=function(){if(this.supportDynamicHeights){for(var e=0,t=this.items;e<t.length;e++){t[e].lastDynamicHeightWidth=void 0}this._rerender(this.lastRenderTop,this.lastRenderHeight)}},Object.defineProperty(e.prototype,"length",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderHeight",{get:function(){return this.scrollableElement.getScrollDimensions().height},enumerable:!0,configurable:!0}),e.prototype.element=function(e){return this.items[e].element},e.prototype.domElement=function(e){var t=this.items[e].row;return t&&t.domNode},e.prototype.elementHeight=function(e){return this.items[e].size},e.prototype.elementTop=function(e){return this.rangeMap.positionAt(e)},e.prototype.indexAt=function(e){return this.rangeMap.indexAt(e)},e.prototype.indexAfter=function(e){return this.rangeMap.indexAfter(e)},e.prototype.layout=function(e,t){var n={height:"number"==typeof e?e:Z.u(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,n.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(n),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:Z.v(this.domNode)}))},e.prototype.render=function(e,t,n,i){for(var o=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),r=this.getRenderRange(e,t),s=Sf.relativeComplement(r,o),a=Sf.relativeComplement(o,r),u=this.getNextToLastElement(s),l=0,c=s;l<c.length;l++)for(var d=(p=c[l]).start;d<p.end;d++)this.insertItemInDOM(d,u);for(var h=0,f=a;h<f.length;h++){var p;for(d=(p=f[h]).start;d<p.end;d++)this.removeItemFromDOM(d)}this.rowsContainer.style.left="-"+n+"px",this.rowsContainer.style.top="-"+e+"px",this.horizontalScrolling&&(this.rowsContainer.style.width=Math.max(i,this.renderWidth)+"px"),this.lastRenderTop=e,this.lastRenderHeight=t},e.prototype.insertItemInDOM=function(e,t){var n=this,i=this.items[e];if(!i.row){i.row=this.cache.alloc(i.templateId);var o=this.ariaProvider.getRole?this.ariaProvider.getRole(i.element):"treeitem";i.row.domNode.setAttribute("role",o);var r=this.ariaProvider.isChecked?this.ariaProvider.isChecked(i.element):void 0;void 0!==r&&i.row.domNode.setAttribute("aria-checked",String(r))}i.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(i.row.domNode,t):this.rowsContainer.appendChild(i.row.domNode)),this.updateItemInDOM(i,e);var s=this.renderers.get(i.templateId);if(!s)throw new Error("No renderer found for template id "+i.templateId);s&&s.renderElement(i.element,e,i.row.templateData,i.size);var a=this.dnd.getDragURI(i.element);if(i.dragStartDisposable.dispose(),i.row.domNode.draggable=!!a,a){var u=Object(Lf.a)(i.row.domNode,"dragstart");i.dragStartDisposable=u((function(e){return n.onDragStart(i.element,a,e)}))}this.horizontalScrolling&&(this.measureItemWidth(i),this.eventuallyUpdateScrollWidth())},e.prototype.measureItemWidth=function(e){if(e.row&&e.row.domNode){e.row.domNode.style.width=Yo.h?"-moz-fit-content":"fit-content",e.width=Z.v(e.row.domNode);var t=window.getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}},e.prototype.updateItemInDOM=function(e,t){e.row.domNode.style.top=this.elementTop(t)+"px",e.row.domNode.style.height=e.size+"px",this.setRowLineHeight&&(e.row.domNode.style.lineHeight=e.size+"px"),e.row.domNode.setAttribute("data-index",""+t),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("aria-setsize",String(this.ariaProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.ariaProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),Z.S(e.row.domNode,"drop-target",e.dropTarget)},e.prototype.removeItemFromDOM=function(e){var t=this.items[e];t.dragStartDisposable.dispose();var n=this.renderers.get(t.templateId);n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null,this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()},e.prototype.getScrollTop=function(){return this.scrollableElement.getScrollPosition().scrollTop},e.prototype.setScrollTop=function(e){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e})},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.getScrollTop()},set:function(e){this.setScrollTop(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollHeight",{get:function(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseClick",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.domNode,"click"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDblClick",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.domNode,"dblclick"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseMiddleClick",{get:function(){var e=this;return W.b.filter(W.b.map(Object(Lf.a)(this.domNode,"auxclick"),(function(t){return e.toMouseEvent(t)})),(function(e){return 1===e.browserEvent.button}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDown",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.domNode,"mousedown"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onContextMenu",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.domNode,"contextmenu"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTouchStart",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.domNode,"touchstart"),(function(t){return e.toTouchEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTap",{get:function(){var e=this;return W.b.map(Object(Lf.a)(this.rowsContainer,sr.a.Tap),(function(t){return e.toGestureEvent(t)}))},enumerable:!0,configurable:!0}),e.prototype.toMouseEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},e.prototype.toTouchEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},e.prototype.toGestureEvent=function(e){var t=this.getItemIndexFromEventTarget(e.initialTarget||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},e.prototype.toDragEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},e.prototype.onScroll=function(e){try{this.render(e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height)}catch(t){throw console.error("Got bad scroll event:",e),t}},e.prototype.onTouchChange=function(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY},e.prototype.onDragStart=function(e,t,n){if(n.dataTransfer){var i=this.dnd.getDragElements(e);if(n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setData(ip.a.RESOURCES,JSON.stringify([t])),n.dataTransfer.setDragImage){var o=void 0;this.dnd.getDragLabel&&(o=this.dnd.getDragLabel(i,n)),void 0===o&&(o=String(i.length));var r=Z.a(".monaco-drag-image");r.textContent=o,document.body.appendChild(r),n.dataTransfer.setDragImage(r,-10,-10),setTimeout((function(){return document.body.removeChild(r)}),0)}this.currentDragData=new ap(i),ip.c.CurrentDragAndDropData=new up(i),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,n)}},e.prototype.onDragOver=function(e){var t=this;if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),ip.c.CurrentDragAndDropData&&"vscode-ui"===ip.c.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(ip.c.CurrentDragAndDropData)this.currentDragData=ip.c.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new lp}var n,i,o,r=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"==typeof r?r:r.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;if(e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof r&&0===r.effect?"copy":"move",n="boolean"!=typeof r&&r.feedback?r.feedback:void 0===e.index?[-1]:[e.index],n=-1===(n=Object(Xe.d)(n).filter((function(e){return e>=-1&&e<t.length})).sort((function(e,t){return e-t})))[0]?[-1]:n,i=this.currentDragFeedback,o=n,Array.isArray(i)&&Array.isArray(o)?Object(Xe.f)(i,o):i===o)return!0;if(this.currentDragFeedback=n,this.currentDragFeedbackDisposable.dispose(),-1===n[0])Z.e(this.domNode,"drop-target"),Z.e(this.rowsContainer,"drop-target"),this.currentDragFeedbackDisposable=Object(le.f)((function(){Z.J(t.domNode,"drop-target"),Z.J(t.rowsContainer,"drop-target")}));else{for(var s=0,a=n;s<a.length;s++){var u=a[s],l=this.items[u];l.dropTarget=!0,l.row&&l.row.domNode&&Z.e(l.row.domNode,"drop-target")}this.currentDragFeedbackDisposable=Object(le.f)((function(){for(var e=0,i=n;e<i.length;e++){var o=i[e],r=t.items[o];r.dropTarget=!1,r.row&&r.row.domNode&&Z.J(r.row.domNode,"drop-target")}}))}return!0},e.prototype.onDragLeave=function(){var e=this;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=Object(We.g)((function(){return e.clearDragOverFeedback()}),100)},e.prototype.onDrop=function(e){if(this.canDrop){var t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,ip.c.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}},e.prototype.onDragEnd=function(e){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,ip.c.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e.prototype.clearDragOverFeedback=function(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=le.a.None},e.prototype.setupDragAndDropScrollTopAnimation=function(e){var t=this;if(!this.dragOverAnimationDisposable){var n=Z.z(this.domNode).top;this.dragOverAnimationDisposable=Z.l(this.animateDragAndDropScrollTop.bind(this,n))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=Object(We.g)((function(){t.dragOverAnimationDisposable&&(t.dragOverAnimationDisposable.dispose(),t.dragOverAnimationDisposable=void 0)}),1e3),this.dragOverMouseY=e.pageY},e.prototype.animateDragAndDropScrollTop=function(e){if(void 0!==this.dragOverMouseY){var t=this.dragOverMouseY-e,n=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>n&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}},e.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},e.prototype.getItemIndexFromEventTarget=function(e){for(var t=e;t instanceof HTMLElement&&t!==this.rowsContainer;){var n=t.getAttribute("data-index");if(n){var i=Number(n);if(!isNaN(i))return i}t=t.parentElement}},e.prototype.getRenderRange=function(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}},e.prototype._rerender=function(e,t){var n,i,o=this.getRenderRange(e,t);e===this.elementTop(o.start)?(n=o.start,i=0):o.end-o.start>1&&(n=o.start+1,i=this.elementTop(n)-e);for(var r=0;;){for(var s=this.getRenderRange(e,t),a=!1,u=s.start;u<s.end;u++){var l=this.probeDynamicHeight(u);0!==l&&this.rangeMap.splice(u,1,[this.items[u]]),r+=l,a=a||0!==l}if(!a){0!==r&&this.eventuallyUpdateScrollDimensions();for(var c=0,d=Sf.relativeComplement(o,s);c<d.length;c++)for(u=(p=d[c]).start;u<p.end;u++)this.items[u].row&&this.removeItemFromDOM(u);for(var h=0,f=Sf.relativeComplement(s,o);h<f.length;h++){var p;for(u=(p=f[h]).start;u<p.end;u++){var g=u+1,m=g<this.items.length?this.items[g].row:null,v=m?m.domNode:null;this.insertItemInDOM(u,v)}}for(u=s.start;u<s.end;u++)this.items[u].row&&this.updateItemInDOM(this.items[u],u);return"number"==typeof n&&(this.scrollTop=this.elementTop(n)-i),void this._onDidChangeContentHeight.fire(this.contentHeight)}}},e.prototype.probeDynamicHeight=function(e){var t=this.items[e];if(!t.hasDynamicHeight||t.lastDynamicHeightWidth===this.renderWidth)return 0;var n=t.size,i=this.cache.alloc(t.templateId);i.domNode.style.height="",this.rowsContainer.appendChild(i.domNode);var o=this.renderers.get(t.templateId);return o&&(o.renderElement(t.element,e,i.templateData,void 0),o.disposeElement&&o.disposeElement(t.element,e,i.templateData,void 0)),t.size=i.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(t.element,t.size),t.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(i.domNode),this.cache.release(i),t.size-n},e.prototype.getNextToLastElement=function(e){var t=e[e.length-1];if(!t)return null;var n=this.items[t.end];return n&&n.row?n.row.domNode:null},e.prototype.getElementDomId=function(e){return this.domId+"_"+e},e.prototype.dispose=function(){if(this.items){for(var e=0,t=this.items;e<t.length;e++){var n=t[e];if(n.row){var i=this.renderers.get(n.row.templateId);i&&i.disposeTemplate(n.row.templateData)}}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),Object(le.e)(this.disposables)},e.InstanceCount=0,op([Zf.a],e.prototype,"onMouseClick",null),op([Zf.a],e.prototype,"onMouseDblClick",null),op([Zf.a],e.prototype,"onMouseMiddleClick",null),op([Zf.a],e.prototype,"onMouseDown",null),op([Zf.a],e.prototype,"onContextMenu",null),op([Zf.a],e.prototype,"onTouchStart",null),op([Zf.a],e.prototype,"onTap",null),e}(),dp=function(){function e(e){this.spliceables=e}return e.prototype.splice=function(e,t,n){this.spliceables.forEach((function(i){return i.splice(e,t,n)}))},e}();function hp(e,t,n){return Math.min(Math.max(e,t),n)}function fp(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n){for(var i=0,o=e.length;i<o;i++){var r=e[i](t,n);if(r)return r}return null}}var pp=function(e,t,n){if(!n||n.length<t.length)return null;var i;i=e?ne.I(n,t):0===n.indexOf(t);if(!i)return null;return t.length>0?[{start:0,end:t.length}]:[]}.bind(void 0,!0);function gp(e){return 97<=e&&e<=122}function mp(e){return 65<=e&&e<=90}function vp(e){return 48<=e&&e<=57}function _p(e){return 32===e||9===e||10===e||13===e}var yp=new Set;function bp(e){return gp(e)||mp(e)||vp(e)}function Cp(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function wp(e,t){for(var n=t;n<e.length;n++){var i=e.charCodeAt(n);if(mp(i)||vp(i)||n>0&&!bp(e.charCodeAt(n-1)))return n}return e.length}function Sp(e,t,n,i){if(n===e.length)return[];if(i===t.length)return null;if(e[n]!==t[i].toLowerCase())return null;var o=null,r=i+1;for(o=Sp(e,t,n+1,i+1);!o&&(r=wp(t,r))<t.length;)o=Sp(e,t,n+1,r),r++;return null===o?null:Cp({start:i,end:i+1},o)}function Lp(e,t){if(!t)return null;if(0===(t=t.trim()).length)return null;if(!function(e){for(var t=0,n=0,i=0,o=0,r=0;r<e.length;r++)mp(i=e.charCodeAt(r))&&t++,gp(i)&&n++,_p(i)&&o++;return 0!==t&&0!==n||0!==o?t<=5:e.length<=30}(e))return null;if(t.length>60)return null;var n=function(e){for(var t=0,n=0,i=0,o=0,r=0,s=0;s<e.length;s++)mp(r=e.charCodeAt(s))&&t++,gp(r)&&n++,bp(r)&&i++,vp(r)&&o++;return{upperPercent:t/e.length,lowerPercent:n/e.length,alphaPercent:i/e.length,numericPercent:o/e.length}}(t);if(!function(e){var t=e.upperPercent,n=e.lowerPercent,i=e.alphaPercent,o=e.numericPercent;return n>.2&&t<.8&&i>.6&&o<.2}(n)){if(!function(e){var t=e.upperPercent;return 0===e.lowerPercent&&t>.6}(n))return null;t=t.toLowerCase()}var i=null,o=0;for(e=e.toLowerCase();o<t.length&&null===(i=Sp(e,t,0,o));)o=wp(t,o+1);return i}"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach((function(e){return yp.add(e.charCodeAt(0))}));fp(pp,Lp,(function(e,t){var n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]})),fp(pp,Lp,(function(e,t){return function e(t,n,i,o){if(i===t.length)return[];if(o===n.length)return null;if(t[i]===n[o]){var r;return(r=e(t,n,i+1,o+1))?Cp({start:o,end:o+1},r):null}return e(t,n,i,o+1)}(e.toLowerCase(),t.toLowerCase(),0,0)})),new Qn.a(1e4);var Np=128;function Op(){for(var e=[],t=[0],n=1;n<=Np;n++)t.push(-n);for(n=0;n<=Np;n++){var i=t.slice(0);i[0]=-n,e.push(i)}return e}var Dp,xp=Op(),Ep=Op(),kp=Op();function Ip(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:return!0;default:return!1}}function Mp(e,t,n){return t[e]!==n[e]}function Tp(e,t,n,i,o,r,s){var a=e.length>Np?Np:e.length,u=i.length>Np?Np:i.length;if(!(n>=a||r>=u||a-n>u-r)&&function(e,t,n,i,o,r){for(;t<n&&o<r;)e[t]===i[o]&&(t+=1),o+=1;return t===n}(t,n,a,o,r,u)){var l=1,c=1,d=n,h=r;for(l=1,d=n;d<a;l++,d++)for(c=1,h=r;h<u;c++,h++){var f=Ap(e,t,d,n,i,o,h);Ep[l][c]=f;var p=xp[l-1][c-1]+(f>1?1:f),g=xp[l-1][c]+-1,m=xp[l][c-1]+-1;m>=g?m>p?(xp[l][c]=m,kp[l][c]=4):m===p?(xp[l][c]=m,kp[l][c]=6):(xp[l][c]=p,kp[l][c]=2):g>p?(xp[l][c]=g,kp[l][c]=1):g===p?(xp[l][c]=g,kp[l][c]=3):(xp[l][c]=p,kp[l][c]=2)}if(Rp=0,Fp=-100,Vp=r,Wp=s,function e(t,n,i,o,r){if(Rp>=10||i<-25)return;var s=0;for(;t>0&&n>0;){var a=Ep[t][n],u=kp[t][n];if(4===u)n-=1,r?i-=5:0!==o&&(i-=1),r=!1,s=0;else{if(!(2&u))return;if(4&u&&e(t,n-1,0!==o?i-1:i,o,r),i+=a,t-=1,n-=1,r=!0,o+=Math.pow(2,n+Vp),1===a){if(s+=1,0===t&&!Wp)return}else i+=1+s*(a-1),s=0}}Rp+=1,(i-=n>=3?9:3*n)>Fp&&(Fp=i,Pp=o)}(l-1,c-1,a===u?1:0,0,!1),0!==Rp)return[Fp,Pp,r]}}function Ap(e,t,n,i,o,r,s){return t[n]!==r[s]?-1:s===n-i?e[n]===o[s]?7:5:!Mp(s,o,r)||0!==s&&Mp(s-1,o,r)?!Ip(r,s)||0!==s&&Ip(r,s-1)?Ip(r,s-1)||function(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 32:case 9:return!0;default:return!1}}(r,s-1)?5:1:5:e[n]===o[s]?7:5}!function(e){e.Default=Object.freeze([-100,0,0]),e.isDefault=function(e){return!e||-100===e[0]&&0===e[1]&&0===e[2]}}(Dp||(Dp={}));var Rp=0,Pp=0,Fp=0,Vp=0,Wp=!1;var Bp=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),jp=function(){return(jp=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Hp=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},zp=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Up=function(){function e(e){this.trait=e,this.renderedElements=[]}return Object.defineProperty(e.prototype,"templateId",{get:function(){return"template:"+this.trait.trait},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){return e},e.prototype.renderElement=function(e,t,n){var i=Object(Xe.h)(this.renderedElements,(function(e){return e.templateData===n}));if(i>=0){var o=this.renderedElements[i];this.trait.unrender(n),o.index=t}else{o={index:t,templateData:n};this.renderedElements.push(o)}this.trait.renderIndex(t,n)},e.prototype.splice=function(e,t,n){for(var i=[],o=0,r=this.renderedElements;o<r.length;o++){var s=r[o];s.index<e?i.push(s):s.index>=e+t&&i.push({index:s.index+n-t,templateData:s.templateData})}this.renderedElements=i},e.prototype.renderIndexes=function(e){for(var t=0,n=this.renderedElements;t<n.length;t++){var i=n[t],o=i.index,r=i.templateData;e.indexOf(o)>-1&&this.trait.renderIndex(o,r)}},e.prototype.disposeTemplate=function(e){var t=Object(Xe.h)(this.renderedElements,(function(t){return t.templateData===e}));t<0||this.renderedElements.splice(t,1)},e}(),Kp=function(){function e(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new W.a,this.onChange=this._onChange.event}return Object.defineProperty(e.prototype,"trait",{get:function(){return this._trait},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderer",{get:function(){return new Up(this)},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,n){var i=n.length-t,o=e+t,r=zp(this.sortedIndexes.filter((function(t){return t<e})),n.map((function(t,n){return t?n+e:-1})).filter((function(e){return-1!==e})),this.sortedIndexes.filter((function(e){return e>=o})).map((function(e){return e+i})));this.renderer.splice(e,t,n.length),this._set(r,r)},e.prototype.renderIndex=function(e,t){Z.S(t,this._trait,this.contains(e))},e.prototype.unrender=function(e){Z.J(e,this._trait)},e.prototype.set=function(e,t){return this._set(e,zp(e).sort(cg),t)},e.prototype._set=function(e,t,n){var i=this.indexes,o=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;var r=lg(o,e);return this.renderer.renderIndexes(r),this._onChange.fire({indexes:e,browserEvent:n}),i},e.prototype.get=function(){return this.indexes},e.prototype.contains=function(e){return Object(Xe.b)(this.sortedIndexes,e,cg)>=0},e.prototype.dispose=function(){Object(le.e)(this._onChange)},Hp([Zf.a],e.prototype,"renderer",null),e}(),qp=function(e){function t(){return e.call(this,"focused")||this}return Bp(t,e),t.prototype.renderIndex=function(t,n){e.prototype.renderIndex.call(this,t,n),this.contains(t)?n.setAttribute("aria-selected","true"):n.removeAttribute("aria-selected")},t}(Kp),Gp=function(){function e(e,t,n){this.trait=e,this.view=t,this.identityProvider=n}return e.prototype.splice=function(e,t,n){var i=this;if(!this.identityProvider)return this.trait.splice(e,t,n.map((function(){return!1})));var o=this.trait.get().map((function(e){return i.identityProvider.getId(i.view.element(e)).toString()})),r=n.map((function(e){return o.indexOf(i.identityProvider.getId(e).toString())>-1}));this.trait.splice(e,t,r)},e}();function Yp(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}var Zp,Xp=function(){function e(e,t,n){this.list=e,this.view=t,this.disposables=new le.b;var i=!1!==n.multipleSelectionSupport;this.openController=n.openController||og;var o=W.b.chain(Object(Lf.a)(t.domNode,"keydown")).filter((function(e){return!Yp(e.target)})).map((function(e){return new Gn.a(e)}));o.filter((function(e){return 3===e.keyCode})).on(this.onEnter,this,this.disposables),o.filter((function(e){return 16===e.keyCode})).on(this.onUpArrow,this,this.disposables),o.filter((function(e){return 18===e.keyCode})).on(this.onDownArrow,this,this.disposables),o.filter((function(e){return 11===e.keyCode})).on(this.onPageUpArrow,this,this.disposables),o.filter((function(e){return 12===e.keyCode})).on(this.onPageDownArrow,this,this.disposables),o.filter((function(e){return 9===e.keyCode})).on(this.onEscape,this,this.disposables),i&&o.filter((function(e){return(ie.e?e.metaKey:e.ctrlKey)&&31===e.keyCode})).on(this.onCtrlA,this,this.disposables)}return e.prototype.onEnter=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent),this.openController.shouldOpen(e.browserEvent)&&this.list.open(this.list.getFocus(),e.browserEvent)},e.prototype.onUpArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onDownArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onPageUpArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onPageDownArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onCtrlA=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(Object(Xe.o)(this.list.length),e.browserEvent),this.view.domNode.focus()},e.prototype.onEscape=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.view.domNode.focus()},e.prototype.dispose=function(){this.disposables.dispose()},e}();!function(e){e[e.Idle=0]="Idle",e[e.Typing=1]="Typing"}(Zp||(Zp={}));var Jp=new(function(){function e(){}return e.prototype.mightProducePrintableCharacter=function(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=93&&e.keyCode<=102||e.keyCode>=80&&e.keyCode<=90)},e}()),Qp=function(){function e(e,t,n,i){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=n,this.delegate=i,this.enabled=!1,this.state=Zp.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.enabledDisposables=new le.b,this.disposables=new le.b,this.updateOptions(e.options)}return e.prototype.updateOptions=function(e){void 0===e.enableKeyboardNavigation||!!e.enableKeyboardNavigation?this.enable():this.disable(),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)},e.prototype.enable=function(){var e=this;if(!this.enabled){var t=W.b.chain(Object(Lf.a)(this.view.domNode,"keydown")).filter((function(e){return!Yp(e.target)})).filter((function(){return e.automaticKeyboardNavigation||e.triggered})).map((function(e){return new Gn.a(e)})).filter((function(t){return e.delegate.mightProducePrintableCharacter(t)})).forEach((function(e){e.stopPropagation(),e.preventDefault()})).map((function(e){return e.browserEvent.key})).event,n=W.b.debounce(t,(function(){return null}),800);W.b.reduce(W.b.any(t,n),(function(e,t){return null===t?null:(e||"")+t}))(this.onInput,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}},e.prototype.disable=function(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)},e.prototype.onInput=function(e){if(!e)return this.state=Zp.Idle,void(this.triggered=!1);var t=this.list.getFocus(),n=t.length>0?t[0]:0,i=this.state===Zp.Idle?1:0;this.state=Zp.Typing;for(var o=0;o<this.list.length;o++){var r=(n+o+i)%this.list.length,s=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(r)),a=s&&s.toString();if(void 0===a||pp(e,a))return this.list.setFocus([r]),void this.list.reveal(r)}},e.prototype.dispose=function(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()},e}(),$p=function(){function e(e,t){this.list=e,this.view=t,this.disposables=new le.b,W.b.chain(Object(Lf.a)(t.domNode,"keydown")).filter((function(e){return!Yp(e.target)})).map((function(e){return new Gn.a(e)})).filter((function(e){return!(2!==e.keyCode||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)})).on(this.onTab,this,this.disposables)}return e.prototype.onTab=function(e){if(e.target===this.view.domNode){var t=this.list.getFocus();if(0!==t.length){var n=this.view.domElement(t[0]);if(n){var i=n.querySelector("[tabIndex]");if(i&&i instanceof HTMLElement&&-1!==i.tabIndex){var o=window.getComputedStyle(i);"hidden"!==o.visibility&&"none"!==o.display&&(e.preventDefault(),e.stopPropagation(),i.focus())}}}}},e.prototype.dispose=function(){this.disposables.dispose()},e}();function eg(e){return ie.e?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function tg(e){return e.browserEvent.shiftKey}function ng(e){return e instanceof MouseEvent&&2===e.button}var ig={isSelectionSingleChangeEvent:eg,isSelectionRangeChangeEvent:tg},og={shouldOpen:function(e){return!(e instanceof MouseEvent)||!ng(e)}},rg=function(){function e(e){this.list=e,this.disposables=new le.b,this.multipleSelectionSupport=!(!1===e.options.multipleSelectionSupport),this.multipleSelectionSupport&&(this.multipleSelectionController=e.options.multipleSelectionController||ig),this.openController=e.options.openController||og,this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(sr.b.addTarget(e.getHTMLElement()))),e.onMouseClick(this.onPointer,this,this.disposables),e.onMouseMiddleClick(this.onPointer,this,this.disposables),e.onTap(this.onPointer,this,this.disposables)}return e.prototype.isSelectionSingleChangeEvent=function(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(e):ie.e?e.browserEvent.metaKey:e.browserEvent.ctrlKey},e.prototype.isSelectionRangeChangeEvent=function(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(e):e.browserEvent.shiftKey},e.prototype.isSelectionChangeEvent=function(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)},e.prototype.onMouseDown=function(e){document.activeElement!==e.browserEvent.target&&this.list.domFocus()},e.prototype.onContextMenu=function(e){var t=void 0===e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)},e.prototype.onPointer=function(e){if(this.mouseSupport&&!Yp(e.browserEvent.target)){var t=this.list.getFocus()[0],n=this.list.getSelection();t=void 0===t?n[0]:t;var i=e.index;if(void 0===i)return this.list.setFocus([],e.browserEvent),void this.list.setSelection([],e.browserEvent);if(this.multipleSelectionSupport&&this.isSelectionRangeChangeEvent(e))return this.changeSelection(e,t);if(this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))return this.changeSelection(e,t);this.list.setFocus([i],e.browserEvent),ng(e.browserEvent)||(this.list.setSelection([i],e.browserEvent),this.openController.shouldOpen(e.browserEvent)&&this.list.open([i],e.browserEvent))}},e.prototype.onDoubleClick=function(e){if(!(Yp(e.browserEvent.target)||this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))){var t=this.list.getFocus();this.list.setSelection(t,e.browserEvent),this.list.pin(t)}},e.prototype.changeSelection=function(e,t){var n=e.index;if(this.isSelectionRangeChangeEvent(e)&&void 0!==t){var i=Math.min(t,n),o=Math.max(t,n),r=Object(Xe.o)(i,o+1),s=function(e,t){var n=e.indexOf(t);if(-1===n)return[];var i=[],o=n-1;for(;o>=0&&e[o]===t-(n-o);)i.push(e[o--]);i.reverse(),o=n;for(;o<e.length&&e[o]===t+(o-n);)i.push(e[o++]);return i}(lg(u=this.list.getSelection(),[t]),t);if(0===s.length)return;var a=lg(r,function(e,t){var n=[],i=0,o=0;for(;i<e.length||o<t.length;)if(i>=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){i++,o++;continue}e[i]<t[o]?n.push(e[i++]):o++}return n}(u,s));this.list.setSelection(a,e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){var u;a=(u=this.list.getSelection()).filter((function(e){return e!==n}));this.list.setFocus([n]),u.length===a.length?this.list.setSelection(zp(a,[n]),e.browserEvent):this.list.setSelection(a,e.browserEvent)}},e.prototype.dispose=function(){this.disposables.dispose()},e}(),sg=function(){function e(e,t){this.styleElement=e,this.selectorSuffix=t}return e.prototype.style=function(e){var t=this.selectorSuffix&&"."+this.selectorSuffix,n=[];e.listBackground&&(e.listBackground.isOpaque()?n.push(".monaco-list"+t+" .monaco-list-rows { background: "+e.listBackground+"; }"):ie.e||console.warn("List with id '"+this.selectorSuffix+"' was styled with a non-opaque background color. This will break sub-pixel antialiasing.")),e.listFocusBackground&&(n.push(".monaco-list"+t+":focus .monaco-list-row.focused { background-color: "+e.listFocusBackground+"; }"),n.push(".monaco-list"+t+":focus .monaco-list-row.focused:hover { background-color: "+e.listFocusBackground+"; }")),e.listFocusForeground&&n.push(".monaco-list"+t+":focus .monaco-list-row.focused { color: "+e.listFocusForeground+"; }"),e.listActiveSelectionBackground&&(n.push(".monaco-list"+t+":focus .monaco-list-row.selected { background-color: "+e.listActiveSelectionBackground+"; }"),n.push(".monaco-list"+t+":focus .monaco-list-row.selected:hover { background-color: "+e.listActiveSelectionBackground+"; }")),e.listActiveSelectionForeground&&n.push(".monaco-list"+t+":focus .monaco-list-row.selected { color: "+e.listActiveSelectionForeground+"; }"),e.listFocusAndSelectionBackground&&n.push("\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list"+t+":focus .monaco-list-row.selected.focused { background-color: "+e.listFocusAndSelectionBackground+"; }\n\t\t\t"),e.listFocusAndSelectionForeground&&n.push("\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list"+t+":focus .monaco-list-row.selected.focused { color: "+e.listFocusAndSelectionForeground+"; }\n\t\t\t"),e.listInactiveFocusBackground&&(n.push(".monaco-list"+t+" .monaco-list-row.focused { background-color: "+e.listInactiveFocusBackground+"; }"),n.push(".monaco-list"+t+" .monaco-list-row.focused:hover { background-color: "+e.listInactiveFocusBackground+"; }")),e.listInactiveSelectionBackground&&(n.push(".monaco-list"+t+" .monaco-list-row.selected { background-color: "+e.listInactiveSelectionBackground+"; }"),n.push(".monaco-list"+t+" .monaco-list-row.selected:hover { background-color: "+e.listInactiveSelectionBackground+"; }")),e.listInactiveSelectionForeground&&n.push(".monaco-list"+t+" .monaco-list-row.selected { color: "+e.listInactiveSelectionForeground+"; }"),e.listHoverBackground&&n.push(".monaco-list"+t+":not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: "+e.listHoverBackground+"; }"),e.listHoverForeground&&n.push(".monaco-list"+t+" .monaco-list-row:hover:not(.selected):not(.focused) { color: "+e.listHoverForeground+"; }"),e.listSelectionOutline&&n.push(".monaco-list"+t+" .monaco-list-row.selected { outline: 1px dotted "+e.listSelectionOutline+"; outline-offset: -1px; }"),e.listFocusOutline&&n.push("\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list"+t+":focus .monaco-list-row.focused { outline: 1px solid "+e.listFocusOutline+"; outline-offset: -1px; }\n\t\t\t"),e.listInactiveFocusOutline&&n.push(".monaco-list"+t+" .monaco-list-row.focused { outline: 1px dotted "+e.listInactiveFocusOutline+"; outline-offset: -1px; }"),e.listHoverOutline&&n.push(".monaco-list"+t+" .monaco-list-row:hover { outline: 1px dashed "+e.listHoverOutline+"; outline-offset: -1px; }"),e.listDropBackground&&n.push("\n\t\t\t\t.monaco-list"+t+".drop-target,\n\t\t\t\t.monaco-list"+t+" .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list"+t+" .monaco-list-row.drop-target { background-color: "+e.listDropBackground+" !important; color: inherit !important; }\n\t\t\t"),e.listFilterWidgetBackground&&n.push(".monaco-list-type-filter { background-color: "+e.listFilterWidgetBackground+" }"),e.listFilterWidgetOutline&&n.push(".monaco-list-type-filter { border: 1px solid "+e.listFilterWidgetOutline+"; }"),e.listFilterWidgetNoMatchesOutline&&n.push(".monaco-list-type-filter.no-matches { border: 1px solid "+e.listFilterWidgetNoMatchesOutline+"; }"),e.listMatchesShadow&&n.push(".monaco-list-type-filter { box-shadow: 1px 1px 1px "+e.listMatchesShadow+"; }");var i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i)},e}(),ag={listFocusBackground:Ls.a.fromHex("#7FB0D0"),listActiveSelectionBackground:Ls.a.fromHex("#0E639C"),listActiveSelectionForeground:Ls.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:Ls.a.fromHex("#094771"),listFocusAndSelectionForeground:Ls.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:Ls.a.fromHex("#3F3F46"),listHoverBackground:Ls.a.fromHex("#2A2D2E"),listDropBackground:Ls.a.fromHex("#383B3D"),treeIndentGuidesStroke:Ls.a.fromHex("#a9a9a9")},ug={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},ariaRootRole:Bf.TREE};function lg(e,t){for(var n=[],i=0,o=0;i<e.length||o<t.length;)if(i>=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){n.push(e[i]),i++,o++;continue}e[i]<t[o]?n.push(e[i++]):n.push(t[o++])}return n}var cg=function(e,t){return e-t},dg=function(){function e(e,t){this._templateId=e,this.renderers=t}return Object.defineProperty(e.prototype,"templateId",{get:function(){return this._templateId},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){return this.renderers.map((function(t){return t.renderTemplate(e)}))},e.prototype.renderElement=function(e,t,n,i){for(var o=0,r=0,s=this.renderers;r<s.length;r++){s[r].renderElement(e,t,n[o++],i)}},e.prototype.disposeElement=function(e,t,n,i){for(var o=0,r=0,s=this.renderers;r<s.length;r++){var a=s[r];a.disposeElement&&a.disposeElement(e,t,n[o],i),o+=1}},e.prototype.disposeTemplate=function(e){for(var t=0,n=0,i=this.renderers;n<i.length;n++){i[n].disposeTemplate(e[t++])}},e}(),hg=function(){function e(e){this.accessibilityProvider=e,this.templateId="a18n"}return e.prototype.renderTemplate=function(e){return e},e.prototype.renderElement=function(e,t,n){var i=this.accessibilityProvider.getAriaLabel(e);i?n.setAttribute("aria-label",i):n.removeAttribute("aria-label");var o=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof o?n.setAttribute("aria-level",""+o):n.removeAttribute("aria-level")},e.prototype.disposeTemplate=function(e){},e}(),fg=function(){function e(e,t){this.list=e,this.dnd=t}return e.prototype.getDragElements=function(e){var t=this.list.getSelectedElements();return t.indexOf(e)>-1?t:[e]},e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e)},e.prototype.getDragLabel=function(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(e,t)},e.prototype.onDragOver=function(e,t,n,i){return this.dnd.onDragOver(e,t,n,i)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e.prototype.drop=function(e,t,n,i){this.dnd.drop(e,t,n,i)},e}(),pg=function(){function e(e,t,n,i,o){void 0===o&&(o=ug),this.user=e,this._options=o,this.eventBufferer=new W.c,this.disposables=new le.b,this._onDidOpen=new W.a,this.onDidOpen=this._onDidOpen.event,this._onDidPin=new W.a,this.didJustPressContextMenuKey=!1,this._onDidDispose=new W.a,this.onDidDispose=this._onDidDispose.event,this.focus=new qp,this.selection=new Kp("selected"),Object(Le.d)(o,ag,!1);var r=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=o.accessibilityProvider,this.accessibilityProvider&&(r.push(new hg(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),i=i.map((function(e){return new dg(e.templateId,zp(r,[e]))}));var s=jp(jp({},o),{dnd:o.dnd&&new fg(this,o.dnd)});if(this.view=new cp(t,n,i,s),"string"!=typeof o.ariaRole?this.view.domNode.setAttribute("role",Bf.TREE):this.view.domNode.setAttribute("role",o.ariaRole),o.styleController)this.styleController=o.styleController(this.view.domId);else{var a=Z.q(this.view.domNode);this.styleController=new sg(a,this.view.domId)}if(this.spliceable=new dp([new Gp(this.focus,this.view,o.identityProvider),new Gp(this.selection,this.view,o.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=W.b.map(Object(Lf.a)(this.view.domNode,"focus",!0),(function(){return null})),this.onDidBlur=W.b.map(Object(Lf.a)(this.view.domNode,"blur",!0),(function(){return null})),this.disposables.add(new $p(this,this.view)),"boolean"!=typeof o.keyboardSupport||o.keyboardSupport){var u=new Xp(this,this.view,o);this.disposables.add(u)}if(o.keyboardNavigationLabelProvider){var l=o.keyboardNavigationDelegate||Jp;this.typeLabelController=new Qp(this,this.view,o.keyboardNavigationLabelProvider,l),this.disposables.add(this.typeLabelController)}this.disposables.add(this.createMouseController(o)),this.onFocusChange(this._onFocusChange,this,this.disposables),this.onSelectionChange(this._onSelectionChange,this,this.disposables),o.ariaLabel&&this.view.domNode.setAttribute("aria-label",Object(Zn.a)("aria list","{0}. Use the navigation keys to navigate.",o.ariaLabel))}return Object.defineProperty(e.prototype,"onFocusChange",{get:function(){var e=this;return W.b.map(this.eventBufferer.wrapEvent(this.focus.onChange),(function(t){return e.toListEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){var e=this;return W.b.map(this.eventBufferer.wrapEvent(this.selection.onChange),(function(t){return e.toListEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"domId",{get:function(){return this.view.domId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseClick",{get:function(){return this.view.onMouseClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDblClick",{get:function(){return this.view.onMouseDblClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseMiddleClick",{get:function(){return this.view.onMouseMiddleClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDown",{get:function(){return this.view.onMouseDown},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTouchStart",{get:function(){return this.view.onTouchStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTap",{get:function(){return this.view.onTap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onContextMenu",{get:function(){var e=this,t=W.b.chain(Object(Lf.a)(this.view.domNode,"keydown")).map((function(e){return new Gn.a(e)})).filter((function(t){return e.didJustPressContextMenuKey=58===t.keyCode||t.shiftKey&&68===t.keyCode})).filter((function(e){return e.preventDefault(),e.stopPropagation(),!1})).event,n=W.b.chain(Object(Lf.a)(this.view.domNode,"keyup")).filter((function(){var t=e.didJustPressContextMenuKey;return e.didJustPressContextMenuKey=!1,t})).filter((function(){return e.getFocus().length>0&&!!e.view.domElement(e.getFocus()[0])})).map((function(t){var n=e.getFocus()[0];return{index:n,element:e.view.element(n),anchor:e.view.domElement(n),browserEvent:t}})).event,i=W.b.chain(this.view.onContextMenu).filter((function(){return!e.didJustPressContextMenuKey})).map((function(e){var t=e.element,n=e.index,i=e.browserEvent;return{element:t,index:n,anchor:{x:i.clientX+1,y:i.clientY},browserEvent:i}})).event;return W.b.any(t,n,i)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onKeyDown",{get:function(){return Object(Lf.a)(this.view.domNode,"keydown")},enumerable:!0,configurable:!0}),e.prototype.createMouseController=function(e){return new rg(this)},e.prototype.updateOptions=function(e){void 0===e&&(e={}),this._options=jp(jp({},this._options),e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options)},Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,n){var i=this;if(void 0===n&&(n=[]),e<0||e>this.view.length)throw new Jf(this.user,"Invalid start index: "+e);if(t<0)throw new Jf(this.user,"Invalid delete count: "+t);0===t&&0===n.length||this.eventBufferer.bufferEvents((function(){return i.spliceable.splice(e,t,n)}))},e.prototype.rerender=function(){this.view.rerender()},e.prototype.element=function(e){return this.view.element(e)},Object.defineProperty(e.prototype,"length",{get:function(){return this.view.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentHeight",{get:function(){return this.view.contentHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.view.getScrollTop()},set:function(e){this.view.setScrollTop(e)},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.view.domNode.focus()},e.prototype.layout=function(e,t){this.view.layout(e,t)},e.prototype.setSelection=function(e,t){for(var n=0,i=e;n<i.length;n++){var o=i[n];if(o<0||o>=this.length)throw new Jf(this.user,"Invalid index "+o)}this.selection.set(e,t)},e.prototype.getSelection=function(){return this.selection.get()},e.prototype.getSelectedElements=function(){var e=this;return this.getSelection().map((function(t){return e.view.element(t)}))},e.prototype.setFocus=function(e,t){for(var n=0,i=e;n<i.length;n++){var o=i[n];if(o<0||o>=this.length)throw new Jf(this.user,"Invalid index "+o)}this.focus.set(e,t)},e.prototype.focusNext=function(e,t,n,i){if(void 0===e&&(e=1),void 0===t&&(t=!1),0!==this.length){var o=this.focus.get(),r=this.findNextIndex(o.length>0?o[0]+e:0,t,i);r>-1&&this.setFocus([r],n)}},e.prototype.focusPrevious=function(e,t,n,i){if(void 0===e&&(e=1),void 0===t&&(t=!1),0!==this.length){var o=this.focus.get(),r=this.findPreviousIndex(o.length>0?o[0]-e:0,t,i);r>-1&&this.setFocus([r],n)}},e.prototype.focusNextPage=function(e,t){var n=this,i=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);i=0===i?0:i-1;var o=this.view.element(i),r=this.getFocusedElements()[0];if(r!==o){var s=this.findPreviousIndex(i,!1,t);s>-1&&r!==this.view.element(s)?this.setFocus([s],e):this.setFocus([i],e)}else{var a=this.view.getScrollTop();this.view.setScrollTop(a+this.view.renderHeight-this.view.elementHeight(i)),this.view.getScrollTop()!==a&&setTimeout((function(){return n.focusNextPage(e,t)}),0)}},e.prototype.focusPreviousPage=function(e,t){var n,i=this,o=this.view.getScrollTop();n=0===o?this.view.indexAt(o):this.view.indexAfter(o-1);var r=this.view.element(n),s=this.getFocusedElements()[0];if(s!==r){var a=this.findNextIndex(n,!1,t);a>-1&&s!==this.view.element(a)?this.setFocus([a],e):this.setFocus([n],e)}else{var u=o;this.view.setScrollTop(o-this.view.renderHeight),this.view.getScrollTop()!==u&&setTimeout((function(){return i.focusPreviousPage(e,t)}),0)}},e.prototype.focusLast=function(e,t){if(0!==this.length){var n=this.findPreviousIndex(this.length-1,!1,t);n>-1&&this.setFocus([n],e)}},e.prototype.focusFirst=function(e,t){if(0!==this.length){var n=this.findNextIndex(0,!1,t);n>-1&&this.setFocus([n],e)}},e.prototype.findNextIndex=function(e,t,n){void 0===t&&(t=!1);for(var i=0;i<this.length;i++){if(e>=this.length&&!t)return-1;if(e%=this.length,!n||n(this.element(e)))return e;e++}return-1},e.prototype.findPreviousIndex=function(e,t,n){void 0===t&&(t=!1);for(var i=0;i<this.length;i++){if(e<0&&!t)return-1;if(e=(this.length+e%this.length)%this.length,!n||n(this.element(e)))return e;e--}return-1},e.prototype.getFocus=function(){return this.focus.get()},e.prototype.getFocusedElements=function(){var e=this;return this.getFocus().map((function(t){return e.view.element(t)}))},e.prototype.reveal=function(e,t){if(e<0||e>=this.length)throw new Jf(this.user,"Invalid index "+e);var n=this.view.getScrollTop(),i=this.view.elementTop(e),o=this.view.elementHeight(e);if(Object(je.h)(t)){var r=o-this.view.renderHeight;this.view.setScrollTop(r*hp(t,0,1)+i)}else{var s=i+o,a=n+this.view.renderHeight;i<n&&s>=a||(i<n?this.view.setScrollTop(i):s>=a&&this.view.setScrollTop(s-this.view.renderHeight))}},e.prototype.getRelativeTop=function(e){if(e<0||e>=this.length)throw new Jf(this.user,"Invalid index "+e);var t=this.view.getScrollTop(),n=this.view.elementTop(e),i=this.view.elementHeight(e);if(n<t||n+i>t+this.view.renderHeight)return null;var o=i-this.view.renderHeight;return Math.abs((t-n)/o)},e.prototype.getHTMLElement=function(){return this.view.domNode},e.prototype.open=function(e,t){for(var n=this,i=0,o=e;i<o.length;i++){var r=o[i];if(r<0||r>=this.length)throw new Jf(this.user,"Invalid index "+r)}this._onDidOpen.fire({indexes:e,elements:e.map((function(e){return n.view.element(e)})),browserEvent:t})},e.prototype.pin=function(e,t){for(var n=this,i=0,o=e;i<o.length;i++){var r=o[i];if(r<0||r>=this.length)throw new Jf(this.user,"Invalid index "+r)}this._onDidPin.fire({indexes:e,elements:e.map((function(e){return n.view.element(e)})),browserEvent:t})},e.prototype.style=function(e){this.styleController.style(e)},e.prototype.toListEvent=function(e){var t=this,n=e.indexes,i=e.browserEvent;return{indexes:n,elements:n.map((function(e){return t.view.element(e)})),browserEvent:i}},e.prototype._onFocusChange=function(){var e=this.focus.get();Z.S(this.view.domNode,"element-focused",e.length>0),this.onDidChangeActiveDescendant()},e.prototype.onDidChangeActiveDescendant=function(){var e,t=this.focus.get();if(t.length>0){var n=void 0;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(n=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",n||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")},e.prototype._onSelectionChange=function(){var e=this.selection.get();Z.S(this.view.domNode,"selection-none",0===e.length),Z.S(this.view.domNode,"selection-single",1===e.length),Z.S(this.view.domNode,"selection-multiple",e.length>1)},e.prototype.dispose=function(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidOpen.dispose(),this._onDidPin.dispose(),this._onDidDispose.dispose()},Hp([Zf.a],e.prototype,"onFocusChange",null),Hp([Zf.a],e.prototype,"onSelectionChange",null),Hp([Zf.a],e.prototype,"onContextMenu",null),e}(),gg=(n("2V9f"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),mg=function(e){function t(t,n){return e.call(this,"TreeError ["+t+"] "+n)||this}return gg(t,e),t}(Error),vg=function(){function e(e){this.fn=e,this._map=new WeakMap}return e.prototype.map=function(e){var t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t},e}(),_g=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i};function yg(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function bg(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function Cg(e){return"boolean"==typeof e.collapsible}var wg=function(){function e(e,t,n,i){void 0===i&&(i={}),this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new W.c,this._onDidChangeCollapseState=new W.a,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new W.a,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new W.a,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault=void 0!==i.collapseByDefault&&i.collapseByDefault,this.filter=i.filter,this.autoExpandSingleChildren=void 0!==i.autoExpandSingleChildren&&i.autoExpandSingleChildren,this.root={parent:void 0,element:n,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visible:!0,filterData:void 0}}return e.prototype.splice=function(e,t,n,i,o){var r,s=this;if(0===e.length)throw new mg(this.user,"Invalid tree location");for(var a=this.getParentNodeWithListIndex(e),u=a.parentNode,l=a.listIndex,c=a.revealed,d=a.visible,h=[],f=st.c.map(st.c.from(n),(function(e){return s.createTreeNode(e,u,u.visible?1:0,c,h,i)})),p=e[e.length-1],g=0,m=p;m>=0&&m<u.children.length;m--){if((L=u.children[m]).visible){g=L.visibleChildIndex;break}}var v=[],_=0,y=0;st.c.forEach(f,(function(e){v.push(e),y+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=g+_++)}));for(var b=(r=u.children).splice.apply(r,_g([p,t],v)),C=0,w=0,S=b;w<S.length;w++){(L=S[w]).visible&&C++}if(0!==C)for(m=p+v.length;m<u.children.length;m++){var L;(L=u.children[m]).visible&&(L.visibleChildIndex-=C)}if(u.visibleChildrenCount+=_-C,c&&d){var N=b.reduce((function(e,t){return e+(t.visible?t.renderNodeCount:0)}),0);this._updateAncestorsRenderNodeCount(u,y-N),this.list.splice(l,N,h)}if(b.length>0&&o){var O=function(e){o(e),e.children.forEach(O)};b.forEach(O)}this._onDidSplice.fire({insertedNodes:v,deletedNodes:b})},e.prototype.rerender=function(e){if(0===e.length)throw new mg(this.user,"Invalid tree location");var t=this.getTreeNodeWithListIndex(e),n=t.node,i=t.listIndex;t.revealed&&this.list.splice(i,1,[n])},e.prototype.has=function(e){return this.hasTreeNode(e)},e.prototype.getListIndex=function(e){var t=this.getTreeNodeWithListIndex(e),n=t.listIndex,i=t.visible,o=t.revealed;return i&&o?n:-1},e.prototype.getListRenderCount=function(e){return this.getTreeNode(e).renderNodeCount},e.prototype.isCollapsible=function(e){return this.getTreeNode(e).collapsible},e.prototype.setCollapsible=function(e,t){var n=this,i=this.getTreeNode(e);void 0===t&&(t=!i.collapsible);var o={collapsible:t};return this.eventBufferer.bufferEvents((function(){return n._setCollapseState(e,o)}))},e.prototype.isCollapsed=function(e){return this.getTreeNode(e).collapsed},e.prototype.setCollapsed=function(e,t,n){var i=this,o=this.getTreeNode(e);void 0===t&&(t=!o.collapsed);var r={collapsed:t,recursive:n||!1};return this.eventBufferer.bufferEvents((function(){return i._setCollapseState(e,r)}))},e.prototype._setCollapseState=function(e,t){var n=this.getTreeNodeWithListIndex(e),i=n.node,o=n.listIndex,r=n.revealed,s=this._setListNodeCollapseState(i,o,r,t);if(i!==this.root&&this.autoExpandSingleChildren&&s&&!Cg(t)&&i.collapsible&&!i.collapsed&&!t.recursive){for(var a=-1,u=0;u<i.children.length;u++){if(i.children[u].visible){if(a>-1){a=-1;break}a=u}}a>-1&&this._setCollapseState(_g(e,[a]),t)}return s},e.prototype._setListNodeCollapseState=function(e,t,n,i){var o=this._setNodeCollapseState(e,i,!1);if(!n||!e.visible||!o)return o;var r=e.renderNodeCount,s=this.updateNodeAfterCollapseChange(e),a=r-(-1===t?0:1);return this.list.splice(t+1,a,s.slice(1)),o},e.prototype._setNodeCollapseState=function(e,t,n){var i;if(e===this.root?i=!1:(Cg(t)?(i=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(i=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):i=!1,i&&this._onDidChangeCollapseState.fire({node:e,deep:n})),!Cg(t)&&t.recursive)for(var o=0,r=e.children;o<r.length;o++){var s=r[o];i=this._setNodeCollapseState(s,t,!0)||i}return i},e.prototype.expandTo=function(e){var t=this;this.eventBufferer.bufferEvents((function(){for(var n=t.getTreeNode(e);n.parent;)n=n.parent,e=e.slice(0,e.length-1),n.collapsed&&t._setCollapseState(e,{collapsed:!1,recursive:!1})}))},e.prototype.refilter=function(){var e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t)},e.prototype.createTreeNode=function(e,t,n,i,o,r){var s=this,a={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visible:!0,filterData:void 0},u=this._filterNode(a,n);i&&o.push(a);var l=st.c.from(e.children),c=i&&0!==u&&!a.collapsed,d=st.c.map(l,(function(e){return s.createTreeNode(e,a,u,c,o,r)})),h=0,f=1;return st.c.forEach(d,(function(e){a.children.push(e),f+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=h++)})),a.collapsible=a.collapsible||a.children.length>0,a.visibleChildrenCount=h,a.visible=2===u?h>0:1===u,a.visible?a.collapsed||(a.renderNodeCount=f):(a.renderNodeCount=0,i&&o.pop()),r&&r(a),a},e.prototype.updateNodeAfterCollapseChange=function(e){var t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n},e.prototype._updateNodeAfterCollapseChange=function(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(var n=0,i=e.children;n<i.length;n++){var o=i[n];e.renderNodeCount+=this._updateNodeAfterCollapseChange(o,t)}return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount},e.prototype.updateNodeAfterFilterChange=function(e){var t=e.renderNodeCount,n=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n},e.prototype._updateNodeAfterFilterChange=function(e,t,n,i){var o;if(void 0===i&&(i=!0),e!==this.root){if(0===(o=this._filterNode(e,t)))return e.visible=!1,e.renderNodeCount=0,!1;i&&n.push(e)}var r=n.length;e.renderNodeCount=e===this.root?0:1;var s=!1;if(e.collapsed&&0===o)e.visibleChildrenCount=0;else{for(var a=0,u=0,l=e.children;u<l.length;u++){var c=l[u];s=this._updateNodeAfterFilterChange(c,o,n,i&&!e.collapsed)||s,c.visible&&(c.visibleChildIndex=a++)}e.visibleChildrenCount=a}return e!==this.root&&(e.visible=2===o?s:1===o),e.visible?e.collapsed||(e.renderNodeCount+=n.length-r):(e.renderNodeCount=0,i&&n.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible},e.prototype._updateAncestorsRenderNodeCount=function(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent},e.prototype._filterNode=function(e,t){var n=this.filter?this.filter.filter(e.element,t):1;return"boolean"==typeof n?(e.filterData=void 0,n?1:0):yg(n)?(e.filterData=n.data,bg(n.visibility)):(e.filterData=void 0,bg(n))},e.prototype.hasTreeNode=function(e,t){if(void 0===t&&(t=this.root),!e||0===e.length)return!0;var n=e[0],i=e.slice(1);return!(n<0||n>t.children.length)&&this.hasTreeNode(i,t.children[n])},e.prototype.getTreeNode=function(e,t){if(void 0===t&&(t=this.root),!e||0===e.length)return t;var n=e[0],i=e.slice(1);if(n<0||n>t.children.length)throw new mg(this.user,"Invalid tree location");return this.getTreeNode(i,t.children[n])},e.prototype.getTreeNodeWithListIndex=function(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};var t=this.getParentNodeWithListIndex(e),n=t.parentNode,i=t.listIndex,o=t.revealed,r=t.visible,s=e[e.length-1];if(s<0||s>n.children.length)throw new mg(this.user,"Invalid tree location");var a=n.children[s];return{node:a,listIndex:i,revealed:o,visible:r&&a.visible}},e.prototype.getParentNodeWithListIndex=function(e,t,n,i,o){void 0===t&&(t=this.root),void 0===n&&(n=0),void 0===i&&(i=!0),void 0===o&&(o=!0);var r=e[0],s=e.slice(1);if(r<0||r>t.children.length)throw new mg(this.user,"Invalid tree location");for(var a=0;a<r;a++)n+=t.children[a].renderNodeCount;return i=i&&!t.collapsed,o=o&&t.visible,0===s.length?{parentNode:t,listIndex:n,revealed:i,visible:o}:this.getParentNodeWithListIndex(s,t.children[r],n+1,i,o)},e.prototype.getNode=function(e){return void 0===e&&(e=[]),this.getTreeNode(e)},e.prototype.getNodeLocation=function(e){for(var t=[],n=e;n.parent;)t.push(n.parent.children.indexOf(n)),n=n.parent;return t.reverse()},e.prototype.getParentNodeLocation=function(e){return 0===e.length?void 0:1===e.length?[]:Object(Xe.q)(e)[0]},e}(),Sg=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Lg=function(){return(Lg=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Ng=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Og=function(e){function t(t){var n=e.call(this,t.elements.map((function(e){return e.element})))||this;return n.data=t,n}return Sg(t,e),t}(ap);function Dg(e){return e instanceof ap?new Og(e):e}var xg=function(){function e(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=le.a.None}return e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e.element)},e.prototype.getDragLabel=function(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((function(e){return e.element})),t)},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(Dg(e),t)},e.prototype.onDragOver=function(e,t,n,i,o){var r=this;void 0===o&&(o=!0);var s=this.dnd.onDragOver(Dg(e),t&&t.element,n,i),a=this.autoExpandNode!==t;if(a&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return s;if(a&&"boolean"!=typeof s&&s.autoExpand&&(this.autoExpandDisposable=Object(We.g)((function(){var e=r.modelProvider(),n=e.getNodeLocation(t);e.isCollapsed(n)&&e.setCollapsed(n,!1),r.autoExpandNode=void 0}),500)),"boolean"==typeof s||!s.accept||void 0===s.bubble||s.feedback)return o?s:{accept:"boolean"==typeof s?s:s.accept,effect:"boolean"==typeof s?void 0:s.effect,feedback:[n]};if(1===s.bubble){var u=this.modelProvider(),l=u.getNodeLocation(t),c=u.getParentNodeLocation(l),d=u.getNode(c),h=c&&u.getListIndex(c);return this.onDragOver(e,d,h,i,!1)}var f=this.modelProvider(),p=f.getNodeLocation(t),g=f.getListIndex(p),m=f.getListRenderCount(p);return Lg(Lg({},s),{feedback:Object(Xe.o)(g,g+m)})},e.prototype.drop=function(e,t,n,i){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(Dg(e),t&&t.element,n,i)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e}();var Eg,kg=function(){function e(e){this.delegate=e}return e.prototype.getHeight=function(e){return this.delegate.getHeight(e.element)},e.prototype.getTemplateId=function(e){return this.delegate.getTemplateId(e.element)},e.prototype.hasDynamicHeight=function(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)},e.prototype.setDynamicHeight=function(e,t){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)},e}();!function(e){e.None="none",e.OnHover="onHover",e.Always="always"}(Eg||(Eg={}));var Ig=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this._elements=t,this.onDidChange=W.b.forEach(e,(function(e){return n._elements=e}))}return Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),e}(),Mg=function(){function e(t,n,i,o,r){void 0===r&&(r={}),this.renderer=t,this.modelProvider=n,this.activeNodes=o,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=e.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new pi,this.activeIndentNodes=new Set,this.indentGuidesDisposable=le.a.None,this.disposables=new le.b,this.templateId=t.templateId,this.updateOptions(r),W.b.map(i,(function(e){return e.node}))(this.onDidChangeNodeTwistieState,this,this.disposables),t.onDidChangeTwistieState&&t.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}return e.prototype.updateOptions=function(e){if(void 0===e&&(e={}),void 0!==e.indent&&(this.indent=hp(e.indent,0,40)),void 0!==e.renderIndentGuides){var t=e.renderIndentGuides!==Eg.None;if(t!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t)){var n=new le.b;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,n),this.indentGuidesDisposable=n,this._onDidChangeActiveNodes(this.activeNodes.elements)}}void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)},e.prototype.renderTemplate=function(e){var t=Object(Z.m)(e,Object(Z.a)(".monaco-tl-row")),n=Object(Z.m)(t,Object(Z.a)(".monaco-tl-indent")),i=Object(Z.m)(t,Object(Z.a)(".monaco-tl-twistie")),o=Object(Z.m)(t,Object(Z.a)(".monaco-tl-contents")),r=this.renderer.renderTemplate(o);return{container:e,indent:n,twistie:i,indentGuidesDisposable:le.a.None,templateData:r}},e.prototype.renderElement=function(t,n,i,o){"number"==typeof o&&(this.renderedNodes.set(t,{templateData:i,height:o}),this.renderedElements.set(t.element,t));var r=e.DefaultIndent+(t.depth-1)*this.indent;i.twistie.style.paddingLeft=r+"px",i.indent.style.width=r+this.indent-16+"px",this.renderTwistie(t,i),"number"==typeof o&&this.renderIndentGuides(t,i),this.renderer.renderElement(t,n,i.templateData,o)},e.prototype.disposeElement=function(e,t,n,i){n.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.templateData,i),"number"==typeof i&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.onDidChangeTwistieState=function(e){var t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)},e.prototype.onDidChangeNodeTwistieState=function(e){var t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))},e.prototype.renderTwistie=function(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e.element,t.twistie),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(Object(Z.f)(t.twistie,"codicon","codicon-chevron-down","collapsible"),Object(Z.S)(t.twistie,"collapsed",e.collapsed)):Object(Z.K)(t.twistie,"codicon","codicon-chevron-down","collapsible","collapsed"),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")},e.prototype.renderIndentGuides=function(e,t){var n=this;if(Object(Z.o)(t.indent),t.indentGuidesDisposable.dispose(),this.shouldRenderIndentGuides){for(var i=new le.b,o=this.modelProvider(),r=e,s=function(){var e=o.getNodeLocation(r),s=o.getParentNodeLocation(e);if(!s)return"break";var u=o.getNode(s),l=Object(Z.a)(".indent-guide",{style:"width: "+a.indent+"px"});a.activeIndentNodes.has(u)&&Object(Z.e)(l,"active"),0===t.indent.childElementCount?t.indent.appendChild(l):t.indent.insertBefore(l,t.indent.firstElementChild),a.renderedIndentGuides.add(u,l),i.add(Object(le.f)((function(){return n.renderedIndentGuides.delete(u,l)}))),r=u},a=this;;){if("break"===s())break}t.indentGuidesDisposable=i}},e.prototype._onDidChangeActiveNodes=function(e){var t=this;if(this.shouldRenderIndentGuides){var n=new Set,i=this.modelProvider();e.forEach((function(e){var t=i.getNodeLocation(e);try{var o=i.getParentNodeLocation(t);e.collapsible&&e.children.length>0&&!e.collapsed?n.add(e):o&&n.add(i.getNode(o))}catch(e){}})),this.activeIndentNodes.forEach((function(e){n.has(e)||t.renderedIndentGuides.forEach(e,(function(e){return Object(Z.J)(e,"active")}))})),n.forEach((function(e){t.activeIndentNodes.has(e)||t.renderedIndentGuides.forEach(e,(function(e){return Object(Z.e)(e,"active")}))})),this.activeIndentNodes=n}},e.prototype.dispose=function(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(le.e)(this.disposables)},e.DefaultIndent=8,e}(),Tg=function(){function e(e,t,n){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=n,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new le.b,e.onWillRefilter(this.reset,this,this.disposables)}return Object.defineProperty(e.prototype,"totalCount",{get:function(){return this._totalCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matchCount",{get:function(){return this._matchCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{set:function(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()},enumerable:!0,configurable:!0}),e.prototype.filter=function(e,t){if(this._filter){var n=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return n;if(0===("boolean"==typeof n?n?1:0:yg(n)?bg(n.visibility):n))return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:Dp.Default,visibility:!0};var i=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),o=i&&i.toString();if(void 0===o)return{data:Dp.Default,visibility:!0};var r=Tp(this._pattern,this._lowercasePattern,0,o,o.toLowerCase(),0,!0);return r?(this._matchCount++,{data:r,visibility:!0}):this.tree.options.filterOnType?2:{data:Dp.Default,visibility:!0}},e.prototype.reset=function(){this._totalCount=0,this._matchCount=0},e.prototype.dispose=function(){Object(le.e)(this.disposables)},e}(),Ag=function(){function e(e,t,n,i,o){this.tree=e,this.view=n,this.filter=i,this.keyboardNavigationDelegate=o,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new W.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new W.a,this.enabledDisposables=new le.b,this.disposables=new le.b,this.domNode=Object(Z.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,Object(Lf.a)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(Z.m)(n.getHTMLElement(),Object(Z.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(Z.m)(this.domNode,Object(Z.a)("span.label"));var r=Object(Z.m)(this.domNode,Object(Z.a)(".controls"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=Object(Z.m)(r,Object(Z.a)("input.filter.codicon.codicon-list-selection")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitle(),Object(Lf.a)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(Z.m)(r,Object(Z.a)("button.clear.codicon.codicon-close")),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(Zn.a)("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{get:function(){return this._pattern},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterOnType",{get:function(){return this._filterOnType},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e){e.simpleKeyboardNavigation?this.disable():this.enable(),void 0!==e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")},e.prototype.enable=function(){var e=this;if(!this._enabled){var t=W.b.chain(Object(Lf.a)(this.view.getHTMLElement(),"keydown")).filter((function(t){return!Rg(t.target)||t.target===e.filterOnTypeDomNode})).filter((function(e){return"Dead"!==e.key&&!/^Media/.test(e.key)})).map((function(e){return new Gn.a(e)})).filter(this.keyboardNavigationEventFilter||function(){return!0}).filter((function(){return e.automaticKeyboardNavigation||e.triggered})).filter((function(t){return e.keyboardNavigationDelegate.mightProducePrintableCharacter(t)||(e.pattern.length>0||e.triggered)&&(9===t.keyCode||1===t.keyCode)&&!t.altKey&&!t.ctrlKey&&!t.metaKey||1===t.keyCode&&(ie.e?t.altKey&&!t.metaKey:t.ctrlKey)&&!t.shiftKey})).forEach((function(e){e.stopPropagation(),e.preventDefault()})).event,n=Object(Lf.a)(this.clearDomNode,"click");W.b.chain(W.b.any(t,n)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}},e.prototype.disable=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)},e.prototype.onEventOrInput=function(e){"string"==typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(ie.e?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)},e.prototype.onInput=function(e){var t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,(function(e){return!Dp.isDefault(e.filterData)}));var n=this.tree.getFocus();if(n.length>0){var i=n[0];null===this.tree.getRelativeTop(i)&&this.tree.reveal(i,.5)}this.render(),e||(this.triggered=!1)},e.prototype.onDragStart=function(){var e=this,t=this.view.getHTMLElement(),n=Object(Z.w)(t).left,i=t.clientWidth,o=i/2,r=this.domNode.clientWidth,s=new le.b,a=this.positionClassName,u=function(){switch(a){case"nw":e.domNode.style.top="4px",e.domNode.style.left="4px";break;case"ne":e.domNode.style.top="4px",e.domNode.style.left=i-r-6+"px"}};u(),Object(Z.J)(this.domNode,a),Object(Z.e)(this.domNode,"dragging"),s.add(Object(le.f)((function(){return Object(Z.J)(e.domNode,"dragging")}))),Object(Lf.a)(document,"dragover")((function(e){e.preventDefault();var t=e.screenX-n;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),a=t<o?"nw":"ne",u()}),null,s),Object(Lf.a)(this.domNode,"dragend")((function(){e.positionClassName=a,e.domNode.className="monaco-list-type-filter "+e.positionClassName,e.domNode.style.top="",e.domNode.style.left="",Object(le.e)(s)}),null,s),ip.c.CurrentDragAndDropData=new ip.b("vscode-ui"),s.add(Object(le.f)((function(){return ip.c.CurrentDragAndDropData=void 0})))},e.prototype.onDidSpliceModel=function(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())},e.prototype.onDidChangeFilterOnType=function(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitle()},e.prototype.updateFilterOnTypeTitle=function(){this.filterOnType?this.filterOnTypeDomNode.title=Object(Zn.a)("disable filter on type","Disable Filter on Type"):this.filterOnTypeDomNode.title=Object(Zn.a)("enable filter on type","Enable Filter on Type")},e.prototype.render=function(){var e=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=Object(Zn.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerHTML="",this._empty=!1),Object(Z.S)(this.domNode,"no-matches",e),this.domNode.title=Object(Zn.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"…"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)},e.prototype.shouldAllowFocus=function(e){return!(this.enabled&&this.pattern&&!this.filterOnType)||(this.filter.totalCount>0&&this.filter.matchCount<=1||!Dp.isDefault(e.filterData))},e.prototype.dispose=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),Object(le.e)(this.disposables)},e}();function Rg(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function Pg(e){return{elements:e.elements.map((function(e){return e.element})),browserEvent:e.browserEvent}}function Fg(e,t){t(e),e.children.forEach((function(e){return Fg(e,t)}))}var Vg=function(){function e(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new W.a,this.onDidChange=this._onDidChange.event}return Object.defineProperty(e.prototype,"nodeSet",{get:function(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet},enumerable:!0,configurable:!0}),e.prototype.set=function(e,t){Object(Xe.f)(this.nodes,e)||this._set(e,!1,t)},e.prototype._set=function(e,t,n){if(this.nodes=Ng(e),this.elements=void 0,this._nodeSet=void 0,!t){var i=this;this._onDidChange.fire({get elements(){return i.get()},browserEvent:n})}},e.prototype.get=function(){return this.elements||(this.elements=this.nodes.map((function(e){return e.element}))),Ng(this.elements)},e.prototype.getNodes=function(){return this.nodes},e.prototype.has=function(e){return this.nodeSet.has(e)},e.prototype.onDidModelSplice=function(e){var t=this,n=e.insertedNodes,i=e.deletedNodes;if(!this.identityProvider){var o=this.createNodeSet(),r=function(e){return o.delete(e)};return i.forEach((function(e){return Fg(e,r)})),void this.set(Object(Qn.e)(o))}var s=new Set,a=function(e){return s.add(t.identityProvider.getId(e.element).toString())};i.forEach((function(e){return Fg(e,a)}));var u=new Map,l=function(e){return u.set(t.identityProvider.getId(e.element).toString(),e)};n.forEach((function(e){return Fg(e,l)}));for(var c=[],d=0,h=this.nodes;d<h.length;d++){var f=h[d],p=this.identityProvider.getId(f.element).toString();if(s.has(p)){var g=u.get(p);g&&c.push(g)}else c.push(f)}this._set(c,!0)},e.prototype.createNodeSet=function(){for(var e=new Set,t=0,n=this.nodes;t<n.length;t++){var i=n[t];e.add(i)}return e},e}(),Wg=function(e){function t(t,n){var i=e.call(this,t)||this;return i.tree=n,i}return Sg(t,e),t.prototype.onPointer=function(t){if(!Rg(t.browserEvent.target)){var n=t.element;if(!n)return e.prototype.onPointer.call(this,t);if(this.isSelectionRangeChangeEvent(t)||this.isSelectionSingleChangeEvent(t))return e.prototype.onPointer.call(this,t);var i=Object(Z.C)(t.browserEvent.target,"monaco-tl-twistie");if(!this.tree.openOnSingleClick&&2!==t.browserEvent.detail&&!i)return e.prototype.onPointer.call(this,t);var o=!1;if((o="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(n.element):!!this.tree.expandOnlyOnTwistieClick)&&!i)return e.prototype.onPointer.call(this,t);if(n.collapsible){var r=this.tree.model,s=r.getNodeLocation(n),a=t.browserEvent.altKey;if(r.setCollapsed(s,void 0,a),o&&i)return}e.prototype.onPointer.call(this,t)}},t.prototype.onDoubleClick=function(t){Object(Z.C)(t.browserEvent.target,"monaco-tl-twistie")||e.prototype.onDoubleClick.call(this,t)},t}(rg),Bg=function(e){function t(t,n,i,o,r,s,a){var u=e.call(this,t,n,i,o,a)||this;return u.focusTrait=r,u.selectionTrait=s,u}return Sg(t,e),t.prototype.createMouseController=function(e){return new Wg(this,e.tree)},t.prototype.splice=function(t,n,i){var o=this;if(void 0===i&&(i=[]),e.prototype.splice.call(this,t,n,i),0!==i.length){var r=[],s=[];i.forEach((function(e,n){o.focusTrait.has(e)&&r.push(t+n),o.selectionTrait.has(e)&&s.push(t+n)})),r.length>0&&e.prototype.setFocus.call(this,Object(Xe.e)(Ng(e.prototype.getFocus.call(this),r))),s.length>0&&e.prototype.setSelection.call(this,Object(Xe.e)(Ng(e.prototype.getSelection.call(this),s)))}},t.prototype.setFocus=function(t,n,i){var o=this;void 0===i&&(i=!1),e.prototype.setFocus.call(this,t,n),i||this.focusTrait.set(t.map((function(e){return o.element(e)})),n)},t.prototype.setSelection=function(t,n,i){var o=this;void 0===i&&(i=!1),e.prototype.setSelection.call(this,t,n),i||this.selectionTrait.set(t.map((function(e){return o.element(e)})),n)},t}(pg),jg=function(){function e(e,t,n,i,o){var r=this;void 0===o&&(o={}),this._options=o,this.eventBufferer=new W.c,this.disposables=new le.b,this._onWillRefilter=new W.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new W.a;var s,a,u,l=new kg(n),c=new W.e,d=new W.e,h=new Ig(d.event);this.renderers=i.map((function(e){return new Mg(e,(function(){return r.model}),c.event,h,o)}));for(var f=0,p=this.renderers;f<p.length;f++){var g=p[f];this.disposables.add(g)}o.keyboardNavigationLabelProvider&&(s=new Tg(this,o.keyboardNavigationLabelProvider,o.filter),o=Lg(Lg({},o),{filter:s}),this.disposables.add(s)),this.focus=new Vg(o.identityProvider),this.selection=new Vg(o.identityProvider),this.view=new Bg(e,t,l,this.renderers,this.focus,this.selection,Lg(Lg({},(a=function(){return r.model},(u=o)&&Lg(Lg({},u),{identityProvider:u.identityProvider&&{getId:function(e){return u.identityProvider.getId(e.element)}},dnd:u.dnd&&new xg(a,u.dnd),multipleSelectionController:u.multipleSelectionController&&{isSelectionSingleChangeEvent:function(e){return u.multipleSelectionController.isSelectionSingleChangeEvent(Lg(Lg({},e),{element:e.element}))},isSelectionRangeChangeEvent:function(e){return u.multipleSelectionController.isSelectionRangeChangeEvent(Lg(Lg({},e),{element:e.element}))}},accessibilityProvider:u.accessibilityProvider&&Lg(Lg({},u.accessibilityProvider),{getAriaLabel:function(e){return u.accessibilityProvider.getAriaLabel(e.element)},getAriaLevel:function(e){return e.depth},getActiveDescendantId:u.accessibilityProvider.getActiveDescendantId&&function(e){return u.accessibilityProvider.getActiveDescendantId(e.element)}}),keyboardNavigationLabelProvider:u.keyboardNavigationLabelProvider&&Lg(Lg({},u.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:function(e){return u.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),enableKeyboardNavigation:u.simpleKeyboardNavigation,ariaProvider:{getSetSize:function(e){var t=a(),n=t.getNodeLocation(e),i=t.getParentNodeLocation(n);return t.getNode(i).visibleChildrenCount},getPosInSet:function(e){return e.visibleChildIndex+1},isChecked:u.ariaProvider&&u.ariaProvider.isChecked?function(e){return u.ariaProvider.isChecked(e.element)}:void 0,getRole:u.ariaProvider&&u.ariaProvider.getRole?function(e){return u.ariaProvider.getRole(e.element)}:void 0}}))),{tree:this})),this.model=this.createModel(e,this.view,o),c.input=this.model.onDidChangeCollapseState;var m=W.b.forEach(this.model.onDidSplice,(function(e){r.eventBufferer.bufferEvents((function(){r.focus.onDidModelSplice(e),r.selection.onDidModelSplice(e)}))}));if(m((function(){return null}),null,this.disposables),d.input=W.b.chain(W.b.any(m,this.focus.onDidChange,this.selection.onDidChange)).debounce((function(){return null}),0).map((function(){for(var e=new Set,t=0,n=r.focus.getNodes();t<n.length;t++){var i=n[t];e.add(i)}for(var o=0,s=r.selection.getNodes();o<s.length;o++){i=s[o];e.add(i)}return Object(Xe.k)(e)})).event,!1!==o.keyboardSupport){var v=W.b.chain(this.view.onKeyDown).filter((function(e){return!Rg(e.target)})).map((function(e){return new Gn.a(e)}));v.filter((function(e){return 15===e.keyCode})).on(this.onLeftArrow,this,this.disposables),v.filter((function(e){return 17===e.keyCode})).on(this.onRightArrow,this,this.disposables),v.filter((function(e){return 10===e.keyCode})).on(this.onSpace,this,this.disposables)}if(o.keyboardNavigationLabelProvider){var _=o.keyboardNavigationDelegate||Jp;this.typeFilterController=new Ag(this,this.model,this.view,s,_),this.focusNavigationFilter=function(e){return r.typeFilterController.shouldAllowFocus(e)},this.disposables.add(this.typeFilterController)}this.styleElement=Object(Z.q)(this.view.getHTMLElement()),Object(Z.S)(this.getHTMLElement(),"always",this._options.renderIndentGuides===Eg.Always)}return Object.defineProperty(e.prototype,"onDidChangeFocus",{get:function(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeSelection",{get:function(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidOpen",{get:function(){return W.b.map(this.view.onDidOpen,Pg)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.view.onDidFocus},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openOnSingleClick",{get:function(){return void 0===this._options.openOnSingleClick||this._options.openOnSingleClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expandOnlyOnTwistieClick",{get:function(){return void 0!==this._options.expandOnlyOnTwistieClick&&this._options.expandOnlyOnTwistieClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidDispose",{get:function(){return this.view.onDidDispose},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e){void 0===e&&(e={}),this._options=Lg(Lg({},this._options),e);for(var t=0,n=this.renderers;t<n.length;t++){n[t].updateOptions(e)}this.view.updateOptions({enableKeyboardNavigation:this._options.simpleKeyboardNavigation,automaticKeyboardNavigation:this._options.automaticKeyboardNavigation}),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),Object(Z.S)(this.getHTMLElement(),"always",this._options.renderIndentGuides===Eg.Always)},Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),e.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.view.scrollTop},set:function(e){this.view.scrollTop=e},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.view.domFocus()},e.prototype.layout=function(e,t){this.view.layout(e,t)},e.prototype.style=function(e){var t="."+this.view.domId,n=[];e.treeIndentGuidesStroke&&(n.push(".monaco-list"+t+":hover .monaco-tl-indent > .indent-guide, .monaco-list"+t+".always .monaco-tl-indent > .indent-guide { border-color: "+e.treeIndentGuidesStroke.transparent(.4)+"; }"),n.push(".monaco-list"+t+" .monaco-tl-indent > .indent-guide.active { border-color: "+e.treeIndentGuidesStroke+"; }"));var i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i),this.view.style(e)},e.prototype.collapse=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!0,t)},e.prototype.expand=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!1,t)},e.prototype.isCollapsible=function(e){return this.model.isCollapsible(e)},e.prototype.setCollapsible=function(e,t){return this.model.setCollapsible(e,t)},e.prototype.isCollapsed=function(e){return this.model.isCollapsed(e)},e.prototype.refilter=function(){this._onWillRefilter.fire(void 0),this.model.refilter()},e.prototype.setSelection=function(e,t){var n=this,i=e.map((function(e){return n.model.getNode(e)}));this.selection.set(i,t);var o=e.map((function(e){return n.model.getListIndex(e)})).filter((function(e){return e>-1}));this.view.setSelection(o,t,!0)},e.prototype.getSelection=function(){return this.selection.get()},e.prototype.setFocus=function(e,t){var n=this,i=e.map((function(e){return n.model.getNode(e)}));this.focus.set(i,t);var o=e.map((function(e){return n.model.getListIndex(e)})).filter((function(e){return e>-1}));this.view.setFocus(o,t,!0)},e.prototype.focusNext=function(e,t,n,i){void 0===e&&(e=1),void 0===t&&(t=!1),void 0===i&&(i=this.focusNavigationFilter),this.view.focusNext(e,t,n,i)},e.prototype.getFocus=function(){return this.focus.get()},e.prototype.reveal=function(e,t){this.model.expandTo(e);var n=this.model.getListIndex(e);-1!==n&&this.view.reveal(n,t)},e.prototype.getRelativeTop=function(e){var t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)},e.prototype.onLeftArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!0)){var o=this.model.getParentNodeLocation(i);if(!o)return;var r=this.model.getListIndex(o);this.view.reveal(r),this.view.setFocus([r])}}},e.prototype.onRightArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!1)){if(!n.children.some((function(e){return e.visible})))return;var o=this.view.getFocus()[0]+1;this.view.reveal(o),this.view.setFocus([o])}}},e.prototype.onSpace=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],i=this.model.getNodeLocation(n),o=e.browserEvent.altKey;this.model.setCollapsed(i,void 0,o)}},e.prototype.dispose=function(){Object(le.e)(this.disposables),this.view.dispose()},e}(),Hg=function(){return(Hg=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},zg=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},Ug=function(){function e(e,t,n){void 0===n&&(n={}),this.user=e,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new wg(e,t,null,n),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,n.sorter&&(this.sorter={compare:function(e,t){return n.sorter.compare(e.element,t.element)}}),this.identityProvider=n.identityProvider}return e.prototype.setChildren=function(e,t,n,i){var o=this.getElementLocation(e);this._setChildren(o,this.preserveCollapseState(t),n,i)},e.prototype._setChildren=function(e,t,n,i){var o=this,r=new Set,s=new Set;this.model.splice(zg(e,[0]),Number.MAX_VALUE,t,(function(e){if(r.add(e.element),o.nodes.set(e.element,e),o.identityProvider){var t=o.identityProvider.getId(e.element).toString();s.add(t),o.nodesByIdentity.set(t,e)}n&&n(e)}),(function(e){if(r.has(e.element)||o.nodes.delete(e.element),o.identityProvider){var t=o.identityProvider.getId(e.element).toString();s.has(t)||o.nodesByIdentity.delete(t)}i&&i(e)}))},e.prototype.preserveCollapseState=function(e){var t=this,n=e?Object(st.d)(e):st.c.empty();return this.sorter&&(n=st.c.fromArray(Object(Xe.n)(st.c.collect(n),this.sorter.compare.bind(this.sorter)))),st.c.map(n,(function(e){var n=t.nodes.get(e.element);if(!n&&t.identityProvider){var i=t.identityProvider.getId(e.element).toString();n=t.nodesByIdentity.get(i)}if(!n)return Hg(Hg({},e),{children:t.preserveCollapseState(e.children)});var o="boolean"==typeof e.collapsible?e.collapsible:n.collapsible,r=void 0!==e.collapsed?e.collapsed:n.collapsed;return Hg(Hg({},e),{collapsible:o,collapsed:r,children:t.preserveCollapseState(e.children)})}))},e.prototype.rerender=function(e){var t=this.getElementLocation(e);this.model.rerender(t)},e.prototype.has=function(e){return this.nodes.has(e)},e.prototype.getListIndex=function(e){var t=this.getElementLocation(e);return this.model.getListIndex(t)},e.prototype.getListRenderCount=function(e){var t=this.getElementLocation(e);return this.model.getListRenderCount(t)},e.prototype.isCollapsible=function(e){var t=this.getElementLocation(e);return this.model.isCollapsible(t)},e.prototype.setCollapsible=function(e,t){var n=this.getElementLocation(e);return this.model.setCollapsible(n,t)},e.prototype.isCollapsed=function(e){var t=this.getElementLocation(e);return this.model.isCollapsed(t)},e.prototype.setCollapsed=function(e,t,n){var i=this.getElementLocation(e);return this.model.setCollapsed(i,t,n)},e.prototype.expandTo=function(e){var t=this.getElementLocation(e);this.model.expandTo(t)},e.prototype.refilter=function(){this.model.refilter()},e.prototype.getNode=function(e){if(void 0===e&&(e=null),null===e)return this.model.getNode(this.model.rootRef);var t=this.nodes.get(e);if(!t)throw new mg(this.user,"Tree element not found: "+e);return t},e.prototype.getNodeLocation=function(e){return e.element},e.prototype.getParentNodeLocation=function(e){if(null===e)throw new mg(this.user,"Invalid getParentNodeLocation call");var t=this.nodes.get(e);if(!t)throw new mg(this.user,"Tree element not found: "+e);var n=this.model.getNodeLocation(t),i=this.model.getParentNodeLocation(n);return this.model.getNode(i).element},e.prototype.getElementLocation=function(e){if(null===e)return[];var t=this.nodes.get(e);if(!t)throw new mg(this.user,"Tree element not found: "+e);return this.model.getNodeLocation(t)},e}(),Kg=function(){return(Kg=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function qg(e){return{element:{elements:[e.element],incompressible:e.incompressible||!1},children:st.c.map(st.c.from(e.children),qg),collapsible:e.collapsible,collapsed:e.collapsed}}function Gg(e){for(var t,n,i=[e.element],o=e.incompressible||!1;t=st.c.from(e.children),1===(n=st.c.collect(t,2)).length&&!(e=n[0]).incompressible;)i.push(e.element);return{element:{elements:i,incompressible:o},children:st.c.map(st.c.concat(st.c.fromArray(n),t),Gg),collapsible:e.collapsible,collapsed:e.collapsed}}function Yg(e){return function e(t,n){var i;return void 0===n&&(n=0),i=n<t.element.elements.length-1?st.c.single(e(t,n+1)):st.c.map(st.c.from(t.children),(function(t){return e(t,0)})),0===n&&t.element.incompressible?{element:t.element.elements[n],children:i,incompressible:!0,collapsible:t.collapsible,collapsed:t.collapsed}:{element:t.element.elements[n],children:i,collapsible:t.collapsible,collapsed:t.collapsed}}(e,0)}var Zg=function(){function e(e,t,n){void 0===n&&(n={}),this.user=e,this.nodes=new Map,this.model=new Ug(e,t,n),this.enabled=void 0===n.compressionEnabled||n.compressionEnabled}return Object.defineProperty(e.prototype,"onDidSplice",{get:function(){return this.model.onDidSplice},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),e.prototype.setChildren=function(e,t){if(null!==e){var n=this.nodes.get(e);if(!n)throw new Error("Unknown compressed tree node");var i=this.model.getNode(n),o=this.model.getParentNodeLocation(n),r=this.model.getNode(o),s=function e(t,n,i){return t.element===n?Kg(Kg({},t),{children:i}):Kg(Kg({},t),{children:st.c.map(st.c.from(t.children),(function(t){return e(t,n,i)}))})}(Yg(i),e,st.c.from(t)),a=(this.enabled?Gg:qg)(s),u=r.children.map((function(e){return e===i?a:e}));this._setChildren(r.element,u)}else{var l=st.c.map(st.c.from(t),this.enabled?Gg:qg);this._setChildren(null,l)}},e.prototype.setCompressionEnabled=function(e){if(e!==this.enabled){this.enabled=e;var t=this.model.getNode(),n=st.c.from(t.children),i=st.c.map(n,Yg),o=st.c.map(i,e?Gg:qg);this._setChildren(null,o)}},e.prototype._setChildren=function(e,t){var n=this,i=new Set;this.model.setChildren(e,t,(function(e){for(var t=0,o=e.element.elements;t<o.length;t++){var r=o[t];i.add(r),n.nodes.set(r,e.element)}}),(function(e){for(var t=0,o=e.element.elements;t<o.length;t++){var r=o[t];i.has(r)||n.nodes.delete(r)}}))},e.prototype.has=function(e){return this.nodes.has(e)},e.prototype.getListIndex=function(e){var t=this.getCompressedNode(e);return this.model.getListIndex(t)},e.prototype.getListRenderCount=function(e){var t=this.getCompressedNode(e);return this.model.getListRenderCount(t)},e.prototype.getNode=function(e){if(void 0===e)return this.model.getNode();var t=this.getCompressedNode(e);return this.model.getNode(t)},e.prototype.getNodeLocation=function(e){var t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]},e.prototype.getParentNodeLocation=function(e){var t=this.getCompressedNode(e),n=this.model.getParentNodeLocation(t);return null===n?null:n.elements[n.elements.length-1]},e.prototype.isCollapsible=function(e){var t=this.getCompressedNode(e);return this.model.isCollapsible(t)},e.prototype.setCollapsible=function(e,t){var n=this.getCompressedNode(e);return this.model.setCollapsible(n,t)},e.prototype.isCollapsed=function(e){var t=this.getCompressedNode(e);return this.model.isCollapsed(t)},e.prototype.setCollapsed=function(e,t,n){var i=this.getCompressedNode(e);return this.model.setCollapsed(i,t,n)},e.prototype.expandTo=function(e){var t=this.getCompressedNode(e);this.model.expandTo(t)},e.prototype.rerender=function(e){var t=this.getCompressedNode(e);this.model.rerender(t)},e.prototype.refilter=function(){this.model.refilter()},e.prototype.getCompressedNode=function(e){if(null===e)return null;var t=this.nodes.get(e);if(!t)throw new mg(this.user,"Tree element not found: "+e);return t},e}(),Xg=function(e){return e[e.length-1]},Jg=function(){function e(e,t){this.unwrapper=e,this.node=t}return Object.defineProperty(e.prototype,"element",{get:function(){return null===this.node.element?null:this.unwrapper(this.node.element)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){var t=this;return this.node.children.map((function(n){return new e(t.unwrapper,n)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),e}();var Qg=function(){function e(e,t,n){var i=this;void 0===n&&(n={}),this.elementMapper=n.elementMapper||Xg;var o=function(e){return i.elementMapper(e.elements)};this.nodeMapper=new vg((function(e){return new Jg(o,e)})),this.model=new Zg(e,function(e,t){return{splice:function(n,i,o){t.splice(n,i,o.map((function(t){return e.map(t)})))}}}(this.nodeMapper,t),function(e,t){return Kg(Kg({},t),{sorter:t.sorter&&{compare:function(e,n){return t.sorter.compare(e.elements[0],n.elements[0])}},identityProvider:t.identityProvider&&{getId:function(n){return t.identityProvider.getId(e(n))}},filter:t.filter&&{filter:function(n,i){return t.filter.filter(e(n),i)}}})}(o,n))}return Object.defineProperty(e.prototype,"onDidSplice",{get:function(){var e=this;return W.b.map(this.model.onDidSplice,(function(t){var n=t.insertedNodes,i=t.deletedNodes;return{insertedNodes:n.map((function(t){return e.nodeMapper.map(t)})),deletedNodes:i.map((function(t){return e.nodeMapper.map(t)}))}}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeCollapseState",{get:function(){var e=this;return W.b.map(this.model.onDidChangeCollapseState,(function(t){var n=t.node,i=t.deep;return{node:e.nodeMapper.map(n),deep:i}}))},enumerable:!0,configurable:!0}),e.prototype.setChildren=function(e,t){this.model.setChildren(e,t)},e.prototype.setCompressionEnabled=function(e){this.model.setCompressionEnabled(e)},e.prototype.has=function(e){return this.model.has(e)},e.prototype.getListIndex=function(e){return this.model.getListIndex(e)},e.prototype.getListRenderCount=function(e){return this.model.getListRenderCount(e)},e.prototype.getNode=function(e){return this.nodeMapper.map(this.model.getNode(e))},e.prototype.getNodeLocation=function(e){return e.element},e.prototype.getParentNodeLocation=function(e){return this.model.getParentNodeLocation(e)},e.prototype.isCollapsible=function(e){return this.model.isCollapsible(e)},e.prototype.setCollapsible=function(e,t){return this.model.setCollapsible(e,t)},e.prototype.isCollapsed=function(e){return this.model.isCollapsed(e)},e.prototype.setCollapsed=function(e,t,n){return this.model.setCollapsed(e,t,n)},e.prototype.expandTo=function(e){return this.model.expandTo(e)},e.prototype.rerender=function(e){return this.model.rerender(e)},e.prototype.refilter=function(){return this.model.refilter()},e.prototype.getCompressedTreeNode=function(e){return void 0===e&&(e=null),this.model.getNode(e)},e}(),$g=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),em=function(){return(em=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},tm=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},nm=function(e){function t(t,n,i,o,r){return void 0===r&&(r={}),e.call(this,t,n,i,o,r)||this}return $g(t,e),Object.defineProperty(t.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),t.prototype.setChildren=function(e,t){this.model.setChildren(e,t)},t.prototype.rerender=function(e){void 0!==e?this.model.rerender(e):this.view.rerender()},t.prototype.hasElement=function(e){return this.model.has(e)},t.prototype.createModel=function(e,t,n){return new Ug(e,t,n)},t}(jg),im=function(){function e(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}return Object.defineProperty(e.prototype,"compressedTreeNodeProvider",{get:function(){return this._compressedTreeNodeProvider()},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(e)}},e.prototype.renderElement=function(e,t,n,i){var o=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===o.element.elements.length?(n.compressedTreeNode=void 0,this.renderer.renderElement(e,t,n.data,i)):(n.compressedTreeNode=o,this.renderer.renderCompressedElements(o,t,n.data,i))},e.prototype.disposeElement=function(e,t,n,i){n.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(n.compressedTreeNode,t,n.data,i):this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.data,i)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.data)},e.prototype.renderTwistie=function(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)},tm([Zf.a],e.prototype,"compressedTreeNodeProvider",null),e}();var om=function(e){function t(t,n,i,o,r){void 0===r&&(r={});var s=this,a=function(){return s},u=o.map((function(e){return new im(a,e)}));return s=e.call(this,t,n,i,u,function(e,t){return t&&em(em({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel:function(n){var i;try{i=e().getCompressedTreeNode(n)}catch(e){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return 1===i.element.elements.length?t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):t.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(i.element.elements)}}})}(a,r))||this}return $g(t,e),t.prototype.setChildren=function(e,t){this.model.setChildren(e,t)},t.prototype.createModel=function(e,t,n){return new Qg(e,t,n)},t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),void 0!==t.compressionEnabled&&this.model.setCompressionEnabled(t.compressionEnabled)},t.prototype.getCompressedTreeNode=function(e){return void 0===e&&(e=null),this.model.getCompressedTreeNode(e)},t}(nm),rm=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),sm=function(){return(sm=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},am=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},um=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},lm=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i};function cm(e){return sm(sm({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function dm(e,t){return!!t.parent&&(t.parent===e||dm(e,t.parent))}var hm=function(){function e(e){this.node=e}return Object.defineProperty(e.prototype,"element",{get:function(){return this.node.element.element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.node.children.map((function(t){return new e(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),e}(),fm=function(){function e(e,t,n){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.templateId=e.templateId}return e.prototype.renderTemplate=function(e){return{templateData:this.renderer.renderTemplate(e)}},e.prototype.renderElement=function(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)},e.prototype.renderTwistie=function(e,t){return Object(Z.S)(t,"codicon-loading",e.slow),!1},e.prototype.disposeElement=function(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.dispose=function(){this.renderedNodes.clear()},e}();function pm(e){return{browserEvent:e.browserEvent,elements:e.elements.map((function(e){return e.element}))}}var gm=function(e){function t(t){var n=e.call(this,t.elements.map((function(e){return e.element})))||this;return n.data=t,n}return rm(t,e),t}(ap);function mm(e){return e instanceof ap?new gm(e):e}var vm=function(){function e(e){this.dnd=e}return e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e.element)},e.prototype.getDragLabel=function(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((function(e){return e.element})),t)},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(mm(e),t)},e.prototype.onDragOver=function(e,t,n,i,o){return void 0===o&&(o=!0),this.dnd.onDragOver(mm(e),t&&t.element,n,i)},e.prototype.drop=function(e,t,n,i){this.dnd.drop(mm(e),t&&t.element,n,i)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e}();function _m(e){return e&&sm(sm({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:function(t){return e.identityProvider.getId(t.element)}},dnd:e.dnd&&new vm(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:function(t){return e.multipleSelectionController.isSelectionSingleChangeEvent(sm(sm({},t),{element:t.element}))},isSelectionRangeChangeEvent:function(t){return e.multipleSelectionController.isSelectionRangeChangeEvent(sm(sm({},t),{element:t.element}))}},accessibilityProvider:e.accessibilityProvider&&sm(sm({},e.accessibilityProvider),{getAriaLabel:function(t){return e.accessibilityProvider.getAriaLabel(t.element)},getAriaLevel:e.accessibilityProvider.getAriaLevel&&function(t){return e.accessibilityProvider.getAriaLevel(t.element)},getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&function(t){return e.accessibilityProvider.getActiveDescendantId(t.element)}}),filter:e.filter&&{filter:function(t,n){return e.filter.filter(t.element,n)}},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&sm(sm({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:function(t){return e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}}),sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:function(t){return e.expandOnlyOnTwistieClick(t.element)},ariaProvider:e.ariaProvider&&{getPosInSet:function(t,n){return e.ariaProvider.getPosInSet(t.element,n)},getSetSize:function(t,n,i){return e.ariaProvider.getSetSize(t.element,n,i)},getRole:e.ariaProvider.getRole?function(t){return e.ariaProvider.getRole(t.element)}:void 0,isChecked:e.ariaProvider.isChecked?function(t){var n;return(null===(n=e.ariaProvider)||void 0===n?void 0:n.isChecked)(t.element)}:void 0},additionalScrollHeight:e.additionalScrollHeight})}function ym(e,t){t(e),e.children.forEach((function(e){return ym(e,t)}))}var bm=function(){function e(e,t,n,i,o,r){void 0===r&&(r={}),this.user=e,this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new W.a,this._onDidChangeNodeSlowState=new W.a,this.nodeMapper=new vg((function(e){return new hm(e)})),this.disposables=new le.b,this.identityProvider=r.identityProvider,this.autoExpandSingleChildren=void 0!==r.autoExpandSingleChildren&&r.autoExpandSingleChildren,this.sorter=r.sorter,this.collapseByDefault=r.collapseByDefault,this.tree=this.createTree(e,t,n,i,r),this.root=cm({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=sm(sm({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}return Object.defineProperty(e.prototype,"onDidChangeFocus",{get:function(){return W.b.map(this.tree.onDidChangeFocus,pm)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeSelection",{get:function(){return W.b.map(this.tree.onDidChangeSelection,pm)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidOpen",{get:function(){return W.b.map(this.tree.onDidOpen,pm)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.tree.onDidFocus},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidDispose",{get:function(){return this.tree.onDidDispose},enumerable:!0,configurable:!0}),e.prototype.createTree=function(e,t,n,i,o){var r=this,s=new kg(n),a=i.map((function(e){return new fm(e,r.nodeMapper,r._onDidChangeNodeSlowState.event)})),u=_m(o)||{};return new nm(e,t,s,a,u)},e.prototype.updateOptions=function(e){void 0===e&&(e={}),this.tree.updateOptions(e)},e.prototype.getHTMLElement=function(){return this.tree.getHTMLElement()},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.tree.scrollTop},set:function(e){this.tree.scrollTop=e},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.tree.domFocus()},e.prototype.layout=function(e,t){this.tree.layout(e,t)},e.prototype.style=function(e){this.tree.style(e)},e.prototype.getInput=function(){return this.root.element},e.prototype.setInput=function(e,t){return am(this,void 0,void 0,(function(){var n;return um(this,(function(i){switch(i.label){case 0:return this.refreshPromises.forEach((function(e){return e.cancel()})),this.refreshPromises.clear(),this.root.element=e,n=t&&{viewState:t,focus:[],selection:[]},[4,this._updateChildren(e,!0,!1,n)];case 1:return i.sent(),n&&(this.tree.setFocus(n.focus),this.tree.setSelection(n.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop),[2]}}))}))},e.prototype._updateChildren=function(e,t,n,i){return void 0===e&&(e=this.root.element),void 0===t&&(t=!0),void 0===n&&(n=!1),am(this,void 0,void 0,(function(){var o;return um(this,(function(r){switch(r.label){case 0:if(void 0===this.root.element)throw new mg(this.user,"Tree input not set");return this.root.refreshPromise?[4,this.root.refreshPromise]:[3,3];case 1:return r.sent(),[4,W.b.toPromise(this._onDidRender.event)];case 2:r.sent(),r.label=3;case 3:return o=this.getDataNode(e),[4,this.refreshAndRenderNode(o,t,i)];case 4:if(r.sent(),n)try{this.tree.rerender(o)}catch(e){}return[2]}}))}))},e.prototype.rerender=function(e){if(void 0!==e&&e!==this.root.element){var t=this.getDataNode(e);this.tree.rerender(t)}else this.tree.rerender()},e.prototype.collapse=function(e,t){void 0===t&&(t=!1);var n=this.getDataNode(e);return this.tree.collapse(n===this.root?null:n,t)},e.prototype.expand=function(e,t){return void 0===t&&(t=!1),am(this,void 0,void 0,(function(){var n,i;return um(this,(function(o){switch(o.label){case 0:if(void 0===this.root.element)throw new mg(this.user,"Tree input not set");return this.root.refreshPromise?[4,this.root.refreshPromise]:[3,3];case 1:return o.sent(),[4,W.b.toPromise(this._onDidRender.event)];case 2:o.sent(),o.label=3;case 3:return n=this.getDataNode(e),this.tree.hasElement(n)&&!this.tree.isCollapsible(n)?[2,!1]:n.refreshPromise?[4,this.root.refreshPromise]:[3,6];case 4:return o.sent(),[4,W.b.toPromise(this._onDidRender.event)];case 5:o.sent(),o.label=6;case 6:return n===this.root||n.refreshPromise||this.tree.isCollapsed(n)?(i=this.tree.expand(n===this.root?null:n,t),n.refreshPromise?[4,this.root.refreshPromise]:[3,9]):[2,!1];case 7:return o.sent(),[4,W.b.toPromise(this._onDidRender.event)];case 8:o.sent(),o.label=9;case 9:return[2,i]}}))}))},e.prototype.setSelection=function(e,t){var n=this,i=e.map((function(e){return n.getDataNode(e)}));this.tree.setSelection(i,t)},e.prototype.getSelection=function(){return this.tree.getSelection().map((function(e){return e.element}))},e.prototype.setFocus=function(e,t){var n=this,i=e.map((function(e){return n.getDataNode(e)}));this.tree.setFocus(i,t)},e.prototype.getFocus=function(){return this.tree.getFocus().map((function(e){return e.element}))},e.prototype.reveal=function(e,t){this.tree.reveal(this.getDataNode(e),t)},e.prototype.getDataNode=function(e){var t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new mg(this.user,"Data tree node not found: "+e);return t},e.prototype.refreshAndRenderNode=function(e,t,n){return am(this,void 0,void 0,(function(){return um(this,(function(i){switch(i.label){case 0:return[4,this.refreshNode(e,t,n)];case 1:return i.sent(),this.render(e,n),[2]}}))}))},e.prototype.refreshNode=function(e,t,n){return am(this,void 0,void 0,(function(){var i,o=this;return um(this,(function(r){return this.subTreeRefreshPromises.forEach((function(r,s){!i&&function(e,t){return e===t||dm(e,t)||dm(t,e)}(s,e)&&(i=r.then((function(){return o.refreshNode(e,t,n)})))})),i?[2,i]:[2,this.doRefreshSubTree(e,t,n)]}))}))},e.prototype.doRefreshSubTree=function(e,t,n){return am(this,void 0,void 0,(function(){var i,o,r=this;return um(this,(function(s){switch(s.label){case 0:e.refreshPromise=new Promise((function(e){return i=e})),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally((function(){e.refreshPromise=void 0,r.subTreeRefreshPromises.delete(e)})),s.label=1;case 1:return s.trys.push([1,,4,5]),[4,this.doRefreshNode(e,t,n)];case 2:return o=s.sent(),e.stale=!1,[4,Promise.all(o.map((function(e){return r.doRefreshSubTree(e,t,n)})))];case 3:return s.sent(),[3,5];case 4:return i(),[7];case 5:return[2]}}))}))},e.prototype.doRefreshNode=function(e,t,n){return am(this,void 0,void 0,(function(){var i,o,r,s,a=this;return um(this,(function(u){switch(u.label){case 0:e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren?((o=Object(We.i)(800)).then((function(){e.slow=!0,a._onDidChangeNodeSlowState.fire(e)}),(function(e){return null})),i=this.doGetChildren(e).finally((function(){return o.cancel()}))):i=Promise.resolve([]),u.label=1;case 1:return u.trys.push([1,3,4,5]),[4,i];case 2:return r=u.sent(),[2,this.setChildren(e,r,t,n)];case 3:if(s=u.sent(),e!==this.root&&this.tree.collapse(e===this.root?null:e),Object(Be.d)(s))return[2,[]];throw s;case 4:return e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e)),[7];case 5:return[2]}}))}))},e.prototype.doGetChildren=function(e){var t=this,n=this.refreshPromises.get(e);return n||(n=Object(We.f)((function(){return am(t,void 0,void 0,(function(){var t;return um(this,(function(n){switch(n.label){case 0:return[4,this.dataSource.getChildren(e.element)];case 1:return t=n.sent(),[2,this.processChildren(t)]}}))}))})),this.refreshPromises.set(e,n),n.finally((function(){return t.refreshPromises.delete(e)})))},e.prototype._onDidChangeCollapseState=function(e){var t=e.node,n=e.deep;!t.collapsed&&t.element.stale&&(n?this.collapse(t.element.element):this.refreshAndRenderNode(t.element,!1).catch(Be.e))},e.prototype.setChildren=function(e,t,n,i){var o,r=this;if(0===e.children.length&&0===t.length)return[];for(var s=new Map,a=new Map,u=0,l=e.children;u<l.length;u++){var c=l[u];if(s.set(c.element,c),this.identityProvider){var d=this.tree.isCollapsed(c);a.set(c.id,{node:c,collapsed:d})}}for(var h=[],f=t.map((function(t){var o=!!r.dataSource.hasChildren(t);if(!r.identityProvider){var u=cm({element:t,parent:e,hasChildren:o});return o&&r.collapseByDefault&&!r.collapseByDefault(t)&&(u.collapsedByDefault=!1,h.push(u)),u}var l=r.identityProvider.getId(t).toString(),c=a.get(l);if(c){u=c.node;return s.delete(u.element),r.nodes.delete(u.element),r.nodes.set(t,u),u.element=t,u.hasChildren=o,n?c.collapsed?(u.children.forEach((function(e){return ym(e,(function(e){return r.nodes.delete(e.element)}))})),u.children.splice(0,u.children.length),u.stale=!0):h.push(u):o&&r.collapseByDefault&&!r.collapseByDefault(t)&&(u.collapsedByDefault=!1,h.push(u)),u}var d=cm({element:t,parent:e,id:l,hasChildren:o});return i&&i.viewState.focus&&i.viewState.focus.indexOf(l)>-1&&i.focus.push(d),i&&i.viewState.selection&&i.viewState.selection.indexOf(l)>-1&&i.selection.push(d),i&&i.viewState.expanded&&i.viewState.expanded.indexOf(l)>-1?h.push(d):o&&r.collapseByDefault&&!r.collapseByDefault(t)&&(d.collapsedByDefault=!1,h.push(d)),d})),p=0,g=Object(Qn.e)(s);p<g.length;p++){ym(g[p],(function(e){return r.nodes.delete(e.element)}))}for(var m=0,v=f;m<v.length;m++){c=v[m];this.nodes.set(c.element,c)}return(o=e.children).splice.apply(o,lm([0,e.children.length],f)),e!==this.root&&this.autoExpandSingleChildren&&1===f.length&&0===h.length&&(f[0].collapsedByDefault=!1,h.push(f[0])),h},e.prototype.render=function(e,t){var n=this,i=e.children.map((function(e){return n.asTreeElement(e,t)}));this.tree.setChildren(e===this.root?null:e,i),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()},e.prototype.asTreeElement=function(e,t){var n,i=this;return e.stale?{element:e,collapsible:e.hasChildren,collapsed:!0}:(n=!(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1)&&e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?st.c.map(st.c.fromArray(e.children),(function(e){return i.asTreeElement(e,t)})):[],collapsible:e.hasChildren,collapsed:n})},e.prototype.processChildren=function(e){return this.sorter&&e.sort(this.sorter.compare.bind(this.sorter)),e},e.prototype.dispose=function(){this.disposables.dispose()},e}(),Cm=function(){function e(e){this.node=e}return Object.defineProperty(e.prototype,"element",{get:function(){return{elements:this.node.element.elements.map((function(e){return e.element})),incompressible:this.node.element.incompressible}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.node.children.map((function(t){return new e(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),e}(),wm=function(){function e(e,t,n,i){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=n,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}return e.prototype.renderTemplate=function(e){return{templateData:this.renderer.renderTemplate(e)}},e.prototype.renderElement=function(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)},e.prototype.renderCompressedElements=function(e,t,n,i){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)},e.prototype.renderTwistie=function(e,t){return Object(Z.S)(t,"codicon-loading",e.slow),!1},e.prototype.disposeElement=function(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)},e.prototype.disposeCompressedElements=function(e,t,n,i){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.dispose=function(){this.renderedNodes.clear(),this.disposables=Object(le.e)(this.disposables)},e}();var Sm=function(e){function t(t,n,i,o,r,s,a){void 0===a&&(a={});var u=e.call(this,t,n,i,r,s,a)||this;return u.compressionDelegate=o,u.compressibleNodeMapper=new vg((function(e){return new Cm(e)})),u.filter=a.filter,u}return rm(t,e),t.prototype.createTree=function(e,t,n,i,o){var r=this,s=new kg(n),a=i.map((function(e){return new wm(e,r.nodeMapper,(function(){return r.compressibleNodeMapper}),r._onDidChangeNodeSlowState.event)})),u=function(e){var t=e&&_m(e);return t&&sm(sm({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&sm(sm({},t.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:function(t){return e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map((function(e){return e.element})))}})})}(o)||{};return new om(e,t,s,a,u)},t.prototype.asTreeElement=function(t,n){return sm({incompressible:this.compressionDelegate.isIncompressible(t.element)},e.prototype.asTreeElement.call(this,t,n))},t.prototype.updateOptions=function(e){void 0===e&&(e={}),this.tree.updateOptions(e)},t.prototype.render=function(t,n){var i=this;if(!this.identityProvider)return e.prototype.render.call(this,t,n);var o=function(e){return i.identityProvider.getId(e).toString()},r=function(e){for(var t=new Set,n=0,r=e;n<r.length;n++){var s=r[n],a=i.tree.getCompressedTreeNode(s===i.root?null:s);if(a.element)for(var u=0,l=a.element.elements;u<l.length;u++){var c=l[u];t.add(o(c.element))}}return t},s=r(this.tree.getSelection()),a=r(this.tree.getFocus());e.prototype.render.call(this,t,n);var u=this.getSelection(),l=!1,c=this.getFocus(),d=!1,h=function(e){var t=e.element;if(t)for(var n=0;n<t.elements.length;n++){var i=o(t.elements[n].element),r=t.elements[t.elements.length-1].element;s.has(i)&&-1===u.indexOf(r)&&(u.push(r),l=!0),a.has(i)&&-1===c.indexOf(r)&&(c.push(r),d=!0)}e.children.forEach(h)};h(this.tree.getCompressedTreeNode(t===this.root?null:t)),l&&this.setSelection(u),d&&this.setFocus(c)},t.prototype.processChildren=function(t){var n=this;return this.filter&&(t=t.filter((function(e){var t,i=n.filter.filter(e,1),o="boolean"==typeof(t=i)?t?1:0:yg(t)?bg(t.visibility):bg(t);if(2===o)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===o}))),e.prototype.processChildren.call(this,t)},t}(bm);var Lm,Nm=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Om=function(e){function t(t,n,i,o,r,s){void 0===s&&(s={});var a=e.call(this,t,n,i,o,s)||this;return a.user=t,a.dataSource=r,a.identityProvider=s.identityProvider,a}return Nm(t,e),t.prototype.createModel=function(e,t,n){return new Ug(e,t,n)},t}(jg),Dm=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),xm=function(){return(xm=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Em=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},km=function(e,t){return function(n,i){t(n,i,e)}},Im=Object(ue.c)("listService"),Mm=function(){function e(e){this._themeService=e,this.disposables=new le.b,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}return Object.defineProperty(e.prototype,"lastFocusedList",{get:function(){return this._lastFocusedWidget},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this;if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;var i=new sg(Object(Z.q)(),"");this.disposables.add(bf(i,this._themeService))}if(this.lists.some((function(t){return t.widget===e})))throw new Error("Cannot register the same widget multiple times");var o={widget:e,extraContextKeys:t};return this.lists.push(o),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e),Object(le.d)(e.onDidFocus((function(){return n._lastFocusedWidget=e})),Object(le.f)((function(){return n.lists.splice(n.lists.indexOf(o),1)})),e.onDidDispose((function(){n.lists=n.lists.filter((function(e){return e!==o})),n._lastFocusedWidget===e&&(n._lastFocusedWidget=void 0)})))},e.prototype.dispose=function(){this.disposables.dispose()},e=Em([km(0,Ir.c)],e)}(),Tm=new Zi.d("listFocus",!0),Am=new Zi.d("listSupportsMultiselect",!0),Rm=(Zi.a.and(Tm,Zi.a.not("inputFocus")),new Zi.d("listHasSelectionOrFocus",!1)),Pm=new Zi.d("listDoubleSelection",!1),Fm=new Zi.d("listMultiSelection",!1),Vm=new Zi.d("listSupportsKeyboardNavigation",!0),Wm=new Zi.d("listAutomaticKeyboardNavigation",!0),Bm=!1;var jm="workbench.tree.indent";function Hm(e){return"alt"===e.getValue("workbench.list.multiSelectModifier")}function zm(e){return"doubleClick"!==e.getValue("workbench.list.openMode")}var Um=function(e){function t(t){var n=e.call(this)||this;return n.configurationService=t,n.useAltAsMultipleSelectionModifier=Hm(t),n.registerListeners(),n}return Dm(t,e),t.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration((function(t){t.affectsConfiguration("workbench.list.multiSelectModifier")&&(e.useAltAsMultipleSelectionModifier=Hm(e.configurationService))})))},t.prototype.isSelectionSingleChangeEvent=function(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:eg(e)},t.prototype.isSelectionRangeChangeEvent=function(e){return tg(e)},t}(le.a),Km=function(e){function t(t,n){var i=e.call(this)||this;return i.configurationService=t,i.existingOpenController=n,i.openOnSingleClick=zm(t),i.registerListeners(),i}return Dm(t,e),t.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration((function(t){t.affectsConfiguration("workbench.list.openMode")&&(e.openOnSingleClick=zm(e.configurationService))})))},t.prototype.shouldOpen=function(e){if(e instanceof MouseEvent){var t=0===e.button,n=2===e.detail;return!(t&&!this.openOnSingleClick&&!n)&&(!(!t&&1!==e.button)&&(!this.existingOpenController||this.existingOpenController.shouldOpen(e)))}return!this.existingOpenController||this.existingOpenController.shouldOpen(e)},t}(le.a);function qm(e,t){var n=!1;return function(i){if(n)return n=!1,!1;var o=t.softDispatch(i,e);return o&&o.enterChord?(n=!0,!1):(n=!1,!0)}}(function(e){function t(t,n,i,o,r,s,a,u,l,c,d){var h=this,f=Gm(n,r,s,l,c,d),p=f.options,g=f.getAutomaticKeyboardNavigation,m=f.disposable;return(h=e.call(this,t,n,i,o,p)||this).disposables.add(m),h.internals=new Xm(h,p,g,r.overrideStyles,s,a,u,l,d),h.disposables.add(h.internals),h}Dm(t,e),t=Em([km(5,Zi.c),km(6,Im),km(7,Ir.c),km(8,Pi),km(9,Cd.a),km(10,Jl)],t)})(nm),function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h){var f=this,p=Gm(n,s,a,c,d,h),g=p.options,m=p.getAutomaticKeyboardNavigation,v=p.disposable;return(f=e.call(this,t,n,i,o,r,g)||this).disposables.add(v),f.internals=new Xm(f,g,m,s.overrideStyles,a,u,l,c,h),f.disposables.add(f.internals),f}Dm(t,e),t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),t.overrideStyles&&this.internals.updateStyleOverrides(t.overrideStyles)},t=Em([km(6,Zi.c),km(7,Im),km(8,Ir.c),km(9,Pi),km(10,Cd.a),km(11,Jl)],t)}(Om),function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h){var f=this,p=Gm(n,s,a,c,d,h),g=p.options,m=p.getAutomaticKeyboardNavigation,v=p.disposable;return(f=e.call(this,t,n,i,o,r,g)||this).disposables.add(v),f.internals=new Xm(f,g,m,s.overrideStyles,a,u,l,c,h),f.disposables.add(f.internals),f}Dm(t,e),t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),t.overrideStyles&&this.internals.updateStyleOverrides(t.overrideStyles)},t=Em([km(6,Zi.c),km(7,Im),km(8,Ir.c),km(9,Pi),km(10,Cd.a),km(11,Jl)],t)}(bm),function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h,f){var p=this,g=Gm(n,a,u,d,h,f),m=g.options,v=g.getAutomaticKeyboardNavigation,_=g.disposable;return(p=e.call(this,t,n,i,o,r,s,m)||this).disposables.add(_),p.internals=new Xm(p,m,v,a.overrideStyles,u,l,c,d,f),p.disposables.add(p.internals),p}Dm(t,e),t=Em([km(7,Zi.c),km(8,Im),km(9,Ir.c),km(10,Pi),km(11,Cd.a),km(12,Jl)],t)}(Sm);function Gm(e,t,n,i,o,r){Vm.bindTo(n),Bm||(Wm.bindTo(n),Bm=!0);var s=function(){var e=n.getContextKeyValue("listAutomaticKeyboardNavigation");return e&&(e=i.getValue("workbench.list.automaticKeyboardNavigation")),e},a=r.isScreenReaderOptimized()?"simple":i.getValue("workbench.list.keyboardNavigation"),u=void 0!==t.horizontalScrolling?t.horizontalScrolling:function(e){return function(e,t,n){var i=e.inspect(t),o=e.inspect(n);return void 0!==i.userValue||void 0!==i.workspaceValue||void 0!==i.workspaceFolderValue?i.value:void 0!==o.userValue||void 0!==o.workspaceValue||void 0!==o.workspaceFolderValue?o.value:i.defaultValue}(e,"workbench.list.horizontalScrolling","workbench.tree.horizontalScrolling")}(i),l=zm(i),c=function(e,t,n){var i=new le.b,o=xm({},e);if(!1!==e.multipleSelectionSupport&&!e.multipleSelectionController){var r=new Um(t);o.multipleSelectionController=r,i.add(r)}var s=new Km(t,e.openController);return o.openController=s,i.add(s),o.keyboardNavigationDelegate={mightProducePrintableCharacter:function(e){return n.mightProducePrintableCharacter(e)}},[o,i]}(t,i,o),d=c[0],h=c[1],f=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:s,disposable:h,options:xm(xm({keyboardSupport:!1},d),{indent:i.getValue(jm),renderIndentGuides:i.getValue("workbench.tree.renderIndentGuides"),automaticKeyboardNavigation:s(),simpleKeyboardNavigation:"simple"===a,filterOnType:"filter"===a,horizontalScrolling:u,openOnSingleClick:l,keyboardNavigationEventFilter:qm(e,o),additionalScrollHeight:f,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements})}}var Ym,Zm,Xm=function(){function e(e,t,n,i,o,r,s,a,u){var l=this;this.tree=e,this.themeService=s,this.disposables=[],this.contextKeyService=function(e,t){var n=e.createScoped(t.getHTMLElement());return Tm.bindTo(n),n}(o,e),Am.bindTo(this.contextKeyService).set(!(!1===t.multipleSelectionSupport)),this.hasSelectionOrFocus=Rm.bindTo(this.contextKeyService),this.hasDoubleSelection=Pm.bindTo(this.contextKeyService),this.hasMultiSelection=Fm.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=Hm(a);var c=new Set;c.add("listAutomaticKeyboardNavigation");var d=function(){var t=u.isScreenReaderOptimized()?"simple":a.getValue("workbench.list.keyboardNavigation");e.updateOptions({simpleKeyboardNavigation:"simple"===t,filterOnType:"filter"===t})};this.updateStyleOverrides(i),this.disposables.push(this.contextKeyService,r.register(e),e.onDidChangeSelection((function(){var t=e.getSelection(),n=e.getFocus();l.hasSelectionOrFocus.set(t.length>0||n.length>0),l.hasMultiSelection.set(t.length>1),l.hasDoubleSelection.set(2===t.length)})),e.onDidChangeFocus((function(){var t=e.getSelection(),n=e.getFocus();l.hasSelectionOrFocus.set(t.length>0||n.length>0)})),a.onDidChangeConfiguration((function(t){if(t.affectsConfiguration("workbench.list.openMode")&&e.updateOptions({openOnSingleClick:zm(a)}),t.affectsConfiguration("workbench.list.multiSelectModifier")&&(l._useAltAsMultipleSelectionModifier=Hm(a)),t.affectsConfiguration(jm)){var i=a.getValue(jm);e.updateOptions({indent:i})}if(t.affectsConfiguration("workbench.tree.renderIndentGuides")){var o=a.getValue("workbench.tree.renderIndentGuides");e.updateOptions({renderIndentGuides:o})}t.affectsConfiguration("workbench.list.keyboardNavigation")&&d(),t.affectsConfiguration("workbench.list.automaticKeyboardNavigation")&&e.updateOptions({automaticKeyboardNavigation:n()})})),this.contextKeyService.onDidChangeContext((function(t){t.affectsSome(c)&&e.updateOptions({automaticKeyboardNavigation:n()})})),u.onDidChangeScreenReaderOptimized((function(){return d()})))}return e.prototype.updateStyleOverrides=function(e){Object(le.e)(this.styler),this.styler=e?bf(this.tree,this.themeService,e):le.a.None},e.prototype.dispose=function(){this.disposables=Object(le.e)(this.disposables),this.styler=Object(le.e)(this.styler)},e=Em([km(4,Zi.c),km(5,Im),km(6,Ir.c),km(7,Pi),km(8,Jl)],e)}();Xn.a.as($n).registerConfiguration({id:"workbench",order:7,title:Object(Zn.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:(Lm={},Lm["workbench.list.multiSelectModifier"]={type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(Zn.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(Zn.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(Zn.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},Lm["workbench.list.openMode"]={type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(Zn.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},Lm["workbench.list.horizontalScrolling"]={type:"boolean",default:!1,description:Object(Zn.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench.")},Lm["workbench.tree.horizontalScrolling"]={type:"boolean",default:!1,description:Object(Zn.a)("tree horizontalScrolling setting","Controls whether trees support horizontal scrolling in the workbench."),deprecationMessage:Object(Zn.a)("deprecated","This setting is deprecated, please use '{0}' instead.","workbench.list.horizontalScrolling")},Lm[jm]={type:"number",default:8,minimum:0,maximum:40,description:Object(Zn.a)("tree indent setting","Controls tree indentation in pixels.")},Lm["workbench.tree.renderIndentGuides"]={type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(Zn.a)("render tree indent guides","Controls whether the tree should render indent guides.")},Lm["workbench.list.keyboardNavigation"]={type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(Zn.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(Zn.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(Zn.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(Zn.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},Lm["workbench.list.automaticKeyboardNavigation"]={type:"boolean",default:!0,markdownDescription:Object(Zn.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},Lm)}),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(Ym||(Ym={})),function(e){e.compare=function(e,t){return t-e};var t=Object.create(null);t[e.Error]=Object(Zn.a)("sev.error","Error"),t[e.Warning]=Object(Zn.a)("sev.warning","Warning"),t[e.Info]=Object(Zn.a)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case Yn.a.Error:return e.Error;case Yn.a.Warning:return e.Warning;case Yn.a.Info:return e.Info;case Yn.a.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return Yn.a.Error;case e.Warning:return Yn.a.Warning;case e.Info:return Yn.a.Info;case e.Hint:return Yn.a.Ignore}}}(Ym||(Ym={})),function(e){function t(e,t){var n=[""];return e.source?n.push(e.source.replace("¦","¦")):n.push(""),e.code?"string"==typeof e.code?n.push(e.code.replace("¦","¦")):n.push(e.code.value.replace("¦","¦")):n.push(""),void 0!==e.severity&&null!==e.severity?n.push(Ym.toString(e.severity)):n.push(""),e.message&&t?n.push(e.message.replace("¦","¦")):n.push(""),void 0!==e.startLineNumber&&null!==e.startLineNumber?n.push(e.startLineNumber.toString()):n.push(""),void 0!==e.startColumn&&null!==e.startColumn?n.push(e.startColumn.toString()):n.push(""),void 0!==e.endLineNumber&&null!==e.endLineNumber?n.push(e.endLineNumber.toString()):n.push(""),void 0!==e.endColumn&&null!==e.endColumn?n.push(e.endColumn.toString()):n.push(""),n.push(""),n.join("¦")}e.makeKey=function(e){return t(e,!0)},e.makeKeyOptionalMessage=t}(Zm||(Zm={}));var Jm,Qm,$m=Object(ue.c)("markerService");(Qm=Jm||(Jm={})).get=function(e,t,n){if(e[t])return e[t][n]},Qm.set=function(e,t,n,i){e[t]||(e[t]=Object.create(null)),e[t][n]=i},Qm.remove=function(e,t,n){return!(!e[t]||!e[t][n]||(delete e[t][n],Object(je.f)(e[t])&&delete e[t],0))};var ev=function(){function e(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=Object.create(null),this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}return e.prototype.dispose=function(){this._subscription.dispose(),this._data=void 0},e.prototype._update=function(e){if(this._data)for(var t=0,n=e;t<n.length;t++){var i=n[t],o=i.toString(),r=this._data[o];r&&this._substract(r);var s=this._resourceStats(i);this._add(s),this._data[o]=s}},e.prototype._resourceStats=function(e){var t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===$.b.inMemory||e.scheme===$.b.walkThrough||e.scheme===$.b.walkThroughSnippet)return t;for(var n=0,i=this._service.read({resource:e});n<i.length;n++){var o=i[n].severity;o===Ym.Error?t.errors+=1:o===Ym.Warning?t.warnings+=1:o===Ym.Info?t.infos+=1:t.unknowns+=1}return t},e.prototype._substract=function(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns},e.prototype._add=function(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns},e}(),tv=function(){function e(){this._onMarkerChanged=new W.a,this._onMarkerChangedEvent=W.b.debounce(this._onMarkerChanged.event,e._debouncer,0),this._byResource=Object.create(null),this._byOwner=Object.create(null),this._stats=new ev(this)}return e.prototype.dispose=function(){this._stats.dispose()},Object.defineProperty(e.prototype,"onMarkerChanged",{get:function(){return this._onMarkerChangedEvent},enumerable:!0,configurable:!0}),e.prototype.remove=function(e,t){for(var n=0,i=t||[];n<i.length;n++){var o=i[n];this.changeOne(e,o,[])}},e.prototype.changeOne=function(t,n,i){if(Object(Xe.l)(i)){var o=Jm.remove(this._byResource,n.toString(),t),r=Jm.remove(this._byOwner,t,n.toString());if(o!==r)throw new Error("invalid marker service state");o&&r&&this._onMarkerChanged.fire([n])}else{for(var s=[],a=0,u=i;a<u.length;a++){var l=u[a],c=e._toMarker(t,n,l);c&&s.push(c)}Jm.set(this._byResource,n.toString(),t,s),Jm.set(this._byOwner,t,n.toString(),s),this._onMarkerChanged.fire([n])}},e._toMarker=function(e,t,n){var i=n.code,o=n.severity,r=n.message,s=n.source,a=n.startLineNumber,u=n.startColumn,l=n.endLineNumber,c=n.endColumn,d=n.relatedInformation,h=n.tags;if(r)return{resource:t,owner:e,code:i,severity:o,message:r,source:s,startLineNumber:a=a>0?a:1,startColumn:u=u>0?u:1,endLineNumber:l=l>=a?l:a,endColumn:c=c>0?c:u,relatedInformation:d,tags:h}},e.prototype.read=function(t){void 0===t&&(t=Object.create(null));var n=t.owner,i=t.resource,o=t.severities,r=t.take;if((!r||r<0)&&(r=-1),n&&i){if(y=Jm.get(this._byResource,i.toString(),n)){for(var s=[],a=0,u=y;a<u.length;a++){var l=u[a];if(e._accept(l,o)){var c=s.push(l);if(r>0&&c===r)break}}return s}return[]}if(n||i){var d=n?this._byOwner[n]:i?this._byResource[i.toString()]:void 0;if(!d)return[];s=[];for(var h in d)for(var f=0,p=d[h];f<p.length;f++){y=p[f];if(e._accept(y,o)){c=s.push(y);if(r>0&&c===r)return s}}return s}var s=[];for(var g in this._byResource)for(var m in this._byResource[g])for(var v=0,_=this._byResource[g][m];v<_.length;v++){var y=_[v];if(e._accept(y,o)){var c=s.push(y);if(r>0&&c===r)return s}}return s},e._accept=function(e,t){return void 0===t||(t&e.severity)===e.severity},e._debouncer=function(t,n){t||(e._dedupeMap=Object.create(null),t=[]);for(var i=0,o=n;i<o.length;i++){var r=o[i];void 0===e._dedupeMap[r.toString()]&&(e._dedupeMap[r.toString()]=!0,t.push(r))}return t},e}(),nv=n("A+jI"),iv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},ov=function(e,t){return function(n,i){t(n,i,e)}},rv=function(){function e(e){this._commandService=e}return e.prototype.createMenu=function(e,t){return new sv(e,this._commandService,t)},e=iv([ov(0,ae.b)],e)}(),sv=function(){function e(e,t,n){var i=this;this._id=e,this._commandService=t,this._contextKeyService=n,this._onDidChange=new W.a,this._dispoables=new le.b,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(W.b.debounce(W.b.filter(bd.c.onDidChangeMenu,(function(e){return e===i._id})),(function(){}),50)(this._build,this)),this._dispoables.add(W.b.debounce(this._contextKeyService.onDidChangeContext,(function(e,t){return e||t.affectsSome(i._contextKeys)}),50)((function(e){return e&&i._onDidChange.fire(void 0)}),this))}return e.prototype.dispose=function(){this._dispoables.dispose(),this._onDidChange.dispose()},e.prototype._build=function(){this._menuGroups.length=0,this._contextKeys.clear();var t,n=bd.c.getMenuItems(this._id);n.sort(e._compareMenuItems);for(var i=0,o=n;i<o.length;i++){var r=o[i],s=r.group||"";t&&t[0]===s||(t=[s,[]],this._menuGroups.push(t)),t[1].push(r),e._fillInKbExprKeys(r.when,this._contextKeys),Object(bd.e)(r)&&r.command.precondition&&e._fillInKbExprKeys(r.command.precondition,this._contextKeys),Object(bd.e)(r)&&r.command.toggled&&e._fillInKbExprKeys(r.command.toggled,this._contextKeys)}this._onDidChange.fire(this)},e.prototype.getActions=function(e){for(var t=[],n=0,i=this._menuGroups;n<i.length;n++){for(var o=i[n],r=o[0],s=[],a=0,u=o[1];a<u.length;a++){var l=u[a];if(this._contextKeyService.contextMatchesRules(l.when)){var c=Object(bd.e)(l)?new bd.b(l.command,l.alt,e,this._contextKeyService,this._commandService):new bd.d(l);s.push(c)}}s.length>0&&t.push([r,s])}return t},e._fillInKbExprKeys=function(e,t){if(e)for(var n=0,i=e.keys();n<i.length;n++){var o=i[n];t.add(o)}},e._compareMenuItems=function(t,n){var i=t.group,o=n.group;if(i!==o){if(!i)return 1;if(!o)return-1;if("navigation"===i)return-1;if("navigation"===o)return 1;var r=i.localeCompare(o);if(0!==r)return r}var s=t.order||0,a=n.order||0;return s<a?-1:s>a?1:e._compareTitles(Object(bd.e)(t)?t.command.title:t.title,Object(bd.e)(n)?n.command.title:n.title)},e._compareTitles=function(e,t){var n="string"==typeof e?e:e.value,i="string"==typeof t?t:t.value;return n.localeCompare(i)},e=iv([ov(1,ae.b),ov(2,Zi.c)],e)}(),av=Object(ue.c)("markerDecorationsService"),uv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),lv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},cv=function(e,t){return function(n,i){t(n,i,e)}};function dv(e){return e.toString()}var hv,fv=function(e){function t(t){var n=e.call(this)||this;return n.model=t,n._markersData=new Map,n._register(Object(le.f)((function(){n.model.deltaDecorations(Object(Qn.d)(n._markersData),[]),n._markersData.clear()}))),n}return uv(t,e),t.prototype.update=function(e,t){var n=Object(Qn.d)(this._markersData);this._markersData.clear();for(var i=this.model.deltaDecorations(n,t),o=0;o<i.length;o++)this._markersData.set(i[o],e[o])},t.prototype.getMarker=function(e){return this._markersData.get(e.id)},t}(le.a),pv=function(e){function t(t,n){var i=e.call(this)||this;return i._markerService=n,i._onDidChangeMarker=i._register(new W.a),i._markerDecorations=new Map,t.getModels().forEach((function(e){return i._onModelAdded(e)})),i._register(t.onModelAdded(i._onModelAdded,i)),i._register(t.onModelRemoved(i._onModelRemoved,i)),i._register(i._markerService.onMarkerChanged(i._handleMarkerChange,i)),i}return uv(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._markerDecorations.forEach((function(e){return e.dispose()})),this._markerDecorations.clear()},t.prototype.getMarker=function(e,t){var n=this._markerDecorations.get(dv(e.uri));return n?Object(je.o)(n.getMarker(t)):null},t.prototype._handleMarkerChange=function(e){var t=this;e.forEach((function(e){var n=t._markerDecorations.get(dv(e));n&&t._updateDecorations(n)}))},t.prototype._onModelAdded=function(e){var t=new fv(e);this._markerDecorations.set(dv(e.uri),t),this._updateDecorations(t)},t.prototype._onModelRemoved=function(e){var t=this,n=this._markerDecorations.get(dv(e.uri));n&&(n.dispose(),this._markerDecorations.delete(dv(e.uri))),e.uri.scheme!==$.b.inMemory&&e.uri.scheme!==$.b.internal&&e.uri.scheme!==$.b.vscode||this._markerService&&this._markerService.read({resource:e.uri}).map((function(e){return e.owner})).forEach((function(n){return t._markerService.remove(n,[e.uri])}))},t.prototype._updateDecorations=function(e){var t=this,n=this._markerService.read({resource:e.model.uri,take:500}),i=n.map((function(n){return{range:t._createDecorationRange(e.model,n),options:t._createDecorationOption(n)}}));e.update(n,i),this._onDidChangeMarker.fire(e.model)},t.prototype._createDecorationRange=function(e,t){var n=z.a.lift(t);if(t.severity!==Ym.Hint||this._hasMarkerTag(t,1)||this._hasMarkerTag(t,2)||(n=n.setEndPosition(n.startLineNumber,n.startColumn+2)),(n=e.validateRange(n)).isEmpty()){var i=e.getWordAtPosition(n.getStartPosition());if(i)n=new z.a(n.startLineNumber,i.startColumn,n.endLineNumber,i.endColumn);else{var o=e.getLineLastNonWhitespaceColumn(n.startLineNumber)||e.getLineMaxColumn(n.startLineNumber);1===o||(n=n.endColumn>=o?new z.a(n.startLineNumber,o-1,n.endLineNumber,o):new z.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn+1))}}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&n.startLineNumber===n.endLineNumber){var r=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);r<n.endColumn&&(n=new z.a(n.startLineNumber,r,n.endLineNumber,n.endColumn),t.startColumn=r)}return n},t.prototype._createDecorationOption=function(e){var t,n,i,o=void 0,r=void 0;switch(e.severity){case Ym.Hint:t=this._hasMarkerTag(e,2)?void 0:this._hasMarkerTag(e,1)?"squiggly-unnecessary":"squiggly-hint",n=0;break;case Ym.Warning:t="squiggly-warning",o=Object(Ir.f)(qs),n=20,i={color:Object(Ir.f)(Ns.zb),position:Ae.c.Inline};break;case Ym.Info:t="squiggly-info",o=Object(Ir.f)(Gs),n=10;break;case Ym.Error:default:t="squiggly-error",o=Object(Ir.f)(Ks),n=30,i={color:Object(Ir.f)(Ns.wb),position:Ae.c.Inline}}return e.tags&&(-1!==e.tags.indexOf(1)&&(r="squiggly-inline-unnecessary"),-1!==e.tags.indexOf(2)&&(r="squiggly-inline-deprecated")),{stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:o,position:Ae.d.Right},minimap:i,zIndex:n,inlineClassName:r}},t.prototype._hasMarkerTag=function(e,t){return!!e.tags&&e.tags.indexOf(t)>=0},t=lv([cv(0,Rt.a),cv(1,$m)],t)}(le.a),gv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),mv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},vv=function(e,t){return function(n,i){t(n,i,e)}},_v=function(e){function t(t,n){var i=e.call(this)||this;i._contextKeyService=t,i._configurationService=n,i._accessibilitySupport=0,i._onDidChangeScreenReaderOptimized=new W.a,i._accessibilityModeEnabledContext=Ql.bindTo(i._contextKeyService);var o=function(){return i._accessibilityModeEnabledContext.set(i.isScreenReaderOptimized())};return i._register(i._configurationService.onDidChangeConfiguration((function(e){e.affectsConfiguration("editor.accessibilitySupport")&&(o(),i._onDidChangeScreenReaderOptimized.fire())}))),o(),i.onDidChangeScreenReaderOptimized((function(){return o()})),i}return gv(t,e),Object.defineProperty(t.prototype,"onDidChangeScreenReaderOptimized",{get:function(){return this._onDidChangeScreenReaderOptimized.event},enumerable:!0,configurable:!0}),t.prototype.isScreenReaderOptimized=function(){var e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport},t.prototype.getAccessibilitySupport=function(){return this._accessibilitySupport},t=mv([vv(0,Zi.c),vv(1,Pi)],t)}(le.a),yv=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(e){var t=new Xl,n=function(){function e(e,t){this._serviceId=e,this._factory=t,this._value=null}return Object.defineProperty(e.prototype,"id",{get:function(){return this._serviceId},enumerable:!0,configurable:!0}),e.prototype.get=function(e){if(!this._value){if(e&&(this._value=e[this._serviceId.toString()]),this._value||(this._value=this._factory(e)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");t.set(this._serviceId,this._value)}return this._value},e}();e.LazyStaticService=n;var i=[];function o(e,t){var o=new n(e,t);return i.push(o),o}e.init=function(e){for(var t=new Xl,n=0,o=Ic;n<o.length;n++){var r=o[n],s=r[0],a=r[1];t.set(s,a)}for(var u in e)e.hasOwnProperty(u)&&t.set(Object(ue.c)(u),e[u]);i.forEach((function(n){return t.set(n.id,n.get(e))}));var l=new qf(t,!0);return t.set(ue.a,l),[t,l]},e.instantiationService=o(ue.a,(function(){return new qf(t,!0)}));var r=new Wo;e.configurationService=o(Pi,(function(){return r})),e.resourceConfigurationService=o(Pt,(function(){return new Bo(r)})),e.resourcePropertiesService=o(Ft,(function(){return new jo(r)})),e.contextService=o(co,(function(){return new zo})),e.labelService=o(Yf,(function(){return new qo})),e.telemetryService=o(Of.a,(function(){return new Ho})),e.dialogService=o(Wf,(function(){return new Ao})),e.notificationService=o(lo.a,(function(){return new Ro})),e.markerService=o($m,(function(){return new tv})),e.modeService=o(Td,(function(e){return new Zd})),e.standaloneThemeService=o(yd,(function(){return new Gh})),e.logService=o(Vt,(function(){return new Wt})),e.modelService=o(Rt.a,(function(t){return new ih(e.configurationService.get(t),e.resourcePropertiesService.get(t),e.standaloneThemeService.get(t),e.logService.get(t))})),e.markerDecorationsService=o(av,(function(t){return new pv(e.modelService.get(t),e.markerService.get(t))})),e.codeEditorService=o(Y.a,(function(t){return new Nh(e.standaloneThemeService.get(t))})),e.editorProgressService=o(td,(function(){return new To})),e.storageService=o(nv.a,(function(){return new nv.b})),e.editorWorkerService=o(Fe,(function(t){return new Gt(e.modelService.get(t),e.resourceConfigurationService.get(t),e.logService.get(t))}))}(hv||(hv={}));var bv=function(e){function t(t,n){var i=e.call(this)||this,o=hv.init(n),r=o[0],s=o[1];i._serviceCollection=r,i._instantiationService=s;var a=i.get(Pi),u=i.get(lo.a),l=i.get(Of.a),c=i.get(Ir.c),d=function(e,t){var o=null;return n&&(o=n[e.toString()]),o||(o=t()),i._serviceCollection.set(e,o),o},h=d(Zi.c,(function(){return i._register(new sf(a))}));d(Jl,(function(){return new _v(h,a)})),d(Im,(function(){return new Mm(c)}));var f=d(ae.b,(function(){return new Po(i._instantiationService)})),p=d(Cd.a,(function(){return i._register(new Fo(h,f,l,u,t))})),g=d(Af,(function(){return new Go(t)})),m=d(Xc.b,(function(){return i._register(new Vf(g))}));return d(Xc.a,(function(){var e=new kf(l,u,m,p,c);return e.configure({blockMouse:!1}),i._register(e)})),d(bd.a,(function(){return new rv(f)})),d(Md,(function(){return new Ko(hv.modelService.get(Rt.a))})),i}return yv(t,e),t.prototype.get=function(e){var t=this._serviceCollection.get(e);if(!t)throw new Error("Missing service "+e);return t},t.prototype.set=function(e,t){this._serviceCollection.set(e,t)},t.prototype.has=function(e){return this._serviceCollection.has(e)},t}(le.a);function Cv(e,t,n){var i=new bv(e,t),o=null;i.has(Ve.a)||(o=new Mo(hv.modelService.get()),i.set(Ve.a,o)),i.has(he)||i.set(he,new we(i.get(Y.a),i.get(ae.b)));var r=n(i);return o&&o.setEditor(r),r}function wv(e,t,n){return Cv(e,n||{},(function(n){return new kd(e,t,n,n.get(ue.a),n.get(Y.a),n.get(ae.b),n.get(Zi.c),n.get(Cd.a),n.get(Xc.b),n.get(yd),n.get(lo.a),n.get(Pi),n.get(Jl))}))}function Sv(e){return hv.codeEditorService.get().onCodeEditorAdd((function(t){e(t)}))}function Lv(e,t,n){return Cv(e,n||{},(function(n){return new Id(e,t,n,n.get(ue.a),n.get(Zi.c),n.get(Cd.a),n.get(Xc.b),n.get(Fe),n.get(Y.a),n.get(yd),n.get(lo.a),n.get(Pi),n.get(Xc.a),n.get(td),null)}))}function Nv(e,t){return new De(e,t)}function Ov(e,t,n){return hv.modelService.get().createModel(e,t,n)}function Dv(e,t,n){if(e=e||"",!t){var i=e.indexOf("\n"),o=e;return-1!==i&&(o=e.substring(0,i)),Ov(e,hv.modeService.get().createByFilepathOrFirstLine(n||null,o),n)}return Ov(e,hv.modeService.get().create(t),n)}function xv(e,t){hv.modelService.get().setMode(e,hv.modeService.get().create(t))}function Ev(e,t,n){e&&hv.markerService.get().changeOne(t,e.uri,n)}function kv(e){return hv.markerService.get().read(e)}function Iv(e){return hv.modelService.get().getModel(e)}function Mv(){return hv.modelService.get().getModels()}function Tv(e){return hv.modelService.get().onModelAdded(e)}function Av(e){return hv.modelService.get().onModelRemoved(e)}function Rv(e){return hv.modelService.get().onModelModeChanged((function(t){e({model:t.model,oldLanguage:t.oldModeId})}))}function Pv(e){return function(e,t){return new nn(e,t)}(hv.modelService.get(),e)}function Fv(e,t){return Un.colorizeElement(hv.standaloneThemeService.get(),hv.modeService.get(),e,t)}function Vv(e,t,n){return Un.colorize(hv.modeService.get(),e,t,n)}function Wv(e,t,n){return void 0===n&&(n=4),Un.colorizeModelLine(e,t,n)}function Bv(e,t){hv.modeService.get().triggerMode(t);for(var n=function(e){var t=Re.y.get(e);return t||{getInitialState:function(){return Pe.c},tokenize:function(t,n,i){return Object(Pe.d)(e,t,n,i)}}}(t),i=e.split(/\r\n|\r|\n/),o=[],r=n.getInitialState(),s=0,a=i.length;s<a;s++){var u=i[s],l=n.tokenize(u,r,0);o[s]=l.tokens,r=l.endState}return o}function jv(e,t){hv.standaloneThemeService.get().defineTheme(e,t)}function Hv(e){hv.standaloneThemeService.get().setTheme(e)}function zv(){nr.INSTANCE.clearCache()}function Uv(e,t){return"boolean"==typeof e?e:t}function Kv(e,t){return"string"==typeof e?e:t}function qv(e,t){void 0===t&&(t=!1),t&&(e=e.map((function(e){return e.toLowerCase()})));var n=function(e){for(var t={},n=0,i=e;n<i.length;n++){t[i[n]]=!0}return t}(e);return t?function(e){return void 0!==n[e.toLowerCase()]&&n.hasOwnProperty(e.toLowerCase())}:function(e){return void 0!==n[e]&&n.hasOwnProperty(e)}}function Gv(e,t){for(var n=0;t.indexOf("@")>=0&&n<5;)n++,t=t.replace(/@(\w+)/g,(function(n,i){var o="";if("string"==typeof e[i])o=e[i];else{if(!(e[i]&&e[i]instanceof RegExp))throw void 0===e[i]?Mn(e,"language definition does not contain attribute '"+i+"', used at: "+t):Mn(e,"attribute reference '"+i+"' must be a string, used at: "+t);o=e[i].source}return En(o)?"":"(?:"+o+")"}));return new RegExp(t,e.ignoreCase?"i":"")}function Yv(e,t,n,i){var o=-1,r=n,s=n.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);s&&(s[3]&&(o=parseInt(s[3]),s[2]&&(o+=100)),r=s[4]);var a,u="~",l=r;if(r&&0!==r.length?/^\w*$/.test(l)?u="==":(s=r.match(/^(@|!@|~|!~|==|!=)(.*)$/))&&(u=s[1],l=s[2]):(u="!=",l=""),"~"!==u&&"!~"!==u||!/^(\w|\|)*$/.test(l))if("@"===u||"!@"===u){var c=e[l];if(!c)throw Mn(e,"the @ match target '"+l+"' is not defined, in rule: "+t);if(!function(e,t){if(!t)return!1;if(!Array.isArray(t))return!1;for(var n=0,i=t;n<i.length;n++){if(!e(i[n]))return!1}return!0}((function(e){return"string"==typeof e}),c))throw Mn(e,"the @ match target '"+l+"' must be an array of strings, in rule: "+t);var d=qv(c,e.ignoreCase);a=function(e){return"@"===u?d(e):!d(e)}}else if("~"===u||"!~"===u)if(l.indexOf("$")<0){var h=Gv(e,"^"+l+"$");a=function(e){return"~"===u?h.test(e):!h.test(e)}}else a=function(t,n,i,o){return Gv(e,"^"+Tn(e,l,n,i,o)+"$").test(t)};else if(l.indexOf("$")<0){var f=kn(e,l);a=function(e){return"=="===u?e===f:e!==f}}else{var p=kn(e,l);a=function(t,n,i,o,r){var s=Tn(e,p,n,i,o);return"=="===u?t===s:t!==s}}else{var g=qv(l.split("|"),e.ignoreCase);a=function(e){return"~"===u?g(e):!g(e)}}return-1===o?{name:n,value:i,test:function(e,t,n,i){return a(e,e,t,n,i)}}:{name:n,value:i,test:function(e,t,n,i){var r=function(e,t,n,i){if(i<0)return e;if(i<t.length)return t[i];if(i>=100){i-=100;var o=n.split(".");if(o.unshift(n),i<o.length)return o[i]}return null}(e,t,n,o);return a(r||"",e,t,n,i)}}}var Zv=function(){function e(e){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=e}return e.prototype.setRegex=function(e,t){var n;if("string"==typeof t)n=t;else{if(!(t instanceof RegExp))throw Mn(e,"rules must start with a match string or regular expression: "+this.name);n=t.source}this.matchOnlyAtLineStart=n.length>0&&"^"===n[0],this.name=this.name+": "+n,this.regex=Gv(e,"^(?:"+(this.matchOnlyAtLineStart?n.substr(1):n)+")")},e.prototype.setAction=function(e,t){this.action=function e(t,n,i){if(i){if("string"==typeof i)return i;if(i.token||""===i.token){if("string"!=typeof i.token)throw Mn(t,"a 'token' attribute must be of type string, in rule: "+n);var o={token:i.token};if(i.token.indexOf("$")>=0&&(o.tokenSubst=!0),"string"==typeof i.bracket)if("@open"===i.bracket)o.bracket=1;else{if("@close"!==i.bracket)throw Mn(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+n);o.bracket=-1}if(i.next){if("string"!=typeof i.next)throw Mn(t,"the next state must be a string value in rule: "+n);var r=i.next;if(!/^(@pop|@push|@popall)$/.test(r)&&("@"===r[0]&&(r=r.substr(1)),r.indexOf("$")<0&&!function(e,t){for(var n=t;n&&n.length>0;){if(e.stateNames[n])return!0;var i=n.lastIndexOf(".");n=i<0?null:n.substr(0,i)}return!1}(t,Tn(t,r,"",[],""))))throw Mn(t,"the next state '"+i.next+"' is not defined in rule: "+n);o.next=r}return"number"==typeof i.goBack&&(o.goBack=i.goBack),"string"==typeof i.switchTo&&(o.switchTo=i.switchTo),"string"==typeof i.log&&(o.log=i.log),"string"==typeof i.nextEmbedded&&(o.nextEmbedded=i.nextEmbedded,t.usesEmbedded=!0),o}if(Array.isArray(i)){for(var s=[],a=0,u=i.length;a<u;a++)s[a]=e(t,n,i[a]);return{group:s}}if(i.cases){var l=[];for(var c in i.cases)if(i.cases.hasOwnProperty(c)){var d=e(t,n,i.cases[c]);"@default"===c||"@"===c||""===c?l.push({test:void 0,value:d,name:c}):"@eos"===c?l.push({test:function(e,t,n,i){return i},value:d,name:c}):l.push(Yv(t,n,c,d))}var h=t.defaultToken;return{test:function(e,t,n,i){for(var o=0,r=l;o<r.length;o++){var s=r[o];if(!s.test||s.test(e,t,n,i))return s.value}return h}}}throw Mn(t,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+n)}return{token:""}}(e,this.name,t)},e}();function Xv(e){Hd.registerLanguage(e)}function Jv(){var e=[];return e=e.concat(Hd.getLanguages())}function Qv(e){var t=hv.modeService.get().getLanguageIdentifier(e);return t?t.id:0}function $v(e,t){var n=hv.modeService.get().onDidCreateMode((function(i){i.getId()===e&&(n.dispose(),t())}));return n}function e_(e,t){var n=hv.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set configuration for unknown language "+e);return Ze.a.register(n,t)}var t_=function(){function e(e){this._actual=e}return e.prototype.getInitialState=function(){return this._actual.getInitialState()},e.prototype.tokenize=function(e,t,n){throw new Error("Not supported!")},e.prototype.tokenize2=function(e,t){var n=this._actual.tokenizeEncoded(e,t);return new K.c(n.tokens,n.endState)},e}(),n_=function(){function e(e,t,n){this._standaloneThemeService=e,this._languageIdentifier=t,this._actual=n}return e.prototype.getInitialState=function(){return this._actual.getInitialState()},e.prototype._toClassicTokens=function(e,t,n){for(var i=[],o=0,r=0,s=e.length;r<s;r++){var a=e[r],u=a.startIndex;0===r?u=0:u<o&&(u=o),i[r]=new K.a(u+n,a.scopes,t),o=u}return i},e.prototype.tokenize=function(e,t,n){var i,o=this._actual.tokenize(e,t),r=this._toClassicTokens(o.tokens,this._languageIdentifier.language,n);return i=o.endState.equals(t)?t:o.endState,new K.b(r,i)},e.prototype._toBinaryTokens=function(e,t){for(var n=this._languageIdentifier.id,i=this._standaloneThemeService.getTheme().tokenTheme,o=[],r=0,s=0,a=0,u=e.length;a<u;a++){var l=e[a],c=i.match(n,l.scopes);if(!(r>0&&o[r-1]===c)){var d=l.startIndex;0===a?d=0:d<s&&(d=s),o[r++]=d+t,o[r++]=c,s=d}}var h=new Uint32Array(r);for(a=0;a<r;a++)h[a]=o[a];return h},e.prototype.tokenize2=function(e,t,n){var i,o=this._actual.tokenize(e,t),r=this._toBinaryTokens(o.tokens,n);return i=o.endState.equals(t)?t:o.endState,new K.c(r,i)},e}();function i_(e){return e&&"function"==typeof e.then}function o_(e,t){var n=hv.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set tokens provider for unknown language "+e);var i=function(e){return function(e){return"tokenizeEncoded"in e}(e)?new t_(e):new n_(hv.standaloneThemeService.get(),n,e)};return i_(t)?Re.y.registerPromise(e,t.then((function(e){return i(e)}))):Re.y.register(e,i(t))}function r_(e,t){var n=function(t){return function(e,t,n,i){return new Hn(e,t,n,i)}(hv.modeService.get(),hv.standaloneThemeService.get(),e,function(e,t){if(!t||"object"!=typeof t)throw new Error("Monarch: expecting a language definition object");var n={};n.languageId=e,n.noThrow=!1,n.maxStack=100,n.start="string"==typeof t.start?t.start:null,n.ignoreCase=Uv(t.ignoreCase,!1),n.tokenPostfix=Kv(t.tokenPostfix,"."+n.languageId),n.defaultToken=Kv(t.defaultToken,"source"),n.usesEmbedded=!1;var i=t;function o(e,r,s){for(var a=0,u=s;a<u.length;a++){var l=u[a],c=l.include;if(c){if("string"!=typeof c)throw Mn(n,"an 'include' attribute must be a string at: "+e);if("@"===c[0]&&(c=c.substr(1)),!t.tokenizer[c])throw Mn(n,"include target '"+c+"' is not defined at: "+e);o(e+"."+c,r,t.tokenizer[c])}else{var d=new Zv(e);if(Array.isArray(l)&&l.length>=1&&l.length<=3)if(d.setRegex(i,l[0]),l.length>=3)if("string"==typeof l[1])d.setAction(i,{token:l[1],next:l[2]});else{if("object"!=typeof l[1])throw Mn(n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+e);var h=l[1];h.next=l[2],d.setAction(i,h)}else d.setAction(i,l[1]);else{if(!l.regex)throw Mn(n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+e);l.name&&"string"==typeof l.name&&(d.name=l.name),l.matchOnlyAtStart&&(d.matchOnlyAtLineStart=Uv(l.matchOnlyAtLineStart,!1)),d.setRegex(i,l.regex),d.setAction(i,l.action)}r.push(d)}}}if(i.languageId=e,i.ignoreCase=n.ignoreCase,i.noThrow=n.noThrow,i.usesEmbedded=n.usesEmbedded,i.stateNames=t.tokenizer,i.defaultToken=n.defaultToken,!t.tokenizer||"object"!=typeof t.tokenizer)throw Mn(n,"a language definition must define the 'tokenizer' attribute as an object");for(var r in n.tokenizer=[],t.tokenizer)if(t.tokenizer.hasOwnProperty(r)){n.start||(n.start=r);var s=t.tokenizer[r];n.tokenizer[r]=new Array,o("tokenizer."+r,n.tokenizer[r],s)}if(n.usesEmbedded=i.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw Mn(n,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];for(var a=[],u=0,l=t.brackets;u<l.length;u++){var c=l[u];if(c&&Array.isArray(c)&&3===c.length&&(c={token:c[2],open:c[0],close:c[1]}),c.open===c.close)throw Mn(n,"open and close brackets in a 'brackets' attribute must be different: "+c.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!=typeof c.open||"string"!=typeof c.token||"string"!=typeof c.close)throw Mn(n,"every element in the 'brackets' array must be a '{open,close,token}' object or array");a.push({token:c.token+n.tokenPostfix,open:kn(n,c.open),close:kn(n,c.close)})}return n.brackets=a,n.noThrow=!0,n}(e,t))};return i_(t)?Re.y.registerPromise(e,t.then((function(e){return n(e)}))):Re.y.register(e,n(t))}function s_(e,t){return Re.t.register(e,t)}function a_(e,t){return Re.u.register(e,t)}function u_(e,t){return Re.w.register(e,t)}function l_(e,t){return Re.o.register(e,{provideHover:function(e,n,i){var o=e.getWordAtPosition(n);return Promise.resolve(t.provideHover(e,n,i)).then((function(e){if(e)return!e.range&&o&&(e.range=new z.a(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn)),e.range||(e.range=new z.a(n.lineNumber,n.column,n.lineNumber,n.column)),e}))}})}function c_(e,t){return Re.l.register(e,t)}function d_(e,t){return Re.h.register(e,t)}function h_(e,t){return Re.f.register(e,t)}function f_(e,t){return Re.p.register(e,t)}function p_(e,t){return Re.z.register(e,t)}function g_(e,t){return Re.b.register(e,t)}function m_(e,t){return Re.a.register(e,{provideCodeActions:function(e,n,i,o){var r=hv.markerService.get().read({resource:e.uri}).filter((function(e){return z.a.areIntersectingOrTouching(e,n)}));return t.provideCodeActions(e,n,{markers:r,only:i.only},o)}})}function v_(e,t){return Re.g.register(e,t)}function __(e,t){return Re.i.register(e,t)}function y_(e,t){return Re.s.register(e,t)}function b_(e,t){return Re.r.register(e,t)}function C_(e,t){return Re.d.register(e,t)}function w_(e,t){return Re.c.register(e,t)}function S_(e,t){return Re.n.register(e,t)}function L_(e,t){return Re.e.register(e,t)}function N_(e,t){return Re.v.register(e,t)}function O_(e,t){return Re.k.register(e,t)}function D_(e,t){return Re.j.register(e,t)}var x_=self;F.e.wrappingIndent.defaultValue=0,F.e.glyphMargin.defaultValue=!1,F.e.autoIndent.defaultValue=3,F.e.overviewRulerLanes.defaultValue=2;var E_=G();E_.editor={create:wv,onDidCreateEditor:Sv,createDiffEditor:Lv,createDiffNavigator:Nv,createModel:Dv,setModelLanguage:xv,setModelMarkers:Ev,getModelMarkers:kv,getModels:Mv,getModel:Iv,onDidCreateModel:Tv,onWillDisposeModel:Av,onDidChangeModelLanguage:Rv,createWebWorker:Pv,colorizeElement:Fv,colorize:Vv,colorizeModelLine:Wv,tokenize:Bv,defineTheme:jv,setTheme:Hv,remeasureFonts:zv,AccessibilitySupport:i,ContentWidgetPositionPreference:u,CursorChangeReason:l,DefaultEndOfLine:c,EditorAutoIndentStrategy:h,EditorOption:f,EndOfLinePreference:p,EndOfLineSequence:g,MinimapPosition:C,MouseTargetType:w,OverlayWidgetPositionPreference:S,OverviewRulerLane:L,RenderLineNumbersType:N,RenderMinimap:O,ScrollbarVisibility:x,ScrollType:D,TextEditorCursorBlinkingStyle:T,TextEditorCursorStyle:A,TrackedRangeStickiness:R,WrappingIndent:P,ConfigurationChangedEvent:F.a,BareFontInfo:Ie,FontInfo:Me,TextModelResolvedOptions:Ae.e,FindMatch:Ae.b,EditorType:Te.a,EditorOptions:F.e},E_.languages={register:Xv,getLanguages:Jv,onLanguage:$v,getEncodedLanguageId:Qv,setLanguageConfiguration:e_,setTokensProvider:o_,setMonarchTokensProvider:r_,registerReferenceProvider:s_,registerRenameProvider:a_,registerCompletionItemProvider:C_,registerSignatureHelpProvider:u_,registerHoverProvider:l_,registerDocumentSymbolProvider:c_,registerDocumentHighlightProvider:d_,registerDefinitionProvider:h_,registerImplementationProvider:f_,registerTypeDefinitionProvider:p_,registerCodeLensProvider:g_,registerCodeActionProvider:m_,registerDocumentFormattingEditProvider:v_,registerDocumentRangeFormattingEditProvider:__,registerOnTypeFormattingEditProvider:y_,registerLinkProvider:b_,registerColorProvider:w_,registerFoldingRangeProvider:S_,registerDeclarationProvider:L_,registerSelectionRangeProvider:N_,registerDocumentSemanticTokensProvider:O_,registerDocumentRangeSemanticTokensProvider:D_,DocumentHighlightKind:d,CompletionItemKind:r,CompletionItemTag:s,CompletionItemInsertTextRule:o,SymbolKind:I,SymbolTag:M,IndentAction:m,CompletionTriggerKind:a,SignatureHelpTriggerKind:k,FoldingRangeKind:Re.m};var k_=E_.CancellationTokenSource,I_=E_.Emitter,M_=E_.KeyCode,T_=E_.KeyMod,A_=E_.Position,R_=E_.Range,P_=E_.Selection,F_=E_.SelectionDirection,V_=E_.MarkerSeverity,W_=E_.MarkerTag,B_=E_.Uri,j_=E_.Token,H_=E_.editor,z_=E_.languages;x_.monaco=E_,void 0!==x_.require&&"function"==typeof x_.require.config&&x_.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})},"9B1q":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return n.e(149).then(n.bind(null,"v7Iz"))}})},"9XAT":function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return o}));n("M/lh");var i=monaco.Emitter,o=function(){function e(e,t,n){this._onDidChange=new i,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!0,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),r={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"}},s={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},a=new o("css",r,s),u=new o("scss",r,s),l=new o("less",r,s);function c(){return n.e(129).then(n.bind(null,"20/g"))}monaco.languages.css={cssDefaults:a,lessDefaults:l,scssDefaults:u},monaco.languages.onLanguage("less",(function(){c().then((function(e){return e.setupMode(l)}))})),monaco.languages.onLanguage("scss",(function(){c().then((function(e){return e.setupMode(u)}))})),monaco.languages.onLanguage("css",(function(){c().then((function(e){return e.setupMode(a)}))}))},"9XeP":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("Cg/j"),o=Object(i.c)("clipboardService")},"A+jI":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return d}));var i,o,r=n("Cg/j"),s=n("MI8n"),a=n("pmY6"),u=n("746U"),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=Object(r.c)("storageService");!function(e){e[e.NONE=0]="NONE",e[e.SHUTDOWN=1]="SHUTDOWN"}(o||(o={}));var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onDidChangeStorage=t._register(new s.a),t.onDidChangeStorage=t._onDidChangeStorage.event,t._onWillSaveState=t._register(new s.a),t.onWillSaveState=t._onWillSaveState.event,t.globalCache=new Map,t.workspaceCache=new Map,t}return l(t,e),t.prototype.getCache=function(e){return 0===e?this.globalCache:this.workspaceCache},t.prototype.get=function(e,t,n){var i=this.getCache(t).get(e);return Object(u.l)(i)?n:i},t.prototype.getBoolean=function(e,t,n){var i=this.getCache(t).get(e);return Object(u.l)(i)?n:"true"===i},t.prototype.store=function(e,t,n){if(Object(u.l)(t))return this.remove(e,n);var i=String(t);return this.getCache(n).get(e)===i||(this.getCache(n).set(e,i),this._onDidChangeStorage.fire({scope:n,key:e})),Promise.resolve()},t.prototype.remove=function(e,t){return this.getCache(t).delete(e)?(this._onDidChangeStorage.fire({scope:t,key:e}),Promise.resolve()):Promise.resolve()},t}(a.a)},AKMP:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d}));var i=n("EffR"),o=n("MNsG"),r=n("D3Dy"),s=n("51f4"),a=n("XSiN"),u=n("pmY6"),l=n("CjF5");function c(e,t){var n=new a.a(t);return n.preventDefault(),{leftButton:n.leftButton,buttons:n.buttons,posx:n.posx,posy:n.posy}}var d=function(){function e(){this._hooks=new u.b,this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}return e.prototype.dispose=function(){this.stopMonitoring(!1),this._hooks.dispose()},e.prototype.stopMonitoring=function(e){if(this.isMonitoring()){this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;var t=this._onStopCallback;this._onStopCallback=null,e&&t&&t()}},e.prototype.isMonitoring=function(){return!!this._mouseMoveEventMerger},e.prototype.startMonitoring=function(e,t,n,u,c){var d=this;if(!this.isMonitoring()){this._mouseMoveEventMerger=n,this._mouseMoveCallback=u,this._onStopCallback=c;var h=s.a.getSameOriginWindowChain(),f=o.c&&l.a.pointerEvents?"pointermove":"mousemove",p=o.c&&l.a.pointerEvents?"pointerup":"mouseup",g=h.map((function(e){return e.window.document})),m=i.y(e);m&&g.unshift(m);for(var v=0,_=g;v<_.length;v++){var y=_[v];this._hooks.add(i.j(y,f,(function(e){r.i||e.buttons===t?d._mouseMoveCallback(e):d.stopMonitoring(!0)}),(function(e,t){return d._mouseMoveEventMerger(e,t)}))),this._hooks.add(i.g(y,p,(function(e){return d.stopMonitoring(!0)})))}if(s.a.hasDifferentOriginAncestor()){var b=h[h.length-1];this._hooks.add(i.g(b.window.document,"mouseout",(function(e){"html"===new a.a(e).target.tagName.toLowerCase()&&d.stopMonitoring(!0)}))),this._hooks.add(i.g(b.window.document,"mouseover",(function(e){"html"===new a.a(e).target.tagName.toLowerCase()&&d.stopMonitoring(!0)}))),this._hooks.add(i.g(b.window.document.body,"mouseleave",(function(e){d.stopMonitoring(!0)})))}}},e}()},AbCa:function(e,t,n){},ApJL:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return n.e(145).then(n.bind(null,"AoeA"))}})},BEdG:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:function(){return n.e(186).then(n.bind(null,"aH2L"))}})},BFtn:function(e,t,n){"use strict";function i(e,t){for(var n=e.getCount(),i=e.findTokenIndexAtOffset(t),r=e.getLanguageId(i),s=i;s+1<n&&e.getLanguageId(s+1)===r;)s++;for(var a=i;a>0&&e.getLanguageId(a-1)===r;)a--;return new o(e,r,a,s+1,e.getStartOffset(a),e.getEndOffset(s))}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var o=function(){function e(e,t,n,i,o,r){this._actual=e,this.languageId=t,this._firstTokenIndex=n,this._lastTokenIndex=i,this.firstCharOffset=o,this._lastCharOffset=r}return e.prototype.getLineContent=function(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)},e.prototype.getActualLineContentBefore=function(e){return this._actual.getLineContent().substring(0,this.firstCharOffset+e)},e.prototype.getTokenCount=function(){return this._lastTokenIndex-this._firstTokenIndex},e.prototype.findTokenIndexAtOffset=function(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex},e.prototype.getStandardTokenType=function(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)},e}();function r(e){return 0!=(7&e)}},"C/vA":function(e,t,n){"use strict";function i(e){var t,n=this,i=!1;return function(){return i?t:(i=!0,t=e.apply(n,arguments))}}n.d(t,"a",(function(){return i}))},C6rC:function(e,t,n){},CHaL:function(e,t,n){},CZ1j:function(e,t,n){"use strict";function i(e){return e<0?0:e>255?255:0|e}function o(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}))},"Cg/j":function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return a})),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(i||(i={}));var o=s("instantiationService");function r(e,t,n,o){t[i.DI_TARGET]===t?t[i.DI_DEPENDENCIES].push({id:e,index:n,optional:o}):(t[i.DI_DEPENDENCIES]=[{id:e,index:n,optional:o}],t[i.DI_TARGET]=t)}function s(e){if(i.serviceIds.has(e))return i.serviceIds.get(e);var t=function(e,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");r(t,e,i,!1)};return t.toString=function(){return e},i.serviceIds.set(e,t),t}function a(e){return function(t,n,i){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");r(e,t,i,!0)}}},CjF5:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("D3Dy"),o=n("MNsG"),r={clipboard:{writeText:o.f||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:o.f||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:function(){if(i.i)return!1;if(i.e){var e=navigator.userAgent.indexOf("Edge/"),t=parseInt(navigator.userAgent.substring(e+5,navigator.userAgent.indexOf(".",e)),10);if(!t||t>=12&&t<=16)return!1}return!0}()},keyboard:o.f||i.l?0:navigator.keyboard||i.k?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}},D3Dy:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"o",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"i",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"h",(function(){return f})),n.d(t,"m",(function(){return p})),n.d(t,"d",(function(){return g})),n.d(t,"k",(function(){return m})),n.d(t,"n",(function(){return v})),n.d(t,"j",(function(){return _})),n.d(t,"g",(function(){return y})),n.d(t,"l",(function(){return b}));var i=n("MI8n"),o=function(){function e(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new i.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return e.prototype.getZoomLevel=function(){return this._zoomLevel},e.prototype.getTimeSinceLastZoomLevelChanged=function(){return Date.now()-this._lastZoomLevelChangeTime},e.prototype.getPixelRatio=function(){var e=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)},e.INSTANCE=new e,e}();function r(){return o.INSTANCE.getZoomLevel()}function s(){return o.INSTANCE.getTimeSinceLastZoomLevelChanged()}function a(e){return o.INSTANCE.onDidChangeZoomLevel(e)}function u(){return o.INSTANCE.getPixelRatio()}var l=navigator.userAgent,c=l.indexOf("Trident")>=0,d=l.indexOf("Edge/")>=0,h=c||d,f=l.indexOf("Firefox")>=0,p=l.indexOf("AppleWebKit")>=0,g=l.indexOf("Chrome")>=0,m=!g&&l.indexOf("Safari")>=0,v=!g&&!m&&p,_=l.indexOf("iPad")>=0||m&&navigator.maxTouchPoints>0,y=d&&l.indexOf("WebView/")>=0,b=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},DTDp:function(e,t,n){},"E+ie":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return n.e(148).then(n.bind(null,"p+q7"))}})},E4kL:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml"],loader:function(){return n.e(187).then(n.bind(null,"EaLm"))}})},EIAu:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return g}));var i=n("N0LK"),o=n("aokT"),r=function(){function e(t,n,i,o,r,s){this.languageIdentifier=t,this.index=n,this.open=i,this.close=o,this.forwardRegex=r,this.reversedRegex=s,this._openSet=e._toSet(this.open),this._closeSet=e._toSet(this.close)}return e.prototype.isOpen=function(e){return this._openSet.has(e)},e.prototype.isClose=function(e){return this._closeSet.has(e)},e._toSet=function(e){for(var t=new Set,n=0,i=e;n<i.length;n++){var o=i[n];t.add(o)}return t},e}();var s=function(e,t){var n=function(e){var t=e.length;e=e.map((function(e){return[e[0].toLowerCase(),e[1].toLowerCase()]}));for(var n=[],i=0;i<t;i++)n[i]=i;var o=function(e,t){var n=e[0],i=e[1],o=t[0],r=t[1];return n===o||n===r||i===o||i===r},r=function(e,i){for(var o=Math.min(e,i),r=Math.max(e,i),s=0;s<t;s++)n[s]===r&&(n[s]=o)};for(i=0;i<t;i++)for(var s=e[i],a=i+1;a<t;a++)o(s,e[a])&&r(n[i],n[a]);for(var u=[],l=0;l<t;l++){var c=[],d=[];for(i=0;i<t;i++)if(n[i]===l){var h=e[i],f=h[0],p=h[1];c.push(f),d.push(p)}c.length>0&&u.push({open:c,close:d})}return u}(t);this.brackets=n.map((function(t,i){return new r(e,i,t.open,t.close,function(e,t,n,i){var o=[];o=(o=o.concat(e)).concat(t);for(var r=0,s=o.length;r<s;r++)a(o[r],n,i,o);return(o=l(o)).sort(u),o.reverse(),d(o)}(t.open,t.close,n,i),function(e,t,n,i){var o=[];o=(o=o.concat(e)).concat(t);for(var r=0,s=o.length;r<s;r++)a(o[r],n,i,o);return(o=l(o)).sort(u),o.reverse(),d(o.map(p))}(t.open,t.close,n,i))})),this.forwardRegex=function(e){for(var t=[],n=0,i=e;n<i.length;n++){for(var o=i[n],r=0,s=o.open;r<s.length;r++){var a=s[r];t.push(a)}for(var u=0,c=o.close;u<c.length;u++){var h=c[u];t.push(h)}}return d(t=l(t))}(this.brackets),this.reversedRegex=function(e){for(var t=[],n=0,i=e;n<i.length;n++){for(var o=i[n],r=0,s=o.open;r<s.length;r++){var a=s[r];t.push(a)}for(var u=0,c=o.close;u<c.length;u++){var h=c[u];t.push(h)}}return d((t=l(t)).map(p))}(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(var i=0,o=this.brackets;i<o.length;i++){for(var s=o[i],c=0,h=s.open;c<h.length;c++){var f=h[c];this.textIsBracket[f]=s,this.textIsOpenBracket[f]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,f.length)}for(var g=0,m=s.close;g<m.length;g++){var v=m[g];this.textIsBracket[v]=s,this.textIsOpenBracket[v]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,v.length)}}};function a(e,t,n,i){for(var o=0,r=t.length;o<r;o++)if(o!==n){for(var s=t[o],a=0,u=s.open;a<u.length;a++){var l=u[a];l.indexOf(e)>=0&&i.push(l)}for(var c=0,d=s.close;c<d.length;c++){var h=d[c];h.indexOf(e)>=0&&i.push(h)}}}function u(e,t){return e.length-t.length}function l(e){if(e.length<=1)return e;for(var t=[],n=new Set,i=0,o=e;i<o.length;i++){var r=o[i];n.has(r)||(t.push(r),n.add(r))}return t}function c(e){var t=/^[\w ]+$/.test(e);return e=i.n(e),t?"\\b"+e+"\\b":e}function d(e){var t="("+e.map(c).join(")|(")+")";return i.j(t,!0)}var h,f,p=(h=null,f=null,function(e){return h!==e&&(f=function(e){for(var t="",n=e.length-1;n>=0;n--)t+=e.charAt(n);return t}(h=e)),f}),g=function(){function e(){}return e._findPrevBracketInText=function(e,t,n,i){var r=n.match(e);if(!r)return null;var s=n.length-(r.index||0),a=r[0].length,u=i+s;return new o.a(t,u-a+1,t,u+1)},e.findPrevBracketInRange=function(e,t,n,i,o){var r=p(n).substring(n.length-o,n.length-i);return this._findPrevBracketInText(e,t,r,i)},e.findNextBracketInText=function(e,t,n,i){var r=n.match(e);if(!r)return null;var s=r.index||0,a=r[0].length;if(0===a)return null;var u=i+s;return new o.a(t,u+1,t,u+1+a)},e.findNextBracketInRange=function(e,t,n,i,o){var r=n.substring(i,o);return this.findNextBracketInText(e,t,r,i)},e}()},EOst:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return n.e(184).then(n.bind(null,"87dK"))}})},EffR:function(e,t,n){"use strict";n.d(t,"o",(function(){return _})),n.d(t,"L",(function(){return y})),n.d(t,"G",(function(){return b})),n.d(t,"C",(function(){return L})),n.d(t,"e",(function(){return N})),n.d(t,"f",(function(){return O})),n.d(t,"J",(function(){return D})),n.d(t,"K",(function(){return x})),n.d(t,"S",(function(){return E})),n.d(t,"g",(function(){return I})),n.d(t,"k",(function(){return T})),n.d(t,"h",(function(){return A})),n.d(t,"i",(function(){return R})),n.d(t,"O",(function(){return P})),n.d(t,"Q",(function(){return F})),n.d(t,"j",(function(){return G})),n.d(t,"t",(function(){return Y})),n.d(t,"s",(function(){return Z})),n.d(t,"z",(function(){return Q})),n.d(t,"w",(function(){return $})),n.d(t,"d",(function(){return ee})),n.d(t,"B",(function(){return te})),n.d(t,"v",(function(){return ne})),n.d(t,"u",(function(){return ie})),n.d(t,"A",(function(){return oe})),n.d(t,"E",(function(){return re})),n.d(t,"r",(function(){return se})),n.d(t,"H",(function(){return ue})),n.d(t,"y",(function(){return le})),n.d(t,"q",(function(){return ce})),n.d(t,"I",(function(){return fe})),n.d(t,"F",(function(){return pe})),n.d(t,"c",(function(){return ge})),n.d(t,"b",(function(){return me})),n.d(t,"P",(function(){return ve})),n.d(t,"N",(function(){return _e})),n.d(t,"T",(function(){return be})),n.d(t,"m",(function(){return Ce})),n.d(t,"a",(function(){return Ne})),n.d(t,"R",(function(){return Oe})),n.d(t,"D",(function(){return De})),n.d(t,"M",(function(){return xe})),n.d(t,"x",(function(){return Ee})),n.d(t,"p",(function(){return ke})),n.d(t,"U",(function(){return Ie})),n.d(t,"l",(function(){return Me})),n.d(t,"n",(function(){return Te}));var i,o=n("D3Dy"),r=n("4y0V"),s=n("uDWl"),a=n("XSiN"),u=n("X+cX"),l=n("/cxE"),c=n("MI8n"),d=n("pmY6"),h=n("MNsG"),f=n("6OMU"),p=n("tYmi"),g=(n("CjF5"),i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(){return(m=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},v=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i};function _(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function y(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e){for(;e;){if(e===document.body)return!0;e=e.parentNode||e.host}return!1}var C=new(function(){function e(){this._lastStart=-1,this._lastEnd=-1}return e.prototype._findClassName=function(e,t){var n=e.className;if(n){t=t.trim();var i=n.length,o=t.length;if(0!==o)if(i<o)this._lastStart=-1;else{if(n===t)return this._lastStart=0,void(this._lastEnd=i);for(var r,s=-1;(s=n.indexOf(t,s+1))>=0;){if(r=s+o,(0===s||32===n.charCodeAt(s-1))&&32===n.charCodeAt(r))return this._lastStart=s,void(this._lastEnd=r+1);if(s>0&&32===n.charCodeAt(s-1)&&r===i)return this._lastStart=s-1,void(this._lastEnd=r);if(0===s&&r===i)return this._lastStart=0,void(this._lastEnd=r)}this._lastStart=-1}else this._lastStart=-1}else this._lastStart=-1},e.prototype.hasClass=function(e,t){return this._findClassName(e,t),-1!==this._lastStart},e.prototype.addClasses=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.addClass(e,n)}))}))},e.prototype.addClass=function(e,t){e.className?(this._findClassName(e,t),-1===this._lastStart&&(e.className=e.className+" "+t)):e.className=t},e.prototype.removeClass=function(e,t){this._findClassName(e,t),-1!==this._lastStart&&(e.className=e.className.substring(0,this._lastStart)+e.className.substring(this._lastEnd))},e.prototype.removeClasses=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.removeClass(e,n)}))}))},e.prototype.toggleClass=function(e,t,n){this._findClassName(e,t),-1===this._lastStart||void 0!==n&&n||this.removeClass(e,t),-1!==this._lastStart||void 0!==n&&!n||this.addClass(e,t)},e}()),w=new(function(){function e(){}return e.prototype.hasClass=function(e,t){return Boolean(t)&&e.classList&&e.classList.contains(t)},e.prototype.addClasses=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.addClass(e,n)}))}))},e.prototype.addClass=function(e,t){t&&e.classList&&e.classList.add(t)},e.prototype.removeClass=function(e,t){t&&e.classList&&e.classList.remove(t)},e.prototype.removeClasses=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.removeClass(e,n)}))}))},e.prototype.toggleClass=function(e,t,n){e.classList&&e.classList.toggle(t,n)},e}()),S=o.i?C:w,L=S.hasClass.bind(S),N=S.addClass.bind(S),O=S.addClasses.bind(S),D=S.removeClass.bind(S),x=S.removeClasses.bind(S),E=S.toggleClass.bind(S),k=function(){function e(e,t,n,i){this._node=e,this._type=t,this._handler=n,this._options=i||!1,this._node.addEventListener(this._type,this._handler,this._options)}return e.prototype.dispose=function(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)},e}();function I(e,t,n,i){return new k(e,t,n,i)}function M(e){return function(t){return e(new a.a(t))}}var T=function(e,t,n,i){var o=n;return"click"===t||"mousedown"===t?o=M(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(o=function(e){return function(t){return e(new s.a(t))}}(n)),I(e,t,o,i)};function A(e,t){return I(e,"mouseout",(function(n){for(var i=n.relatedTarget;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}function R(e,t){return I(e,"pointerout",(function(n){for(var i=n.relatedTarget;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}var P,F,V=null;var W,B,j,H,z,U=function(){function e(e,t){void 0===t&&(t=0),this._runner=e,this.priority=t,this._canceled=!1}return e.prototype.dispose=function(){this._canceled=!0},e.prototype.execute=function(){if(!this._canceled)try{this._runner()}catch(e){Object(l.e)(e)}},e.sort=function(e,t){return t.priority-e.priority},e}();W=[],B=null,j=!1,H=!1,z=function(){for(j=!1,B=W,W=[],H=!0;B.length>0;)B.sort(U.sort),B.shift().execute();H=!1},F=function(e,t){void 0===t&&(t=0);var n,i=new U(e,t);return W.push(i),j||(j=!0,n=z,V||(V=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||function(e){return setTimeout((function(){return e((new Date).getTime())}),0)}),V.call(self,n)),i},P=function(e,t){if(H){var n=new U(e,t);return B.push(n),n}return F(e,t)};var K=function(e,t){return t},q=function(e){function t(t,n,i,o,r){void 0===o&&(o=K),void 0===r&&(r=16);var s=e.call(this)||this,a=null,l=0,c=s._register(new u.e),d=function(){l=(new Date).getTime(),i(a),a=null};return s._register(I(t,n,(function(e){a=o(a,e);var t=(new Date).getTime()-l;t>=r?(c.cancel(),d()):c.setIfNotSet(d,r-t)}))),s}return g(t,e),t}(d.a);function G(e,t,n,i,o){return new q(e,t,n,i,o)}function Y(e){return document.defaultView.getComputedStyle(e,null)}function Z(e){if(e!==document.body)return new J(e.clientWidth,e.clientHeight);if(h.c&&window.visualViewport){var t=window.visualViewport.width,n=window.visualViewport.height-(o.l?24:0);return new J(t,n)}if(window.innerWidth&&window.innerHeight)return new J(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new J(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new J(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}var X=function(){function e(){}return e.convertToPixels=function(e,t){return parseFloat(t)||0},e.getDimension=function(t,n,i){var o=Y(t),r="0";return o&&(r=o.getPropertyValue?o.getPropertyValue(n):o.getAttribute(i)),e.convertToPixels(t,r)},e.getBorderLeftWidth=function(t){return e.getDimension(t,"border-left-width","borderLeftWidth")},e.getBorderRightWidth=function(t){return e.getDimension(t,"border-right-width","borderRightWidth")},e.getBorderTopWidth=function(t){return e.getDimension(t,"border-top-width","borderTopWidth")},e.getBorderBottomWidth=function(t){return e.getDimension(t,"border-bottom-width","borderBottomWidth")},e.getPaddingLeft=function(t){return e.getDimension(t,"padding-left","paddingLeft")},e.getPaddingRight=function(t){return e.getDimension(t,"padding-right","paddingRight")},e.getPaddingTop=function(t){return e.getDimension(t,"padding-top","paddingTop")},e.getPaddingBottom=function(t){return e.getDimension(t,"padding-bottom","paddingBottom")},e.getMarginLeft=function(t){return e.getDimension(t,"margin-left","marginLeft")},e.getMarginTop=function(t){return e.getDimension(t,"margin-top","marginTop")},e.getMarginRight=function(t){return e.getDimension(t,"margin-right","marginRight")},e.getMarginBottom=function(t){return e.getDimension(t,"margin-bottom","marginBottom")},e}(),J=function(e,t){this.width=e,this.height=t};function Q(e){for(var t=e.offsetParent,n=e.offsetTop,i=e.offsetLeft;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;var o=ae(e)?null:Y(e);o&&(i-="rtl"!==o.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=X.getBorderLeftWidth(e),n+=X.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function $(e){var t=e.getBoundingClientRect();return{left:t.left+ee.scrollX,top:t.top+ee.scrollY,width:t.width,height:t.height}}var ee=new(function(){function e(){}return Object.defineProperty(e.prototype,"scrollX",{get:function(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollY",{get:function(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop},enumerable:!0,configurable:!0}),e}());function te(e){var t=X.getMarginLeft(e)+X.getMarginRight(e);return e.offsetWidth+t}function ne(e){var t=X.getBorderLeftWidth(e)+X.getBorderRightWidth(e),n=X.getPaddingLeft(e)+X.getPaddingRight(e);return e.offsetWidth-t-n}function ie(e){var t=X.getBorderTopWidth(e)+X.getBorderBottomWidth(e),n=X.getPaddingTop(e)+X.getPaddingBottom(e);return e.offsetHeight-t-n}function oe(e){var t=X.getMarginTop(e)+X.getMarginBottom(e);return e.offsetHeight+t}function re(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function se(e,t,n){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(L(e,t))return e;if(n)if("string"==typeof n){if(L(e,n))return null}else if(e===n)return null;e=e.parentNode}return null}function ae(e){return e&&!!e.host&&!!e.mode}function ue(e){return!!le(e)}function le(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return ae(e)?e:null}function ce(e){void 0===e&&(e=document.getElementsByTagName("head")[0]);var t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}var de=null;function he(){return de||(de=ce()),de}function fe(e,t){if(void 0===t&&(t=he()),t){for(var n=function(e){return e&&e.sheet&&e.sheet.rules?e.sheet.rules:e&&e.sheet&&e.sheet.cssRules?e.sheet.cssRules:[]}(t),i=[],o=0;o<n.length;o++){-1!==n[o].selectorText.indexOf(e)&&i.push(o)}for(o=i.length-1;o>=0;o--)t.sheet.deleteRule(i[o])}}function pe(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName}var ge={CLICK:"click",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:o.m?"webkitAnimationStart":"animationstart",ANIMATION_END:o.m?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:o.m?"webkitAnimationIteration":"animationiteration"},me={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function ve(e){for(var t=[],n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function _e(e,t){for(var n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}var ye=function(e){function t(t){var n=e.call(this)||this;n._onDidFocus=n._register(new c.a),n.onDidFocus=n._onDidFocus.event,n._onDidBlur=n._register(new c.a),n.onDidBlur=n._onDidBlur.event;var i=re(document.activeElement,t),o=!1,s=function(){o=!1,i||(i=!0,n._onDidFocus.fire())},a=function(){i&&(o=!0,window.setTimeout((function(){o&&(o=!1,i=!1,n._onDidBlur.fire())}),0))};return n._refreshStateHandler=function(){re(document.activeElement,t)!==i&&(i?a():s())},n._register(Object(r.a)(t,ge.FOCUS,!0)(s)),n._register(Object(r.a)(t,ge.BLUR,!0)(a)),n}return g(t,e),t}(d.a);function be(e){return new ye(e)}function Ce(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){return e.appendChild(t)})),t[t.length-1]}var we,Se=/([\w\-]+)?(#([\w\-]+))?((.([\w\-]+))*)/;function Le(e,t,n){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var r=Se.exec(t);if(!r)throw new Error("Bad use of emmet");n=m({},n||{});var s,a=r[1]||"div";return s=e!==we.HTML?document.createElementNS(e,a):document.createElement(a),r[3]&&(s.id=r[3]),r[4]&&(s.className=r[4].replace(/\./g," ").trim()),Object.keys(n).forEach((function(e){var t=n[e];void 0!==t&&(/^on\w+$/.test(e)?s[e]=t:"selected"===e?t&&s.setAttribute(e,"true"):s.setAttribute(e,t))})),Object(f.c)(i).forEach((function(e){e instanceof Node?s.appendChild(e):s.appendChild(document.createTextNode(e))})),s}function Ne(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return Le.apply(void 0,v([we.HTML,e,t],n))}function Oe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];o.style.display="",o.removeAttribute("aria-hidden")}}function De(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];o.style.display="none",o.setAttribute("aria-hidden","true")}}function xe(e){if(e&&e.hasAttribute("tabIndex")){if(document.activeElement===e){var t=function(e,t){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e instanceof HTMLElement&&e.hasAttribute(t))return e;e=e.parentNode}return null}(e.parentElement,"tabIndex");t&&t.focus()}e.removeAttribute("tabindex")}}function Ee(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function ke(e){var t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function Ie(e){if(h.f||o.g)window.open(e);else{var t=window.open();t&&(t.opener=null,t.location.href=e)}}function Me(e){var t=function(){e(),n=F(t)},n=F(t);return Object(d.f)((function(){return n.dispose()}))}function Te(e){return e?"url('"+function(e){return e&&p.b.vscodeRemote===e.scheme?p.a.rewrite(e):e}(e).toString(!0).replace(/'/g,"%27")+"')":"url('')"}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.SVG="http://www.w3.org/2000/svg"}(we||(we={})),Ne.SVG=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return Le.apply(void 0,v([we.SVG,e,t],n))},p.a.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http")},FWmy:function(e,t,n){"use strict";function i(e,t){if(!e)throw new Error(t?"Assertion failed ("+t+")":"Assertion Failed")}n.d(t,"a",(function(){return i}))},FvUK:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return n.e(157).then(n.bind(null,"OfHX"))}})},G2kB:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n("Cg/j"),o=Object(i.c)("modelService");function r(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},G300:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i,o=n("EffR"),r=n("uDWl"),s=n("XSiN"),a=n("pmY6"),u=n("pg8w"),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.onclick=function(e,t){this._register(o.g(e,o.c.CLICK,(function(e){return t(new s.a(e))})))},t.prototype.onmousedown=function(e,t){this._register(o.g(e,o.c.MOUSE_DOWN,(function(e){return t(new s.a(e))})))},t.prototype.onmouseover=function(e,t){this._register(o.g(e,o.c.MOUSE_OVER,(function(e){return t(new s.a(e))})))},t.prototype.onnonbubblingmouseout=function(e,t){this._register(o.h(e,(function(e){return t(new s.a(e))})))},t.prototype.onkeydown=function(e,t){this._register(o.g(e,o.c.KEY_DOWN,(function(e){return t(new r.a(e))})))},t.prototype.onkeyup=function(e,t){this._register(o.g(e,o.c.KEY_UP,(function(e){return t(new r.a(e))})))},t.prototype.oninput=function(e,t){this._register(o.g(e,o.c.INPUT,t))},t.prototype.onblur=function(e,t){this._register(o.g(e,o.c.BLUR,t))},t.prototype.onfocus=function(e,t){this._register(o.g(e,o.c.FOCUS,t))},t.prototype.ignoreGesture=function(e){u.b.ignoreTarget(e)},t}(a.a)},GJhM:function(e,t,n){"use strict";n.d(t,"b",(function(){return k})),n.d(t,"c",(function(){return I})),n.d(t,"a",(function(){return M}));n("eq1K");var i,o=n("D3Dy"),r=n("EffR"),s=n("ZlPH"),a=n("XSiN"),u=n("AKMP"),l=n("G300"),c=n("X+cX"),d=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(e){function t(t){var n=e.call(this)||this;return n._onActivate=t.onActivate,n.bgDomNode=document.createElement("div"),n.bgDomNode.className="arrow-background",n.bgDomNode.style.position="absolute",n.bgDomNode.style.width=t.bgWidth+"px",n.bgDomNode.style.height=t.bgHeight+"px",void 0!==t.top&&(n.bgDomNode.style.top="0px"),void 0!==t.left&&(n.bgDomNode.style.left="0px"),void 0!==t.bottom&&(n.bgDomNode.style.bottom="0px"),void 0!==t.right&&(n.bgDomNode.style.right="0px"),n.domNode=document.createElement("div"),n.domNode.className=t.className,n.domNode.style.position="absolute",n.domNode.style.width="11px",n.domNode.style.height="11px",void 0!==t.top&&(n.domNode.style.top=t.top+"px"),void 0!==t.left&&(n.domNode.style.left=t.left+"px"),void 0!==t.bottom&&(n.domNode.style.bottom=t.bottom+"px"),void 0!==t.right&&(n.domNode.style.right=t.right+"px"),n._mouseMoveMonitor=n._register(new u.a),n.onmousedown(n.bgDomNode,(function(e){return n._arrowMouseDown(e)})),n.onmousedown(n.domNode,(function(e){return n._arrowMouseDown(e)})),n._mousedownRepeatTimer=n._register(new c.c),n._mousedownScheduleRepeatTimer=n._register(new c.e),n}return d(t,e),t.prototype._arrowMouseDown=function(e){var t=this;this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet((function(){t._mousedownRepeatTimer.cancelAndSet((function(){return t._onActivate()}),1e3/24)}),200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,u.b,(function(e){}),(function(){t._mousedownRepeatTimer.cancel(),t._mousedownScheduleRepeatTimer.cancel()})),e.preventDefault()},t}(l.a),f=n("pmY6"),p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),g=function(e){function t(t,n,i){var o=e.call(this)||this;return o._visibility=t,o._visibleClassName=n,o._invisibleClassName=i,o._domNode=null,o._isVisible=!1,o._isNeeded=!1,o._shouldBeVisible=!1,o._revealTimer=o._register(new c.e),o}return p(t,e),t.prototype.applyVisibilitySetting=function(e){return 2!==this._visibility&&(3===this._visibility||e)},t.prototype.setShouldBeVisible=function(e){var t=this.applyVisibilitySetting(e);this._shouldBeVisible!==t&&(this._shouldBeVisible=t,this.ensureVisibility())},t.prototype.setIsNeeded=function(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())},t.prototype.setDomNode=function(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)},t.prototype.ensureVisibility=function(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)},t.prototype._reveal=function(){var e=this;this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet((function(){e._domNode&&e._domNode.setClassName(e._visibleClassName)}),0))},t.prototype._hide=function(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))},t}(f.a),m=n("MNsG"),v=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),_=function(e){function t(t){var n=e.call(this)||this;return n._lazyRender=t.lazyRender,n._host=t.host,n._scrollable=t.scrollable,n._scrollbarState=t.scrollbarState,n._visibilityController=n._register(new g(t.visibility,"visible scrollbar "+t.extraScrollbarClassName,"invisible scrollbar "+t.extraScrollbarClassName)),n._visibilityController.setIsNeeded(n._scrollbarState.isNeeded()),n._mouseMoveMonitor=n._register(new u.a),n._shouldRender=!0,n.domNode=Object(s.b)(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n._visibilityController.setDomNode(n.domNode),n.domNode.setPosition("absolute"),n.onmousedown(n.domNode.domNode,(function(e){return n._domNodeMouseDown(e)})),n}return v(t,e),t.prototype._createArrow=function(e){var t=this._register(new h(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)},t.prototype._createSlider=function(e,t,n,i){var o=this;this.slider=Object(s.b)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof n&&this.slider.setWidth(n),"number"==typeof i&&this.slider.setHeight(i),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,(function(e){e.leftButton&&(e.preventDefault(),o._sliderMouseDown(e,(function(){})))})),this.onclick(this.slider.domNode,(function(e){e.leftButton&&e.stopPropagation()}))},t.prototype._onElementSize=function(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype._onElementScrollSize=function(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype._onElementScrollPosition=function(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype.beginReveal=function(){this._visibilityController.setShouldBeVisible(!0)},t.prototype.beginHide=function(){this._visibilityController.setShouldBeVisible(!1)},t.prototype.render=function(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))},t.prototype._domNodeMouseDown=function(e){e.target===this.domNode.domNode&&this._onMouseDown(e)},t.prototype.delegateMouseDown=function(e){var t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),i=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),o=this._sliderMousePosition(e);n<=o&&o<=i?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(function(){}))):this._onMouseDown(e)},t.prototype._onMouseDown=function(e){var t,n;if(e.target===this.domNode.domNode&&"number"==typeof e.browserEvent.offsetX&&"number"==typeof e.browserEvent.offsetY)t=e.browserEvent.offsetX,n=e.browserEvent.offsetY;else{var i=r.w(this.domNode.domNode);t=e.posx-i.left,n=e.posy-i.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(t,n))),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(function(){})))},t.prototype._sliderMouseDown=function(e,t){var n=this,i=this._sliderMousePosition(e),o=this._sliderOrthogonalMousePosition(e),r=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,u.b,(function(e){var t=n._sliderOrthogonalMousePosition(e),s=Math.abs(t-o);if(m.h&&s>140)n._setDesiredScrollPositionNow(r.getScrollPosition());else{var a=n._sliderMousePosition(e)-i;n._setDesiredScrollPositionNow(r.getDesiredScrollPositionFromDelta(a))}}),(function(){n.slider.toggleClassName("active",!1),n._host.onDragEnd(),t()})),this._host.onDragStart()},t.prototype._setDesiredScrollPositionNow=function(e){var t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)},t}(l.a),y=function(){function e(e,t,n,i,o,r){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=i,this._scrollSize=o,this._scrollPosition=r,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}return e.prototype.clone=function(){return new e(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)},e.prototype.setVisibleSize=function(e){var t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollSize=function(e){var t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollPosition=function(e){var t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)},e._computeValues=function(e,t,n,i,o){var r=Math.max(0,n-e),s=Math.max(0,r-2*t),a=i>0&&i>n;if(!a)return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};var u=Math.round(Math.max(20,Math.floor(n*s/i))),l=(s-u)/(i-n),c=o*l;return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(u),computedSliderRatio:l,computedSliderPosition:Math.round(c)}},e.prototype._refreshComputedValues=function(){var t=e._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=t.computedAvailableSize,this._computedIsNeeded=t.computedIsNeeded,this._computedSliderSize=t.computedSliderSize,this._computedSliderRatio=t.computedSliderRatio,this._computedSliderPosition=t.computedSliderPosition},e.prototype.getArrowSize=function(){return this._arrowSize},e.prototype.getScrollPosition=function(){return this._scrollPosition},e.prototype.getRectangleLargeSize=function(){return this._computedAvailableSize},e.prototype.getRectangleSmallSize=function(){return this._scrollbarSize},e.prototype.isNeeded=function(){return this._computedIsNeeded},e.prototype.getSliderSize=function(){return this._computedSliderSize},e.prototype.getSliderPosition=function(){return this._computedSliderPosition},e.prototype.getDesiredScrollPositionFromOffset=function(e){if(!this._computedIsNeeded)return 0;var t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)},e.prototype.getDesiredScrollPositionFromDelta=function(e){if(!this._computedIsNeeded)return 0;var t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)},e}(),b=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),C=function(e){function t(t,n,i){var o=this,r=t.getScrollDimensions(),s=t.getCurrentScrollPosition();if(o=e.call(this,{lazyRender:n.lazyRender,host:i,scrollbarState:new y(n.horizontalHasArrows?n.arrowSize:0,2===n.horizontal?0:n.horizontalScrollbarSize,2===n.vertical?0:n.verticalScrollbarSize,r.width,r.scrollWidth,s.scrollLeft),visibility:n.horizontal,extraScrollbarClassName:"horizontal",scrollable:t})||this,n.horizontalHasArrows){var u=(n.arrowSize-11)/2,l=(n.horizontalScrollbarSize-11)/2;o._createArrow({className:"left-arrow",top:l,left:u,bottom:void 0,right:void 0,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new a.b(null,1,0))}}),o._createArrow({className:"right-arrow",top:l,left:void 0,bottom:void 0,right:u,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new a.b(null,-1,0))}})}return o._createSlider(Math.floor((n.horizontalScrollbarSize-n.horizontalSliderSize)/2),0,void 0,n.horizontalSliderSize),o}return b(t,e),t.prototype._updateSlider=function(e,t){this.slider.setWidth(e),this.slider.setLeft(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return e},t.prototype._sliderMousePosition=function(e){return e.posx},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posy},t.prototype.writeScrollPosition=function(e,t){e.scrollLeft=t},t}(_),w=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),S=function(e){function t(t,n,i){var o=this,r=t.getScrollDimensions(),s=t.getCurrentScrollPosition();if(o=e.call(this,{lazyRender:n.lazyRender,host:i,scrollbarState:new y(n.verticalHasArrows?n.arrowSize:0,2===n.vertical?0:n.verticalScrollbarSize,0,r.height,r.scrollHeight,s.scrollTop),visibility:n.vertical,extraScrollbarClassName:"vertical",scrollable:t})||this,n.verticalHasArrows){var u=(n.arrowSize-11)/2,l=(n.verticalScrollbarSize-11)/2;o._createArrow({className:"up-arrow",top:u,left:l,bottom:void 0,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return o._host.onMouseWheel(new a.b(null,0,1))}}),o._createArrow({className:"down-arrow",top:void 0,left:l,bottom:u,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return o._host.onMouseWheel(new a.b(null,0,-1))}})}return o._createSlider(0,Math.floor((n.verticalScrollbarSize-n.verticalSliderSize)/2),n.verticalSliderSize,void 0),o}return w(t,e),t.prototype._updateSlider=function(e,t){this.slider.setHeight(e),this.slider.setTop(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return t},t.prototype._sliderMousePosition=function(e){return e.posy},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posx},t.prototype.writeScrollPosition=function(e,t){e.scrollTop=t},t}(_),L=n("MI8n"),N=n("QuOb"),O=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),D=function(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0},x=function(){function e(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}return e.prototype.isPhysicalMouseWheel=function(){if(-1===this._front&&-1===this._rear)return!1;for(var e=1,t=0,n=1,i=this._rear;;){var o=i===this._front?e:Math.pow(2,-n);if(e-=o,t+=this._memory[i].score*o,i===this._front)break;i=(this._capacity+i-1)%this._capacity,n++}return t<=.5},e.prototype.accept=function(e,t,n){var i=new D(e,t,n);i.score=this._computeScore(i),-1===this._front&&-1===this._rear?(this._memory[0]=i,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=i)},e.prototype._computeScore=function(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;var t=.5;-1===this._front&&-1===this._rear||this._memory[this._rear];return(Math.abs(e.deltaX-Math.round(e.deltaX))>0||Math.abs(e.deltaY-Math.round(e.deltaY))>0)&&(t+=.25),Math.min(Math.max(t,0),1)},e.INSTANCE=new e,e}(),E=function(e){function t(t,n,i){var o=e.call(this)||this;o._onScroll=o._register(new L.a),o.onScroll=o._onScroll.event,t.style.overflow="hidden",o._options=T(n),o._scrollable=i,o._register(o._scrollable.onScroll((function(e){o._onDidScroll(e),o._onScroll.fire(e)})));var r={onMouseWheel:function(e){return o._onMouseWheel(e)},onDragStart:function(){return o._onDragStart()},onDragEnd:function(){return o._onDragEnd()}};return o._verticalScrollbar=o._register(new S(o._scrollable,o._options,r)),o._horizontalScrollbar=o._register(new C(o._scrollable,o._options,r)),o._domNode=document.createElement("div"),o._domNode.className="monaco-scrollable-element "+o._options.className,o._domNode.setAttribute("role","presentation"),o._domNode.style.position="relative",o._domNode.style.overflow="hidden",o._domNode.appendChild(t),o._domNode.appendChild(o._horizontalScrollbar.domNode.domNode),o._domNode.appendChild(o._verticalScrollbar.domNode.domNode),o._options.useShadows?(o._leftShadowDomNode=Object(s.b)(document.createElement("div")),o._leftShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._leftShadowDomNode.domNode),o._topShadowDomNode=Object(s.b)(document.createElement("div")),o._topShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._topShadowDomNode.domNode),o._topLeftShadowDomNode=Object(s.b)(document.createElement("div")),o._topLeftShadowDomNode.setClassName("shadow top-left-corner"),o._domNode.appendChild(o._topLeftShadowDomNode.domNode)):(o._leftShadowDomNode=null,o._topShadowDomNode=null,o._topLeftShadowDomNode=null),o._listenOnDomNode=o._options.listenOnDomNode||o._domNode,o._mouseWheelToDispose=[],o._setListeningToMouseWheel(o._options.handleMouseWheel),o.onmouseover(o._listenOnDomNode,(function(e){return o._onMouseOver(e)})),o.onnonbubblingmouseout(o._listenOnDomNode,(function(e){return o._onMouseOut(e)})),o._hideTimeout=o._register(new c.e),o._isDragging=!1,o._mouseIsOver=!1,o._shouldRender=!0,o._revealOnScroll=!0,o}return O(t,e),t.prototype.dispose=function(){this._mouseWheelToDispose=Object(f.e)(this._mouseWheelToDispose),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getOverviewRulerLayoutInfo=function(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._verticalScrollbar.delegateMouseDown(e)},t.prototype.getScrollDimensions=function(){return this._scrollable.getScrollDimensions()},t.prototype.setScrollDimensions=function(e){this._scrollable.setScrollDimensions(e)},t.prototype.updateClassName=function(e){this._options.className=e,m.e&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className},t.prototype.updateOptions=function(e){var t=T(e);this._options.handleMouseWheel=t.handleMouseWheel,this._options.mouseWheelScrollSensitivity=t.mouseWheelScrollSensitivity,this._options.fastScrollSensitivity=t.fastScrollSensitivity,this._setListeningToMouseWheel(this._options.handleMouseWheel),this._options.lazyRender||this._render()},t.prototype._setListeningToMouseWheel=function(e){var t=this;if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=Object(f.e)(this._mouseWheelToDispose),e)){this._mouseWheelToDispose.push(r.g(this._listenOnDomNode,o.f?"mousewheel":"wheel",(function(e){t._onMouseWheel(new a.b(e))}),{passive:!1}))}},t.prototype._onMouseWheel=function(e){var t,n=x.INSTANCE;if(n.accept(Date.now(),e.deltaX,e.deltaY),e.deltaY||e.deltaX){var i=e.deltaY*this._options.mouseWheelScrollSensitivity,o=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.flipAxes&&(i=(t=[o,i])[0],o=t[1]);var r=!m.e&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!r||o||(o=i,i=0),e.browserEvent&&e.browserEvent.altKey&&(o*=this._options.fastScrollSensitivity,i*=this._options.fastScrollSensitivity);var s=this._scrollable.getFutureScrollPosition(),a={};if(i){var u=s.scrollTop-50*i;this._verticalScrollbar.writeScrollPosition(a,u)}if(o){var l=s.scrollLeft-50*o;this._horizontalScrollbar.writeScrollPosition(a,l)}if(a=this._scrollable.validateScrollPosition(a),s.scrollLeft!==a.scrollLeft||s.scrollTop!==a.scrollTop)this._options.mouseWheelSmoothScroll&&n.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(a):this._scrollable.setScrollPositionNow(a),this._shouldRender=!0}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(e.preventDefault(),e.stopPropagation())},t.prototype._onDidScroll=function(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()},t.prototype.renderNow=function(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()},t.prototype._render=function(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){var e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,n=e.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(n?" left":"")),this._topShadowDomNode.setClassName("shadow"+(t?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(t?" top":"")+(n?" left":""))}},t.prototype._onDragStart=function(){this._isDragging=!0,this._reveal()},t.prototype._onDragEnd=function(){this._isDragging=!1,this._hide()},t.prototype._onMouseOut=function(e){this._mouseIsOver=!1,this._hide()},t.prototype._onMouseOver=function(e){this._mouseIsOver=!0,this._reveal()},t.prototype._reveal=function(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()},t.prototype._hide=function(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())},t.prototype._scheduleHide=function(){var e=this;this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet((function(){return e._hide()}),500)},t}(l.a),k=function(e){function t(t,n){var i=this;(n=n||{}).mouseWheelSmoothScroll=!1;var o=new N.a(0,(function(e){return r.Q(e)}));return(i=e.call(this,t,n,o)||this)._register(o),i}return O(t,e),t.prototype.setScrollPosition=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t}(E),I=function(e){function t(t,n,i){return e.call(this,t,n,i)||this}return O(t,e),t}(E),M=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i._element=t,i.onScroll((function(e){e.scrollTopChanged&&(i._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(i._element.scrollLeft=e.scrollLeft)})),i.scanDomNode(),i}return O(t,e),t.prototype.scanDomNode=function(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})},t}(k);function T(e){var t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,m.e&&(t.className+=" mac"),t}},"GR/f":function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return y}));var i=n("/cxE"),o=n("N0LK"),r=n("LCkn"),s=n("Ll0s"),a=n("aokT"),u=n("gCVg"),l=n("cMvZ"),c=Object.create(null);function d(e,t){c[e]||(c[e]=["",e]);for(var n=c[e],i=n.length;i<=t;i++)n[i]=n[i-1]+e;return n[t]}var h,f=function(){function e(e,t){this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}return e.unshiftIndent=function(e,t,n,i,o){var r=s.a.visibleColumnFromColumn(e,t,n);if(o){var a=d(" ",i);return d(a,s.a.prevIndentTabStop(r,i)/i)}return d(a="\t",s.a.prevRenderTabStop(r,n)/n)},e.shiftIndent=function(e,t,n,i,o){var r=s.a.visibleColumnFromColumn(e,t,n);if(o){var a=d(" ",i);return d(a,s.a.nextIndentTabStop(r,i)/i)}return d(a="\t",s.a.nextRenderTabStop(r,n)/n)},e.prototype._addEditOperation=function(e,t,n){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,n):e.addEditOperation(t,n)},e.prototype.getEditOperations=function(t,n){var i=this._selection.startLineNumber,r=this._selection.endLineNumber;1===this._selection.endColumn&&i!==r&&(r-=1);var u=this._opts,c=u.tabSize,h=u.indentSize,f=u.insertSpaces,p=i===r;if(this._selection.isEmpty()&&/^\s*$/.test(t.getLineContent(i))&&(this._useLastEditRangeForCursorEndPosition=!0),this._opts.useTabStops)for(var g=0,m=0,v=i;v<=r;v++,g=m){m=0;var _=t.getLineContent(v),y=o.o(_);if((!this._opts.isUnshift||0!==_.length&&0!==y)&&(p||this._opts.isUnshift||0!==_.length)){if(-1===y&&(y=_.length),v>1)if(s.a.visibleColumnFromColumn(_,y+1,c)%h!=0&&t.isCheapToTokenize(v-1)){var b=l.a.getEnterAction(this._opts.autoIndent,t,new a.a(v-1,t.getLineMaxColumn(v-1),v-1,t.getLineMaxColumn(v-1)));if(b){if(m=g,b.appendText)for(var C=0,w=b.appendText.length;C<w&&m<h&&32===b.appendText.charCodeAt(C);C++)m++;b.removeText&&(m=Math.max(0,m-b.removeText));for(C=0;C<m&&(0!==y&&32===_.charCodeAt(y-1));C++)y--}}if(!this._opts.isUnshift||0!==y){var S=void 0;S=this._opts.isUnshift?e.unshiftIndent(_,y+1,c,h,f):e.shiftIndent(_,y+1,c,h,f),this._addEditOperation(n,new a.a(v,1,v,y+1),S),v!==i||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=y+1)}}}else{var L=f?d(" ",h):"\t";for(v=i;v<=r;v++){_=t.getLineContent(v),y=o.o(_);if((!this._opts.isUnshift||0!==_.length&&0!==y)&&((p||this._opts.isUnshift||0!==_.length)&&(-1===y&&(y=_.length),!this._opts.isUnshift||0!==y)))if(this._opts.isUnshift){y=Math.min(y,h);for(var N=0;N<y;N++){if(9===_.charCodeAt(N)){y=N+1;break}}this._addEditOperation(n,new a.a(v,1,v,y+1),"")}else this._addEditOperation(n,new a.a(v,1,v,1),L),v!==i||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}}this._selectionId=n.trackSelection(this._selection)},e.prototype.computeCursorState=function(e,t){if(this._useLastEditRangeForCursorEndPosition){var n=t.getInverseEditOperations()[0];return new u.a(n.range.endLineNumber,n.range.endColumn,n.range.endLineNumber,n.range.endColumn)}var i=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){var o=this._selection.startColumn;return i.startColumn<=o?i:0===i.getDirection()?new u.a(i.startLineNumber,o,i.endLineNumber,i.endColumn):new u.a(i.endLineNumber,i.endColumn,i.startLineNumber,o)}return i},e}(),p=function(){function e(e,t,n){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=n}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(new a.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new a.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations(),i=n[0].range,o=n[1].range;return new u.a(i.endLineNumber,i.endColumn,o.endLineNumber,o.endColumn-this._charAfterSelection.length)},e}(),g=n("5v8Y"),m=n("KDc4"),v=(h=function(e,t){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_=function(){function e(){}return e.indent=function(e,t,n){if(null===t||null===n)return[];for(var i=[],o=0,r=n.length;o<r;o++)i[o]=new f(n[o],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i},e.outdent=function(e,t,n){for(var i=[],o=0,r=n.length;o<r;o++)i[o]=new f(n[o],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i},e.shiftIndent=function(e,t,n){return n=n||1,f.shiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)},e.unshiftIndent=function(e,t,n){return n=n||1,f.unshiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)},e._distributedPaste=function(e,t,n,i){for(var o=[],a=0,u=n.length;a<u;a++)o[a]=new r.a(n[a],i[a]);return new s.e(0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._simplePaste=function(e,t,n,i,o){for(var u=[],l=0,c=n.length;l<c;l++){var d=n[l],h=d.getPosition();if(o&&!d.isEmpty()&&(o=!1),o&&i.indexOf("\n")!==i.length-1&&(o=!1),o){var f=new a.a(h.lineNumber,1,h.lineNumber,1);u[l]=new r.b(f,i,d,!0)}else u[l]=new r.a(d,i)}return new s.e(0,u,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._distributePasteToCursors=function(e,t,n,i,o){if(i)return null;if(1===t.length)return null;if(o&&o.length===t.length)return o;if("spread"===e.multiCursorPaste){10===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1)),13===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1));var r=n.split(/\r\n|\r|\n/);if(r.length===t.length)return r}return null},e.paste=function(e,t,n,i,o,r){var s=this._distributePasteToCursors(e,n,i,o,r);return s?(n=n.sort(a.a.compareRangesUsingStarts),this._distributedPaste(e,t,n,s)):this._simplePaste(e,t,n,i,o)},e._goodIndentForLine=function(t,n,i){var r=null,s="",u=l.a.getInheritIndentForLine(t.autoIndent,n,i,!1);if(u)r=u.action,s=u.indentation;else if(i>1){var c=void 0;for(c=i-1;c>=1;c--){var d=n.getLineContent(c);if(o.B(d)>=0)break}if(c<1)return null;var h=n.getLineMaxColumn(c),f=l.a.getEnterAction(t.autoIndent,n,new a.a(c,h,c,h));f&&(s=f.indentation+f.appendText)}return r&&(r===m.a.Indent&&(s=e.shiftIndent(t,s)),r===m.a.Outdent&&(s=e.unshiftIndent(t,s)),s=t.normalizeIndentation(s)),s||null},e._replaceJumpToNextIndent=function(e,t,n,i){var o="",a=n.getStartPosition();if(e.insertSpaces)for(var u=s.a.visibleColumnFromColumn2(e,t,a),l=e.indentSize,c=l-u%l,d=0;d<c;d++)o+=" ";else o="\t";return new r.a(n,o,i)},e.tab=function(e,t,n){for(var i=[],s=0,u=n.length;s<u;s++){var l=n[s];if(l.isEmpty()){var c=t.getLineContent(l.startLineNumber);if(/^\s*$/.test(c)&&t.isCheapToTokenize(l.startLineNumber)){var d=this._goodIndentForLine(e,t,l.startLineNumber);d=d||"\t";var h=e.normalizeIndentation(d);if(!o.H(c,h)){i[s]=new r.a(new a.a(l.startLineNumber,1,l.startLineNumber,c.length+1),h,!0);continue}}i[s]=this._replaceJumpToNextIndent(e,t,l,!0)}else{if(l.startLineNumber===l.endLineNumber){var p=t.getLineMaxColumn(l.startLineNumber);if(1!==l.startColumn||l.endColumn!==p){i[s]=this._replaceJumpToNextIndent(e,t,l,!1);continue}}i[s]=new f(l,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent})}}return i},e.replacePreviousChar=function(e,t,n,i,o,u){for(var l=[],c=0,d=i.length;c<d;c++){var h=i[c];if(h.isEmpty()){var f=h.getPosition(),p=Math.max(1,f.column-u),g=new a.a(f.lineNumber,p,f.lineNumber,f.column);l[c]=new r.a(g,o)}else l[c]=null}return new s.e(1,l,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e._typeCommand=function(e,t,n){return n?new r.d(e,t,!0):new r.a(e,t,!0)},e._enter=function(t,n,i,u){if(0===t.autoIndent)return e._typeCommand(u,"\n",i);if(!n.isCheapToTokenize(u.getStartPosition().lineNumber)||1===t.autoIndent){var c=n.getLineContent(u.startLineNumber),d=o.r(c).substring(0,u.startColumn-1);return e._typeCommand(u,"\n"+t.normalizeIndentation(d),i)}var h=l.a.getEnterAction(t.autoIndent,n,u);if(h){if(h.indentAction===m.a.None)return e._typeCommand(u,"\n"+t.normalizeIndentation(h.indentation+h.appendText),i);if(h.indentAction===m.a.Indent)return e._typeCommand(u,"\n"+t.normalizeIndentation(h.indentation+h.appendText),i);if(h.indentAction===m.a.IndentOutdent){var f=t.normalizeIndentation(h.indentation),p=t.normalizeIndentation(h.indentation+h.appendText),g="\n"+p+"\n"+f;return i?new r.d(u,g,!0):new r.c(u,g,-1,p.length-f.length,!0)}if(h.indentAction===m.a.Outdent){var v=e.unshiftIndent(t,h.indentation);return e._typeCommand(u,"\n"+t.normalizeIndentation(v+h.appendText),i)}}var _=n.getLineContent(u.startLineNumber),y=o.r(_).substring(0,u.startColumn-1);if(t.autoIndent>=4){var b=l.a.getIndentForEnter(t.autoIndent,n,u,{unshiftIndent:function(n){return e.unshiftIndent(t,n)},shiftIndent:function(n){return e.shiftIndent(t,n)},normalizeIndentation:function(e){return t.normalizeIndentation(e)}});if(b){var C=s.a.visibleColumnFromColumn2(t,n,u.getEndPosition()),w=u.endColumn,S="\n";y!==t.normalizeIndentation(b.beforeEnter)&&(S=t.normalizeIndentation(b.beforeEnter)+_.substring(y.length,u.startColumn-1)+"\n",u=new a.a(u.startLineNumber,1,u.endLineNumber,u.endColumn));var L=n.getLineContent(u.endLineNumber),N=o.o(L);if(u=N>=0?u.setEndPosition(u.endLineNumber,Math.max(u.endColumn,N+1)):u.setEndPosition(u.endLineNumber,n.getLineMaxColumn(u.endLineNumber)),i)return new r.d(u,S+t.normalizeIndentation(b.afterEnter),!0);var O=0;return w<=N+1&&(t.insertSpaces||(C=Math.ceil(C/t.indentSize)),O=Math.min(C+1-t.normalizeIndentation(b.afterEnter).length-1,0)),new r.c(u,S+t.normalizeIndentation(b.afterEnter),0,O,!0)}}return e._typeCommand(u,"\n"+t.normalizeIndentation(y),i)},e._isAutoIndentType=function(e,t,n){if(e.autoIndent<4)return!1;for(var i=0,o=n.length;i<o;i++)if(!t.isCheapToTokenize(n[i].getEndPosition().lineNumber))return!1;return!0},e._runAutoIndentType=function(t,n,i,o){var r=l.a.getIndentationAtPosition(n,i.startLineNumber,i.startColumn),s=l.a.getIndentActionForType(t.autoIndent,n,i,o,{shiftIndent:function(n){return e.shiftIndent(t,n)},unshiftIndent:function(n){return e.unshiftIndent(t,n)}});if(null===s)return null;if(s!==t.normalizeIndentation(r)){var u=n.getLineFirstNonWhitespaceColumn(i.startLineNumber);return 0===u?e._typeCommand(new a.a(i.startLineNumber,0,i.endLineNumber,i.endColumn),t.normalizeIndentation(s)+o,!1):e._typeCommand(new a.a(i.startLineNumber,0,i.endLineNumber,i.endColumn),t.normalizeIndentation(s)+n.getLineContent(i.startLineNumber).substring(u-1,i.startColumn-1)+o,!1)}return null},e._isAutoClosingOvertype=function(e,t,n,i,o){if("never"===e.autoClosingOvertype)return!1;if(!e.autoClosingPairsClose2.has(o))return!1;for(var r=0,a=n.length;r<a;r++){var u=n[r];if(!u.isEmpty())return!1;var l=u.getPosition(),c=t.getLineContent(l.lineNumber);if(c.charAt(l.column-1)!==o)return!1;var d=Object(s.g)(o);if(92===(l.column>2?c.charCodeAt(l.column-2):0)&&d)return!1;if("auto"===e.autoClosingOvertype){for(var h=!1,f=0,p=i.length;f<p;f++){var g=i[f];if(l.lineNumber===g.startLineNumber&&l.column===g.startColumn){h=!0;break}}if(!h)return!1}}return!0},e._runAutoClosingOvertype=function(e,t,n,i,o){for(var u=[],l=0,c=i.length;l<c;l++){var d=i[l].getPosition(),h=new a.a(d.lineNumber,d.column,d.lineNumber,d.column+1);u[l]=new r.a(h,o)}return new s.e(1,u,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e._autoClosingPairIsSymmetric=function(e){var t=e.open,n=e.close;return t.indexOf(n)>=0||n.indexOf(t)>=0},e._isBeforeClosingBrace=function(t,n,i){var o=t.autoClosingPairsClose2.get(i);if(!o)return!1;for(var r=e._autoClosingPairIsSymmetric(n),s=0,a=o;s<a.length;s++){var u=a[s],l=e._autoClosingPairIsSymmetric(u);if(r||!l)return!0}return!1},e._findAutoClosingPairOpen=function(e,t,n,i){var o=e.autoClosingPairsOpen2.get(i);if(!o)return null;for(var r=null,s=0,u=o;s<u.length;s++){var l=u[s];if(null===r||l.open.length>r.open.length){for(var c=!0,d=0,h=n;d<h.length;d++){var f=h[d];if(t.getValueInRange(new a.a(f.lineNumber,f.column-l.open.length+1,f.lineNumber,f.column))+i!==l.open){c=!1;break}}c&&(r=l)}}return r},e._isAutoClosingOpenCharType=function(t,n,o,r,a){var u=Object(s.g)(r),c=u?t.autoClosingQuotes:t.autoClosingBrackets;if("never"===c)return null;var d=this._findAutoClosingPairOpen(t,n,o.map((function(e){return e.getPosition()})),r);if(!d)return null;for(var h=u?t.shouldAutoCloseBefore.quote:t.shouldAutoCloseBefore.bracket,f=0,p=o.length;f<p;f++){var m=o[f];if(!m.isEmpty())return null;var v=m.getPosition(),_=n.getLineContent(v.lineNumber);if(_.length>v.column-1){var y=_.charAt(v.column-1);if(!e._isBeforeClosingBrace(t,d,y)&&!h(y))return null}if(!n.isCheapToTokenize(v.lineNumber))return null;if(1===d.open.length&&u&&"always"!==c){var b=Object(g.a)(t.wordSeparators);if(a&&v.column>1&&0===b.get(_.charCodeAt(v.column-2)))return null;if(!a&&v.column>2&&0===b.get(_.charCodeAt(v.column-3)))return null}n.forceTokenization(v.lineNumber);var C=n.getLineTokens(v.lineNumber),w=!1;try{w=l.a.shouldAutoClosePair(d,C,a?v.column:v.column-1)}catch(e){Object(i.e)(e)}if(!w)return null}return d},e._runAutoClosingOpenCharType=function(e,t,n,i,o,r,a){for(var u=[],l=0,c=i.length;l<c;l++){var d=i[l];u[l]=new y(d,o,r,a.close)}return new s.e(1,u,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})},e._shouldSurroundChar=function(e,t){return Object(s.g)(t)?"quotes"===e.autoSurround||"languageDefined"===e.autoSurround:"brackets"===e.autoSurround||"languageDefined"===e.autoSurround},e._isSurroundSelectionType=function(t,n,i,o){if(!e._shouldSurroundChar(t,o)||!t.surroundingPairs.hasOwnProperty(o))return!1;for(var r=Object(s.g)(o),a=0,u=i.length;a<u;a++){var l=i[a];if(l.isEmpty())return!1;for(var c=!0,d=l.startLineNumber;d<=l.endLineNumber;d++){var h=n.getLineContent(d),f=d===l.startLineNumber?l.startColumn-1:0,p=d===l.endLineNumber?l.endColumn-1:h.length,g=h.substring(f,p);if(/[^ \t]/.test(g)){c=!1;break}}if(c)return!1;if(r&&l.startLineNumber===l.endLineNumber&&l.startColumn+1===l.endColumn){var m=n.getValueInRange(l);if(Object(s.g)(m))return!1}}return!0},e._runSurroundSelectionType=function(e,t,n,i,o){for(var r=[],a=0,u=i.length;a<u;a++){var l=i[a],c=t.surroundingPairs[o];r[a]=new p(l,o,c)}return new s.e(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._isTypeInterceptorElectricChar=function(e,t,n){return!(1!==n.length||!t.isCheapToTokenize(n[0].getEndPosition().lineNumber))},e._typeInterceptorElectricChar=function(e,t,n,u,c){if(!t.electricChars.hasOwnProperty(c)||!u.isEmpty())return null;var d=u.getPosition();n.forceTokenization(d.lineNumber);var h,f=n.getLineTokens(d.lineNumber);try{h=l.a.onElectricCharacter(c,f,d.column)}catch(e){return Object(i.e)(e),null}if(!h)return null;if(h.matchOpenBracket){var p=(f.getLineContent()+c).lastIndexOf(h.matchOpenBracket)+1,g=n.findMatchingBracketUp(h.matchOpenBracket,{lineNumber:d.lineNumber,column:p});if(g){if(g.startLineNumber===d.lineNumber)return null;var m=n.getLineContent(g.startLineNumber),v=o.r(m),_=t.normalizeIndentation(v),y=n.getLineContent(d.lineNumber),b=n.getLineFirstNonWhitespaceColumn(d.lineNumber)||d.column,C=_+y.substring(b-1,d.column-1)+c,w=new a.a(d.lineNumber,1,d.lineNumber,d.column),S=new r.a(w,C);return new s.e(1,[S],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null},e.compositionEndWithInterceptors=function(e,t,n,i,o,l){if(!i||u.a.selectionsArrEqual(i,o))return null;for(var c=null,d=0,h=o;d<h.length;d++){var f=h[d];if(!f.isEmpty())return null;var p=f.getPosition(),g=n.getValueInRange(new a.a(p.lineNumber,p.column-1,p.lineNumber,p.column));if(null===c)c=g;else if(c!==g)return null}if(!c)return null;if(this._isAutoClosingOvertype(t,n,o,l,c)){var m=o.map((function(e){return new r.a(new a.a(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1)}));return new s.e(1,m,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}var v=this._isAutoClosingOpenCharType(t,n,o,c,!1);return v?this._runAutoClosingOpenCharType(e,t,n,o,c,!1,v):null},e.typeWithInterceptors=function(t,n,i,o,a,u){if("\n"===u){for(var l=[],c=0,d=o.length;c<d;c++)l[c]=e._enter(n,i,!1,o[c]);return new s.e(1,l,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoIndentType(n,i,o)){var h=[],f=!1;for(c=0,d=o.length;c<d;c++)if(h[c]=this._runAutoIndentType(n,i,o[c],u),!h[c]){f=!0;break}if(!f)return new s.e(1,h,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoClosingOvertype(n,i,o,a,u))return this._runAutoClosingOvertype(t,n,i,o,u);var p=this._isAutoClosingOpenCharType(n,i,o,u,!0);if(p)return this._runAutoClosingOpenCharType(t,n,i,o,u,!0,p);if(this._isSurroundSelectionType(n,i,o,u))return this._runSurroundSelectionType(t,n,i,o,u);if(this._isTypeInterceptorElectricChar(n,i,o)){var g=this._typeInterceptorElectricChar(t,n,i,o[0],u);if(g)return g}var m=[];for(c=0,d=o.length;c<d;c++)m[c]=new r.a(o[c],u);var v=1!==t;return" "===u&&(v=!0),new s.e(1,m,{shouldPushStackElementBefore:v,shouldPushStackElementAfter:!1})},e.typeWithoutInterceptors=function(e,t,n,i,o){for(var a=[],u=0,l=i.length;u<l;u++)a[u]=new r.a(i[u],o);return new s.e(1,a,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e.lineInsertBefore=function(e,t,n){if(null===t||null===n)return[];for(var i=[],o=0,s=n.length;o<s;o++){var u=n[o].positionLineNumber;if(1===u)i[o]=new r.d(new a.a(1,1,1,1),"\n");else{u--;var l=t.getLineMaxColumn(u);i[o]=this._enter(e,t,!1,new a.a(u,l,u,l))}}return i},e.lineInsertAfter=function(e,t,n){if(null===t||null===n)return[];for(var i=[],o=0,r=n.length;o<r;o++){var s=n[o].positionLineNumber,u=t.getLineMaxColumn(s);i[o]=this._enter(e,t,!1,new a.a(s,u,s,u))}return i},e.lineBreakInsert=function(e,t,n){for(var i=[],o=0,r=n.length;o<r;o++)i[o]=this._enter(e,t,!0,n[o]);return i},e}(),y=function(e){function t(t,n,i,o){var r=e.call(this,t,(i?n:"")+o,0,-o.length)||this;return r._openCharacter=n,r._closeCharacter=o,r.closeCharacterRange=null,r.enclosingRange=null,r}return v(t,e),t.prototype.computeCursorState=function(t,n){var i=n.getInverseEditOperations()[0].range;return this.closeCharacterRange=new a.a(i.startLineNumber,i.endColumn-this._closeCharacter.length,i.endLineNumber,i.endColumn),this.enclosingRange=new a.a(i.startLineNumber,i.endColumn-this._openCharacter.length-this._closeCharacter.length,i.endLineNumber,i.endColumn),e.prototype.computeCursorState.call(this,t,n)},t}(r.c)},GZrW:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:function(){return n.e(180).then(n.bind(null,"Csoz"))}})},Gb1F:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:function(){return n.e(176).then(n.bind(null,"ynbn"))}})},H6Gb:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return n.e(164).then(n.bind(null,"lXEz"))}})},"I/Lx":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return n.e(151).then(n.bind(null,"yswY"))}})},"J+ZK":function(e,t,n){},"JQT/":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i,o=n("MI8n"),r=Object.freeze((function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}}));!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof s||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:o.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r})}(i||(i={}));var s=function(){function e(){this._isCancelled=!1,this._emitter=null}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?r:(this._emitter||(this._emitter=new o.a),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),a=function(){function e(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new s),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof s&&this._token.cancel():this._token=i.Cancelled},e.prototype.dispose=function(e){void 0===e&&(e=!1),e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=i.None},e}()},JYp7:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return l}));var i,o,r=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s={done:!0,value:void 0};!function(e){var t={next:function(){return s}};e.empty=function(){return t},e.single=function(e){var t=!1;return{next:function(){return t?s:(t=!0,{done:!1,value:e})}}},e.fromArray=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=e.length),{next:function(){return t>=n?s:{done:!1,value:e[t++]}}}},e.fromNativeIterator=function(e){return{next:function(){var t=e.next();return t.done?s:{done:!1,value:t.value}}}},e.from=function(t){return t?Array.isArray(t)?e.fromArray(t):t:e.empty()},e.map=function(e,t){return{next:function(){var n=e.next();return n.done?s:{done:!1,value:t(n.value)}}}},e.filter=function(e,t){return{next:function(){for(;;){var n=e.next();if(n.done)return s;if(t(n.value))return{done:!1,value:n.value}}}}},e.forEach=function(e,t){for(var n=e.next();!n.done;n=e.next())t(n.value)},e.collect=function(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY);var n=[];if(0===t)return n;for(var i=0,o=e.next();!o.done&&(n.push(o.value),!(++i>=t));o=e.next());return n},e.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=0;return{next:function(){if(n>=e.length)return s;var t=e[n].next();return t.done?(n++,this.next()):t}}},e.chain=function(e){return new a(e)}}(o||(o={}));var a=function(){function e(e){this.it=e}return e.prototype.next=function(){return this.it.next()},e}();function u(e){return Array.isArray(e)?o.fromArray(e):e||o.empty()}var l=function(e){function t(t,n,i,o){return void 0===n&&(n=0),void 0===i&&(i=t.length),void 0===o&&(o=n-1),e.call(this,t,n,i,o)||this}return r(t,e),t.prototype.current=function(){return e.prototype.current.call(this)},t.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},t.prototype.first=function(){return this.index=this.start,this.current()},t.prototype.last=function(){return this.index=this.end-1,this.current()},t.prototype.parent=function(){return null},t}(function(){function e(e,t,n,i){void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===i&&(i=t-1),this.items=e,this.start=t,this.end=n,this.index=i}return e.prototype.first=function(){return this.index=this.start,this.current()},e.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},e.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},e}());!function(){function e(e,t){this.iterator=e,this.fn=t}e.prototype.next=function(){return this.fn(this.iterator.next())}}()},JlLP:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return n.e(166).then(n.bind(null,"W1QP"))}})},KDc4:function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(i||(i={}));var o=function(){function e(e){if(this.open=e.open,this.close=e.close,this._standardTokenMask=0,Array.isArray(e.notIn))for(var t=0,n=e.notIn.length;t<n;t++){switch(e.notIn[t]){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4}}}return e.prototype.isOK=function(e){return 0==(this._standardTokenMask&e)},e}()},Krc3:function(e,t,n){},LCkn:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n("gCVg"),o=function(){function e(e,t,n){void 0===n&&(n=!1),this._range=e,this._text=t,this.insertsAutoWhitespace=n}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations()[0].range;return new i.a(n.endLineNumber,n.endColumn,n.endLineNumber,n.endColumn)},e}(),r=(function(){function e(e,t){this._range=e,this._text=t}e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations()[0].range;return new i.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn)}}(),function(){function e(e,t,n){void 0===n&&(n=!1),this._range=e,this._text=t,this.insertsAutoWhitespace=n}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations()[0].range;return new i.a(n.startLineNumber,n.startColumn,n.startLineNumber,n.startColumn)},e}()),s=function(){function e(e,t,n,i,o){void 0===o&&(o=!1),this._range=e,this._text=t,this._columnDeltaOffset=i,this._lineNumberDeltaOffset=n,this.insertsAutoWhitespace=o}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations()[0].range;return new i.a(n.endLineNumber+this._lineNumberDeltaOffset,n.endColumn+this._columnDeltaOffset,n.endLineNumber+this._lineNumberDeltaOffset,n.endColumn+this._columnDeltaOffset)},e}(),a=function(){function e(e,t,n,i){void 0===i&&(i=!1),this._range=e,this._text=t,this._initialSelection=n,this._forceMoveMarkers=i,this._selectionId=null}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)},e.prototype.computeCursorState=function(e,t){return t.getTrackedSelection(this._selectionId)},e}()},LRks:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:function(){return n.e(183).then(n.bind(null,"05+/"))}})},LexI:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return n.e(152).then(n.bind(null,"lHAa"))}})},Ll0s:function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"f",(function(){return g})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return C})),n.d(t,"g",(function(){return w}));var i=n("/cxE"),o=n("N0LK"),r=n("cGHE"),s=n("aokT"),a=n("gCVg"),u=n("tX9W"),l=n("cMvZ"),c=function(){return!0},d=function(){return!1},h=function(e){return" "===e||"\t"===e};function f(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}var p=function(){function e(t,n,i){this._languageIdentifier=t;var o=i.options,r=o.get(107);this.readOnly=o.get(68),this.tabSize=n.tabSize,this.indentSize=n.indentSize,this.insertSpaces=n.insertSpaces,this.lineHeight=o.get(49),this.pageSize=Math.max(1,Math.floor(r.height/this.lineHeight)-2),this.useTabStops=o.get(95),this.wordSeparators=o.get(96),this.emptySelectionClipboard=o.get(25),this.copyWithSyntaxHighlighting=o.get(15),this.multiCursorMergeOverlapping=o.get(58),this.multiCursorPaste=o.get(60),this.autoClosingBrackets=o.get(5),this.autoClosingQuotes=o.get(7),this.autoClosingOvertype=o.get(6),this.autoSurround=o.get(10),this.autoIndent=o.get(8),this.autoClosingPairsOpen2=new Map,this.autoClosingPairsClose2=new Map,this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:e._getShouldAutoClose(t,this.autoClosingQuotes),bracket:e._getShouldAutoClose(t,this.autoClosingBrackets)};var s=e._getAutoClosingPairs(t);if(s)for(var a=0,u=s;a<u.length;a++){var l=u[a];f(this.autoClosingPairsOpen2,l.open.charAt(l.open.length-1),l),1===l.close.length&&f(this.autoClosingPairsClose2,l.close,l)}var c=e._getSurroundingPairs(t);if(c)for(var d=0,h=c;d<h.length;d++){l=h[d];this.surroundingPairs[l.open]=l.close}}return e.shouldRecreate=function(e){return e.hasChanged(107)||e.hasChanged(96)||e.hasChanged(25)||e.hasChanged(58)||e.hasChanged(60)||e.hasChanged(5)||e.hasChanged(7)||e.hasChanged(6)||e.hasChanged(10)||e.hasChanged(95)||e.hasChanged(49)||e.hasChanged(68)},Object.defineProperty(e.prototype,"electricChars",{get:function(){if(!this._electricChars){this._electricChars={};var t=e._getElectricCharacters(this._languageIdentifier);if(t)for(var n=0,i=t;n<i.length;n++){var o=i[n];this._electricChars[o]=!0}}return this._electricChars},enumerable:!0,configurable:!0}),e.prototype.normalizeIndentation=function(e){return u.b.normalizeIndentation(e,this.indentSize,this.insertSpaces)},e._getElectricCharacters=function(e){try{return l.a.getElectricCharacters(e.id)}catch(e){return Object(i.e)(e),null}},e._getAutoClosingPairs=function(e){try{return l.a.getAutoClosingPairs(e.id)}catch(e){return Object(i.e)(e),null}},e._getShouldAutoClose=function(t,n){switch(n){case"beforeWhitespace":return h;case"languageDefined":return e._getLanguageDefinedShouldAutoClose(t);case"always":return c;case"never":return d}},e._getLanguageDefinedShouldAutoClose=function(e){try{var t=l.a.getAutoCloseBeforeSet(e.id);return function(e){return-1!==t.indexOf(e)}}catch(e){return Object(i.e)(e),d}},e._getSurroundingPairs=function(e){try{return l.a.getSurroundingPairs(e.id)}catch(e){return Object(i.e)(e),null}},e}(),g=function(){function e(t,n,i,o){this.selectionStart=t,this.selectionStartLeftoverVisibleColumns=n,this.position=i,this.leftoverVisibleColumns=o,this.selection=e._computeSelection(this.selectionStart,this.position)}return e.prototype.equals=function(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)},e.prototype.hasSelection=function(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()},e.prototype.move=function(t,n,i,o){return t?new e(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new r.a(n,i),o):new e(new s.a(n,i,n,i),o,new r.a(n,i),o)},e._computeSelection=function(e,t){var n,i,o,r;return e.isEmpty()?(n=e.startLineNumber,i=e.startColumn,o=t.lineNumber,r=t.column):t.isBeforeOrEqual(e.getStartPosition())?(n=e.endLineNumber,i=e.endColumn,o=t.lineNumber,r=t.column):(n=e.startLineNumber,i=e.startColumn,o=t.lineNumber,r=t.column),new a.a(n,i,o,r)},e}(),m=function(){function e(e,t,n){this.model=t,this.viewModel=n,this.config=new p(this.model.getLanguageIdentifier(),this.model.getOptions(),e)}return e.prototype.validateViewPosition=function(e,t){return this.viewModel.coordinatesConverter.validateViewPosition(e,t)},e.prototype.validateViewRange=function(e,t){return this.viewModel.coordinatesConverter.validateViewRange(e,t)},e.prototype.convertViewRangeToModelRange=function(e){return this.viewModel.coordinatesConverter.convertViewRangeToModelRange(e)},e.prototype.convertViewPositionToModelPosition=function(e,t){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new r.a(e,t))},e.prototype.convertModelPositionToViewPosition=function(e){return this.viewModel.coordinatesConverter.convertModelPositionToViewPosition(e)},e.prototype.convertModelRangeToViewRange=function(e){return this.viewModel.coordinatesConverter.convertModelRangeToViewRange(e)},e.prototype.getCurrentScrollTop=function(){return this.viewModel.viewLayout.getCurrentScrollTop()},e.prototype.getCompletelyVisibleViewRange=function(){return this.viewModel.getCompletelyVisibleViewRange()},e.prototype.getCompletelyVisibleModelRange=function(){var e=this.viewModel.getCompletelyVisibleViewRange();return this.viewModel.coordinatesConverter.convertViewRangeToModelRange(e)},e.prototype.getCompletelyVisibleViewRangeAtScrollTop=function(e){return this.viewModel.getCompletelyVisibleViewRangeAtScrollTop(e)},e.prototype.getVerticalOffsetForViewLine=function(e){return this.viewModel.viewLayout.getVerticalOffsetForLineNumber(e)},e}(),v=function(e){this.modelState=e,this.viewState=null},_=function(e){this.modelState=null,this.viewState=e},y=function(){function e(e,t){this.modelState=e,this.viewState=t}return e.fromModelState=function(e){return new v(e)},e.fromViewState=function(e){return new _(e)},e.fromModelSelection=function(t){var n=t.selectionStartLineNumber,i=t.selectionStartColumn,o=t.positionLineNumber,a=t.positionColumn,u=new g(new s.a(n,i,n,i),0,new r.a(o,a),0);return e.fromModelState(u)},e.fromModelSelections=function(e){for(var t=[],n=0,i=e.length;n<i;n++)t[n]=this.fromModelSelection(e[n]);return t},e.prototype.equals=function(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)},e}(),b=function(e,t,n){this.type=e,this.commands=t,this.shouldPushStackElementBefore=n.shouldPushStackElementBefore,this.shouldPushStackElementAfter=n.shouldPushStackElementAfter},C=function(){function e(){}return e.visibleColumnFromColumn=function(t,n,i){for(var r=t.length,s=n-1<r?n-1:r,a=0,u=0;u<s;){var l=o.s(t,s,u);if(u+=l>=65536?2:1,9===l)a=e.nextRenderTabStop(a,i);else{for(var c=o.q(l);u<s;){var d=o.s(t,s,u),h=o.q(d);if(o.b(c,h))break;u+=d>=65536?2:1,c=h}o.w(l)||o.u(l)?a+=2:a+=1}}return a},e.visibleColumnFromColumn2=function(e,t,n){return this.visibleColumnFromColumn(t.getLineContent(n.lineNumber),n.column,e.tabSize)},e.columnFromVisibleColumn=function(t,n,i){if(n<=0)return 1;for(var r=t.length,s=0,a=1,u=0;u<r;){var l=o.s(t,r,u);u+=l>=65536?2:1;var c=void 0;if(9===l)c=e.nextRenderTabStop(s,i);else{for(var d=o.q(l);u<r;){var h=o.s(t,r,u),f=o.q(h);if(o.b(d,f))break;u+=h>=65536?2:1,d=f}c=o.w(l)||o.u(l)?s+2:s+1}var p=u+1;if(c>=n)return c-n<n-s?p:a;s=c,a=p}return r+1},e.columnFromVisibleColumn2=function(e,t,n,i){var o=this.columnFromVisibleColumn(t.getLineContent(n),i,e.tabSize),r=t.getLineMinColumn(n);if(o<r)return r;var s=t.getLineMaxColumn(n);return o>s?s:o},e.nextRenderTabStop=function(e,t){return e+t-e%t},e.nextIndentTabStop=function(e,t){return e+t-e%t},e.prevRenderTabStop=function(e,t){return e-1-(e-1)%t},e.prevIndentTabStop=function(e,t){return e-1-(e-1)%t},e}();function w(e){return"'"===e||'"'===e||"`"===e}},"M/lh":function(e,t,n){var i;self.MonacoEnvironment=(i={editorWorkerService:"editor.worker.js",css:"css.worker.js",html:"html.worker.js",json:"json.worker.js",typescript:"ts.worker.js",javascript:"ts.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"},{getWorkerUrl:function(e,t){var o=n.p,r=(o?o.replace(/\/$/,"")+"/":"")+i[t];if(/^(http:)|(https:)|(file:)/.test(r)){var s=String(window.location),a=s.substr(0,s.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(r.substring(0,a.length)!==a)return"data:text/javascript;charset=utf-8,"+encodeURIComponent("/*"+t+'*/importScripts("'+r+'");')}return r}}),n("1YUG"),n("oQaD"),e.exports=n("8z58"),n("23p7"),n("OOlL"),n("li8W"),n("ApJL"),n("jrbv"),n("gqHg"),n("p3Ex"),n("E+ie"),n("9B1q"),n("9XAT"),n("SvYn"),n("I/Lx"),n("LexI"),n("+a1H"),n("hFdI"),n("c2dO"),n("zQEy"),n("k7mE"),n("cldp"),n("p5tG"),n("FvUK"),n("ZvGG"),n("QFiB"),n("/cAr"),n("xYNL"),n("sStQ"),n("oKJv"),n("H6Gb"),n("y3CF"),n("JlLP"),n("j2o1"),n("woZy"),n("iLY9"),n("Msxo"),n("ajgA"),n("QiAa"),n("pI2L"),n("ij/i"),n("XQgg"),n("Gb1F"),n("xmOD"),n("c9ML"),n("Mzro"),n("GZrW"),n("w9QG"),n("ufhN"),n("LRks"),n("EOst"),n("z3hU"),n("nrBJ"),n("BEdG"),n("E4kL")},M1Kb:function(e,t,n){"use strict";var i,o;n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(i||(i={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(o||(o={}));var r=function(){function e(e){this.tabSize=Math.max(1,0|e.tabSize),this.indentSize=0|e.tabSize,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace)}return e.prototype.equals=function(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace},e.prototype.createChangeEvent=function(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}},e}(),s=function(e,t){this.range=e,this.matches=t},a=function(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}},MD5Z:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"Eb",(function(){return d})),n.d(t,"N",(function(){return p})),n.d(t,"L",(function(){return g})),n.d(t,"M",(function(){return m})),n.d(t,"e",(function(){return v})),n.d(t,"b",(function(){return _})),n.d(t,"Lb",(function(){return y})),n.d(t,"Q",(function(){return b})),n.d(t,"S",(function(){return C})),n.d(t,"R",(function(){return w})),n.d(t,"P",(function(){return S})),n.d(t,"O",(function(){return L})),n.d(t,"W",(function(){return N})),n.d(t,"Y",(function(){return O})),n.d(t,"X",(function(){return D})),n.d(t,"Z",(function(){return x})),n.d(t,"bb",(function(){return E})),n.d(t,"ab",(function(){return k})),n.d(t,"T",(function(){return I})),n.d(t,"V",(function(){return M})),n.d(t,"U",(function(){return T})),n.d(t,"Cb",(function(){return P})),n.d(t,"Bb",(function(){return F})),n.d(t,"c",(function(){return V})),n.d(t,"d",(function(){return W})),n.d(t,"Gb",(function(){return B})),n.d(t,"Ib",(function(){return j})),n.d(t,"Jb",(function(){return H})),n.d(t,"Hb",(function(){return z})),n.d(t,"Db",(function(){return U})),n.d(t,"p",(function(){return K})),n.d(t,"o",(function(){return q})),n.d(t,"G",(function(){return G})),n.d(t,"F",(function(){return Y})),n.d(t,"B",(function(){return Z})),n.d(t,"A",(function(){return X})),n.d(t,"y",(function(){return J})),n.d(t,"x",(function(){return Q})),n.d(t,"n",(function(){return $})),n.d(t,"w",(function(){return ee})),n.d(t,"H",(function(){return te})),n.d(t,"J",(function(){return ne})),n.d(t,"I",(function(){return ie})),n.d(t,"K",(function(){return oe})),n.d(t,"C",(function(){return re})),n.d(t,"D",(function(){return se})),n.d(t,"z",(function(){return ae})),n.d(t,"E",(function(){return ue})),n.d(t,"q",(function(){return le})),n.d(t,"s",(function(){return ce})),n.d(t,"u",(function(){return de})),n.d(t,"r",(function(){return he})),n.d(t,"t",(function(){return fe})),n.d(t,"v",(function(){return pe})),n.d(t,"g",(function(){return me})),n.d(t,"h",(function(){return ve})),n.d(t,"j",(function(){return _e})),n.d(t,"l",(function(){return ye})),n.d(t,"k",(function(){return be})),n.d(t,"m",(function(){return Ce})),n.d(t,"i",(function(){return we})),n.d(t,"ib",(function(){return Se})),n.d(t,"jb",(function(){return Le})),n.d(t,"cb",(function(){return Ne})),n.d(t,"db",(function(){return Oe})),n.d(t,"nb",(function(){return De})),n.d(t,"ob",(function(){return xe})),n.d(t,"mb",(function(){return Ee})),n.d(t,"kb",(function(){return ke})),n.d(t,"lb",(function(){return Ie})),n.d(t,"eb",(function(){return Me})),n.d(t,"fb",(function(){return Te})),n.d(t,"hb",(function(){return Ae})),n.d(t,"gb",(function(){return Re})),n.d(t,"Kb",(function(){return Pe})),n.d(t,"qb",(function(){return Fe})),n.d(t,"rb",(function(){return Ve})),n.d(t,"pb",(function(){return We})),n.d(t,"ub",(function(){return Be})),n.d(t,"sb",(function(){return je})),n.d(t,"tb",(function(){return He})),n.d(t,"vb",(function(){return ze})),n.d(t,"Ab",(function(){return Ue})),n.d(t,"xb",(function(){return Ke})),n.d(t,"yb",(function(){return qe})),n.d(t,"wb",(function(){return Ge})),n.d(t,"zb",(function(){return Ye})),n.d(t,"f",(function(){return Ze})),n.d(t,"Fb",(function(){return Qe}));var i=n("ic2d"),o=n("zrhQ"),r=n("MI8n"),s=n("3/fG"),a=n("3Rsk"),u=n("X+cX"),l={ColorContribution:"base.contributions.colors"},c=new(function(){function e(){this._onDidChangeSchema=new r.a,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}return e.prototype.registerColor=function(e,t,n,i,o){void 0===i&&(i=!1);var r={id:e,description:n,defaults:t,needsTransparency:i,deprecationMessage:o};this.colorsById[e]=r;var s={type:"string",description:n,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(s.deprecationMessage=o),this.colorSchema.properties[e]=s,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(n),this._onDidChangeSchema.fire(),e},e.prototype.resolveDefaultColor=function(e,t){var n=this.colorsById[e];if(n&&n.defaults)return Qe(n.defaults[t.type],t)},e.prototype.getColorSchema=function(){return this.colorSchema},e.prototype.toString=function(){var e=this;return Object.keys(this.colorsById).sort((function(e,t){var n=-1===e.indexOf(".")?0:1,i=-1===t.indexOf(".")?0:1;return n!==i?n-i:e.localeCompare(t)})).map((function(t){return"- `"+t+"`: "+e.colorsById[t].description})).join("\n")},e}());function d(e,t,n,i,o){return c.registerColor(e,t,n,i,o)}i.a.add(l.ColorContribution,c);var h,f,p=d("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},s.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),g=d("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},s.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),m=d("focusBorder",{dark:o.a.fromHex("#0E639C").transparent(.8),light:o.a.fromHex("#007ACC").transparent(.4),hc:"#F38518"},s.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),v=d("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},s.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),_=d("contrastActiveBorder",{light:null,dark:null,hc:m},s.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),y=(d("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},s.a("textLinkForeground","Foreground color for links in text.")),d("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:o.a.black},s.a("textCodeBlockBackground","Background color for code blocks in text.")),d("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},s.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor."))),b=d("input.background",{dark:"#3C3C3C",light:o.a.white,hc:o.a.black},s.a("inputBoxBackground","Input box background.")),C=d("input.foreground",{dark:p,light:p,hc:p},s.a("inputBoxForeground","Input box foreground.")),w=d("input.border",{dark:null,light:null,hc:v},s.a("inputBoxBorder","Input box border.")),S=d("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:v},s.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),L=d("inputOption.activeBackground",{dark:Xe(m,.5),light:Xe(m,.3),hc:null},s.a("inputOption.activeBackground","Background color of activated options in input fields.")),N=d("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:o.a.black},s.a("inputValidationInfoBackground","Input validation background color for information severity.")),O=d("inputValidation.infoForeground",{dark:null,light:null,hc:null},s.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),D=d("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:v},s.a("inputValidationInfoBorder","Input validation border color for information severity.")),x=d("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.a.black},s.a("inputValidationWarningBackground","Input validation background color for warning severity.")),E=d("inputValidation.warningForeground",{dark:null,light:null,hc:null},s.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),k=d("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:v},s.a("inputValidationWarningBorder","Input validation border color for warning severity.")),I=d("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:o.a.black},s.a("inputValidationErrorBackground","Input validation background color for error severity.")),M=d("inputValidation.errorForeground",{dark:null,light:null,hc:null},s.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),T=d("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:v},s.a("inputValidationErrorBorder","Input validation border color for error severity.")),A=d("dropdown.background",{dark:"#3C3C3C",light:o.a.white,hc:o.a.black},s.a("dropdownBackground","Dropdown background.")),R=d("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:o.a.white},s.a("dropdownForeground","Dropdown foreground.")),P=d("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:o.a.white},s.a("pickerGroupForeground","Quick picker color for grouping labels.")),F=d("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:o.a.white},s.a("pickerGroupBorder","Quick picker color for grouping borders.")),V=d("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:o.a.black},s.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),W=d("badge.foreground",{dark:o.a.white,light:"#333",hc:o.a.white},s.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),B=d("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},s.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),j=d("scrollbarSlider.background",{dark:o.a.fromHex("#797979").transparent(.4),light:o.a.fromHex("#646464").transparent(.4),hc:Xe(v,.6)},s.a("scrollbarSliderBackground","Scrollbar slider background color.")),H=d("scrollbarSlider.hoverBackground",{dark:o.a.fromHex("#646464").transparent(.7),light:o.a.fromHex("#646464").transparent(.7),hc:Xe(v,.8)},s.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),z=d("scrollbarSlider.activeBackground",{dark:o.a.fromHex("#BFBFBF").transparent(.4),light:o.a.fromHex("#000000").transparent(.6),hc:v},s.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),U=d("progressBar.background",{dark:o.a.fromHex("#0E70C0"),light:o.a.fromHex("#0E70C0"),hc:v},s.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),K=d("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},s.a("editorError.foreground","Foreground color of error squigglies in the editor.")),q=d("editorError.border",{dark:null,light:null,hc:o.a.fromHex("#E47777").transparent(.8)},s.a("errorBorder","Border color of error boxes in the editor.")),G=d("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},s.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),Y=d("editorWarning.border",{dark:null,light:null,hc:o.a.fromHex("#FFCC00").transparent(.8)},s.a("warningBorder","Border color of warning boxes in the editor.")),Z=d("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},s.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),X=d("editorInfo.border",{dark:null,light:null,hc:o.a.fromHex("#75BEFF").transparent(.8)},s.a("infoBorder","Border color of info boxes in the editor.")),J=d("editorHint.foreground",{dark:o.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},s.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),Q=d("editorHint.border",{dark:null,light:null,hc:o.a.fromHex("#eeeeee").transparent(.8)},s.a("hintBorder","Border color of hint boxes in the editor.")),$=d("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:o.a.black},s.a("editorBackground","Editor background color.")),ee=d("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:o.a.white},s.a("editorForeground","Editor default foreground color.")),te=d("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},s.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),ne=d("editorWidget.foreground",{dark:p,light:p,hc:p},s.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),ie=d("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:v},s.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),oe=d("editorWidget.resizeBorder",{light:null,dark:null,hc:null},s.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),re=d("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},s.a("editorSelectionBackground","Color of the editor selection.")),se=d("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},s.a("editorSelectionForeground","Color of the selected text for high contrast.")),ae=d("editor.inactiveSelectionBackground",{light:Xe(re,.5),dark:Xe(re,.5),hc:Xe(re,.5)},s.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),ue=d("editor.selectionHighlightBackground",{light:Je(re,$,.3,.6),dark:Je(re,$,.3,.6),hc:null},s.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),le=(d("editor.selectionHighlightBorder",{light:null,dark:null,hc:_},s.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),d("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},s.a("editorFindMatch","Color of the current search match."))),ce=d("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},s.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),de=d("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},s.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),he=d("editor.findMatchBorder",{light:null,dark:null,hc:_},s.a("editorFindMatchBorder","Border color of the current search match.")),fe=d("editor.findMatchHighlightBorder",{light:null,dark:null,hc:_},s.a("findMatchHighlightBorder","Border color of the other search matches.")),pe=d("editor.findRangeHighlightBorder",{dark:null,light:null,hc:Xe(_,.4)},s.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),ge=(d("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},s.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),d("editorHoverWidget.background",{light:te,dark:te,hc:te},s.a("hoverBackground","Background color of the editor hover."))),me=(d("editorHoverWidget.foreground",{light:ne,dark:ne,hc:ne},s.a("hoverForeground","Foreground color of the editor hover.")),d("editorHoverWidget.border",{light:ie,dark:ie,hc:ie},s.a("hoverBorder","Border color of the editor hover.")),d("editorHoverWidget.statusBarBackground",{dark:(h=ge,f=.2,function(e){var t=Qe(h,e);if(t)return t.lighten(f)}),light:Ze(ge,.05),hc:te},s.a("statusBarBackground","Background color of the editor hover status bar.")),d("editorLink.activeForeground",{dark:"#4E94CE",light:o.a.blue,hc:o.a.cyan},s.a("activeLinkForeground","Color of active links.")),d("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},s.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),d("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},s.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),new o.a(new o.b(155,185,85,.2))),ve=new o.a(new o.b(255,0,0,.2)),_e=d("diffEditor.insertedTextBackground",{dark:me,light:me,hc:null},s.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),ye=d("diffEditor.removedTextBackground",{dark:ve,light:ve,hc:null},s.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),be=d("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},s.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),Ce=d("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},s.a("diffEditorRemovedOutline","Outline color for text that got removed.")),we=d("diffEditor.border",{dark:null,light:null,hc:v},s.a("diffEditorBorder","Border color between the two text editors.")),Se=d("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},s.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Le=d("list.focusForeground",{dark:null,light:null,hc:null},s.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ne=d("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},s.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Oe=d("list.activeSelectionForeground",{dark:o.a.white,light:o.a.white,hc:null},s.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),De=d("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},s.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),xe=d("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},s.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Ee=d("list.inactiveFocusBackground",{dark:null,light:null,hc:null},s.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),ke=d("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},s.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),Ie=d("list.hoverForeground",{dark:null,light:null,hc:null},s.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),Me=d("list.dropBackground",{dark:Se,light:Se,hc:null},s.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),Te=(d("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:m},s.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),d("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:o.a.black},s.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees."))),Ae=d("listFilterWidget.outline",{dark:o.a.transparent,light:o.a.transparent,hc:"#f38518"},s.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),Re=d("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:v},s.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),Pe=d("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},s.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),Fe=d("menu.border",{dark:null,light:null,hc:v},s.a("menuBorder","Border color of menus.")),Ve=d("menu.foreground",{dark:R,light:p,hc:R},s.a("menuForeground","Foreground color of menu items.")),We=d("menu.background",{dark:A,light:A,hc:A},s.a("menuBackground","Background color of menu items.")),Be=d("menu.selectionForeground",{dark:Oe,light:Oe,hc:Oe},s.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),je=d("menu.selectionBackground",{dark:Ne,light:Ne,hc:Ne},s.a("menuSelectionBackground","Background color of the selected menu item in menus.")),He=d("menu.selectionBorder",{dark:null,light:null,hc:_},s.a("menuSelectionBorder","Border color of the selected menu item in menus.")),ze=d("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:v},s.a("menuSeparatorBackground","Color of a separator menu item in menus.")),Ue=(d("editor.snippetTabstopHighlightBackground",{dark:new o.a(new o.b(124,124,124,.3)),light:new o.a(new o.b(10,50,100,.2)),hc:new o.a(new o.b(124,124,124,.3))},s.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),d("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},s.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),d("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},s.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),d("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new o.a(new o.b(10,50,100,.5)),hc:"#525252"},s.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final stabstop of a snippet.")),d("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},s.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0)),Ke=(d("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},s.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),d("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},s.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0)),qe=d("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},s.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),Ge=d("minimap.errorHighlight",{dark:new o.a(new o.b(255,18,18,.7)),light:new o.a(new o.b(255,18,18,.7)),hc:new o.a(new o.b(255,50,50,1))},s.a("minimapError","Minimap marker color for errors.")),Ye=d("minimap.warningHighlight",{dark:G,light:G,hc:Y},s.a("overviewRuleWarning","Minimap marker color for warnings."));d("problemsErrorIcon.foreground",{dark:K,light:K,hc:K},s.a("problemsErrorIconForeground","The color used for the problems error icon.")),d("problemsWarningIcon.foreground",{dark:G,light:G,hc:G},s.a("problemsWarningIconForeground","The color used for the problems warning icon.")),d("problemsInfoIcon.foreground",{dark:Z,light:Z,hc:Z},s.a("problemsInfoIconForeground","The color used for the problems info icon."));function Ze(e,t){return function(n){var i=Qe(e,n);if(i)return i.darken(t)}}function Xe(e,t){return function(n){var i=Qe(e,n);if(i)return i.transparent(t)}}function Je(e,t,n,i){return function(r){var s=Qe(e,r);if(s){var a=Qe(t,r);return a?s.isDarkerThan(a)?o.a.getLighterColor(s,a,n).transparent(i):o.a.getDarkerColor(s,a,n).transparent(i):s.transparent(n*i)}}}function Qe(e,t){if(null!==e)return"string"==typeof e?"#"===e[0]?o.a.fromHex(e):t.getColor(e):e instanceof o.a?e:"function"==typeof e?e(t):void 0}var $e=i.a.as(a.a.JSONContribution);$e.registerSchema("vscode://schemas/workbench-colors",c.getColorSchema());var et=new u.d((function(){return $e.notifySchemaChanged("vscode://schemas/workbench-colors")}),200);c.onDidChangeSchema((function(){et.isScheduled()||et.schedule()}))},MI8n:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return f}));var i,o,r=n("/cxE"),s=n("C/vA"),a=n("pmY6"),u=n("24hK"),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){function t(e){return function(t,n,i){void 0===n&&(n=null);var o,r=!1;return o=e((function(e){if(!r)return o?o.dispose():r=!0,t.call(n,e)}),null,i),r&&o.dispose(),o}}function n(e,t){return s((function(n,i,o){return void 0===i&&(i=null),e((function(e){return n.call(i,t(e))}),null,o)}))}function i(e,t){return s((function(n,i,o){return void 0===i&&(i=null),e((function(e){t(e),n.call(i,e)}),null,o)}))}function o(e,t){return s((function(n,i,o){return void 0===i&&(i=null),e((function(e){return t(e)&&n.call(i,e)}),null,o)}))}function r(e,t,i){var o=i;return n(e,(function(e){return o=t(o,e)}))}function s(e){var t,n=new c({onFirstListenerAdd:function(){t=e(n.fire,n)},onLastListenerRemove:function(){t.dispose()}});return n.event}function u(e,t,n,i,o){var r;void 0===n&&(n=100),void 0===i&&(i=!1);var s=void 0,a=void 0,u=0,l=new c({leakWarningThreshold:o,onFirstListenerAdd:function(){r=e((function(e){u++,s=t(s,e),i&&!a&&(l.fire(s),s=void 0),clearTimeout(a),a=setTimeout((function(){var e=s;s=void 0,a=void 0,(!i||u>1)&&l.fire(e),u=0}),n)}))},onLastListenerRemove:function(){r.dispose()}});return l.event}function l(e){var t,n=!0;return o(e,(function(e){var i=n||e!==t;return n=!1,t=e,i}))}e.None=function(){return a.a.None},e.once=t,e.map=n,e.forEach=i,e.filter=o,e.signal=function(e){return e},e.any=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n,i){return void 0===n&&(n=null),a.d.apply(void 0,e.map((function(e){return e((function(e){return t.call(n,e)}),null,i)})))}},e.reduce=r,e.snapshot=s,e.debounce=u,e.stopwatch=function(e){var i=(new Date).getTime();return n(t(e),(function(e){return(new Date).getTime()-i}))},e.latch=l,e.buffer=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=[]);var i=n.slice(),o=e((function(e){i?i.push(e):s.fire(e)})),r=function(){i&&i.forEach((function(e){return s.fire(e)})),i=null},s=new c({onFirstListenerAdd:function(){o||(o=e((function(e){return s.fire(e)})))},onFirstListenerDidAdd:function(){i&&(t?setTimeout(r):r())},onLastListenerRemove:function(){o&&o.dispose(),o=null}});return s.event};var d=function(){function e(e){this.event=e}return e.prototype.map=function(t){return new e(n(this.event,t))},e.prototype.forEach=function(t){return new e(i(this.event,t))},e.prototype.filter=function(t){return new e(o(this.event,t))},e.prototype.reduce=function(t,n){return new e(r(this.event,t,n))},e.prototype.latch=function(){return new e(l(this.event))},e.prototype.debounce=function(t,n,i,o){return void 0===n&&(n=100),void 0===i&&(i=!1),new e(u(this.event,t,n,i,o))},e.prototype.on=function(e,t,n){return this.event(e,t,n)},e.prototype.once=function(e,n,i){return t(this.event)(e,n,i)},e}();e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,t,n){void 0===n&&(n=function(e){return e});var i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.fire(n.apply(void 0,e))},o=new c({onFirstListenerAdd:function(){return e.on(t,i)},onLastListenerRemove:function(){return e.removeListener(t,i)}});return o.event},e.fromDOMEventEmitter=function(e,t,n){void 0===n&&(n=function(e){return e});var i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.fire(n.apply(void 0,e))},o=new c({onFirstListenerAdd:function(){return e.addEventListener(t,i)},onLastListenerRemove:function(){return e.removeEventListener(t,i)}});return o.event},e.fromPromise=function(e){var t=new c,n=!1;return e.then(void 0,(function(){return null})).then((function(){n?t.fire(void 0):setTimeout((function(){return t.fire(void 0)}),0)})),n=!0,t.event},e.toPromise=function(e){return new Promise((function(n){return t(e)(n)}))}}(o||(o={}));!function(){function e(e,t){void 0===t&&(t=Math.random().toString(18).slice(2,5)),this.customThreshold=e,this.name=t,this._warnCountdown=0}e.prototype.dispose=function(){this._stacks&&this._stacks.clear()},e.prototype.check=function(e){var t=this,n=-1;if("number"==typeof this.customThreshold&&(n=this.customThreshold),!(n<=0||e<n)){this._stacks||(this._stacks=new Map);var i=(new Error).stack.split("\n").slice(3).join("\n"),o=this._stacks.get(i)||0;if(this._stacks.set(i,o+1),this._warnCountdown-=1,this._warnCountdown<=0){var r;this._warnCountdown=.5*n;var s=0;this._stacks.forEach((function(e,t){(!r||s<e)&&(r=t,s=e)})),console.warn("["+this.name+"] potential listener LEAK detected, having "+e+" listeners already. MOST frequent listener ("+s+"):"),console.warn(r)}return function(){var e=t._stacks.get(i)||0;t._stacks.set(i,e-1)}}}}();var c=function(){function e(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}return Object.defineProperty(e.prototype,"event",{get:function(){var t=this;return this._event||(this._event=function(n,i,o){t._listeners||(t._listeners=new u.a);var r=t._listeners.isEmpty();r&&t._options&&t._options.onFirstListenerAdd&&t._options.onFirstListenerAdd(t);var s,l,c=t._listeners.push(i?[n,i]:n);return r&&t._options&&t._options.onFirstListenerDidAdd&&t._options.onFirstListenerDidAdd(t),t._options&&t._options.onListenerDidAdd&&t._options.onListenerDidAdd(t,n,i),t._leakageMon&&(s=t._leakageMon.check(t._listeners.size)),l={dispose:function(){(s&&s(),l.dispose=e._noop,t._disposed)||(c(),t._options&&t._options.onLastListenerRemove&&(t._listeners&&!t._listeners.isEmpty()||t._options.onLastListenerRemove(t)))}},o instanceof a.b?o.add(l):Array.isArray(o)&&o.push(l),l}),this._event},enumerable:!0,configurable:!0}),e.prototype.fire=function(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new u.a);for(var t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);for(;this._deliveryQueue.size>0;){var i=this._deliveryQueue.shift(),o=i[0],s=i[1];try{"function"==typeof o?o.call(void 0,s):o[0].call(o[1],s)}catch(n){Object(r.e)(n)}}}},e.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},e._noop=function(){},e}(),d=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaused=0,n._eventQueue=new u.a,n._mergeFn=t&&t.merge,n}return l(t,e),t.prototype.pause=function(){this._isPaused++},t.prototype.resume=function(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){var t=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(t))}else for(;!this._isPaused&&0!==this._eventQueue.size;)e.prototype.fire.call(this,this._eventQueue.shift())},t.prototype.fire=function(t){this._listeners&&(0!==this._isPaused?this._eventQueue.push(t):e.prototype.fire.call(this,t))},t}(c),h=(function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new c({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var t=this,n={event:e,listener:null};this.events.push(n),this.hasListeners&&this.hook(n);return Object(a.f)(Object(s.a)((function(){t.hasListeners&&t.unhook(n);var e=t.events.indexOf(n);t.events.splice(e,1)})))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach((function(t){return e.hook(t)}))},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach((function(t){return e.unhook(t)}))},e.prototype.hook=function(e){var t=this;e.listener=e.event((function(e){return t.emitter.fire(e)}))},e.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()}}(),function(){function e(){this.buffers=[]}return e.prototype.wrapEvent=function(e){var t=this;return function(n,i,o){return e((function(e){var o=t.buffers[t.buffers.length-1];o?o.push((function(){return n.call(i,e)})):n.call(i,e)}),void 0,o)}},e.prototype.bufferEvents=function(e){var t=[];this.buffers.push(t);var n=e();return this.buffers.pop(),t.forEach((function(e){return e()})),n},e}()),f=function(){function e(){var e=this;this.listening=!1,this.inputEvent=o.None,this.inputEventListener=a.a.None,this.emitter=new c({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object.defineProperty(e.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},e}()},MNsG:function(e,t,n){"use strict";(function(e,i){n.d(t,"h",(function(){return g})),n.d(t,"e",(function(){return m})),n.d(t,"d",(function(){return v})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return y})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return C})),n.d(t,"i",(function(){return w})),n.d(t,"a",(function(){return S}));var o=!1,r=!1,s=!1,a=!1,u=!1,l=!1,c=void 0,d=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||d){if("object"==typeof e){o="win32"===e.platform,r="darwin"===e.platform,s="linux"===e.platform,"en","en";var h=Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).VSCODE_NLS_CONFIG;if(h)try{var f=JSON.parse(h),p=f.availableLanguages["*"];f.locale,p||"en",f._translationsConfigFile}catch(e){}a=!0}}else o=(c=navigator.userAgent).indexOf("Windows")>=0,r=c.indexOf("Macintosh")>=0,l=c.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=c.indexOf("Linux")>=0,u=!0,navigator.language;var g=o,m=r,v=s,_=a,y=u,b=l,C="object"==typeof self?self:"object"==typeof i?i:{},w=function(){if(C.setImmediate)return C.setImmediate.bind(C);if("function"==typeof C.postMessage&&!C.importScripts){var t=[];C.addEventListener("message",(function(e){if(e.data&&e.data.vscodeSetImmediateId)for(var n=0,i=t.length;n<i;n++){var o=t[n];if(o.id===e.data.vscodeSetImmediateId)return t.splice(n,1),void o.callback()}}));var n=0;return function(e){var i=++n;t.push({id:i,callback:e}),C.postMessage({vscodeSetImmediateId:i},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);var i=Promise.resolve();return function(e){return i.then(e)}}(),S=r?2:o?1:3}).call(this,n("KCCg"),n("yLpj"))},MXAL:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("CZ1j"),o=function(){function e(t){var n=Object(i.b)(t);this._defaultValue=n,this._asciiMap=e._createAsciiMap(n),this._map=new Map}return e._createAsciiMap=function(e){for(var t=new Uint8Array(256),n=0;n<256;n++)t[n]=e;return t},e.prototype.set=function(e,t){var n=Object(i.b)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)},e.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue},e}();!function(){function e(){this._actual=new o(0)}e.prototype.add=function(e){this._actual.set(e,1)},e.prototype.has=function(e){return 1===this._actual.get(e)}}()},MrjW:function(e,t,n){"use strict";n.r(t),n.d(t,"win32",(function(){return f})),n.d(t,"posix",(function(){return p})),n.d(t,"normalize",(function(){return g})),n.d(t,"join",(function(){return m})),n.d(t,"relative",(function(){return v})),n.d(t,"dirname",(function(){return _})),n.d(t,"basename",(function(){return y})),n.d(t,"extname",(function(){return b})),n.d(t,"sep",(function(){return C}));var i,o=n("wxcJ"),r=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(t,n,i){var o,r=this;"string"==typeof n&&0===n.indexOf("not ")?(o="must not be",n=n.replace(/^not /,"")):o="must be";var s=-1!==t.indexOf(".")?"property":"argument",a='The "'+t+'" '+s+" "+o+" of type "+n;return a+=". Received type "+typeof i,(r=e.call(this,a)||this).code="ERR_INVALID_ARG_TYPE",r}return r(t,e),t}(Error);function a(e,t){if("string"!=typeof e)throw new s(t,"string",e)}function u(e){return 47===e||92===e}function l(e){return 47===e}function c(e){return e>=65&&e<=90||e>=97&&e<=122}function d(e,t,n,i){for(var o,r="",s=0,a=-1,u=0,l=0;l<=e.length;++l){if(l<e.length)o=e.charCodeAt(l);else{if(i(o))break;o=47}if(i(o)){if(a===l-1||1===u);else if(a!==l-1&&2===u){if(r.length<2||2!==s||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2)){if(r.length>2){var c=r.lastIndexOf(n);-1===c?(r="",s=0):s=(r=r.slice(0,c)).length-1-r.lastIndexOf(n),a=l,u=0;continue}if(2===r.length||1===r.length){r="",s=0,a=l,u=0;continue}}t&&(r.length>0?r+=n+"..":r="..",s=2)}else r.length>0?r+=n+e.slice(a+1,l):r=e.slice(a+1,l),s=l-a-1;a=l,u=0}else 46===o&&-1!==u?++u:u=-1}return r}function h(e,t){var n=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+i:n+e+i:i}var f={resolve:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",i="",r=!1,s=e.length-1;s>=-1;s--){var l=void 0;if(s>=0?l=e[s]:n?void 0!==(l=o.b["="+n]||o.a())&&l.slice(0,3).toLowerCase()===n.toLowerCase()+"\\"||(l=n+"\\"):l=o.a(),a(l,"path"),0!==l.length){var h=l.length,f=0,p="",g=!1,m=l.charCodeAt(0);if(h>1)if(u(m))if(g=!0,u(l.charCodeAt(1))){for(var v=2,_=v;v<h&&!u(l.charCodeAt(v));++v);if(v<h&&v!==_){var y=l.slice(_,v);for(_=v;v<h&&u(l.charCodeAt(v));++v);if(v<h&&v!==_){for(_=v;v<h&&!u(l.charCodeAt(v));++v);v===h?(p="\\\\"+y+"\\"+l.slice(_),f=v):v!==_&&(p="\\\\"+y+"\\"+l.slice(_,v),f=v)}}}else f=1;else c(m)&&58===l.charCodeAt(1)&&(p=l.slice(0,2),f=2,h>2&&u(l.charCodeAt(2))&&(g=!0,f=3));else u(m)&&(f=1,g=!0);if(!(p.length>0&&n.length>0&&p.toLowerCase()!==n.toLowerCase())&&(0===n.length&&p.length>0&&(n=p),r||(i=l.slice(f)+"\\"+i,r=g),n.length>0&&r))break}}return n+(r?"\\":"")+(i=d(i,!r,"\\",u))||"."},normalize:function(e){a(e,"path");var t=e.length;if(0===t)return".";var n,i,o=0,r=!1,s=e.charCodeAt(0);if(t>1)if(u(s))if(r=!0,u(e.charCodeAt(1))){for(var l=2,h=l;l<t&&!u(e.charCodeAt(l));++l);if(l<t&&l!==h){var f=e.slice(h,l);for(h=l;l<t&&u(e.charCodeAt(l));++l);if(l<t&&l!==h){for(h=l;l<t&&!u(e.charCodeAt(l));++l);if(l===t)return"\\\\"+f+"\\"+e.slice(h)+"\\";l!==h&&(n="\\\\"+f+"\\"+e.slice(h,l),o=l)}}}else o=1;else c(s)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),o=2,t>2&&u(e.charCodeAt(2))&&(r=!0,o=3));else if(u(s))return"\\";return 0!==(i=o<t?d(e.slice(o),!r,"\\",u):"").length||r||(i="."),i.length>0&&u(e.charCodeAt(t-1))&&(i+="\\"),void 0===n?r?i.length>0?"\\"+i:"\\":i.length>0?i:"":r?i.length>0?n+"\\"+i:n+"\\":i.length>0?n+i:n},isAbsolute:function(e){a(e,"path");var t=e.length;if(0===t)return!1;var n=e.charCodeAt(0);return!!u(n)||!!(c(n)&&t>2&&58===e.charCodeAt(1)&&u(e.charCodeAt(2)))},join:function(){for(var e,t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(0===n.length)return".";for(var o=0;o<n.length;++o){var r=n[o];a(r,"path"),r.length>0&&(void 0===e?e=t=r:e+="\\"+r)}if(void 0===e)return".";var s=!0,l=0;if("string"==typeof t&&u(t.charCodeAt(0))){++l;var c=t.length;c>1&&u(t.charCodeAt(1))&&(++l,c>2&&(u(t.charCodeAt(2))?++l:s=!1))}if(s){for(;l<e.length&&u(e.charCodeAt(l));++l);l>=2&&(e="\\"+e.slice(l))}return f.normalize(e)},relative:function(e,t){if(a(e,"from"),a(t,"to"),e===t)return"";var n=f.resolve(e),i=f.resolve(t);if(n===i)return"";if((e=n.toLowerCase())===(t=i.toLowerCase()))return"";for(var o=0;o<e.length&&92===e.charCodeAt(o);++o);for(var r=e.length;r-1>o&&92===e.charCodeAt(r-1);--r);for(var s=r-o,u=0;u<t.length&&92===t.charCodeAt(u);++u);for(var l=t.length;l-1>u&&92===t.charCodeAt(l-1);--l);for(var c=l-u,d=s<c?s:c,h=-1,p=0;p<=d;++p){if(p===d){if(c>d){if(92===t.charCodeAt(u+p))return i.slice(u+p+1);if(2===p)return i.slice(u+p)}s>d&&(92===e.charCodeAt(o+p)?h=p:2===p&&(h=3));break}var g=e.charCodeAt(o+p);if(g!==t.charCodeAt(u+p))break;92===g&&(h=p)}if(p!==d&&-1===h)return i;var m="";for(-1===h&&(h=0),p=o+h+1;p<=r;++p)p!==r&&92!==e.charCodeAt(p)||(0===m.length?m+="..":m+="\\..");return m.length>0?m+i.slice(u+h,l):(u+=h,92===i.charCodeAt(u)&&++u,i.slice(u,l))},toNamespacedPath:function(e){if("string"!=typeof e)return e;if(0===e.length)return"";var t=f.resolve(e);if(t.length>=3)if(92===t.charCodeAt(0)){if(92===t.charCodeAt(1)){var n=t.charCodeAt(2);if(63!==n&&46!==n)return"\\\\?\\UNC\\"+t.slice(2)}}else if(c(t.charCodeAt(0))&&58===t.charCodeAt(1)&&92===t.charCodeAt(2))return"\\\\?\\"+t;return e},dirname:function(e){a(e,"path");var t=e.length;if(0===t)return".";var n=-1,i=-1,o=!0,r=0,s=e.charCodeAt(0);if(t>1)if(u(s)){if(n=r=1,u(e.charCodeAt(1))){for(var l=2,d=l;l<t&&!u(e.charCodeAt(l));++l);if(l<t&&l!==d){for(d=l;l<t&&u(e.charCodeAt(l));++l);if(l<t&&l!==d){for(d=l;l<t&&!u(e.charCodeAt(l));++l);if(l===t)return e;l!==d&&(n=r=l+1)}}}}else c(s)&&58===e.charCodeAt(1)&&(n=r=2,t>2&&u(e.charCodeAt(2))&&(n=r=3));else if(u(s))return e;for(var h=t-1;h>=r;--h)if(u(e.charCodeAt(h))){if(!o){i=h;break}}else o=!1;if(-1===i){if(-1===n)return".";i=n}return e.slice(0,i)},basename:function(e,t){void 0!==t&&a(t,"ext"),a(e,"path");var n,i=0,o=-1,r=!0;e.length>=2&&(c(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(i=2));if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,l=-1;for(n=e.length-1;n>=i;--n){var d=e.charCodeAt(n);if(u(d)){if(!r){i=n+1;break}}else-1===l&&(r=!1,l=n+1),s>=0&&(d===t.charCodeAt(s)?-1==--s&&(o=n):(s=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=i;--n)if(u(e.charCodeAt(n))){if(!r){i=n+1;break}}else-1===o&&(r=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname:function(e){a(e,"path");var t=0,n=-1,i=0,o=-1,r=!0,s=0;e.length>=2&&58===e.charCodeAt(1)&&c(e.charCodeAt(0))&&(t=i=2);for(var l=e.length-1;l>=t;--l){var d=e.charCodeAt(l);if(u(d)){if(!r){i=l+1;break}}else-1===o&&(r=!1,o=l+1),46===d?-1===n?n=l:1!==s&&(s=1):-1!==n&&(s=-1)}return-1===n||-1===o||0===s||1===s&&n===o-1&&n===i+1?"":e.slice(n,o)},format:function(e){if(null===e||"object"!=typeof e)throw new s("pathObject","Object",e);return h("\\",e)},parse:function(e){a(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n=e.length,i=0,o=e.charCodeAt(0);if(n>1){if(u(o)){if(i=1,u(e.charCodeAt(1))){for(var r=2,s=r;r<n&&!u(e.charCodeAt(r));++r);if(r<n&&r!==s){for(s=r;r<n&&u(e.charCodeAt(r));++r);if(r<n&&r!==s){for(s=r;r<n&&!u(e.charCodeAt(r));++r);r===n?i=r:r!==s&&(i=r+1)}}}}else if(c(o)&&58===e.charCodeAt(1)){if(i=2,!(n>2))return t.root=t.dir=e,t;if(u(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;i=3}}}else if(u(o))return t.root=t.dir=e,t;i>0&&(t.root=e.slice(0,i));for(var l=-1,d=i,h=-1,f=!0,p=e.length-1,g=0;p>=i;--p)if(u(o=e.charCodeAt(p))){if(!f){d=p+1;break}}else-1===h&&(f=!1,h=p+1),46===o?-1===l?l=p:1!==g&&(g=1):-1!==l&&(g=-1);return-1===l||-1===h||0===g||1===g&&l===h-1&&l===d+1?-1!==h&&(t.base=t.name=e.slice(d,h)):(t.name=e.slice(d,l),t.base=e.slice(d,h),t.ext=e.slice(l,h)),t.dir=d>0&&d!==i?e.slice(0,d-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},p={resolve:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",i=!1,r=e.length-1;r>=-1&&!i;r--){var s=void 0;a(s=r>=0?e[r]:o.a(),"path"),0!==s.length&&(n=s+"/"+n,i=47===s.charCodeAt(0))}return n=d(n,!i,"/",l),i?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(a(e,"path"),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=d(e,!t,"/",l)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return a(e,"path"),e.length>0&&47===e.charCodeAt(0)},join:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(0===t.length)return".";for(var i=0;i<t.length;++i){var o=arguments[i];a(o,"path"),o.length>0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":p.normalize(e)},relative:function(e,t){if(a(e,"from"),a(t,"to"),e===t)return"";if((e=p.resolve(e))===(t=p.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var i=e.length,o=i-n,r=1;r<t.length&&47===t.charCodeAt(r);++r);for(var s=t.length-r,u=o<s?o:s,l=-1,c=0;c<=u;++c){if(c===u){if(s>u){if(47===t.charCodeAt(r+c))return t.slice(r+c+1);if(0===c)return t.slice(r+c)}else o>u&&(47===e.charCodeAt(n+c)?l=c:0===c&&(l=0));break}var d=e.charCodeAt(n+c);if(d!==t.charCodeAt(r+c))break;47===d&&(l=c)}var h="";for(c=n+l+1;c<=i;++c)c!==i&&47!==e.charCodeAt(c)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(r+l):(r+=l,47===t.charCodeAt(r)&&++r,t.slice(r))},toNamespacedPath:function(e){return e},dirname:function(e){if(a(e,"path"),0===e.length)return".";for(var t=47===e.charCodeAt(0),n=-1,i=!0,o=e.length-1;o>=1;--o)if(47===e.charCodeAt(o)){if(!i){n=o;break}}else i=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename:function(e,t){void 0!==t&&a(t,"ext"),a(e,"path");var n,i=0,o=-1,r=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,u=-1;for(n=e.length-1;n>=0;--n){var l=e.charCodeAt(n);if(47===l){if(!r){i=n+1;break}}else-1===u&&(r=!1,u=n+1),s>=0&&(l===t.charCodeAt(s)?-1==--s&&(o=n):(s=-1,o=u))}return i===o?o=u:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!r){i=n+1;break}}else-1===o&&(r=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname:function(e){a(e,"path");for(var t=-1,n=0,i=-1,o=!0,r=0,s=e.length-1;s>=0;--s){var u=e.charCodeAt(s);if(47!==u)-1===i&&(o=!1,i=s+1),46===u?-1===t?t=s:1!==r&&(r=1):-1!==t&&(r=-1);else if(!o){n=s+1;break}}return-1===t||-1===i||0===r||1===r&&t===i-1&&t===n+1?"":e.slice(t,i)},format:function(e){if(null===e||"object"!=typeof e)throw new s("pathObject","Object",e);return h("/",e)},parse:function(e){a(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,i=47===e.charCodeAt(0);i?(t.root="/",n=1):n=0;for(var o=-1,r=0,s=-1,u=!0,l=e.length-1,c=0;l>=n;--l){var d=e.charCodeAt(l);if(47!==d)-1===s&&(u=!1,s=l+1),46===d?-1===o?o=l:1!==c&&(c=1):-1!==o&&(c=-1);else if(!u){r=l+1;break}}return-1===o||-1===s||0===c||1===c&&o===s-1&&o===r+1?-1!==s&&(t.base=t.name=0===r&&i?e.slice(1,s):e.slice(r,s)):(0===r&&i?(t.name=e.slice(1,o),t.base=e.slice(1,s)):(t.name=e.slice(r,o),t.base=e.slice(r,s)),t.ext=e.slice(o,s)),r>0?t.dir=e.slice(0,r-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};p.win32=f.win32=f,p.posix=f.posix=p;var g="win32"===o.c?f.normalize:p.normalize,m="win32"===o.c?f.join:p.join,v="win32"===o.c?f.relative:p.relative,_="win32"===o.c?f.dirname:p.dirname,y="win32"===o.c?f.basename:p.basename,b="win32"===o.c?f.extname:p.extname,C="win32"===o.c?f.sep:p.sep},Msxo:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"r",extensions:[".r",".rhistory",".rprofile",".rt"],aliases:["R","r"],loader:function(){return n.e(170).then(n.bind(null,"Qx4d"))}})},Mzro:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return n.e(179).then(n.bind(null,"l/4i"))}})},N0LK:function(e,t,n){"use strict";function i(e){return!e||"string"!=typeof e||0===e.trim().length}n.d(t,"v",(function(){return i})),n.d(t,"p",(function(){return r})),n.d(t,"m",(function(){return s})),n.d(t,"n",(function(){return a})),n.d(t,"i",(function(){return u})),n.d(t,"H",(function(){return l})),n.d(t,"k",(function(){return c})),n.d(t,"j",(function(){return d})),n.d(t,"F",(function(){return h})),n.d(t,"E",(function(){return f})),n.d(t,"o",(function(){return p})),n.d(t,"r",(function(){return g})),n.d(t,"B",(function(){return m})),n.d(t,"z",(function(){return v})),n.d(t,"A",(function(){return _})),n.d(t,"l",(function(){return b})),n.d(t,"I",(function(){return w})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return L})),n.d(t,"x",(function(){return N})),n.d(t,"y",(function(){return O})),n.d(t,"s",(function(){return D})),n.d(t,"C",(function(){return E})),n.d(t,"D",(function(){return k})),n.d(t,"g",(function(){return M})),n.d(t,"e",(function(){return A})),n.d(t,"t",(function(){return P})),n.d(t,"f",(function(){return F})),n.d(t,"w",(function(){return V})),n.d(t,"u",(function(){return W})),n.d(t,"a",(function(){return B})),n.d(t,"J",(function(){return j})),n.d(t,"h",(function(){return H})),n.d(t,"G",(function(){return z})),n.d(t,"q",(function(){return U})),n.d(t,"b",(function(){return K}));var o=/{(\d+)}/g;function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return 0===t.length?e:e.replace(o,(function(e,n){var i=parseInt(n,10);return isNaN(i)||i<0||i>=t.length?e:t[i]}))}function s(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function a(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function u(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function l(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function c(e,t){var n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function d(e,t,n){if(void 0===n&&(n={}),!e)throw new Error("Cannot create regex from empty string");t||(e=a(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));var i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)}function h(e){return"^"!==e.source&&"^$"!==e.source&&"$"!==e.source&&"^\\s*$"!==e.source&&!(!e.exec("")||0!==e.lastIndex)}function f(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function p(e){for(var t=0,n=e.length;t<n;t++){var i=e.charCodeAt(t);if(32!==i&&9!==i)return t}return-1}function g(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var i=t;i<n;i++){var o=e.charCodeAt(i);if(32!==o&&9!==o)return e.substring(t,i)}return e.substring(t,n)}function m(e,t){void 0===t&&(t=e.length-1);for(var n=t;n>=0;n--){var i=e.charCodeAt(n);if(32!==i&&9!==i)return n}return-1}function v(e){return e>=97&&e<=122}function _(e){return e>=65&&e<=90}function y(e){return v(e)||_(e)}function b(e,t){return e.length===t.length&&C(e,t)}function C(e,t,n){void 0===n&&(n=e.length);for(var i=0;i<n;i++){var o=e.charCodeAt(i),r=t.charCodeAt(i);if(o!==r)if(y(o)&&y(r)){var s=Math.abs(o-r);if(0!==s&&32!==s)return!1}else if(String.fromCharCode(o).toLowerCase()!==String.fromCharCode(r).toLowerCase())return!1}return!0}function w(e,t){var n=t.length;return!(t.length>e.length)&&C(e,t,n)}function S(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return i}function L(e,t){var n,i=Math.min(e.length,t.length),o=e.length-1,r=t.length-1;for(n=0;n<i;n++)if(e.charCodeAt(o-n)!==t.charCodeAt(r-n))return n;return i}function N(e){return 55296<=e&&e<=56319}function O(e){return 56320<=e&&e<=57343}function D(e,t,n){var i=e.charCodeAt(n);if(N(i)&&n+1<t){var o=e.charCodeAt(n+1);if(O(o))return o-56320+(i-55296<<10)+65536}return i}function x(e,t){var n=e.charCodeAt(t-1);if(O(n)&&t>1){var i=e.charCodeAt(t-2);if(N(i))return n-56320+(i-55296<<10)+65536}return n}function E(e,t){var n=q.getInstance(),i=t,o=e.length,r=D(e,o,t);t+=r>=65536?2:1;for(var s=n.getGraphemeBreakType(r);t<o;){var a=D(e,o,t),u=n.getGraphemeBreakType(a);if(K(s,u))break;t+=a>=65536?2:1,s=u}return t-i}function k(e,t){var n=q.getInstance(),i=t,o=x(e,t);t-=o>=65536?2:1;for(var r=n.getGraphemeBreakType(o);t>0;){var s=x(e,t),a=n.getGraphemeBreakType(s);if(K(a,r))break;t-=s>=65536?2:1,r=a}return i-t}var I=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function M(e){return I.test(e)}var T=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function A(e){return T.test(e)}var R=/^[\t\n\r\x20-\x7E]*$/;function P(e){return R.test(e)}function F(e){for(var t=0,n=e.length;t<n;t++)if(V(e.charCodeAt(t)))return!0;return!1}function V(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function W(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}var B=String.fromCharCode(65279);function j(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function H(e,t){return void 0===t&&(t=!1),!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function z(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function U(e){return q.getInstance().getGraphemeBreakType(e)}function K(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}var q=function(){function e(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}return e.getInstance=function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE},e.prototype.getGraphemeBreakType=function(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;for(var t=this._data,n=t.length/3,i=1;i<=n;)if(e<t[3*i])i*=2;else{if(!(e>t[3*i+1]))return t[3*i+2];i=2*i+1}return 0},e._INSTANCE=null,e}()},OBOq:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return d}));n("UCkY");var i,o,r,s=n("3/fG"),a=n("MNsG"),u=n("EffR");function l(e){(i=document.createElement("div")).className="monaco-aria-container",(o=document.createElement("div")).className="monaco-alert",o.setAttribute("role","alert"),o.setAttribute("aria-atomic","true"),i.appendChild(o),(r=document.createElement("div")).className="monaco-status",r.setAttribute("role","status"),r.setAttribute("aria-atomic","true"),i.appendChild(r),e.appendChild(i)}function c(e,t){p(o,e,t)}function d(e,t){a.e?c(e,t):p(r,e,t)}var h=0,f=void 0;function p(e,t,n){if(i){if(!n)switch(f===t?h++:(f=t,h=0),h){case 0:break;case 1:t=s.a("repeated","{0} (occurred again)",t);break;default:t=s.a("repeatedNtimes","{0} (occurred {1} times)",t,h)}u.o(e),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}}},OKK6:function(e,t,n){},OOlL:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return n.e(143).then(n.bind(null,"NlLO"))}})},PTeM:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n("N0LK"),o=n("MrjW");function r(e){return e.replace(/[\\/]/g,o.posix.sep)}function s(e,t,n,r){if(void 0===r&&(r=o.sep),e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(n){if(!Object(i.I)(e,t))return!1;if(t.length===e.length)return!0;var s=t.length;return t.charAt(t.length-1)===r&&s--,e.charAt(s)===r}return t.charAt(t.length-1)!==r&&(t+=r),0===e.indexOf(t)}function a(e){return e>=65&&e<=90||e>=97&&e<=122}},QDVR:function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h}));var i,o=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function r(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function s(e){var t=[];return e.forEach((function(e,n){return t.push(n)})),t}var a=function(){function e(){this._value="",this._pos=0}return e.prototype.reset=function(e){return this._value=e,this._pos=0,this},e.prototype.next=function(){return this._pos+=1,this},e.prototype.hasNext=function(){return this._pos<this._value.length-1},e.prototype.cmp=function(e){return e.charCodeAt(0)-this._value.charCodeAt(this._pos)},e.prototype.value=function(){return this._value[this._pos]},e}(),u=function(){function e(e){void 0===e&&(e=!0),this._splitOnBackslash=e}return e.prototype.reset=function(e){return this._value=e.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()},e.prototype.hasNext=function(){return this._to<this._value.length},e.prototype.next=function(){this._from=this._to;for(var e=!0;this._to<this._value.length;this._to++){var t=this._value.charCodeAt(this._to);if(47===t||this._splitOnBackslash&&92===t){if(!e)break;this._from++}else e=!1}return this},e.prototype.cmp=function(e){for(var t=0,n=e.length,i=this._from;t<n&&i<this._to;){var o=e.charCodeAt(t)-this._value.charCodeAt(i);if(0!==o)return o;t+=1,i+=1}return n===this._to-this._from?0:t<n?-1:1},e.prototype.value=function(){return this._value.substring(this._from,this._to)},e}(),l=function(){},c=function(){function e(e){this._iter=e}return e.forPaths=function(){return new e(new u)},e.forStrings=function(){return new e(new a)},e.prototype.clear=function(){this._root=void 0},e.prototype.set=function(e,t){var n,i=this._iter.reset(e);for(this._root||(this._root=new l,this._root.segment=i.value()),n=this._root;;){var o=i.cmp(n.segment);if(o>0)n.left||(n.left=new l,n.left.segment=i.value()),n=n.left;else if(o<0)n.right||(n.right=new l,n.right.segment=i.value()),n=n.right;else{if(!i.hasNext())break;i.next(),n.mid||(n.mid=new l,n.mid.segment=i.value()),n=n.mid}}var r=n.value;return n.value=t,n.key=e,r},e.prototype.get=function(e){for(var t=this._iter.reset(e),n=this._root;n;){var i=t.cmp(n.segment);if(i>0)n=n.left;else if(i<0)n=n.right;else{if(!t.hasNext())break;t.next(),n=n.mid}}return n?n.value:void 0},e.prototype.findSubstr=function(e){for(var t=this._iter.reset(e),n=this._root,i=void 0;n;){var o=t.cmp(n.segment);if(o>0)n=n.left;else if(o<0)n=n.right;else{if(!t.hasNext())break;t.next(),i=n.value||i,n=n.mid}}return n&&n.value||i},e.prototype.forEach=function(e){this._forEach(this._root,e)},e.prototype._forEach=function(e,t){e&&(this._forEach(e.left,t),e.value&&t(e.value,e.key),this._forEach(e.mid,t),this._forEach(e.right,t))},e}(),d=function(){function e(){this.map=new Map,this.ignoreCase=!1}return e.prototype.set=function(e,t){this.map.set(this.toKey(e),t)},e.prototype.get=function(e){return this.map.get(this.toKey(e))},e.prototype.toKey=function(e){var t=e.toString();return this.ignoreCase&&(t=t.toLowerCase()),t},e}(),h=function(e){function t(t,n){void 0===n&&(n=1);var i=e.call(this)||this;return i._limit=t,i._ratio=Math.min(Math.max(0,n),1),i}return o(t,e),t.prototype.get=function(t){return e.prototype.get.call(this,t,2)},t.prototype.peek=function(t){return e.prototype.get.call(this,t,0)},t.prototype.set=function(t,n){e.prototype.set.call(this,t,n,2),this.checkTrim()},t.prototype.checkTrim=function(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))},t}(function(){function e(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0}return e.prototype.clear=function(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.get=function(e,t){void 0===t&&(t=0);var n=this._map.get(e);if(n)return 0!==t&&this.touch(n,t),n.value},e.prototype.set=function(e,t,n){void 0===n&&(n=0);var i=this._map.get(e);if(i)i.value=t,0!==n&&this.touch(i,n);else{switch(i={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:default:this.addItemLast(i)}this._map.set(e,i),this._size++}},e.prototype.delete=function(e){return!!this.remove(e)},e.prototype.remove=function(e){var t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value},e.prototype.forEach=function(e,t){for(var n=this._head;n;)t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),n=n.next},e.prototype.trimOld=function(e){if(!(e>=this.size))if(0!==e){for(var t=this._head,n=this.size;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0)}else this.clear()},e.prototype.addItemFirst=function(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e},e.prototype.addItemLast=function(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e},e.prototype.removeItem=function(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{var t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0},e.prototype.touch=function(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e===this._head)return;var n=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(n.previous=i,i.next=n),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e}else if(2===t){if(e===this._tail)return;n=e.next,i=e.previous;e===this._head?(n.previous=void 0,this._head=n):(n.previous=i,i.next=n),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e}},e.prototype.toJSON=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),e},e}())},QFiB:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return n.e(159).then(n.bind(null,"PhST"))}})},QRHv:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"e",(function(){return m})),n.d(t,"d",(function(){return v}));var i=n("6OMU"),o=n("4bUh"),r=n("cGHE"),s=n("twdY");function a(e){for(var t=0,n=0,i=0,o=0,r=e.length;o<r;o++){var s=e.charCodeAt(o);13===s?(0===t&&(n=o),t++,o+1<r&&10===e.charCodeAt(o+1)&&o++,i=o+1):10===s&&(0===t&&(n=o),t++,i=o+1)}return 0===t&&(n=e.length),[t,n,e.length-i]}function u(e){return(16384|e<<0|2<<23)>>>0}var l=new Uint32Array(0).buffer,c=function(){function e(){this.tokens=[]}return e.prototype.add=function(e,t){if(this.tokens.length>0){var n=this.tokens[this.tokens.length-1];if(n.startLineNumber+n.tokens.length-1+1===e)return void n.tokens.push(t)}this.tokens.push(new p(e,[t]))},e}(),d=function(){function e(e){this._tokens=e,this._tokenCount=e.length/4}return e.prototype.getMaxDeltaLine=function(){var e=this.getTokenCount();return 0===e?-1:this.getDeltaLine(e-1)},e.prototype.getTokenCount=function(){return this._tokenCount},e.prototype.getDeltaLine=function(e){return this._tokens[4*e]},e.prototype.getStartCharacter=function(e){return this._tokens[4*e+1]},e.prototype.getEndCharacter=function(e){return this._tokens[4*e+2]},e.prototype.getMetadata=function(e){return this._tokens[4*e+3]},e.prototype.clear=function(){this._tokenCount=0},e.prototype.acceptDeleteRange=function(e,t,n,i,o){for(var r=this._tokens,s=this._tokenCount,a=i-t,u=0,l=!1,c=0;c<s;c++){var d=4*c,h=r[d],f=r[d+1],p=r[d+2],g=r[d+3];if(h<t||h===t&&p<=n)u++;else{if(h===t&&f<n)h===i&&p>o?p-=o-n:p=n;else if(h===t&&f===n){if(!(h===i&&p>o)){l=!0;continue}p-=o-n}else if(h<i||h===i&&f<o){if(!(h===i&&p>o)){l=!0;continue}p=h===t?(f=n)+(p-o):(f=0)+(p-o)}else if(h>i){if(0===a&&!l){u=s;break}h-=a}else{if(!(h===i&&f>=o))throw new Error("Not possible!");e&&0===h&&(f+=e,p+=e),h-=a,f-=o-n,p-=o-n}var m=4*u;r[m]=h,r[m+1]=f,r[m+2]=p,r[m+3]=g,u++}}this._tokenCount=u},e.prototype.acceptInsertText=function(e,t,n,i,o,r){for(var s=0===n&&1===i&&(r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122),a=this._tokens,u=this._tokenCount,l=0;l<u;l++){var c=4*l,d=a[c],h=a[c+1],f=a[c+2];if(!(d<e||d===e&&f<t)){if(d===e&&f===t){if(!s)continue;f+=1}else if(d===e&&h<t&&t<f)0===n?f+=i:f=t;else{if(d===e&&h===t&&s)continue;if(d===e)if(d+=n,0===n)h+=i,f+=i;else{var p=f-h;f=(h=o+(h-t))+p}else d+=n}a[c]=d,a[c+1]=h,a[c+2]=f}}},e}(),h=function(){function e(e,t,n){this._actual=e,this._startTokenIndex=t,this._endTokenIndex=n}return e.prototype.getCount=function(){return this._endTokenIndex-this._startTokenIndex+1},e.prototype.getStartCharacter=function(e){return this._actual.getStartCharacter(this._startTokenIndex+e)},e.prototype.getEndCharacter=function(e){return this._actual.getEndCharacter(this._startTokenIndex+e)},e.prototype.getMetadata=function(e){return this._actual.getMetadata(this._startTokenIndex+e)},e}(),f=function(){function e(e,t){this.startLineNumber=e,this.tokens=t,this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}return e.prototype._updateEndLineNumber=function(){this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()},e.prototype.getLineTokens=function(t){if(this.startLineNumber<=t&&t<=this.endLineNumber){var n=e._findTokensWithLine(this.tokens,t-this.startLineNumber);if(n){var i=n[0],o=n[1];return new h(this.tokens,i,o)}}return null},e._findTokensWithLine=function(e,t){for(var n=0,i=e.getTokenCount()-1;n<i;){var o=n+Math.floor((i-n)/2),r=e.getDeltaLine(o);if(r<t)n=o+1;else{if(!(r>t)){for(var s=o;s>n&&e.getDeltaLine(s-1)===t;)s--;for(var a=o;a<i&&e.getDeltaLine(a+1)===t;)a++;return[s,a]}i=o-1}}return e.getDeltaLine(n)===t?[n,n]:null},e.prototype.applyEdit=function(e,t){var n=a(t),i=n[0],o=n[1],r=n[2];this.acceptEdit(e,i,o,r,t.length>0?t.charCodeAt(0):0)},e.prototype.acceptEdit=function(e,t,n,i,o){this._acceptDeleteRange(e),this._acceptInsertText(new r.a(e.startLineNumber,e.startColumn),t,n,i,o),this._updateEndLineNumber()},e.prototype._acceptDeleteRange=function(e){if(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn){var t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber;if(n<0){var i=n-t;this.startLineNumber-=i}else{var o=this.tokens.getMaxDeltaLine();if(!(t>=o+1)){if(t<0&&n>=o+1)return this.startLineNumber=0,void this.tokens.clear();if(t<0){var r=-t;this.startLineNumber-=r,this.tokens.acceptDeleteRange(e.startColumn-1,0,0,n,e.endColumn-1)}else this.tokens.acceptDeleteRange(0,t,e.startColumn-1,n,e.endColumn-1)}}}},e.prototype._acceptInsertText=function(e,t,n,i,o){if(0!==t||0!==n){var r=e.lineNumber-this.startLineNumber;if(r<0)this.startLineNumber+=t;else r>=this.tokens.getMaxDeltaLine()+1||this.tokens.acceptInsertText(r,e.column-1,t,n,i,o)}},e}(),p=function(e,t){this.startLineNumber=e,this.tokens=t};function g(e){return e instanceof Uint32Array?e:new Uint32Array(e)}var m=function(){function e(){this._pieces=[]}return e.prototype.flush=function(){this._pieces=[]},e.prototype.set=function(e){this._pieces=e||[]},e.prototype.addSemanticTokens=function(t,n){var i=this._pieces;if(0===i.length)return n;var r=e._findFirstPieceWithLine(i,t),s=this._pieces[r].getLineTokens(t);if(!s)return n;for(var a=n.getCount(),u=s.getCount(),l=0,c=[],d=0,h=0;h<u;h++){for(var f=s.getStartCharacter(h),p=s.getEndCharacter(h),g=s.getMetadata(h),m=((1&g?2048:0)|(2&g?4096:0)|(4&g?8192:0)|(8&g?8372224:0)|(16&g?4286578688:0))>>>0,v=~m>>>0;l<a&&n.getEndOffset(l)<=f;)c[d++]=n.getEndOffset(l),c[d++]=n.getMetadata(l),l++;for(l<a&&n.getStartOffset(l)<f&&(c[d++]=f,c[d++]=n.getMetadata(l));l<a&&n.getEndOffset(l)<p;)c[d++]=n.getEndOffset(l),c[d++]=n.getMetadata(l)&v|g&m,l++;if(l<a&&n.getEndOffset(l)===p)c[d++]=n.getEndOffset(l),c[d++]=n.getMetadata(l)&v|g&m,l++;else{var _=Math.min(Math.max(0,l-1),a-1);c[d++]=p,c[d++]=n.getMetadata(_)&v|g&m}}for(;l<a;)c[d++]=n.getEndOffset(l),c[d++]=n.getMetadata(l),l++;return new o.a(new Uint32Array(c),n.getLineContent())},e._findFirstPieceWithLine=function(e,t){for(var n=0,i=e.length-1;n<i;){var o=n+Math.floor((i-n)/2);if(e[o].endLineNumber<t)n=o+1;else{if(!(e[o].startLineNumber>t)){for(;o>n&&e[o-1].startLineNumber<=t&&t<=e[o-1].endLineNumber;)o--;return o}i=o-1}}return n},e.prototype.acceptEdit=function(e,t,n,i,o){for(var r=0,s=this._pieces;r<s.length;r++){s[r].acceptEdit(e,t,n,i,o)}},e}(),v=function(){function e(){this._lineTokens=[],this._len=0}return e.prototype.flush=function(){this._lineTokens=[],this._len=0},e.prototype.getTokens=function(e,t,n){var i=null;if(t<this._len&&(i=this._lineTokens[t]),null!==i&&i!==l)return new o.a(g(i),n);var r=new Uint32Array(2);return r[0]=n.length,r[1]=u(e),new o.a(r,n)},e._massageTokens=function(e,t,n){var i=n?g(n):null;if(0===t){var o=!1;if(i&&i.length>1&&(o=s.x.getLanguageId(i[1])!==e),!o)return l}if(!i||0===i.length){var r=new Uint32Array(2);return r[0]=t,r[1]=u(e),r.buffer}return i[i.length-2]=t,0===i.byteOffset&&i.byteLength===i.buffer.byteLength?i.buffer:i},e.prototype._ensureLine=function(e){for(;e>=this._len;)this._lineTokens[this._len]=null,this._len++},e.prototype._deleteLines=function(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)},e.prototype._insertLines=function(e,t){if(0!==t){for(var n=[],o=0;o<t;o++)n[o]=null;this._lineTokens=i.a(this._lineTokens,e,n),this._len+=t}},e.prototype.setTokens=function(t,n,i,o){var r=e._massageTokens(t,i,o);this._ensureLine(n),this._lineTokens[n]=r},e.prototype.acceptEdit=function(e,t,n){this._acceptDeleteRange(e),this._acceptInsertText(new r.a(e.startLineNumber,e.startColumn),t,n)},e.prototype._acceptDeleteRange=function(t){var n=t.startLineNumber-1;if(!(n>=this._len))if(t.startLineNumber!==t.endLineNumber){this._lineTokens[n]=e._deleteEnding(this._lineTokens[n],t.startColumn-1);var i=t.endLineNumber-1,o=null;i<this._len&&(o=e._deleteBeginning(this._lineTokens[i],t.endColumn-1)),this._lineTokens[n]=e._append(this._lineTokens[n],o),this._deleteLines(t.startLineNumber,t.endLineNumber-t.startLineNumber)}else{if(t.startColumn===t.endColumn)return;this._lineTokens[n]=e._delete(this._lineTokens[n],t.startColumn-1,t.endColumn-1)}},e.prototype._acceptInsertText=function(t,n,i){if(0!==n||0!==i){var o=t.lineNumber-1;o>=this._len||(0!==n?(this._lineTokens[o]=e._deleteEnding(this._lineTokens[o],t.column-1),this._lineTokens[o]=e._insert(this._lineTokens[o],t.column-1,i),this._insertLines(t.lineNumber,n)):this._lineTokens[o]=e._insert(this._lineTokens[o],t.column-1,i))}},e._deleteBeginning=function(t,n){return null===t||t===l?t:e._delete(t,0,n)},e._deleteEnding=function(t,n){if(null===t||t===l)return t;var i=g(t),o=i[i.length-2];return e._delete(t,n,o)},e._delete=function(e,t,n){if(null===e||e===l||t===n)return e;var i=g(e),r=i.length>>>1;if(0===t&&i[i.length-2]===n)return l;var s,a,u=o.a.findIndexInTokensArray(i,t),c=u>0?i[u-1<<1]:0;if(n<i[u<<1]){for(var d=n-t,h=u;h<r;h++)i[h<<1]-=d;return e}c!==t?(i[u<<1]=t,s=u+1<<1,a=t):(s=u<<1,a=c);for(var f=n-t,p=u+1;p<r;p++){var m=i[p<<1]-f;m>a&&(i[s++]=m,i[s++]=i[1+(p<<1)],a=m)}if(s===i.length)return e;var v=new Uint32Array(s);return v.set(i.subarray(0,s),0),v.buffer},e._append=function(e,t){if(t===l)return e;if(e===l)return t;if(null===e)return e;if(null===t)return null;var n=g(e),i=g(t),o=i.length>>>1,r=new Uint32Array(n.length+i.length);r.set(n,0);for(var s=n.length,a=n[n.length-2],u=0;u<o;u++)r[s++]=i[u<<1]+a,r[s++]=i[1+(u<<1)];return r.buffer},e._insert=function(e,t,n){if(null===e||e===l)return e;var i=g(e),r=i.length>>>1,s=o.a.findIndexInTokensArray(i,t);s>0&&(i[s-1<<1]===t&&s--);for(var a=s;a<r;a++)i[a<<1]+=n;return e},e}()},QiAa:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return n.e(172).then(n.bind(null,"j6Xs"))}})},QuOb:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i,o=n("MI8n"),r=n("pmY6"),s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){function e(e,t,n,i,o,r){(e|=0)<0&&(e=0),(n|=0)+e>(t|=0)&&(n=t-e),n<0&&(n=0),(i|=0)<0&&(i=0),(r|=0)+i>(o|=0)&&(r=o-i),r<0&&(r=0),this.width=e,this.scrollWidth=t,this.scrollLeft=n,this.height=i,this.scrollHeight=o,this.scrollTop=r}return e.prototype.equals=function(e){return this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop},e.prototype.withScrollDimensions=function(t){return new e(void 0!==t.width?t.width:this.width,void 0!==t.scrollWidth?t.scrollWidth:this.scrollWidth,this.scrollLeft,void 0!==t.height?t.height:this.height,void 0!==t.scrollHeight?t.scrollHeight:this.scrollHeight,this.scrollTop)},e.prototype.withScrollPosition=function(t){return new e(this.width,this.scrollWidth,void 0!==t.scrollLeft?t.scrollLeft:this.scrollLeft,this.height,this.scrollHeight,void 0!==t.scrollTop?t.scrollTop:this.scrollTop)},e.prototype.createScrollEvent=function(e){var t=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,i=this.scrollLeft!==e.scrollLeft,o=this.height!==e.height,r=this.scrollHeight!==e.scrollHeight,s=this.scrollTop!==e.scrollTop;return{width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:t,scrollWidthChanged:n,scrollLeftChanged:i,heightChanged:o,scrollHeightChanged:r,scrollTopChanged:s}},e}(),u=function(e){function t(t,n){var i=e.call(this)||this;return i._onScroll=i._register(new o.a),i.onScroll=i._onScroll.event,i._smoothScrollDuration=t,i._scheduleAtNextAnimationFrame=n,i._state=new a(0,0,0,0,0,0),i._smoothScrolling=null,i}return s(t,e),t.prototype.dispose=function(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),e.prototype.dispose.call(this)},t.prototype.setSmoothScrollDuration=function(e){this._smoothScrollDuration=e},t.prototype.validateScrollPosition=function(e){return this._state.withScrollPosition(e)},t.prototype.getScrollDimensions=function(){return this._state},t.prototype.setScrollDimensions=function(e){var t=this._state.withScrollDimensions(e);this._setState(t),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)},t.prototype.getFutureScrollPosition=function(){return this._smoothScrolling?this._smoothScrolling.to:this._state},t.prototype.getCurrentScrollPosition=function(){return this._state},t.prototype.setScrollPositionNow=function(e){var t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t)},t.prototype.setScrollPositionSmooth=function(e){var t=this;if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:void 0===e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:void 0===e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};var n=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;var i=this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=i}else{n=this._state.withScrollPosition(e);this._smoothScrolling=d.start(this._state,n,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((function(){t._smoothScrolling&&(t._smoothScrolling.animationFrameDisposable=null,t._performSmoothScrolling())}))},t.prototype._performSmoothScrolling=function(){var e=this;if(this._smoothScrolling){var t=this._smoothScrolling.tick(),n=this._state.withScrollPosition(t);if(this._setState(n),t.isDone)return this._smoothScrolling.dispose(),void(this._smoothScrolling=null);this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((function(){e._smoothScrolling&&(e._smoothScrolling.animationFrameDisposable=null,e._performSmoothScrolling())}))}},t.prototype._setState=function(e){var t=this._state;t.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(t)))},t}(r.a),l=function(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n};function c(e,t){var n=t-e;return function(t){return e+n*(1-function(e){return Math.pow(e,3)}(1-t))}}var d=function(){function e(e,t,n,i){this.from=e,this.to=t,this.duration=i,this._startTime=n,this.animationFrameDisposable=null,this._initAnimations()}return e.prototype._initAnimations=function(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)},e.prototype._initAnimation=function(e,t,n){var i,o,r;if(Math.abs(e-t)>2.5*n){var s=void 0,a=void 0;return e<t?(s=e+.75*n,a=t-.75*n):(s=e-.75*n,a=t+.75*n),i=c(e,s),o=c(a,t),r=.33,function(e){return e<r?i(e/r):o((e-r)/(1-r))}}return c(e,t)},e.prototype.dispose=function(){null!==this.animationFrameDisposable&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)},e.prototype.acceptScrollDimensions=function(e){this.to=e.withScrollPosition(this.to),this._initAnimations()},e.prototype.tick=function(){return this._tick(Date.now())},e.prototype._tick=function(e){var t=(e-this._startTime)/this.duration;if(t<1){var n=this.scrollLeft(t),i=this.scrollTop(t);return new l(n,i,!1)}return new l(this.to.scrollLeft,this.to.scrollTop,!0)},e.prototype.combine=function(t,n,i){return e.start(t,n,i)},e.start=function(t,n,i){return i+=10,new e(t,n,Date.now()-10,i)},e}()},S3by:function(e,t,n){"use strict";var i,o=n("3/fG"),r=n("N0LK");!function(e){e[e.Ignore=0]="Ignore",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(i||(i={})),function(e){var t=Object.create(null);t[e.Error]=o.a("sev.error","Error"),t[e.Warning]=o.a("sev.warning","Warning"),t[e.Info]=o.a("sev.info","Info"),e.fromValue=function(t){return t?r.l("error",t)?e.Error:r.l("warning",t)||r.l("warn",t)?e.Warning:r.l("info",t)?e.Info:e.Ignore:e.Ignore}}(i||(i={})),t.a=i},SvYn:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return n.e(150).then(n.bind(null,"Dsrv"))}})},T8No:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return m})),n.d(t,"d",(function(){return v})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return y}));var i,o=n("N0LK"),r=n("Cg/j"),s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){function e(){}return e.has=function(e){return l.create(e)},e.equals=function(e,t){return c.create(e,t)},e.regex=function(e,t){return f.create(e,t)},e.not=function(e){return h.create(e)},e.and=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return g.create(e)},e.or=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return m.create(e)},e.deserialize=function(e,t){if(void 0===t&&(t=!1),e)return this._deserializeOrExpression(e,t)},e._deserializeOrExpression=function(e,t){var n=this,i=e.split("||");return m.create(i.map((function(e){return n._deserializeAndExpression(e,t)})))},e._deserializeAndExpression=function(e,t){var n=this,i=e.split("&&");return g.create(i.map((function(e){return n._deserializeOne(e,t)})))},e._deserializeOne=function(e,t){if((e=e.trim()).indexOf("!=")>=0){var n=e.split("!=");return d.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("==")>=0){n=e.split("==");return c.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("=~")>=0){n=e.split("=~");return f.create(n[0].trim(),this._deserializeRegexValue(n[1],t))}return/^\!\s*/.test(e)?h.create(e.substr(1).trim()):l.create(e)},e._deserializeValue=function(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;var n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e},e._deserializeRegexValue=function(e,t){if(Object(o.v)(e)){if(t)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}var n=e.indexOf("/"),i=e.lastIndexOf("/");if(n===i||n<0){if(t)throw new Error("bad regexp-value '"+e+"', missing /-enclosure");return console.warn("bad regexp-value '"+e+"', missing /-enclosure"),null}var r=e.slice(n+1,i),s="i"===e[i+1]?"i":"";try{return new RegExp(r,s)}catch(n){if(t)throw new Error("bad regexp-value '"+e+"', parse error: "+n);return console.warn("bad regexp-value '"+e+"', parse error: "+n),null}},e}();function u(e,t){var n=e.getType(),i=t.getType();if(n!==i)return n-i;switch(n){case 1:case 2:case 3:case 4:case 6:case 7:case 5:return e.cmp(t);default:throw new Error("Unknown ContextKeyExpr!")}}var l=function(){function e(e){this.key=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 1},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:0},e.prototype.equals=function(t){return t instanceof e&&this.key===t.key},e.prototype.evaluate=function(e){return!!e.getValue(this.key)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return h.create(this.key)},e}(),c=function(){function e(e,t){this.key=e,this.value=t}return e.create=function(t,n){return"boolean"==typeof n?n?l.create(t):h.create(t):new e(t,n)},e.prototype.getType=function(){return 3},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0},e.prototype.equals=function(t){return t instanceof e&&(this.key===t.key&&this.value===t.value)},e.prototype.evaluate=function(e){return e.getValue(this.key)==this.value},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return d.create(this.key,this.value)},e}(),d=function(){function e(e,t){this.key=e,this.value=t}return e.create=function(t,n){return"boolean"==typeof n?n?h.create(t):l.create(t):new e(t,n)},e.prototype.getType=function(){return 4},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0},e.prototype.equals=function(t){return t instanceof e&&(this.key===t.key&&this.value===t.value)},e.prototype.evaluate=function(e){return e.getValue(this.key)!=this.value},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return c.create(this.key,this.value)},e}(),h=function(){function e(e){this.key=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 2},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:0},e.prototype.equals=function(t){return t instanceof e&&this.key===t.key},e.prototype.evaluate=function(e){return!e.getValue(this.key)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return l.create(this.key)},e}(),f=function(){function e(e,t){this.key=e,this.regexp=t}return e.create=function(t,n){return new e(t,n)},e.prototype.getType=function(){return 6},e.prototype.cmp=function(e){if(this.key<e.key)return-1;if(this.key>e.key)return 1;var t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return t<n?-1:t>n?1:0},e.prototype.equals=function(t){if(t instanceof e){var n=this.regexp?this.regexp.source:"",i=t.regexp?t.regexp.source:"";return this.key===t.key&&n===i}return!1},e.prototype.evaluate=function(e){var t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return p.create(this)},e}(),p=function(){function e(e){this._actual=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 7},e.prototype.cmp=function(e){return this._actual.cmp(e._actual)},e.prototype.equals=function(t){return t instanceof e&&this._actual.equals(t._actual)},e.prototype.evaluate=function(e){return!this._actual.evaluate(e)},e.prototype.keys=function(){return this._actual.keys()},e.prototype.negate=function(){return this._actual},e}(),g=function(){function e(e){this.expr=e}return e.create=function(t){var n=e._normalizeArr(t);if(0!==n.length)return 1===n.length?n[0]:new e(n)},e.prototype.getType=function(){return 5},e.prototype.cmp=function(e){if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(var t=0,n=this.expr.length;t<n;t++){var i=u(this.expr[t],e.expr[t]);if(0!==i)return i}return 0},e.prototype.equals=function(t){if(t instanceof e){if(this.expr.length!==t.expr.length)return!1;for(var n=0,i=this.expr.length;n<i;n++)if(!this.expr[n].equals(t.expr[n]))return!1;return!0}return!1},e.prototype.evaluate=function(e){for(var t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].evaluate(e))return!1;return!0},e._normalizeArr=function(t){var n=[];if(t){for(var i=0,o=t.length;i<o;i++){var r=t[i];if(r)if(r instanceof e)n=n.concat(r.expr);else{if(r instanceof m)throw new Error('It is not allowed to have an or expression here due to lack of parens! For example "a && (b||c)" is not supported, use "(a&&b) || (a&&c)" instead.');n.push(r)}}n.sort(u)}return n},e.prototype.keys=function(){for(var e=[],t=0,n=this.expr;t<n.length;t++){var i=n[t];e.push.apply(e,i.keys())}return e},e.prototype.negate=function(){for(var e=[],t=0,n=this.expr;t<n.length;t++){var i=n[t];e.push(i.negate())}return m.create(e)},e}(),m=function(){function e(e){this.expr=e}return e.create=function(t){var n=e._normalizeArr(t);if(0!==n.length)return 1===n.length?n[0]:new e(n)},e.prototype.getType=function(){return 8},e.prototype.equals=function(t){if(t instanceof e){if(this.expr.length!==t.expr.length)return!1;for(var n=0,i=this.expr.length;n<i;n++)if(!this.expr[n].equals(t.expr[n]))return!1;return!0}return!1},e.prototype.evaluate=function(e){for(var t=0,n=this.expr.length;t<n;t++)if(this.expr[t].evaluate(e))return!0;return!1},e._normalizeArr=function(t){var n=[];if(t){for(var i=0,o=t.length;i<o;i++){var r=t[i];r&&(r instanceof e?n=n.concat(r.expr):n.push(r))}n.sort(u)}return n},e.prototype.keys=function(){for(var e=[],t=0,n=this.expr;t<n.length;t++){var i=n[t];e.push.apply(e,i.keys())}return e},e.prototype.negate=function(){for(var t=[],n=0,i=this.expr;n<i.length;n++){var o=i[n];t.push(o.negate())}for(var r=function(t){return t instanceof e?t.expr:[t]};t.length>1;){for(var s=t.shift(),u=t.shift(),l=[],c=0,d=r(s);c<d.length;c++)for(var h=d[c],f=0,p=r(u);f<p.length;f++){var g=p[f];l.push(a.and(h,g))}t.unshift(a.or.apply(a,l))}return t[0]},e}(),v=function(e){function t(t,n){var i=e.call(this,t)||this;return i._defaultValue=n,i}return s(t,e),t.prototype.bindTo=function(e){return e.createKey(this.key,this._defaultValue)},t.prototype.getValue=function(e){return e.getContextKeyValue(this.key)},t.prototype.toNegated=function(){return a.not(this.key)},t}(l),_=Object(r.c)("contextKeyService"),y="setContext"},TT2d:function(e,t,n){},Tcc1:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r}));var i=function(){function e(e,t,n){this.offset=0|e,this.type=t,this.language=n}return e.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},e}(),o=function(e,t){this.tokens=e,this.endState=t},r=function(e,t){this.tokens=e,this.endState=t}},UCkY:function(e,t,n){},URDS:function(e,t,n){(function(e,t){(function(){"use strict";function n(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}var i=setTimeout;function o(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void u(t.promise,e)}a(t.promise,i)}else(1===e._state?a:u)(t.promise,e._value)}))):e._deferreds.push(t)}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void l(e);if("function"==typeof n)return void d((i=n,o=t,function(){i.apply(o,arguments)}),e)}e._state=1,e._value=t,l(e)}catch(t){u(e,t)}var i,o}function u(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&r._immediateFn((function(){e._handled||r._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function d(e,t){var n=!1;try{e((function(e){n||(n=!0,a(t,e))}),(function(e){n||(n=!0,u(t,e))}))}catch(e){if(n)return;n=!0,u(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(o);return s(this,new c(e,t,n)),n},r.prototype.finally=n,r.all=function(e){return new r((function(t,n){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);var o=i.length;function r(e,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,(function(t){r(e,t)}),n)}i[e]=s,0==--o&&t(i)}catch(e){n(e)}}for(var s=0;s<i.length;s++)r(s,i[s])}))},r.resolve=function(e){return e&&"object"==typeof e&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var i=0,o=e.length;i<o;i++)e[i].then(t,n)}))},r._immediateFn="function"==typeof e&&function(t){e(t)}||function(e){i(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var h=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==t)return t;throw new Error("unable to locate global object")}();"Promise"in h?h.Promise.prototype.finally||(h.Promise.prototype.finally=n):h.Promise=r})()}).call(this,n("URgk").setImmediate,n("yLpj"))},URgk:function(e,t,n){(function(e){var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n("YBdB"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},Uzvx:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r}));var i=n("Cg/j"),o=Object(i.c)("contextViewService"),r=Object(i.c)("contextMenuService")},Vtyv:function(e,t,n){},VvMK:function(e,t,n){},Vxe3:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("Cg/j"),o=Object(i.c)("codeEditorService")},WqXY:function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return v})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return b}));n("yEoX");var i,o=n("MNsG"),r=n("3/fG"),s=n("pmY6"),a=n("8HAY"),u=n("EffR"),l=n("746U"),c=n("pg8w"),d=n("uDWl"),h=n("MI8n"),f=n("ZQ78"),p=n("D3Dy"),g=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(e){function t(t,n,i){var o=e.call(this)||this;return o.options=i,o._context=t||o,o._action=n,n instanceof a.a&&o._register(n.onDidChange((function(e){o.element&&o.handleActionChangeEvent(e)}))),o}return g(t,e),t.prototype.handleActionChangeEvent=function(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()},Object.defineProperty(t.prototype,"actionRunner",{get:function(){return this._actionRunner||(this._actionRunner=this._register(new a.b)),this._actionRunner},set:function(e){this._actionRunner=e},enumerable:!0,configurable:!0}),t.prototype.getAction=function(){return this._action},t.prototype.isEnabled=function(){return this._action.enabled},t.prototype.setActionContext=function(e){this._context=e},t.prototype.render=function(e){var t=this,n=this.element=e;this._register(c.b.addTarget(e));var i=this.options&&this.options.draggable;i&&(e.draggable=!0,p.h&&this._register(u.g(e,u.c.DRAG_START,(function(e){var n;return null===(n=e.dataTransfer)||void 0===n?void 0:n.setData(f.a.TEXT,t._action.label)})))),this._register(u.g(n,c.a.Tap,(function(e){return t.onClick(e)}))),this._register(u.g(n,u.c.MOUSE_DOWN,(function(e){i||u.b.stop(e,!0),t._action.enabled&&0===e.button&&u.e(n,"active")}))),this._register(u.g(n,u.c.CLICK,(function(e){u.b.stop(e,!0),t.options&&t.options.isMenu?t.onClick(e):o.i((function(){return t.onClick(e)}))}))),this._register(u.g(n,u.c.DBLCLICK,(function(e){u.b.stop(e,!0)}))),[u.c.MOUSE_UP,u.c.MOUSE_OUT].forEach((function(e){t._register(u.g(n,e,(function(e){u.b.stop(e),u.J(n,"active")})))}))},t.prototype.onClick=function(e){var t;u.b.stop(e,!0),l.l(this._context)?t=e:(t=this._context,l.i(t)&&(t.event=e)),this.actionRunner.run(this._action,t)},t.prototype.focus=function(){this.element&&(this.element.focus(),u.e(this.element,"focused"))},t.prototype.blur=function(){this.element&&(this.element.blur(),u.J(this.element,"focused"))},t.prototype.updateEnabled=function(){},t.prototype.updateLabel=function(){},t.prototype.updateTooltip=function(){},t.prototype.updateClass=function(){},t.prototype.updateChecked=function(){},t.prototype.dispose=function(){this.element&&(u.L(this.element),this.element=void 0),e.prototype.dispose.call(this)},t}(s.a),v=function(e){function t(n){var i=e.call(this,t.ID,n,n?"separator text":"separator")||this;return i.checked=!1,i.enabled=!1,i}return g(t,e),t.ID="vs.actions.separator",t}(a.a),_=function(e){function t(t,n,i){void 0===i&&(i={});var o=e.call(this,t,n,i)||this;return o.options=i,o.options.icon=void 0!==i.icon&&i.icon,o.options.label=void 0===i.label||i.label,o.cssClass="",o}return g(t,e),t.prototype.render=function(t){e.prototype.render.call(this,t),this.element&&(this.label=u.m(this.element,u.a("a.action-label"))),this.label&&(this._action.id===v.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(u.m(this.element,u.a("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()},t.prototype.focus=function(){e.prototype.focus.call(this),this.label&&this.label.focus()},t.prototype.updateLabel=function(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)},t.prototype.updateTooltip=function(){var e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=r.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.label&&(this.label.title=e)},t.prototype.updateClass=function(){this.cssClass&&this.label&&u.K(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(u.e(this.label,"codicon"),this.cssClass&&u.f(this.label,this.cssClass)),this.updateEnabled()):this.label&&u.J(this.label,"codicon")},t.prototype.updateEnabled=function(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),u.J(this.label,"disabled"),this.label.tabIndex=0),this.element&&u.J(this.element,"disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),u.e(this.label,"disabled"),u.M(this.label)),this.element&&u.e(this.element,"disabled"))},t.prototype.updateChecked=function(){this.label&&(this.getAction().checked?u.e(this.label,"checked"):u.J(this.label,"checked"))},t}(m),y={orientation:0,context:null,triggerKeys:{keys:[3,10],keyDown:!1}},b=function(e){function t(t,n){void 0===n&&(n=y);var i,o,r=e.call(this)||this;switch(r._onDidBlur=r._register(new h.a),r.onDidBlur=r._onDidBlur.event,r._onDidCancel=r._register(new h.a),r.onDidCancel=r._onDidCancel.event,r._onDidRun=r._register(new h.a),r.onDidRun=r._onDidRun.event,r._onDidBeforeRun=r._register(new h.a),r.onDidBeforeRun=r._onDidBeforeRun.event,r.options=n,r._context=n.context,r.options.triggerKeys||(r.options.triggerKeys=y.triggerKeys),r.options.actionRunner?r._actionRunner=r.options.actionRunner:(r._actionRunner=new a.b,r._register(r._actionRunner)),r._register(r._actionRunner.onDidRun((function(e){return r._onDidRun.fire(e)}))),r._register(r._actionRunner.onDidBeforeRun((function(e){return r._onDidBeforeRun.fire(e)}))),r.viewItems=[],r.focusedItem=void 0,r.domNode=document.createElement("div"),r.domNode.className="monaco-action-bar",!1!==n.animated&&u.e(r.domNode,"animated"),r.options.orientation){case 0:i=15,o=17;break;case 1:i=17,o=15,r.domNode.className+=" reverse";break;case 2:i=16,o=18,r.domNode.className+=" vertical";break;case 3:i=18,o=16,r.domNode.className+=" vertical reverse"}return r._register(u.g(r.domNode,u.c.KEY_DOWN,(function(e){var t=new d.a(e),n=!0;t.equals(i)?r.focusPrevious():t.equals(o)?r.focusNext():t.equals(9)?r.cancel():r.isTriggerKeyEvent(t)?r.options.triggerKeys&&r.options.triggerKeys.keyDown&&r.doTrigger(t):n=!1,n&&(t.preventDefault(),t.stopPropagation())}))),r._register(u.g(r.domNode,u.c.KEY_UP,(function(e){var t=new d.a(e);r.isTriggerKeyEvent(t)?(r.options.triggerKeys&&!r.options.triggerKeys.keyDown&&r.doTrigger(t),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&r.updateFocusedItem()}))),r.focusTracker=r._register(u.T(r.domNode)),r._register(r.focusTracker.onDidBlur((function(){document.activeElement!==r.domNode&&u.E(document.activeElement,r.domNode)||(r._onDidBlur.fire(),r.focusedItem=void 0)}))),r._register(r.focusTracker.onDidFocus((function(){return r.updateFocusedItem()}))),r.actionsList=document.createElement("ul"),r.actionsList.className="actions-container",r.actionsList.setAttribute("role","toolbar"),r.options.ariaLabel&&r.actionsList.setAttribute("aria-label",r.options.ariaLabel),r.domNode.appendChild(r.actionsList),t.appendChild(r.domNode),r}return g(t,e),t.prototype.isTriggerKeyEvent=function(e){var t=!1;return this.options.triggerKeys&&this.options.triggerKeys.keys.forEach((function(n){t=t||e.equals(n)})),t},t.prototype.updateFocusedItem=function(){for(var e=0;e<this.actionsList.children.length;e++){var t=this.actionsList.children[e];if(u.E(document.activeElement,t)){this.focusedItem=e;break}}},Object.defineProperty(t.prototype,"context",{get:function(){return this._context},set:function(e){this._context=e,this.viewItems.forEach((function(t){return t.setActionContext(e)}))},enumerable:!0,configurable:!0}),t.prototype.getContainer=function(){return this.domNode},t.prototype.push=function(e,t){var n=this;void 0===t&&(t={});var i=Array.isArray(e)?e:[e],o=l.h(t.index)?t.index:null;i.forEach((function(e){var i,r=document.createElement("li");r.className="action-item",r.setAttribute("role","presentation"),n._register(u.g(r,u.c.CONTEXT_MENU,(function(e){e.preventDefault(),e.stopPropagation()}))),n.options.actionViewItemProvider&&(i=n.options.actionViewItemProvider(e)),i||(i=new _(n.context,e,t)),i.actionRunner=n._actionRunner,i.setActionContext(n.context),i.render(r),null===o||o<0||o>=n.actionsList.children.length?(n.actionsList.appendChild(r),n.viewItems.push(i)):(n.actionsList.insertBefore(r,n.actionsList.children[o]),n.viewItems.splice(o,0,i),o++)}))},t.prototype.clear=function(){this.viewItems=Object(s.e)(this.viewItems),u.o(this.actionsList)},t.prototype.isEmpty=function(){return 0===this.viewItems.length},t.prototype.focus=function(e){var t=!1,n=void 0;void 0===e?t=!0:"number"==typeof e?n=e:"boolean"==typeof e&&(t=e),t&&void 0===this.focusedItem?(this.focusedItem=this.viewItems.length-1,this.focusNext()):(void 0!==n&&(this.focusedItem=n),this.updateFocus())},t.prototype.focusNext=function(){void 0===this.focusedItem&&(this.focusedItem=this.viewItems.length-1);var e,t=this.focusedItem;do{this.focusedItem=(this.focusedItem+1)%this.viewItems.length,e=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&!e.isEnabled());this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus()},t.prototype.focusPrevious=function(){void 0===this.focusedItem&&(this.focusedItem=0);var e,t=this.focusedItem;do{this.focusedItem=this.focusedItem-1,this.focusedItem<0&&(this.focusedItem=this.viewItems.length-1),e=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&!e.isEnabled());this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0)},t.prototype.updateFocus=function(e,t){void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t});for(var n=0;n<this.viewItems.length;n++){var i=this.viewItems[n];n===this.focusedItem?l.g(i.isEnabled)&&(i.isEnabled()&&l.g(i.focus)?i.focus(e):this.actionsList.focus({preventScroll:t})):l.g(i.blur)&&i.blur()}},t.prototype.doTrigger=function(e){if(void 0!==this.focusedItem){var t=this.viewItems[this.focusedItem];if(t instanceof m){var n=null===t._context||void 0===t._context?e:t._context;this.run(t._action,n)}}},t.prototype.cancel=function(){document.activeElement instanceof HTMLElement&&document.activeElement.blur(),this._onDidCancel.fire()},t.prototype.run=function(e,t){return this._actionRunner.run(e,t)},t.prototype.dispose=function(){Object(s.e)(this.viewItems),this.viewItems=[],u.L(this.getContainer()),e.prototype.dispose.call(this)},t}(s.a)},"X+cX":function(e,t,n){"use strict";n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"e",(function(){return h})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return g}));var i=n("JQT/"),o=n("/cxE"),r=n("pmY6");function s(e){return e&&"function"==typeof e.then}function a(e){var t=new i.a,n=e(t.token),r=new Promise((function(e,i){t.token.onCancellationRequested((function(){i(o.a())})),Promise.resolve(n).then((function(n){t.dispose(),e(n)}),(function(e){t.dispose(),i(e)}))}));return new(function(){function e(){}return e.prototype.cancel=function(){t.cancel()},e.prototype.then=function(e,t){return r.then(e,t)},e.prototype.catch=function(e){return this.then(void 0,e)},e.prototype.finally=function(e){return r.finally(e)},e}())}var u=function(){function e(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}return e.prototype.trigger=function(e,t){var n=this;return void 0===t&&(t=this.defaultDelay),this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((function(e,t){n.doResolve=e,n.doReject=t})).then((function(){if(n.completionPromise=null,n.doResolve=null,n.task){var e=n.task;return n.task=null,e()}}))),this.timeout=setTimeout((function(){n.timeout=null,n.doResolve&&n.doResolve(null)}),t),this.completionPromise},e.prototype.isTriggered=function(){return null!==this.timeout},e.prototype.cancel=function(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(o.a()),this.completionPromise=null)},e.prototype.cancelTimeout=function(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},e.prototype.dispose=function(){this.cancelTimeout()},e}();function l(e,t){return t?new Promise((function(n,i){var r=setTimeout(n,e);t.onCancellationRequested((function(){clearTimeout(r),i(o.a())}))})):a((function(t){return l(e,t)}))}function c(e,t){void 0===t&&(t=0);var n=setTimeout(e,t);return Object(r.f)((function(){return clearTimeout(n)}))}var d,h=function(){function e(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}return e.prototype.dispose=function(){this.cancel()},e.prototype.cancel=function(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)},e.prototype.cancelAndSet=function(e,t){var n=this;this.cancel(),this._token=setTimeout((function(){n._token=-1,e()}),t)},e.prototype.setIfNotSet=function(e,t){var n=this;-1===this._token&&(this._token=setTimeout((function(){n._token=-1,e()}),t))},e}(),f=function(){function e(){this._token=-1}return e.prototype.dispose=function(){this.cancel()},e.prototype.cancel=function(){-1!==this._token&&(clearInterval(this._token),this._token=-1)},e.prototype.cancelAndSet=function(e,t){this.cancel(),this._token=setInterval((function(){e()}),t)},e}(),p=function(){function e(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}return e.prototype.dispose=function(){this.cancel(),this.runner=null},e.prototype.cancel=function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)},e.prototype.schedule=function(e){void 0===e&&(e=this.timeout),this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)},e.prototype.isScheduled=function(){return-1!==this.timeoutToken},e.prototype.onTimeout=function(){this.timeoutToken=-1,this.runner&&this.doRun()},e.prototype.doRun=function(){this.runner&&this.runner()},e}();!function(){if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){var e=Object.freeze({didTimeout:!0,timeRemaining:function(){return 15}});d=function(t){var n=setTimeout((function(){return t(e)})),i=!1;return{dispose:function(){i||(i=!0,clearTimeout(n))}}}}else d=function(e,t){var n=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0),i=!1;return{dispose:function(){i||(i=!0,cancelIdleCallback(n))}}}}();var g=function(){function e(e){var t=this;this._didRun=!1,this._executor=function(){try{t._value=e()}catch(e){t._error=e}finally{t._didRun=!0}},this._handle=d((function(){return t._executor()}))}return e.prototype.dispose=function(){this._handle.dispose()},e.prototype.getValue=function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value},e}()},XQgg:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return n.e(175).then(n.bind(null,"/0xJ"))}})},XSiN:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l}));var i,o=n("D3Dy"),r=n("51f4"),s=n("MNsG"),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){function e(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"==typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);var t=r.a.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}return e.prototype.preventDefault=function(){this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},e.prototype.stopPropagation=function(){this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},e}(),l=(function(e){function t(t){var n=e.call(this,t)||this;return n.dataTransfer=t.dataTransfer,n}a(t,e)}(u),function(){function e(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=0),this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t,e){var i=e,r=e;if(void 0!==i.wheelDeltaY)this.deltaY=i.wheelDeltaY/120;else if(void 0!==r.VERTICAL_AXIS&&r.axis===r.VERTICAL_AXIS)this.deltaY=-r.detail/3;else if("wheel"===e.type){(a=e).deltaMode===a.DOM_DELTA_LINE?this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(void 0!==i.wheelDeltaX)o.k&&s.h?this.deltaX=-i.wheelDeltaX/120:this.deltaX=i.wheelDeltaX/120;else if(void 0!==r.HORIZONTAL_AXIS&&r.axis===r.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if("wheel"===e.type){var a;(a=e).deltaMode===a.DOM_DELTA_LINE?this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}return e.prototype.preventDefault=function(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},e.prototype.stopPropagation=function(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},e}())},XXBq:function(e,t,n){},XXUj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("Cg/j"),o=Object(i.c)("telemetryService")},YBdB:function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var i,o,r,s,a,u=1,l={},c=!1,d=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){p(e.data)},i=function(e){r.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(o=d.documentElement,i=function(e){var t=d.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):i=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),i=function(t){e.postMessage(s+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return l[u]=o,i(u),u++},h.clearImmediate=f}function f(e){delete l[e]}function p(e){if(c)setTimeout(p,0,e);else{var t=l[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{f(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n("yLpj"),n("KCCg"))},ZCR3:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=0;function o(e,t,n){return function(){var e="$memoize"+i++,t=void 0,n=function(n,i,o){var r=null,s=null;if("function"==typeof o.value?(r="value",0!==(s=o.value).length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof o.get&&(r="get",s=o.get),!s)throw new Error("not supported");var a=e+":"+i;o[r]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t=this,this.hasOwnProperty(a)||Object.defineProperty(this,a,{configurable:!0,enumerable:!1,writable:!0,value:s.apply(this,e)}),this[a]}};return n.clear=function(){void 0!==t&&Object.getOwnPropertyNames(t).forEach((function(n){0===n.indexOf(e)&&delete t[n]}))},n}()(e,t,n)}},ZQ78:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r}));var i={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"},o=function(){function e(e){this.data=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.data},e}(),r={CurrentDragAndDropData:void 0}},ZlPH:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n("EffR"),o=function(){function e(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none"}return e.prototype.setMaxWidth=function(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")},e.prototype.setWidth=function(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")},e.prototype.setHeight=function(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")},e.prototype.setTop=function(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")},e.prototype.unsetTop=function(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")},e.prototype.setLeft=function(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")},e.prototype.setBottom=function(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")},e.prototype.setRight=function(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")},e.prototype.setFontFamily=function(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)},e.prototype.setFontWeight=function(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)},e.prototype.setFontSize=function(e){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")},e.prototype.setFontFeatureSettings=function(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)},e.prototype.setLineHeight=function(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")},e.prototype.setLetterSpacing=function(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")},e.prototype.setClassName=function(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)},e.prototype.toggleClassName=function(e,t){i.S(this.domNode,e,t),this._className=this.domNode.className},e.prototype.setDisplay=function(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)},e.prototype.setPosition=function(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)},e.prototype.setVisibility=function(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)},e.prototype.setBackgroundColor=function(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)},e.prototype.setLayerHinting=function(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")},e.prototype.setContain=function(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)},e.prototype.setAttribute=function(e,t){this.domNode.setAttribute(e,t)},e.prototype.removeAttribute=function(e){this.domNode.removeAttribute(e)},e.prototype.appendChild=function(e){this.domNode.appendChild(e.domNode)},e.prototype.removeChild=function(e){this.domNode.removeChild(e.domNode)},e}();function r(e){return new o(e)}},ZvGG:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return n.e(158).then(n.bind(null,"yUwd"))}})},ajgA:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return n.e(171).then(n.bind(null,"Fzfo"))}})},aokT:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("cGHE"),o=function(){function e(e,t,n,i){e>n||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},e.prototype.containsPosition=function(t){return e.containsPosition(this,t)},e.containsPosition=function(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))},e.prototype.containsRange=function(t){return e.containsRange(this,t)},e.containsRange=function(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))},e.prototype.strictContainsRange=function(t){return e.strictContainsRange(this,t)},e.strictContainsRange=function(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))},e.prototype.plusRange=function(t){return e.plusRange(this,t)},e.plusRange=function(t,n){var i,o,r,s;return n.startLineNumber<t.startLineNumber?(i=n.startLineNumber,o=n.startColumn):n.startLineNumber===t.startLineNumber?(i=n.startLineNumber,o=Math.min(n.startColumn,t.startColumn)):(i=t.startLineNumber,o=t.startColumn),n.endLineNumber>t.endLineNumber?(r=n.endLineNumber,s=n.endColumn):n.endLineNumber===t.endLineNumber?(r=n.endLineNumber,s=Math.max(n.endColumn,t.endColumn)):(r=t.endLineNumber,s=t.endColumn),new e(i,o,r,s)},e.prototype.intersectRanges=function(t){return e.intersectRanges(this,t)},e.intersectRanges=function(t,n){var i=t.startLineNumber,o=t.startColumn,r=t.endLineNumber,s=t.endColumn,a=n.startLineNumber,u=n.startColumn,l=n.endLineNumber,c=n.endColumn;return i<a?(i=a,o=u):i===a&&(o=Math.max(o,u)),r>l?(r=l,s=c):r===l&&(s=Math.min(s,c)),i>r||i===r&&o>s?null:new e(i,o,r,s)},e.prototype.equalsRange=function(t){return e.equalsRange(this,t)},e.equalsRange=function(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn},e.prototype.getEndPosition=function(){return new i.a(this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new i.a(this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(t,n){return new e(this.startLineNumber,this.startColumn,t,n)},e.prototype.setStartPosition=function(t,n){return new e(t,n,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)},e.fromPositions=function(t,n){return void 0===n&&(n=t),new e(t.lineNumber,t.column,n.lineNumber,n.column)},e.lift=function(t){return t?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null},e.isIRange=function(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn},e.areIntersectingOrTouching=function(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)},e.areIntersecting=function(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)},e.compareRangesUsingStarts=function(e,t){if(e&&t){var n=0|e.startLineNumber,i=0|t.startLineNumber;if(n===i){var o=0|e.startColumn,r=0|t.startColumn;if(o===r){var s=0|e.endLineNumber,a=0|t.endLineNumber;return s===a?(0|e.endColumn)-(0|t.endColumn):s-a}return o-r}return n-i}return(e?1:0)-(t?1:0)},e.compareRangesUsingEnds=function(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber},e.spansMultipleLines=function(e){return e.endLineNumber>e.startLineNumber},e}()},bY76:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i,o,r=n("MNsG"),s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=/^\w[\w\d+.-]*$/,u=/^\//,l=/^\/\//;var c="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,h=function(){function e(e,t,n,i,o,r){void 0===r&&(r=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,r),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==c&&(t=c+t):t=c}return t}(this.scheme,n||""),this.query=i||"",this.fragment=o||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!a.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!u.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,r))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return _(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,o=e.query,r=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===o?o=this.query:null===o&&(o=""),void 0===r?r=this.fragment:null===r&&(r=""),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&r===this.fragment?this:new p(t,n,i,o,r)},e.parse=function(e,t){void 0===t&&(t=!1);var n=d.exec(e);return n?new p(n[2]||"",C(n[4]||""),C(n[5]||""),C(n[7]||""),C(n[9]||""),t):new p("","","","","")},e.file=function(e){var t="";if(r.h&&(e=e.replace(/\\/g,c)),e[0]===c&&e[1]===c){var n=e.indexOf(c,2);-1===n?(t=e.substring(2),e=c):(t=e.substring(2,n),e=e.substring(n)||c)}return new p("file",t,e,"","")},e.from=function(e){return new p(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),y(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new p(t);return n._formatted=t.external,n._fsPath=t._sep===f?t.fsPath:null,n}return t},e}(),f=r.h?1:void 0,p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=_(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=f),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(h),g=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function m(e,t){for(var n=void 0,i=-1,o=0;o<e.length;o++){var r=e.charCodeAt(o);if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));var s=g[r];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),n+=s):-1===i&&(i=o)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function v(e){for(var t=void 0,n=0;n<e.length;n++){var i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=g[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function _(e){var t;return t=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,r.h&&(t=t.replace(/\//g,"\\")),t}function y(e,t){var n=t?v:m,i="",o=e.scheme,r=e.authority,s=e.path,a=e.query,u=e.fragment;if(o&&(i+=o,i+=":"),(r||"file"===o)&&(i+=c,i+=c),r){var l=r.indexOf("@");if(-1!==l){var d=r.substr(0,l);r=r.substr(l+1),-1===(l=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,l),!1),i+=":",i+=n(d.substr(l+1),!1)),i+="@"}-1===(l=(r=r.toLowerCase()).indexOf(":"))?i+=n(r,!1):(i+=n(r.substr(0,l),!1),i+=r.substr(l))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(h=s.charCodeAt(1))>=65&&h<=90&&(s="/"+String.fromCharCode(h+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var h;(h=s.charCodeAt(0))>=65&&h<=90&&(s=String.fromCharCode(h+32)+":"+s.substr(2))}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),u&&(i+="#",i+=t?u:m(u,!1)),i}var b=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function C(e){return e.match(b)?e.replace(b,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}},bexQ:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("Cg/j"),o=Object(i.c)("keybindingService")},c2dO:function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return o}));n("M/lh");var i=monaco.Emitter,o=function(){function e(e,t,n){this._onDidChange=new i,this._languageId=e,this.setOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!0,configurable:!0}),e.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),r={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:null,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},s={format:r,suggest:{html5:!0}},a={format:r,suggest:{html5:!0,razor:!0}};function u(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===l,documentFormattingEdits:e===l,documentRangeFormattingEdits:e===l}}var l="html",c=new o(l,{format:r,suggest:{html5:!0,angular1:!0,ionic:!0}},u(l)),d=new o("handlebars",s,u("handlebars")),h=new o("razor",a,u("razor"));function f(){return n.e(130).then(n.bind(null,"+lu7"))}monaco.languages.html={htmlDefaults:c,razorDefaults:h,handlebarDefaults:d},monaco.languages.onLanguage(l,(function(){f().then((function(e){return e.setupMode(c)}))})),monaco.languages.onLanguage("handlebars",(function(){f().then((function(e){return e.setupMode(d)}))})),monaco.languages.onLanguage("razor",(function(){f().then((function(e){return e.setupMode(h)}))}))},c9ML:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:function(){return n.e(178).then(n.bind(null,"QJnQ"))}})},cGHE:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(){function e(e,t){this.lineNumber=e,this.column=t}return e.prototype.with=function(t,n){return void 0===t&&(t=this.lineNumber),void 0===n&&(n=this.column),t===this.lineNumber&&n===this.column?this:new e(t,n)},e.prototype.delta=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=0),this.with(this.lineNumber+e,this.column+t)},e.prototype.equals=function(t){return e.equals(this,t)},e.equals=function(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column},e.prototype.isBefore=function(t){return e.isBefore(this,t)},e.isBefore=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column},e.prototype.isBeforeOrEqual=function(t){return e.isBeforeOrEqual(this,t)},e.isBeforeOrEqual=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column},e.compare=function(e,t){var n=0|e.lineNumber,i=0|t.lineNumber;return n===i?(0|e.column)-(0|t.column):n-i},e.prototype.clone=function(){return new e(this.lineNumber,this.column)},e.prototype.toString=function(){return"("+this.lineNumber+","+this.column+")"},e.lift=function(t){return new e(t.lineNumber,t.column)},e.isIPosition=function(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column},e}()},cMOf:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));n("undH");var i,o=n("pmY6"),r=n("D3Dy"),s=n("MNsG"),a=n("746U"),u=n("pg8w"),l=n("XSiN"),c=n("MI8n"),d=n("EffR"),h=n("4y0V"),f=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},g=function(e){function t(t,n,i){void 0===i&&(i={});var a=e.call(this)||this;return a._state=3,a._onDidEnablementChange=a._register(new c.a),a.onDidEnablementChange=a._onDidEnablementChange.event,a._onDidStart=a._register(new c.a),a.onDidStart=a._onDidStart.event,a._onDidChange=a._register(new c.a),a.onDidChange=a._onDidChange.event,a._onDidReset=a._register(new c.a),a.onDidReset=a._onDidReset.event,a._onDidEnd=a._register(new c.a),a.onDidEnd=a._onDidEnd.event,a.linkedSash=void 0,a.orthogonalStartSashDisposables=a._register(new o.b),a.orthogonalEndSashDisposables=a._register(new o.b),a.el=Object(d.m)(t,Object(d.a)(".monaco-sash")),s.e&&Object(d.e)(a.el,"mac"),a._register(Object(h.a)(a.el,"mousedown")(a.onMouseDown,a)),a._register(Object(h.a)(a.el,"dblclick")(a.onMouseDoubleClick,a)),a._register(u.b.addTarget(a.el)),a._register(Object(h.a)(a.el,u.a.Start)(a.onTouchStart,a)),r.j&&Object(d.e)(a.el,"touch"),a.setOrientation(i.orientation||0),a.hidden=!1,a.layoutProvider=n,a.orthogonalStartSash=i.orthogonalStartSash,a.orthogonalEndSash=i.orthogonalEndSash,Object(d.S)(a.el,"debug",!1),a}return f(t,e),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},set:function(e){this._state!==e&&(Object(d.S)(this.el,"disabled",0===e),Object(d.S)(this.el,"minimum",1===e),Object(d.S)(this.el,"maximum",2===e),this._state=e,this._onDidEnablementChange.fire(e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orthogonalStartSash",{get:function(){return this._orthogonalStartSash},set:function(e){this.orthogonalStartSashDisposables.clear(),e?(this.orthogonalStartSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this)),this.onOrthogonalStartSashEnablementChange(e.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orthogonalEndSash",{get:function(){return this._orthogonalEndSash},set:function(e){this.orthogonalEndSashDisposables.clear(),e?(this.orthogonalEndSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this)),this.onOrthogonalEndSashEnablementChange(e.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=e},enumerable:!0,configurable:!0}),t.prototype.setOrientation=function(e){this.orientation=e,1===this.orientation?(Object(d.e)(this.el,"horizontal"),Object(d.J)(this.el,"vertical")):(Object(d.J)(this.el,"horizontal"),Object(d.e)(this.el,"vertical")),this.layoutProvider&&this.layout()},t.prototype.onMouseDown=function(e){var t=this;d.b.stop(e,!1);var n=!1;if(!e.__orthogonalSashEvent){var i=this.getOrthogonalSash(e);i&&(n=!0,e.__orthogonalSashEvent=!0,i.onMouseDown(e))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onMouseDown(e)),this.state){for(var r=p(Object(d.x)("iframe"),Object(d.x)("webview")),a=0,u=r;a<u.length;a++){u[a].style.pointerEvents="none"}var c=new l.a(e),f=c.posx,g=c.posy,m=c.altKey,v={startX:f,currentX:f,startY:g,currentY:g,altKey:m};Object(d.e)(this.el,"active"),this._onDidStart.fire(v);var _=Object(d.q)(this.el),y=function(){var e="";e=n?"all-scroll":1===t.orientation?1===t.state?"s-resize":2===t.state?"n-resize":s.e?"row-resize":"ns-resize":1===t.state?"e-resize":2===t.state?"w-resize":s.e?"col-resize":"ew-resize",_.innerHTML="* { cursor: "+e+" !important; }"},b=new o.b;y(),n||this.onDidEnablementChange(y,null,b);Object(h.a)(window,"mousemove")((function(e){d.b.stop(e,!1);var n=new l.a(e),i={startX:f,currentX:n.posx,startY:g,currentY:n.posy,altKey:m};t._onDidChange.fire(i)}),null,b),Object(h.a)(window,"mouseup")((function(e){d.b.stop(e,!1),t.el.removeChild(_),Object(d.J)(t.el,"active"),t._onDidEnd.fire(),b.dispose();for(var n=0,i=r;n<i.length;n++){i[n].style.pointerEvents="auto"}}),null,b)}},t.prototype.onMouseDoubleClick=function(e){var t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()},t.prototype.onTouchStart=function(e){var t=this;d.b.stop(e);var n=[],i=e.pageX,r=e.pageY,s=e.altKey;this._onDidStart.fire({startX:i,currentX:i,startY:r,currentY:r,altKey:s}),n.push(Object(d.g)(this.el,u.a.Change,(function(e){a.h(e.pageX)&&a.h(e.pageY)&&t._onDidChange.fire({startX:i,currentX:e.pageX,startY:r,currentY:e.pageY,altKey:s})}))),n.push(Object(d.g)(this.el,u.a.End,(function(e){t._onDidEnd.fire(),Object(o.e)(n)})))},t.prototype.layout=function(){var e=r.j?20:4;if(0===this.orientation){var t=this.layoutProvider;this.el.style.left=t.getVerticalSashLeft(this)-e/2+"px",t.getVerticalSashTop&&(this.el.style.top=t.getVerticalSashTop(this)+"px"),t.getVerticalSashHeight&&(this.el.style.height=t.getVerticalSashHeight(this)+"px")}else{var n=this.layoutProvider;this.el.style.top=n.getHorizontalSashTop(this)-e/2+"px",n.getHorizontalSashLeft&&(this.el.style.left=n.getHorizontalSashLeft(this)+"px"),n.getHorizontalSashWidth&&(this.el.style.width=n.getHorizontalSashWidth(this)+"px")}},t.prototype.hide=function(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")},t.prototype.onOrthogonalStartSashEnablementChange=function(e){Object(d.S)(this.el,"orthogonal-start",0!==e)},t.prototype.onOrthogonalEndSashEnablementChange=function(e){Object(d.S)(this.el,"orthogonal-end",0!==e)},t.prototype.getOrthogonalSash=function(e){if(0===this.orientation){if(e.offsetY<=4)return this.orthogonalStartSash;if(e.offsetY>=this.el.clientHeight-4)return this.orthogonalEndSash}else{if(e.offsetX<=4)return this.orthogonalStartSash;if(e.offsetX>=this.el.clientWidth-4)return this.orthogonalEndSash}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.el.remove()},t}(o.a)},cMvZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("MI8n"),o=n("pmY6"),r=n("N0LK"),s=n("0JNc"),a=n("KDc4"),u=n("BFtn"),l=function(){function e(t){if(t.autoClosingPairs?this._autoClosingPairs=t.autoClosingPairs.map((function(e){return new a.b(e)})):t.brackets?this._autoClosingPairs=t.brackets.map((function(e){return new a.b({open:e[0],close:e[1]})})):this._autoClosingPairs=[],t.__electricCharacterSupport&&t.__electricCharacterSupport.docComment){var n=t.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new a.b({open:n.open,close:n.close||""}))}this._autoCloseBefore="string"==typeof t.autoCloseBefore?t.autoCloseBefore:e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=t.surroundingPairs||this._autoClosingPairs}return e.prototype.getAutoClosingPairs=function(){return this._autoClosingPairs},e.prototype.getAutoCloseBeforeSet=function(){return this._autoCloseBefore},e.shouldAutoClosePair=function(e,t,n){if(0===t.getTokenCount())return!0;var i=t.findTokenIndexAtOffset(n-2),o=t.getStandardTokenType(i);return e.isOK(o)},e.prototype.getSurroundingPairs=function(){return this._surroundingPairs},e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t",e}(),c=n("EIAu"),d=function(){function e(e){this._richEditBrackets=e}return e.prototype.getElectricCharacters=function(){var e=[];if(this._richEditBrackets)for(var t=0,n=this._richEditBrackets.brackets;t<n.length;t++)for(var i=0,o=n[t].close;i<o.length;i++){var r=o[i],s=r.charAt(r.length-1);e.push(s)}return e=e.filter((function(e,t,n){return n.indexOf(e)===t}))},e.prototype.onElectricCharacter=function(e,t,n){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;var i=t.findTokenIndexAtOffset(n-1);if(Object(u.b)(t.getStandardTokenType(i)))return null;var o=this._richEditBrackets.reversedRegex,r=t.getLineContent().substring(0,n-1)+e,s=c.a.findPrevBracketInRange(o,1,r,0,r.length);if(!s)return null;var a=r.substring(s.startColumn-1,s.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[a])return null;var l=t.getActualLineContentBefore(s.startColumn-1);return/^\s*$/.test(l)?{matchOpenBracket:a}:null},e}(),h=function(){function e(e){this._indentationRules=e}return e.prototype.shouldIncrease=function(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&this._indentationRules.increaseIndentPattern.test(e))},e.prototype.shouldDecrease=function(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&this._indentationRules.decreaseIndentPattern.test(e))},e.prototype.shouldIndentNextLine=function(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&this._indentationRules.indentNextLinePattern.test(e))},e.prototype.shouldIgnore=function(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&this._indentationRules.unIndentedLinePattern.test(e))},e.prototype.getIndentMetadata=function(e){var t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t},e}(),f=n("/cxE"),p=function(){function e(t){var n=this;(t=t||{}).brackets=t.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],t.brackets.forEach((function(t){var i=e._createOpenBracketRegExp(t[0]),o=e._createCloseBracketRegExp(t[1]);i&&o&&n._brackets.push({open:t[0],openRegExp:i,close:t[1],closeRegExp:o})})),this._regExpRules=t.onEnterRules||[]}return e.prototype.onEnter=function(e,t,n,i){if(e>=3)for(var o=0,r=this._regExpRules.length;o<r;o++){var s=this._regExpRules[o];if([{reg:s.beforeText,text:n},{reg:s.afterText,text:i},{reg:s.oneLineAboveText,text:t}].every((function(e){return!e.reg||e.reg.test(e.text)})))return s.action}if(e>=2&&n.length>0&&i.length>0)for(o=0,r=this._brackets.length;o<r;o++){if((u=this._brackets[o]).openRegExp.test(n)&&u.closeRegExp.test(i))return{indentAction:a.a.IndentOutdent}}if(e>=2&&n.length>0)for(o=0,r=this._brackets.length;o<r;o++){var u;if((u=this._brackets[o]).openRegExp.test(n))return{indentAction:a.a.Indent}}return null},e._createOpenBracketRegExp=function(t){var n=r.n(t);return/\B/.test(n.charAt(0))||(n="\\b"+n),n+="\\s*$",e._safeRegExp(n)},e._createCloseBracketRegExp=function(t){var n=r.n(t);return/\B/.test(n.charAt(n.length-1))||(n+="\\b"),n="^\\s*"+n,e._safeRegExp(n)},e._safeRegExp=function(e){try{return new RegExp(e)}catch(e){return Object(f.e)(e),null}},e}(),g=function(){function e(t,n,i){this._languageIdentifier=t,this._brackets=null,this._electricCharacter=null;var o=null;n&&(o=n._conf),this._conf=e._mergeConf(o,i),this._onEnterSupport=this._conf.brackets||this._conf.indentationRules||this._conf.onEnterRules?new p(this._conf):null,this.comments=e._handleComments(this._conf),this.characterPair=new l(this._conf),this.wordDefinition=this._conf.wordPattern||s.a,this.indentationRules=this._conf.indentationRules,this._conf.indentationRules?this.indentRulesSupport=new h(this._conf.indentationRules):this.indentRulesSupport=null,this.foldingRules=this._conf.folding||{}}return Object.defineProperty(e.prototype,"brackets",{get:function(){return!this._brackets&&this._conf.brackets&&(this._brackets=new c.b(this._languageIdentifier,this._conf.brackets)),this._brackets},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"electricCharacter",{get:function(){return this._electricCharacter||(this._electricCharacter=new d(this.brackets)),this._electricCharacter},enumerable:!0,configurable:!0}),e.prototype.onEnter=function(e,t,n,i){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,n,i):null},e._mergeConf=function(e,t){return{comments:e?t.comments||e.comments:t.comments,brackets:e?t.brackets||e.brackets:t.brackets,wordPattern:e?t.wordPattern||e.wordPattern:t.wordPattern,indentationRules:e?t.indentationRules||e.indentationRules:t.indentationRules,onEnterRules:e?t.onEnterRules||e.onEnterRules:t.onEnterRules,autoClosingPairs:e?t.autoClosingPairs||e.autoClosingPairs:t.autoClosingPairs,surroundingPairs:e?t.surroundingPairs||e.surroundingPairs:t.surroundingPairs,autoCloseBefore:e?t.autoCloseBefore||e.autoCloseBefore:t.autoCloseBefore,folding:e?t.folding||e.folding:t.folding,__electricCharacterSupport:e?t.__electricCharacterSupport||e.__electricCharacterSupport:t.__electricCharacterSupport}},e._handleComments=function(e){var t=e.comments;if(!t)return null;var n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){var i=t.blockComment,o=i[0],r=i[1];n.blockCommentStartToken=o,n.blockCommentEndToken=r}return n},e}(),m=function(e){this.languageIdentifier=e},v=new(function(){function e(){this._entries=new Map,this._onDidChange=new i.a,this.onDidChange=this._onDidChange.event}return e.prototype.register=function(e,t){var n=this,i=this._getRichEditSupport(e.id),r=new g(e,i,t);return this._entries.set(e.id,r),this._onDidChange.fire(new m(e)),Object(o.f)((function(){n._entries.get(e.id)===r&&(n._entries.set(e.id,i),n._onDidChange.fire(new m(e)))}))},e.prototype._getRichEditSupport=function(e){return this._entries.get(e)},e.prototype._getElectricCharacterSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.electricCharacter||null},e.prototype.getElectricCharacters=function(e){var t=this._getElectricCharacterSupport(e);return t?t.getElectricCharacters():[]},e.prototype.onElectricCharacter=function(e,t,n){var i=Object(u.a)(t,n-1),o=this._getElectricCharacterSupport(i.languageId);return o?o.onElectricCharacter(e,i,n-i.firstCharOffset):null},e.prototype.getComments=function(e){var t=this._getRichEditSupport(e);return t&&t.comments||null},e.prototype._getCharacterPairSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.characterPair||null},e.prototype.getAutoClosingPairs=function(e){var t=this._getCharacterPairSupport(e);return t?t.getAutoClosingPairs():[]},e.prototype.getAutoCloseBeforeSet=function(e){var t=this._getCharacterPairSupport(e);return t?t.getAutoCloseBeforeSet():l.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED},e.prototype.getSurroundingPairs=function(e){var t=this._getCharacterPairSupport(e);return t?t.getSurroundingPairs():[]},e.prototype.shouldAutoClosePair=function(e,t,n){var i=Object(u.a)(t,n-1);return l.shouldAutoClosePair(e,i,n-i.firstCharOffset)},e.prototype.getWordDefinition=function(e){var t=this._getRichEditSupport(e);return t?Object(s.c)(t.wordDefinition||null):Object(s.c)(null)},e.prototype.getFoldingRules=function(e){var t=this._getRichEditSupport(e);return t?t.foldingRules:{}},e.prototype.getIndentRulesSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.indentRulesSupport||null},e.prototype.getPrecedingValidLine=function(e,t,n){var i=e.getLanguageIdAtPosition(t,0);if(t>1){var o=void 0,r=-1;for(o=t-1;o>=1;o--){if(e.getLanguageIdAtPosition(o,0)!==i)return r;var s=e.getLineContent(o);if(!n.shouldIgnore(s)&&!/^\s+$/.test(s)&&""!==s)return o;r=o}}return-1},e.prototype.getInheritIndentForLine=function(e,t,n,i){if(void 0===i&&(i=!0),e<4)return null;var o=this.getIndentRulesSupport(t.getLanguageIdentifier().id);if(!o)return null;if(n<=1)return{indentation:"",action:null};var s=this.getPrecedingValidLine(t,n,o);if(s<0)return null;if(s<1)return{indentation:"",action:null};var u=t.getLineContent(s);if(o.shouldIncrease(u)||o.shouldIndentNextLine(u))return{indentation:r.r(u),action:a.a.Indent,line:s};if(o.shouldDecrease(u))return{indentation:r.r(u),action:null,line:s};if(1===s)return{indentation:r.r(t.getLineContent(s)),action:null,line:s};var l=s-1,c=o.getIndentMetadata(t.getLineContent(l));if(!(3&c)&&4&c){for(var d=0,h=l-1;h>0;h--)if(!o.shouldIndentNextLine(t.getLineContent(h))){d=h;break}return{indentation:r.r(t.getLineContent(d+1)),action:null,line:d+1}}if(i)return{indentation:r.r(t.getLineContent(s)),action:null,line:s};for(h=s;h>0;h--){var f=t.getLineContent(h);if(o.shouldIncrease(f))return{indentation:r.r(f),action:a.a.Indent,line:h};if(o.shouldIndentNextLine(f)){d=0;for(var p=h-1;p>0;p--)if(!o.shouldIndentNextLine(t.getLineContent(h))){d=p;break}return{indentation:r.r(t.getLineContent(d+1)),action:null,line:d+1}}if(o.shouldDecrease(f))return{indentation:r.r(f),action:null,line:h}}return{indentation:r.r(t.getLineContent(1)),action:null,line:1}},e.prototype.getGoodIndentForLine=function(e,t,n,i,o){if(e<4)return null;var s=this._getRichEditSupport(n);if(!s)return null;var u=this.getIndentRulesSupport(n);if(!u)return null;var l=this.getInheritIndentForLine(e,t,i),c=t.getLineContent(i);if(l){var d=l.line;if(void 0!==d){var h=s.onEnter(e,"",t.getLineContent(d),"");if(h){var f=r.r(t.getLineContent(d));return h.removeText&&(f=f.substring(0,f.length-h.removeText)),h.indentAction===a.a.Indent||h.indentAction===a.a.IndentOutdent?f=o.shiftIndent(f):h.indentAction===a.a.Outdent&&(f=o.unshiftIndent(f)),u.shouldDecrease(c)&&(f=o.unshiftIndent(f)),h.appendText&&(f+=h.appendText),r.r(f)}}return u.shouldDecrease(c)?l.action===a.a.Indent?l.indentation:o.unshiftIndent(l.indentation):l.action===a.a.Indent?o.shiftIndent(l.indentation):l.indentation}return null},e.prototype.getIndentForEnter=function(e,t,n,i){if(e<4)return null;t.forceTokenization(n.startLineNumber);var o,s,l=t.getLineTokens(n.startLineNumber),c=Object(u.a)(l,n.startColumn-1),d=c.getLineContent(),h=!1;(c.firstCharOffset>0&&l.getLanguageId(0)!==c.languageId?(h=!0,o=d.substr(0,n.startColumn-1-c.firstCharOffset)):o=l.getLineContent().substring(0,n.startColumn-1),n.isEmpty())?s=d.substr(n.startColumn-1-c.firstCharOffset):s=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-c.firstCharOffset);var f=this.getIndentRulesSupport(c.languageId);if(!f)return null;var p=o,g=r.r(o),m={getLineTokens:function(e){return t.getLineTokens(e)},getLanguageIdentifier:function(){return t.getLanguageIdentifier()},getLanguageIdAtPosition:function(e,n){return t.getLanguageIdAtPosition(e,n)},getLineContent:function(e){return e===n.startLineNumber?p:t.getLineContent(e)}},v=r.r(l.getLineContent()),_=this.getInheritIndentForLine(e,m,n.startLineNumber+1);if(!_){var y=h?v:g;return{beforeEnter:y,afterEnter:y}}var b=h?v:_.indentation;return _.action===a.a.Indent&&(b=i.shiftIndent(b)),f.shouldDecrease(s)&&(b=i.unshiftIndent(b)),{beforeEnter:h?v:g,afterEnter:b}},e.prototype.getIndentActionForType=function(e,t,n,i,o){if(e<4)return null;var r=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),s=this.getIndentRulesSupport(r.languageId);if(!s)return null;var u,l=r.getLineContent(),c=l.substr(0,n.startColumn-1-r.firstCharOffset);n.isEmpty()?u=l.substr(n.startColumn-1-r.firstCharOffset):u=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-r.firstCharOffset);if(!s.shouldDecrease(c+u)&&s.shouldDecrease(c+i+u)){var d=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!d)return null;var h=d.indentation;return d.action!==a.a.Indent&&(h=o.unshiftIndent(h)),h}return null},e.prototype.getIndentMetadata=function(e,t){var n=this.getIndentRulesSupport(e.getLanguageIdentifier().id);return n?t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t)):null},e.prototype.getEnterAction=function(e,t,n){var i=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),o=this._getRichEditSupport(i.languageId);if(!o)return null;var r,s=i.getLineContent(),u=s.substr(0,n.startColumn-1-i.firstCharOffset);n.isEmpty()?r=s.substr(n.startColumn-1-i.firstCharOffset):r=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-i.firstCharOffset);var l="";if(n.startLineNumber>1&&0===i.firstCharOffset){var c=this.getScopedLineTokens(t,n.startLineNumber-1);c.languageId===i.languageId&&(l=c.getLineContent())}var d=o.onEnter(e,l,u,r);if(!d)return null;var h=d.indentAction,f=d.appendText,p=d.removeText||0;f||(f=h===a.a.Indent||h===a.a.IndentOutdent?"\t":"");var g=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return p&&(g=g.substring(0,g.length-p)),{indentAction:h,appendText:f,removeText:p,indentation:g}},e.prototype.getIndentationAtPosition=function(e,t,n){var i=e.getLineContent(t),o=r.r(i);return o.length>n-1&&(o=o.substring(0,n-1)),o},e.prototype.getScopedLineTokens=function(e,t,n){e.forceTokenization(t);var i=e.getLineTokens(t),o=void 0===n?e.getLineMaxColumn(t)-1:n-1;return Object(u.a)(i,o)},e.prototype.getBracketsSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.brackets||null},e}())},cl4r:function(e,t,n){},cldp:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"javascript",extensions:[".js",".es6",".jsx"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return n.e(128).then(n.bind(null,"7Xl7"))}})},eC1c:function(e,t,n){},eizg:function(e,t,n){},eq1K:function(e,t,n){},fjLI:function(e,t,n){"use strict";n.d(t,"e",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return v})),n.d(t,"b",(function(){return _}));var i,o=n("8HAY"),r=n("Cg/j"),s=n("T8No"),a=n("nnTU"),u=n("MI8n"),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},d=function(e,t){return function(n,i){t(n,i,e)}},h=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i};function f(e){return void 0!==e.command}var p=Object(r.c)("menuService"),g=new(function(){function e(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new u.a,this.onDidChangeMenu=this._onDidChangeMenu.event}return e.prototype.addCommand=function(e){var t=this;return this._commands.set(e.id,e),this._onDidChangeMenu.fire(0),{dispose:function(){t._commands.delete(e.id)&&t._onDidChangeMenu.fire(0)}}},e.prototype.getCommand=function(e){return this._commands.get(e)},e.prototype.getCommands=function(){var e=new Map;return this._commands.forEach((function(t,n){return e.set(n,t)})),e},e.prototype.appendMenuItem=function(e,t){var n=this,i=this._menuItems.get(e);return i?i.push(t):(i=[t],this._menuItems.set(e,i)),this._onDidChangeMenu.fire(e),{dispose:function(){var o=i.indexOf(t);o>=0&&(i.splice(o,1),n._onDidChangeMenu.fire(e))}}},e.prototype.getMenuItems=function(e){var t=(this._menuItems.get(e)||[]).slice(0);return 0===e&&this._appendImplicitItems(t),t},e.prototype._appendImplicitItems=function(e){for(var t=new Set,n=0,i=e.filter((function(e){return f(e)}));n<i.length;n++){var o=i[n],r=o.command,s=o.alt;t.add(r.id),s&&t.add(s.id)}this._commands.forEach((function(n,i){t.has(i)||e.push({command:n})}))},e}()),m=function(e){function t(t,n,i){var o=e.call(this,t,n)||this;return o._commandService=i,o}return l(t,e),t.prototype.run=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(e=this._commandService).executeCommand.apply(e,h([this.id],t))},t=c([d(2,a.b)],t)}(o.a),v=function(e){function t(t){var n=this;return(n="string"==typeof t.title?e.call(this,"",t.title,"submenu")||this:e.call(this,"",t.title.value,"submenu")||this).item=t,n}return l(t,e),t}(o.a),_=function(e){function t(n,i,o,r,s){var a=this;return(a="string"==typeof n.title?e.call(this,n.id,n.title,s)||this:e.call(this,n.id,n.title.value,s)||this)._cssClass=void 0,a._enabled=!n.precondition||r.contextMatchesRules(n.precondition),a._checked=Boolean(n.toggled&&r.contextMatchesRules(n.toggled)),a._options=o||{},a.item=n,a.alt=i?new t(i,void 0,a._options,r,s):void 0,a}return l(t,e),t.prototype.dispose=function(){this.alt&&this.alt.dispose(),e.prototype.dispose.call(this)},t.prototype.run=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=[];return this._options.arg&&(i=h(i,[this._options.arg])),this._options.shouldForwardArgs&&(i=h(i,t)),e.prototype.run.apply(this,i)},t=c([d(3,s.c),d(4,a.b)],t)}(m)},gCVg:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i,o=n("cGHE"),r=n("aokT"),s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e){function t(t,n,i,o){var r=e.call(this,t,n,i,o)||this;return r.selectionStartLineNumber=t,r.selectionStartColumn=n,r.positionLineNumber=i,r.positionColumn=o,r}return s(t,e),t.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},t.prototype.equalsSelection=function(e){return t.selectionsEqual(this,e)},t.selectionsEqual=function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn},t.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},t.prototype.setEndPosition=function(e,n){return 0===this.getDirection()?new t(this.startLineNumber,this.startColumn,e,n):new t(e,n,this.startLineNumber,this.startColumn)},t.prototype.getPosition=function(){return new o.a(this.positionLineNumber,this.positionColumn)},t.prototype.setStartPosition=function(e,n){return 0===this.getDirection()?new t(e,n,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,e,n)},t.fromPositions=function(e,n){return void 0===n&&(n=e),new t(e.lineNumber,e.column,n.lineNumber,n.column)},t.liftSelection=function(e){return new t(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},t.selectionsArrEqual=function(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(var n=0,i=e.length;n<i;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0},t.isISelection=function(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn},t.createWithDirection=function(e,n,i,o,r){return 0===r?new t(e,n,i,o):new t(i,o,e,n)},t}(r.a)},gqHg:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return n.e(26).then(n.bind(null,"fhwZ"))}}),Object(i.a)({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return n.e(26).then(n.bind(null,"fhwZ"))}})},hFdI:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:function(){return n.e(154).then(n.bind(null,"tpLM"))}})},hHjc:function(e,t,n){},"i/Ef":function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return l}));var i=n("Tcc1"),o=n("twdY"),r=new(function(){function e(){}return e.prototype.clone=function(){return this},e.prototype.equals=function(e){return this===e},e}()),s="vs.editor.nullMode",a=new o.q(s,0);function u(e,t,n,o){return new i.b([new i.a(o,"",e)],n)}function l(e,t,n,o){var s=new Uint32Array(2);return s[0]=o,s[1]=(16384|e<<0|2<<23)>>>0,new i.c(s,null===n?r:n)}},"i/Rh":function(e,t,n){},iJk1:function(e,t,n){},iLY9:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return n.e(169).then(n.bind(null,"8ahN"))}})},ic2d:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("746U"),o=n("FWmy"),r=new(function(){function e(){this.data=new Map}return e.prototype.add=function(e,t){o.a(i.j(e)),o.a(i.i(t)),o.a(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)},e.prototype.as=function(e){return this.data.get(e)||null},e}())},"ij/i":function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile"],aliases:["Ruby","rb"],loader:function(){return n.e(174).then(n.bind(null,"3MdH"))}})},iuje:function(e,t,n){"use strict";function i(e){return e&&"string"==typeof e.id}n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var o={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"},r={ExecuteCommand:"executeCommand",ExecuteCommands:"executeCommands",Type:"type",ReplacePreviousChar:"replacePreviousChar",CompositionStart:"compositionStart",CompositionEnd:"compositionEnd",Paste:"paste",Cut:"cut",Undo:"undo",Redo:"redo"}},j2o1:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return n.e(167).then(n.bind(null,"ppMK"))}})},"jAJ/":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return f})),n.d(t,"b",(function(){return p}));var i=n("N0LK"),o=n("5v8Y"),r=n("cGHE"),s=n("aokT"),a=n("M1Kb"),u=function(){function e(e,t,n,i){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=i}return e.prototype.parseSearchRequest=function(){if(""===this.searchString)return null;var e;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(var t=0,n=e.length;t<n;t++){if(92===e.charCodeAt(t)){if(++t>=n)break;var i=e.charCodeAt(t);if(110===i||114===i||87===i||119===i)return!0}}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;var t=null;try{t=i.j(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;var n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new l(t,this.wordSeparators?Object(o.a)(this.wordSeparators):null,n?this.searchString:null)},e}();var l=function(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n};function c(e,t,n){if(!n)return new a.b(e,null);for(var i=[],o=0,r=t.length;o<r;o++)i[o]=t[o];return new a.b(e,i)}var d=function(){function e(e){for(var t=[],n=0,i=0,o=e.length;i<o;i++)10===e.charCodeAt(i)&&(t[n++]=i);this._lineFeedsOffsets=t}return e.prototype.findLineFeedCountBeforeOffset=function(e){var t=this._lineFeedsOffsets,n=0,i=t.length-1;if(-1===i)return 0;if(e<=t[0])return 0;for(;n<i;){var o=n+((i-n)/2>>0);t[o]>=e?i=o-1:t[o+1]>=e?(n=o,i=o):n=o+1}return n+1},e}(),h=function(){function e(){}return e.findMatches=function(e,t,n,i,o){var r=t.parseSearchRequest();return r?r.regex.multiline?this._doFindMatchesMultiline(e,n,new p(r.wordSeparators,r.regex),i,o):this._doFindMatchesLineByLine(e,n,r,i,o):[]},e._getMultilineMatchRange=function(e,t,n,i,o,r){var a,u,l=0;if(a=i?t+o+(l=i.findLineFeedCountBeforeOffset(o)):t+o,i){var c=i.findLineFeedCountBeforeOffset(o+r.length)-l;u=a+r.length+c}else u=a+r.length;var d=e.getPositionAt(a),h=e.getPositionAt(u);return new s.a(d.lineNumber,d.column,h.lineNumber,h.column)},e._doFindMatchesMultiline=function(e,t,n,i,o){var r,s=e.getOffsetAt(t.getStartPosition()),a=e.getValueInRange(t,1),u="\r\n"===e.getEOL()?new d(a):null,l=[],h=0;for(n.reset(0);r=n.next(a);)if(l[h++]=c(this._getMultilineMatchRange(e,s,a,u,r.index,r[0]),r,i),h>=o)return l;return l},e._doFindMatchesLineByLine=function(e,t,n,i,o){var r=[],s=0;if(t.startLineNumber===t.endLineNumber){var a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return s=this._findMatchesInLine(n,a,t.startLineNumber,t.startColumn-1,s,r,i,o),r}var u=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);s=this._findMatchesInLine(n,u,t.startLineNumber,t.startColumn-1,s,r,i,o);for(var l=t.startLineNumber+1;l<t.endLineNumber&&s<o;l++)s=this._findMatchesInLine(n,e.getLineContent(l),l,0,s,r,i,o);if(s<o){var c=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);s=this._findMatchesInLine(n,c,t.endLineNumber,0,s,r,i,o)}return r},e._findMatchesInLine=function(e,t,n,i,o,r,u,l){var d=e.wordSeparators;if(!u&&e.simpleSearch){for(var h=e.simpleSearch,g=h.length,m=t.length,v=-g;-1!==(v=t.indexOf(h,v+g));)if((!d||f(d,t,m,v,g))&&(r[o++]=new a.b(new s.a(n,v+1+i,n,v+1+g+i),null),o>=l))return o;return o}var _,y=new p(e.wordSeparators,e.regex);y.reset(0);do{if((_=y.next(t))&&(r[o++]=c(new s.a(n,_.index+1+i,n,_.index+1+_[0].length+i),_,u),o>=l))return o}while(_);return o},e.findNextMatch=function(e,t,n,i){var o=t.parseSearchRequest();if(!o)return null;var r=new p(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindNextMatchMultiline(e,n,r,i):this._doFindNextMatchLineByLine(e,n,r,i)},e._doFindNextMatchMultiline=function(e,t,n,i){var o=new r.a(t.lineNumber,1),a=e.getOffsetAt(o),u=e.getLineCount(),l=e.getValueInRange(new s.a(o.lineNumber,o.column,u,e.getLineMaxColumn(u)),1),h="\r\n"===e.getEOL()?new d(l):null;n.reset(t.column-1);var f=n.next(l);return f?c(this._getMultilineMatchRange(e,a,l,h,f.index,f[0]),f,i):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new r.a(1,1),n,i):null},e._doFindNextMatchLineByLine=function(e,t,n,i){var o=e.getLineCount(),r=t.lineNumber,s=e.getLineContent(r),a=this._findFirstMatchInLine(n,s,r,t.column,i);if(a)return a;for(var u=1;u<=o;u++){var l=(r+u-1)%o,c=e.getLineContent(l+1),d=this._findFirstMatchInLine(n,c,l+1,1,i);if(d)return d}return null},e._findFirstMatchInLine=function(e,t,n,i,o){e.reset(i-1);var r=e.next(t);return r?c(new s.a(n,r.index+1,n,r.index+1+r[0].length),r,o):null},e.findPreviousMatch=function(e,t,n,i){var o=t.parseSearchRequest();if(!o)return null;var r=new p(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindPreviousMatchMultiline(e,n,r,i):this._doFindPreviousMatchLineByLine(e,n,r,i)},e._doFindPreviousMatchMultiline=function(e,t,n,i){var o=this._doFindMatchesMultiline(e,new s.a(1,1,t.lineNumber,t.column),n,i,9990);if(o.length>0)return o[o.length-1];var a=e.getLineCount();return t.lineNumber!==a||t.column!==e.getLineMaxColumn(a)?this._doFindPreviousMatchMultiline(e,new r.a(a,e.getLineMaxColumn(a)),n,i):null},e._doFindPreviousMatchLineByLine=function(e,t,n,i){var o=e.getLineCount(),r=t.lineNumber,s=e.getLineContent(r).substring(0,t.column-1),a=this._findLastMatchInLine(n,s,r,i);if(a)return a;for(var u=1;u<=o;u++){var l=(o+r-u-1)%o,c=e.getLineContent(l+1),d=this._findLastMatchInLine(n,c,l+1,i);if(d)return d}return null},e._findLastMatchInLine=function(e,t,n,i){var o,r=null;for(e.reset(0);o=e.next(t);)r=c(new s.a(n,o.index+1,n,o.index+1+o[0].length),o,i);return r},e}();function f(e,t,n,i,o){return function(e,t,n,i,o){if(0===i)return!0;var r=t.charCodeAt(i-1);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(o>0){var s=t.charCodeAt(i);if(0!==e.get(s))return!0}return!1}(e,t,0,i,o)&&function(e,t,n,i,o){if(i+o===n)return!0;var r=t.charCodeAt(i+o);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(o>0){var s=t.charCodeAt(i+o-1);if(0!==e.get(s))return!0}return!1}(e,t,n,i,o)}var p=function(){function e(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}return e.prototype.reset=function(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0},e.prototype.next=function(e){var t,n=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===n)return null;if(!(t=this._searchRegex.exec(e)))return null;var i=t.index,o=t[0].length;if(i===this._prevMatchStartIndex&&o===this._prevMatchLength){if(0===o){this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=o,!this._wordSeparators||f(this._wordSeparators,e,n,i,o))return t}while(t);return null},e}()},jrbv:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return n.e(146).then(n.bind(null,"2ZXa"))}})},k7mE:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return n.e(156).then(n.bind(null,"BjZ/"))}})},"kw+w":function(e,t,n){},l2gE:function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var i=n("6OMU"),o=n("N0LK"),r=n("PTeM"),s=n("MrjW"),a=n("QDVR"),u=n("X+cX"),l=/\//g;function c(e){switch(e){case 0:return"";case 1:return"[^/\\\\]*?";default:return"(?:[/\\\\]|[^/\\\\]+[/\\\\]|[/\\\\][^/\\\\]+)*?"}}function d(e,t){if(!e)return[];for(var n=[],i=!1,o=!1,r="",s=0,a=e;s<a.length;s++){var u=a[s];switch(u){case t:if(!i&&!o){n.push(r),r="";continue}break;case"{":i=!0;break;case"}":i=!1;break;case"[":o=!0;break;case"]":o=!1}r+=u}return r&&n.push(r),n}var h=/^\*\*\/\*\.[\w\.-]+$/,f=/^\*\*\/([\w\.-]+)\/?$/,p=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,g=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,m=/^\*\*((\/[\w\.-]+)+)\/?$/,v=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,_=new a.a(1e4),y=function(){return!1},b=function(){return null};function C(e,t){if(!e)return b;var n,r,s=(n=(n="string"!=typeof e?e.pattern:e).trim())+"_"+!!t.trimForExclusions,a=_.get(s);if(a)return w(a,e);if(h.test(n)){var u=n.substr(4);a=function(e,t){return"string"==typeof e&&o.k(e,u)?n:null}}else a=(r=f.exec(S(n,t)))?function(e,t){var n="/"+e,i="\\"+e,r=function(r,s){return"string"!=typeof r?null:s?s===e?t:null:r===e||o.k(r,n)||o.k(r,i)?t:null},s=[e];return r.basenames=s,r.patterns=[t],r.allBasenames=s,r}(r[1],n):(t.trimForExclusions?g:p).test(n)?function(e,t){var n=O(e.slice(1,-1).split(",").map((function(e){return C(e,t)})).filter((function(e){return e!==b})),e),o=n.length;if(!o)return b;if(1===o)return n[0];var r=function(t,i){for(var o=0,r=n.length;o<r;o++)if(n[o](t,i))return e;return null},s=i.g(n,(function(e){return!!e.allBasenames}));s&&(r.allBasenames=s.allBasenames);var a=n.reduce((function(e,t){return t.allPaths?e.concat(t.allPaths):e}),[]);a.length&&(r.allPaths=a);return r}(n,t):(r=m.exec(S(n,t)))?L(r[1].substr(1),n,!0):(r=v.exec(S(n,t)))?L(r[1],n,!1):function(e){try{var t=new RegExp("^"+function e(t){if(!t)return"";var n="",i=d(t,"/");if(i.every((function(e){return"**"===e})))n=".*";else{var r=!1;i.forEach((function(t,s){if("**"!==t){for(var a=!1,u="",l=!1,h="",f=0,p=t;f<p.length;f++){var g=p[f];if("}"!==g&&a)u+=g;else if(!l||"]"===g&&h)switch(g){case"{":a=!0;continue;case"[":l=!0;continue;case"}":var m="(?:"+d(u,",").map((function(t){return e(t)})).join("|")+")";n+=m,a=!1,u="";break;case"]":n+="["+h+"]",l=!1,h="";break;case"?":n+="[^/\\\\]";continue;case"*":n+=c(1);continue;default:n+=o.n(g)}else{h+="-"===g?g:"^"!==g&&"!"!==g||h?"/"===g?"":o.n(g):"^"}}s<i.length-1&&("**"!==i[s+1]||s+2<i.length)&&(n+="[/\\\\]"),r=!1}else r||(n+=c(2),r=!0)}))}return n}(e)+"$");return function(n,i){return t.lastIndex=0,"string"==typeof n&&t.test(n)?e:null}}catch(e){return b}}(n);return _.set(s,a),w(a,e)}function w(e,t){return"string"==typeof t?e:function(n,i){return r.a(n,t.base)?e(s.relative(t.base,n),i):null}}function S(e,t){return t.trimForExclusions&&o.k(e,"/**")?e.substr(0,e.length-2):e}function L(e,t,n){var i=s.sep!==s.posix.sep?e.replace(l,s.sep):e,r=s.sep+i,a=n?function(e,n){return"string"!=typeof e||e!==i&&!o.k(e,r)?null:t}:function(e,n){return"string"==typeof e&&e===i?t:null};return a.allPaths=[(n?"*/":"./")+e],a}function N(e,t,n){return!(!e||"string"!=typeof t)&&function(e,t){void 0===t&&(t={});if(!e)return y;if("string"==typeof e||(r=e,a=r,a&&"string"==typeof a.base&&"string"==typeof a.pattern)){var n=C(e,t);if(n===b)return y;var o=function(e,t){return!!n(e,t)};return n.allBasenames&&(o.allBasenames=n.allBasenames),n.allPaths&&(o.allPaths=n.allPaths),o}var r,a;return function(e,t){var n=O(Object.getOwnPropertyNames(e).map((function(n){return function(e,t,n){if(!1===t)return b;var i=C(e,n);if(i===b)return b;if("boolean"==typeof t)return i;if(t){var o=t.when;if("string"==typeof o){var r=function(t,n,r,s){if(!s||!i(t,n))return null;var a=s(o.replace("$(basename)",r));return Object(u.h)(a)?a.then((function(t){return t?e:null})):a?e:null};return r.requiresSiblings=!0,r}}return i}(n,e[n],t)})).filter((function(e){return e!==b}))),o=n.length;if(!o)return b;if(!n.some((function(e){return!!e.requiresSiblings}))){if(1===o)return n[0];var r=function(e,t){for(var i=0,o=n.length;i<o;i++){var r=n[i](e,t);if(r)return r}return null},a=i.g(n,(function(e){return!!e.allBasenames}));a&&(r.allBasenames=a.allBasenames);var l=n.reduce((function(e,t){return t.allPaths?e.concat(t.allPaths):e}),[]);return l.length&&(r.allPaths=l),r}var c=function(e,t,i){for(var o=void 0,r=0,a=n.length;r<a;r++){var u=n[r];u.requiresSiblings&&i&&(t||(t=s.basename(e)),o||(o=t.substr(0,t.length-s.extname(e).length)));var l=u(e,t,o,i);if(l)return l}return null},d=i.g(n,(function(e){return!!e.allBasenames}));d&&(c.allBasenames=d.allBasenames);var h=n.reduce((function(e,t){return t.allPaths?e.concat(t.allPaths):e}),[]);h.length&&(c.allPaths=h);return c}(e,t)}(e)(t,void 0,n)}function O(e,t){var n=e.filter((function(e){return!!e.basenames}));if(n.length<2)return e;var i,o=n.reduce((function(e,t){var n=t.basenames;return n?e.concat(n):e}),[]);if(t){i=[];for(var r=0,s=o.length;r<s;r++)i.push(t)}else i=n.reduce((function(e,t){var n=t.patterns;return n?e.concat(n):e}),[]);var a=function(e,t){if("string"!=typeof e)return null;if(!t){var n=void 0;for(n=e.length;n>0;n--){var r=e.charCodeAt(n-1);if(47===r||92===r)break}t=e.substr(n)}var s=o.indexOf(t);return-1!==s?i[s]:null};a.basenames=o,a.patterns=i,a.allBasenames=o;var u=e.filter((function(e){return!e.basenames}));return u.push(a),u}},lKfe:function(e,t,n){},li8W:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return n.e(144).then(n.bind(null,"7s2V"))}})},lrmC:function(e,t,n){},nnTU:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d}));var i=n("pmY6"),o=n("746U"),r=n("Cg/j"),s=n("MI8n"),a=n("24hK"),u=n("QDVR"),l=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},c=Object(r.c)("commandService"),d=new(function(){function e(){this._commands=new Map,this._onDidRegisterCommand=new s.a,this.onDidRegisterCommand=this._onDidRegisterCommand.event}return e.prototype.registerCommand=function(e,t){var n=this;if(!e)throw new Error("invalid command");if("string"==typeof e){if(!t)throw new Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.description){for(var r=[],s=0,u=e.description.args;s<u.length;s++){var c=u[s];r.push(c.constraint)}var d=e.handler;e.handler=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Object(o.m)(t,r),d.apply(void 0,l([e],t))}}var h=e.id,f=this._commands.get(h);f||(f=new a.a,this._commands.set(h,f));var p=f.unshift(e),g=Object(i.f)((function(){p();var e=n._commands.get(h);(null==e?void 0:e.isEmpty())&&n._commands.delete(h)}));return this._onDidRegisterCommand.fire(h),g},e.prototype.registerCommandAlias=function(e,t){return d.registerCommand(e,(function(e){for(var n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return(n=e.get(c)).executeCommand.apply(n,l([t],i))}))},e.prototype.getCommand=function(e){var t=this._commands.get(e);if(t&&!t.isEmpty())return t.iterator().next().value},e.prototype.getCommands=function(){for(var e=new Map,t=0,n=Object(u.d)(this._commands);t<n.length;t++){var i=n[t],o=this.getCommand(i);o&&e.set(i,o)}return e},e}())},nrBJ:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return n.e(185).then(n.bind(null,"eXtt"))}})},nrhi:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("/kV6"),o=n("MNsG"),r=n("nnTU"),s=n("ic2d"),a=new(function(){function e(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}return e.bindToCurrentPlatform=function(e){if(1===o.a){if(e&&e.win)return e.win}else if(2===o.a){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e},e.prototype.registerKeybindingRule=function(t){var n=e.bindToCurrentPlatform(t);n&&n.primary&&((a=Object(i.f)(n.primary,o.a))&&this._registerDefaultKeybinding(a,t.id,t.args,t.weight,0,t.when));if(n&&Array.isArray(n.secondary))for(var r=0,s=n.secondary.length;r<s;r++){var a,u=n.secondary[r];(a=Object(i.f)(u,o.a))&&this._registerDefaultKeybinding(a,t.id,t.args,t.weight,-r-1,t.when)}},e.prototype.registerCommandAndKeybindingRule=function(e){this.registerKeybindingRule(e),r.a.registerCommand(e)},e._mightProduceChar=function(e){return e>=21&&e<=30||(e>=31&&e<=56||(80===e||81===e||82===e||83===e||84===e||85===e||86===e||110===e||111===e||87===e||88===e||89===e||90===e||91===e||92===e))},e.prototype._assertNoCtrlAlt=function(t,n){t.ctrlKey&&t.altKey&&!t.metaKey&&e._mightProduceChar(t.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",t," for ",n)},e.prototype._registerDefaultKeybinding=function(e,t,n,i,r,s){1===o.a&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e,command:t,commandArgs:n,when:s,weight1:i,weight2:r}),this._cachedMergedKeybindings=null},e.prototype.getDefaultKeybindings=function(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(u)),this._cachedMergedKeybindings.slice(0)},e}());function u(e,t){return e.weight1!==t.weight1?e.weight1-t.weight1:e.command<t.command?-1:e.command>t.command?1:e.weight2-t.weight2}s.a.add("platform.keybindingsRegistry",a)},oKJv:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return n.e(163).then(n.bind(null,"HGU1"))}})},oQaD:function(e,t,n){"use strict";n.r(t),n.d(t,"getSelectionSearchString",(function(){return kt})),n.d(t,"CommonFindController",(function(){return It})),n.d(t,"FindController",(function(){return Mt})),n.d(t,"StartFindAction",(function(){return Tt})),n.d(t,"StartFindWithSelectionAction",(function(){return At})),n.d(t,"MatchFindAction",(function(){return Rt})),n.d(t,"NextMatchFindAction",(function(){return Pt})),n.d(t,"NextMatchFindAction2",(function(){return Ft})),n.d(t,"PreviousMatchFindAction",(function(){return Vt})),n.d(t,"PreviousMatchFindAction2",(function(){return Wt})),n.d(t,"SelectionMatchFindAction",(function(){return Bt})),n.d(t,"NextSelectionMatchFindAction",(function(){return jt})),n.d(t,"PreviousSelectionMatchFindAction",(function(){return Ht})),n.d(t,"StartFindReplaceAction",(function(){return zt}));var i=n("3/fG"),o=n("X+cX"),r=n("pmY6"),s=n("N0LK"),a=n("sswD"),u=n("wQH0"),l=n("LCkn"),c=n("cGHE"),d=n("aokT"),h=n("gCVg"),f=n("jAJ/"),p=n("M1Kb"),g=n("tX9W"),m=n("MD5Z"),v=n("t9D7"),_=function(){function e(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}return e.prototype.dispose=function(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.reset=function(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.getCount=function(){return this._decorations.length},e.prototype.getFindScope=function(){return this._findScopeDecorationId?this._editor.getModel().getDecorationRange(this._findScopeDecorationId):null},e.prototype.getStartPosition=function(){return this._startPosition},e.prototype.setStartPosition=function(e){this._startPosition=e,this.setCurrentFindMatch(null)},e.prototype._getDecorationIndex=function(e){var t=this._decorations.indexOf(e);return t>=0?t+1:1},e.prototype.getCurrentMatchesPosition=function(t){for(var n=0,i=this._editor.getModel().getDecorationsInRange(t);n<i.length;n++){var o=i[n],r=o.options;if(r===e._FIND_MATCH_DECORATION||r===e._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(o.id)}return 1},e.prototype.setCurrentFindMatch=function(t){var n=this,i=null,o=0;if(t)for(var r=0,s=this._decorations.length;r<s;r++){var a=this._editor.getModel().getDecorationRange(this._decorations[r]);if(t.equalsRange(a)){i=this._decorations[r],o=r+1;break}}return null===this._highlightedDecorationId&&null===i||this._editor.changeDecorations((function(t){if(null!==n._highlightedDecorationId&&(t.changeDecorationOptions(n._highlightedDecorationId,e._FIND_MATCH_DECORATION),n._highlightedDecorationId=null),null!==i&&(n._highlightedDecorationId=i,t.changeDecorationOptions(n._highlightedDecorationId,e._CURRENT_FIND_MATCH_DECORATION)),null!==n._rangeHighlightDecorationId&&(t.removeDecoration(n._rangeHighlightDecorationId),n._rangeHighlightDecorationId=null),null!==i){var o=n._editor.getModel().getDecorationRange(i);if(o.startLineNumber!==o.endLineNumber&&1===o.endColumn){var r=o.endLineNumber-1,s=n._editor.getModel().getLineMaxColumn(r);o=new d.a(o.startLineNumber,o.startColumn,r,s)}n._rangeHighlightDecorationId=t.addDecoration(o,e._RANGE_HIGHLIGHT_DECORATION)}})),o},e.prototype.set=function(t,n){var i=this;this._editor.changeDecorations((function(o){var r=e._FIND_MATCH_DECORATION,s=[];if(t.length>1e3){r=e._FIND_MATCH_NO_OVERVIEW_DECORATION;for(var a=i._editor.getModel().getLineCount(),u=i._editor.getLayoutInfo().height/a,l=Math.max(2,Math.ceil(3/u)),c=t[0].range.startLineNumber,h=t[0].range.endLineNumber,f=1,p=t.length;f<p;f++){var g=t[f].range;h+l>=g.startLineNumber?g.endLineNumber>h&&(h=g.endLineNumber):(s.push({range:new d.a(c,1,h,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),c=g.startLineNumber,h=g.endLineNumber)}s.push({range:new d.a(c,1,h,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}var m=new Array(t.length);for(f=0,p=t.length;f<p;f++)m[f]={range:t[f].range,options:r};i._decorations=o.deltaDecorations(i._decorations,m),i._overviewRulerApproximateDecorations=o.deltaDecorations(i._overviewRulerApproximateDecorations,s),i._rangeHighlightDecorationId&&(o.removeDecoration(i._rangeHighlightDecorationId),i._rangeHighlightDecorationId=null),i._findScopeDecorationId&&(o.removeDecoration(i._findScopeDecorationId),i._findScopeDecorationId=null),n&&(i._findScopeDecorationId=o.addDecoration(n,e._FIND_SCOPE_DECORATION))}))},e.prototype.matchBeforePosition=function(e){if(0===this._decorations.length)return null;for(var t=this._decorations.length-1;t>=0;t--){var n=this._decorations[t],i=this._editor.getModel().getDecorationRange(n);if(i&&!(i.endLineNumber>e.lineNumber)){if(i.endLineNumber<e.lineNumber)return i;if(!(i.endColumn>e.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])},e.prototype.matchAfterPosition=function(e){if(0===this._decorations.length)return null;for(var t=0,n=this._decorations.length;t<n;t++){var i=this._decorations[t],o=this._editor.getModel().getDecorationRange(i);if(o&&!(o.startLineNumber<e.lineNumber)){if(o.startLineNumber>e.lineNumber)return o;if(!(o.startColumn<e.column))return o}}return this._editor.getModel().getDecorationRange(this._decorations[0])},e.prototype._allDecorations=function(){var e=[];return e=(e=e.concat(this._decorations)).concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationId&&e.push(this._findScopeDecorationId),this._rangeHighlightDecorationId&&e.push(this._rangeHighlightDecorationId),e},e._CURRENT_FIND_MATCH_DECORATION=g.a.register({stickiness:1,zIndex:13,className:"currentFindMatch",showIfCollapsed:!0,overviewRuler:{color:Object(v.f)(m.Ab),position:p.d.Center},minimap:{color:Object(v.f)(m.xb),position:p.c.Inline}}),e._FIND_MATCH_DECORATION=g.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0,overviewRuler:{color:Object(v.f)(m.Ab),position:p.d.Center},minimap:{color:Object(v.f)(m.xb),position:p.c.Inline}}),e._FIND_MATCH_NO_OVERVIEW_DECORATION=g.a.register({stickiness:1,className:"findMatch",showIfCollapsed:!0}),e._FIND_MATCH_ONLY_OVERVIEW_DECORATION=g.a.register({stickiness:1,overviewRuler:{color:Object(v.f)(m.Ab),position:p.d.Center}}),e._RANGE_HIGHLIGHT_DECORATION=g.a.register({stickiness:1,className:"rangeHighlight",isWholeLine:!0}),e._FIND_SCOPE_DECORATION=g.a.register({className:"findScope",isWholeLine:!0}),e}(),y=function(){function e(e,t,n){this._editorSelection=e,this._ranges=t,this._replaceStrings=n,this._trackedEditorSelectionId=null}return e.prototype.getEditOperations=function(e,t){if(this._ranges.length>0){for(var n=[],i=0;i<this._ranges.length;i++)n.push({range:this._ranges[i],text:this._replaceStrings[i]});n.sort((function(e,t){return d.a.compareRangesUsingStarts(e.range,t.range)}));var o=[],r=n[0];for(i=1;i<n.length;i++)r.range.endLineNumber===n[i].range.startLineNumber&&r.range.endColumn===n[i].range.startColumn?(r.range=r.range.plusRange(n[i].range),r.text=r.text+n[i].text):(o.push(r),r=n[i]);o.push(r);for(var s=0,a=o;s<a.length;s++){var u=a[s];t.addEditOperation(u.range,u.text)}}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)},e.prototype.computeCursorState=function(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)},e}();function b(e,t){if(e&&""!==e[0]){var n=C(e,t,"-"),i=C(e,t,"_");return n&&!i?w(e,t,"-"):!n&&i?w(e,t,"_"):e[0].toUpperCase()===e[0]?t.toUpperCase():e[0].toLowerCase()===e[0]?t.toLowerCase():s.h(e[0][0])?t[0].toUpperCase()+t.substr(1):t}return t}function C(e,t,n){return-1!==e[0].indexOf(n)&&-1!==t.indexOf(n)&&e[0].split(n).length===t.split(n).length}function w(e,t,n){var i=t.split(n),o=e[0].split(n),r="";return i.forEach((function(e,t){r+=b([o[t]],e)+n})),r.slice(0,-1)}var S=function(e){this.staticValue=e,this.kind=0},L=function(e){this.pieces=e,this.kind=1},N=function(){function e(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new S(e[0].staticValue):this._state=new L(e):this._state=new S("")}return e.fromStaticValue=function(t){return new e([O.staticValue(t)])},Object.defineProperty(e.prototype,"hasReplacementPatterns",{get:function(){return 1===this._state.kind},enumerable:!0,configurable:!0}),e.prototype.buildReplaceString=function(t,n){if(0===this._state.kind)return n?b(t,this._state.staticValue):this._state.staticValue;for(var i="",o=0,r=this._state.pieces.length;o<r;o++){var s=this._state.pieces[o];null===s.staticValue?i+=e._substitute(s.matchIndex,t):i+=s.staticValue}return i},e._substitute=function(e,t){if(null===t)return"";if(0===e)return t[0];for(var n="";e>0;){if(e<t.length)return(t[e]||"")+n;n=String(e%10)+n,e=Math.floor(e/10)}return"$"+n},e}(),O=function(){function e(e,t){this.staticValue=e,this.matchIndex=t}return e.staticValue=function(t){return new e(t,-1)},e.matchIndex=function(t){return new e(null,t)},e}(),D=function(){function e(e){this._source=e,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}return e.prototype.emitUnchanged=function(e){this._emitStatic(this._source.substring(this._lastCharIndex,e)),this._lastCharIndex=e},e.prototype.emitStatic=function(e,t){this._emitStatic(e),this._lastCharIndex=t},e.prototype._emitStatic=function(e){0!==e.length&&(this._currentStaticPiece+=e)},e.prototype.emitMatchIndex=function(e,t){0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=O.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=O.matchIndex(e),this._lastCharIndex=t},e.prototype.finalize=function(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=O.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new N(this._result)},e}();var x,E=n("T8No"),k=new E.d("findWidgetVisible",!1),I=new E.d("findInputFocussed",!1),M=new E.d("replaceInputFocussed",!1),T={primary:545,mac:{primary:2593}},A={primary:565,mac:{primary:2613}},R={primary:560,mac:{primary:2608}},P={primary:554,mac:{primary:2602}},F="actions.find",V="actions.findWithSelection",W="editor.action.nextMatchFindAction",B="editor.action.previousMatchFindAction",j="editor.action.nextSelectionMatchFindAction",H="editor.action.previousSelectionMatchFindAction",z="editor.action.startFindReplaceAction",U="closeFindWidget",K="toggleFindCaseSensitive",q="toggleFindWholeWord",G="toggleFindRegex",Y="toggleFindInSelection",Z="editor.action.replaceOne",X="editor.action.replaceAll",J="editor.action.selectAllMatches",Q=function(){function e(e,t){var n=this;this._toDispose=new r.b,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new o.e,this._decorations=new _(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new o.d((function(){return n.research(!1)}),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition((function(e){3!==e.reason&&5!==e.reason&&6!==e.reason||n._decorations.setStartPosition(n._editor.getPosition())}))),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent((function(e){n._ignoreModelContentChanged||(e.isFlush&&n._decorations.reset(),n._decorations.setStartPosition(n._editor.getPosition()),n._updateDecorationsScheduler.schedule())}))),this._toDispose.add(this._state.onFindReplaceStateChange((function(e){return n._onStateChanged(e)}))),this.research(!1,this._state.searchScope)}return e.prototype.dispose=function(){this._isDisposed=!0,Object(r.e)(this._startSearchingTimer),this._toDispose.dispose()},e.prototype._onStateChanged=function(e){var t=this;this._isDisposed||this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)&&(this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet((function(){e.searchScope?t.research(e.moveCursor,t._state.searchScope):t.research(e.moveCursor)}),240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor))},e._getSearchRange=function(e,t){return t||e.getFullModelRange()},e.prototype.research=function(e,t){var n=null;null!==(n=void 0!==t?t:this._decorations.getFindScope())&&n.startLineNumber!==n.endLineNumber&&(n=1===n.endColumn?new d.a(n.startLineNumber,1,n.endLineNumber-1,this._editor.getModel().getLineMaxColumn(n.endLineNumber-1)):new d.a(n.startLineNumber,1,n.endLineNumber,this._editor.getModel().getLineMaxColumn(n.endLineNumber)));var i=this._findMatches(n,!1,19999);this._decorations.set(i,n),this._state.changeMatchInfo(this._decorations.getCurrentMatchesPosition(this._editor.getSelection()),this._decorations.getCount(),void 0),e&&this._moveToNextMatch(this._decorations.getStartPosition())},e.prototype._hasMatches=function(){return this._state.matchesCount>0},e.prototype._cannotFind=function(){if(!this._hasMatches()){var e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1},e.prototype._setCurrentFindMatch=function(e){var t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)},e.prototype._prevSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),n=e.lineNumber,i=e.column,o=this._editor.getModel();return t||1===i?(1===n?n=o.getLineCount():n--,i=o.getLineMaxColumn(n)):i--,new c.a(n,i)},e.prototype._moveToPrevMatch=function(t,n){if(void 0===n&&(n=!1),this._decorations.getCount()<19999){var i=this._decorations.matchBeforePosition(t);return i&&i.isEmpty()&&i.getStartPosition().equals(t)&&(t=this._prevSearchPosition(t),i=this._decorations.matchBeforePosition(t)),void(i&&this._setCurrentFindMatch(i))}if(!this._cannotFind()){var o=this._decorations.getFindScope(),r=e._getSearchRange(this._editor.getModel(),o);r.getEndPosition().isBefore(t)&&(t=r.getEndPosition()),t.isBefore(r.getStartPosition())&&(t=r.getEndPosition());var s=t.lineNumber,a=t.column,u=this._editor.getModel(),l=new c.a(s,a),d=u.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,!1);if(d&&d.range.isEmpty()&&d.range.getStartPosition().equals(l)&&(l=this._prevSearchPosition(l),d=u.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,!1)),d)return n||r.containsRange(d.range)?void this._setCurrentFindMatch(d.range):this._moveToPrevMatch(d.range.getStartPosition(),!0)}},e.prototype.moveToPrevMatch=function(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())},e.prototype._nextSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),n=e.lineNumber,i=e.column,o=this._editor.getModel();return t||i===o.getLineMaxColumn(n)?(n===o.getLineCount()?n=1:n++,i=1):i++,new c.a(n,i)},e.prototype._moveToNextMatch=function(e){if(this._decorations.getCount()<19999){var t=this._decorations.matchAfterPosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),void(t&&this._setCurrentFindMatch(t))}var n=this._getNextMatch(e,!1,!0);n&&this._setCurrentFindMatch(n.range)},e.prototype._getNextMatch=function(t,n,i,o){if(void 0===o&&(o=!1),this._cannotFind())return null;var r=this._decorations.getFindScope(),s=e._getSearchRange(this._editor.getModel(),r);s.getEndPosition().isBefore(t)&&(t=s.getStartPosition()),t.isBefore(s.getStartPosition())&&(t=s.getStartPosition());var a=t.lineNumber,u=t.column,l=this._editor.getModel(),d=new c.a(a,u),h=l.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n);return i&&h&&h.range.isEmpty()&&h.range.getStartPosition().equals(d)&&(d=this._nextSearchPosition(d),h=l.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n)),h?o||s.containsRange(h.range)?h:this._getNextMatch(h.range.getEndPosition(),n,i,!0):null},e.prototype.moveToNextMatch=function(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())},e.prototype._getReplacePattern=function(){return this._state.isRegex?function(e){if(!e||0===e.length)return new N(null);for(var t=new D(e),n=0,i=e.length;n<i;n++){var o=e.charCodeAt(n);if(92!==o){if(36===o){if(++n>=i)break;if(36===(a=e.charCodeAt(n))){t.emitUnchanged(n-1),t.emitStatic("$",n+1);continue}if(48===a||38===a){t.emitUnchanged(n-1),t.emitMatchIndex(0,n+1);continue}if(49<=a&&a<=57){var r=a-48;if(n+1<i){var s=e.charCodeAt(n+1);if(48<=s&&s<=57){n++,r=10*r+(s-48),t.emitUnchanged(n-2),t.emitMatchIndex(r,n+1);continue}}t.emitUnchanged(n-1),t.emitMatchIndex(r,n+1);continue}}}else{if(++n>=i)break;var a;switch(a=e.charCodeAt(n)){case 92:t.emitUnchanged(n-1),t.emitStatic("\\",n+1);break;case 110:t.emitUnchanged(n-1),t.emitStatic("\n",n+1);break;case 116:t.emitUnchanged(n-1),t.emitStatic("\t",n+1)}}}return t.finalize()}(this._state.replaceString):N.fromStaticValue(this._state.replaceString)},e.prototype.replace=function(){if(this._hasMatches()){var e=this._getReplacePattern(),t=this._editor.getSelection(),n=this._getNextMatch(t.getStartPosition(),!0,!1);if(n)if(t.equalsRange(n.range)){var i=e.buildReplaceString(n.matches,this._state.preserveCase),o=new l.a(t,i);this._executeEditorCommand("replace",o),this._decorations.setStartPosition(new c.a(t.startLineNumber,t.startColumn+i.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(n.range)}},e.prototype._findMatches=function(t,n,i){var o=e._getSearchRange(this._editor.getModel(),t);return this._editor.getModel().findMatches(this._state.searchString,o,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n,i)},e.prototype.replaceAll=function(){if(this._hasMatches()){var e=this._decorations.getFindScope();null===e&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}},e.prototype._largeReplaceAll=function(){var e=new f.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null).parseSearchRequest();if(e){var t=e.regex;if(!t.multiline){var n="mu";t.ignoreCase&&(n+="i"),t.global&&(n+="g"),t=new RegExp(t.source,n)}var i,o=this._editor.getModel(),r=o.getValue(1),s=o.getFullModelRange(),a=this._getReplacePattern(),u=this._state.preserveCase;i=a.hasReplacementPatterns||u?r.replace(t,(function(){return a.buildReplaceString(arguments,u)})):r.replace(t,a.buildReplaceString(null,u));var c=new l.b(s,i,this._editor.getSelection());this._executeEditorCommand("replaceAll",c)}},e.prototype._regularReplaceAll=function(e){for(var t=this._getReplacePattern(),n=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),i=[],o=0,r=n.length;o<r;o++)i[o]=t.buildReplaceString(n[o].matches,this._state.preserveCase);var s=new y(this._editor.getSelection(),n.map((function(e){return e.range})),i);this._executeEditorCommand("replaceAll",s)},e.prototype.selectAllMatches=function(){if(this._hasMatches()){for(var e=this._decorations.getFindScope(),t=this._findMatches(e,!1,1073741824).map((function(e){return new h.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)})),n=this._editor.getSelection(),i=0,o=t.length;i<o;i++){if(t[i].equalsRange(n)){t=[n].concat(t.slice(0,i)).concat(t.slice(i+1));break}}this._editor.setSelections(t)}},e.prototype._executeEditorCommand=function(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}},e}(),$=n("EffR"),ee=(n("iJk1"),n("G300")),te=n("zrhQ"),ne=n("MI8n"),ie=n("qj0h"),oe=(x=function(e,t){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),re={inputActiveOptionBorder:te.a.fromHex("#007ACC00"),inputActiveOptionBackground:te.a.fromHex("#0E639C50")},se=function(e){function t(t){var n=e.call(this)||this;return n._onChange=n._register(new ne.a),n.onChange=n._onChange.event,n._onKeyDown=n._register(new ne.a),n.onKeyDown=n._onKeyDown.event,n._opts=ie.a(t),ie.d(n._opts,re,!1),n._checked=n._opts.isChecked,n.domNode=document.createElement("div"),n.domNode.title=n._opts.title,n.domNode.className="monaco-custom-checkbox codicon "+(n._opts.actionClassName||"")+" "+(n._checked?"checked":"unchecked"),n.domNode.tabIndex=0,n.domNode.setAttribute("role","checkbox"),n.domNode.setAttribute("aria-checked",String(n._checked)),n.domNode.setAttribute("aria-label",n._opts.title),n.applyStyles(),n.onclick(n.domNode,(function(e){n.checked=!n._checked,n._onChange.fire(!1),e.preventDefault()})),n.ignoreGesture(n.domNode),n.onkeydown(n.domNode,(function(e){if(10===e.keyCode||3===e.keyCode)return n.checked=!n._checked,n._onChange.fire(!0),void e.preventDefault();n._onKeyDown.fire(e)})),n}return oe(t,e),Object.defineProperty(t.prototype,"enabled",{get:function(){return"true"!==this.domNode.getAttribute("aria-disabled")},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.domNode.focus()},Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this._checked?this.domNode.classList.add("checked"):this.domNode.classList.remove("checked"),this.applyStyles()},enumerable:!0,configurable:!0}),t.prototype.width=function(){return 22},t.prototype.style=function(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()},t.prototype.applyStyles=function(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"transparent",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"transparent")},t.prototype.enable=function(){this.domNode.tabIndex=0,this.domNode.setAttribute("aria-disabled",String(!1))},t.prototype.disable=function(){$.M(this.domNode),this.domNode.setAttribute("aria-disabled",String(!0))},t}(ee.a),ae=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ue=i.a("caseDescription","Match Case"),le=i.a("wordsDescription","Match Whole Word"),ce=i.a("regexDescription","Use Regular Expression"),de=function(e){function t(t){return e.call(this,{actionClassName:"codicon-case-sensitive",title:ue+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return ae(t,e),t}(se),he=function(e){function t(t){return e.call(this,{actionClassName:"codicon-whole-word",title:le+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return ae(t,e),t}(se),fe=function(e){function t(t){return e.call(this,{actionClassName:"codicon-regex",title:ce+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return ae(t,e),t}(se),pe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ge=function(e){function t(t,n,i,r){var s=e.call(this)||this;s._hideSoon=s._register(new o.d((function(){return s._hide()}),2e3)),s._isVisible=!1,s._editor=t,s._state=n,s._keybindingService=i,s._domNode=document.createElement("div"),s._domNode.className="findOptionsWidget",s._domNode.style.display="none",s._domNode.style.top="10px",s._domNode.setAttribute("role","presentation"),s._domNode.setAttribute("aria-hidden","true");var a=r.getTheme().getColor(m.P),u=r.getTheme().getColor(m.O);return s.caseSensitive=s._register(new de({appendTitle:s._keybindingLabelFor(K),isChecked:s._state.matchCase,inputActiveOptionBorder:a,inputActiveOptionBackground:u})),s._domNode.appendChild(s.caseSensitive.domNode),s._register(s.caseSensitive.onChange((function(){s._state.change({matchCase:s.caseSensitive.checked},!1)}))),s.wholeWords=s._register(new he({appendTitle:s._keybindingLabelFor(q),isChecked:s._state.wholeWord,inputActiveOptionBorder:a,inputActiveOptionBackground:u})),s._domNode.appendChild(s.wholeWords.domNode),s._register(s.wholeWords.onChange((function(){s._state.change({wholeWord:s.wholeWords.checked},!1)}))),s.regex=s._register(new fe({appendTitle:s._keybindingLabelFor(G),isChecked:s._state.isRegex,inputActiveOptionBorder:a,inputActiveOptionBackground:u})),s._domNode.appendChild(s.regex.domNode),s._register(s.regex.onChange((function(){s._state.change({isRegex:s.regex.checked},!1)}))),s._editor.addOverlayWidget(s),s._register(s._state.onFindReplaceStateChange((function(e){var t=!1;e.isRegex&&(s.regex.checked=s._state.isRegex,t=!0),e.wholeWord&&(s.wholeWords.checked=s._state.wholeWord,t=!0),e.matchCase&&(s.caseSensitive.checked=s._state.matchCase,t=!0),!s._state.isRevealed&&t&&s._revealTemporarily()}))),s._register($.h(s._domNode,(function(e){return s._onMouseOut()}))),s._register($.g(s._domNode,"mouseover",(function(e){return s._onMouseOver()}))),s._applyTheme(r.getTheme()),s._register(r.onThemeChange(s._applyTheme.bind(s))),s}return pe(t,e),t.prototype._keybindingLabelFor=function(e){var t=this._keybindingService.lookupKeybinding(e);return t?" ("+t.getLabel()+")":""},t.prototype.dispose=function(){this._editor.removeOverlayWidget(this),e.prototype.dispose.call(this)},t.prototype.getId=function(){return t.ID},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return{preference:0}},t.prototype.highlightFindOptions=function(){this._revealTemporarily()},t.prototype._revealTemporarily=function(){this._show(),this._hideSoon.schedule()},t.prototype._onMouseOut=function(){this._hideSoon.schedule()},t.prototype._onMouseOver=function(){this._hideSoon.cancel()},t.prototype._show=function(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")},t.prototype._hide=function(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")},t.prototype._applyTheme=function(e){var t={inputActiveOptionBorder:e.getColor(m.P),inputActiveOptionBackground:e.getColor(m.O)};this.caseSensitive.style(t),this.wholeWords.style(t),this.regex.style(t)},t.ID="editor.contrib.findOptionsWidget",t}(ee.a);Object(v.e)((function(e,t){var n=e.getColor(m.H);n&&t.addRule(".monaco-editor .findOptionsWidget { background-color: "+n+"; }");var i=e.getColor(m.J);i&&t.addRule(".monaco-editor .findOptionsWidget { color: "+i+"; }");var o=e.getColor(m.Lb);o&&t.addRule(".monaco-editor .findOptionsWidget { box-shadow: 0 2px 8px "+o+"; }");var r=e.getColor(m.e);r&&t.addRule(".monaco-editor .findOptionsWidget { border: 2px solid "+r+"; }")}));var me=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function ve(e,t){return 1===e||2!==e&&t}var _e=function(e){function t(){var t=e.call(this)||this;return t._onFindReplaceStateChange=t._register(new ne.a),t.onFindReplaceStateChange=t._onFindReplaceStateChange.event,t._searchString="",t._replaceString="",t._isRevealed=!1,t._isReplaceRevealed=!1,t._isRegex=!1,t._isRegexOverride=0,t._wholeWord=!1,t._wholeWordOverride=0,t._matchCase=!1,t._matchCaseOverride=0,t._preserveCase=!1,t._preserveCaseOverride=0,t._searchScope=null,t._matchesPosition=0,t._matchesCount=0,t._currentMatch=null,t}return me(t,e),Object.defineProperty(t.prototype,"searchString",{get:function(){return this._searchString},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"replaceString",{get:function(){return this._replaceString},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isRevealed",{get:function(){return this._isRevealed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isReplaceRevealed",{get:function(){return this._isReplaceRevealed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isRegex",{get:function(){return ve(this._isRegexOverride,this._isRegex)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wholeWord",{get:function(){return ve(this._wholeWordOverride,this._wholeWord)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"matchCase",{get:function(){return ve(this._matchCaseOverride,this._matchCase)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveCase",{get:function(){return ve(this._preserveCaseOverride,this._preserveCase)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualIsRegex",{get:function(){return this._isRegex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualWholeWord",{get:function(){return this._wholeWord},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualMatchCase",{get:function(){return this._matchCase},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualPreserveCase",{get:function(){return this._preserveCase},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"searchScope",{get:function(){return this._searchScope},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"matchesPosition",{get:function(){return this._matchesPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"matchesCount",{get:function(){return this._matchesCount},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentMatch",{get:function(){return this._currentMatch},enumerable:!0,configurable:!0}),t.prototype.changeMatchInfo=function(e,t,n){var i={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},o=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,i.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,i.matchesCount=!0,o=!0),void 0!==n&&(d.a.equalsRange(this._currentMatch,n)||(this._currentMatch=n,i.currentMatch=!0,o=!0)),o&&this._onFindReplaceStateChange.fire(i)},t.prototype.change=function(e,t,n){void 0===n&&(n=!0);var i={moveCursor:t,updateHistory:n,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},o=!1,r=this.isRegex,s=this.wholeWord,a=this.matchCase,u=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,i.searchString=!0,o=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,i.replaceString=!0,o=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,i.isRevealed=!0,o=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,i.isReplaceRevealed=!0,o=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0!==e.searchScope&&(d.a.equalsRange(this._searchScope,e.searchScope)||(this._searchScope=e.searchScope,i.searchScope=!0,o=!0)),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,r!==this.isRegex&&(o=!0,i.isRegex=!0),s!==this.wholeWord&&(o=!0,i.wholeWord=!0),a!==this.matchCase&&(o=!0,i.matchCase=!0),u!==this.preserveCase&&(o=!0,i.preserveCase=!0),o&&this._onFindReplaceStateChange.fire(i)},t}(r.a),ye=(n("AbCa"),n("OBOq")),be=n("cMOf"),Ce=n("/cxE"),we=n("MNsG"),Se=(n("yqFB"),n("i/Rh"),n("D3Dy"));function Le(e,t){void 0===t&&(t={});var n=Ne(t);return function e(t,n,i){var o;if(2===n.type)o=document.createTextNode(n.content||"");else if(3===n.type)o=document.createElement("b");else if(4===n.type)o=document.createElement("i");else if(5===n.type&&i){var r=document.createElement("a");r.href="#",i.disposeables.add($.k(r,"click",(function(e){i.callback(String(n.index),e)}))),o=r}else 7===n.type?o=document.createElement("br"):1===n.type&&(o=t);o&&t!==o&&t.appendChild(o);o&&Array.isArray(n.children)&&n.children.forEach((function(t){e(o,t,i)}))}(n,function(e){var t={type:1,children:[]},n=0,i=t,o=[],r=new Oe(e);for(;!r.eos();){var s=r.next(),a="\\"===s&&0!==De(r.peek());if(a&&(s=r.next()),a||0===De(s)||s!==r.peek())if("\n"===s)2===i.type&&(i=o.pop()),i.children.push({type:7});else if(2!==i.type){var u={type:2,content:s};i.children.push(u),o.push(i),i=u}else i.content+=s;else{r.advance(),2===i.type&&(i=o.pop());var l=De(s);if(i.type===l||5===i.type&&6===l)i=o.pop();else{var c={type:l,children:[]};5===l&&(c.index=n,n++),i.children.push(c),o.push(i),i=c}}}2===i.type&&(i=o.pop());o.length;return t}(e),t.actionHandler),n}function Ne(e){var t=e.inline?"span":"div",n=document.createElement(t);return e.className&&(n.className=e.className),n}var Oe=function(){function e(e){this.source=e,this.index=0}return e.prototype.eos=function(){return this.index>=this.source.length},e.prototype.next=function(){var e=this.peek();return this.advance(),e},e.prototype.peek=function(){return this.source[this.index]},e.prototype.advance=function(){this.index++},e}();function De(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}var xe=n("WqXY"),Ee=n("JYp7"),ke=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=10),this._initialize(e),this._limit=t,this._onChange()}return e.prototype.add=function(e){this._history.delete(e),this._history.add(e),this._onChange()},e.prototype.next=function(){return this._navigator.next()},e.prototype.previous=function(){return this._navigator.previous()},e.prototype.current=function(){return this._navigator.current()},e.prototype.parent=function(){return null},e.prototype.first=function(){return this._navigator.first()},e.prototype.last=function(){return this._navigator.last()},e.prototype.has=function(e){return this._history.has(e)},e.prototype._onChange=function(){this._reduceToLimit();var e=this._elements;this._navigator=new Ee.a(e,0,e.length,e.length)},e.prototype._reduceToLimit=function(){var e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))},e.prototype._initialize=function(e){this._history=new Set;for(var t=0,n=e;t<n.length;t++){var i=n[t];this._history.add(i)}},Object.defineProperty(e.prototype,"_elements",{get:function(){var e=[];return this._history.forEach((function(t){return e.push(t)})),e},enumerable:!0,configurable:!0}),e}(),Ie=n("GJhM"),Me=n("4y0V"),Te=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ae=$.a,Re={inputBackground:te.a.fromHex("#3C3C3C"),inputForeground:te.a.fromHex("#CCCCCC"),inputValidationInfoBorder:te.a.fromHex("#55AAFF"),inputValidationInfoBackground:te.a.fromHex("#063B49"),inputValidationWarningBorder:te.a.fromHex("#B89500"),inputValidationWarningBackground:te.a.fromHex("#352A05"),inputValidationErrorBorder:te.a.fromHex("#BE1100"),inputValidationErrorBackground:te.a.fromHex("#5A1D1D")},Pe=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o.history=new ke(i.history,100),o}return Te(t,e),t.prototype.addToHistory=function(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)},t.prototype.showNextValue=function(){this.history.has(this.value)||this.addToHistory();var e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),e&&(this.value=e,ye.c(this.value))},t.prototype.showPreviousValue=function(){this.history.has(this.value)||this.addToHistory();var e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,ye.c(this.value))},t.prototype.getCurrentValue=function(){var e=this.history.current();return e||(e=this.history.last(),this.history.next()),e},t.prototype.getPreviousValue=function(){return this.history.previous()||this.history.first()},t.prototype.getNextValue=function(){return this.history.next()||this.history.last()},t}(function(e){function t(t,n,i){var o=e.call(this)||this;o.state="idle",o.maxHeight=Number.POSITIVE_INFINITY,o._onDidChange=o._register(new ne.a),o.onDidChange=o._onDidChange.event,o._onDidHeightChange=o._register(new ne.a),o.onDidHeightChange=o._onDidHeightChange.event,o.contextViewProvider=n,o.options=i||Object.create(null),Object(ie.d)(o.options,Re,!1),o.message=null,o.placeholder=o.options.placeholder||"",o.ariaLabel=o.options.ariaLabel||"",o.inputBackground=o.options.inputBackground,o.inputForeground=o.options.inputForeground,o.inputBorder=o.options.inputBorder,o.inputValidationInfoBorder=o.options.inputValidationInfoBorder,o.inputValidationInfoBackground=o.options.inputValidationInfoBackground,o.inputValidationInfoForeground=o.options.inputValidationInfoForeground,o.inputValidationWarningBorder=o.options.inputValidationWarningBorder,o.inputValidationWarningBackground=o.options.inputValidationWarningBackground,o.inputValidationWarningForeground=o.options.inputValidationWarningForeground,o.inputValidationErrorBorder=o.options.inputValidationErrorBorder,o.inputValidationErrorBackground=o.options.inputValidationErrorBackground,o.inputValidationErrorForeground=o.options.inputValidationErrorForeground,o.options.validationOptions&&(o.validation=o.options.validationOptions.validation),o.element=$.m(t,Ae(".monaco-inputbox.idle"));var r=o.options.flexibleHeight?"textarea":"input",s=$.m(o.element,Ae(".wrapper"));if(o.input=$.m(s,Ae(r+".input.empty")),o.input.setAttribute("autocorrect","off"),o.input.setAttribute("autocapitalize","off"),o.input.setAttribute("spellcheck","false"),o.onfocus(o.input,(function(){return $.e(o.element,"synthetic-focus")})),o.onblur(o.input,(function(){return $.J(o.element,"synthetic-focus")})),o.options.flexibleHeight){o.maxHeight="number"==typeof o.options.flexibleMaxHeight?o.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,o.mirror=$.m(s,Ae("div.mirror")),o.mirror.innerHTML=" ",o.scrollableElement=new Ie.b(o.element,{vertical:1}),o.options.flexibleWidth&&(o.input.setAttribute("wrap","off"),o.mirror.style.whiteSpace="pre",o.mirror.style.wordWrap="initial"),$.m(t,o.scrollableElement.getDomNode()),o._register(o.scrollableElement),o._register(o.scrollableElement.onScroll((function(e){return o.input.scrollTop=e.scrollTop})));var a=ne.b.filter(Object(Me.a)(document,"selectionchange"),(function(){var e=document.getSelection();return(null==e?void 0:e.anchorNode)===s}));o._register(a(o.updateScrollDimensions,o)),o._register(o.onDidHeightChange(o.updateScrollDimensions,o))}else o.input.type=o.options.type||"text",o.input.setAttribute("wrap","off");return o.ariaLabel&&o.input.setAttribute("aria-label",o.ariaLabel),o.placeholder&&o.setPlaceHolder(o.placeholder),o.oninput(o.input,(function(){return o.onValueChange()})),o.onblur(o.input,(function(){return o.onBlur()})),o.onfocus(o.input,(function(){return o.onFocus()})),o.placeholder&&Se.i&&o.onclick(o.input,(function(e){$.b.stop(e,!0),o.input.focus()})),o.ignoreGesture(o.input),setTimeout((function(){return o.updateMirror()}),0),o.options.actions&&(o.actionbar=o._register(new xe.a(o.element)),o.actionbar.push(o.options.actions,{icon:!0,label:!1})),o.applyStyles(),o}return Te(t,e),t.prototype.onBlur=function(){this._hideMessage()},t.prototype.onFocus=function(){this._showMessage()},t.prototype.setPlaceHolder=function(e){this.placeholder=e,this.input.setAttribute("placeholder",e),this.input.title=e},t.prototype.setAriaLabel=function(e){this.ariaLabel=e,e?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")},Object.defineProperty(t.prototype,"inputElement",{get:function(){return this.input},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.input.value},set:function(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return"number"==typeof this.cachedHeight?this.cachedHeight:$.A(this.element)},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.hasFocus=function(){return document.activeElement===this.input},t.prototype.select=function(e){void 0===e&&(e=null),this.input.select(),e&&this.input.setSelectionRange(e.start,e.end)},t.prototype.enable=function(){this.input.removeAttribute("disabled")},t.prototype.disable=function(){this.blur(),this.input.disabled=!0,this._hideMessage()},Object.defineProperty(t.prototype,"width",{get:function(){return $.B(this.input)},set:function(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){var t=0;if(this.mirror)t=(parseFloat(this.mirror.style.paddingLeft||"")||0)+(parseFloat(this.mirror.style.paddingRight||"")||0);this.input.style.width=e-t+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paddingRight",{set:function(e){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width="calc(100% - "+e+"px)":this.input.style.paddingRight=e+"px",this.mirror&&(this.mirror.style.paddingRight=e+"px")},enumerable:!0,configurable:!0}),t.prototype.updateScrollDimensions=function(){if("number"==typeof this.cachedContentHeight&&"number"==typeof this.cachedHeight&&this.scrollableElement){var e=this.cachedContentHeight,t=this.cachedHeight,n=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:n})}},t.prototype.showMessage=function(e,t){this.message=e,$.J(this.element,"idle"),$.J(this.element,"info"),$.J(this.element,"warning"),$.J(this.element,"error"),$.e(this.element,this.classForType(e.type));var n,o=this.stylesForType(this.message.type);this.element.style.border=o.border?"1px solid "+o.border:"",n=3===e.type?i.a("alertErrorMessage","Error: {0}",e.content):2===e.type?i.a("alertWarningMessage","Warning: {0}",e.content):i.a("alertInfoMessage","Info: {0}",e.content),ye.a(n),(this.hasFocus()||t)&&this._showMessage()},t.prototype.hideMessage=function(){this.message=null,$.J(this.element,"info"),$.J(this.element,"warning"),$.J(this.element,"error"),$.e(this.element,"idle"),this._hideMessage(),this.applyStyles()},t.prototype.validate=function(){var e=null;return this.validation&&((e=this.validation(this.value))?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),!e},t.prototype.stylesForType=function(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}},t.prototype.classForType=function(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}},t.prototype._showMessage=function(){var e=this;if(this.contextViewProvider&&this.message){var t,n=function(){return t.style.width=$.B(e.element)+"px"};this.contextViewProvider.showContextView({getAnchor:function(){return e.element},anchorAlignment:1,render:function(i){if(!e.message)return null;t=$.m(i,Ae(".monaco-inputbox-container")),n();var o={inline:!0,className:"monaco-inputbox-message"},r=e.message.formatContent?Le(e.message.content,o):function(e,t){void 0===t&&(t={});var n=Ne(t);return n.textContent=e,n}(e.message.content,o);$.e(r,e.classForType(e.message.type));var s=e.stylesForType(e.message.type);return r.style.backgroundColor=s.background?s.background.toString():"",r.style.color=s.foreground?s.foreground.toString():"",r.style.border=s.border?"1px solid "+s.border:"",$.m(t,r),null},onHide:function(){e.state="closed"},layout:n}),this.state="open"}},t.prototype._hideMessage=function(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")},t.prototype.onValueChange=function(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),$.S(this.input,"empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()},t.prototype.updateMirror=function(){if(this.mirror){var e=this.value,t=10===e.charCodeAt(e.length-1)?" ":"";e+t?this.mirror.textContent=e+t:this.mirror.innerHTML=" ",this.layout()}},t.prototype.style=function(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){var e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",n=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor=e,this.input.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n},t.prototype.layout=function(){if(this.mirror){var e=this.cachedContentHeight;this.cachedContentHeight=$.A(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}},t.prototype.insertAtCursor=function(e){var t=this.inputElement,n=t.selectionStart,i=t.selectionEnd,o=t.value;null!==n&&null!==i&&(this.value=o.substr(0,n)+e+o.substr(i),t.setSelectionRange(n+1,n+1),this.layout())},t.prototype.dispose=function(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),e.prototype.dispose.call(this)},t}(ee.a)),Fe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ve=i.a("defaultLabel","input"),We=function(e){function t(t,n,i,o){var r=e.call(this)||this;r._showOptionButtons=i,r.fixFocusOnOptionClickEnabled=!0,r._onDidOptionChange=r._register(new ne.a),r.onDidOptionChange=r._onDidOptionChange.event,r._onKeyDown=r._register(new ne.a),r.onKeyDown=r._onKeyDown.event,r._onMouseDown=r._register(new ne.a),r.onMouseDown=r._onMouseDown.event,r._onInput=r._register(new ne.a),r._onKeyUp=r._register(new ne.a),r._onCaseSensitiveKeyDown=r._register(new ne.a),r.onCaseSensitiveKeyDown=r._onCaseSensitiveKeyDown.event,r._onRegexKeyDown=r._register(new ne.a),r.onRegexKeyDown=r._onRegexKeyDown.event,r._lastHighlightFindOptions=0,r.contextViewProvider=n,r.placeholder=o.placeholder||"",r.validation=o.validation,r.label=o.label||Ve,r.inputActiveOptionBorder=o.inputActiveOptionBorder,r.inputActiveOptionBackground=o.inputActiveOptionBackground,r.inputBackground=o.inputBackground,r.inputForeground=o.inputForeground,r.inputBorder=o.inputBorder,r.inputValidationInfoBorder=o.inputValidationInfoBorder,r.inputValidationInfoBackground=o.inputValidationInfoBackground,r.inputValidationInfoForeground=o.inputValidationInfoForeground,r.inputValidationWarningBorder=o.inputValidationWarningBorder,r.inputValidationWarningBackground=o.inputValidationWarningBackground,r.inputValidationWarningForeground=o.inputValidationWarningForeground,r.inputValidationErrorBorder=o.inputValidationErrorBorder,r.inputValidationErrorBackground=o.inputValidationErrorBackground,r.inputValidationErrorForeground=o.inputValidationErrorForeground;var s=o.appendCaseSensitiveLabel||"",a=o.appendWholeWordsLabel||"",u=o.appendRegexLabel||"",l=o.history||[],c=!!o.flexibleHeight,d=!!o.flexibleWidth,h=o.flexibleMaxHeight;r.domNode=document.createElement("div"),$.e(r.domNode,"monaco-findInput"),r.inputBox=r._register(new Pe(r.domNode,r.contextViewProvider,{placeholder:r.placeholder||"",ariaLabel:r.label||"",validationOptions:{validation:r.validation},inputBackground:r.inputBackground,inputForeground:r.inputForeground,inputBorder:r.inputBorder,inputValidationInfoBackground:r.inputValidationInfoBackground,inputValidationInfoForeground:r.inputValidationInfoForeground,inputValidationInfoBorder:r.inputValidationInfoBorder,inputValidationWarningBackground:r.inputValidationWarningBackground,inputValidationWarningForeground:r.inputValidationWarningForeground,inputValidationWarningBorder:r.inputValidationWarningBorder,inputValidationErrorBackground:r.inputValidationErrorBackground,inputValidationErrorForeground:r.inputValidationErrorForeground,inputValidationErrorBorder:r.inputValidationErrorBorder,history:l,flexibleHeight:c,flexibleWidth:d,flexibleMaxHeight:h})),r.regex=r._register(new fe({appendTitle:u,isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.regex.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r._register(r.regex.onKeyDown((function(e){r._onRegexKeyDown.fire(e)}))),r.wholeWords=r._register(new he({appendTitle:a,isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.wholeWords.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r.caseSensitive=r._register(new de({appendTitle:s,isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.caseSensitive.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r._register(r.caseSensitive.onKeyDown((function(e){r._onCaseSensitiveKeyDown.fire(e)}))),r._showOptionButtons&&(r.inputBox.paddingRight=r.caseSensitive.width()+r.wholeWords.width()+r.regex.width());var f=[r.caseSensitive.domNode,r.wholeWords.domNode,r.regex.domNode];r.onkeydown(r.domNode,(function(e){if(e.equals(15)||e.equals(17)||e.equals(9)){var t=f.indexOf(document.activeElement);if(t>=0){var n=-1;e.equals(17)?n=(t+1)%f.length:e.equals(15)&&(n=0===t?f.length-1:t-1),e.equals(9)?f[t].blur():n>=0&&f[n].focus(),$.b.stop(e,!0)}}}));var p=document.createElement("div");return p.className="controls",p.style.display=r._showOptionButtons?"block":"none",p.appendChild(r.caseSensitive.domNode),p.appendChild(r.wholeWords.domNode),p.appendChild(r.regex.domNode),r.domNode.appendChild(p),t&&t.appendChild(r.domNode),r.onkeydown(r.inputBox.inputElement,(function(e){return r._onKeyDown.fire(e)})),r.onkeyup(r.inputBox.inputElement,(function(e){return r._onKeyUp.fire(e)})),r.oninput(r.inputBox.inputElement,(function(e){return r._onInput.fire()})),r.onmousedown(r.inputBox.inputElement,(function(e){return r._onMouseDown.fire(e)})),r}return Fe(t,e),t.prototype.enable=function(){$.J(this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()},t.prototype.disable=function(){$.e(this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()},t.prototype.setFocusInputOnOptionClick=function(e){this.fixFocusOnOptionClickEnabled=e},t.prototype.setEnabled=function(e){e?this.enable():this.disable()},t.prototype.getValue=function(){return this.inputBox.value},t.prototype.setValue=function(e){this.inputBox.value!==e&&(this.inputBox.value=e)},t.prototype.style=function(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){if(this.domNode){var e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);var t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}},t.prototype.select=function(){this.inputBox.select()},t.prototype.focus=function(){this.inputBox.focus()},t.prototype.getCaseSensitive=function(){return this.caseSensitive.checked},t.prototype.setCaseSensitive=function(e){this.caseSensitive.checked=e},t.prototype.getWholeWords=function(){return this.wholeWords.checked},t.prototype.setWholeWords=function(e){this.wholeWords.checked=e},t.prototype.getRegex=function(){return this.regex.checked},t.prototype.setRegex=function(e){this.regex.checked=e,this.validate()},t.prototype.focusOnCaseSensitive=function(){this.caseSensitive.focus()},t.prototype.highlightFindOptions=function(){$.J(this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,$.e(this.domNode,"highlight-"+this._lastHighlightFindOptions)},t.prototype.validate=function(){this.inputBox.validate()},t.prototype.clearMessage=function(){this.inputBox.hideMessage()},t}(ee.a),Be=n("nrhi"),je=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),He=i.a("defaultLabel","input"),ze=i.a("label.preserveCaseCheckbox","Preserve Case"),Ue=function(e){function t(t){return e.call(this,{actionClassName:"codicon-preserve-case",title:ze+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return je(t,e),t}(se),Ke=function(e){function t(t,n,i,o){var r=e.call(this)||this;r._showOptionButtons=i,r.fixFocusOnOptionClickEnabled=!0,r.cachedOptionsWidth=0,r._onDidOptionChange=r._register(new ne.a),r.onDidOptionChange=r._onDidOptionChange.event,r._onKeyDown=r._register(new ne.a),r.onKeyDown=r._onKeyDown.event,r._onMouseDown=r._register(new ne.a),r._onInput=r._register(new ne.a),r._onKeyUp=r._register(new ne.a),r._onPreserveCaseKeyDown=r._register(new ne.a),r.onPreserveCaseKeyDown=r._onPreserveCaseKeyDown.event,r.contextViewProvider=n,r.placeholder=o.placeholder||"",r.validation=o.validation,r.label=o.label||He,r.inputActiveOptionBorder=o.inputActiveOptionBorder,r.inputActiveOptionBackground=o.inputActiveOptionBackground,r.inputBackground=o.inputBackground,r.inputForeground=o.inputForeground,r.inputBorder=o.inputBorder,r.inputValidationInfoBorder=o.inputValidationInfoBorder,r.inputValidationInfoBackground=o.inputValidationInfoBackground,r.inputValidationInfoForeground=o.inputValidationInfoForeground,r.inputValidationWarningBorder=o.inputValidationWarningBorder,r.inputValidationWarningBackground=o.inputValidationWarningBackground,r.inputValidationWarningForeground=o.inputValidationWarningForeground,r.inputValidationErrorBorder=o.inputValidationErrorBorder,r.inputValidationErrorBackground=o.inputValidationErrorBackground,r.inputValidationErrorForeground=o.inputValidationErrorForeground;var s=o.history||[],a=!!o.flexibleHeight,u=!!o.flexibleWidth,l=o.flexibleMaxHeight;r.domNode=document.createElement("div"),$.e(r.domNode,"monaco-findInput"),r.inputBox=r._register(new Pe(r.domNode,r.contextViewProvider,{ariaLabel:r.label||"",placeholder:r.placeholder||"",validationOptions:{validation:r.validation},inputBackground:r.inputBackground,inputForeground:r.inputForeground,inputBorder:r.inputBorder,inputValidationInfoBackground:r.inputValidationInfoBackground,inputValidationInfoForeground:r.inputValidationInfoForeground,inputValidationInfoBorder:r.inputValidationInfoBorder,inputValidationWarningBackground:r.inputValidationWarningBackground,inputValidationWarningForeground:r.inputValidationWarningForeground,inputValidationWarningBorder:r.inputValidationWarningBorder,inputValidationErrorBackground:r.inputValidationErrorBackground,inputValidationErrorForeground:r.inputValidationErrorForeground,inputValidationErrorBorder:r.inputValidationErrorBorder,history:s,flexibleHeight:a,flexibleWidth:u,flexibleMaxHeight:l})),r.preserveCase=r._register(new Ue({appendTitle:"",isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.preserveCase.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r._register(r.preserveCase.onKeyDown((function(e){r._onPreserveCaseKeyDown.fire(e)}))),r._showOptionButtons?r.cachedOptionsWidth=r.preserveCase.width():r.cachedOptionsWidth=0;var c=[r.preserveCase.domNode];r.onkeydown(r.domNode,(function(e){if(e.equals(15)||e.equals(17)||e.equals(9)){var t=c.indexOf(document.activeElement);if(t>=0){var n=-1;e.equals(17)?n=(t+1)%c.length:e.equals(15)&&(n=0===t?c.length-1:t-1),e.equals(9)?c[t].blur():n>=0&&c[n].focus(),$.b.stop(e,!0)}}}));var d=document.createElement("div");return d.className="controls",d.style.display=r._showOptionButtons?"block":"none",d.appendChild(r.preserveCase.domNode),r.domNode.appendChild(d),t&&t.appendChild(r.domNode),r.onkeydown(r.inputBox.inputElement,(function(e){return r._onKeyDown.fire(e)})),r.onkeyup(r.inputBox.inputElement,(function(e){return r._onKeyUp.fire(e)})),r.oninput(r.inputBox.inputElement,(function(e){return r._onInput.fire()})),r.onmousedown(r.inputBox.inputElement,(function(e){return r._onMouseDown.fire(e)})),r}return je(t,e),t.prototype.enable=function(){$.J(this.domNode,"disabled"),this.inputBox.enable(),this.preserveCase.enable()},t.prototype.disable=function(){$.e(this.domNode,"disabled"),this.inputBox.disable(),this.preserveCase.disable()},t.prototype.setEnabled=function(e){e?this.enable():this.disable()},t.prototype.style=function(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){if(this.domNode){var e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(e);var t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}},t.prototype.select=function(){this.inputBox.select()},t.prototype.focus=function(){this.inputBox.focus()},t.prototype.getPreserveCase=function(){return this.preserveCase.checked},t.prototype.setPreserveCase=function(e){this.preserveCase.checked=e},t.prototype.focusOnPreserve=function(){this.preserveCase.focus()},t.prototype.validate=function(){this.inputBox&&this.inputBox.validate()},Object.defineProperty(t.prototype,"width",{set:function(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t}(ee.a),qe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ge=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ye=function(e,t){return function(n,i){t(n,i,e)}};function Ze(e,t){return e.getContext(document.activeElement).getValue(t)}function Xe(e,t){var n=function(e,t){return e.createScoped(t.target)}(e,t);return function(e,t,n){new E.d(n,t).bindTo(e)}(n,t,"historyNavigationWidget"),{scopedContextKeyService:n,historyNavigationEnablement:new E.d("historyNavigationEnabled",!0).bindTo(n)}}var Je=function(e){function t(t,n,i,o,r){void 0===r&&(r=!1);var s=e.call(this,t,n,r,i)||this;return s._register(Xe(o,{target:s.inputBox.element,historyNavigator:s.inputBox}).scopedContextKeyService),s}return qe(t,e),t=Ge([Ye(3,E.c)],t)}(We),Qe=function(e){function t(t,n,i,o,r){void 0===r&&(r=!1);var s=e.call(this,t,n,r,i)||this;return s._register(Xe(o,{target:s.inputBox.element,historyNavigator:s.inputBox}).scopedContextKeyService),s}return qe(t,e),t=Ge([Ye(3,E.c)],t)}(Ke);Be.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:E.a.and(E.a.has("historyNavigationWidget"),E.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:function(e,t){var n=Ze(e.get(E.c),"historyNavigationWidget");n&&n.historyNavigator.showPreviousValue()}}),Be.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:E.a.and(E.a.has("historyNavigationWidget"),E.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:function(e,t){var n=Ze(e.get(E.c),"historyNavigationWidget");n&&n.historyNavigator.showNextValue()}});var $e=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),et=i.a("label.find","Find"),tt=i.a("placeholder.find","Find"),nt=i.a("label.previousMatchButton","Previous match"),it=i.a("label.nextMatchButton","Next match"),ot=i.a("label.toggleSelectionFind","Find in selection"),rt=i.a("label.closeButton","Close"),st=i.a("label.replace","Replace"),at=i.a("placeholder.replace","Replace"),ut=i.a("label.replaceButton","Replace"),lt=i.a("label.replaceAllButton","Replace All"),ct=i.a("label.toggleReplaceButton","Toggle Replace mode"),dt=i.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),ht=i.a("label.matchesLocation","{0} of {1}"),ft=i.a("label.noResults","No Results"),pt=69,gt=we.e?256:2048,mt=function(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"};function vt(e,t,n){var i=!!t.match(/\n/);n&&i&&n.selectionStart>0&&e.stopPropagation()}function _t(e,t,n){var i=!!t.match(/\n/);n&&i&&n.selectionEnd<n.value.length&&e.stopPropagation()}var yt=function(e){function t(t,n,i,s,a,u,l,c,d){var h=e.call(this)||this;return h._cachedHeight=null,h._codeEditor=t,h._controller=n,h._state=i,h._contextViewProvider=s,h._keybindingService=a,h._contextKeyService=u,h._storageService=c,h._notificationService=d,h._ctrlEnterReplaceAllWarningPrompted=!!c.getBoolean("ctrlEnterReplaceAll.windows.donotask",0),h._isVisible=!1,h._isReplaceVisible=!1,h._ignoreChangeEvent=!1,h._updateHistoryDelayer=new o.a(500),h._register(Object(r.f)((function(){return h._updateHistoryDelayer.cancel()}))),h._register(h._state.onFindReplaceStateChange((function(e){return h._onStateChanged(e)}))),h._buildDomNode(),h._updateButtons(),h._tryUpdateWidgetWidth(),h._findInput.inputBox.layout(),h._register(h._codeEditor.onDidChangeConfiguration((function(e){if(e.hasChanged(68)&&(h._codeEditor.getOption(68)&&h._state.change({isReplaceRevealed:!1},!1),h._updateButtons()),e.hasChanged(107)&&h._tryUpdateWidgetWidth(),e.hasChanged(2)&&h.updateAccessibilitySupport(),e.hasChanged(28)){var t=h._codeEditor.getOption(28).addExtraSpaceOnTop;t&&!h._viewZone&&(h._viewZone=new mt(0),h._showViewZone()),!t&&h._viewZone&&h._removeViewZone()}}))),h.updateAccessibilitySupport(),h._register(h._codeEditor.onDidChangeCursorSelection((function(){h._isVisible&&h._updateToggleSelectionFindButton()}))),h._register(h._codeEditor.onDidFocusEditorWidget((function(){if(h._isVisible){var e=h._controller.getGlobalBufferTerm();e&&e!==h._state.searchString&&(h._state.change({searchString:e},!0),h._findInput.select())}}))),h._findInputFocused=I.bindTo(u),h._findFocusTracker=h._register($.T(h._findInput.inputBox.inputElement)),h._register(h._findFocusTracker.onDidFocus((function(){h._findInputFocused.set(!0),h._updateSearchScope()}))),h._register(h._findFocusTracker.onDidBlur((function(){h._findInputFocused.set(!1)}))),h._replaceInputFocused=M.bindTo(u),h._replaceFocusTracker=h._register($.T(h._replaceInput.inputBox.inputElement)),h._register(h._replaceFocusTracker.onDidFocus((function(){h._replaceInputFocused.set(!0),h._updateSearchScope()}))),h._register(h._replaceFocusTracker.onDidBlur((function(){h._replaceInputFocused.set(!1)}))),h._codeEditor.addOverlayWidget(h),h._codeEditor.getOption(28).addExtraSpaceOnTop&&(h._viewZone=new mt(0)),h._applyTheme(l.getTheme()),h._register(l.onThemeChange(h._applyTheme.bind(h))),h._register(h._codeEditor.onDidChangeModel((function(){h._isVisible&&(h._viewZoneId=void 0)}))),h._register(h._codeEditor.onDidScrollChange((function(e){e.scrollTopChanged?h._layoutViewZone():setTimeout((function(){h._layoutViewZone()}),0)}))),h}return $e(t,e),t.prototype.getId=function(){return t.ID},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return this._isVisible?{preference:0}:null},t.prototype._onStateChanged=function(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(68)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=$.B(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){var t=this._state.searchString.length>0&&0===this._state.matchesCount;$.S(this._domNode,"no-results",t),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory()},t.prototype._delayedUpdateHistory=function(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))},t.prototype._updateHistory=function(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()},t.prototype._updateMatchesCount=function(){var e;if(this._matchesCount.style.minWidth=pt+"px",this._state.matchesCount>=19999?this._matchesCount.title=dt:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){var t=String(this._state.matchesCount);this._state.matchesCount>=19999&&(t+="+");var n=String(this._state.matchesPosition);"0"===n&&(n="?"),e=s.p(ht,n,t)}else e=ft;this._matchesCount.appendChild(document.createTextNode(e)),Object(ye.a)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString),!0),pt=Math.max(pt,this._matchesCount.clientWidth)},t.prototype._getAriaLabel=function(e,t,n){return e===ft?""===n?i.a("ariaSearchNoResultEmpty","{0} found",e):i.a("ariaSearchNoResult","{0} found for {1}",e,n):t?i.a("ariaSearchNoResultWithLineNum","{0} found for {1} at {2}",e,n,t.startLineNumber+":"+t.startColumn):i.a("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for {1}",e,n)},t.prototype._updateToggleSelectionFindButton=function(){var e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),n=this._toggleSelectionFind.checked;this._isVisible&&(n||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()},t.prototype._updateButtons=function(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);var e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t),this._nextBtn.setEnabled(this._isVisible&&e&&t),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),$.S(this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);var n=!this._codeEditor.getOption(68);this._toggleReplaceBtn.setEnabled(this._isVisible&&n)},t.prototype._reveal=function(){var e=this;if(!this._isVisible){this._isVisible=!0;var t=this._codeEditor.getSelection();switch(this._codeEditor.getOption(28).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":var n=!!t&&t.startLineNumber!==t.endLineNumber;this._toggleSelectionFind.checked=n}this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout((function(){$.e(e._domNode,"visible"),e._domNode.setAttribute("aria-hidden","false")}),0),setTimeout((function(){e._findInput.validate()}),200),this._codeEditor.layoutOverlayWidget(this);var i=!0;if(this._codeEditor.getOption(28).seedSearchStringFromSelection&&t){var o=this._codeEditor.getDomNode();if(o){var r=$.w(o),s=this._codeEditor.getScrolledVisiblePosition(t.getStartPosition()),a=r.left+(s?s.left:0),u=s?s.top:0;if(this._viewZone&&u<this._viewZone.heightInPx){t.endLineNumber>t.startLineNumber&&(i=!1);var l=$.z(this._domNode).left;a>l&&(i=!1);var c=this._codeEditor.getScrolledVisiblePosition(t.getEndPosition());r.left+(c?c.left:0)>l&&(i=!1)}}}this._showViewZone(i)}},t.prototype._hide=function(e){this._isVisible&&(this._isVisible=!1,this._updateButtons(),$.J(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())},t.prototype._layoutViewZone=function(){var e=this;if(this._codeEditor.getOption(28).addExtraSpaceOnTop){if(this._isVisible){var t=this._viewZone;void 0===this._viewZoneId&&t&&this._codeEditor.changeViewZones((function(n){t.heightInPx=e._getHeight(),e._viewZoneId=n.addZone(t),e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()+t.heightInPx)}))}}else this._removeViewZone()},t.prototype._showViewZone=function(e){var t=this;if((void 0===e&&(e=!0),this._isVisible)&&this._codeEditor.getOption(28).addExtraSpaceOnTop){void 0===this._viewZone&&(this._viewZone=new mt(0));var n=this._viewZone;this._codeEditor.changeViewZones((function(i){if(void 0!==t._viewZoneId){var o=t._getHeight();if(o===n.heightInPx)return;var r=o-n.heightInPx;return n.heightInPx=o,i.layoutZone(t._viewZoneId),void(e&&t._codeEditor.setScrollTop(t._codeEditor.getScrollTop()+r))}r=t._getHeight();n.heightInPx=r,t._viewZoneId=i.addZone(n),e&&t._codeEditor.setScrollTop(t._codeEditor.getScrollTop()+r)}))}},t.prototype._removeViewZone=function(){var e=this;this._codeEditor.changeViewZones((function(t){void 0!==e._viewZoneId&&(t.removeZone(e._viewZoneId),e._viewZoneId=void 0,e._viewZone&&(e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()-e._viewZone.heightInPx),e._viewZone=void 0))}))},t.prototype._applyTheme=function(e){var t={inputActiveOptionBorder:e.getColor(m.P),inputActiveOptionBackground:e.getColor(m.O),inputBackground:e.getColor(m.Q),inputForeground:e.getColor(m.S),inputBorder:e.getColor(m.R),inputValidationInfoBackground:e.getColor(m.W),inputValidationInfoForeground:e.getColor(m.Y),inputValidationInfoBorder:e.getColor(m.X),inputValidationWarningBackground:e.getColor(m.Z),inputValidationWarningForeground:e.getColor(m.bb),inputValidationWarningBorder:e.getColor(m.ab),inputValidationErrorBackground:e.getColor(m.T),inputValidationErrorForeground:e.getColor(m.V),inputValidationErrorBorder:e.getColor(m.U)};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)},t.prototype._tryUpdateWidgetWidth=function(){if(this._isVisible&&$.G(this._domNode)){var e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0)$.e(this._domNode,"hiddenEditor");else{$.C(this._domNode,"hiddenEditor")&&$.J(this._domNode,"hiddenEditor");var t=e.width,n=e.minimapWidth,i=!1,o=!1,r=!1;if(this._resized)if($.B(this._domNode)>419)return this._domNode.style.maxWidth=t-28-n-15+"px",void(this._replaceInput.width=$.B(this._findInput.domNode));if(447+n>=t&&(o=!0),447+n-pt>=t&&(r=!0),447+n-pt>=t+50&&(i=!0),$.S(this._domNode,"collapsed-find-widget",i),$.S(this._domNode,"narrow-find-widget",r),$.S(this._domNode,"reduced-find-widget",o),r||i||(this._domNode.style.maxWidth=t-28-n-15+"px"),this._resized){this._findInput.inputBox.layout();var s=this._findInput.inputBox.element.clientWidth;s>0&&(this._replaceInput.width=s)}else this._isReplaceVisible&&(this._replaceInput.width=$.B(this._findInput.domNode))}}},t.prototype._getHeight=function(){var e=0;return e+=4,e+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(e+=4,e+=this._replaceInput.inputBox.height+2),e+=4},t.prototype._tryUpdateHeight=function(){var e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=e+"px",!0)},t.prototype.focusFindInput=function(){this._findInput.select(),this._findInput.focus()},t.prototype.focusReplaceInput=function(){this._replaceInput.select(),this._replaceInput.focus()},t.prototype.highlightFindOptions=function(){this._findInput.highlightFindOptions()},t.prototype._updateSearchScope=function(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){var e=this._codeEditor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));var t=this._state.currentMatch;e.startLineNumber!==e.endLineNumber&&(d.a.equalsRange(e,t)||this._state.change({searchScope:e},!0))}},t.prototype._onFindInputMouseDown=function(e){e.middleButton&&e.stopPropagation()},t.prototype._onFindInputKeyDown=function(e){return e.equals(3|gt)?(this._findInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?vt(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?_t(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0},t.prototype._onReplaceInputKeyDown=function(e){return e.equals(3|gt)?(we.h&&we.f&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(i.a("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store("ctrlEnterReplaceAll.windows.donotask",!0,0)),this._replaceInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?vt(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?_t(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0},t.prototype.getHorizontalSashTop=function(e){return 0},t.prototype.getHorizontalSashLeft=function(e){return 0},t.prototype.getHorizontalSashWidth=function(e){return 500},t.prototype._keybindingLabelFor=function(e){var t=this._keybindingService.lookupKeybinding(e);return t?" ("+t.getLabel()+")":""},t.prototype._buildDomNode=function(){var e=this;this._findInput=this._register(new Je(null,this._contextViewProvider,{width:221,label:et,placeholder:tt,appendCaseSensitiveLabel:this._keybindingLabelFor(K),appendWholeWordsLabel:this._keybindingLabelFor(q),appendRegexLabel:this._keybindingLabelFor(G),validation:function(t){if(0===t.length||!e._findInput.getRegex())return null;try{return new RegExp(t),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown((function(t){return e._onFindInputKeyDown(t)}))),this._register(this._findInput.inputBox.onDidChange((function(){e._ignoreChangeEvent||e._state.change({searchString:e._findInput.getValue()},!0)}))),this._register(this._findInput.onDidOptionChange((function(){e._state.change({isRegex:e._findInput.getRegex(),wholeWord:e._findInput.getWholeWords(),matchCase:e._findInput.getCaseSensitive()},!0)}))),this._register(this._findInput.onCaseSensitiveKeyDown((function(t){t.equals(1026)&&e._isReplaceVisible&&(e._replaceInput.focus(),t.preventDefault())}))),this._register(this._findInput.onRegexKeyDown((function(t){t.equals(2)&&e._isReplaceVisible&&(e._replaceInput.focusOnPreserve(),t.preventDefault())}))),this._register(this._findInput.inputBox.onDidHeightChange((function(t){e._tryUpdateHeight()&&e._showViewZone()}))),we.d&&this._register(this._findInput.onMouseDown((function(t){return e._onFindInputMouseDown(t)}))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new bt({label:nt+this._keybindingLabelFor(B),className:"codicon codicon-arrow-up",onTrigger:function(){e._codeEditor.getAction(B).run().then(void 0,Ce.e)}})),this._nextBtn=this._register(new bt({label:it+this._keybindingLabelFor(W),className:"codicon codicon-arrow-down",onTrigger:function(){e._codeEditor.getAction(W).run().then(void 0,Ce.e)}}));var t=document.createElement("div");t.className="find-part",t.appendChild(this._findInput.domNode);var n=document.createElement("div");n.className="find-actions",t.appendChild(n),n.appendChild(this._matchesCount),n.appendChild(this._prevBtn.domNode),n.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new se({actionClassName:"codicon codicon-selection",title:ot+this._keybindingLabelFor(Y),isChecked:!1})),this._register(this._toggleSelectionFind.onChange((function(){if(e._toggleSelectionFind.checked){if(e._codeEditor.hasModel()){var t=e._codeEditor.getSelection();1===t.endColumn&&t.endLineNumber>t.startLineNumber&&(t=t.setEndPosition(t.endLineNumber-1,e._codeEditor.getModel().getLineMaxColumn(t.endLineNumber-1))),t.isEmpty()||e._state.change({searchScope:t},!0)}}else e._state.change({searchScope:null},!0)}))),n.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new bt({label:rt+this._keybindingLabelFor(U),className:"codicon codicon-close",onTrigger:function(){e._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:function(t){t.equals(2)&&e._isReplaceVisible&&(e._replaceBtn.isEnabled()?e._replaceBtn.focus():e._codeEditor.focus(),t.preventDefault())}})),n.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new Qe(null,void 0,{label:st,placeholder:at,history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown((function(t){return e._onReplaceInputKeyDown(t)}))),this._register(this._replaceInput.inputBox.onDidChange((function(){e._state.change({replaceString:e._replaceInput.inputBox.value},!1)}))),this._register(this._replaceInput.inputBox.onDidHeightChange((function(t){e._isReplaceVisible&&e._tryUpdateHeight()&&e._showViewZone()}))),this._register(this._replaceInput.onDidOptionChange((function(){e._state.change({preserveCase:e._replaceInput.getPreserveCase()},!0)}))),this._register(this._replaceInput.onPreserveCaseKeyDown((function(t){t.equals(2)&&(e._prevBtn.isEnabled()?e._prevBtn.focus():e._nextBtn.isEnabled()?e._nextBtn.focus():e._toggleSelectionFind.enabled?e._toggleSelectionFind.focus():e._closeBtn.isEnabled()&&e._closeBtn.focus(),t.preventDefault())}))),this._replaceBtn=this._register(new bt({label:ut+this._keybindingLabelFor(Z),className:"codicon codicon-replace",onTrigger:function(){e._controller.replace()},onKeyDown:function(t){t.equals(1026)&&(e._closeBtn.focus(),t.preventDefault())}})),this._replaceAllBtn=this._register(new bt({label:lt+this._keybindingLabelFor(X),className:"codicon codicon-replace-all",onTrigger:function(){e._controller.replaceAll()}}));var i=document.createElement("div");i.className="replace-part",i.appendChild(this._replaceInput.domNode);var o=document.createElement("div");o.className="replace-actions",i.appendChild(o),o.appendChild(this._replaceBtn.domNode),o.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new bt({label:ct,className:"codicon toggle left",onTrigger:function(){e._state.change({isReplaceRevealed:!e._isReplaceVisible},!1),e._isReplaceVisible&&(e._replaceInput.width=$.B(e._findInput.domNode),e._replaceInput.inputBox.layout()),e._showViewZone()}})),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(t),this._domNode.appendChild(i),this._resizeSash=new be.a(this._domNode,this,{orientation:0}),this._resized=!1;var r=419;this._register(this._resizeSash.onDidStart((function(){r=$.B(e._domNode)}))),this._register(this._resizeSash.onDidChange((function(t){e._resized=!0;var n=r+t.startX-t.currentX;n<419||(n>(parseFloat($.t(e._domNode).maxWidth)||0)||(e._domNode.style.width=n+"px",e._isReplaceVisible&&(e._replaceInput.width=$.B(e._findInput.domNode)),e._findInput.inputBox.layout(),e._tryUpdateHeight()))}))),this._register(this._resizeSash.onDidReset((function(){var t=$.B(e._domNode);if(!(t<419)){var n=419;if(!e._resized||419===t){var i=e._codeEditor.getLayoutInfo();n=i.width-28-i.minimapWidth-15,e._resized=!0}e._domNode.style.width=n+"px",e._isReplaceVisible&&(e._replaceInput.width=$.B(e._findInput.domNode)),e._findInput.inputBox.layout()}})))},t.prototype.updateAccessibilitySupport=function(){var e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)},t.ID="editor.contrib.findWidget",t}(ee.a),bt=function(e){function t(t){var n=e.call(this)||this;return n._opts=t,n._domNode=document.createElement("div"),n._domNode.title=n._opts.label,n._domNode.tabIndex=0,n._domNode.className="button "+n._opts.className,n._domNode.setAttribute("role","button"),n._domNode.setAttribute("aria-label",n._opts.label),n.onclick(n._domNode,(function(e){n._opts.onTrigger(),e.preventDefault()})),n.onkeydown(n._domNode,(function(e){if(e.equals(10)||e.equals(3))return n._opts.onTrigger(),void e.preventDefault();n._opts.onKeyDown&&n._opts.onKeyDown(e)})),n}return $e(t,e),Object.defineProperty(t.prototype,"domNode",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),t.prototype.isEnabled=function(){return this._domNode.tabIndex>=0},t.prototype.focus=function(){this._domNode.focus()},t.prototype.setEnabled=function(e){$.S(this._domNode,"disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1},t.prototype.setExpanded=function(e){this._domNode.setAttribute("aria-expanded",String(!!e))},t.prototype.toggleClass=function(e,t){$.S(this._domNode,e,t)},t}(ee.a);Object(v.e)((function(e,t){var n=function(e,n){n&&t.addRule(".monaco-editor "+e+" { background-color: "+n+"; }")};n(".findMatch",e.getColor(m.s)),n(".currentFindMatch",e.getColor(m.q)),n(".findScope",e.getColor(m.u)),n(".find-widget",e.getColor(m.H));var i=e.getColor(m.Lb);i&&t.addRule(".monaco-editor .find-widget { box-shadow: 0 2px 8px "+i+"; }");var o=e.getColor(m.t);o&&t.addRule(".monaco-editor .findMatch { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+o+"; box-sizing: border-box; }");var r=e.getColor(m.r);r&&t.addRule(".monaco-editor .currentFindMatch { border: 2px solid "+r+"; padding: 1px; box-sizing: border-box; }");var s=e.getColor(m.v);s&&t.addRule(".monaco-editor .findScope { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+s+"; }");var a=e.getColor(m.e);a&&t.addRule(".monaco-editor .find-widget { border: 1px solid "+a+"; }");var u=e.getColor(m.J);u&&t.addRule(".monaco-editor .find-widget { color: "+u+"; }");var l=e.getColor(m.L);l&&t.addRule(".monaco-editor .find-widget.no-results .matchesCount { color: "+l+"; }");var c=e.getColor(m.K);if(c)t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+c+"; width: 3px !important; margin-left: -4px;}");else{var d=e.getColor(m.I);d&&t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+d+"; width: 3px !important; margin-left: -4px;}")}var h=e.getColor(m.M);h&&t.addRule(".monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: "+h+"; }")}));var Ct=n("9XeP"),wt=n("Uzvx"),St=n("Cg/j"),Lt=n("bexQ"),Nt=n("A+jI"),Ot=n("sM1p"),Dt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),xt=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Et=function(e,t){return function(n,i){t(n,i,e)}};function kt(e){if(!e.hasModel())return null;var t=e.getSelection();if(t.startLineNumber===t.endLineNumber)if(t.isEmpty()){var n=e.getModel().getWordAtPosition(t.getStartPosition());if(n)return n.word}else if(e.getModel().getValueLengthInRange(t)<524288)return e.getModel().getValueInRange(t);return null}var It=function(e){function t(t,n,i,r){var s=e.call(this)||this;return s._editor=t,s._findWidgetVisible=k.bindTo(n),s._contextKeyService=n,s._storageService=i,s._clipboardService=r,s._updateHistoryDelayer=new o.a(500),s._state=s._register(new _e),s.loadQueryState(),s._register(s._state.onFindReplaceStateChange((function(e){return s._onStateChanged(e)}))),s._model=null,s._register(s._editor.onDidChangeModel((function(){var e=s._editor.getModel()&&s._state.isRevealed;s.disposeModel(),s._state.change({searchScope:null,matchCase:s._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:s._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:s._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:s._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&s._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1})}))),s}return Dt(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.dispose=function(){this.disposeModel(),e.prototype.dispose.call(this)},t.prototype.disposeModel=function(){this._model&&(this._model.dispose(),this._model=null)},t.prototype._onStateChanged=function(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)},t.prototype.saveQueryState=function(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1)},t.prototype.loadQueryState=function(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)},t.prototype.isFindInputFocused=function(){return!!I.getValue(this._contextKeyService)},t.prototype.getState=function(){return this._state},t.prototype.closeFindWidget=function(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()},t.prototype.toggleCaseSensitive=function(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleWholeWords=function(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleRegex=function(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleSearchScope=function(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){var e=this._editor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()||this._state.change({searchScope:e},!0)}},t.prototype.setSearchString=function(e){this._state.isRegex&&(e=s.n(e)),this._state.change({searchString:e},!1)},t.prototype.highlightFindOptions=function(){},t.prototype._start=function(e){if(this.disposeModel(),this._editor.hasModel()){var t,n={isRevealed:!0};if(e.seedSearchStringFromSelection)(t=kt(this._editor))&&(this._state.isRegex?n.searchString=s.n(t):n.searchString=t);if(!n.searchString&&e.seedSearchStringFromGlobalClipboard)(t=this.getGlobalBufferTerm())&&(n.searchString=t);if(e.forceRevealReplace?n.isReplaceRevealed=!0:this._findWidgetVisible.get()||(n.isReplaceRevealed=!1),e.updateSearchScope){var i=this._editor.getSelection();i.isEmpty()||(n.searchScope=i)}this._state.change(n,!1),this._model||(this._model=new Q(this._editor,this._state))}},t.prototype.start=function(e){this._start(e)},t.prototype.moveToNextMatch=function(){return!!this._model&&(this._model.moveToNextMatch(),!0)},t.prototype.moveToPrevMatch=function(){return!!this._model&&(this._model.moveToPrevMatch(),!0)},t.prototype.replace=function(){return!!this._model&&(this._model.replace(),!0)},t.prototype.replaceAll=function(){return!!this._model&&(this._model.replaceAll(),!0)},t.prototype.selectAllMatches=function(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)},t.prototype.getGlobalBufferTerm=function(){return this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""},t.prototype.setGlobalBufferTerm=function(e){this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)},t.ID="editor.contrib.findController",t=xt([Et(1,E.c),Et(2,Nt.a),Et(3,Ct.a)],t)}(r.a),Mt=function(e){function t(t,n,i,o,r,s,a,u){var l=e.call(this,t,i,a,u)||this;return l._contextViewService=n,l._keybindingService=o,l._themeService=r,l._notificationService=s,l._widget=null,l._findOptionsWidget=null,l}return Dt(t,e),t.prototype._start=function(t){this._widget||this._createFindWidget();var n=this._editor.getSelection(),i=!1;switch(this._editor.getOption(28).autoFindInSelection){case"always":i=!0;break;case"never":i=!1;break;case"multiline":i=!!n&&n.startLineNumber!==n.endLineNumber}t.updateSearchScope=i,e.prototype._start.call(this,t),2===t.shouldFocus?this._widget.focusReplaceInput():1===t.shouldFocus&&this._widget.focusFindInput()},t.prototype.highlightFindOptions=function(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()},t.prototype._createFindWidget=function(){this._widget=this._register(new yt(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new ge(this._editor,this._state,this._keybindingService,this._themeService))},t=xt([Et(1,wt.b),Et(2,E.c),Et(3,Lt.a),Et(4,v.c),Et(5,Ot.a),Et(6,Nt.a),Et(7,Object(St.d)(Ct.a))],t)}(It),Tt=function(e){function t(){return e.call(this,{id:F,label:i.a("startFindAction","Find"),alias:"Find",precondition:void 0,kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:17,group:"3_find",title:i.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})||this}return Dt(t,e),t.prototype.run=function(e,t){var n=It.get(t);n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(28).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1})},t}(a.b),At=function(e){function t(){return e.call(this,{id:V,label:i.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})||this}return Dt(t,e),t.prototype.run=function(e,t){var n=It.get(t);n&&(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),n.setGlobalBufferTerm(n.getState().searchString))},t}(a.b),Rt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dt(t,e),t.prototype.run=function(e,t){var n=It.get(t);n&&!this._run(n)&&(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===n.getState().searchString.length&&t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(n))},t}(a.b),Pt=function(e){function t(){return e.call(this,{id:W,label:i.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Rt),Ft=function(e){function t(){return e.call(this,{id:W,label:i.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:E.a.and(u.a.focus,I),primary:3,weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Rt),Vt=function(e){function t(){return e.call(this,{id:B,label:i.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Rt),Wt=function(e){function t(){return e.call(this,{id:B,label:i.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:E.a.and(u.a.focus,I),primary:1027,weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Rt),Bt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dt(t,e),t.prototype.run=function(e,t){var n=It.get(t);if(n){var i=kt(t);i&&n.setSearchString(i),this._run(n)||(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(n))}},t}(a.b),jt=function(e){function t(){return e.call(this,{id:j,label:i.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:2109,weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Bt),Ht=function(e){function t(){return e.call(this,{id:H,label:i.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:3133,weight:100}})||this}return Dt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Bt),zt=function(e){function t(){return e.call(this,{id:z,label:i.a("startReplace","Replace"),alias:"Replace",precondition:void 0,kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:17,group:"3_find",title:i.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})||this}return Dt(t,e),t.prototype.run=function(e,t){if(t.hasModel()&&!t.getOption(68)){var n=It.get(t),i=t.getSelection(),o=n.isFindInputFocused(),r=!i.isEmpty()&&i.startLineNumber===i.endLineNumber&&t.getOption(28).seedSearchStringFromSelection&&!o,s=o||r?2:1;n&&n.start({forceRevealReplace:!0,seedSearchStringFromSelection:r,seedSearchStringFromGlobalClipboard:t.getOption(28).seedSearchStringFromSelection,shouldFocus:s,shouldAnimate:!0,updateSearchScope:!1})}},t}(a.b);Object(a.g)(It.ID,Mt),Object(a.e)(Tt),Object(a.e)(At),Object(a.e)(Pt),Object(a.e)(Ft),Object(a.e)(Vt),Object(a.e)(Wt),Object(a.e)(jt),Object(a.e)(Ht),Object(a.e)(zt);var Ut=a.c.bindToContribution(It.get);Object(a.f)(new Ut({id:U,precondition:k,handler:function(e){return e.closeFindWidget()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:9,secondary:[1033]}})),Object(a.f)(new Ut({id:K,precondition:void 0,handler:function(e){return e.toggleCaseSensitive()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:T.primary,mac:T.mac,win:T.win,linux:T.linux}})),Object(a.f)(new Ut({id:q,precondition:void 0,handler:function(e){return e.toggleWholeWords()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),Object(a.f)(new Ut({id:G,precondition:void 0,handler:function(e){return e.toggleRegex()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:R.primary,mac:R.mac,win:R.win,linux:R.linux}})),Object(a.f)(new Ut({id:Y,precondition:void 0,handler:function(e){return e.toggleSearchScope()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:P.primary,mac:P.mac,win:P.win,linux:P.linux}})),Object(a.f)(new Ut({id:Z,precondition:k,handler:function(e){return e.replace()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:3094}})),Object(a.f)(new Ut({id:Z,precondition:k,handler:function(e){return e.replace()},kbOpts:{weight:105,kbExpr:E.a.and(u.a.focus,M),primary:3}})),Object(a.f)(new Ut({id:X,precondition:k,handler:function(e){return e.replaceAll()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:2563}})),Object(a.f)(new Ut({id:X,precondition:k,handler:function(e){return e.replaceAll()},kbOpts:{weight:105,kbExpr:E.a.and(u.a.focus,M),primary:void 0,mac:{primary:2051}}})),Object(a.f)(new Ut({id:J,precondition:k,handler:function(e){return e.selectAllMatches()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:515}}))},p3Ex:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return n.e(147).then(n.bind(null,"/Om3"))}})},p5tG:function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return o}));n("M/lh");var i=monaco.Emitter,o=function(){function e(e,t,n){this._onDidChange=new i,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!0,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),r=new o("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});monaco.languages.json={jsonDefaults:r},monaco.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),monaco.languages.onLanguage("json",(function(){n.e(131).then(n.bind(null,"R7lK")).then((function(e){return e.setupMode(r)}))}))},pI2L:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return n.e(173).then(n.bind(null,"KpXS"))}})},pg8w:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return d}));var i,o,r=n("6OMU"),s=n("pmY6"),a=n("EffR"),u=n("ZCR3"),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};!function(e){e.Tap="-monaco-gesturetap",e.Change="-monaco-gesturechange",e.Start="-monaco-gesturestart",e.End="-monaco-gesturesend",e.Contextmenu="-monaco-gesturecontextmenu"}(o||(o={}));var d=function(e){function t(){var t=e.call(this)||this;return t.dispatched=!1,t.activeTouches={},t.handle=null,t.targets=[],t.ignoreTargets=[],t._lastSetTapCountTime=0,t._register(a.g(document,"touchstart",(function(e){return t.onTouchStart(e)}))),t._register(a.g(document,"touchend",(function(e){return t.onTouchEnd(e)}))),t._register(a.g(document,"touchmove",(function(e){return t.onTouchMove(e)}))),t}return l(t,e),t.addTarget=function(e){return t.isTouchDevice()?(t.INSTANCE||(t.INSTANCE=new t),t.INSTANCE.targets.push(e),{dispose:function(){t.INSTANCE.targets=t.INSTANCE.targets.filter((function(t){return t!==e}))}}):s.a.None},t.ignoreTarget=function(e){return t.isTouchDevice()?(t.INSTANCE||(t.INSTANCE=new t),t.INSTANCE.ignoreTargets.push(e),{dispose:function(){t.INSTANCE.ignoreTargets=t.INSTANCE.ignoreTargets.filter((function(t){return t!==e}))}}):s.a.None},t.isTouchDevice=function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0},t.prototype.dispose=function(){this.handle&&(this.handle.dispose(),this.handle=null),e.prototype.dispose.call(this)},t.prototype.onTouchStart=function(e){var t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(var n=0,i=e.targetTouches.length;n<i;n++){var r=e.targetTouches.item(n);this.activeTouches[r.identifier]={id:r.identifier,initialTarget:r.target,initialTimeStamp:t,initialPageX:r.pageX,initialPageY:r.pageY,rollingTimestamps:[t],rollingPageX:[r.pageX],rollingPageY:[r.pageY]};var s=this.newGestureEvent(o.Start,r.target);s.pageX=r.pageX,s.pageY=r.pageY,this.dispatchEvent(s)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},t.prototype.onTouchEnd=function(e){for(var n=Date.now(),i=Object.keys(this.activeTouches).length,s=function(s,u){var l=e.changedTouches.item(s);if(!a.activeTouches.hasOwnProperty(String(l.identifier)))return console.warn("move of an UNKNOWN touch",l),"continue";var c=a.activeTouches[l.identifier],d=Date.now()-c.initialTimeStamp;if(d<t.HOLD_DELAY&&Math.abs(c.initialPageX-r.p(c.rollingPageX))<30&&Math.abs(c.initialPageY-r.p(c.rollingPageY))<30)(h=a.newGestureEvent(o.Tap,c.initialTarget)).pageX=r.p(c.rollingPageX),h.pageY=r.p(c.rollingPageY),a.dispatchEvent(h);else if(d>=t.HOLD_DELAY&&Math.abs(c.initialPageX-r.p(c.rollingPageX))<30&&Math.abs(c.initialPageY-r.p(c.rollingPageY))<30){var h;(h=a.newGestureEvent(o.Contextmenu,c.initialTarget)).pageX=r.p(c.rollingPageX),h.pageY=r.p(c.rollingPageY),a.dispatchEvent(h)}else if(1===i){var f=r.p(c.rollingPageX),p=r.p(c.rollingPageY),g=r.p(c.rollingTimestamps)-c.rollingTimestamps[0],m=f-c.rollingPageX[0],v=p-c.rollingPageY[0],_=a.targets.filter((function(e){return c.initialTarget instanceof Node&&e.contains(c.initialTarget)}));a.inertia(_,n,Math.abs(m)/g,m>0?1:-1,f,Math.abs(v)/g,v>0?1:-1,p)}a.dispatchEvent(a.newGestureEvent(o.End,c.initialTarget)),delete a.activeTouches[l.identifier]},a=this,u=0,l=e.changedTouches.length;u<l;u++)s(u);this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},t.prototype.newGestureEvent=function(e,t){var n=document.createEvent("CustomEvent");return n.initEvent(e,!1,!0),n.initialTarget=t,n.tapCount=0,n},t.prototype.dispatchEvent=function(e){var n=this;if(e.type===o.Tap){var i=(new Date).getTime(),r=0;r=i-this._lastSetTapCountTime>t.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=i,e.tapCount=r}else e.type!==o.Change&&e.type!==o.Contextmenu||(this._lastSetTapCountTime=0);for(var s=0;s<this.ignoreTargets.length;s++)if(e.initialTarget instanceof Node&&this.ignoreTargets[s].contains(e.initialTarget))return;this.targets.forEach((function(t){e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),n.dispatched=!0)}))},t.prototype.inertia=function(e,n,i,r,s,u,l,c){var d=this;this.handle=a.Q((function(){var a=Date.now(),h=a-n,f=0,p=0,g=!0;i+=t.SCROLL_FRICTION*h,u+=t.SCROLL_FRICTION*h,i>0&&(g=!1,f=r*i*h),u>0&&(g=!1,p=l*u*h);var m=d.newGestureEvent(o.Change);m.translationX=f,m.translationY=p,e.forEach((function(e){return e.dispatchEvent(m)})),g||d.inertia(e,a,i,r,s+f,u,l,c+p)}))},t.prototype.onTouchMove=function(e){for(var t=Date.now(),n=0,i=e.changedTouches.length;n<i;n++){var s=e.changedTouches.item(n);if(this.activeTouches.hasOwnProperty(String(s.identifier))){var a=this.activeTouches[s.identifier],u=this.newGestureEvent(o.Change,a.initialTarget);u.translationX=s.pageX-r.p(a.rollingPageX),u.translationY=s.pageY-r.p(a.rollingPageY),u.pageX=s.pageX,u.pageY=s.pageY,this.dispatchEvent(u),a.rollingPageX.length>3&&(a.rollingPageX.shift(),a.rollingPageY.shift(),a.rollingTimestamps.shift()),a.rollingPageX.push(s.pageX),a.rollingPageY.push(s.pageY),a.rollingTimestamps.push(t)}else console.warn("end of an UNKNOWN touch",s)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},t.SCROLL_FRICTION=-.005,t.HOLD_DELAY=700,t.CLEAR_TAP_COUNT_TIME=400,c([u.a],t,"isTouchDevice",null),t}(s.a)},pmY6:function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return l}));function i(e){}function o(e){return Array.isArray(e)?(e.forEach((function(e){e&&e.dispose()})),[]):e?(e.dispose(),e):void 0}function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.forEach(i),{dispose:function(){return o(e)}}}function s(e){var t={dispose:function(){e()}};return t}var a=function(){function e(){this._toDispose=new Set,this._isDisposed=!1}return e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.clear())},e.prototype.clear=function(){this._toDispose.forEach((function(e){return e.dispose()})),this._toDispose.clear()},e.prototype.add=function(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e},e}(),u=function(){function e(){this._store=new a}return e.prototype.dispose=function(){this._store.dispose()},e.prototype._register=function(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)},e.None=Object.freeze({dispose:function(){}}),e}(),l=(function(){function e(){this._isDisposed=!1}Object.defineProperty(e.prototype,"value",{get:function(){return this._isDisposed?void 0:this._value},set:function(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.value=void 0},e.prototype.dispose=function(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}(),function(){function e(e){this.object=e}return e.prototype.dispose=function(){},e}())},qj0h:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return u}));var i=n("746U");function o(e){if(!e||"object"!=typeof e)return e;if(e instanceof RegExp)return e;var t=Array.isArray(e)?[]:{};return Object.keys(e).forEach((function(n){e[n]&&"object"==typeof e[n]?t[n]=o(e[n]):t[n]=e[n]})),t}function r(e){if(!e||"object"!=typeof e)return e;for(var t=[e];t.length>0;){var n=t.shift();for(var i in Object.freeze(n),n)if(s.call(n,i)){var o=n[i];"object"!=typeof o||Object.isFrozen(o)||t.push(o)}}return e}var s=Object.prototype.hasOwnProperty;function a(e,t,n){return void 0===n&&(n=!0),Object(i.i)(e)?(Object(i.i)(t)&&Object.keys(t).forEach((function(o){o in e?n&&(Object(i.i)(e[o])&&Object(i.i)(t[o])?a(e[o],t[o],n):e[o]=t[o]):e[o]=t[o]})),e):t}function u(e,t,n){var i=t(e);return void 0===i?n:i}},sM1p:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var i=n("S3by"),o=n("Cg/j"),r=(i.a,Object(o.c)("notificationService")),s=function(){}},sStQ:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return n.e(162).then(n.bind(null,"QKwv"))}})},siPX:function(e,t,n){},snIX:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("N0LK"),o=n("LCkn"),r=n("Ll0s"),s=n("+Fos"),a=n("aokT"),u=function(){function e(){}return e.deleteRight=function(e,t,n,i){for(var r=[],u=3!==e,l=0,c=i.length;l<c;l++){var d=i[l],h=d;if(h.isEmpty()){var f=d.getPosition(),p=s.a.right(t,n,f.lineNumber,f.column);h=new a.a(p.lineNumber,p.column,f.lineNumber,f.column)}h.isEmpty()?r[l]=null:(h.startLineNumber!==h.endLineNumber&&(u=!0),r[l]=new o.a(h,""))}return[u,r]},e._isAutoClosingPairDelete=function(e,t,n){if("never"===e.autoClosingBrackets&&"never"===e.autoClosingQuotes)return!1;for(var i=0,o=n.length;i<o;i++){var s=n[i],a=s.getPosition();if(!s.isEmpty())return!1;var u=t.getLineContent(a.lineNumber),l=u[a.column-2],c=e.autoClosingPairsOpen2.get(l);if(!c)return!1;if(Object(r.g)(l)){if("never"===e.autoClosingQuotes)return!1}else if("never"===e.autoClosingBrackets)return!1;for(var d=u[a.column-1],h=!1,f=0,p=c;f<p.length;f++){var g=p[f];g.open===l&&g.close===d&&(h=!0)}if(!h)return!1}return!0},e._runAutoClosingPairDelete=function(e,t,n){for(var i=[],r=0,s=n.length;r<s;r++){var u=n[r].getPosition(),l=new a.a(u.lineNumber,u.column-1,u.lineNumber,u.column+1);i[r]=new o.a(l,"")}return[!0,i]},e.deleteLeft=function(e,t,n,u){if(this._isAutoClosingPairDelete(t,n,u))return this._runAutoClosingPairDelete(t,n,u);for(var l=[],c=2!==e,d=0,h=u.length;d<h;d++){var f=u[d],p=f;if(p.isEmpty()){var g=f.getPosition();if(t.useTabStops&&g.column>1){var m=n.getLineContent(g.lineNumber),v=i.o(m),_=-1===v?m.length+1:v+1;if(g.column<=_){var y=r.a.visibleColumnFromColumn2(t,n,g),b=r.a.prevIndentTabStop(y,t.indentSize),C=r.a.columnFromVisibleColumn2(t,n,g.lineNumber,b);p=new a.a(g.lineNumber,C,g.lineNumber,g.column)}else p=new a.a(g.lineNumber,g.column-1,g.lineNumber,g.column)}else{var w=s.a.left(t,n,g.lineNumber,g.column);p=new a.a(w.lineNumber,w.column,g.lineNumber,g.column)}}p.isEmpty()?l[d]=null:(p.startLineNumber!==p.endLineNumber&&(c=!0),l[d]=new o.a(p,""))}return[c,l]},e.cut=function(e,t,n){for(var i=[],s=0,u=n.length;s<u;s++){var l=n[s];if(l.isEmpty())if(e.emptySelectionClipboard){var c=l.getPosition(),d=void 0,h=void 0,f=void 0,p=void 0;c.lineNumber<t.getLineCount()?(d=c.lineNumber,h=1,f=c.lineNumber+1,p=1):c.lineNumber>1?(d=c.lineNumber-1,h=t.getLineMaxColumn(c.lineNumber-1),f=c.lineNumber,p=t.getLineMaxColumn(c.lineNumber)):(d=c.lineNumber,h=1,f=c.lineNumber,p=t.getLineMaxColumn(c.lineNumber));var g=new a.a(d,h,f,p);g.isEmpty()?i[s]=null:i[s]=new o.a(g,"")}else i[s]=null;else i[s]=new o.a(l,"")}return new r.e(0,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e}()},sswD:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"e",(function(){return _})),n.d(t,"g",(function(){return y})),n.d(t,"d",(function(){return o}));n("/cxE"),n("bY76");var i,o,r=n("Vxe3"),s=(n("cGHE"),n("G2kB"),n("t49l"),n("fjLI")),a=n("nnTU"),u=n("T8No"),l=n("nrhi"),c=n("ic2d"),d=n("XXUj"),h=n("746U"),f=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(){function e(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this._description=e.description}return e.prototype.register=function(){var e=this;if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){var t=this._kbOpts.kbExpr;this.precondition&&(t=t?u.a.and(t,this.precondition):this.precondition),l.a.registerCommandAndKeybindingRule({id:this.id,handler:function(t,n){return e.runCommand(t,n)},weight:this._kbOpts.weight,when:t,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else a.a.registerCommand({id:this.id,handler:function(t,n){return e.runCommand(t,n)},description:this._description})},e.prototype._registerMenuItem=function(e){s.c.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title},when:e.when,order:e.order})},e}(),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.bindToContribution=function(e){return function(t){function n(e){var n=t.call(this,e)||this;return n._callback=e.handler,n}return f(n,t),n.prototype.runEditorCommand=function(t,n,i){e(n)&&this._callback(e(n),i)},n}(t)},t.prototype.runCommand=function(e,t){var n=this,i=e.get(r.a),o=i.getFocusedCodeEditor()||i.getActiveCodeEditor();if(o)return o.invokeWithinContext((function(e){if(e.get(u.c).contextMatchesRules(Object(h.n)(n.precondition)))return n.runEditorCommand(e,o,t)}))},t}(p),m=function(e){function t(n){var i=e.call(this,t.convertOptions(n))||this;return i.label=n.label,i.alias=n.alias,i}return f(t,e),t.convertOptions=function(e){var t;function n(t){return t.menuId||(t.menuId=7),t.title||(t.title=e.label),t.when=u.a.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push.apply(t,e.contextMenuOpts.map(n)):e.contextMenuOpts&&t.push(n(e.contextMenuOpts)),e.menuOpts=t,e},t.prototype.runEditorCommand=function(e,t,n){return this.reportTelemetry(e,t),this.run(e,t,n||{})},t.prototype.reportTelemetry=function(e,t){e.get(d.a).publicLog2("editorActionInvoked",{name:this.label,id:this.id})},t}(g);function v(e){return b.INSTANCE.registerEditorCommand(e),e}function _(e){b.INSTANCE.registerEditorAction(new e)}function y(e,t){b.INSTANCE.registerEditorContribution(e,t)}!function(e){e.getEditorCommand=function(e){return b.INSTANCE.getEditorCommand(e)},e.getEditorActions=function(){return b.INSTANCE.getEditorActions()},e.getEditorContributions=function(){return b.INSTANCE.getEditorContributions()},e.getSomeEditorContributions=function(e){return b.INSTANCE.getEditorContributions().filter((function(t){return e.indexOf(t.id)>=0}))},e.getDiffEditorContributions=function(){return b.INSTANCE.getDiffEditorContributions()}}(o||(o={}));var b=function(){function e(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}return e.prototype.registerEditorContribution=function(e,t){this.editorContributions.push({id:e,ctor:t})},e.prototype.getEditorContributions=function(){return this.editorContributions.slice(0)},e.prototype.getDiffEditorContributions=function(){return this.diffEditorContributions.slice(0)},e.prototype.registerEditorAction=function(e){e.register(),this.editorActions.push(e)},e.prototype.getEditorActions=function(){return this.editorActions.slice(0)},e.prototype.registerEditorCommand=function(e){e.register(),this.editorCommands[e.id]=e},e.prototype.getEditorCommand=function(e){return this.editorCommands[e]||null},e.INSTANCE=new e,e}();c.a.add("editor.contributions",b.INSTANCE)},t49l:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("Cg/j"),o=Object(i.c)("textModelService")},t9D7:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return d})),n.d(t,"e",(function(){return f}));var i=n("Cg/j"),o=n("pmY6"),r=n("ic2d"),s=n("MI8n"),a=Object(i.c)("themeService");function u(e){return{id:e}}var l="hc";function c(e){switch(e){case"dark":return"vs-dark";case l:return"hc-black";default:return"vs"}}var d={ThemingContribution:"base.contributions.theming"},h=new(function(){function e(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new s.a}return e.prototype.onThemeChange=function(e){var t=this;return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),Object(o.f)((function(){var n=t.themingParticipants.indexOf(e);t.themingParticipants.splice(n,1)}))},e.prototype.getThemingParticipants=function(){return this.themingParticipants},e}());function f(e){return h.onThemeChange(e)}r.a.add(d.ThemingContribution,h)},tX9W:function(e,t,n){"use strict";n.d(t,"b",(function(){return Ue})),n.d(t,"a",(function(){return Xe}));var i=n("/cxE"),o=n("MI8n"),r=n("pmY6"),s=n("N0LK"),a=n("bY76"),u=n("/UlZ"),l=n("cGHE"),c=n("aokT"),d=n("gCVg"),h=n("M1Kb"),f=function(){function e(e,t){this.beforeVersionId=e,this.beforeCursorState=t,this.afterCursorState=null,this.afterVersionId=-1,this.editOperations=[]}return e.prototype.undo=function(e){for(var t=this.editOperations.length-1;t>=0;t--)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},e.prototype.redo=function(e){for(var t=0;t<this.editOperations.length;t++)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},e}();function p(e){return"\n"===e.getEOL()?0:1}var g=function(){function e(e,t){this.beforeVersionId=e,this.beforeCursorState=null,this.afterCursorState=null,this.afterVersionId=-1,this.eol=t}return e.prototype.undo=function(e){var t=p(e);e.setEOL(this.eol),this.eol=t},e.prototype.redo=function(e){var t=p(e);e.setEOL(this.eol),this.eol=t},e}(),m=function(){function e(e){this.model=e,this.currentOpenStackElement=null,this.past=[],this.future=[]}return e.prototype.pushStackElement=function(){null!==this.currentOpenStackElement&&(this.past.push(this.currentOpenStackElement),this.currentOpenStackElement=null)},e.prototype.clear=function(){this.currentOpenStackElement=null,this.past=[],this.future=[]},e.prototype.pushEOL=function(e){this.future=[],this.currentOpenStackElement&&this.pushStackElement();var t=p(this.model),n=new g(this.model.getAlternativeVersionId(),t);this.model.setEOL(e),n.afterVersionId=this.model.getVersionId(),this.currentOpenStackElement=n,this.pushStackElement()},e.prototype.pushEditOperation=function(t,n,i){this.future=[];var o=null;this.currentOpenStackElement&&(this.currentOpenStackElement instanceof f?o=this.currentOpenStackElement:this.pushStackElement()),this.currentOpenStackElement||(o=new f(this.model.getAlternativeVersionId(),t),this.currentOpenStackElement=o);var r={operations:this.model.applyEdits(n)};return o.editOperations.push(r),o.afterCursorState=e._computeCursorState(i,r.operations),o.afterVersionId=this.model.getVersionId(),o.afterCursorState},e._computeCursorState=function(e,t){try{return e?e(t):null}catch(e){return Object(i.e)(e),null}},e.prototype.undo=function(){if(this.pushStackElement(),this.past.length>0){var e=this.past.pop();try{e.undo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.future.push(e),{selections:e.beforeCursorState,recordedVersionId:e.beforeVersionId}}return null},e.prototype.canUndo=function(){return this.past.length>0||null!==this.currentOpenStackElement},e.prototype.redo=function(){if(this.future.length>0){var e=this.future.pop();try{e.redo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.past.push(e),{selections:e.afterCursorState,recordedVersionId:e.afterVersionId}}return null},e.prototype.canRedo=function(){return this.future.length>0},e}(),v=function(){this.spacesDiff=0,this.looksLikeAlignment=!1};function _(e,t,n,i,o){var r;for(o.spacesDiff=0,o.looksLikeAlignment=!1,r=0;r<t&&r<i;r++){if(e.charCodeAt(r)!==n.charCodeAt(r))break}for(var s=0,a=0,u=r;u<t;u++){32===e.charCodeAt(u)?s++:a++}var l=0,c=0;for(u=r;u<i;u++){32===n.charCodeAt(u)?l++:c++}if(!(s>0&&a>0||l>0&&c>0)){var d=Math.abs(a-c),h=Math.abs(s-l);if(0===d)return o.spacesDiff=h,void(h>0&&0<=l-1&&l-1<e.length&&l<n.length&&32!==n.charCodeAt(l)&&32===e.charCodeAt(l-1)&&44===e.charCodeAt(e.length-1)&&(o.looksLikeAlignment=!0));h%d!=0||(o.spacesDiff=h/d)}}function y(e,t,n){for(var i=Math.min(e.getLineCount(),1e4),o=0,r=0,s="",a=0,u=[0,0,0,0,0,0,0,0,0],l=new v,c=1;c<=i;c++){for(var d=e.getLineLength(c),h=e.getLineContent(c),f=d<=65536,p=!1,g=0,m=0,y=0,b=0,C=d;b<C;b++){var w=f?h.charCodeAt(b):e.getLineCharCode(c,b);if(9===w)y++;else{if(32!==w){p=!0,g=b;break}m++}}if(p&&(y>0?o++:m>1&&r++,_(s,a,h,g,l),!l.looksLikeAlignment||n&&t===l.spacesDiff)){var S=l.spacesDiff;S<=8&&u[S]++,s=h,a=g}}var L=n;o!==r&&(L=o<r);var N=t;if(L){var O=L?0:.1*i;[2,4,6,8,3,5,7].forEach((function(e){var t=u[e];t>O&&(O=t,N=e)})),4===N&&u[4]>0&&u[2]>0&&u[2]>=u[4]/2&&(N=2)}return{insertSpaces:L,tabSize:N}}function b(e){return(1&e.metadata)>>>0}function C(e,t){e.metadata=254&e.metadata|t<<0}function w(e){return(2&e.metadata)>>>1==1}function S(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function L(e){return(4&e.metadata)>>>2==1}function N(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function O(e){return(8&e.metadata)>>>3==1}function D(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function x(e,t){e.metadata=207&e.metadata|t<<4}function E(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}var k=function(){function e(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,C(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,N(this,!1),x(this,1),D(this,!1),E(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,S(this,!1)}return e.prototype.reset=function(e,t,n,i){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=i},e.prototype.setOptions=function(e){this.options=e;var t=this.options.className;N(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),x(this,this.options.stickiness),D(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),E(this,this.options.collapseOnReplaceEdit)},e.prototype.setCachedOffsets=function(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),I=new k(null,0,0);I.parent=I,I.left=I,I.right=I,C(I,0);var M=function(){function e(){this.root=I,this.requestNormalizeDelta=!1}return e.prototype.intervalSearch=function(e,t,n,i,o){return this.root===I?[]:function(e,t,n,i,o,r){var s=e.root,a=0,u=0,l=0,c=[],d=0;for(;s!==I;)if(w(s))S(s.left,!1),S(s.right,!1),s===s.parent.right&&(a-=s.parent.delta),s=s.parent;else{if(!w(s.left)){if(a+s.maxEnd<t){S(s,!0);continue}if(s.left!==I){s=s.left;continue}}if((u=a+s.start)>n)S(s,!0);else{if((l=a+s.end)>=t){s.setCachedOffsets(u,l,r);var h=!0;i&&s.ownerId&&s.ownerId!==i&&(h=!1),o&&L(s)&&(h=!1),h&&(c[d++]=s)}S(s,!0),s.right===I||w(s.right)||(a+=s.delta,s=s.right)}}return S(e.root,!1),c}(this,e,t,n,i,o)},e.prototype.search=function(e,t,n){return this.root===I?[]:function(e,t,n,i){var o=e.root,r=0,s=0,a=0,u=[],l=0;for(;o!==I;)if(w(o))S(o.left,!1),S(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;else if(o.left===I||w(o.left)){s=r+o.start,a=r+o.end,o.setCachedOffsets(s,a,i);var c=!0;t&&o.ownerId&&o.ownerId!==t&&(c=!1),n&&L(o)&&(c=!1),c&&(u[l++]=o),S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right)}else o=o.left;return S(e.root,!1),u}(this,e,t,n)},e.prototype.collectNodesFromOwner=function(e){return function(e,t){var n=e.root,i=[],o=0;for(;n!==I;)w(n)?(S(n.left,!1),S(n.right,!1),n=n.parent):n.left===I||w(n.left)?(n.ownerId===t&&(i[o++]=n),S(n,!0),n.right===I||w(n.right)||(n=n.right)):n=n.left;return S(e.root,!1),i}(this,e)},e.prototype.collectNodesPostOrder=function(){return function(e){var t=e.root,n=[],i=0;for(;t!==I;)w(t)?(S(t.left,!1),S(t.right,!1),t=t.parent):t.left===I||w(t.left)?t.right===I||w(t.right)?(n[i++]=t,S(t,!0)):t=t.right:t=t.left;return S(e.root,!1),n}(this)},e.prototype.insert=function(e){R(this,e),this._normalizeDeltaIfNecessary()},e.prototype.delete=function(e){P(this,e),this._normalizeDeltaIfNecessary()},e.prototype.resolveNode=function(e,t){for(var n=e,i=0;e!==this.root;)e===e.parent.right&&(i+=e.parent.delta),e=e.parent;var o=n.start+i,r=n.end+i;n.setCachedOffsets(o,r,t)},e.prototype.acceptReplace=function(e,t,n,i){for(var o=function(e,t,n){var i=e.root,o=0,r=0,s=0,a=[],u=0;for(;i!==I;)if(w(i))S(i.left,!1),S(i.right,!1),i===i.parent.right&&(o-=i.parent.delta),i=i.parent;else{if(!w(i.left)){if(o+i.maxEnd<t){S(i,!0);continue}if(i.left!==I){i=i.left;continue}}(r=o+i.start)>n?S(i,!0):((s=o+i.end)>=t&&(i.setCachedOffsets(r,s,0),a[u++]=i),S(i,!0),i.right===I||w(i.right)||(o+=i.delta,i=i.right))}return S(e.root,!1),a}(this,e,e+t),r=0,s=o.length;r<s;r++){P(this,a=o[r])}this._normalizeDeltaIfNecessary(),function(e,t,n,i){var o=e.root,r=0,s=i-(n-t);for(;o!==I;)if(w(o))S(o.left,!1),S(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),j(o),o=o.parent;else{if(!w(o.left)){if(r+o.maxEnd<t){S(o,!0);continue}if(o.left!==I){o=o.left;continue}}r+o.start>n?(o.start+=s,o.end+=s,o.delta+=s,(o.delta<-1073741824||o.delta>1073741824)&&(e.requestNormalizeDelta=!0),S(o,!0)):(S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right))}S(e.root,!1)}(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(r=0,s=o.length;r<s;r++){var a;(a=o[r]).start=a.cachedAbsoluteStart,a.end=a.cachedAbsoluteEnd,A(a,e,e+t,n,i),a.maxEnd=a.end,R(this,a)}this._normalizeDeltaIfNecessary()},e.prototype._normalizeDeltaIfNecessary=function(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(e){var t=e.root,n=0;for(;t!==I;)t.left===I||w(t.left)?t.right===I||w(t.right)?(t.start=n+t.start,t.end=n+t.end,t.delta=0,j(t),S(t,!0),S(t.left,!1),S(t.right,!1),t===t.parent.right&&(n-=t.parent.delta),t=t.parent):(n+=t.delta,t=t.right):t=t.left;S(e.root,!1)}(this))},e}();function T(e,t,n,i){return e<n||!(e>n)&&(1!==i&&(2===i||t))}function A(e,t,n,i,o){var r=function(e){return(48&e.metadata)>>>4}(e),s=0===r||2===r,a=1===r||2===r,u=n-t,l=i,c=Math.min(u,l),d=e.start,h=!1,f=e.end,p=!1;t<=d&&f<=n&&function(e){return(64&e.metadata)>>>6==1}(e)&&(e.start=t,h=!0,e.end=t,p=!0);var g=o?1:u>0?2:0;if(!h&&T(d,s,t,g)&&(h=!0),!p&&T(f,a,t,g)&&(p=!0),c>0&&!o){g=u>l?2:0;!h&&T(d,s,t+c,g)&&(h=!0),!p&&T(f,a,t+c,g)&&(p=!0)}g=o?1:0;!h&&T(d,s,n,g)&&(e.start=t+l,h=!0),!p&&T(f,a,n,g)&&(e.end=t+l,p=!0);var m=l-u;h||(e.start=Math.max(0,d+m)),p||(e.end=Math.max(0,f+m)),e.start>e.end&&(e.end=e.start)}function R(e,t){if(e.root===I)return t.parent=I,t.left=I,t.right=I,C(t,0),e.root=t,e.root;!function(e,t){var n=0,i=e.root,o=t.start,r=t.end;for(;;){if(z(o,r,i.start+n,i.end+n)<0){if(i.left===I){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===I){t.start-=n+i.delta,t.end-=n+i.delta,t.maxEnd-=n+i.delta,i.right=t;break}n+=i.delta,i=i.right}}t.parent=i,t.left=I,t.right=I,C(t,1)}(e,t),H(t.parent);for(var n=t;n!==e.root&&1===b(n.parent);){var i;if(n.parent===n.parent.parent.left)1===b(i=n.parent.parent.right)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&V(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),W(e,n.parent.parent));else 1===b(i=n.parent.parent.left)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&W(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),V(e,n.parent.parent))}return C(e.root,0),t}function P(e,t){var n,i;if(t.left===I?(i=t,(n=t.right).delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===I?(n=t.left,i=t):((n=(i=function(e){for(;e.left!==I;)e=e.left;return e}(t.right)).right).start+=i.delta,n.end+=i.delta,n.delta+=i.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,i.delta=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0)),i===e.root)return e.root=n,C(n,0),t.detach(),F(),j(n),void(e.root.parent=I);var o,r=1===b(i);if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?n.parent=i.parent:(i.parent===t?n.parent=i:n.parent=i.parent,i.left=t.left,i.right=t.right,i.parent=t.parent,C(i,b(t)),t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==I&&(i.left.parent=i),i.right!==I&&(i.right.parent=i)),t.detach(),r)return H(n.parent),i!==t&&(H(i),H(i.parent)),void F();for(H(n),H(n.parent),i!==t&&(H(i),H(i.parent));n!==e.root&&0===b(n);)n===n.parent.left?(1===b(o=n.parent.right)&&(C(o,0),C(n.parent,1),V(e,n.parent),o=n.parent.right),0===b(o.left)&&0===b(o.right)?(C(o,1),n=n.parent):(0===b(o.right)&&(C(o.left,0),C(o,1),W(e,o),o=n.parent.right),C(o,b(n.parent)),C(n.parent,0),C(o.right,0),V(e,n.parent),n=e.root)):(1===b(o=n.parent.left)&&(C(o,0),C(n.parent,1),W(e,n.parent),o=n.parent.left),0===b(o.left)&&0===b(o.right)?(C(o,1),n=n.parent):(0===b(o.left)&&(C(o.right,0),C(o,1),V(e,o),o=n.parent.left),C(o,b(n.parent)),C(n.parent,0),C(o.left,0),W(e,n.parent),n=e.root));C(n,0),F()}function F(){I.parent=I,I.delta=0,I.start=0,I.end=0}function V(e,t){var n=t.right;n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==I&&(n.left.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,j(t),j(n)}function W(e,t){var n=t.left;t.delta-=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==I&&(n.right.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,j(t),j(n)}function B(e){var t=e.end;if(e.left!==I){var n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==I){var i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function j(e){e.maxEnd=B(e)}function H(e){for(;e!==I;){var t=B(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}function z(e,t,n,i){return e===n?t-i:e-n}var U=function(){function e(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}return e.prototype.next=function(){if(this.right!==K)return q(this.right);for(var e=this;e.parent!==K&&e.parent.left!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.prev=function(){if(this.left!==K)return G(this.left);for(var e=this;e.parent!==K&&e.parent.right!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),K=new U(null,0);function q(e){for(;e.left!==K;)e=e.left;return e}function G(e){for(;e.right!==K;)e=e.right;return e}function Y(e){return e===K?0:e.size_left+e.piece.length+Y(e.right)}function Z(e){return e===K?0:e.lf_left+e.piece.lineFeedCnt+Z(e.right)}function X(){K.parent=K}function J(e,t){var n=t.right;n.size_left+=t.size_left+(t.piece?t.piece.length:0),n.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=n.left,n.left!==K&&(n.left.parent=t),n.parent=t.parent,t.parent===K?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n}function Q(e,t){var n=t.left;t.left=n.right,n.right!==K&&(n.right.parent=t),n.parent=t.parent,t.size_left-=n.size_left+(n.piece?n.piece.length:0),t.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),t.parent===K?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n}function $(e,t){var n,i;if(n=t.left===K?(i=t).right:t.right===K?(i=t).left:(i=q(t.right)).right,i===e.root)return e.root=n,n.color=0,t.detach(),X(),void(e.root.parent=K);var o=1===i.color;if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?(n.parent=i.parent,ne(e,n)):(i.parent===t?n.parent=i:n.parent=i.parent,ne(e,n),i.left=t.left,i.right=t.right,i.parent=t.parent,i.color=t.color,t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==K&&(i.left.parent=i),i.right!==K&&(i.right.parent=i),i.size_left=t.size_left,i.lf_left=t.lf_left,ne(e,i)),t.detach(),n.parent.left===n){var r=Y(n),s=Z(n);if(r!==n.parent.size_left||s!==n.parent.lf_left){var a=r-n.parent.size_left,u=s-n.parent.lf_left;n.parent.size_left=r,n.parent.lf_left=s,te(e,n.parent,a,u)}}if(ne(e,n.parent),o)X();else{for(var l;n!==e.root&&0===n.color;)n===n.parent.left?(1===(l=n.parent.right).color&&(l.color=0,n.parent.color=1,J(e,n.parent),l=n.parent.right),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.right.color&&(l.left.color=0,l.color=1,Q(e,l),l=n.parent.right),l.color=n.parent.color,n.parent.color=0,l.right.color=0,J(e,n.parent),n=e.root)):(1===(l=n.parent.left).color&&(l.color=0,n.parent.color=1,Q(e,n.parent),l=n.parent.left),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.left.color&&(l.right.color=0,l.color=1,J(e,l),l=n.parent.left),l.color=n.parent.color,n.parent.color=0,l.left.color=0,Q(e,n.parent),n=e.root));n.color=0,X()}}function ee(e,t){for(ne(e,t);t!==e.root&&1===t.parent.color;){var n;if(t.parent===t.parent.parent.left)1===(n=t.parent.parent.right).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&J(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Q(e,t.parent.parent));else 1===(n=t.parent.parent.left).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&Q(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,J(e,t.parent.parent))}e.root.color=0}function te(e,t,n,i){for(;t!==e.root&&t!==K;)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}function ne(e,t){var n=0,i=0;if(t!==e.root){if(0===n){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t===e.root)return;n=Y((t=t.parent).left)-t.size_left,i=Z(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=i}for(;t!==e.root&&(0!==n||0!==i);)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}}K.parent=K,K.left=K,K.right=K,K.color=0;var ie=n("jAJ/");function oe(e){var t;return(t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length)).set(e,0),t}var re=function(e,t,n,i,o){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=o};function se(e,t){void 0===t&&(t=!0);for(var n=[0],i=1,o=0,r=e.length;o<r;o++){var s=e.charCodeAt(o);13===s?o+1<r&&10===e.charCodeAt(o+1)?(n[i++]=o+2,o++):n[i++]=o+1:10===s&&(n[i++]=o+1)}return t?oe(n):n}var ae,ue=function(e,t,n,i,o){this.bufferIndex=e,this.start=t,this.end=n,this.lineFeedCnt=i,this.length=o},le=function(e,t){this.buffer=e,this.lineStarts=t},ce=function(){function e(e){this._limit=e,this._cache=[]}return e.prototype.get=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null},e.prototype.get2=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber<e&&n.nodeStartLineNumber+n.node.piece.lineFeedCnt>=e)return n}return null},e.prototype.set=function(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)},e.prototype.valdiate=function(e){for(var t=!1,n=this._cache,i=0;i<n.length;i++){var o=n[i];(null===o.node.parent||o.nodeStartOffset>=e)&&(n[i]=null,t=!0)}if(t){for(var r=[],s=0,a=n;s<a.length;s++){var u=a[s];null!==u&&r.push(u)}this._cache=r}},e}(),de=function(){function e(e,t,n){this.create(e,t,n)}return e.prototype.create=function(e,t,n){this._buffers=[new le("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=K,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=n;for(var i=null,o=0,r=e.length;o<r;o++)if(e[o].buffer.length>0){e[o].lineStarts||(e[o].lineStarts=se(e[o].buffer));var s=new ue(o+1,{line:0,column:0},{line:e[o].lineStarts.length-1,column:e[o].buffer.length-e[o].lineStarts[e[o].lineStarts.length-1]},e[o].lineStarts.length-1,e[o].buffer.length);this._buffers.push(e[o]),i=this.rbInsertRight(i,s)}this._searchCache=new ce(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()},e.prototype.normalizeEOL=function(e){var t=this,n=65535-Math.floor(21845),i=2*n,o="",r=0,s=[];if(this.iterate(this.root,(function(a){var u=t.getNodeContent(a),l=u.length;if(r<=n||r+l<i)return o+=u,r+=l,!0;var c=o.replace(/\r\n|\r|\n/g,e);return s.push(new le(c,se(c))),o=u,r=l,!0})),r>0){var a=o.replace(/\r\n|\r|\n/g,e);s.push(new le(a,se(a)))}this.create(s,e,!0)},e.prototype.getEOL=function(){return this._EOL},e.prototype.setEOL=function(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)},e.prototype.getOffsetAt=function(e,t){for(var n=0,i=this.root;i!==K;)if(i.left!==K&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e)return(n+=i.size_left)+(this.getAccumulatedValue(i,e-i.lf_left-2)+t-1);e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n},e.prototype.getPositionAt=function(e){e=Math.floor(e),e=Math.max(0,e);for(var t=this.root,n=0,i=e;t!==K;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){var o=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+o.index,0===o.index){var r=i-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}return new l.a(n+1,o.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===K){r=i-e-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}t=t.right}return new l.a(1,1)},e.prototype.getValueInRange=function(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";var n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),o=this.getValueInRange2(n,i);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?o:o.replace(/\r\n|\r|\n/g,t):o},e.prototype.getValueInRange2=function(e,t){if(e.node===t.node){var n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i.substring(o+e.remainder,o+t.remainder)}var r=e.node,s=this._buffers[r.piece.bufferIndex].buffer,a=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start),u=s.substring(a+e.remainder,a+r.piece.length);for(r=r.next();r!==K;){var l=this._buffers[r.piece.bufferIndex].buffer,c=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start);if(r===t.node){u+=l.substring(c,c+t.remainder);break}u+=l.substr(c,r.piece.length),r=r.next()}return u},e.prototype.getLinesContent=function(){var e=this,t=[],n=0,i="",o=!1;return this.iterate(this.root,(function(r){if(r===K)return!0;var s=r.piece,a=s.length;if(0===a)return!0;var u=e._buffers[s.bufferIndex].buffer,l=e._buffers[s.bufferIndex].lineStarts,c=s.start.line,d=s.end.line,h=l[c]+s.start.column;if(o&&(10===u.charCodeAt(h)&&(h++,a--),t[n++]=i,i="",o=!1,0===a))return!0;if(c===d)return e._EOLNormalized||13!==u.charCodeAt(h+a-1)?i+=u.substr(h,a):(o=!0,i+=u.substr(h,a-1)),!0;i+=e._EOLNormalized?u.substring(h,Math.max(h,l[c+1]-e._EOLLength)):u.substring(h,l[c+1]).replace(/(\r\n|\r|\n)$/,""),t[n++]=i;for(var f=c+1;f<d;f++)i=e._EOLNormalized?u.substring(l[f],l[f+1]-e._EOLLength):u.substring(l[f],l[f+1]).replace(/(\r\n|\r|\n)$/,""),t[n++]=i;return e._EOLNormalized||13!==u.charCodeAt(l[d]+s.end.column-1)?i=u.substr(l[d],s.end.column):(o=!0,0===s.end.column?n--:i=u.substr(l[d],s.end.column-1)),!0})),o&&(t[n++]=i,i=""),t[n++]=i,t},e.prototype.getLength=function(){return this._length},e.prototype.getLineCount=function(){return this._lineCnt},e.prototype.getLineContent=function(e){return this._lastVisitedLine.lineNumber===e||(this._lastVisitedLine.lineNumber=e,e===this._lineCnt?this._lastVisitedLine.value=this.getLineRawContent(e):this._EOLNormalized?this._lastVisitedLine.value=this.getLineRawContent(e,this._EOLLength):this._lastVisitedLine.value=this.getLineRawContent(e).replace(/(\r\n|\r|\n)$/,"")),this._lastVisitedLine.value},e.prototype.getLineCharCode=function(e,t){var n=this.nodeAt2(e,t+1);if(n.remainder===n.node.piece.length){var i=n.node.next();if(!i)return 0;var o=this._buffers[i.piece.bufferIndex],r=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return o.buffer.charCodeAt(r)}o=this._buffers[n.node.piece.bufferIndex];var s=(r=this.offsetInBuffer(n.node.piece.bufferIndex,n.node.piece.start))+n.remainder;return o.buffer.charCodeAt(s)},e.prototype.getLineLength=function(e){if(e===this.getLineCount()){var t=this.getOffsetAt(e,1);return this.getLength()-t}return this.getOffsetAt(e+1,1)-this.getOffsetAt(e,1)-this._EOLLength},e.prototype.findMatchesInNode=function(e,t,n,i,o,r,s,a,u,l,d){var h,f,p,g=this._buffers[e.piece.bufferIndex],m=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start),v=this.offsetInBuffer(e.piece.bufferIndex,o),_=this.offsetInBuffer(e.piece.bufferIndex,r),y={line:0,column:0};t._wordSeparators?(f=g.buffer.substring(v,_),p=function(e){return e+v},t.reset(-1)):(f=g.buffer,p=function(e){return e},t.reset(v));do{if(h=t.next(f)){if(p(h.index)>=_)return l;this.positionInBuffer(e,p(h.index)-m,y);var b=this.getLineFeedCnt(e.piece.bufferIndex,o,y),C=y.line===o.line?y.column-o.column+i:y.column+1,w=C+h[0].length;if(d[l++]=Object(ie.d)(new c.a(n+b,C,n+b,w),h,a),p(h.index)+h[0].length>=_)return l;if(l>=u)return l}}while(h);return l},e.prototype.findMatchesLineByLine=function(e,t,n,i){var o=[],r=0,s=new ie.b(t.wordSeparators,t.regex),a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];var u=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===u)return[];var l=this.positionInBuffer(a.node,a.remainder),c=this.positionInBuffer(u.node,u.remainder);if(a.node===u.node)return this.findMatchesInNode(a.node,s,e.startLineNumber,e.startColumn,l,c,t,n,i,r,o),o;for(var d=e.startLineNumber,h=a.node;h!==u.node;){var f=this.getLineFeedCnt(h.piece.bufferIndex,l,h.piece.end);if(f>=1){var p=this._buffers[h.piece.bufferIndex].lineStarts,g=this.offsetInBuffer(h.piece.bufferIndex,h.piece.start),m=p[l.line+f],v=d===e.startLineNumber?e.startColumn:1;if((r=this.findMatchesInNode(h,s,d,v,l,this.positionInBuffer(h,m-g),t,n,i,r,o))>=i)return o;d+=f}var _=d===e.startLineNumber?e.startColumn-1:0;if(d===e.endLineNumber){var y=this.getLineContent(d).substring(_,e.endColumn-1);return r=this._findMatchesInLine(t,s,y,e.endLineNumber,_,r,o,n,i),o}if((r=this._findMatchesInLine(t,s,this.getLineContent(d).substr(_),d,_,r,o,n,i))>=i)return o;d++,h=(a=this.nodeAt2(d,1)).node,l=this.positionInBuffer(a.node,a.remainder)}if(d===e.endLineNumber){var b=d===e.startLineNumber?e.startColumn-1:0;y=this.getLineContent(d).substring(b,e.endColumn-1);return r=this._findMatchesInLine(t,s,y,e.endLineNumber,b,r,o,n,i),o}var C=d===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(u.node,s,d,C,l,c,t,n,i,r,o),o},e.prototype._findMatchesInLine=function(e,t,n,i,o,r,s,a,u){var l,d=e.wordSeparators;if(!a&&e.simpleSearch){for(var f=e.simpleSearch,p=f.length,g=n.length,m=-p;-1!==(m=n.indexOf(f,m+p));)if((!d||Object(ie.e)(d,n,g,m,p))&&(s[r++]=new h.b(new c.a(i,m+1+o,i,m+1+p+o),null),r>=u))return r;return r}t.reset(0);do{if((l=t.next(n))&&(s[r++]=Object(ie.d)(new c.a(i,l.index+1+o,i,l.index+1+l[0].length+o),l,a),r>=u))return r}while(l);return r},e.prototype.insert=function(e,t,n){if(void 0===n&&(n=!1),this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==K){var i=this.nodeAt(e),o=i.node,r=i.remainder,s=i.nodeStartOffset,a=o.piece,u=a.bufferIndex,l=this.positionInBuffer(o,r);if(0===o.piece.bufferIndex&&a.end.line===this._lastChangeBufferPos.line&&a.end.column===this._lastChangeBufferPos.column&&s+a.length===e&&t.length<65535)return this.appendToNode(o,t),void this.computeBufferMetadata();if(s===e)this.insertContentToNodeLeft(t,o),this._searchCache.valdiate(e);else if(s+o.piece.length>e){var c=[],d=new ue(a.bufferIndex,l,a.end,this.getLineFeedCnt(a.bufferIndex,l,a.end),this.offsetInBuffer(u,a.end)-this.offsetInBuffer(u,l));if(this.shouldCheckCRLF()&&this.endWithCR(t))if(10===this.nodeCharCodeAt(o,r)){var h={line:d.start.line+1,column:0};d=new ue(d.bufferIndex,h,d.end,this.getLineFeedCnt(d.bufferIndex,h,d.end),d.length-1),t+="\n"}if(this.shouldCheckCRLF()&&this.startWithLF(t))if(13===this.nodeCharCodeAt(o,r-1)){var f=this.positionInBuffer(o,r-1);this.deleteNodeTail(o,f),t="\r"+t,0===o.piece.length&&c.push(o)}else this.deleteNodeTail(o,l);else this.deleteNodeTail(o,l);var p=this.createNewPieces(t);d.length>0&&this.rbInsertRight(o,d);for(var g=o,m=0;m<p.length;m++)g=this.rbInsertRight(g,p[m]);this.deleteNodes(c)}else this.insertContentToNodeRight(t,o)}else{var v=this.createNewPieces(t);for(o=this.rbInsertLeft(null,v[0]),m=1;m<v.length;m++)o=this.rbInsertRight(o,v[m])}this.computeBufferMetadata()},e.prototype.delete=function(e,t){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",!(t<=0||this.root===K)){var n=this.nodeAt(e),i=this.nodeAt(e+t),o=n.node,r=i.node;if(o===r){var s=this.positionInBuffer(o,n.remainder),a=this.positionInBuffer(o,i.remainder);if(n.nodeStartOffset===e){if(t===o.piece.length){var u=o.next();return $(this,o),this.validateCRLFWithPrevNode(u),void this.computeBufferMetadata()}return this.deleteNodeHead(o,a),this._searchCache.valdiate(e),this.validateCRLFWithPrevNode(o),void this.computeBufferMetadata()}return n.nodeStartOffset+o.piece.length===e+t?(this.deleteNodeTail(o,s),this.validateCRLFWithNextNode(o),void this.computeBufferMetadata()):(this.shrinkNode(o,s,a),void this.computeBufferMetadata())}var l=[],c=this.positionInBuffer(o,n.remainder);this.deleteNodeTail(o,c),this._searchCache.valdiate(e),0===o.piece.length&&l.push(o);var d=this.positionInBuffer(r,i.remainder);this.deleteNodeHead(r,d),0===r.piece.length&&l.push(r);for(var h=o.next();h!==K&&h!==r;h=h.next())l.push(h);var f=0===o.piece.length?o.prev():o;this.deleteNodes(l),this.validateCRLFWithNextNode(f),this.computeBufferMetadata()}},e.prototype.insertContentToNodeLeft=function(e,t){var n=[];if(this.shouldCheckCRLF()&&this.endWithCR(e)&&this.startWithLF(t)){var i=t.piece,o={line:i.start.line+1,column:0},r=new ue(i.bufferIndex,o,i.end,this.getLineFeedCnt(i.bufferIndex,o,i.end),i.length-1);t.piece=r,e+="\n",te(this,t,-1,-1),0===t.piece.length&&n.push(t)}for(var s=this.createNewPieces(e),a=this.rbInsertLeft(t,s[s.length-1]),u=s.length-2;u>=0;u--)a=this.rbInsertLeft(a,s[u]);this.validateCRLFWithPrevNode(a),this.deleteNodes(n)},e.prototype.insertContentToNodeRight=function(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");for(var n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]),o=i,r=1;r<n.length;r++)o=this.rbInsertRight(o,n[r]);this.validateCRLFWithPrevNode(i)},e.prototype.positionInBuffer=function(e,t,n){for(var i=e.piece,o=e.piece.bufferIndex,r=this._buffers[o].lineStarts,s=r[i.start.line]+i.start.column+t,a=i.start.line,u=i.end.line,l=0,c=0,d=0;a<=u&&(d=r[l=a+(u-a)/2|0],l!==u);)if(c=r[l+1],s<d)u=l-1;else{if(!(s>=c))break;a=l+1}return n?(n.line=l,n.column=s-d,null):{line:l,column:s-d}},e.prototype.getLineFeedCnt=function(e,t,n){if(0===n.column)return n.line-t.line;var i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;var o=i[n.line+1],r=i[n.line]+n.column;if(o>r+1)return n.line-t.line;var s=r-1;return 13===this._buffers[e].buffer.charCodeAt(s)?n.line-t.line+1:n.line-t.line},e.prototype.offsetInBuffer=function(e,t){return this._buffers[e].lineStarts[t.line]+t.column},e.prototype.deleteNodes=function(e){for(var t=0;t<e.length;t++)$(this,e[t])},e.prototype.createNewPieces=function(e){if(e.length>65535){for(var t=[];e.length>65535;){var n=e.charCodeAt(65534),i=void 0;13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));var o=se(i);t.push(new ue(this._buffers.length,{line:0,column:0},{line:o.length-1,column:i.length-o[o.length-1]},o.length-1,i.length)),this._buffers.push(new le(i,o))}var r=se(e);return t.push(new ue(this._buffers.length,{line:0,column:0},{line:r.length-1,column:e.length-r[r.length-1]},r.length-1,e.length)),this._buffers.push(new le(e,r)),t}var s=this._buffers[0].buffer.length,a=se(e,!1),u=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===s&&0!==s&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},u=this._lastChangeBufferPos;for(var l=0;l<a.length;l++)a[l]+=s+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(a.slice(1)),this._buffers[0].buffer+="_"+e,s+=1}else{if(0!==s)for(l=0;l<a.length;l++)a[l]+=s;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(a.slice(1)),this._buffers[0].buffer+=e}var c=this._buffers[0].buffer.length,d=this._buffers[0].lineStarts.length-1,h={line:d,column:c-this._buffers[0].lineStarts[d]},f=new ue(0,u,h,this.getLineFeedCnt(0,u,h),c-s);return this._lastChangeBufferPos=h,[f]},e.prototype.getLineRawContent=function(e,t){void 0===t&&(t=0);var n=this.root,i="",o=this._searchCache.get2(e);if(o){n=o.node;var r=this.getAccumulatedValue(n,e-o.nodeStartLineNumber-1),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(o.nodeStartLineNumber+n.piece.lineFeedCnt!==e){var u=this.getAccumulatedValue(n,e-o.nodeStartLineNumber);return s.substring(a+r,a+u-t)}i=s.substring(a+r,a+n.piece.length)}else for(var l=0,c=e;n!==K;)if(n.left!==K&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),u=this.getAccumulatedValue(n,e-n.lf_left-1),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return l+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:l,nodeStartLineNumber:c-(e-1-n.lf_left)}),s.substring(a+r,a+u-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=s.substring(a+r,a+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,l+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){s=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){u=this.getAccumulatedValue(n,0),a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=s.substring(a,a+u-t)}a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=s.substr(a,n.piece.length),n=n.next()}return i},e.prototype.computeBufferMetadata=function(){for(var e=this.root,t=1,n=0;e!==K;)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.valdiate(this._length)},e.prototype.getIndexOf=function(e,t){var n=e.piece,i=this.positionInBuffer(e,t),o=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){var r=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(r!==o)return{index:r,remainder:0}}return{index:o,remainder:i.column}},e.prototype.getAccumulatedValue=function(e,t){if(t<0)return 0;var n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,o=n.start.line+t+1;return o>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[o]-i[n.start.line]-n.start.column},e.prototype.deleteNodeTail=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.end),r=t,s=this.offsetInBuffer(n.bufferIndex,r),a=this.getLineFeedCnt(n.bufferIndex,n.start,r),u=a-i,l=s-o,c=n.length+l;e.piece=new ue(n.bufferIndex,n.start,r,a,c),te(this,e,l,u)},e.prototype.deleteNodeHead=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.start),r=t,s=this.getLineFeedCnt(n.bufferIndex,r,n.end),a=s-i,u=o-this.offsetInBuffer(n.bufferIndex,r),l=n.length+u;e.piece=new ue(n.bufferIndex,r,n.end,s,l),te(this,e,u,a)},e.prototype.shrinkNode=function(e,t,n){var i=e.piece,o=i.start,r=i.end,s=i.length,a=i.lineFeedCnt,u=t,l=this.getLineFeedCnt(i.bufferIndex,i.start,u),c=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,o);e.piece=new ue(i.bufferIndex,i.start,u,l,c),te(this,e,c-s,l-a);var d=new ue(i.bufferIndex,n,r,this.getLineFeedCnt(i.bufferIndex,n,r),this.offsetInBuffer(i.bufferIndex,r)-this.offsetInBuffer(i.bufferIndex,n)),h=this.rbInsertRight(e,d);this.validateCRLFWithPrevNode(h)},e.prototype.appendToNode=function(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");var n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),i=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;for(var o=se(t,!1),r=0;r<o.length;r++)o[r]+=i;if(n){var s=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:i-s}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(o.slice(1));var a=this._buffers[0].lineStarts.length-1,u={line:a,column:this._buffers[0].buffer.length-this._buffers[0].lineStarts[a]},l=e.piece.length+t.length,c=e.piece.lineFeedCnt,d=this.getLineFeedCnt(0,e.piece.start,u),h=d-c;e.piece=new ue(e.piece.bufferIndex,e.piece.start,u,d,l),this._lastChangeBufferPos=u,te(this,e,t.length,h)},e.prototype.nodeAt=function(e){var t=this.root,n=this._searchCache.get(e);if(n)return{node:n.node,nodeStartOffset:n.nodeStartOffset,remainder:e-n.nodeStartOffset};for(var i=0;t!==K;)if(t.size_left>e)t=t.left;else{if(t.size_left+t.piece.length>=e){i+=t.size_left;var o={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(o),o}e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right}return null},e.prototype.nodeAt2=function(e,t){for(var n=this.root,i=0;n!==K;)if(n.left!==K&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){var o=this.getAccumulatedValue(n,e-n.lf_left-2),r=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(o+t-1,r),nodeStartOffset:i}}if(n.lf_left+n.piece.lineFeedCnt===e-1){if((o=this.getAccumulatedValue(n,e-n.lf_left-2))+t-1<=n.piece.length)return{node:n,remainder:o+t-1,nodeStartOffset:i};t-=n.piece.length-o;break}e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){if(n.piece.lineFeedCnt>0){r=this.getAccumulatedValue(n,0);var s=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,r),nodeStartOffset:s}}if(n.piece.length>=t-1)return{node:n,remainder:t-1,nodeStartOffset:this.offsetOfNode(n)};t-=n.piece.length,n=n.next()}return null},e.prototype.nodeCharCodeAt=function(e,t){if(e.piece.lineFeedCnt<1)return-1;var n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)},e.prototype.offsetOfNode=function(e){if(!e)return 0;for(var t=e.size_left;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t},e.prototype.shouldCheckCRLF=function(){return!(this._EOLNormalized&&"\n"===this._EOL)},e.prototype.startWithLF=function(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===K||0===e.piece.lineFeedCnt)return!1;var t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,o=n[i]+t.start.column;return i!==n.length-1&&(!(n[i+1]>o+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(o))},e.prototype.endWithCR=function(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==K&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)},e.prototype.validateCRLFWithPrevNode=function(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){var t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}},e.prototype.validateCRLFWithNextNode=function(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}},e.prototype.fixCRLF=function(e,t){var n,i=[],o=this._buffers[e.piece.bufferIndex].lineStarts;n=0===e.piece.end.column?{line:e.piece.end.line-1,column:o[e.piece.end.line]-o[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};var r=e.piece.length-1,s=e.piece.lineFeedCnt-1;e.piece=new ue(e.piece.bufferIndex,e.piece.start,n,s,r),te(this,e,-1,-1),0===e.piece.length&&i.push(e);var a={line:t.piece.start.line+1,column:0},u=t.piece.length-1,l=this.getLineFeedCnt(t.piece.bufferIndex,a,t.piece.end);t.piece=new ue(t.piece.bufferIndex,a,t.piece.end,l,u),te(this,t,-1,-1),0===t.piece.length&&i.push(t);var c=this.createNewPieces("\r\n");this.rbInsertRight(e,c[0]);for(var d=0;d<i.length;d++)$(this,i[d])},e.prototype.adjustCarriageReturnFromNext=function(e,t){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var n=t.next();if(this.startWithLF(n)){if(e+="\n",1===n.piece.length)$(this,n);else{var i=n.piece,o={line:i.start.line+1,column:0},r=i.length-1,s=this.getLineFeedCnt(i.bufferIndex,o,i.end);n.piece=new ue(i.bufferIndex,o,i.end,s,r),te(this,n,-1,-1)}return!0}}return!1},e.prototype.iterate=function(e,t){if(e===K)return t(K);var n=this.iterate(e.left,t);return n?t(e)&&this.iterate(e.right,t):n},e.prototype.getNodeContent=function(e){if(e===K)return"";var t=this._buffers[e.piece.bufferIndex],n=e.piece,i=this.offsetInBuffer(n.bufferIndex,n.start),o=this.offsetInBuffer(n.bufferIndex,n.end);return t.buffer.substring(i,o)},e.prototype.rbInsertRight=function(e,t){var n=new U(t,1);if(n.left=K,n.right=K,n.parent=K,n.size_left=0,n.lf_left=0,this.root===K)this.root=n,n.color=0;else if(e.right===K)e.right=n,n.parent=e;else{var i=q(e.right);i.left=n,n.parent=i}return ee(this,n),n},e.prototype.rbInsertLeft=function(e,t){var n=new U(t,1);if(n.left=K,n.right=K,n.parent=K,n.size_left=0,n.lf_left=0,this.root===K)this.root=n,n.color=0;else if(e.left===K)e.left=n,n.parent=e;else{var i=G(e.left);i.right=n,n.parent=i}return ee(this,n),n},e}(),he=function(){function e(e,t,n,i,o,r){this._BOM=t,this._mightContainNonBasicASCII=!o,this._mightContainRTL=i,this._pieceTree=new de(e,n,r)}return e.prototype.mightContainRTL=function(){return this._mightContainRTL},e.prototype.mightContainNonBasicASCII=function(){return this._mightContainNonBasicASCII},e.prototype.getBOM=function(){return this._BOM},e.prototype.getEOL=function(){return this._pieceTree.getEOL()},e.prototype.getOffsetAt=function(e,t){return this._pieceTree.getOffsetAt(e,t)},e.prototype.getPositionAt=function(e){return this._pieceTree.getPositionAt(e)},e.prototype.getRangeAt=function(e,t){var n=e+t,i=this.getPositionAt(e),o=this.getPositionAt(n);return new c.a(i.lineNumber,i.column,o.lineNumber,o.column)},e.prototype.getValueInRange=function(e,t){if(void 0===t&&(t=0),e.isEmpty())return"";var n=this._getEndOfLine(t);return this._pieceTree.getValueInRange(e,n)},e.prototype.getValueLengthInRange=function(e,t){if(void 0===t&&(t=0),e.isEmpty())return 0;if(e.startLineNumber===e.endLineNumber)return e.endColumn-e.startColumn;var n=this.getOffsetAt(e.startLineNumber,e.startColumn);return this.getOffsetAt(e.endLineNumber,e.endColumn)-n},e.prototype.getCharacterCountInRange=function(e,t){if(void 0===t&&(t=0),this._mightContainNonBasicASCII){for(var n=0,i=e.startLineNumber,o=e.endLineNumber,r=i;r<=o;r++)for(var a=this.getLineContent(r),u=r===i?e.startColumn-1:0,l=r===o?e.endColumn-1:a.length,c=u;c<l;c++)s.x(a.charCodeAt(c))?(n+=1,c+=1):n+=1;return n+=this._getEndOfLine(t).length*(o-i)}return this.getValueLengthInRange(e,t)},e.prototype.getLength=function(){return this._pieceTree.getLength()},e.prototype.getLineCount=function(){return this._pieceTree.getLineCount()},e.prototype.getLinesContent=function(){return this._pieceTree.getLinesContent()},e.prototype.getLineContent=function(e){return this._pieceTree.getLineContent(e)},e.prototype.getLineCharCode=function(e,t){return this._pieceTree.getLineCharCode(e,t)},e.prototype.getLineLength=function(e){return this._pieceTree.getLineLength(e)},e.prototype.getLineFirstNonWhitespaceColumn=function(e){var t=s.o(this.getLineContent(e));return-1===t?0:t+1},e.prototype.getLineLastNonWhitespaceColumn=function(e){var t=s.B(this.getLineContent(e));return-1===t?0:t+2},e.prototype._getEndOfLine=function(e){switch(e){case 1:return"\n";case 2:return"\r\n";case 0:return this.getEOL()}throw new Error("Unknown EOL preference")},e.prototype.setEOL=function(e){this._pieceTree.setEOL(e)},e.prototype.applyEdits=function(t,n){for(var i=this._mightContainRTL,o=this._mightContainNonBasicASCII,r=!0,a=[],u=0;u<t.length;u++){var l=t[u];r&&l._isTracked&&(r=!1);var c=l.range;!i&&l.text&&(i=s.g(l.text)),!o&&l.text&&(o=!s.t(l.text)),a[u]={sortIndex:u,identifier:l.identifier||null,range:c,rangeOffset:this.getOffsetAt(c.startLineNumber,c.startColumn),rangeLength:this.getValueLengthInRange(c),lines:l.text?l.text.split(/\r\n|\r|\n/):null,forceMoveMarkers:Boolean(l.forceMoveMarkers),isAutoWhitespaceEdit:l.isAutoWhitespaceEdit||!1}}a.sort(e._sortOpsAscending);for(var d=!1,f=(u=0,a.length-1);u<f;u++){var p=a[u].range.getEndPosition(),g=a[u+1].range.getStartPosition();if(g.isBeforeOrEqual(p)){if(g.isBefore(p))throw new Error("Overlapping ranges are not allowed!");d=!0}}r&&(a=this._reduceOperations(a));var m=e._getInverseEditRanges(a),v=[];for(u=0;u<a.length;u++){l=a[u];var _=m[u];if(n&&l.isAutoWhitespaceEdit&&l.range.isEmpty())for(var y=_.startLineNumber;y<=_.endLineNumber;y++){var b="";y===_.startLineNumber&&(b=this.getLineContent(l.range.startLineNumber),-1!==s.o(b))||v.push({lineNumber:y,oldContent:b})}}var C=[];for(u=0;u<a.length;u++){l=a[u],_=m[u];C[u]={sortIndex:l.sortIndex,identifier:l.identifier,range:_,text:this.getValueInRange(l.range),forceMoveMarkers:l.forceMoveMarkers}}d||C.sort((function(e,t){return e.sortIndex-t.sortIndex})),this._mightContainRTL=i,this._mightContainNonBasicASCII=o;var w=this._doApplyEdits(a),S=null;if(n&&v.length>0){v.sort((function(e,t){return t.lineNumber-e.lineNumber})),S=[];u=0;for(var L=v.length;u<L;u++){y=v[u].lineNumber;if(!(u>0&&v[u-1].lineNumber===y)){var N=v[u].oldContent,O=this.getLineContent(y);0!==O.length&&O!==N&&-1===s.o(O)&&S.push(y)}}}return new h.a(C,w,S)},e.prototype._reduceOperations=function(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]},e.prototype._toSingleEditOperation=function(e){for(var t=!1,n=e[0].range,i=e[e.length-1].range,o=new c.a(n.startLineNumber,n.startColumn,i.endLineNumber,i.endColumn),r=n.startLineNumber,s=n.startColumn,a=[],u=0,l=e.length;u<l;u++){var d=e[u],h=d.range;t=t||d.forceMoveMarkers;for(var f=r;f<h.startLineNumber;f++)f===r?a.push(this.getLineContent(f).substring(s-1)):(a.push("\n"),a.push(this.getLineContent(f)));if(h.startLineNumber===r?a.push(this.getLineContent(h.startLineNumber).substring(s-1,h.startColumn-1)):(a.push("\n"),a.push(this.getLineContent(h.startLineNumber).substring(0,h.startColumn-1))),d.lines)for(var p=0,g=d.lines.length;p<g;p++)0!==p&&a.push("\n"),a.push(d.lines[p]);r=d.range.endLineNumber,s=d.range.endColumn}return{sortIndex:0,identifier:e[0].identifier,range:o,rangeOffset:this.getOffsetAt(o.startLineNumber,o.startColumn),rangeLength:this.getValueLengthInRange(o,0),lines:a.join("").split("\n"),forceMoveMarkers:t,isAutoWhitespaceEdit:!1}},e.prototype._doApplyEdits=function(t){t.sort(e._sortOpsDescending);for(var n=[],i=0;i<t.length;i++){var o=t[i],r=o.range.startLineNumber,s=o.range.startColumn,a=o.range.endLineNumber,u=o.range.endColumn;if(r!==a||s!==u||o.lines&&0!==o.lines.length){var l=a-r,d=o.lines?o.lines.length-1:0,h=Math.min(l,d),f=o.lines?o.lines.join(this.getEOL()):"";if(f?(this._pieceTree.delete(o.rangeOffset,o.rangeLength),this._pieceTree.insert(o.rangeOffset,f,!0)):this._pieceTree.delete(o.rangeOffset,o.rangeLength),h<d){for(var p=[],g=h+1;g<=d;g++)p.push(o.lines[g]);p[p.length-1]=this.getLineContent(r+d-1)}var m=new c.a(r,s,a,u);n.push({range:m,rangeLength:o.rangeLength,text:f,rangeOffset:o.rangeOffset,forceMoveMarkers:o.forceMoveMarkers})}}return n},e.prototype.findMatchesLineByLine=function(e,t,n,i){return this._pieceTree.findMatchesLineByLine(e,t,n,i)},e._getInverseEditRanges=function(e){for(var t=[],n=0,i=0,o=null,r=0,s=e.length;r<s;r++){var a=e[r],u=void 0,l=void 0;o?o.range.endLineNumber===a.range.startLineNumber?(u=n,l=i+(a.range.startColumn-o.range.endColumn)):(u=n+(a.range.startLineNumber-o.range.endLineNumber),l=a.range.startColumn):(u=a.range.startLineNumber,l=a.range.startColumn);var d=void 0;if(a.lines&&a.lines.length>0){var h=a.lines.length,f=a.lines[0],p=a.lines[h-1];d=1===h?new c.a(u,l,u,l+f.length):new c.a(u,l,u+h-1,p.length+1)}else d=new c.a(u,l,u,l);n=d.endLineNumber,i=d.endColumn,t.push(d),o=a}return t},e._sortOpsAscending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n},e._sortOpsDescending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n},e}(),fe=function(){function e(e,t,n,i,o,r,s,a){this._chunks=e,this._bom=t,this._cr=n,this._lf=i,this._crlf=o,this._containsRTL=r,this._isBasicASCII=s,this._normalizeEOL=a}return e.prototype._getEOL=function(e){var t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":n>t/2?"\r\n":"\n"},e.prototype.create=function(e){var t=this._getEOL(e),n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(var i=0,o=n.length;i<o;i++){var r=n[i].buffer.replace(/\r\n|\r|\n/g,t),s=se(r);n[i]=new le(r,s)}return new he(n,this._bom,t,this._containsRTL,this._isBasicASCII,this._normalizeEOL)},e}(),pe=function(){function e(){this.chunks=[],this.BOM="",this._hasPreviousChar=!1,this._previousChar=0,this._tmpLineStarts=[],this.cr=0,this.lf=0,this.crlf=0,this.containsRTL=!1,this.isBasicASCII=!0}return e.prototype.acceptChunk=function(e){if(0!==e.length){0===this.chunks.length&&s.J(e)&&(this.BOM=s.a,e=e.substr(1));var t=e.charCodeAt(e.length-1);13===t||t>=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}},e.prototype._acceptChunk1=function(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))},e.prototype._acceptChunk2=function(e){var t=function(e,t){e.length=0,e[0]=0;for(var n=1,i=0,o=0,r=0,s=!0,a=0,u=t.length;a<u;a++){var l=t.charCodeAt(a);13===l?a+1<u&&10===t.charCodeAt(a+1)?(r++,e[n++]=a+2,a++):(i++,e[n++]=a+1):10===l?(o++,e[n++]=a+1):s&&9!==l&&(l<32||l>126)&&(s=!1)}var c=new re(oe(e),i,o,r,s);return e.length=0,c}(this._tmpLineStarts,e);this.chunks.push(new le(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=s.g(e))},e.prototype.finish=function(e){return void 0===e&&(e=!0),this._finish(),new fe(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.isBasicASCII,e)},e.prototype._finish=function(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;var e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);var t=se(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}},e}(),ge=function(){this.changeType=1},me=function(e,t){this.changeType=2,this.lineNumber=e,this.detail=t},ve=function(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t},_e=function(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n},ye=function(){this.changeType=5},be=function(){function e(e,t,n,i){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=i}return e.prototype.containsEvent=function(e){for(var t=0,n=this.changes.length;t<n;t++){if(this.changes[t].changeType===e)return!0}return!1},e.merge=function(t,n){return new e([].concat(t.changes).concat(n.changes),n.versionId,t.isUndoing||n.isUndoing,t.isRedoing||n.isRedoing)},e}(),Ce=function(){function e(e,t){this.rawContentChangedEvent=e,this.contentChangedEvent=t}return e.prototype.merge=function(t){var n=be.merge(this.rawContentChangedEvent,t.rawContentChangedEvent),i=e._mergeChangeEvents(this.contentChangedEvent,t.contentChangedEvent);return new e(n,i)},e._mergeChangeEvents=function(e,t){return{changes:[].concat(e.changes).concat(t.changes),eol:t.eol,versionId:t.versionId,isUndoing:e.isUndoing||t.isUndoing,isRedoing:e.isRedoing||t.isRedoing,isFlush:e.isFlush||t.isFlush}},e}(),we=n("6OMU"),Se=n("4bUh"),Le=n("twdY"),Ne=n("i/Ef"),Oe=n("5Y4S"),De=n("QRHv"),xe=n("MNsG"),Ee=(ae=function(e,t){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}ae(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ke=function(){function e(){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0}return e.prototype._reset=function(e){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0,e&&this._setBeginState(0,e)},e.prototype.flush=function(e){this._reset(e)},Object.defineProperty(e.prototype,"invalidLineStartIndex",{get:function(){return this._invalidLineStartIndex},enumerable:!0,configurable:!0}),e.prototype._invalidateLine=function(e){e<this._len&&(this._valid[e]=!1),e<this._invalidLineStartIndex&&(this._invalidLineStartIndex=e)},e.prototype._isValid=function(e){return e<this._len&&this._valid[e]},e.prototype.getBeginState=function(e){return e<this._len?this._beginState[e]:null},e.prototype._ensureLine=function(e){for(;e>=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++},e.prototype._deleteLines=function(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)},e.prototype._insertLines=function(e,t){if(0!==t){for(var n=[],i=[],o=0;o<t;o++)n[o]=null,i[o]=!1;this._beginState=we.a(this._beginState,e,n),this._valid=we.a(this._valid,e,i),this._len+=t}},e.prototype._setValid=function(e,t){this._ensureLine(e),this._valid[e]=t},e.prototype._setBeginState=function(e,t){this._ensureLine(e),this._beginState[e]=t},e.prototype.setEndState=function(e,t,n){if(this._setValid(t,!0),this._invalidLineStartIndex=t+1,t!==e-1){var i=this.getBeginState(t+1);if(null===i||!n.equals(i))return this._setBeginState(t+1,n),void this._invalidateLine(t+1);for(var o=t+1;o<e&&this._isValid(o);)o++;this._invalidLineStartIndex=o}},e.prototype.setFakeTokens=function(e){this._setValid(e,!1)},e.prototype.applyEdits=function(e,t){for(var n=e.endLineNumber-e.startLineNumber,i=t,o=Math.min(n,i);o>=0;o--)this._invalidateLine(e.startLineNumber+o-1);this._acceptDeleteRange(e),this._acceptInsertText(new l.a(e.startLineNumber,e.startColumn),t)},e.prototype._acceptDeleteRange=function(e){e.startLineNumber-1>=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)},e.prototype._acceptInsertText=function(e,t){e.lineNumber-1>=this._len||this._insertLines(e.lineNumber,t)},e}(),Ie=function(e){function t(t){var n=e.call(this)||this;return n._isDisposed=!1,n._textModel=t,n._tokenizationStateStore=new ke,n._tokenizationSupport=null,n._register(Le.y.onDidChange((function(e){var t=n._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(n._resetTokenizationState(),n._textModel.clearTokens())}))),n._register(n._textModel.onDidChangeRawContentFast((function(e){e.containsEvent(1)&&n._resetTokenizationState()}))),n._register(n._textModel.onDidChangeContentFast((function(e){for(var t=0,i=e.changes.length;t<i;t++){var o=e.changes[t],r=Object(De.f)(o.text)[0];n._tokenizationStateStore.applyEdits(o.range,r)}n._beginBackgroundTokenization()}))),n._register(n._textModel.onDidChangeAttached((function(){n._beginBackgroundTokenization()}))),n._register(n._textModel.onDidChangeLanguage((function(){n._resetTokenizationState(),n._textModel.clearTokens()}))),n._resetTokenizationState(),n}return Ee(t,e),t.prototype.dispose=function(){this._isDisposed=!0,e.prototype.dispose.call(this)},t.prototype._resetTokenizationState=function(){var e=function(e){var t=e.getLanguageIdentifier(),n=e.isTooLargeForTokenization()?null:Le.y.get(t.language),o=null;if(n)try{o=n.getInitialState()}catch(e){Object(i.e)(e),n=null}return[n,o]}(this._textModel),t=e[0],n=e[1];this._tokenizationSupport=t,this._tokenizationStateStore.flush(n),this._beginBackgroundTokenization()},t.prototype._beginBackgroundTokenization=function(){var e=this;this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&xe.i((function(){e._isDisposed||e._revalidateTokensNow()}))},t.prototype._revalidateTokensNow=function(e){void 0===e&&(e=this._textModel.getLineCount());for(var t=new De.b,n=Oe.a.create(!1);this._hasLinesToTokenize()&&!(n.elapsed()>1);){if(this._tokenizeOneInvalidLine(t)>=e)break}this._beginBackgroundTokenization(),this._textModel.setTokens(t.tokens)},t.prototype.tokenizeViewport=function(e,t){var n=new De.b;this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.tokens)},t.prototype.reset=function(){this._resetTokenizationState(),this._textModel.clearTokens()},t.prototype.forceTokenization=function(e){var t=new De.b;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)},t.prototype.isCheapToTokenize=function(e){if(!this._tokenizationSupport)return!0;var t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&(e<t||this._textModel.getLineLength(e)<2048)},t.prototype._hasLinesToTokenize=function(){return!!this._tokenizationSupport&&this._tokenizationStateStore.invalidLineStartIndex<this._textModel.getLineCount()},t.prototype._tokenizeOneInvalidLine=function(e){if(!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;var t=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(e,t),t},t.prototype._updateTokensUntilLine=function(e,t){if(this._tokenizationSupport)for(var n=this._textModel.getLanguageIdentifier(),i=this._textModel.getLineCount(),o=t-1,r=this._tokenizationStateStore.invalidLineStartIndex;r<=o;r++){var s=this._textModel.getLineContent(r+1),a=this._tokenizationStateStore.getBeginState(r),u=Me(n,this._tokenizationSupport,s,a);e.add(r+1,u.tokens),this._tokenizationStateStore.setEndState(i,r,u.endState),r=this._tokenizationStateStore.invalidLineStartIndex-1}},t.prototype._tokenizeViewport=function(e,t,n){if(this._tokenizationSupport&&!(n<=this._tokenizationStateStore.invalidLineStartIndex))if(t<=this._tokenizationStateStore.invalidLineStartIndex)this._updateTokensUntilLine(e,n);else{for(var i=this._textModel.getLineFirstNonWhitespaceColumn(t),o=[],r=null,s=t-1;i>0&&s>=1;s--){var a=this._textModel.getLineFirstNonWhitespaceColumn(s);if(0!==a&&a<i){if(r=this._tokenizationStateStore.getBeginState(s-1))break;o.push(this._textModel.getLineContent(s)),i=a}}r||(r=this._tokenizationSupport.getInitialState());var u=this._textModel.getLanguageIdentifier(),l=r;for(s=o.length-1;s>=0;s--){l=(h=Me(u,this._tokenizationSupport,o[s],l)).endState}for(var c=t;c<=n;c++){var d=this._textModel.getLineContent(c),h=Me(u,this._tokenizationSupport,d,l);e.add(c,h.tokens),this._tokenizationStateStore.setFakeTokens(c-1),l=h.endState}}},t}(r.a);function Me(e,t,n,o){var r=null;if(t)try{r=t.tokenize2(n,o.clone(),0)}catch(e){Object(i.e)(e)}return r||(r=Object(Ne.e)(e.id,n,o,0)),Se.a.convertToEndOffset(r.tokens,n.length),r}var Te=n("0JNc"),Ae=n("cMvZ"),Re=n("BFtn"),Pe=n("EIAu"),Fe=n("746U"),Ve=n("zrhQ"),We=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function Be(e){var t=new pe;return t.acceptChunk(e),t.finish()}function je(e,t){return("string"==typeof e?Be(e):e).create(t)}var He=0,ze=function(){throw new Error("Invalid change accessor")},Ue=function(e){function t(n,i,r,u){void 0===u&&(u=null);var l=e.call(this)||this;l._onWillDispose=l._register(new o.a),l.onWillDispose=l._onWillDispose.event,l._onDidChangeDecorations=l._register(new $e),l.onDidChangeDecorations=l._onDidChangeDecorations.event,l._onDidChangeLanguage=l._register(new o.a),l.onDidChangeLanguage=l._onDidChangeLanguage.event,l._onDidChangeLanguageConfiguration=l._register(new o.a),l.onDidChangeLanguageConfiguration=l._onDidChangeLanguageConfiguration.event,l._onDidChangeTokens=l._register(new o.a),l.onDidChangeTokens=l._onDidChangeTokens.event,l._onDidChangeOptions=l._register(new o.a),l.onDidChangeOptions=l._onDidChangeOptions.event,l._onDidChangeAttached=l._register(new o.a),l.onDidChangeAttached=l._onDidChangeAttached.event,l._eventEmitter=l._register(new et),He++,l.id="$model"+He,l.isForSimpleWidget=i.isForSimpleWidget,l._associatedResource=null==u?a.a.parse("inmemory://model/"+He):u,l._attachedEditorCount=0,l._buffer=je(n,i.defaultEOL),l._options=t.resolveOptions(l._buffer,i);var d=l._buffer.getLineCount(),h=l._buffer.getValueLengthInRange(new c.a(1,1,d,l._buffer.getLineLength(d)+1),0);return i.largeFileOptimizations?l._isTooLargeForTokenization=h>t.LARGE_FILE_SIZE_THRESHOLD||d>t.LARGE_FILE_LINE_COUNT_THRESHOLD:l._isTooLargeForTokenization=!1,l._isTooLargeForSyncing=h>t.MODEL_SYNC_LIMIT,l._versionId=1,l._alternativeVersionId=1,l._isDisposed=!1,l._isDisposing=!1,l._languageIdentifier=r||Ne.a,l._languageRegistryListener=Ae.a.onDidChange((function(e){e.languageIdentifier.id===l._languageIdentifier.id&&l._onDidChangeLanguageConfiguration.fire({})})),l._instanceId=s.G(He),l._lastDecorationId=0,l._decorations=Object.create(null),l._decorationsTree=new Ke,l._commandManager=new m(l),l._isUndoing=!1,l._isRedoing=!1,l._trimAutoWhitespaceLines=null,l._tokens=new De.d,l._tokens2=new De.e,l._tokenization=new Ie(l),l}return We(t,e),t.createFromString=function(e,n,i,o){return void 0===n&&(n=t.DEFAULT_CREATION_OPTIONS),void 0===i&&(i=null),void 0===o&&(o=null),new t(e,n,i,o)},t.resolveOptions=function(e,t){if(t.detectIndentation){var n=y(e,t.tabSize,t.insertSpaces);return new h.e({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new h.e({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})},t.prototype.onDidChangeRawContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeRawContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.onDidChangeContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.dispose=function(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,e.prototype.dispose.call(this),this._isDisposing=!1},t.prototype._assertNotDisposed=function(){if(this._isDisposed)throw new Error("Model is disposed!")},t.prototype._emitContentChangedEvent=function(e,t){this._isDisposing||this._eventEmitter.fire(new Ce(e,t))},t.prototype.setValue=function(e){if(this._assertNotDisposed(),null!==e){var t=je(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}},t.prototype._createContentChanged2=function(e,t,n,i,o,r,s){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:s}},t.prototype.setValueFromTextBuffer=function(e){if(this._assertNotDisposed(),null!==e){var t=this.getFullModelRange(),n=this.getValueLengthInRange(t),i=this.getLineCount(),o=this.getLineMaxColumn(i);this._buffer=e,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Ke,this._commandManager=new m(this),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new be([new ge],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,i,o),0,n,this.getValue(),!1,!1,!0))}},t.prototype.setEOL=function(e){this._assertNotDisposed();var t=1===e?"\r\n":"\n";if(this._buffer.getEOL()!==t){var n=this.getFullModelRange(),i=this.getValueLengthInRange(n),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new be([new ye],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,o,r),0,i,this.getValue(),!1,!1,!1))}},t.prototype._onBeforeEOLChange=function(){var e=this.getVersionId(),t=this._decorationsTree.search(0,!1,!1,e);this._ensureNodesHaveRanges(t)},t.prototype._onAfterEOLChange=function(){for(var e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder(),n=0,i=t.length;n<i;n++){var o=t[n],r=o.cachedAbsoluteStart-o.start,s=this._buffer.getOffsetAt(o.range.startLineNumber,o.range.startColumn),a=this._buffer.getOffsetAt(o.range.endLineNumber,o.range.endColumn);o.cachedAbsoluteStart=s,o.cachedAbsoluteEnd=a,o.cachedVersionId=e,o.start=s-r,o.end=a-r,j(o)}},t.prototype.onBeforeAttached=function(){this._attachedEditorCount++,1===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)},t.prototype.onBeforeDetached=function(){this._attachedEditorCount--,0===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)},t.prototype.isAttachedToEditor=function(){return this._attachedEditorCount>0},t.prototype.getAttachedEditorCount=function(){return this._attachedEditorCount},t.prototype.isTooLargeForSyncing=function(){return this._isTooLargeForSyncing},t.prototype.isTooLargeForTokenization=function(){return this._isTooLargeForTokenization},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.isDominatedByLongLines=function(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;for(var e=0,t=0,n=this._buffer.getLineCount(),i=1;i<=n;i++){var o=this._buffer.getLineLength(i);o>=1e4?t+=o:e+=o}return t>e},Object.defineProperty(t.prototype,"uri",{get:function(){return this._associatedResource},enumerable:!0,configurable:!0}),t.prototype.getOptions=function(){return this._assertNotDisposed(),this._options},t.prototype.getFormattingOptions=function(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}},t.prototype.updateOptions=function(e){this._assertNotDisposed();var t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,n=void 0!==e.indentSize?e.indentSize:this._options.indentSize,i=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,o=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=new h.e({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o});if(!this._options.equals(r)){var s=this._options.createChangeEvent(r);this._options=r,this._onDidChangeOptions.fire(s)}},t.prototype.detectIndentation=function(e,t){this._assertNotDisposed();var n=y(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})},t._normalizeIndentationFromWhitespace=function(e,t,n){for(var i=0,o=0;o<e.length;o++)"\t"===e.charAt(o)?i+=t:i++;var r="";if(!n){var s=Math.floor(i/t);i%=t;for(o=0;o<s;o++)r+="\t"}for(o=0;o<i;o++)r+=" ";return r},t.normalizeIndentation=function(e,n,i){var o=s.o(e);return-1===o&&(o=e.length),t._normalizeIndentationFromWhitespace(e.substring(0,o),n,i)+e.substring(o)},t.prototype.normalizeIndentation=function(e){return this._assertNotDisposed(),t.normalizeIndentation(e,this._options.indentSize,this._options.insertSpaces)},t.prototype.getVersionId=function(){return this._assertNotDisposed(),this._versionId},t.prototype.mightContainRTL=function(){return this._buffer.mightContainRTL()},t.prototype.mightContainNonBasicASCII=function(){return this._buffer.mightContainNonBasicASCII()},t.prototype.getAlternativeVersionId=function(){return this._assertNotDisposed(),this._alternativeVersionId},t.prototype.getOffsetAt=function(e){this._assertNotDisposed();var t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)},t.prototype.getPositionAt=function(e){this._assertNotDisposed();var t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)},t.prototype._increaseVersionId=function(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId},t.prototype._overwriteAlternativeVersionId=function(e){this._alternativeVersionId=e},t.prototype.getValue=function(e,t){void 0===t&&(t=!1),this._assertNotDisposed();var n=this.getFullModelRange(),i=this.getValueInRange(n,e);return t?this._buffer.getBOM()+i:i},t.prototype.getValueLength=function(e,t){void 0===t&&(t=!1),this._assertNotDisposed();var n=this.getFullModelRange(),i=this.getValueLengthInRange(n,e);return t?this._buffer.getBOM().length+i:i},t.prototype.getValueInRange=function(e,t){return void 0===t&&(t=0),this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)},t.prototype.getValueLengthInRange=function(e,t){return void 0===t&&(t=0),this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)},t.prototype.getCharacterCountInRange=function(e,t){return void 0===t&&(t=0),this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)},t.prototype.getLineCount=function(){return this._assertNotDisposed(),this._buffer.getLineCount()},t.prototype.getLineContent=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)},t.prototype.getLineLength=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)},t.prototype.getLinesContent=function(){return this._assertNotDisposed(),this._buffer.getLinesContent()},t.prototype.getEOL=function(){return this._assertNotDisposed(),this._buffer.getEOL()},t.prototype.getLineMinColumn=function(e){return this._assertNotDisposed(),1},t.prototype.getLineMaxColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1},t.prototype.getLineFirstNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)},t.prototype.getLineLastNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)},t.prototype._validateRangeRelaxedNoAllocations=function(e){var t,n,i=this._buffer.getLineCount(),o=e.startLineNumber,r=e.startColumn;if(o<1)t=1,n=1;else if(o>i)t=i,n=this.getLineMaxColumn(t);else{if(t=0|o,r<=1)n=1;else n=r>=(h=this.getLineMaxColumn(t))?h:0|r}var s,a,u=e.endLineNumber,l=e.endColumn;if(u<1)s=1,a=1;else if(u>i)s=i,a=this.getLineMaxColumn(s);else{var h;if(s=0|u,l<=1)a=1;else a=l>=(h=this.getLineMaxColumn(s))?h:0|l}return o===t&&r===n&&u===s&&l===a&&e instanceof c.a&&!(e instanceof d.a)?e:new c.a(t,n,s,a)},t.prototype._isValidPosition=function(e,t,n){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;if(e>this._buffer.getLineCount())return!1;if(1===t)return!0;if(t>this.getLineMaxColumn(e))return!1;if(1===n){var i=this._buffer.getLineCharCode(e,t-2);if(s.x(i))return!1}return!0},t.prototype._validatePosition=function(e,t,n){var i=Math.floor("number"!=typeof e||isNaN(e)?1:e),o=Math.floor("number"!=typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(i<1)return new l.a(1,1);if(i>r)return new l.a(r,this.getLineMaxColumn(r));if(o<=1)return new l.a(i,1);var a=this.getLineMaxColumn(i);if(o>=a)return new l.a(i,a);if(1===n){var u=this._buffer.getLineCharCode(i,o-2);if(s.x(u))return new l.a(i,o-1)}return new l.a(i,o)},t.prototype.validatePosition=function(e){return this._assertNotDisposed(),e instanceof l.a&&this._isValidPosition(e.lineNumber,e.column,1)?e:this._validatePosition(e.lineNumber,e.column,1)},t.prototype._isValidRange=function(e,t){var n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(n,i,0))return!1;if(!this._isValidPosition(o,r,0))return!1;if(1===t){var a=i>1?this._buffer.getLineCharCode(n,i-2):0,u=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,l=s.x(a),c=s.x(u);return!l&&!c}return!0},t.prototype.validateRange=function(e){if(this._assertNotDisposed(),e instanceof c.a&&!(e instanceof d.a)&&this._isValidRange(e,1))return e;var t=this._validatePosition(e.startLineNumber,e.startColumn,0),n=this._validatePosition(e.endLineNumber,e.endColumn,0),i=t.lineNumber,o=t.column,r=n.lineNumber,a=n.column,u=o>1?this._buffer.getLineCharCode(i,o-2):0,l=a>1&&a<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,a-2):0,h=s.x(u),f=s.x(l);return h||f?i===r&&o===a?new c.a(i,o-1,r,a-1):h&&f?new c.a(i,o-1,r,a+1):h?new c.a(i,o-1,r,a):new c.a(i,o,r,a+1):new c.a(i,o,r,a)},t.prototype.modifyPosition=function(e,t){this._assertNotDisposed();var n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))},t.prototype.getFullModelRange=function(){this._assertNotDisposed();var e=this.getLineCount();return new c.a(1,1,e,this.getLineMaxColumn(e))},t.prototype.findMatchesLineByLine=function(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)},t.prototype.findMatches=function(e,t,n,i,o,r,s){var a;if(void 0===s&&(s=999),this._assertNotDisposed(),a=c.a.isIRange(t)?this.validateRange(t):this.getFullModelRange(),!n&&e.indexOf("\n")<0){var u=new ie.a(e,n,i,o).parseSearchRequest();return u?this.findMatchesLineByLine(a,u,r,s):[]}return ie.c.findMatches(this,new ie.a(e,n,i,o),a,r,s)},t.prototype.findNextMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){var a=new ie.a(e,n,i,o).parseSearchRequest();if(!a)return null;var u=this.getLineCount(),l=new c.a(s.lineNumber,s.column,u,this.getLineMaxColumn(u)),d=this.findMatchesLineByLine(l,a,r,1);return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r),d.length>0?d[0]:(l=new c.a(1,1,s.lineNumber,this.getLineMaxColumn(s.lineNumber)),(d=this.findMatchesLineByLine(l,a,r,1)).length>0?d[0]:null)}return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.findPreviousMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);return ie.c.findPreviousMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.pushStackElement=function(){this._commandManager.pushStackElement()},t.prototype.pushEOL=function(e){if(("\n"===this.getEOL()?0:1)!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.pushEditOperations=function(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,t,n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._pushEditOperations=function(e,t,n){var i=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){for(var o=t.map((function(e){return{range:i.validateRange(e.range),text:e.text}})),r=!0,s=0,a=e.length;s<a;s++){for(var u=e[s],l=!1,d=0,h=o.length;d<h;d++){var f=(_=o[d].range).startLineNumber>u.endLineNumber,p=u.startLineNumber>_.endLineNumber;if(!f&&!p){l=!0;break}}if(!l){r=!1;break}}if(r)for(s=0,a=this._trimAutoWhitespaceLines.length;s<a;s++){var g=this._trimAutoWhitespaceLines[s],m=this.getLineMaxColumn(g),v=!0;for(d=0,h=o.length;d<h;d++){var _=o[d].range,y=o[d].text;if(!(g<_.startLineNumber||g>_.endLineNumber)&&!(g===_.startLineNumber&&_.startColumn===m&&_.isEmpty()&&y&&y.length>0&&"\n"===y.charAt(0)||g===_.startLineNumber&&1===_.startColumn&&_.isEmpty()&&y&&y.length>0&&"\n"===y.charAt(y.length-1))){v=!1;break}}v&&t.push({range:new c.a(g,1,g,m),text:null})}this._trimAutoWhitespaceLines=null}return this._commandManager.pushEditOperation(e,t,n)},t.prototype.applyEdits=function(e){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._applyEdits(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._applyEdits=function(e){for(var t=0,n=e.length;t<n;t++)e[t].range=this.validateRange(e[t].range);var i=this._buffer.getLineCount(),o=this._buffer.applyEdits(e,this._options.trimAutoWhitespace),r=this._buffer.getLineCount(),s=o.changes;if(this._trimAutoWhitespaceLines=o.trimAutoWhitespaceLineNumbers,0!==s.length){var a=[],u=i;for(t=0,n=s.length;t<n;t++){var l=s[t],c=Object(De.f)(l.text),d=c[0],h=c[1],f=c[2];this._tokens.acceptEdit(l.range,d,h),this._tokens2.acceptEdit(l.range,d,h,f,l.text.length>0?l.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(l.rangeOffset,l.rangeLength,l.text.length,l.forceMoveMarkers);for(var p=l.range.startLineNumber,g=l.range.endLineNumber,m=g-p,v=d,_=Math.min(m,v),y=v-m,b=_;b>=0;b--){var C=p+b,w=r-u-y+C;a.push(new me(C,this.getLineContent(w)))}if(_<m){var S=p+_;a.push(new ve(S+1,g))}if(_<v){for(var L=p+_,N=v-_,O=r-u-N+L+1,D=[],x=0;x<N;x++){var E=O+x;D[E-O]=this.getLineContent(E)}a.push(new _e(L+1,p+v,D))}u+=y}this._increaseVersionId(),this._emitContentChangedEvent(new be(a,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:s,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return o.reverseEdits},t.prototype._undo=function(){this._isUndoing=!0;var e=this._commandManager.undo();return this._isUndoing=!1,e?(this._overwriteAlternativeVersionId(e.recordedVersionId),e.selections):null},t.prototype.undo=function(){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._undo()}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.canUndo=function(){return this._commandManager.canUndo()},t.prototype._redo=function(){this._isRedoing=!0;var e=this._commandManager.redo();return this._isRedoing=!1,e?(this._overwriteAlternativeVersionId(e.recordedVersionId),e.selections):null},t.prototype.redo=function(){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._redo()}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.canRedo=function(){return this._commandManager.canRedo()},t.prototype.changeDecorations=function(e,t){void 0===t&&(t=0),this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._changeDecorations=function(e,t){var n=this,o={addDecoration:function(t,i){return n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,[],[{range:t,options:i}])[0]},changeDecoration:function(e,t){n._onDidChangeDecorations.fire(),n._changeDecorationImpl(e,t)},changeDecorationOptions:function(e,t){n._onDidChangeDecorations.fire(),n._changeDecorationOptionsImpl(e,Qe(t))},removeDecoration:function(t){n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,[t],[])},deltaDecorations:function(t,i){return 0===t.length&&0===i.length?[]:(n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,t,i))}},r=null;try{r=t(o)}catch(e){Object(i.e)(e)}return o.addDecoration=ze,o.changeDecoration=ze,o.changeDecorationOptions=ze,o.removeDecoration=ze,o.deltaDecorations=ze,r},t.prototype.deltaDecorations=function(e,t,n){if(void 0===n&&(n=0),this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._deltaDecorationsImpl(n,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._getTrackedRange=function(e){return this.getDecorationRange(e)},t.prototype._setTrackedRange=function(e,t,n){var i=e?this._decorations[e]:null;if(!i)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:Je[n]}])[0]:null;if(!t)return this._decorationsTree.delete(i),delete this._decorations[i.id],null;var o=this._validateRangeRelaxedNoAllocations(t),r=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),s=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);return this._decorationsTree.delete(i),i.reset(this.getVersionId(),r,s,o),i.setOptions(Je[n]),this._decorationsTree.insert(i),i.id},t.prototype.removeAllDecorationsWithOwnerId=function(e){if(!this._isDisposed)for(var t=this._decorationsTree.collectNodesFromOwner(e),n=0,i=t.length;n<i;n++){var o=t[n];this._decorationsTree.delete(o),delete this._decorations[o.id]}},t.prototype.getDecorationOptions=function(e){var t=this._decorations[e];return t?t.options:null},t.prototype.getDecorationRange=function(e){var t=this._decorations[e];if(!t)return null;var n=this.getVersionId();return t.cachedVersionId!==n&&this._decorationsTree.resolveNode(t,n),null===t.range&&(t.range=this._getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range},t.prototype.getLineDecorations=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=!1),e<1||e>this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)},t.prototype.getLinesDecorations=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=this.getLineCount(),r=Math.min(o,Math.max(1,e)),s=Math.min(o,Math.max(1,t)),a=this.getLineMaxColumn(s);return this._getDecorationsInRange(new c.a(r,1,s,a),n,i)},t.prototype.getDecorationsInRange=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1);var i=this.validateRange(e);return this._getDecorationsInRange(i,t,n)},t.prototype.getOverviewRulerDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(i)},t.prototype.getAllDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(i)},t.prototype._getDecorationsInRange=function(e,t,n){var i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),r=this.getVersionId(),s=this._decorationsTree.intervalSearch(i,o,t,n,r);return this._ensureNodesHaveRanges(s)},t.prototype._ensureNodesHaveRanges=function(e){for(var t=0,n=e.length;t<n;t++){var i=e[t];null===i.range&&(i.range=this._getRangeAt(i.cachedAbsoluteStart,i.cachedAbsoluteEnd))}return e},t.prototype._getRangeAt=function(e,t){return this._buffer.getRangeAt(e,t-e)},t.prototype._changeDecorationImpl=function(e,t){var n=this._decorations[e];if(n){var i=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(i.startLineNumber,i.startColumn),r=this._buffer.getOffsetAt(i.endLineNumber,i.endColumn);this._decorationsTree.delete(n),n.reset(this.getVersionId(),o,r,i),this._decorationsTree.insert(n)}},t.prototype._changeDecorationOptionsImpl=function(e,t){var n=this._decorations[e];n&&(!(!n.options.overviewRuler||!n.options.overviewRuler.color)!==!(!t.overviewRuler||!t.overviewRuler.color)?(this._decorationsTree.delete(n),n.setOptions(t),this._decorationsTree.insert(n)):n.setOptions(t))},t.prototype._deltaDecorationsImpl=function(e,t,n){for(var i=this.getVersionId(),o=t.length,r=0,s=n.length,a=0,u=new Array(s);r<o||a<s;){var l=null;if(r<o){do{l=this._decorations[t[r++]]}while(!l&&r<o);l&&this._decorationsTree.delete(l)}if(a<s){if(!l){var c=++this._lastDecorationId,d=this._instanceId+";"+c;l=new k(d,0,0),this._decorations[d]=l}var h=n[a],f=this._validateRangeRelaxedNoAllocations(h.range),p=Qe(h.options),g=this._buffer.getOffsetAt(f.startLineNumber,f.startColumn),m=this._buffer.getOffsetAt(f.endLineNumber,f.endColumn);l.ownerId=e,l.reset(i,g,m,f),l.setOptions(p),this._decorationsTree.insert(l),u[a]=l.id,a++}else l&&delete this._decorations[l.id]}return u},t.prototype.setLineTokens=function(e,t){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokens.setTokens(this._languageIdentifier.id,e-1,this._buffer.getLineLength(e),t)},t.prototype.setTokens=function(e){if(0!==e.length){for(var t=[],n=0,i=e.length;n<i;n++){var o=e[n];t.push({fromLineNumber:o.startLineNumber,toLineNumber:o.startLineNumber+o.tokens.length-1});for(var r=0,s=o.tokens.length;r<s;r++)this.setLineTokens(o.startLineNumber+r,o.tokens[r])}this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,ranges:t})}},t.prototype.setSemanticTokens=function(e){this._tokens2.set(e),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})},t.prototype.tokenizeViewport=function(e,t){e=Math.max(1,e),t=Math.min(this._buffer.getLineCount(),t),this._tokenization.tokenizeViewport(e,t)},t.prototype.clearTokens=function(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,ranges:[{fromLineNumber:1,toLineNumber:this._buffer.getLineCount()}]})},t.prototype._emitModelTokensChangedEvent=function(e){this._isDisposing||this._onDidChangeTokens.fire(e)},t.prototype.resetTokenization=function(){this._tokenization.reset()},t.prototype.forceTokenization=function(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)},t.prototype.isCheapToTokenize=function(e){return this._tokenization.isCheapToTokenize(e)},t.prototype.tokenizeIfCheap=function(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)},t.prototype.getLineTokens=function(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)},t.prototype._getLineTokens=function(e){var t=this.getLineContent(e),n=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,n)},t.prototype.getLanguageIdentifier=function(){return this._languageIdentifier},t.prototype.getModeId=function(){return this._languageIdentifier.language},t.prototype.setMode=function(e){if(this._languageIdentifier.id!==e.id){var t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language};this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}},t.prototype.getLanguageIdAtPosition=function(e,t){var n=this.validatePosition(new l.a(e,t)),i=this.getLineTokens(n.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(n.column-1))},t.prototype.getWordAtPosition=function(e){this._assertNotDisposed();var n=this.validatePosition(e),i=this.getLineContent(n.lineNumber),o=this._getLineTokens(n.lineNumber),r=o.findTokenIndexAtOffset(n.column-1),s=t._findLanguageBoundaries(o,r),a=s[0],u=s[1],l=Object(Te.d)(n.column,Ae.a.getWordDefinition(o.getLanguageId(r)),i.substring(a,u),a);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l;if(r>0&&a===n.column-1){var c=t._findLanguageBoundaries(o,r-1),d=c[0],h=c[1],f=Object(Te.d)(n.column,Ae.a.getWordDefinition(o.getLanguageId(r-1)),i.substring(d,h),d);if(f&&f.startColumn<=e.column&&e.column<=f.endColumn)return f}return null},t._findLanguageBoundaries=function(e,t){for(var n=e.getLanguageId(t),i=0,o=t;o>=0&&e.getLanguageId(o)===n;o--)i=e.getStartOffset(o);for(var r=e.getLineContent().length,s=(o=t,e.getCount());o<s&&e.getLanguageId(o)===n;o++)r=e.getEndOffset(o);return[i,r]},t.prototype.getWordUntilPosition=function(e){var t=this.getWordAtPosition(e);return t?{word:t.word.substr(0,e.column-t.startColumn),startColumn:t.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}},t.prototype.findMatchingBracketUp=function(e,t){var n=e.toLowerCase(),i=this.validatePosition(t),o=this._getLineTokens(i.lineNumber),r=o.getLanguageId(o.findTokenIndexAtOffset(i.column-1)),s=Ae.a.getBracketsSupport(r);if(!s)return null;var a=s.textIsBracket[n];return a?this._findMatchingBracketUp(a,i):null},t.prototype.matchBracket=function(e){return this._matchBracket(this.validatePosition(e))},t.prototype._matchBracket=function(e){var t=e.lineNumber,n=this._getLineTokens(t),i=n.getCount(),o=this._buffer.getLineContent(t),r=n.findTokenIndexAtOffset(e.column-1);if(r<0)return null;var s=Ae.a.getBracketsSupport(n.getLanguageId(r));if(s&&!Object(Re.b)(n.getStandardTokenType(r))){for(var a=Math.max(0,e.column-1-s.maxBracketLength),u=r-1;u>=0;u--){var l=n.getEndOffset(u);if(l<=a)break;Object(Re.b)(n.getStandardTokenType(u))&&(a=l)}for(var c=Math.min(o.length,e.column-1+s.maxBracketLength),d=null;;){if(!(m=Pe.a.findNextBracketInRange(s.forwardRegex,t,o,a,c)))break;if(m.startColumn<=e.column&&e.column<=m.endColumn){var h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();(v=this._matchFoundBracket(m,s.textIsBracket[h],s.textIsOpenBracket[h]))&&(d=v)}a=m.endColumn-1}if(d)return d}if(r>0&&n.getStartOffset(r)===e.column-1){var f=r-1,p=Ae.a.getBracketsSupport(n.getLanguageId(f));if(p&&!Object(Re.b)(n.getStandardTokenType(f))){for(a=Math.max(0,e.column-1-p.maxBracketLength),c=Math.min(o.length,e.column-1+p.maxBracketLength),u=f+1;u<i;u++){var g=n.getStartOffset(u);if(g>=c)break;Object(Re.b)(n.getStandardTokenType(u))&&(c=g)}var m;if((m=Pe.a.findPrevBracketInRange(p.reversedRegex,t,o,a,c))&&m.startColumn<=e.column&&e.column<=m.endColumn){var v;h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();if(v=this._matchFoundBracket(m,p.textIsBracket[h],p.textIsOpenBracket[h]))return v}}}return null},t.prototype._matchFoundBracket=function(e,t,n){if(!t)return null;var i;if(n){if(i=this._findMatchingBracketDown(t,e.getEndPosition()))return[e,i]}else if(i=this._findMatchingBracketUp(t,e.getStartPosition()))return[e,i];return null},t.prototype._findMatchingBracketUp=function(e,t){for(var n=e.languageIdentifier.id,i=e.reversedRegex,o=-1,r=function(t,n,r,s){for(;;){var a=Pe.a.findPrevBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;s=a.startColumn-1}return null},s=t.lineNumber;s>=1;s--){var a=this._getLineTokens(s),u=a.getCount(),l=this._buffer.getLineContent(s),c=u-1,d=l.length,h=l.length;s===t.lineNumber&&(c=a.findTokenIndexAtOffset(t.column-1),d=t.column-1,h=t.column-1);for(var f=!0;c>=0;c--){var p,g=a.getLanguageId(c)===n&&!Object(Re.b)(a.getStandardTokenType(c));if(g)f?d=a.getStartOffset(c):(d=a.getStartOffset(c),h=a.getEndOffset(c));else if(f&&d!==h)if(p=r(s,l,d,h))return p;f=g}if(f&&d!==h)if(p=r(s,l,d,h))return p}return null},t.prototype._findMatchingBracketDown=function(e,t){for(var n=e.languageIdentifier.id,i=e.forwardRegex,o=1,r=function(t,n,r,s){for(;;){var a=Pe.a.findNextBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;r=a.endColumn-1}return null},s=this.getLineCount(),a=t.lineNumber;a<=s;a++){var u=this._getLineTokens(a),l=u.getCount(),c=this._buffer.getLineContent(a),d=0,h=0,f=0;a===t.lineNumber&&(d=u.findTokenIndexAtOffset(t.column-1),h=t.column-1,f=t.column-1);for(var p=!0;d<l;d++){var g,m=u.getLanguageId(d)===n&&!Object(Re.b)(u.getStandardTokenType(d));if(m)p||(h=u.getStartOffset(d)),f=u.getEndOffset(d);else if(p&&h!==f)if(g=r(a,c,h,f))return g;p=m}if(p&&h!==f)if(g=r(a,c,h,f))return g}return null},t.prototype.findPrevBracket=function(e){for(var t=this.validatePosition(e),n=-1,i=null,o=t.lineNumber;o>=1;o--){var r=this._getLineTokens(o),s=r.getCount(),a=this._buffer.getLineContent(o),u=s-1,l=a.length,c=a.length;if(o===t.lineNumber)u=r.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1,n!==(h=r.getLanguageId(u))&&(n=h,i=Ae.a.getBracketsSupport(n));for(var d=!0;u>=0;u--){var h;if(n!==(h=r.getLanguageId(u))){if(i&&d&&l!==c){if(f=Pe.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,f);d=!1}n=h,i=Ae.a.getBracketsSupport(n)}var f,p=!!i&&!Object(Re.b)(r.getStandardTokenType(u));if(p)d?l=r.getStartOffset(u):(l=r.getStartOffset(u),c=r.getEndOffset(u));else if(i&&d&&l!==c)if(f=Pe.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,f);d=p}if(i&&d&&l!==c)if(f=Pe.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,f)}return null},t.prototype.findNextBracket=function(e){for(var t=this.validatePosition(e),n=this.getLineCount(),i=-1,o=null,r=t.lineNumber;r<=n;r++){var s=this._getLineTokens(r),a=s.getCount(),u=this._buffer.getLineContent(r),l=0,c=0,d=0;if(r===t.lineNumber)l=s.findTokenIndexAtOffset(t.column-1),c=t.column-1,d=t.column-1,i!==(f=s.getLanguageId(l))&&(i=f,o=Ae.a.getBracketsSupport(i));for(var h=!0;l<a;l++){var f;if(i!==(f=s.getLanguageId(l))){if(o&&h&&c!==d){if(p=Pe.a.findNextBracketInRange(o.forwardRegex,r,u,c,d))return this._toFoundBracket(o,p);h=!1}i=f,o=Ae.a.getBracketsSupport(i)}var p,g=!!o&&!Object(Re.b)(s.getStandardTokenType(l));if(g)h||(c=s.getStartOffset(l)),d=s.getEndOffset(l);else if(o&&h&&c!==d)if(p=Pe.a.findNextBracketInRange(o.forwardRegex,r,u,c,d))return this._toFoundBracket(o,p);h=g}if(o&&h&&c!==d)if(p=Pe.a.findNextBracketInRange(o.forwardRegex,r,u,c,d))return this._toFoundBracket(o,p)}return null},t.prototype.findEnclosingBrackets=function(e,t){var n=this;void 0===t&&(t=1073741824);for(var i=this.validatePosition(e),o=this.getLineCount(),r=new Map,s=[],a=function(e,t){if(!r.has(e)){for(var n=[],i=0,o=t?t.brackets.length:0;i<o;i++)n[i]=0;r.set(e,n)}s=r.get(e)},u=function(e,t,i,o,r){for(;;){var a=Pe.a.findNextBracketInRange(e.forwardRegex,t,i,o,r);if(!a)break;var u=i.substring(a.startColumn-1,a.endColumn-1).toLowerCase(),l=e.textIsBracket[u];if(l&&(l.isOpen(u)?s[l.index]++:l.isClose(u)&&s[l.index]--,-1===s[l.index]))return n._matchFoundBracket(a,l,!1);o=a.endColumn-1}return null},l=-1,c=null,d=Date.now(),h=i.lineNumber;h<=o;h++){if(Date.now()-d>t)return null;var f=this._getLineTokens(h),p=f.getCount(),g=this._buffer.getLineContent(h),m=0,v=0,_=0;if(h===i.lineNumber)m=f.findTokenIndexAtOffset(i.column-1),v=i.column-1,_=i.column-1,l!==(b=f.getLanguageId(m))&&a(l=b,c=Ae.a.getBracketsSupport(l));for(var y=!0;m<p;m++){var b;if(l!==(b=f.getLanguageId(m))){if(c&&y&&v!==_){if(C=u(c,h,g,v,_))return C;y=!1}a(l=b,c=Ae.a.getBracketsSupport(l))}var C,w=!!c&&!Object(Re.b)(f.getStandardTokenType(m));if(w)y||(v=f.getStartOffset(m)),_=f.getEndOffset(m);else if(c&&y&&v!==_)if(C=u(c,h,g,v,_))return C;y=w}if(c&&y&&v!==_)if(C=u(c,h,g,v,_))return C}return null},t.prototype._toFoundBracket=function(e,t){if(!t)return null;var n=this.getValueInRange(t);n=n.toLowerCase();var i=e.textIsBracket[n];return i?{range:t,open:i.open,close:i.close,isOpen:e.textIsOpenBracket[n]}:null},t.computeIndentLevel=function(e,t){for(var n=0,i=0,o=e.length;i<o;){var r=e.charCodeAt(i);if(32===r)n++;else{if(9!==r)break;n=n-n%t+t}i++}return i===o?-1:n},t.prototype._computeIndentLevel=function(e){return t.computeIndentLevel(this._buffer.getLineContent(e+1),this._options.tabSize)},t.prototype.getActiveIndentGuide=function(e,t,n){var i=this;this._assertNotDisposed();var o=this.getLineCount();if(e<1||e>o)throw new Error("Illegal value for lineNumber");for(var r=Ae.a.getFoldingRules(this._languageIdentifier.id),s=Boolean(r&&r.offSide),a=-2,u=-1,l=-2,c=-1,d=function(e){if(-1!==a&&(-2===a||a>e-1)){a=-1,u=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){a=t,u=n;break}}}if(-2===l){l=-1,c=-1;for(t=e;t<o;t++){var r=i._computeIndentLevel(t);if(r>=0){l=t,c=r;break}}}},h=-2,f=-1,p=-2,g=-1,m=function(e){if(-2===h){h=-1,f=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){h=t,f=n;break}}}if(-1!==p&&(-2===p||p<e-1)){p=-1,g=-1;for(t=e;t<o;t++){var r=i._computeIndentLevel(t);if(r>=0){p=t,g=r;break}}}},v=0,_=!0,y=0,b=!0,C=0,w=0;_||b;w++){var S=e-w,L=e+w;if(0!==w&&(S<1||S<t)&&(_=!1),0!==w&&(L>o||L>n)&&(b=!1),w>5e4&&(_=!1,b=!1),_){var N=void 0;if((O=this._computeIndentLevel(S-1))>=0?(l=S-1,c=O,N=Math.ceil(O/this._options.indentSize)):(d(S),N=this._getIndentLevelForWhitespaceLine(s,u,c)),0===w){if(v=S,y=L,0===(C=N))return{startLineNumber:v,endLineNumber:y,indent:C};continue}N>=C?v=S:_=!1}if(b){var O,D=void 0;(O=this._computeIndentLevel(L-1))>=0?(h=L-1,f=O,D=Math.ceil(O/this._options.indentSize)):(m(L),D=this._getIndentLevelForWhitespaceLine(s,f,g)),D>=C?y=L:b=!1}}return{startLineNumber:v,endLineNumber:y,indent:C}},t.prototype.getLinesIndentGuides=function(e,t){this._assertNotDisposed();var n=this.getLineCount();if(e<1||e>n)throw new Error("Illegal value for startLineNumber");if(t<1||t>n)throw new Error("Illegal value for endLineNumber");for(var i=Ae.a.getFoldingRules(this._languageIdentifier.id),o=Boolean(i&&i.offSide),r=new Array(t-e+1),s=-2,a=-1,u=-2,l=-1,c=e;c<=t;c++){var d=c-e,h=this._computeIndentLevel(c-1);if(h>=0)s=c-1,a=h,r[d]=Math.ceil(h/this._options.indentSize);else{if(-2===s){s=-1,a=-1;for(var f=c-2;f>=0;f--){if((p=this._computeIndentLevel(f))>=0){s=f,a=p;break}}}if(-1!==u&&(-2===u||u<c-1)){u=-1,l=-1;for(f=c;f<n;f++){var p;if((p=this._computeIndentLevel(f))>=0){u=f,l=p;break}}}r[d]=this._getIndentLevelForWhitespaceLine(o,a,l)}}return r},t.prototype._getIndentLevelForWhitespaceLine=function(e,t,n){return-1===t||-1===n?0:t<n?1+Math.floor(t/this._options.indentSize):t===n||e?Math.ceil(n/this._options.indentSize):1+Math.floor(n/this._options.indentSize)},t.MODEL_SYNC_LIMIT=52428800,t.LARGE_FILE_SIZE_THRESHOLD=20971520,t.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,t.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:u.c.tabSize,indentSize:u.c.indentSize,insertSpaces:u.c.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:u.c.trimAutoWhitespace,largeFileOptimizations:u.c.largeFileOptimizations},t}(r.a),Ke=function(){function e(){this._decorationsTree0=new M,this._decorationsTree1=new M}return e.prototype.intervalSearch=function(e,t,n,i,o){var r=this._decorationsTree0.intervalSearch(e,t,n,i,o),s=this._decorationsTree1.intervalSearch(e,t,n,i,o);return r.concat(s)},e.prototype.search=function(e,t,n,i){if(n)return this._decorationsTree1.search(e,t,i);var o=this._decorationsTree0.search(e,t,i),r=this._decorationsTree1.search(e,t,i);return o.concat(r)},e.prototype.collectNodesFromOwner=function(e){var t=this._decorationsTree0.collectNodesFromOwner(e),n=this._decorationsTree1.collectNodesFromOwner(e);return t.concat(n)},e.prototype.collectNodesPostOrder=function(){var e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder();return e.concat(t)},e.prototype.insert=function(e){O(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)},e.prototype.delete=function(e){O(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)},e.prototype.resolveNode=function(e,t){O(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)},e.prototype.acceptReplace=function(e,t,n,i){this._decorationsTree0.acceptReplace(e,t,n,i),this._decorationsTree1.acceptReplace(e,t,n,i)},e}();function qe(e){return e.replace(/[^a-z0-9\-_]/gi," ")}var Ge=function(e){this.color=e.color||"",this.darkColor=e.darkColor||""},Ye=function(e){function t(t){var n=e.call(this,t)||this;return n._resolvedColor=null,n.position="number"==typeof t.position?t.position:h.d.Center,n}return We(t,e),t.prototype.getColor=function(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor},t.prototype.invalidateCachedColor=function(){this._resolvedColor=null},t.prototype._resolveColor=function(e,t){if("string"==typeof e)return e;var n=e?t.getColor(e.id):null;return n?n.toString():""},t}(Ge),Ze=function(e){function t(t){var n=e.call(this,t)||this;return n.position=t.position,n}return We(t,e),t.prototype.getColor=function(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor},t.prototype.invalidateCachedColor=function(){this._resolvedColor=void 0},t.prototype._resolveColor=function(e,t){return"string"==typeof e?Ve.a.fromHex(e):t.getColor(e.id)},t}(Ge),Xe=function(){function e(e){this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?qe(e.className):null,this.hoverMessage=Object(Fe.o)(e.hoverMessage),this.glyphMarginHoverMessage=Object(Fe.o)(e.glyphMarginHoverMessage),this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new Ye(e.overviewRuler):null,this.minimap=e.minimap?new Ze(e.minimap):null,this.glyphMarginClassName=e.glyphMarginClassName?qe(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?qe(e.linesDecorationsClassName):null,this.marginClassName=e.marginClassName?qe(e.marginClassName):null,this.inlineClassName=e.inlineClassName?qe(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?qe(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?qe(e.afterContentClassName):null}return e.register=function(t){return new e(t)},e.createDynamic=function(t){return new e(t)},e}();Xe.EMPTY=Xe.register({});var Je=[Xe.register({stickiness:0}),Xe.register({stickiness:1}),Xe.register({stickiness:2}),Xe.register({stickiness:3})];function Qe(e){return e instanceof Xe?e:Xe.createDynamic(e)}var $e=function(e){function t(){var t=e.call(this)||this;return t._actual=t._register(new o.a),t.event=t._actual.event,t._deferredCnt=0,t._shouldFire=!1,t}return We(t,e),t.prototype.beginDeferredEmit=function(){this._deferredCnt++},t.prototype.endDeferredEmit=function(){this._deferredCnt--,0===this._deferredCnt&&this._shouldFire&&(this._shouldFire=!1,this._actual.fire({}))},t.prototype.fire=function(){this._shouldFire=!0},t}(r.a),et=function(e){function t(){var t=e.call(this)||this;return t._fastEmitter=t._register(new o.a),t.fastEvent=t._fastEmitter.event,t._slowEmitter=t._register(new o.a),t.slowEvent=t._slowEmitter.event,t._deferredCnt=0,t._deferredEvent=null,t}return We(t,e),t.prototype.beginDeferredEmit=function(){this._deferredCnt++},t.prototype.endDeferredEmit=function(){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){var e=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(e),this._slowEmitter.fire(e)}},t.prototype.fire=function(e){this._deferredCnt>0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))},t}(r.a)},tYmi:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}));var i,o=n("bY76"),r=n("MNsG");!function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.userData="vscode-userdata"}(i||(i={}));var s=new(function(){function e(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}return e.prototype.setPreferredWebSchema=function(e){this._preferredWebSchema=e},e.prototype.rewrite=function(e){if(this._delegate)return this._delegate(e);var t=e.authority,n=this._hosts[t];n&&-1!==n.indexOf(":")&&(n="["+n+"]");var s=this._ports[t],a=this._connectionTokens[t],u="path="+encodeURIComponent(e.path);return"string"==typeof a&&(u+="&tkn="+encodeURIComponent(a)),o.a.from({scheme:r.g?this._preferredWebSchema:i.vscodeRemoteResource,authority:n+":"+s,path:"/vscode-remote-resource",query:u})},e}())},twdY:function(e,t,n){"use strict";n.d(t,"q",(function(){return _})),n.d(t,"x",(function(){return y})),n.d(t,"m",(function(){return w})),n.d(t,"A",(function(){return C})),n.d(t,"t",(function(){return S})),n.d(t,"u",(function(){return L})),n.d(t,"d",(function(){return N})),n.d(t,"w",(function(){return O})),n.d(t,"o",(function(){return D})),n.d(t,"l",(function(){return x})),n.d(t,"h",(function(){return E})),n.d(t,"f",(function(){return k})),n.d(t,"e",(function(){return I})),n.d(t,"p",(function(){return M})),n.d(t,"z",(function(){return T})),n.d(t,"b",(function(){return A})),n.d(t,"a",(function(){return R})),n.d(t,"g",(function(){return P})),n.d(t,"i",(function(){return F})),n.d(t,"s",(function(){return V})),n.d(t,"r",(function(){return W})),n.d(t,"c",(function(){return B})),n.d(t,"v",(function(){return j})),n.d(t,"n",(function(){return H})),n.d(t,"k",(function(){return z})),n.d(t,"j",(function(){return U})),n.d(t,"y",(function(){return K}));var i=n("746U"),o=n("bY76"),r=(n("aokT"),n("MI8n")),s=n("pmY6"),a=n("l2gE");function u(e,t,n,i){if(Array.isArray(e)){for(var o=0,r=0,s=e;r<s.length;r++){var l=u(s[r],t,n,i);if(10===l)return l;l>o&&(o=l)}return o}if("string"==typeof e)return i?"*"===e?5:e===n?10:0:0;if(e){var c=e.language,d=e.pattern,h=e.scheme,f=e.hasAccessToAllModels;if(!i&&!f)return 0;o=0;if(h)if(h===t.scheme)o=10;else{if("*"!==h)return 0;o=5}if(c)if(c===n)o=10;else{if("*"!==c)return 0;o=Math.max(o,5)}if(d){if(d!==t.fsPath&&!Object(a.a)(d,t.fsPath))return 0;o=10}return o}return 0}var l=n("G2kB");function c(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(c):!!e.exclusive)}var d,h,f,p,g=function(){function e(){this._clock=0,this._entries=[],this._onDidChange=new r.a}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this,i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(s.f)((function(){if(i){var e=n._entries.indexOf(i);e>=0&&(n._entries.splice(e,1),n._lastCandidate=void 0,n._onDidChange.fire(n._entries.length),i=void 0)}}))},e.prototype.has=function(e){return this.all(e).length>0},e.prototype.all=function(e){if(!e)return[];this._updateScores(e);for(var t=[],n=0,i=this._entries;n<i.length;n++){var o=i[n];o._score>0&&t.push(o.provider)}return t},e.prototype.ordered=function(e){var t=[];return this._orderedForEach(e,(function(e){return t.push(e.provider)})),t},e.prototype.orderedGroups=function(e){var t,n,i=[];return this._orderedForEach(e,(function(e){t&&n===e._score?t.push(e.provider):(n=e._score,t=[e.provider],i.push(t))})),i},e.prototype._orderedForEach=function(e,t){if(e){this._updateScores(e);for(var n=0,i=this._entries;n<i.length;n++){var o=i[n];o._score>0&&t(o)}}},e.prototype._updateScores=function(t){var n={uri:t.uri.toString(),language:t.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==n.language||this._lastCandidate.uri!==n.uri){this._lastCandidate=n;for(var i=0,o=this._entries;i<o.length;i++){var r=o[i];if(r._score=u(r.selector,t.uri,t.getLanguageIdentifier().language,Object(l.b)(t)),c(r.selector)&&r._score>0){for(var s=0,a=this._entries;s<a.length;s++){a[s]._score=0}r._score=1e3;break}}this._entries.sort(e._compareByScoreAndTime)}},e._compareByScoreAndTime=function(e,t){return e._score<t._score?1:e._score>t._score?-1:e._time<t._time?1:e._time>t._time?-1:0},e}(),m=n("QDVR"),v=function(){function e(){this._map=new Map,this._promises=new Map,this._onDidChange=new r.a,this.onDidChange=this._onDidChange.event,this._colorMap=null}return e.prototype.fire=function(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})},e.prototype.register=function(e,t){var n=this;return this._map.set(e,t),this.fire([e]),Object(s.f)((function(){n._map.get(e)===t&&(n._map.delete(e),n.fire([e]))}))},e.prototype.registerPromise=function(e,t){var n=this,i=null,o=!1;return this._promises.set(e,t.then((function(t){n._promises.delete(e),!o&&t&&(i=n.register(e,t))}))),Object(s.f)((function(){o=!0,i&&i.dispose()}))},e.prototype.getPromise=function(e){var t=this,n=this.get(e);if(n)return Promise.resolve(n);var i=this._promises.get(e);return i?i.then((function(n){return t.get(e)})):null},e.prototype.get=function(e){return Object(i.o)(this._map.get(e))},e.prototype.setColorMap=function(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Object(m.d)(this._map),changedColorMap:!0})},e.prototype.getColorMap=function(){return this._colorMap},e.prototype.getDefaultBackground=function(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null},e}(),_=function(e,t){this.language=e,this.id=t},y=function(){function e(){}return e.getLanguageId=function(e){return(255&e)>>>0},e.getTokenType=function(e){return(1792&e)>>>8},e.getFontStyle=function(e){return(14336&e)>>>11},e.getForeground=function(e){return(8372224&e)>>>14},e.getBackground=function(e){return(4286578688&e)>>>23},e.getClassNameFromMetadata=function(e){var t="mtk"+this.getForeground(e),n=this.getFontStyle(e);return 1&n&&(t+=" mtki"),2&n&&(t+=" mtkb"),4&n&&(t+=" mtku"),t},e.getInlineStyleFromMetadata=function(e,t){var n=this.getForeground(e),i=this.getFontStyle(e),o="color: "+t[n]+";";return 1&i&&(o+="font-style: italic;"),2&i&&(o+="font-weight: bold;"),4&i&&(o+="text-decoration: underline;"),o},e}();(d=Object.create(null))[0]="method",d[1]="function",d[2]="constructor",d[3]="field",d[4]="variable",d[5]="class",d[6]="struct",d[7]="interface",d[8]="module",d[9]="property",d[10]="event",d[11]="operator",d[12]="unit",d[13]="value",d[14]="constant",d[15]="enum",d[16]="enum-member",d[17]="keyword",d[25]="snippet",d[18]="text",d[19]="color",d[20]="file",d[21]="reference",d[22]="customcolor",d[23]="folder",d[24]="type-parameter",function(){var e=Object.create(null);e.method=0,e.function=1,e.constructor=2,e.field=3,e.variable=4,e.class=5,e.struct=6,e.interface=7,e.module=8,e.property=9,e.event=10,e.operator=11,e.unit=12,e.value=13,e.constant=14,e.enum=15,e["enum-member"]=16,e.enumMember=16,e.keyword=17,e.snippet=25,e.text=18,e.color=19,e.file=20,e.reference=21,e.customcolor=22,e.folder=23,e["type-parameter"]=24,e.typeParameter=24}();!function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(h||(h={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(f||(f={})),function(e){var t=new Map;t.set("file",0),t.set("module",1),t.set("namespace",2),t.set("package",3),t.set("class",4),t.set("method",5),t.set("property",6),t.set("field",7),t.set("constructor",8),t.set("enum",9),t.set("interface",10),t.set("function",11),t.set("variable",12),t.set("constant",13),t.set("string",14),t.set("number",15),t.set("boolean",16),t.set("array",17),t.set("object",18),t.set("key",19),t.set("null",20),t.set("enum-member",21),t.set("struct",22),t.set("event",23),t.set("operator",24),t.set("type-parameter",25);var n=new Map;n.set(0,"file"),n.set(1,"module"),n.set(2,"namespace"),n.set(3,"package"),n.set(4,"class"),n.set(5,"method"),n.set(6,"property"),n.set(7,"field"),n.set(8,"constructor"),n.set(9,"enum"),n.set(10,"interface"),n.set(11,"function"),n.set(12,"variable"),n.set(13,"constant"),n.set(14,"string"),n.set(15,"number"),n.set(16,"boolean"),n.set(17,"array"),n.set(18,"object"),n.set(19,"key"),n.set(20,"null"),n.set(21,"enum-member"),n.set(22,"struct"),n.set(23,"event"),n.set(24,"operator"),n.set(25,"type-parameter"),e.fromString=function(e){return t.get(e)},e.toString=function(e){return n.get(e)},e.toCssClassName=function(e,t){return"codicon "+(t?"inline":"block")+" codicon-symbol-"+(n.get(e)||"property")}}(p||(p={}));var b,C,w=function(){function e(e){this.value=e}return e.Comment=new e("comment"),e.Imports=new e("imports"),e.Region=new e("region"),e}();(b||(b={})).is=function(e){return Object(i.i)(e)&&(Boolean(e.newUri)||Boolean(e.oldUri))},(C||(C={})).is=function(e){return Object(i.i)(e)&&o.a.isUri(e.resource)&&Object(i.i)(e.edit)};var S=new g,L=new g,N=new g,O=new g,D=new g,x=new g,E=new g,k=new g,I=new g,M=new g,T=new g,A=new g,R=new g,P=new g,F=new g,V=new g,W=new g,B=new g,j=new g,H=new g,z=new g,U=new g,K=new v},uDWl:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("D3Dy"),o=n("/kV6"),r=n("MNsG"),s=new Array(230),a=new Array(112);!function(){for(var e=0;e<a.length;e++)a[e]=-1;function t(e,t){s[e]=t,a[t]=e}t(3,7),t(8,1),t(9,2),t(13,3),t(16,4),t(17,5),t(18,6),t(19,7),t(20,8),t(27,9),t(32,10),t(33,11),t(34,12),t(35,13),t(36,14),t(37,15),t(38,16),t(39,17),t(40,18),t(45,19),t(46,20),t(48,21),t(49,22),t(50,23),t(51,24),t(52,25),t(53,26),t(54,27),t(55,28),t(56,29),t(57,30),t(65,31),t(66,32),t(67,33),t(68,34),t(69,35),t(70,36),t(71,37),t(72,38),t(73,39),t(74,40),t(75,41),t(76,42),t(77,43),t(78,44),t(79,45),t(80,46),t(81,47),t(82,48),t(83,49),t(84,50),t(85,51),t(86,52),t(87,53),t(88,54),t(89,55),t(90,56),t(93,58),t(96,93),t(97,94),t(98,95),t(99,96),t(100,97),t(101,98),t(102,99),t(103,100),t(104,101),t(105,102),t(106,103),t(107,104),t(108,105),t(109,106),t(110,107),t(111,108),t(112,59),t(113,60),t(114,61),t(115,62),t(116,63),t(117,64),t(118,65),t(119,66),t(120,67),t(121,68),t(122,69),t(123,70),t(124,71),t(125,72),t(126,73),t(127,74),t(128,75),t(129,76),t(130,77),t(144,78),t(145,79),t(186,80),t(187,81),t(188,82),t(189,83),t(190,84),t(191,85),t(192,86),t(193,110),t(194,111),t(219,87),t(220,88),t(221,89),t(222,90),t(223,91),t(226,92),t(229,109),i.i?t(91,57):i.h?(t(59,80),t(107,81),t(109,83),r.e&&t(224,57)):i.m&&(t(91,57),r.e?t(93,57):t(92,57))}();var u=r.e?256:2048,l=r.e?2048:256,c=function(){function e(e){this._standardKeyboardEventBrand=!0;var t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=function(e){if(e.charCode){var t=String.fromCharCode(e.charCode).toUpperCase();return o.b.fromString(t)}return s[e.keyCode]||0}(t),this.code=t.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}return e.prototype.preventDefault=function(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},e.prototype.stopPropagation=function(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},e.prototype.toKeybinding=function(){return this._asRuntimeKeybinding},e.prototype.equals=function(e){return this._asKeybinding===e},e.prototype._computeKeybinding=function(){var e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);var t=0;return this.ctrlKey&&(t|=u),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=l),t|=e},e.prototype._computeRuntimeKeybinding=function(){var e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new o.e(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)},e}()},ufhN:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return n.e(182).then(n.bind(null,"rMIR"))}})},undH:function(e,t,n){},w9QG:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return n.e(181).then(n.bind(null,"Czvm"))}})},wQH0:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i,o=n("T8No");!function(e){e.editorSimpleInput=new o.d("editorSimpleInput",!1),e.editorTextFocus=new o.d("editorTextFocus",!1),e.focus=new o.d("editorFocus",!1),e.textInputFocus=new o.d("textInputFocus",!1),e.readOnly=new o.d("editorReadonly",!1),e.writable=e.readOnly.toNegated(),e.hasNonEmptySelection=new o.d("editorHasSelection",!1),e.hasOnlyEmptySelection=e.hasNonEmptySelection.toNegated(),e.hasMultipleSelections=new o.d("editorHasMultipleSelections",!1),e.hasSingleSelection=e.hasMultipleSelections.toNegated(),e.tabMovesFocus=new o.d("editorTabMovesFocus",!1),e.tabDoesNotMoveFocus=e.tabMovesFocus.toNegated(),e.isInEmbeddedEditor=new o.d("isInEmbeddedEditor",!1),e.canUndo=new o.d("canUndo",!1),e.canRedo=new o.d("canRedo",!1),e.languageId=new o.d("editorLangId",""),e.hasCompletionItemProvider=new o.d("editorHasCompletionItemProvider",!1),e.hasCodeActionsProvider=new o.d("editorHasCodeActionsProvider",!1),e.hasCodeLensProvider=new o.d("editorHasCodeLensProvider",!1),e.hasDefinitionProvider=new o.d("editorHasDefinitionProvider",!1),e.hasDeclarationProvider=new o.d("editorHasDeclarationProvider",!1),e.hasImplementationProvider=new o.d("editorHasImplementationProvider",!1),e.hasTypeDefinitionProvider=new o.d("editorHasTypeDefinitionProvider",!1),e.hasHoverProvider=new o.d("editorHasHoverProvider",!1),e.hasDocumentHighlightProvider=new o.d("editorHasDocumentHighlightProvider",!1),e.hasDocumentSymbolProvider=new o.d("editorHasDocumentSymbolProvider",!1),e.hasReferenceProvider=new o.d("editorHasReferenceProvider",!1),e.hasRenameProvider=new o.d("editorHasRenameProvider",!1),e.hasSignatureHelpProvider=new o.d("editorHasSignatureHelpProvider",!1),e.hasDocumentFormattingProvider=new o.d("editorHasDocumentFormattingProvider",!1),e.hasDocumentSelectionFormattingProvider=new o.d("editorHasDocumentSelectionFormattingProvider",!1),e.hasMultipleDocumentFormattingProvider=new o.d("editorHasMultipleDocumentFormattingProvider",!1),e.hasMultipleDocumentSelectionFormattingProvider=new o.d("editorHasMultipleDocumentSelectionFormattingProvider",!1)}(i||(i={}))},woZy:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return n.e(168).then(n.bind(null,"I+Au"))}})},wxcJ:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a}));var i=n("MNsG"),o=void 0===e?{cwd:function(){return"/"},env:Object.create(null),get platform(){return i.h?"win32":i.e?"darwin":"linux"},nextTick:function(e){return Object(i.i)(e)}}:e,r=o.cwd,s=o.env,a=o.platform}).call(this,n("KCCg"))},xYNL:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:function(){return n.e(161).then(n.bind(null,"tGOS"))}})},xmOD:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:function(){return n.e(177).then(n.bind(null,"fB/Z"))}})},y3CF:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return n.e(165).then(n.bind(null,"YdqL"))}})},yEoX:function(e,t,n){},yqFB:function(e,t,n){},z3hU:function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return l}));n("M/lh");var i,o,r,s,a,u=monaco.Emitter,l=function(){function e(e,t){this._onDidChange=new u,this._onDidExtraLibsChange=new u,this._extraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!0,configurable:!0}),e.prototype.getExtraLibs=function(){return this._extraLibs},e.prototype.addExtraLib=function(e,t){var n,i=this;if(n=void 0===t?"ts:extralib-"+Math.random().toString(36).substring(2,15):t,this._extraLibs[n]&&this._extraLibs[n].content===e)return{dispose:function(){}};var o=1;return this._extraLibs[n]&&(o=this._extraLibs[n].version+1),this._extraLibs[n]={content:e,version:o},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var e=i._extraLibs[n];e&&e.version===o&&(delete i._extraLibs[n],i._fireOnDidExtraLibsChangeSoon())}}},e.prototype.setExtraLibs=function(e){if(this._extraLibs=Object.create(null),e&&e.length>0)for(var t=0,n=e;t<n.length;t++){var i=n[t],o=i.filePath||"ts:extralib-"+Math.random().toString(36).substring(2,15),r=i.content;this._extraLibs[o]={content:r,version:1}}this._fireOnDidExtraLibsChangeSoon()},e.prototype._fireOnDidExtraLibsChangeSoon=function(){var e=this;-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=setTimeout((function(){e._onDidExtraLibsChangeTimeout=-1,e._onDidExtraLibsChange.fire(void 0)}),0))},e.prototype.getCompilerOptions=function(){return this._compilerOptions},e.prototype.setCompilerOptions=function(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.getDiagnosticsOptions=function(){return this._diagnosticsOptions},e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setMaximumWorkerIdleTime=function(e){},e.prototype.setEagerModelSync=function(e){this._eagerModelSync=e},e.prototype.getEagerModelSync=function(){return this._eagerModelSync},e}();!function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext"}(i||(i={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative"}(o||(o={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(r||(r={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(s||(s={})),function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(a||(a={}));var c=new l({allowNonTsExtensions:!0,target:s.Latest},{noSemanticValidation:!1,noSyntaxValidation:!1}),d=new l({allowNonTsExtensions:!0,allowJs:!0,target:s.Latest},{noSemanticValidation:!0,noSyntaxValidation:!1});function h(){return p().then((function(e){return e.getTypeScriptWorker()}))}function f(){return p().then((function(e){return e.getJavaScriptWorker()}))}function p(){return n.e(188).then(n.bind(null,"4yiN"))}monaco.languages.typescript={ModuleKind:i,JsxEmit:o,NewLineKind:r,ScriptTarget:s,ModuleResolutionKind:a,typescriptVersion:"3.7.5",typescriptDefaults:c,javascriptDefaults:d,getTypeScriptWorker:h,getJavaScriptWorker:f},monaco.languages.onLanguage("typescript",(function(){return p().then((function(e){return e.setupTypeScript(c)}))})),monaco.languages.onLanguage("javascript",(function(){return p().then((function(e){return e.setupJavaScript(d)}))}))},zQEy:function(e,t,n){"use strict";n.r(t);var i=n("+hIS");Object(i.a)({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:function(){return n.e(155).then(n.bind(null,"On+f"))}})},zrhQ:function(e,t,n){"use strict";function i(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var o=function(){function e(e,t,n,o){void 0===o&&(o=1),this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=i(Math.max(Math.min(1,o),0),3)}return e.equals=function(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a},e}(),r=function(){function e(e,t,n,o){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.l=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),0),3)}return e.equals=function(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a},e.fromRGBA=function(t){var n=t.r/255,i=t.g/255,o=t.b/255,r=t.a,s=Math.max(n,i,o),a=Math.min(n,i,o),u=0,l=0,c=(a+s)/2,d=s-a;if(d>0){switch(l=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),s){case n:u=(i-o)/d+(i<o?6:0);break;case i:u=(o-n)/d+2;break;case o:u=(n-i)/d+4}u*=60,u=Math.round(u)}return new e(u,l,c,r)},e._hue2rgb=function(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e},e.toRGBA=function(t){var n,i,r,s=t.h/360,a=t.s,u=t.l,l=t.a;if(0===a)n=i=r=u;else{var c=u<.5?u*(1+a):u+a-u*a,d=2*u-c;n=e._hue2rgb(d,c,s+1/3),i=e._hue2rgb(d,c,s),r=e._hue2rgb(d,c,s-1/3)}return new o(Math.round(255*n),Math.round(255*i),Math.round(255*r),l)},e}(),s=function(){function e(e,t,n,o){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.v=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),0),3)}return e.equals=function(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a},e.fromRGBA=function(t){var n,i=t.r/255,o=t.g/255,r=t.b/255,s=Math.max(i,o,r),a=s-Math.min(i,o,r),u=0===s?0:a/s;return n=0===a?0:s===i?((o-r)/a%6+6)%6:s===o?(r-i)/a+2:(i-o)/a+4,new e(Math.round(60*n),u,s,t.a)},e.toRGBA=function(e){var t=e.h,n=e.s,i=e.v,r=e.a,s=i*n,a=s*(1-Math.abs(t/60%2-1)),u=i-s,l=[0,0,0],c=l[0],d=l[1],h=l[2];return t<60?(c=s,d=a):t<120?(c=a,d=s):t<180?(d=s,h=a):t<240?(d=a,h=s):t<300?(c=a,h=s):t<360&&(c=s,h=a),c=Math.round(255*(c+u)),d=Math.round(255*(d+u)),h=Math.round(255*(h+u)),new o(c,d,h,r)},e}(),a=function(){function e(e){if(!e)throw new Error("Color needs a value");if(e instanceof o)this.rgba=e;else if(e instanceof r)this._hsla=e,this.rgba=r.toRGBA(e);else{if(!(e instanceof s))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=s.toRGBA(e)}}return e.fromHex=function(t){return e.Format.CSS.parseHex(t)||e.red},Object.defineProperty(e.prototype,"hsla",{get:function(){return this._hsla?this._hsla:r.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hsva",{get:function(){return this._hsva?this._hsva:s.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),e.prototype.equals=function(e){return!!e&&o.equals(this.rgba,e.rgba)&&r.equals(this.hsla,e.hsla)&&s.equals(this.hsva,e.hsva)},e.prototype.getRelativeLuminance=function(){return i(.2126*e._relativeLuminanceForComponent(this.rgba.r)+.7152*e._relativeLuminanceForComponent(this.rgba.g)+.0722*e._relativeLuminanceForComponent(this.rgba.b),4)},e._relativeLuminanceForComponent=function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)},e.prototype.isLighter=function(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128},e.prototype.isLighterThan=function(e){return this.getRelativeLuminance()>e.getRelativeLuminance()},e.prototype.isDarkerThan=function(e){return this.getRelativeLuminance()<e.getRelativeLuminance()},e.prototype.lighten=function(t){return new e(new r(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*t,this.hsla.a))},e.prototype.darken=function(t){return new e(new r(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*t,this.hsla.a))},e.prototype.transparent=function(t){var n=this.rgba,i=n.r,r=n.g,s=n.b,a=n.a;return new e(new o(i,r,s,a*t))},e.prototype.isTransparent=function(){return 0===this.rgba.a},e.prototype.isOpaque=function(){return 1===this.rgba.a},e.prototype.opposite=function(){return new e(new o(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))},e.prototype.toString=function(){return""+e.Format.CSS.format(this)},e.getLighterColor=function(e,t,n){if(e.isLighterThan(t))return e;n=n||.5;var i=e.getRelativeLuminance(),o=t.getRelativeLuminance();return n=n*(o-i)/o,e.lighten(n)},e.getDarkerColor=function(e,t,n){if(e.isDarkerThan(t))return e;n=n||.5;var i=e.getRelativeLuminance();return n=n*(i-t.getRelativeLuminance())/i,e.darken(n)},e.white=new e(new o(255,255,255,1)),e.black=new e(new o(0,0,0,1)),e.red=new e(new o(255,0,0,1)),e.blue=new e(new o(0,0,255,1)),e.cyan=new e(new o(0,255,255,1)),e.lightgrey=new e(new o(211,211,211,1)),e.transparent=new e(new o(0,0,0,0)),e}();!function(e){!function(t){!function(t){function n(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}function i(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}t.formatRGB=function(t){return 1===t.rgba.a?"rgb("+t.rgba.r+", "+t.rgba.g+", "+t.rgba.b+")":e.Format.CSS.formatRGBA(t)},t.formatRGBA=function(e){return"rgba("+e.rgba.r+", "+e.rgba.g+", "+e.rgba.b+", "+ +e.rgba.a.toFixed(2)+")"},t.formatHSL=function(t){return 1===t.hsla.a?"hsl("+t.hsla.h+", "+(100*t.hsla.s).toFixed(2)+"%, "+(100*t.hsla.l).toFixed(2)+"%)":e.Format.CSS.formatHSLA(t)},t.formatHSLA=function(e){return"hsla("+e.hsla.h+", "+(100*e.hsla.s).toFixed(2)+"%, "+(100*e.hsla.l).toFixed(2)+"%, "+e.hsla.a.toFixed(2)+")"},t.formatHex=function(e){return"#"+n(e.rgba.r)+n(e.rgba.g)+n(e.rgba.b)},t.formatHexA=function(t,i){return void 0===i&&(i=!1),i&&1===t.rgba.a?e.Format.CSS.formatHex(t):"#"+n(t.rgba.r)+n(t.rgba.g)+n(t.rgba.b)+n(Math.round(255*t.rgba.a))},t.format=function(t){return t.isOpaque()?e.Format.CSS.formatHex(t):e.Format.CSS.formatRGBA(t)},t.parseHex=function(t){var n=t.length;if(0===n)return null;if(35!==t.charCodeAt(0))return null;if(7===n){var r=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),s=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),a=16*i(t.charCodeAt(5))+i(t.charCodeAt(6));return new e(new o(r,s,a,1))}if(9===n){r=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),s=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),a=16*i(t.charCodeAt(5))+i(t.charCodeAt(6));var u=16*i(t.charCodeAt(7))+i(t.charCodeAt(8));return new e(new o(r,s,a,u/255))}if(4===n){r=i(t.charCodeAt(1)),s=i(t.charCodeAt(2)),a=i(t.charCodeAt(3));return new e(new o(16*r+r,16*s+s,16*a+a))}if(5===n){r=i(t.charCodeAt(1)),s=i(t.charCodeAt(2)),a=i(t.charCodeAt(3)),u=i(t.charCodeAt(4));return new e(new o(16*r+r,16*s+s,16*a+a,(16*u+u)/255))}return null}}(t.CSS||(t.CSS={}))}(e.Format||(e.Format={}))}(a||(a={}))}}]); \ No newline at end of file diff --git a/static/js/12.c9554159.chunk.js b/static/js/12.c9554159.chunk.js deleted file mode 100644 index a0e299f04..000000000 --- a/static/js/12.c9554159.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[12,132],{"85A0":function(e,t,n){},NUct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=g(n("W9HT")),r=g(n("3S7+")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n("04bd"),n("TfFZ");var i=n("q1tI"),c=g(i),s=n("eO8H"),u=n("spEH"),d=g(n("q7EM"));n("7dqz"),n("85A0");var p=n("qmW9"),f=g(n("CnBM")),m=g(n("HUFq")),h=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var b=(0,f.default)({loader:function(){return n.e(119).then(n.t.bind(null,"6dZj",7))},loading:m.default}),x=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(30),n.e(104)]).then(n.t.bind(null,"DTGX",7))},loading:m.default}),y=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(9),n.e(41)]).then(n.t.bind(null,"IZ3b",7))},loading:m.default}),E=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(4),n.e(37)]).then(n.t.bind(null,"SqvK",7))},loading:m.default}),w=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(19),n.e(62),n.e(80)]).then(n.t.bind(null,"WT1Z",7))},loading:m.default}),_=(0,f.default)({loader:function(){return n.e(112).then(n.t.bind(null,"+JVH",7))},loading:m.default}),v=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(20),n.e(115)]).then(n.t.bind(null,"fyLZ",7))},loading:m.default}),k=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(17),n.e(117)]).then(n.t.bind(null,"s4sY",7))},loading:m.default}),j=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(17),n.e(116)]).then(n.t.bind(null,"IxYK",7))},loading:m.default}),I=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(9),n.e(42)]).then(n.t.bind(null,"+JJy",7))},loading:m.default}),N=((0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(9),n.e(40)]).then(n.t.bind(null,"Gofe",7))},loading:m.default}),(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(51)]).then(n.t.bind(null,"VSCt",7))},loading:m.default})),S=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(4),n.e(33)]).then(n.t.bind(null,"YxIK",7))},loading:m.default}),C=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(4),n.e(34)]).then(n.t.bind(null,"TiQt",7))},loading:m.default}),O=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(4),n.e(35)]).then(n.t.bind(null,"vhIH",7))},loading:m.default}),P=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(58)]).then(n.t.bind(null,"+nTR",7))},loading:m.default}),R=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(93)]).then(n.t.bind(null,"cFFD",7))},loading:m.default}),B=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(92)]).then(n.t.bind(null,"zM51",7))},loading:m.default}),D=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(120)]).then(n.t.bind(null,"LMhh",7))},loading:m.default}),M=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(113)]).then(n.t.bind(null,"p6ow",7))},loading:m.default}),L=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(18)]).then(n.t.bind(null,"VEFH",7))},loading:m.default}),F=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(11),n.e(14),n.e(20),n.e(36)]).then(n.t.bind(null,"gUMM",7))},loading:m.default}),A=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(87)]).then(n.t.bind(null,"rS1K",7))},loading:m.default}),z=(0,f.default)({loader:function(){return Promise.all([n.e(3),n.e(4),n.e(9),n.e(14),n.e(63)]).then(n.t.bind(null,"B3S4",7))},loading:m.default}),T=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(4),n.e(32)]).then(n.t.bind(null,"tF+v",7))},loading:m.default}),q=(0,f.default)({loader:function(){return n.e(111).then(n.t.bind(null,"cuo/",7))},loading:m.default}),H=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(9),n.e(54)]).then(n.t.bind(null,"dINp",7))},loading:m.default}),W=(0,f.default)({loader:function(){return n.e(52).then(n.t.bind(null,"RS/3",7))},loading:m.default});var G=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.componentDidMount=function(){a.getProject()},a.componentDidUpdate=function(e){var t=e.match.params,n=a.props.match.params;e&&a.props&&(t.projectsId!==n.projectsId||t.owner!==n.owner)&&a.getProject()},a.getProject=function(e){var t=a.props.match.params,n=t.projectsId,r="/"+t.owner+"/"+n+"/simple.json";h.default.get(r).then((function(t){t&&t.data&&(a.setState({project:t.data,open_devops:t.data.open_devops,platform:t.data.platform&&"educoder"!==t.data.platform}),0!==t.data.type&&1===t.data.mirror_status?(console.log("--------start channel --------"),a.canvasChannel(),e?a.setState({secondSync:!0,firstSync:!1}):a.setState({firstSync:!0,secondSync:!1})):2===t.data.mirror_status?a.deleteProjectBack():(a.getDetail(),a.setState({firstSync:!1,secondSync:!1})))}))},a.changeOpenDevops=function(e){a.setState({open_devops:e})},a.canvasChannel=function(e){var t="localhost"===window.location.hostname?"testforgeplus.trustie.net":window.location.hostname,r=n("9e53"),o=a.state.project,l=r.createConsumer("wss://"+t+"/cable");a.canvasChannel1=l.subscriptions.create({channel:"MirrorProjectChannel",id:o&&o.id},{connected:function(){console.log("###### channel connected! ######")},disconnected:function(){},received:function(t){console.log("###### ---received data--- ######"),console.log(t),t&&(e?(a.props.showNotification("镜像同步成功!"),window.location.reload()):(t.project&&2===t.project.mirror_status&&a.deleteProjectBack(),a.getDetail()),a.setState({firstSync:!1,secondSync:!1}),l.subscriptions.consumer.disconnect())}})},a.deleteProjectBack=function(){var e=a.props.history,t=a.props.match.params,n=t.projectsId,r=t.owner;h.default.delete("/"+r+"/"+n+".json").then((function(t){var n="/projects/mirror/new";t&&t.data?e.push({pathname:n,mirror_status:2}):window.location.hash=n}))},a.getDetail=function(){var e=a.props.match.params,t=e.projectsId,n=e.owner;a.getBanner();var r="/"+n+"/"+t+"/detail.json";h.default.get(r).then((function(e){e&&e.data&&a.setState({projectDetail:e.data,project_id:e.data.project_id,isManager:e.data.permission&&("Manager"===e.data.permission||"Admin"===e.data.permission||"Owner"===e.data.permission),isReporter:e.data.permission&&"Reporter"===e.data.permission,isDeveloper:e.data.permission&&"Developer"===e.data.permission,http_url:e.data.clone_url,praised:e.data.praised,watched:e.data.watched,watchers_count:e.data.watchers_count,praises_count:e.data.praises_count,forked_count:e.data.forked_count,defaultBranch:e.data.default_branch})})).catch((function(e){}))},a.focusFunc=function(e){if(a.state.platform){var t=a.state.project_id;(0,h.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"project",id:t}}).then((function(e){e&&0===e.data.status&&a.setWatchersCount(e.data.watchers_count,e.data.watched)})).catch((function(e){console.log(e)}))}},a.pariseFunc=function(e){if(a.state.platform){var t=a.state.project_id;(0,h.default)({method:e?"delete":"post",url:"/projects/"+t+"/praise_tread/"+(e?"unlike":"like")+".json"}).then((function(e){e&&0===e.data.status&&a.setPraisesCount(e.data.praises_count,e.data.praised)})).catch((function(e){console.log(e)}))}},a.setWatchersCount=function(e,t){a.setState({watched:t,watchers_count:e})},a.setPraisesCount=function(e,t){a.setState({praised:t,praises_count:e})},a.forkFunc=function(){if(a.state.platform){a.setState({forkSpin:!0});var e=a.props.current_user,t=a.props.match.params,n=t.projectsId,r="/"+t.owner+"/"+n+"/forks.json";h.default.post(r).then((function(t){t&&0===t.data.status&&(a.props.history.push("/"+(e&&e.login)+"/"+t.data.identifier),a.props.showNotification(t.data.message)),a.setState({forkSpin:!1})})).catch((function(e){a.setState({forkSpin:!1})}))}},a.synchronismMirror=function(){if(a.state.platform){var e=a.props.match.params,t=e.projectsId,n="/"+e.owner+"/"+t+"/sync_mirror.json";h.default.post(n).then((function(e){e&&e.data&&0===e.data.status?(a.setState({secondSync:!0}),a.canvasChannel(!0)):a.props.showNotification("镜像同步失败!")})).catch((function(e){console.log(e)}))}},a.textFunc=function(e,t){t&&t.fork_project_user_type;return e&&t?c.default.createElement("div",{className:"color-grey-9 df"},c.default.createElement("span",null,"复刻自"),c.default.createElement(s.Link,{to:"/"+t.fork_project_user_login,className:"show-user-link color-grey-6 ml5"},t.fork_project_user_name),c.default.createElement("span",null," / "),c.default.createElement(s.Link,{to:"/"+t.fork_project_user_login+"/"+t.fork_project_identifier,className:"color-grey-6 task-hide flex1",style:{maxWidth:"400px"},title:t.fork_form_name},t.fork_form_name)):""},a.state={projectDetail:void 0,isManager:!1,isReporter:!1,isDeveloper:!1,project_id:void 0,watchers_count:void 0,praises_count:void 0,forked_count:void 0,watched:!1,praised:!1,http_url:void 0,branchs:void 0,branchList:void 0,project:null,firstSync:!1,secondSync:!1,open_devops:!1,forkSpin:!1,defaultBranch:void 0,platform:!1},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"getBanner",value:function(){var e=this,t=this.props.match.params,n=t.projectsId,a="/"+t.owner+"/"+n+"/menu_list.json";h.default.get(a).then((function(t){t&&e.setState({bannerList:t.data})})).catch((function(e){}))}},{key:"render",value:function(){var e=this,t=this.state,n=t.projectDetail,l=t.watchers_count,i=t.praises_count,p=t.forked_count,f=t.firstSync,m=t.secondSync,h=t.isManager,g=t.watched,G=t.praised,J=t.project,U=t.open_devops,Z=t.platform,V=t.defaultBranch,Y=t.bannerList,K=t.forkSpin,Q=this.props.history.location.pathname,X=3===Q.split("/").length,$=this.props.match.params,ee=$.projectsId,te=$.owner,ne=this.props.current_user,ae=function(e,t,n){var a="";if(n&&n!=="/"+t+"/"+e){var r=n.split("/"+t+"/"+e)[1]||"";r.indexOf("/about")>-1?a="about":r.indexOf("/issues")>-1||r.indexOf("Milepost")>0?a="issues":r.indexOf("/pulls")>-1?a="pulls":r.indexOf("/milestones")>-1?a="milestones":r.indexOf("/activity")>-1?a="activity":r.indexOf("/settings")>-1?a="settings":r.indexOf("/devops")>-1?a="devops":r.indexOf("/source")>-1?a="source":r.indexOf("/wiki")>-1&&(a="wiki")}return a}(ee,te,Q),re=this.props.history.location.state,oe={getDetail:this.getDetail,changeOpenDevops:this.changeOpenDevops,defaultBranch:V};return c.default.createElement("div",null,c.default.createElement("div",{className:"detailHeader-wrapper"},c.default.createElement("div",{className:"normal"},c.default.createElement(u.AlignTop,{style:{padding:"18px 0px 10px",justifyContent:"space-between"}},c.default.createElement("div",null,c.default.createElement(u.AlignTop,null,c.default.createElement("div",{className:"projectallName"},J&&J.author&&c.default.createElement(s.Link,{to:"/"+J.author.login},J.author.name),c.default.createElement("span",{className:"ml5 mr5"},"/"),c.default.createElement(s.Link,{to:"/"+te+"/"+ee,className:"projectN mt6"},n&&n.name)),n&&n.private&&c.default.createElement("span",{className:"privateTag mt6"},"私有")),c.default.createElement("div",{className:"mt8"},n&&n.forked_from_project_id&&n.fork_info?this.textFunc(n.forked_from_project_id,n.fork_info):"",n&&n.type&&0!==n.type?c.default.createElement("span",{className:"color-grey-9"},"导入于 ",c.default.createElement("a",{className:"color-grey-6",target:"_blank",href:n.mirror_url},n.mirror_url)):"")),c.default.createElement("div",null,f?"":c.default.createElement("span",{className:"df"},(ne&&ne.admin||h)&&n&&n.type&&2===n.type?c.default.createElement("a",{className:"synchronism ml30",onClick:this.synchronismMirror},"同步镜像"):"",c.default.createElement("span",{className:"detail_tag_btn"},c.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:Z?"pointer":"default"},onClick:function(){return e.focusFunc(g)}},c.default.createElement("i",{className:g?"iconfont icon-shixing color-orange font-16 mr3":"iconfont icon-kongxing color-grey-9 font-16 mr3"}),c.default.createElement("span",null,g?"取消关注":"关注")),l>0?Z?c.default.createElement(s.Link,{className:"detail_tag_btn_count",style:{color:"#666"},to:Z?{pathname:"/"+te+"/"+ee+"/following",state:re}:""},l):c.default.createElement("span",{className:"detail_tag_btn_count"},l):""),c.default.createElement("span",{className:"detail_tag_btn"},c.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:Z?"pointer":"default"},onClick:function(){return e.pariseFunc(G)}},c.default.createElement("i",{className:G?"iconfont icon-weibiaoti105 color-orange font-14 mr3":"iconfont icon-guanzhu color-grey-9 font-14 mr3"}),c.default.createElement("span",null,G?"取消点赞":"点赞")),i>0?Z?c.default.createElement(s.Link,{className:"detail_tag_btn_count",style:{color:"#666"},to:{pathname:"/"+te+"/"+ee+"/stargazers",state:re}},i):c.default.createElement("span",{className:"detail_tag_btn_count"},i):""),c.default.createElement("span",{className:"detail_tag_btn",loading:K},c.default.createElement(r.default,{title:"复刻是fork的中文名,即复制代码仓库",placement:"bottom"},c.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:Z?"pointer":"default"},onClick:this.forkFunc},c.default.createElement("i",{className:"iconfont icon-fork color-grey-9 mr3 font-16"}),c.default.createElement("span",null,"复刻"))),p>0?Z?c.default.createElement(s.Link,{className:"detail_tag_btn_count",to:{pathname:"/"+te+"/"+ee+"/members",state:re}},p):c.default.createElement("span",{className:"detail_tag_btn_count"},p):"")))),f?"":c.default.createElement(d.default,{history:this.props.history,list:Y,owner:te,projectsId:ee,pathname:ae,state:re,projectDetail:n,open_devops:U,platform:Z,urlFlag:X,isManager:h}))),f?c.default.createElement(u.Content,{className:"spincontent"},c.default.createElement(a.default,{className:"spinstyle",tip:J&&"正在从 "+J.mirror_url+" 迁移",size:"large"})):c.default.createElement(a.default,{spinning:m,className:"spinstyle",tip:"正在同步镜像",size:"large"},c.default.createElement(s.Switch,this.props,c.default.createElement(s.Route,{path:"/:owner/:projectsId/source",render:function(){return c.default.createElement(T,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/about",render:function(){return c.default.createElement(z,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/wiki/add",render:function(){return c.default.createElement(W,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/wiki/edit/:wikiName",render:function(){return c.default.createElement(W,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/wiki",render:function(){return c.default.createElement(H,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/devops",render:function(){return c.default.createElement(q,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/tags",render:function(t){return c.default.createElement(x,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/settings",render:function(t){return c.default.createElement(b,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/milestones/:meilid/edit",render:function(t){return c.default.createElement(j,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/milestones/new",render:function(t){return c.default.createElement(k,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/milestones/:meilid",render:function(t){return c.default.createElement(P,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/milestones",render:function(t){return c.default.createElement(v,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/:milepostId/new",render:function(t){return c.default.createElement(y,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/new",render:function(t){return c.default.createElement(y,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/:orderId/:operateName",render:function(t){return c.default.createElement(I,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/:orderId/copyetail",render:function(t){return c.default.createElement(I,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/:orderId",render:function(t){return c.default.createElement(E,o({},e.props,e.state,t,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/activity",render:function(t){return c.default.createElement(A,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues",render:function(t){return c.default.createElement(w,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls/new/:branch",render:function(t){return c.default.createElement(S,o({},e.props,t,e.state,oe,{is_fork:!0}))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls/new",render:function(t){return c.default.createElement(S,o({},e.props,t,e.state,oe,{is_fork:!0}))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls/:mergeId/UpdateMerge",render:function(t){return c.default.createElement(O,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls/:mergeId/Messagecount",render:function(t){return c.default.createElement(C,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls/:mergeId/MergeSubmit",render:function(t){return c.default.createElement(C,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls",render:function(t){return c.default.createElement(N,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/following",render:function(t){return c.default.createElement(R,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/stargazers",render:function(t){return c.default.createElement(B,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/members",render:function(t){return c.default.createElement(D,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/contribute",render:function(){return c.default.createElement(M,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/commits/branch/:branchName",render:function(t){return c.default.createElement(L,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/tree/:branchName",render:function(t){return c.default.createElement(F,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/:subIndex",render:function(t){return c.default.createElement(_,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId",render:function(t){return c.default.createElement(F,o({},e.props,t,e.state,oe))}}))))}}]),t}(i.Component);t.default=(0,p.ImageLayerOfCommentHOC)({imgSelector:".imageLayerParent img, .imageLayerParent .imageTarget",parentSelector:".newContainer"})(G)},q7EM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=d(n("/ezw")),r=d(n("3S7+")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,o=void 0;try{for(var l,i=e[Symbol.iterator]();!(a=(l=i.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{!a&&i.return&&i.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("chzn"),n("TfFZ");var i=n("q1tI"),c=d(i),s=n("eO8H"),u=n("sYIF");function d(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.history,n=e.list,d=e.owner,p=e.projectsId,f=(e.isManager,e.url),m=e.pathname,h=e.state,g=e.urlFlag,b=e.projectDetail,x=e.platform,y=e.open_devops,E=(0,i.useState)(void 0),w=l(E,2),_=w[0],v=w[1];return(0,i.useEffect)((function(){if(n){if(m&&"source"===m){var e=n.filter((function(e){return"resources"===e.menu_name}));e&&0===e.length&&t.push("/"+d+"/"+p)}v(n)}}),[n]),c.default.createElement("div",{className:"f-wrap-between mt25"},_&&b?c.default.createElement("ul",{className:"headerMenu-wrapper"},Array.isArray(_)&&_.map((function(e,t){return c.default.createElement(c.default.Fragment,{key:e.menu_name},"home"===e.menu_name&&c.default.createElement("li",{className:"about"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/about",state:h}},c.default.createElement("i",{className:"iconfont icon-zhuye-fill color-grey-3 mr5 font-14"}),c.default.createElement("span",null,"主页"))),"code"===e.menu_name&&c.default.createElement("li",{className:""===m||g?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p,state:h}},c.default.createElement("i",{className:"iconfont icon-daimakuicon1 color-grey-3 mr5 font-14"}),c.default.createElement("span",null,"代码库"))),"issues"===e.menu_name&&c.default.createElement("li",{className:"issues"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/issues",state:h}},c.default.createElement(r.default,{title:"易修是Issue的中文名,即问题列表",placement:"bottom"},c.default.createElement("i",{className:"iconfont icon-yixiuicon1 color-grey-3 mr5 font-14"}),c.default.createElement("span",null,"易修")),b&&b.issues_count?c.default.createElement("span",{className:"num"},(0,u.numFormat)(b.issues_count)):"")),"pulls"===e.menu_name&&b&&2!==parseInt(b.type)&&x?c.default.createElement("li",{className:"pulls"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/pulls",state:h}},c.default.createElement("i",{className:"iconfont icon-hebingqingqiu1 color-grey-3 mr5 font-14"}),c.default.createElement("span",null,"合并请求"),b&&b.pull_requests_count?c.default.createElement("span",{className:"num"},(0,u.numFormat)(b.pull_requests_count)):"")):"","wiki"===e.menu_name&&c.default.createElement("li",{className:"wiki"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/wiki",state:h}},c.default.createElement("i",{className:"iconfont icon-a-wikiicon1 color-grey-3 mr5 font-14"}),c.default.createElement("span",null,"Wiki"))),"devops"===e.menu_name&&x?c.default.createElement("li",{className:"devops"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/devops",state:o({},h,{open_devops:y})}},c.default.createElement("i",{className:"iconfont icon-gongzuoliuicon font-13 mr5 color-grey-3"}),"工作流(beta版)",b&&b.ops_count?c.default.createElement("span",null,b.ops_count):"")):"","versions"===e.menu_name&&c.default.createElement("li",{className:"milestones"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/milestones",state:h}},c.default.createElement("i",{className:"milestones"===m?"iconfont icon-lichengbeiicon color-grey-3 mr5 font-14":"iconfont icon-lichengbeiicon color-grey-6 font-14 mr5"}),c.default.createElement("span",null,"里程碑"),b&&b.versions_count?c.default.createElement("span",{className:"num"},(0,u.numFormat)(b.versions_count)):"")),"activity"===e.menu_name&&c.default.createElement("li",{className:"activity"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/activity",state:h}},c.default.createElement("i",{className:"activity"===m?"iconfont icon-dongtaiicon color-grey-3 mr5 font-14":"iconfont icon-dongtaiicon color-grey-6 font-14 mr5"}),c.default.createElement("span",null,"动态"))),"settings"===e.menu_name&&c.default.createElement("li",{className:"settings"===m?"active":""},c.default.createElement(s.Link,{to:"/"+d+"/"+p+"/settings"},c.default.createElement("i",{className:f&&f.indexOf("/settings")>0?"iconfont icon-cangkushezhiicon color-grey-3 mr5 font-14":"iconfont icon-cangkushezhiicon color-grey-6 font-14 mr5"}),c.default.createElement("span",null,"仓库设置"))))}))):c.default.createElement(a.default,{paragraph:!1,active:!0}))}},qmW9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();t.ImageLayerOfCommentHOC=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n){function o(e){u(this,o);var t=d(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return t.onDelegateClick=function(e){var n=e.target.src||e.target.getAttribute("src")||e.target.getAttribute("href"),a=e.target.innerHTML.trim();if((0,c.isImageExtension)(n.trim())||(0,c.isImageExtension)(a)||"IMG"==e.target.tagName)return-1===n.indexOf("/images/avatars/User")&&-1===n.indexOf("kindeditor/plugins/emoticons")&&t.setState({showImage:!0,imageSrc:n}),e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.originalEvent.preventDefault(),!1},t.onImageLayerClose=function(){t.setState({showImage:!1,imageSrc:""})},t.MdifHasAnchorJustScorll=function(){var e=decodeURI(t.props.location.hash).replace("#","");if(e){var n=document.getElementsByName(e);n&&0!=n.length&&n[n.length-1].scrollIntoView()}},t.state={showImage:!1,imageSrc:""},t}return p(o,n),r(o,[{key:"componentDidMount",value:function(){var t=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs.wrappedComponentRef),setTimeout((function(){f(e.parentSelector||".commentsDelegateParent").delegate(e.imgSelector||".J_Comment_Reply .comment_content img, .J_Comment_Reply .childrenCommentsView img","click",t.onDelegateClick)}),1200)}},{key:"componentWillUnmount",value:function(){f(e.parentSelector||".commentsDelegateParent","click",this.onDelegateClick)}},{key:"render",value:function(){return this.MdifHasAnchorJustScorll(),l.default.createElement(l.default.Fragment,null,l.default.createElement(i.default,a({},this.state,{onImageLayerClose:this.onImageLayerClose})),l.default.createElement(t,a({},this.props,{ref:"wrappedComponentRef"})))}}]),o}(o.Component)}};var o=n("q1tI"),l=s(o),i=s(n("Ozcj")),c=n("sYIF");function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=window.$},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GroupProjectBackgroup=t.Content=t.Cancel=t.GreenUnder=t.NumUl=t.Redback=t.Blueback=t.Greenback=t.Greenline=t.Redline=t.Blueline=t.WhiteBack=t.Gap=t.Short=t.ShortWidth=t.Long=t.LongWidth=t.Box=t.AlignAJBottom=t.AlignTop=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var a,r=O(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),o=O(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),l=O(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),i=O(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),c=O(["{\n display:flex;\n align-items: flex-start;\n}"],["{\n display:flex;\n align-items: flex-start;\n}"]),s=O(["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"],["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"]),u=O(["{\n display:flex;\n align-items:flex-start;\n}"],["{\n display:flex;\n align-items:flex-start;\n}"]),d=O(["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"]),p=O(["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),f=O(["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"]),m=O(["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"]),h=O(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),g=O(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),b=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),x=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),y=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),E=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),w=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),_=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),v=O(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),k=O(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),j=O(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),I=O(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),N=O(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),S=n("vOnD"),C=(a=S)&&a.__esModule?a:{default:a};function O(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=C.default.div(r),t.AlignCenterBetween=C.default.div(o),t.FlexAJ=C.default.div(l),t.AlignCenter=C.default.div(i),t.AlignTop=C.default.div(c),t.AlignAJBottom=C.default.div(s),t.Box=C.default.div(u),t.LongWidth=C.default.div(d),t.Long=C.default.div(p),t.ShortWidth=C.default.div(f),t.Short=C.default.div(m),t.Gap=C.default.div(h),t.WhiteBack=C.default.div(g),t.Blueline=C.default.a(b),t.Redline=C.default.a(x,(function(e){return e.bold?"#fff":"#F73030"}),(function(e){return e.bold?"#F73030":"#fff"})),t.Greenline=C.default.a(y,(function(e){return e.bold?"#fff":"#28BD6C"}),(function(e){return e.bold?"#28BD6C":"#fff"})),t.Greenback=C.default.a(E),t.Blueback=C.default.a(w),t.Redback=C.default.a(_),t.NumUl=C.default.ul(v),t.GreenUnder=C.default.a(k),t.Cancel=C.default.a(j),t.Content=C.default.div(I),t.GroupProjectBackgroup=C.default.div(N)}}]); \ No newline at end of file diff --git a/static/js/126.3a5f0f38.chunk.js b/static/js/126.92802f64.chunk.js similarity index 92% rename from static/js/126.3a5f0f38.chunk.js rename to static/js/126.92802f64.chunk.js index 4d959e1eb..6cf4ec90a 100644 --- a/static/js/126.3a5f0f38.chunk.js +++ b/static/js/126.92802f64.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[126],{dtw8:function(t,e,r){"use strict";r.r(e);var n=r("8Wa3");r.d(e,"MemoryRouter",(function(){return n.a}));var a=r("LWYa");r.d(e,"Prompt",(function(){return a.a}));var u=r("mLw1");r.d(e,"Redirect",(function(){return u.a}));var o=r("4p7I");r.d(e,"Route",(function(){return o.a}));var c=r("nr6O");r.d(e,"Router",(function(){return c.a}));var i=r("yczp");r.d(e,"StaticRouter",(function(){return i.a}));var d=r("yoKv");r.d(e,"Switch",(function(){return d.a}));var f=r("l1PF");r.d(e,"generatePath",(function(){return f.a}));var l=r("SsKX");r.d(e,"matchPath",(function(){return l.a}));var s=r("9C/b");r.d(e,"withRouter",(function(){return s.a}))},mfn9:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},a=s(r("q1tI")),u=r("eO8H"),o=r("dtw8"),c=s(r("CnBM")),i=s(r("HUFq")),d=r("sYIF"),f=r("1thW"),l=r("5A3O");function s(t){return t&&t.__esModule?t:{default:t}}var v=(0,c.default)({loader:function(){return Promise.all([r.e(2),r.e(13),r.e(12)]).then(r.t.bind(null,"NUct",7))},loading:i.default});e.default=(0,o.withRouter)((0,f.CNotificationHOC)()((0,d.SnackbarHOC)()((0,l.TPMIndexHOC)((function(t){return a.default.createElement(u.Switch,null,a.default.createElement(u.Route,{path:"/:owner/:projectsId",render:function(e){return a.default.createElement(v,n({},t,e))}}))})))))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[126],{dtw8:function(t,e,r){"use strict";r.r(e);var n=r("8Wa3");r.d(e,"MemoryRouter",(function(){return n.a}));var a=r("LWYa");r.d(e,"Prompt",(function(){return a.a}));var u=r("mLw1");r.d(e,"Redirect",(function(){return u.a}));var o=r("4p7I");r.d(e,"Route",(function(){return o.a}));var c=r("nr6O");r.d(e,"Router",(function(){return c.a}));var i=r("yczp");r.d(e,"StaticRouter",(function(){return i.a}));var d=r("yoKv");r.d(e,"Switch",(function(){return d.a}));var f=r("l1PF");r.d(e,"generatePath",(function(){return f.a}));var l=r("SsKX");r.d(e,"matchPath",(function(){return l.a}));var s=r("9C/b");r.d(e,"withRouter",(function(){return s.a}))},mfn9:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},a=s(r("q1tI")),u=r("eO8H"),o=r("dtw8"),c=s(r("CnBM")),i=s(r("HUFq")),d=r("sYIF"),f=r("1thW"),l=r("5A3O");function s(t){return t&&t.__esModule?t:{default:t}}var v=(0,c.default)({loader:function(){return Promise.all([r.e(2),r.e(14),r.e(13)]).then(r.t.bind(null,"NUct",7))},loading:i.default});e.default=(0,o.withRouter)((0,f.CNotificationHOC)()((0,d.SnackbarHOC)()((0,l.TPMIndexHOC)((function(t){return a.default.createElement(u.Switch,null,a.default.createElement(u.Route,{path:"/:owner/:projectsId",render:function(e){return a.default.createElement(v,n({},t,e))}}))})))))}}]); \ No newline at end of file diff --git a/static/js/127.228308e9.chunk.js b/static/js/127.c92bb2ec.chunk.js similarity index 93% rename from static/js/127.228308e9.chunk.js rename to static/js/127.c92bb2ec.chunk.js index 7ca636a23..4b05b5fc6 100644 --- a/static/js/127.228308e9.chunk.js +++ b/static/js/127.c92bb2ec.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[127],{dtw8:function(t,e,n){"use strict";n.r(e);var r=n("8Wa3");n.d(e,"MemoryRouter",(function(){return r.a}));var a=n("LWYa");n.d(e,"Prompt",(function(){return a.a}));var u=n("mLw1");n.d(e,"Redirect",(function(){return u.a}));var o=n("4p7I");n.d(e,"Route",(function(){return o.a}));var i=n("nr6O");n.d(e,"Router",(function(){return i.a}));var c=n("yczp");n.d(e,"StaticRouter",(function(){return c.a}));var l=n("yoKv");n.d(e,"Switch",(function(){return l.a}));var d=n("l1PF");n.d(e,"generatePath",(function(){return d.a}));var f=n("SsKX");n.d(e,"matchPath",(function(){return f.a}));var s=n("9C/b");n.d(e,"withRouter",(function(){return s.a}))},klRS:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=s(n("q1tI")),u=n("eO8H"),o=s(n("CnBM")),i=s(n("HUFq")),c=n("dtw8"),l=n("sYIF"),d=n("1thW"),f=n("5A3O");function s(t){return t&&t.__esModule?t:{default:t}}var p=(0,o.default)({loader:function(){return n.e(75).then(n.t.bind(null,"xjFL",7))},loading:i.default}),h=(0,o.default)({loader:function(){return Promise.all([n.e(2),n.e(13),n.e(12)]).then(n.t.bind(null,"NUct",7))},loading:i.default});e.default=(0,c.withRouter)((0,d.CNotificationHOC)()((0,l.SnackbarHOC)()((0,f.TPMIndexHOC)((function(t){var e="";t.location.pathname&&(e=t.location.pathname.split("/")[2]);return a.default.createElement(u.Switch,null,e&&!["statistics","projects","notice","devops","organizes","info","following","followers","password"].includes(e)?a.default.createElement(u.Route,{path:"/:owner/:projectsId",render:function(e){return a.default.createElement(h,r({},t,e))}}):a.default.createElement(u.Route,{path:"/:username",render:function(e){return a.default.createElement(p,r({},t,e))}}))})))))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[127],{dtw8:function(t,e,n){"use strict";n.r(e);var r=n("8Wa3");n.d(e,"MemoryRouter",(function(){return r.a}));var a=n("LWYa");n.d(e,"Prompt",(function(){return a.a}));var u=n("mLw1");n.d(e,"Redirect",(function(){return u.a}));var o=n("4p7I");n.d(e,"Route",(function(){return o.a}));var i=n("nr6O");n.d(e,"Router",(function(){return i.a}));var c=n("yczp");n.d(e,"StaticRouter",(function(){return c.a}));var l=n("yoKv");n.d(e,"Switch",(function(){return l.a}));var d=n("l1PF");n.d(e,"generatePath",(function(){return d.a}));var f=n("SsKX");n.d(e,"matchPath",(function(){return f.a}));var s=n("9C/b");n.d(e,"withRouter",(function(){return s.a}))},klRS:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=s(n("q1tI")),u=n("eO8H"),o=s(n("CnBM")),i=s(n("HUFq")),c=n("dtw8"),l=n("sYIF"),d=n("1thW"),f=n("5A3O");function s(t){return t&&t.__esModule?t:{default:t}}var p=(0,o.default)({loader:function(){return n.e(75).then(n.t.bind(null,"xjFL",7))},loading:i.default}),h=(0,o.default)({loader:function(){return Promise.all([n.e(2),n.e(14),n.e(13)]).then(n.t.bind(null,"NUct",7))},loading:i.default});e.default=(0,c.withRouter)((0,d.CNotificationHOC)()((0,l.SnackbarHOC)()((0,f.TPMIndexHOC)((function(t){var e="";t.location.pathname&&(e=t.location.pathname.split("/")[2]);return a.default.createElement(u.Switch,null,e&&!["statistics","projects","notice","devops","organizes","info","following","followers","password"].includes(e)?a.default.createElement(u.Route,{path:"/:owner/:projectsId",render:function(e){return a.default.createElement(h,r({},t,e))}}):a.default.createElement(u.Route,{path:"/:username",render:function(e){return a.default.createElement(p,r({},t,e))}}))})))))}}]); \ No newline at end of file diff --git a/static/js/13.2a7f4b5d.chunk.js b/static/js/13.2a7f4b5d.chunk.js new file mode 100644 index 000000000..666eb833a --- /dev/null +++ b/static/js/13.2a7f4b5d.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[13,132],{"85A0":function(e,t,n){},NUct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=g(n("W9HT")),r=g(n("3S7+")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n("04bd"),n("TfFZ");var i=n("q1tI"),c=g(i),s=n("eO8H"),u=n("spEH"),d=g(n("q7EM"));n("7dqz"),n("85A0");var p=n("qmW9"),f=g(n("CnBM")),m=g(n("HUFq")),h=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var b=(0,f.default)({loader:function(){return n.e(119).then(n.t.bind(null,"6dZj",7))},loading:m.default}),x=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(30),n.e(104)]).then(n.t.bind(null,"DTGX",7))},loading:m.default}),y=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(9),n.e(41)]).then(n.t.bind(null,"IZ3b",7))},loading:m.default}),E=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(4),n.e(37)]).then(n.t.bind(null,"SqvK",7))},loading:m.default}),w=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(19),n.e(62),n.e(80)]).then(n.t.bind(null,"WT1Z",7))},loading:m.default}),_=(0,f.default)({loader:function(){return n.e(112).then(n.t.bind(null,"+JVH",7))},loading:m.default}),v=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(20),n.e(115)]).then(n.t.bind(null,"fyLZ",7))},loading:m.default}),k=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(17),n.e(117)]).then(n.t.bind(null,"s4sY",7))},loading:m.default}),j=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(17),n.e(116)]).then(n.t.bind(null,"IxYK",7))},loading:m.default}),I=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(9),n.e(42)]).then(n.t.bind(null,"+JJy",7))},loading:m.default}),N=((0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(9),n.e(40)]).then(n.t.bind(null,"Gofe",7))},loading:m.default}),(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(51)]).then(n.t.bind(null,"VSCt",7))},loading:m.default})),S=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(4),n.e(33)]).then(n.t.bind(null,"YxIK",7))},loading:m.default}),C=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(4),n.e(34)]).then(n.t.bind(null,"TiQt",7))},loading:m.default}),O=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(4),n.e(35)]).then(n.t.bind(null,"vhIH",7))},loading:m.default}),P=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(58)]).then(n.t.bind(null,"+nTR",7))},loading:m.default}),R=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(93)]).then(n.t.bind(null,"cFFD",7))},loading:m.default}),B=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(92)]).then(n.t.bind(null,"zM51",7))},loading:m.default}),D=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(120)]).then(n.t.bind(null,"LMhh",7))},loading:m.default}),M=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(113)]).then(n.t.bind(null,"p6ow",7))},loading:m.default}),L=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(11),n.e(18)]).then(n.t.bind(null,"VEFH",7))},loading:m.default}),F=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(12),n.e(11),n.e(20),n.e(36)]).then(n.t.bind(null,"gUMM",7))},loading:m.default}),A=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(87)]).then(n.t.bind(null,"rS1K",7))},loading:m.default}),z=(0,f.default)({loader:function(){return Promise.all([n.e(3),n.e(4),n.e(9),n.e(11),n.e(63)]).then(n.t.bind(null,"B3S4",7))},loading:m.default}),T=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(4),n.e(32)]).then(n.t.bind(null,"tF+v",7))},loading:m.default}),q=(0,f.default)({loader:function(){return n.e(111).then(n.t.bind(null,"cuo/",7))},loading:m.default}),H=(0,f.default)({loader:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(9),n.e(54)]).then(n.t.bind(null,"dINp",7))},loading:m.default}),W=(0,f.default)({loader:function(){return n.e(52).then(n.t.bind(null,"RS/3",7))},loading:m.default});var G=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.componentDidMount=function(){a.getProject()},a.componentDidUpdate=function(e){var t=e.match.params,n=a.props.match.params;e&&a.props&&(t.projectsId!==n.projectsId||t.owner!==n.owner)&&a.getProject()},a.getProject=function(e){var t=a.props.match.params,n=t.projectsId,r="/"+t.owner+"/"+n+"/simple.json";h.default.get(r).then((function(t){t&&t.data&&(a.setState({project:t.data,open_devops:t.data.open_devops,platform:t.data.platform&&"educoder"!==t.data.platform}),0!==t.data.type&&1===t.data.mirror_status?(console.log("--------start channel --------"),a.canvasChannel(),e?a.setState({secondSync:!0,firstSync:!1}):a.setState({firstSync:!0,secondSync:!1})):2===t.data.mirror_status?a.deleteProjectBack():(a.getDetail(),a.setState({firstSync:!1,secondSync:!1})))}))},a.changeOpenDevops=function(e){a.setState({open_devops:e})},a.canvasChannel=function(e){var t="localhost"===window.location.hostname?"testforgeplus.trustie.net":window.location.hostname,r=n("9e53"),o=a.state.project,l=r.createConsumer("wss://"+t+"/cable");a.canvasChannel1=l.subscriptions.create({channel:"MirrorProjectChannel",id:o&&o.id},{connected:function(){console.log("###### channel connected! ######")},disconnected:function(){},received:function(t){console.log("###### ---received data--- ######"),console.log(t),t&&(e?(a.props.showNotification("镜像同步成功!"),window.location.reload()):(t.project&&2===t.project.mirror_status&&a.deleteProjectBack(),a.getDetail()),a.setState({firstSync:!1,secondSync:!1}),l.subscriptions.consumer.disconnect())}})},a.deleteProjectBack=function(){var e=a.props.history,t=a.props.match.params,n=t.projectsId,r=t.owner;h.default.delete("/"+r+"/"+n+".json").then((function(t){var n="/projects/mirror/new";t&&t.data?e.push({pathname:n,mirror_status:2}):window.location.hash=n}))},a.getDetail=function(){var e=a.props.match.params,t=e.projectsId,n=e.owner;a.getBanner();var r="/"+n+"/"+t+"/detail.json";h.default.get(r).then((function(e){e&&e.data&&a.setState({projectDetail:e.data,project_id:e.data.project_id,isManager:e.data.permission&&("Manager"===e.data.permission||"Admin"===e.data.permission||"Owner"===e.data.permission),isReporter:e.data.permission&&"Reporter"===e.data.permission,isDeveloper:e.data.permission&&"Developer"===e.data.permission,http_url:e.data.clone_url,praised:e.data.praised,watched:e.data.watched,watchers_count:e.data.watchers_count,praises_count:e.data.praises_count,forked_count:e.data.forked_count,defaultBranch:e.data.default_branch})})).catch((function(e){}))},a.focusFunc=function(e){if(a.state.platform){var t=a.state.project_id;(0,h.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"project",id:t}}).then((function(e){e&&0===e.data.status&&a.setWatchersCount(e.data.watchers_count,e.data.watched)})).catch((function(e){console.log(e)}))}},a.pariseFunc=function(e){if(a.state.platform){var t=a.state.project_id;(0,h.default)({method:e?"delete":"post",url:"/projects/"+t+"/praise_tread/"+(e?"unlike":"like")+".json"}).then((function(e){e&&0===e.data.status&&a.setPraisesCount(e.data.praises_count,e.data.praised)})).catch((function(e){console.log(e)}))}},a.setWatchersCount=function(e,t){a.setState({watched:t,watchers_count:e})},a.setPraisesCount=function(e,t){a.setState({praised:t,praises_count:e})},a.forkFunc=function(){if(a.state.platform){a.setState({forkSpin:!0});var e=a.props.current_user,t=a.props.match.params,n=t.projectsId,r="/"+t.owner+"/"+n+"/forks.json";h.default.post(r).then((function(t){t&&0===t.data.status&&(a.props.history.push("/"+(e&&e.login)+"/"+t.data.identifier),a.props.showNotification(t.data.message)),a.setState({forkSpin:!1})})).catch((function(e){a.setState({forkSpin:!1})}))}},a.synchronismMirror=function(){if(a.state.platform){var e=a.props.match.params,t=e.projectsId,n="/"+e.owner+"/"+t+"/sync_mirror.json";h.default.post(n).then((function(e){e&&e.data&&0===e.data.status?(a.setState({secondSync:!0}),a.canvasChannel(!0)):a.props.showNotification("镜像同步失败!")})).catch((function(e){console.log(e)}))}},a.textFunc=function(e,t){t&&t.fork_project_user_type;return e&&t?c.default.createElement("div",{className:"color-grey-9 df"},c.default.createElement("span",null,"复刻自"),c.default.createElement(s.Link,{to:"/"+t.fork_project_user_login,className:"show-user-link color-grey-6 ml5"},t.fork_project_user_name),c.default.createElement("span",null," / "),c.default.createElement(s.Link,{to:"/"+t.fork_project_user_login+"/"+t.fork_project_identifier,className:"color-grey-6 task-hide flex1",style:{maxWidth:"400px"},title:t.fork_form_name},t.fork_form_name)):""},a.state={projectDetail:void 0,isManager:!1,isReporter:!1,isDeveloper:!1,project_id:void 0,watchers_count:void 0,praises_count:void 0,forked_count:void 0,watched:!1,praised:!1,http_url:void 0,branchs:void 0,branchList:void 0,project:null,firstSync:!1,secondSync:!1,open_devops:!1,forkSpin:!1,defaultBranch:void 0,platform:!1},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"getBanner",value:function(){var e=this,t=this.props.match.params,n=t.projectsId,a="/"+t.owner+"/"+n+"/menu_list.json";h.default.get(a).then((function(t){t&&e.setState({bannerList:t.data})})).catch((function(e){}))}},{key:"render",value:function(){var e=this,t=this.state,n=t.projectDetail,l=t.watchers_count,i=t.praises_count,p=t.forked_count,f=t.firstSync,m=t.secondSync,h=t.isManager,g=t.watched,G=t.praised,J=t.project,U=t.open_devops,Z=t.platform,V=t.defaultBranch,Y=t.bannerList,K=t.forkSpin,Q=this.props.history.location.pathname,X=3===Q.split("/").length,$=this.props.match.params,ee=$.projectsId,te=$.owner,ne=this.props.current_user,ae=function(e,t,n){var a="";if(n&&n!=="/"+t+"/"+e){var r=n.split("/"+t+"/"+e)[1]||"";r.indexOf("/about")>-1?a="about":r.indexOf("/issues")>-1||r.indexOf("Milepost")>0?a="issues":r.indexOf("/pulls")>-1?a="pulls":r.indexOf("/milestones")>-1?a="milestones":r.indexOf("/activity")>-1?a="activity":r.indexOf("/settings")>-1?a="settings":r.indexOf("/devops")>-1?a="devops":r.indexOf("/source")>-1?a="source":r.indexOf("/wiki")>-1&&(a="wiki")}return a}(ee,te,Q),re=this.props.history.location.state,oe={getDetail:this.getDetail,changeOpenDevops:this.changeOpenDevops,defaultBranch:V};return c.default.createElement("div",null,c.default.createElement("div",{className:"detailHeader-wrapper"},c.default.createElement("div",{className:"normal"},c.default.createElement(u.AlignTop,{style:{padding:"18px 0px 10px",justifyContent:"space-between"}},c.default.createElement("div",null,c.default.createElement(u.AlignTop,null,c.default.createElement("div",{className:"projectallName"},J&&J.author&&c.default.createElement(s.Link,{to:"/"+J.author.login},J.author.name),c.default.createElement("span",{className:"ml5 mr5"},"/"),c.default.createElement(s.Link,{to:"/"+te+"/"+ee,className:"projectN mt6"},n&&n.name)),n&&n.private&&c.default.createElement("span",{className:"privateTag mt6"},"私有")),c.default.createElement("div",{className:"mt8"},n&&n.forked_from_project_id&&n.fork_info?this.textFunc(n.forked_from_project_id,n.fork_info):"",n&&n.type&&0!==n.type?c.default.createElement("span",{className:"color-grey-9"},"导入于 ",c.default.createElement("a",{className:"color-grey-6",target:"_blank",href:n.mirror_url},n.mirror_url)):"")),c.default.createElement("div",null,f?"":c.default.createElement("span",{className:"df"},(ne&&ne.admin||h)&&n&&n.type&&2===n.type?c.default.createElement("a",{className:"synchronism ml30",onClick:this.synchronismMirror},"同步镜像"):"",c.default.createElement("span",{className:"detail_tag_btn"},c.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:Z?"pointer":"default"},onClick:function(){return e.focusFunc(g)}},c.default.createElement("i",{className:g?"iconfont icon-shixing color-orange font-16 mr3":"iconfont icon-kongxing color-grey-9 font-16 mr3"}),c.default.createElement("span",null,g?"取消关注":"关注")),l>0?Z?c.default.createElement(s.Link,{className:"detail_tag_btn_count",style:{color:"#666"},to:Z?{pathname:"/"+te+"/"+ee+"/following",state:re}:""},l):c.default.createElement("span",{className:"detail_tag_btn_count"},l):""),c.default.createElement("span",{className:"detail_tag_btn"},c.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:Z?"pointer":"default"},onClick:function(){return e.pariseFunc(G)}},c.default.createElement("i",{className:G?"iconfont icon-weibiaoti105 color-orange font-14 mr3":"iconfont icon-guanzhu color-grey-9 font-14 mr3"}),c.default.createElement("span",null,G?"取消点赞":"点赞")),i>0?Z?c.default.createElement(s.Link,{className:"detail_tag_btn_count",style:{color:"#666"},to:{pathname:"/"+te+"/"+ee+"/stargazers",state:re}},i):c.default.createElement("span",{className:"detail_tag_btn_count"},i):""),c.default.createElement("span",{className:"detail_tag_btn",loading:K},c.default.createElement(r.default,{title:"复刻是fork的中文名,即复制代码仓库",placement:"bottom"},c.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:Z?"pointer":"default"},onClick:this.forkFunc},c.default.createElement("i",{className:"iconfont icon-fork color-grey-9 mr3 font-16"}),c.default.createElement("span",null,"复刻"))),p>0?Z?c.default.createElement(s.Link,{className:"detail_tag_btn_count",to:{pathname:"/"+te+"/"+ee+"/members",state:re}},p):c.default.createElement("span",{className:"detail_tag_btn_count"},p):"")))),f?"":c.default.createElement(d.default,{history:this.props.history,list:Y,owner:te,projectsId:ee,pathname:ae,state:re,projectDetail:n,open_devops:U,platform:Z,urlFlag:X,isManager:h}))),f?c.default.createElement(u.Content,{className:"spincontent"},c.default.createElement(a.default,{className:"spinstyle",tip:J&&"正在从 "+J.mirror_url+" 迁移",size:"large"})):c.default.createElement(a.default,{spinning:m,className:"spinstyle",tip:"正在同步镜像",size:"large"},c.default.createElement(s.Switch,this.props,c.default.createElement(s.Route,{path:"/:owner/:projectsId/source",render:function(){return c.default.createElement(T,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/about",render:function(){return c.default.createElement(z,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/wiki/add",render:function(){return c.default.createElement(W,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/wiki/edit/:wikiName",render:function(){return c.default.createElement(W,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/wiki",render:function(){return c.default.createElement(H,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/devops",render:function(){return c.default.createElement(q,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/tags",render:function(t){return c.default.createElement(x,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/settings",render:function(t){return c.default.createElement(b,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/milestones/:meilid/edit",render:function(t){return c.default.createElement(j,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/milestones/new",render:function(t){return c.default.createElement(k,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/milestones/:meilid",render:function(t){return c.default.createElement(P,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/milestones",render:function(t){return c.default.createElement(v,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/:milepostId/new",render:function(t){return c.default.createElement(y,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/new",render:function(t){return c.default.createElement(y,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/:orderId/:operateName",render:function(t){return c.default.createElement(I,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/:orderId/copyetail",render:function(t){return c.default.createElement(I,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues/:orderId",render:function(t){return c.default.createElement(E,o({},e.props,e.state,t,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/activity",render:function(t){return c.default.createElement(A,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/issues",render:function(t){return c.default.createElement(w,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls/new/:branch",render:function(t){return c.default.createElement(S,o({},e.props,t,e.state,oe,{is_fork:!0}))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls/new",render:function(t){return c.default.createElement(S,o({},e.props,t,e.state,oe,{is_fork:!0}))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls/:mergeId/UpdateMerge",render:function(t){return c.default.createElement(O,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls/:mergeId/Messagecount",render:function(t){return c.default.createElement(C,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls/:mergeId/MergeSubmit",render:function(t){return c.default.createElement(C,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/pulls",render:function(t){return c.default.createElement(N,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/following",render:function(t){return c.default.createElement(R,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/stargazers",render:function(t){return c.default.createElement(B,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/members",render:function(t){return c.default.createElement(D,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/contribute",render:function(){return c.default.createElement(M,o({},e.props,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/commits/branch/:branchName",render:function(t){return c.default.createElement(L,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/tree/:branchName",render:function(t){return c.default.createElement(F,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId/:subIndex",render:function(t){return c.default.createElement(_,o({},e.props,t,e.state,oe))}}),c.default.createElement(s.Route,{path:"/:owner/:projectsId",render:function(t){return c.default.createElement(F,o({},e.props,t,e.state,oe))}}))))}}]),t}(i.Component);t.default=(0,p.ImageLayerOfCommentHOC)({imgSelector:".imageLayerParent img, .imageLayerParent .imageTarget",parentSelector:".newContainer"})(G)},q7EM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=d(n("/ezw")),r=d(n("3S7+")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,o=void 0;try{for(var l,i=e[Symbol.iterator]();!(a=(l=i.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{!a&&i.return&&i.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("chzn"),n("TfFZ");var i=n("q1tI"),c=d(i),s=n("eO8H"),u=n("sYIF");function d(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.history,n=e.list,d=e.owner,p=e.projectsId,f=(e.isManager,e.url),m=e.pathname,h=e.state,g=e.urlFlag,b=e.projectDetail,x=e.platform,y=e.open_devops,E=(0,i.useState)(void 0),w=l(E,2),_=w[0],v=w[1];return(0,i.useEffect)((function(){if(n){if(m&&"source"===m){var e=n.filter((function(e){return"resources"===e.menu_name}));e&&0===e.length&&t.push("/"+d+"/"+p)}v(n)}}),[n]),c.default.createElement("div",{className:"f-wrap-between mt25"},_&&b?c.default.createElement("ul",{className:"headerMenu-wrapper"},Array.isArray(_)&&_.map((function(e,t){return c.default.createElement(c.default.Fragment,{key:e.menu_name},"home"===e.menu_name&&c.default.createElement("li",{className:"about"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/about",state:h}},c.default.createElement("i",{className:"iconfont icon-zhuye-fill color-grey-3 mr5 font-14"}),c.default.createElement("span",null,"主页"))),"code"===e.menu_name&&c.default.createElement("li",{className:""===m||g?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p,state:h}},c.default.createElement("i",{className:"iconfont icon-daimakuicon1 color-grey-3 mr5 font-14"}),c.default.createElement("span",null,"代码库"))),"issues"===e.menu_name&&c.default.createElement("li",{className:"issues"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/issues",state:h}},c.default.createElement(r.default,{title:"易修是Issue的中文名,即问题列表",placement:"bottom"},c.default.createElement("i",{className:"iconfont icon-yixiuicon1 color-grey-3 mr5 font-14"}),c.default.createElement("span",null,"易修")),b&&b.issues_count?c.default.createElement("span",{className:"num"},(0,u.numFormat)(b.issues_count)):"")),"pulls"===e.menu_name&&b&&2!==parseInt(b.type)&&x?c.default.createElement("li",{className:"pulls"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/pulls",state:h}},c.default.createElement("i",{className:"iconfont icon-hebingqingqiu1 color-grey-3 mr5 font-14"}),c.default.createElement("span",null,"合并请求"),b&&b.pull_requests_count?c.default.createElement("span",{className:"num"},(0,u.numFormat)(b.pull_requests_count)):"")):"","wiki"===e.menu_name&&c.default.createElement("li",{className:"wiki"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/wiki",state:h}},c.default.createElement("i",{className:"iconfont icon-a-wikiicon1 color-grey-3 mr5 font-14"}),c.default.createElement("span",null,"Wiki"))),"devops"===e.menu_name&&x?c.default.createElement("li",{className:"devops"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/devops",state:o({},h,{open_devops:y})}},c.default.createElement("i",{className:"iconfont icon-gongzuoliuicon font-13 mr5 color-grey-3"}),"工作流(beta版)",b&&b.ops_count?c.default.createElement("span",null,b.ops_count):"")):"","versions"===e.menu_name&&c.default.createElement("li",{className:"milestones"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/milestones",state:h}},c.default.createElement("i",{className:"milestones"===m?"iconfont icon-lichengbeiicon color-grey-3 mr5 font-14":"iconfont icon-lichengbeiicon color-grey-6 font-14 mr5"}),c.default.createElement("span",null,"里程碑"),b&&b.versions_count?c.default.createElement("span",{className:"num"},(0,u.numFormat)(b.versions_count)):"")),"activity"===e.menu_name&&c.default.createElement("li",{className:"activity"===m?"active":""},c.default.createElement(s.Link,{to:{pathname:"/"+d+"/"+p+"/activity",state:h}},c.default.createElement("i",{className:"activity"===m?"iconfont icon-dongtaiicon color-grey-3 mr5 font-14":"iconfont icon-dongtaiicon color-grey-6 font-14 mr5"}),c.default.createElement("span",null,"动态"))),"settings"===e.menu_name&&c.default.createElement("li",{className:"settings"===m?"active":""},c.default.createElement(s.Link,{to:"/"+d+"/"+p+"/settings"},c.default.createElement("i",{className:f&&f.indexOf("/settings")>0?"iconfont icon-cangkushezhiicon color-grey-3 mr5 font-14":"iconfont icon-cangkushezhiicon color-grey-6 font-14 mr5"}),c.default.createElement("span",null,"仓库设置"))))}))):c.default.createElement(a.default,{paragraph:!1,active:!0}))}},qmW9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();t.ImageLayerOfCommentHOC=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n){function o(e){u(this,o);var t=d(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return t.onDelegateClick=function(e){var n=e.target.src||e.target.getAttribute("src")||e.target.getAttribute("href"),a=e.target.innerHTML.trim();if((0,c.isImageExtension)(n.trim())||(0,c.isImageExtension)(a)||"IMG"==e.target.tagName)return-1===n.indexOf("/images/avatars/User")&&-1===n.indexOf("kindeditor/plugins/emoticons")&&t.setState({showImage:!0,imageSrc:n}),e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.originalEvent.preventDefault(),!1},t.onImageLayerClose=function(){t.setState({showImage:!1,imageSrc:""})},t.MdifHasAnchorJustScorll=function(){var e=decodeURI(t.props.location.hash).replace("#","");if(e){var n=document.getElementsByName(e);n&&0!=n.length&&n[n.length-1].scrollIntoView()}},t.state={showImage:!1,imageSrc:""},t}return p(o,n),r(o,[{key:"componentDidMount",value:function(){var t=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs.wrappedComponentRef),setTimeout((function(){f(e.parentSelector||".commentsDelegateParent").delegate(e.imgSelector||".J_Comment_Reply .comment_content img, .J_Comment_Reply .childrenCommentsView img","click",t.onDelegateClick)}),1200)}},{key:"componentWillUnmount",value:function(){f(e.parentSelector||".commentsDelegateParent","click",this.onDelegateClick)}},{key:"render",value:function(){return this.MdifHasAnchorJustScorll(),l.default.createElement(l.default.Fragment,null,l.default.createElement(i.default,a({},this.state,{onImageLayerClose:this.onImageLayerClose})),l.default.createElement(t,a({},this.props,{ref:"wrappedComponentRef"})))}}]),o}(o.Component)}};var o=n("q1tI"),l=s(o),i=s(n("Ozcj")),c=n("sYIF");function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=window.$},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GroupProjectBackgroup=t.Content=t.Cancel=t.GreenUnder=t.NumUl=t.Redback=t.Blueback=t.Greenback=t.Greenline=t.Redline=t.Blueline=t.WhiteBack=t.Gap=t.Short=t.ShortWidth=t.Long=t.LongWidth=t.Box=t.AlignAJBottom=t.AlignTop=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var a,r=O(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),o=O(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),l=O(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),i=O(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),c=O(["{\n display:flex;\n align-items: flex-start;\n}"],["{\n display:flex;\n align-items: flex-start;\n}"]),s=O(["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"],["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"]),u=O(["{\n display:flex;\n align-items:flex-start;\n}"],["{\n display:flex;\n align-items:flex-start;\n}"]),d=O(["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"]),p=O(["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),f=O(["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"]),m=O(["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"]),h=O(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),g=O(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),b=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),x=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),y=O(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),E=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),w=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),_=O(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),v=O(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),k=O(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),j=O(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),I=O(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),N=O(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),S=n("vOnD"),C=(a=S)&&a.__esModule?a:{default:a};function O(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=C.default.div(r),t.AlignCenterBetween=C.default.div(o),t.FlexAJ=C.default.div(l),t.AlignCenter=C.default.div(i),t.AlignTop=C.default.div(c),t.AlignAJBottom=C.default.div(s),t.Box=C.default.div(u),t.LongWidth=C.default.div(d),t.Long=C.default.div(p),t.ShortWidth=C.default.div(f),t.Short=C.default.div(m),t.Gap=C.default.div(h),t.WhiteBack=C.default.div(g),t.Blueline=C.default.a(b),t.Redline=C.default.a(x,(function(e){return e.bold?"#fff":"#F73030"}),(function(e){return e.bold?"#F73030":"#fff"})),t.Greenline=C.default.a(y,(function(e){return e.bold?"#fff":"#28BD6C"}),(function(e){return e.bold?"#28BD6C":"#fff"})),t.Greenback=C.default.a(E),t.Blueback=C.default.a(w),t.Redback=C.default.a(_),t.NumUl=C.default.ul(v),t.GreenUnder=C.default.a(k),t.Cancel=C.default.a(j),t.Content=C.default.div(I),t.GroupProjectBackgroup=C.default.div(N)}}]); \ No newline at end of file diff --git a/static/js/13.7fbcee50.chunk.js b/static/js/14.47d6b04d.chunk.js similarity index 99% rename from static/js/13.7fbcee50.chunk.js rename to static/js/14.47d6b04d.chunk.js index 1c1454d0f..f8110eb7c 100644 --- a/static/js/13.7fbcee50.chunk.js +++ b/static/js/14.47d6b04d.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[13],{"/ezw":function(t,e,n){"use strict";n.r(e);var o=n("q1tI"),r=n("TSYQ"),i=n.n(r);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(h,t);var e,n,r,c=f(h);function h(){return l(this,h),c.apply(this,arguments)}return e=h,(n=[{key:"render",value:function(){var t,e,n=this.props,r=n.prefixCls,c=n.className,l=n.style,a=n.size,p=n.shape,f=i()((u(t={},"".concat(r,"-lg"),"large"===a),u(t,"".concat(r,"-sm"),"small"===a),t)),h=i()((u(e={},"".concat(r,"-circle"),"circle"===p),u(e,"".concat(r,"-square"),"square"===p),e)),y="number"==typeof a?{width:a,height:a,lineHeight:"".concat(a,"px")}:{};return o.createElement("span",{className:i()(r,c,f,h),style:s(s({},y),l)})}}])&&a(e.prototype,n),r&&a(e,r),h}(o.Component);d.defaultProps={size:"large"};var b=d;function g(){return(g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}var v=function(t){var e=t.prefixCls,n=t.className,r=t.width,c=t.style;return o.createElement("h3",{className:i()(e,n),style:g({width:r},c)})};function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=k(t);if(e){var r=k(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return j(this,n)}}function j(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var R=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e)}(s,t);var e,n,r,c=P(s);function s(){return O(this,s),c.apply(this,arguments)}return e=s,(n=[{key:"getWidth",value:function(t){var e=this.props,n=e.width,o=e.rows,r=void 0===o?2:o;return Array.isArray(n)?n[t]:r-1===t?n:void 0}},{key:"render",value:function(){var t=this,e=this.props,n=e.prefixCls,r=e.className,c=e.style,s=e.rows,u=S(Array(s)).map((function(e,n){return o.createElement("li",{key:n,style:{width:t.getWidth(n)}})}));return o.createElement("ul",{className:i()(n,r),style:c},u)}}])&&A(e.prototype,n),r&&A(e,r),s}(o.Component),_=n("H84U");function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function x(){return(x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function I(t,e){return(I=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=M(t);if(e){var r=M(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return W(this,n)}}function W(t,e){return!e||"object"!==L(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function M(t){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function H(t){return t&&"object"===L(t)?t:{}}function J(t,e){return t&&!e?{shape:"square"}:{shape:"circle"}}function q(t,e){return!t&&e?{width:"38%"}:t&&e?{width:"50%"}:{}}function z(t,e){var n={};return t&&e||(n.width="61%"),n.rows=!t&&e?3:2,n}var U=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I(t,e)}(s,t);var e,n,r,c=N(s);function s(){var t;return T(this,s),(t=c.apply(this,arguments)).renderSkeleton=function(e){var n=e.getPrefixCls,r=t.props,c=r.prefixCls,s=r.loading,u=r.className,l=r.children,a=r.avatar,p=r.title,f=r.paragraph,h=r.active,y=n("skeleton",c);if(s||!("loading"in t.props)){var d,g,m,S=!!a,w=!!p,O=!!f;if(S){var A=x(x({prefixCls:"".concat(y,"-avatar")},J(w,O)),H(a));g=o.createElement("div",{className:"".concat(y,"-header")},o.createElement(b,A))}if(w||O){var C,P;if(w){var j=x(x({prefixCls:"".concat(y,"-title")},q(S,O)),H(p));C=o.createElement(v,j)}if(O){var k=x(x({prefixCls:"".concat(y,"-paragraph")},z(S,w)),H(f));P=o.createElement(R,k)}m=o.createElement("div",{className:"".concat(y,"-content")},C,P)}var _=i()(y,u,(E(d={},"".concat(y,"-with-avatar"),S),E(d,"".concat(y,"-active"),h),d));return o.createElement("div",{className:_},g,m)}return l},t}return e=s,(n=[{key:"render",value:function(){return o.createElement(_.a,null,this.renderSkeleton)}}])&&D(e.prototype,n),r&&D(e,r),s}(o.Component);U.defaultProps={avatar:!1,title:!0,paragraph:!0};e.default=U},"9e53":function(t,e,n){var o,r;(function(){(function(){(function(){var t=[].slice;this.ActionCable={INTERNAL:{message_types:{welcome:"welcome",ping:"ping",confirmation:"confirm_subscription",rejection:"reject_subscription"},default_mount_path:"/cable",protocols:["actioncable-v1-json","actioncable-unsupported"]},WebSocket:window.WebSocket,logger:window.console,createConsumer:function(t){var e;return null==t&&(t=null!=(e=this.getConfig("url"))?e:this.INTERNAL.default_mount_path),new i.Consumer(this.createWebSocketURL(t))},getConfig:function(t){var e;return null!=(e=document.head.querySelector("meta[name='action-cable-"+t+"']"))?e.getAttribute("content"):void 0},createWebSocketURL:function(t){var e;return t&&!/^wss?:/i.test(t)?((e=document.createElement("a")).href=t,e.href=e.href,e.protocol=e.protocol.replace("http","ws"),e.href):t},startDebugging:function(){return this.debugging=!0},stopDebugging:function(){return this.debugging=null},log:function(){var e,n;if(e=1<=arguments.length?t.call(arguments,0):[],this.debugging)return e.push(Date.now()),(n=this.logger).log.apply(n,["[ActionCable]"].concat(t.call(e)))}}}).call(this)}).call(this);var i=this.ActionCable;(function(){(function(){i.ConnectionMonitor=function(){var t,e,n;function o(t){var e,n;this.connection=t,this.visibilityDidChange=(e=this.visibilityDidChange,n=this,function(){return e.apply(n,arguments)}),this.reconnectAttempts=0}return o.pollInterval={min:3,max:30},o.staleThreshold=6,o.prototype.start=function(){if(!this.isRunning())return this.startedAt=e(),delete this.stoppedAt,this.startPolling(),document.addEventListener("visibilitychange",this.visibilityDidChange),i.log("ConnectionMonitor started. pollInterval = "+this.getPollInterval()+" ms")},o.prototype.stop=function(){if(this.isRunning())return this.stoppedAt=e(),this.stopPolling(),document.removeEventListener("visibilitychange",this.visibilityDidChange),i.log("ConnectionMonitor stopped")},o.prototype.isRunning=function(){return null!=this.startedAt&&null==this.stoppedAt},o.prototype.recordPing=function(){return this.pingedAt=e()},o.prototype.recordConnect=function(){return this.reconnectAttempts=0,this.recordPing(),delete this.disconnectedAt,i.log("ConnectionMonitor recorded connect")},o.prototype.recordDisconnect=function(){return this.disconnectedAt=e(),i.log("ConnectionMonitor recorded disconnect")},o.prototype.startPolling=function(){return this.stopPolling(),this.poll()},o.prototype.stopPolling=function(){return clearTimeout(this.pollTimeout)},o.prototype.poll=function(){return this.pollTimeout=setTimeout((t=this,function(){return t.reconnectIfStale(),t.poll()}),this.getPollInterval());var t},o.prototype.getPollInterval=function(){var e,n,o,r;return o=(r=this.constructor.pollInterval).min,n=r.max,e=5*Math.log(this.reconnectAttempts+1),Math.round(1e3*t(e,o,n))},o.prototype.reconnectIfStale=function(){if(this.connectionIsStale())return i.log("ConnectionMonitor detected stale connection. reconnectAttempts = "+this.reconnectAttempts+", pollInterval = "+this.getPollInterval()+" ms, time disconnected = "+n(this.disconnectedAt)+" s, stale threshold = "+this.constructor.staleThreshold+" s"),this.reconnectAttempts++,this.disconnectedRecently()?i.log("ConnectionMonitor skipping reopening recent disconnect"):(i.log("ConnectionMonitor reopening"),this.connection.reopen())},o.prototype.connectionIsStale=function(){var t;return n(null!=(t=this.pingedAt)?t:this.startedAt)>this.constructor.staleThreshold},o.prototype.disconnectedRecently=function(){return this.disconnectedAt&&n(this.disconnectedAt)<this.constructor.staleThreshold},o.prototype.visibilityDidChange=function(){if("visible"===document.visibilityState)return setTimeout((t=this,function(){if(t.connectionIsStale()||!t.connection.isOpen())return i.log("ConnectionMonitor reopening stale connection on visibilitychange. visbilityState = "+document.visibilityState),t.connection.reopen()}),200);var t},e=function(){return(new Date).getTime()},n=function(t){return(e()-t)/1e3},t=function(t,e,n){return Math.max(e,Math.min(n,t))},o}()}).call(this),function(){var t,e,n,o,r,c=[].slice,s=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1};o=i.INTERNAL,e=o.message_types,n=o.protocols,r=2<=n.length?c.call(n,0,t=n.length-1):(t=0,[]),n[t++],i.Connection=function(){function t(t){var e,n;this.consumer=t,this.open=(e=this.open,n=this,function(){return e.apply(n,arguments)}),this.subscriptions=this.consumer.subscriptions,this.monitor=new i.ConnectionMonitor(this),this.disconnected=!0}return t.reopenDelay=500,t.prototype.send=function(t){return!!this.isOpen()&&(this.webSocket.send(JSON.stringify(t)),!0)},t.prototype.open=function(){return this.isActive()?(i.log("Attempted to open WebSocket, but existing socket is "+this.getState()),!1):(i.log("Opening WebSocket, current state is "+this.getState()+", subprotocols: "+n),null!=this.webSocket&&this.uninstallEventHandlers(),this.webSocket=new i.WebSocket(this.consumer.url,n),this.installEventHandlers(),this.monitor.start(),!0)},t.prototype.close=function(t){var e;if((null!=t?t:{allowReconnect:!0}).allowReconnect||this.monitor.stop(),this.isActive())return null!=(e=this.webSocket)?e.close():void 0},t.prototype.reopen=function(){var t;if(i.log("Reopening WebSocket, current state is "+this.getState()),!this.isActive())return this.open();try{return this.close()}catch(e){return t=e,i.log("Failed to reopen WebSocket",t)}finally{i.log("Reopening WebSocket in "+this.constructor.reopenDelay+"ms"),setTimeout(this.open,this.constructor.reopenDelay)}},t.prototype.getProtocol=function(){var t;return null!=(t=this.webSocket)?t.protocol:void 0},t.prototype.isOpen=function(){return this.isState("open")},t.prototype.isActive=function(){return this.isState("open","connecting")},t.prototype.isProtocolSupported=function(){var t;return t=this.getProtocol(),s.call(r,t)>=0},t.prototype.isState=function(){var t,e;return e=1<=arguments.length?c.call(arguments,0):[],t=this.getState(),s.call(e,t)>=0},t.prototype.getState=function(){var t,e;for(e in WebSocket)if(WebSocket[e]===(null!=(t=this.webSocket)?t.readyState:void 0))return e.toLowerCase();return null},t.prototype.installEventHandlers=function(){var t,e;for(t in this.events)e=this.events[t].bind(this),this.webSocket["on"+t]=e},t.prototype.uninstallEventHandlers=function(){var t;for(t in this.events)this.webSocket["on"+t]=function(){}},t.prototype.events={message:function(t){var n,o,r;if(this.isProtocolSupported())switch(n=(r=JSON.parse(t.data)).identifier,o=r.message,r.type){case e.welcome:return this.monitor.recordConnect(),this.subscriptions.reload();case e.ping:return this.monitor.recordPing();case e.confirmation:return this.subscriptions.notify(n,"connected");case e.rejection:return this.subscriptions.reject(n);default:return this.subscriptions.notify(n,"received",o)}},open:function(){if(i.log("WebSocket onopen event, using '"+this.getProtocol()+"' subprotocol"),this.disconnected=!1,!this.isProtocolSupported())return i.log("Protocol is unsupported. Stopping monitor and disconnecting."),this.close({allowReconnect:!1})},close:function(t){if(i.log("WebSocket onclose event"),!this.disconnected)return this.disconnected=!0,this.monitor.recordDisconnect(),this.subscriptions.notifyAll("disconnected",{willAttemptReconnect:this.monitor.isRunning()})},error:function(){return i.log("WebSocket onerror event")}},t}()}.call(this),function(){var t=[].slice;i.Subscriptions=function(){function e(t){this.consumer=t,this.subscriptions=[]}return e.prototype.create=function(t,e){var n,o,r;return o="object"==typeof(n=t)?n:{channel:n},r=new i.Subscription(this.consumer,o,e),this.add(r)},e.prototype.add=function(t){return this.subscriptions.push(t),this.consumer.ensureActiveConnection(),this.notify(t,"initialized"),this.sendCommand(t,"subscribe"),t},e.prototype.remove=function(t){return this.forget(t),this.findAll(t.identifier).length||this.sendCommand(t,"unsubscribe"),t},e.prototype.reject=function(t){var e,n,o,r,i;for(r=[],e=0,n=(o=this.findAll(t)).length;e<n;e++)i=o[e],this.forget(i),this.notify(i,"rejected"),r.push(i);return r},e.prototype.forget=function(t){var e;return this.subscriptions=function(){var n,o,r,i;for(i=[],n=0,o=(r=this.subscriptions).length;n<o;n++)(e=r[n])!==t&&i.push(e);return i}.call(this),t},e.prototype.findAll=function(t){var e,n,o,r,i;for(r=[],e=0,n=(o=this.subscriptions).length;e<n;e++)(i=o[e]).identifier===t&&r.push(i);return r},e.prototype.reload=function(){var t,e,n,o,r;for(o=[],t=0,e=(n=this.subscriptions).length;t<e;t++)r=n[t],o.push(this.sendCommand(r,"subscribe"));return o},e.prototype.notifyAll=function(){var e,n,o,r,i,c,s;for(n=arguments[0],e=2<=arguments.length?t.call(arguments,1):[],c=[],o=0,r=(i=this.subscriptions).length;o<r;o++)s=i[o],c.push(this.notify.apply(this,[s,n].concat(t.call(e))));return c},e.prototype.notify=function(){var e,n,o,r,i,c,s;for(c=arguments[0],n=arguments[1],e=3<=arguments.length?t.call(arguments,2):[],i=[],o=0,r=(s="string"==typeof c?this.findAll(c):[c]).length;o<r;o++)c=s[o],i.push("function"==typeof c[n]?c[n].apply(c,e):void 0);return i},e.prototype.sendCommand=function(t,e){var n;return n=t.identifier,this.consumer.send({command:e,identifier:n})},e}()}.call(this),function(){i.Subscription=function(){var t;function e(e,n,o){this.consumer=e,null==n&&(n={}),this.identifier=JSON.stringify(n),t(this,o)}return e.prototype.perform=function(t,e){return null==e&&(e={}),e.action=t,this.send(e)},e.prototype.send=function(t){return this.consumer.send({command:"message",identifier:this.identifier,data:JSON.stringify(t)})},e.prototype.unsubscribe=function(){return this.consumer.subscriptions.remove(this)},t=function(t,e){var n,o;if(null!=e)for(n in e)o=e[n],t[n]=o;return t},e}()}.call(this),function(){i.Consumer=function(){function t(t){this.url=t,this.subscriptions=new i.Subscriptions(this),this.connection=new i.Connection(this)}return t.prototype.send=function(t){return this.connection.send(t)},t.prototype.connect=function(){return this.connection.open()},t.prototype.disconnect=function(){return this.connection.close({allowReconnect:!1})},t.prototype.ensureActiveConnection=function(){if(!this.connection.isActive())return this.connection.open()},t}()}.call(this)}).call(this),t.exports?t.exports=i:void 0===(r="function"==typeof(o=i)?o.call(e,n,e,t):o)||(t.exports=r)}).call(this)},ZLOB:function(t,e,n){},chzn:function(t,e,n){"use strict";n.r(e);n("SchZ"),n("ZLOB")}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[14],{"/ezw":function(t,e,n){"use strict";n.r(e);var o=n("q1tI"),r=n("TSYQ"),i=n.n(r);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(h,t);var e,n,r,c=f(h);function h(){return l(this,h),c.apply(this,arguments)}return e=h,(n=[{key:"render",value:function(){var t,e,n=this.props,r=n.prefixCls,c=n.className,l=n.style,a=n.size,p=n.shape,f=i()((u(t={},"".concat(r,"-lg"),"large"===a),u(t,"".concat(r,"-sm"),"small"===a),t)),h=i()((u(e={},"".concat(r,"-circle"),"circle"===p),u(e,"".concat(r,"-square"),"square"===p),e)),y="number"==typeof a?{width:a,height:a,lineHeight:"".concat(a,"px")}:{};return o.createElement("span",{className:i()(r,c,f,h),style:s(s({},y),l)})}}])&&a(e.prototype,n),r&&a(e,r),h}(o.Component);d.defaultProps={size:"large"};var b=d;function g(){return(g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}var v=function(t){var e=t.prefixCls,n=t.className,r=t.width,c=t.style;return o.createElement("h3",{className:i()(e,n),style:g({width:r},c)})};function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=k(t);if(e){var r=k(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return j(this,n)}}function j(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var R=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e)}(s,t);var e,n,r,c=P(s);function s(){return O(this,s),c.apply(this,arguments)}return e=s,(n=[{key:"getWidth",value:function(t){var e=this.props,n=e.width,o=e.rows,r=void 0===o?2:o;return Array.isArray(n)?n[t]:r-1===t?n:void 0}},{key:"render",value:function(){var t=this,e=this.props,n=e.prefixCls,r=e.className,c=e.style,s=e.rows,u=S(Array(s)).map((function(e,n){return o.createElement("li",{key:n,style:{width:t.getWidth(n)}})}));return o.createElement("ul",{className:i()(n,r),style:c},u)}}])&&A(e.prototype,n),r&&A(e,r),s}(o.Component),_=n("H84U");function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function x(){return(x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function I(t,e){return(I=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=M(t);if(e){var r=M(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return W(this,n)}}function W(t,e){return!e||"object"!==L(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function M(t){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function H(t){return t&&"object"===L(t)?t:{}}function J(t,e){return t&&!e?{shape:"square"}:{shape:"circle"}}function q(t,e){return!t&&e?{width:"38%"}:t&&e?{width:"50%"}:{}}function z(t,e){var n={};return t&&e||(n.width="61%"),n.rows=!t&&e?3:2,n}var U=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I(t,e)}(s,t);var e,n,r,c=N(s);function s(){var t;return T(this,s),(t=c.apply(this,arguments)).renderSkeleton=function(e){var n=e.getPrefixCls,r=t.props,c=r.prefixCls,s=r.loading,u=r.className,l=r.children,a=r.avatar,p=r.title,f=r.paragraph,h=r.active,y=n("skeleton",c);if(s||!("loading"in t.props)){var d,g,m,S=!!a,w=!!p,O=!!f;if(S){var A=x(x({prefixCls:"".concat(y,"-avatar")},J(w,O)),H(a));g=o.createElement("div",{className:"".concat(y,"-header")},o.createElement(b,A))}if(w||O){var C,P;if(w){var j=x(x({prefixCls:"".concat(y,"-title")},q(S,O)),H(p));C=o.createElement(v,j)}if(O){var k=x(x({prefixCls:"".concat(y,"-paragraph")},z(S,w)),H(f));P=o.createElement(R,k)}m=o.createElement("div",{className:"".concat(y,"-content")},C,P)}var _=i()(y,u,(E(d={},"".concat(y,"-with-avatar"),S),E(d,"".concat(y,"-active"),h),d));return o.createElement("div",{className:_},g,m)}return l},t}return e=s,(n=[{key:"render",value:function(){return o.createElement(_.a,null,this.renderSkeleton)}}])&&D(e.prototype,n),r&&D(e,r),s}(o.Component);U.defaultProps={avatar:!1,title:!0,paragraph:!0};e.default=U},"9e53":function(t,e,n){var o,r;(function(){(function(){(function(){var t=[].slice;this.ActionCable={INTERNAL:{message_types:{welcome:"welcome",ping:"ping",confirmation:"confirm_subscription",rejection:"reject_subscription"},default_mount_path:"/cable",protocols:["actioncable-v1-json","actioncable-unsupported"]},WebSocket:window.WebSocket,logger:window.console,createConsumer:function(t){var e;return null==t&&(t=null!=(e=this.getConfig("url"))?e:this.INTERNAL.default_mount_path),new i.Consumer(this.createWebSocketURL(t))},getConfig:function(t){var e;return null!=(e=document.head.querySelector("meta[name='action-cable-"+t+"']"))?e.getAttribute("content"):void 0},createWebSocketURL:function(t){var e;return t&&!/^wss?:/i.test(t)?((e=document.createElement("a")).href=t,e.href=e.href,e.protocol=e.protocol.replace("http","ws"),e.href):t},startDebugging:function(){return this.debugging=!0},stopDebugging:function(){return this.debugging=null},log:function(){var e,n;if(e=1<=arguments.length?t.call(arguments,0):[],this.debugging)return e.push(Date.now()),(n=this.logger).log.apply(n,["[ActionCable]"].concat(t.call(e)))}}}).call(this)}).call(this);var i=this.ActionCable;(function(){(function(){i.ConnectionMonitor=function(){var t,e,n;function o(t){var e,n;this.connection=t,this.visibilityDidChange=(e=this.visibilityDidChange,n=this,function(){return e.apply(n,arguments)}),this.reconnectAttempts=0}return o.pollInterval={min:3,max:30},o.staleThreshold=6,o.prototype.start=function(){if(!this.isRunning())return this.startedAt=e(),delete this.stoppedAt,this.startPolling(),document.addEventListener("visibilitychange",this.visibilityDidChange),i.log("ConnectionMonitor started. pollInterval = "+this.getPollInterval()+" ms")},o.prototype.stop=function(){if(this.isRunning())return this.stoppedAt=e(),this.stopPolling(),document.removeEventListener("visibilitychange",this.visibilityDidChange),i.log("ConnectionMonitor stopped")},o.prototype.isRunning=function(){return null!=this.startedAt&&null==this.stoppedAt},o.prototype.recordPing=function(){return this.pingedAt=e()},o.prototype.recordConnect=function(){return this.reconnectAttempts=0,this.recordPing(),delete this.disconnectedAt,i.log("ConnectionMonitor recorded connect")},o.prototype.recordDisconnect=function(){return this.disconnectedAt=e(),i.log("ConnectionMonitor recorded disconnect")},o.prototype.startPolling=function(){return this.stopPolling(),this.poll()},o.prototype.stopPolling=function(){return clearTimeout(this.pollTimeout)},o.prototype.poll=function(){return this.pollTimeout=setTimeout((t=this,function(){return t.reconnectIfStale(),t.poll()}),this.getPollInterval());var t},o.prototype.getPollInterval=function(){var e,n,o,r;return o=(r=this.constructor.pollInterval).min,n=r.max,e=5*Math.log(this.reconnectAttempts+1),Math.round(1e3*t(e,o,n))},o.prototype.reconnectIfStale=function(){if(this.connectionIsStale())return i.log("ConnectionMonitor detected stale connection. reconnectAttempts = "+this.reconnectAttempts+", pollInterval = "+this.getPollInterval()+" ms, time disconnected = "+n(this.disconnectedAt)+" s, stale threshold = "+this.constructor.staleThreshold+" s"),this.reconnectAttempts++,this.disconnectedRecently()?i.log("ConnectionMonitor skipping reopening recent disconnect"):(i.log("ConnectionMonitor reopening"),this.connection.reopen())},o.prototype.connectionIsStale=function(){var t;return n(null!=(t=this.pingedAt)?t:this.startedAt)>this.constructor.staleThreshold},o.prototype.disconnectedRecently=function(){return this.disconnectedAt&&n(this.disconnectedAt)<this.constructor.staleThreshold},o.prototype.visibilityDidChange=function(){if("visible"===document.visibilityState)return setTimeout((t=this,function(){if(t.connectionIsStale()||!t.connection.isOpen())return i.log("ConnectionMonitor reopening stale connection on visibilitychange. visbilityState = "+document.visibilityState),t.connection.reopen()}),200);var t},e=function(){return(new Date).getTime()},n=function(t){return(e()-t)/1e3},t=function(t,e,n){return Math.max(e,Math.min(n,t))},o}()}).call(this),function(){var t,e,n,o,r,c=[].slice,s=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1};o=i.INTERNAL,e=o.message_types,n=o.protocols,r=2<=n.length?c.call(n,0,t=n.length-1):(t=0,[]),n[t++],i.Connection=function(){function t(t){var e,n;this.consumer=t,this.open=(e=this.open,n=this,function(){return e.apply(n,arguments)}),this.subscriptions=this.consumer.subscriptions,this.monitor=new i.ConnectionMonitor(this),this.disconnected=!0}return t.reopenDelay=500,t.prototype.send=function(t){return!!this.isOpen()&&(this.webSocket.send(JSON.stringify(t)),!0)},t.prototype.open=function(){return this.isActive()?(i.log("Attempted to open WebSocket, but existing socket is "+this.getState()),!1):(i.log("Opening WebSocket, current state is "+this.getState()+", subprotocols: "+n),null!=this.webSocket&&this.uninstallEventHandlers(),this.webSocket=new i.WebSocket(this.consumer.url,n),this.installEventHandlers(),this.monitor.start(),!0)},t.prototype.close=function(t){var e;if((null!=t?t:{allowReconnect:!0}).allowReconnect||this.monitor.stop(),this.isActive())return null!=(e=this.webSocket)?e.close():void 0},t.prototype.reopen=function(){var t;if(i.log("Reopening WebSocket, current state is "+this.getState()),!this.isActive())return this.open();try{return this.close()}catch(e){return t=e,i.log("Failed to reopen WebSocket",t)}finally{i.log("Reopening WebSocket in "+this.constructor.reopenDelay+"ms"),setTimeout(this.open,this.constructor.reopenDelay)}},t.prototype.getProtocol=function(){var t;return null!=(t=this.webSocket)?t.protocol:void 0},t.prototype.isOpen=function(){return this.isState("open")},t.prototype.isActive=function(){return this.isState("open","connecting")},t.prototype.isProtocolSupported=function(){var t;return t=this.getProtocol(),s.call(r,t)>=0},t.prototype.isState=function(){var t,e;return e=1<=arguments.length?c.call(arguments,0):[],t=this.getState(),s.call(e,t)>=0},t.prototype.getState=function(){var t,e;for(e in WebSocket)if(WebSocket[e]===(null!=(t=this.webSocket)?t.readyState:void 0))return e.toLowerCase();return null},t.prototype.installEventHandlers=function(){var t,e;for(t in this.events)e=this.events[t].bind(this),this.webSocket["on"+t]=e},t.prototype.uninstallEventHandlers=function(){var t;for(t in this.events)this.webSocket["on"+t]=function(){}},t.prototype.events={message:function(t){var n,o,r;if(this.isProtocolSupported())switch(n=(r=JSON.parse(t.data)).identifier,o=r.message,r.type){case e.welcome:return this.monitor.recordConnect(),this.subscriptions.reload();case e.ping:return this.monitor.recordPing();case e.confirmation:return this.subscriptions.notify(n,"connected");case e.rejection:return this.subscriptions.reject(n);default:return this.subscriptions.notify(n,"received",o)}},open:function(){if(i.log("WebSocket onopen event, using '"+this.getProtocol()+"' subprotocol"),this.disconnected=!1,!this.isProtocolSupported())return i.log("Protocol is unsupported. Stopping monitor and disconnecting."),this.close({allowReconnect:!1})},close:function(t){if(i.log("WebSocket onclose event"),!this.disconnected)return this.disconnected=!0,this.monitor.recordDisconnect(),this.subscriptions.notifyAll("disconnected",{willAttemptReconnect:this.monitor.isRunning()})},error:function(){return i.log("WebSocket onerror event")}},t}()}.call(this),function(){var t=[].slice;i.Subscriptions=function(){function e(t){this.consumer=t,this.subscriptions=[]}return e.prototype.create=function(t,e){var n,o,r;return o="object"==typeof(n=t)?n:{channel:n},r=new i.Subscription(this.consumer,o,e),this.add(r)},e.prototype.add=function(t){return this.subscriptions.push(t),this.consumer.ensureActiveConnection(),this.notify(t,"initialized"),this.sendCommand(t,"subscribe"),t},e.prototype.remove=function(t){return this.forget(t),this.findAll(t.identifier).length||this.sendCommand(t,"unsubscribe"),t},e.prototype.reject=function(t){var e,n,o,r,i;for(r=[],e=0,n=(o=this.findAll(t)).length;e<n;e++)i=o[e],this.forget(i),this.notify(i,"rejected"),r.push(i);return r},e.prototype.forget=function(t){var e;return this.subscriptions=function(){var n,o,r,i;for(i=[],n=0,o=(r=this.subscriptions).length;n<o;n++)(e=r[n])!==t&&i.push(e);return i}.call(this),t},e.prototype.findAll=function(t){var e,n,o,r,i;for(r=[],e=0,n=(o=this.subscriptions).length;e<n;e++)(i=o[e]).identifier===t&&r.push(i);return r},e.prototype.reload=function(){var t,e,n,o,r;for(o=[],t=0,e=(n=this.subscriptions).length;t<e;t++)r=n[t],o.push(this.sendCommand(r,"subscribe"));return o},e.prototype.notifyAll=function(){var e,n,o,r,i,c,s;for(n=arguments[0],e=2<=arguments.length?t.call(arguments,1):[],c=[],o=0,r=(i=this.subscriptions).length;o<r;o++)s=i[o],c.push(this.notify.apply(this,[s,n].concat(t.call(e))));return c},e.prototype.notify=function(){var e,n,o,r,i,c,s;for(c=arguments[0],n=arguments[1],e=3<=arguments.length?t.call(arguments,2):[],i=[],o=0,r=(s="string"==typeof c?this.findAll(c):[c]).length;o<r;o++)c=s[o],i.push("function"==typeof c[n]?c[n].apply(c,e):void 0);return i},e.prototype.sendCommand=function(t,e){var n;return n=t.identifier,this.consumer.send({command:e,identifier:n})},e}()}.call(this),function(){i.Subscription=function(){var t;function e(e,n,o){this.consumer=e,null==n&&(n={}),this.identifier=JSON.stringify(n),t(this,o)}return e.prototype.perform=function(t,e){return null==e&&(e={}),e.action=t,this.send(e)},e.prototype.send=function(t){return this.consumer.send({command:"message",identifier:this.identifier,data:JSON.stringify(t)})},e.prototype.unsubscribe=function(){return this.consumer.subscriptions.remove(this)},t=function(t,e){var n,o;if(null!=e)for(n in e)o=e[n],t[n]=o;return t},e}()}.call(this),function(){i.Consumer=function(){function t(t){this.url=t,this.subscriptions=new i.Subscriptions(this),this.connection=new i.Connection(this)}return t.prototype.send=function(t){return this.connection.send(t)},t.prototype.connect=function(){return this.connection.open()},t.prototype.disconnect=function(){return this.connection.close({allowReconnect:!1})},t.prototype.ensureActiveConnection=function(){if(!this.connection.isActive())return this.connection.open()},t}()}.call(this)}).call(this),t.exports?t.exports=i:void 0===(r="function"==typeof(o=i)?o.call(e,n,e,t):o)||(t.exports=r)}).call(this)},ZLOB:function(t,e,n){},chzn:function(t,e,n){"use strict";n.r(e);n("SchZ"),n("ZLOB")}}]); \ No newline at end of file diff --git a/static/js/18.8162f12b.chunk.js b/static/js/18.8162f12b.chunk.js new file mode 100644 index 000000000..056aa64cd --- /dev/null +++ b/static/js/18.8162f12b.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[18],{"0Rql":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAQCAYAAABtPJ3XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALKADAAQAAAABAAAAEAAAAACYv7IkAAABuElEQVRIDdVWr0/DQBT+ujQowgSZwAAKQkhAoAiGTBT2B+ARM/wIAQx2dgYICdRU4PkDBhM4goYEgwODWBBDIjje17VJV9rudkdIeMmt69137333+n6cg1+StR01L6rqMjwFTFKtA7zKoy0juDl3njhnK6LTTjYaauSjg2PRsqUUSlnaHAdfMu+PVXB41XA+szC6c1aESbbbQQsKVSGF2gqwvgxMTfTMv7wB1/dA6w6Qw9Dlt+UKajakXd2TZeFCzwrZ8TJwtAkszvSjZqcBjtUloHkJvHdRjb7Gbj9S/83Yw1HMPoqpUnPvJ9k0hYdnOdRZOMvwWDCN6cyYSxvLea8zZhkGac9m4YkhNopzJqeR2BD2aJExqysJbLhXd18SZ0w4Ll1xgiWV5v2PsfHePFzRvOtth/lbhMleY9abisKoqV1jD8dcWbp0ZRhsnk63fcEKOrxIlTiRb7PPOsvSpSPEUsTiqVSJg97bcL82Hg7YwdgUWLIGCTHEco9gg0H4vHVjwlEd9ZkBbApFpLlGTJQtvmkN5iGsOh3vBtKa59jB2BR0WjP30LCpGMVv0ti/uvwkif/V9fIbUzmWMlmEs/gAAAAASUVORK5CYII="},"3Diz":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n("jsC+")),a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&c.return&&c.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("aIZi");var o=n("q1tI"),i=l(o);n("MN5C");var c=l(n("cJAJ")),u=n("i8i4");function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.projectsId,n=e.branch,l=e.owner,s=e.changeBranch,f=e.branchList,d=e.tagflag,m=void 0===d||d,p=(0,o.useState)(n),h=a(p,2),g=h[0],v=h[1],y=(0,o.useState)(!1),b=a(y,2),A=b[0],E=b[1],w=(0,o.useRef)(null),O=(0,o.useRef)(null);(0,o.useEffect)((function(){document.addEventListener("click",j,!1)}),[]);var j=function(e){var t=e.target,n=(0,u.findDOMNode)(w.current),r=(0,u.findDOMNode)(O.current);if(n&&r){var a=n.contains(t),o=r.contains(t);a||o||E(!1)}};(0,o.useEffect)((function(){v(n)}),[n]);var x=i.default.createElement("div",{ref:w},i.default.createElement(c.default,{visible:A,changeBranch:function(e){E(!1),s(e)},tagflag:m,projectsId:t,owner:l,branchList:f}));return i.default.createElement(r.default,{placement:"bottomLeft",visible:A,overlay:x,overlayClassName:"branch-tagBox-list",trigger:["click"]},i.default.createElement("div",{className:"branch-tagBox",ref:O,onClick:function(){return E(!A)}},i.default.createElement("span",{className:"color-grey-9 mr3 ml8"},i.default.createElement("i",{className:"iconfont icon-fenzhi2 font-18"})),i.default.createElement("span",{className:"ant-dropdown-link task-hide",style:{fontWeight:"500",minWidth:"45px",maxWidth:"270px"}},g),i.default.createElement("i",{className:"showtag iconfont icon-sanjiaoxing-down font-15 color-grey-9 mr5 ml5 mt1"})))}},FRFo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("3S7+")),a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&c.return&&c.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ");var o=n("q1tI"),i=c(o);function c(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=e.beforeText,n=e.afterText,c=e.className,u=e.inputId,l=e.timeOut,s=(0,o.useState)((function(){return t})),f=a(s,2),d=f[0],m=f[1],p=(0,o.useCallback)((function(){var e=document.querySelector("#"+u);e?(e.select(),document.execCommand("copy")&&document.execCommand("copy"),document.getSelection().removeAllRanges(),m(n),l&&setTimeout((function(){m(t)}),1500)):console.error("您的CopyTool未设置正确的inputId")}),[]);return i.default.createElement(r.default,{placement:"top",title:d,onVisibleChange:function(){m(t)}},i.default.createElement("i",{className:"iconfont icon-fuzhiicon "+c,style:{color:"#466aff"},onClick:p}))}u.defaultProps={beforeText:"复制链接",afterText:"复制成功",className:"",inputId:"copyText",timeOut:!0},t.default=(0,o.memo)(u)},KcO5:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("dlb6")},MN5C:function(e,t,n){},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),i=l(n("q1tI")),c=l(n("vOnD")),u=n("eO8H");function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,a=e.id,l=e.login,s=c.default.span(o,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return a?i.default.createElement(u.Link,{to:"/"+l},i.default.createElement(s,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))):i.default.createElement(s,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},VEFH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=A(n("W9HT")),a=A(n("NUBc")),o=A(n("rgW5")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("YQTV"),n("KcO5");var c=n("q1tI"),u=A(c),l=n("sYIF"),s=n("PhNK"),f=n("spEH"),d=A(n("3Diz")),m=A(n("2CTR")),p=A(n("Rs/d")),h=A(n("bjH3")),g=A(n("0Rql")),v=A(n("vDqi")),y=n("eO8H"),b=A(n("FRFo"));function A(e){return e&&e.__esModule?e:{default:e}}function E(e){return e&&e.length>0&&e.indexOf("%2F")>-1?e.replaceAll("%2F","/"):e}n("r+Iv");var w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.Init(),n.getBranchs()},n.getBranchs=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner;v.default.get("/"+r+"/"+t+"/branches.json").then((function(e){n.setState({branchList:e.data})})).catch((function(e){}))},n.componentDidUpdate=function(e){n.props.location!==(e&&e.location)&&n.Init()},n.Init=function(){var e=n.props.match.params.branchName,t=n.state.limit,r=n.props.location.search,a=r&&n.UrlParamHash(r).page?parseInt(n.UrlParamHash(r).page):1;n.setState({isSpining:!0,page:a}),n.getCommitList(e,a,t)},n.getCommitList=function(e,t,r){n.setState({isSpining:!0});var a=n.props.match.params,o=a.projectsId,i="/"+a.owner+"/"+o+"/commits.json";v.default.get(i,{params:{sha:E(e),page:t,limit:r}}).then((function(e){if(e&&e.data){n.setState({isSpining:!1});var t=[];e.data.commits&&e.data.commits.length>0&&e.data.commits.map((function(e,n){t.push({name:e.author&&e.author.name,login:e.author&&e.author.login,id:e.author&&e.author.id,image_url:e.author&&e.author.image_url,sha:e.sha,time_from_now:e.time_from_now,message:e.message,timestamp:e.timestamp})})),n.setState({commitDatas:t,dataCount:e.data.total_count,isSpining:!1})}})).catch((function(e){console.log(e)}))},n.changeBranch=function(e){var t=n.props.match.params,r=t.projectsId,a=t.owner;n.props.history.push("/"+a+"/"+r+"/commits/branch/"+e)},n.ChangePage=function(e){n.props.history.push({pathname:n.props.history.location.pathname,search:"page="+e})},n.state={commitDatas:void 0,dataCount:void 0,limit:10,page:1,isSpining:!1,branchList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"UrlParamHash",value:function(e){for(var t={},n=void 0,r=e.slice(e.indexOf("?")+1).split("&"),a=0;a<r.length;a++)t[(n=r[a].split("="))[0]]=n[1];return t}},{key:"render",value:function(){var e=this.state,t=e.commitDatas,n=e.dataCount,i=e.limit,c=e.page,v=e.isSpining,A=e.branchList,w=this.props,O=w.projectDetail,j=(w.commit_class,w.defaultBranch),x=this.props.match.params,S=x.projectsId,_=x.owner,C=E(x.branchName||j);return u.default.createElement(u.default.Fragment,null,u.default.createElement("div",{className:"main",style:{padding:"0px",border:"none"}},u.default.createElement("div",{className:"f-wrap-between"},u.default.createElement(d.default,{repo_id:O&&O.repo_id,projectsId:S,branch:C,changeBranch:this.changeBranch,owner:_,history:this.props.history,branchList:A})),u.default.createElement(r.default,{spinning:v},u.default.createElement(o.default,{className:"commitList"},t&&t.length>0&&t.map((function(e,t){return u.default.createElement(o.default.Item,{key:t,dot:1===c&&0===t?u.default.createElement("span",{className:"new-conmmit"},"最新"):u.default.createElement("i",{className:"iconfont icon-a-yuanquan2x"})},u.default.createElement("div",{className:"commitList-item f-wrap-between"},u.default.createElement("div",null,u.default.createElement(f.AlignTop,null,u.default.createElement("div",{className:"commitDesc"},u.default.createElement(y.Link,{to:"/"+_+"/"+S+"/commits/"+(0,s.truncateCommitId)(""+e.sha),className:"font-14 color-grey-3 font-bd"},u.default.createElement(h.default,{value:e.message})))),u.default.createElement("p",{className:"f-wrap-alignCenter mt15 pb5"},u.default.createElement(p.default,{id:e.id,url:e.image_url&&(0,l.getImageUrl)("/"+e.image_url)||"https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3025493530,1989042357&fm=26&gp=0.jpg",name:e.name,login:e.login}),e.timestamp&&u.default.createElement("label",{className:"font-14 color-grey-3 ml3"},"提交于 ",(0,s.timeFormat)(e.timestamp)))),u.default.createElement("div",null,u.default.createElement("div",{className:"treecopy"},u.default.createElement("div",null,u.default.createElement("span",{className:"treecopy-cont shadow"},u.default.createElement("img",{src:g.default,alt:"sha",width:"16px"}),u.default.createElement(y.Link,{to:"/"+_+"/"+S+"/commits/"+(0,s.truncateCommitId)(""+e.sha)},(0,s.truncateCommitId)(""+e.sha)),u.default.createElement("input",{type:"text",id:"value"+t,value:""+(0,s.truncateCommitId)(""+e.sha)})),u.default.createElement(b.default,{beforeText:"复制commit id",afterText:"复制成功",inputId:"value"+t})),u.default.createElement("button",{className:"btn-83",onClick:function(){window.location.href="/"+_+"/"+S+"/tree/"+(0,s.truncateCommitId)(e.sha)}},"浏览文件")))))})),t&&0===t.length&&u.default.createElement(m.default,{_html:"暂无数据"})),n>i?u.default.createElement("div",{className:"edu-txt-center pt30 mb30"},u.default.createElement(a.default,{simple:!0,current:c,total:n,pageSize:i,onChange:this.ChangePage})):"")))}}]),t}(c.Component);t.default=w},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),a=l(r);n("vg9a");var o=n("ud8/"),i=l(o);n("SJMd");var c=l(n("wMS7")),u=n("Oy/b");function l(e){return e&&e.__esModule?e:{default:e}}var s=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,l=e.className,f=e.style,d=void 0===f?{}:f,m=e.url,p=String(n),h=(0,r.useMemo)((function(){var e=(0,i.default)(p),t=(0,o.getMathExpressions)();return p.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],a=r.type,o=r.expression;return(0,u.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===a,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),c.default.sanitize(e)}),[p]);(0,r.useEffect)((function(){if(m&&m.hash&&h){var e=m.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[m,h]);var g=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(g.current&&h&&h.match(s)&&window.PR.prettyPrint(),g.current)return g.current.addEventListener("click",v),function(){g.current.removeEventListener("click",v),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[h,g.current,v]),a.default.createElement("div",{ref:g,style:d,className:(l||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},cJAJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("W9HT")),a=f(n("BvKs")),o=f(n("5rEg")),i=f(n("14Xm")),c=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&c.return&&c.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd"),n("2WkQ"),n("1vPl");var u=n("q1tI"),l=f(u),s=n("tnhM");function f(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,o){try{var i=t[a](o),c=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(c)}("next")}))}}t.default=function(e){var t,n,f=(t=d(i.default.mark((function e(t,n){var r;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getBranch)(t,n);case 2:r=e.sent,T(r),D(r),I(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)}),m=(n=d(i.default.mark((function e(t,n){var r;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getTag)(t,n);case 2:r=e.sent,T(r),D(r),I(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)}),p=e.changeBranch,h=e.tagflag,g=e.branchList,v=e.projectsId,y=e.owner,b=(e.visible,(0,u.useState)(void 0)),A=c(b,2),E=A[0],w=A[1],O=(0,u.useState)(0),j=c(O,2),x=j[0],S=(j[1],(0,u.useState)(!0)),_=c(S,2),C=_[0],I=_[1],N=(0,u.useState)(void 0),P=c(N,2),k=P[0],T=P[1],M=(0,u.useState)(void 0),B=c(M,2),R=B[0],D=B[1],L=(0,u.useState)("branch"),H=c(L,2),U=H[0],q=H[1];return(0,u.useEffect)((function(){g&&(T(g),D(g),I(!1))}),[g]),l.default.createElement("div",{className:"overlayBranch"},l.default.createElement("div",{className:"padding15",style:{paddingBottom:"0px"}},l.default.createElement(o.default,{prefix:l.default.createElement("i",{className:"iconfont icon-sousuo_icon1 font-14"}),placeholder:"请输入分支"+(h?"或标签":"")+"名称搜索",autocomplete:"off",className:"OptionsInput",value:E,onChange:function(e){w(e.target.value);var t=e.target.value?k&&k.length>0&&k.filter((function(t){return t.name.indexOf(e.target.value)>-1})):k;D(t)}})),l.default.createElement(a.default,{mode:"horizontal",className:"navUl",selectedKeys:[U],onClick:function(e){q(e.key),I(!0),"branch"===e.key?f(v,y):m(v,y)}},l.default.createElement(a.default.Item,{key:"branch"},"分支"),h&&l.default.createElement(a.default.Item,{key:"tag"},"标签")),l.default.createElement(r.default,{spinning:C},l.default.createElement("ul",{className:"OptionsUl",id:"ul-btn"},R&&R.length>0&&R.map((function(e,t){return l.default.createElement("li",{key:t,onClick:function(){return t=e.name,void p(t);var t}},l.default.createElement("a",{className:"task-hide ulALink"},e.name))})),R&&0===R.length&&l.default.createElement("p",{className:"listTips"},"暂无",E,0===x?"分支":"标签","~"))))}},dlb6:function(e,t,n){},"r+Iv":function(e,t,n){},rgW5:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),i=n("BGR+"),c=n("H84U");function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},f=function(e){return r.createElement(c.a,null,(function(t){var n,a,c=t.getPrefixCls,f=e.prefixCls,d=e.className,m=e.color,p=void 0===m?"":m,h=e.children,g=e.pending,v=e.dot,y=s(e,["prefixCls","className","color","children","pending","dot"]),b=c("timeline",f),A=o()((l(n={},"".concat(b,"-item"),!0),l(n,"".concat(b,"-item-pending"),g),n),d),E=o()((l(a={},"".concat(b,"-item-head"),!0),l(a,"".concat(b,"-item-head-custom"),v),l(a,"".concat(b,"-item-head-").concat(p),!0),a));return r.createElement("li",u({},Object(i.a)(y,["position"]),{className:A}),r.createElement("div",{className:"".concat(b,"-item-tail")}),r.createElement("div",{className:E,style:{borderColor:/blue|red|green|gray/.test(p)?void 0:p}},v),r.createElement("div",{className:"".concat(b,"-item-content")},h))}))};f.defaultProps={color:"blue",pending:!1,position:""};var d=f,m=n("CtXQ");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function g(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=j(e);if(t){var a=j(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return O(this,n)}}function O(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(u,e);var t,n,a,i=w(u);function u(){var e;return b(this,u),(e=i.apply(this,arguments)).renderTimeline=function(t){var n,a=t.getPrefixCls,i=e.props,c=i.prefixCls,u=i.pending,l=void 0===u?null:u,s=i.pendingDot,f=i.children,p=i.className,v=i.reverse,b=i.mode,A=x(i,["prefixCls","pending","pendingDot","children","className","reverse","mode"]),E=a("timeline",c),w="boolean"==typeof l?null:l,O=o()(E,(y(n={},"".concat(E,"-pending"),!!l),y(n,"".concat(E,"-reverse"),!!v),y(n,"".concat(E,"-").concat(b),!!b),n),p),j=l?r.createElement(d,{pending:!!l,dot:s||r.createElement(m.default,{type:"loading"})},w):null,S=v?[j].concat(g(r.Children.toArray(f).reverse())):[].concat(g(r.Children.toArray(f)),[j]),_=function(e,t){return"alternate"===b?"right"===e.props.position?"".concat(E,"-item-right"):"left"===e.props.position?"".concat(E,"-item-left"):"".concat(E,t%2==0?"-item-left":"-item-right"):"left"===b?"".concat(E,"-item-left"):"right"===b||"right"===e.props.position?"".concat(E,"-item-right"):""},C=S.filter((function(e){return!!e})),I=r.Children.count(C),N="".concat(E,"-item-last"),P=r.Children.map(C,(function(e,t){var n=t===I-2?N:"",a=t===I-1?N:"";return r.cloneElement(e,{className:o()([e.props.className,!v&&l?n:a,_(e,t)])})}));return r.createElement("ul",h({},A,{className:O}),P)},e}return t=u,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderTimeline)}}])&&A(t.prototype,n),a&&A(t,a),u}(r.Component);S.Item=d,S.defaultProps={reverse:!1,mode:""};t.default=S},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUser=t.getSubEntries=t.getHooks=t.getTag=t.getBranch=void 0;var r=o(n("14Xm")),a=o(n("vDqi"));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,o){try{var i=t[a](o),c=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(c)}("next")}))}}var c,u,l,s,f;t.getBranch=(c=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get("/"+n+"/"+t+"/branches.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return c.apply(this,arguments)}),t.getTag=(u=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get("/"+n+"/"+t+"/tags.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return u.apply(this,arguments)}),t.getHooks=(l=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get("/projects/"+t+"/hooks.json",{params:n});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return l.apply(this,arguments)}),t.getSubEntries=(s=i(r.default.mark((function e(t,n,o){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get("/"+t+"/"+n+"/sub_entries.json",{params:o});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t,n){return s.apply(this,arguments)}),t.getUser=(f=i(r.default.mark((function e(t){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get("/users/"+t+"/hovercard.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e){return f.apply(this,arguments)})}}]); \ No newline at end of file diff --git a/static/js/18.8cf5ab5f.chunk.js b/static/js/18.8cf5ab5f.chunk.js deleted file mode 100644 index 96659e358..000000000 --- a/static/js/18.8cf5ab5f.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[18],{"0Rql":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAQCAYAAABtPJ3XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALKADAAQAAAABAAAAEAAAAACYv7IkAAABuElEQVRIDdVWr0/DQBT+ujQowgSZwAAKQkhAoAiGTBT2B+ARM/wIAQx2dgYICdRU4PkDBhM4goYEgwODWBBDIjje17VJV9rudkdIeMmt69137333+n6cg1+StR01L6rqMjwFTFKtA7zKoy0juDl3njhnK6LTTjYaauSjg2PRsqUUSlnaHAdfMu+PVXB41XA+szC6c1aESbbbQQsKVSGF2gqwvgxMTfTMv7wB1/dA6w6Qw9Dlt+UKajakXd2TZeFCzwrZ8TJwtAkszvSjZqcBjtUloHkJvHdRjb7Gbj9S/83Yw1HMPoqpUnPvJ9k0hYdnOdRZOMvwWDCN6cyYSxvLea8zZhkGac9m4YkhNopzJqeR2BD2aJExqysJbLhXd18SZ0w4Ll1xgiWV5v2PsfHePFzRvOtth/lbhMleY9abisKoqV1jD8dcWbp0ZRhsnk63fcEKOrxIlTiRb7PPOsvSpSPEUsTiqVSJg97bcL82Hg7YwdgUWLIGCTHEco9gg0H4vHVjwlEd9ZkBbApFpLlGTJQtvmkN5iGsOh3vBtKa59jB2BR0WjP30LCpGMVv0ti/uvwkif/V9fIbUzmWMlmEs/gAAAAASUVORK5CYII="},"3Diz":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n("jsC+")),a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&c.return&&c.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("aIZi");var o=n("q1tI"),i=l(o);n("MN5C");var c=l(n("cJAJ")),u=n("i8i4");function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.projectsId,n=e.branch,l=e.owner,s=e.changeBranch,f=e.branchList,d=e.tagflag,m=void 0===d||d,p=(0,o.useState)(n),h=a(p,2),g=h[0],v=h[1],y=(0,o.useState)(!1),b=a(y,2),A=b[0],w=b[1],E=(0,o.useRef)(null),O=(0,o.useRef)(null);(0,o.useEffect)((function(){document.addEventListener("click",j,!1)}),[]);var j=function(e){var t=e.target,n=(0,u.findDOMNode)(E.current),r=(0,u.findDOMNode)(O.current);if(n&&r){var a=n.contains(t),o=r.contains(t);a||o||w(!1)}};(0,o.useEffect)((function(){v(n)}),[n]);var x=i.default.createElement("div",{ref:E},i.default.createElement(c.default,{visible:A,changeBranch:function(e){w(!1),s(e)},tagflag:m,projectsId:t,owner:l,branchList:f}));return i.default.createElement(r.default,{placement:"bottomLeft",visible:A,overlay:x,overlayClassName:"branch-tagBox-list",trigger:["click"]},i.default.createElement("div",{className:"branch-tagBox",ref:O,onClick:function(){return w(!A)}},i.default.createElement("span",{className:"color-grey-9 mr3 ml8"},i.default.createElement("i",{className:"iconfont icon-fenzhi2 font-18"})),i.default.createElement("span",{className:"ant-dropdown-link task-hide",style:{fontWeight:"500",minWidth:"45px",maxWidth:"270px"}},g),i.default.createElement("i",{className:"showtag iconfont icon-sanjiaoxing-down font-15 color-grey-9 mr5 ml5 mt1"})))}},FRFo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("3S7+")),a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&c.return&&c.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ");var o=n("q1tI"),i=c(o);function c(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=e.beforeText,n=e.afterText,c=e.className,u=e.inputId,l=e.timeOut,s=(0,o.useState)((function(){return t})),f=a(s,2),d=f[0],m=f[1],p=(0,o.useCallback)((function(){var e=document.querySelector("#"+u);e?(e.select(),document.execCommand("copy")&&document.execCommand("copy"),document.getSelection().removeAllRanges(),m(n),l&&setTimeout((function(){m(t)}),1500)):console.error("您的CopyTool未设置正确的inputId")}),[]);return i.default.createElement(r.default,{placement:"top",title:d,onVisibleChange:function(){m(t)}},i.default.createElement("i",{className:"iconfont icon-fuzhiicon "+c,style:{color:"#466aff"},onClick:p}))}u.defaultProps={beforeText:"复制链接",afterText:"复制成功",className:"",inputId:"copyText",timeOut:!0},t.default=(0,o.memo)(u)},KcO5:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("dlb6")},MN5C:function(e,t,n){},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),i=l(n("q1tI")),c=l(n("vOnD")),u=n("eO8H");function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,a=e.id,l=e.login,s=c.default.span(o,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return a?i.default.createElement(u.Link,{to:"/"+l},i.default.createElement(s,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))):i.default.createElement(s,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},VEFH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n("W9HT")),a=b(n("NUBc")),o=b(n("rgW5")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("YQTV"),n("KcO5");var c=n("q1tI"),u=b(c),l=n("sYIF"),s=n("PhNK"),f=n("spEH"),d=b(n("3Diz")),m=b(n("2CTR")),p=b(n("Rs/d")),h=b(n("0Rql")),g=b(n("vDqi")),v=n("eO8H"),y=b(n("FRFo"));function b(e){return e&&e.__esModule?e:{default:e}}function A(e){return e&&e.length>0&&e.indexOf("%2F")>-1?e.replaceAll("%2F","/"):e}n("r+Iv");var w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.Init(),n.getBranchs()},n.getBranchs=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner;g.default.get("/"+r+"/"+t+"/branches.json").then((function(e){n.setState({branchList:e.data})})).catch((function(e){}))},n.componentDidUpdate=function(e){n.props.location!==(e&&e.location)&&n.Init()},n.Init=function(){var e=n.props.match.params.branchName,t=n.state.limit,r=n.props.location.search,a=r&&n.UrlParamHash(r).page?parseInt(n.UrlParamHash(r).page):1;n.setState({isSpining:!0,page:a}),n.getCommitList(e,a,t)},n.getCommitList=function(e,t,r){n.setState({isSpining:!0});var a=n.props.match.params,o=a.projectsId,i="/"+a.owner+"/"+o+"/commits.json";g.default.get(i,{params:{sha:A(e),page:t,limit:r}}).then((function(e){if(e&&e.data){n.setState({isSpining:!1});var t=[];e.data.commits&&e.data.commits.length>0&&e.data.commits.map((function(e,n){t.push({name:e.author&&e.author.name,login:e.author&&e.author.login,id:e.author&&e.author.id,image_url:e.author&&e.author.image_url,sha:e.sha,time_from_now:e.time_from_now,message:e.message,timestamp:e.timestamp})})),n.setState({commitDatas:t,dataCount:e.data.total_count,isSpining:!1})}})).catch((function(e){console.log(e)}))},n.changeBranch=function(e){var t=n.props.match.params,r=t.projectsId,a=t.owner;n.props.history.push("/"+a+"/"+r+"/commits/branch/"+e)},n.ChangePage=function(e){n.props.history.push({pathname:n.props.history.location.pathname,search:"page="+e})},n.state={commitDatas:void 0,dataCount:void 0,limit:10,page:1,isSpining:!1,branchList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"UrlParamHash",value:function(e){for(var t={},n=void 0,r=e.slice(e.indexOf("?")+1).split("&"),a=0;a<r.length;a++)t[(n=r[a].split("="))[0]]=n[1];return t}},{key:"render",value:function(){var e=this.state,t=e.commitDatas,n=e.dataCount,i=e.limit,c=e.page,g=e.isSpining,b=e.branchList,w=this.props,E=w.projectDetail,O=(w.commit_class,w.defaultBranch),j=this.props.match.params,x=j.projectsId,S=j.owner,C=A(j.branchName||O);return u.default.createElement(u.default.Fragment,null,u.default.createElement("div",{className:"main",style:{padding:"0px",border:"none"}},u.default.createElement("div",{className:"f-wrap-between"},u.default.createElement(d.default,{repo_id:E&&E.repo_id,projectsId:x,branch:C,changeBranch:this.changeBranch,owner:S,history:this.props.history,branchList:b})),u.default.createElement(r.default,{spinning:g},u.default.createElement(o.default,{className:"commitList"},t&&t.length>0&&t.map((function(e,t){return u.default.createElement(o.default.Item,{key:t,dot:1===c&&0===t?u.default.createElement("span",{className:"new-conmmit"},"最新"):u.default.createElement("i",{className:"iconfont icon-a-yuanquan2x"})},u.default.createElement("div",{className:"commitList-item f-wrap-between"},u.default.createElement("div",null,u.default.createElement(f.AlignTop,null,u.default.createElement("div",{className:"commitDesc"},u.default.createElement(v.Link,{to:"/"+S+"/"+x+"/commits/"+(0,s.truncateCommitId)(""+e.sha),className:"font-14 color-grey-3 font-bd"},e.message))),u.default.createElement("p",{className:"f-wrap-alignCenter mt15 pb5"},u.default.createElement(p.default,{id:e.id,url:e.image_url&&(0,l.getImageUrl)("/"+e.image_url)||"https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3025493530,1989042357&fm=26&gp=0.jpg",name:e.name,login:e.login}),e.timestamp&&u.default.createElement("label",{className:"font-14 color-grey-3 ml3"},"提交于 ",(0,s.timeFormat)(e.timestamp)))),u.default.createElement("div",null,u.default.createElement("div",{className:"treecopy"},u.default.createElement("div",null,u.default.createElement("span",{className:"treecopy-cont shadow"},u.default.createElement("img",{src:h.default,alt:"sha",width:"16px"}),u.default.createElement(v.Link,{to:"/"+S+"/"+x+"/commits/"+(0,s.truncateCommitId)(""+e.sha)},(0,s.truncateCommitId)(""+e.sha)),u.default.createElement("input",{type:"text",id:"value"+t,value:""+(0,s.truncateCommitId)(""+e.sha)})),u.default.createElement(y.default,{beforeText:"复制commit id",afterText:"复制成功",inputId:"value"+t})),u.default.createElement("button",{className:"btn-83",onClick:function(){window.location.href="/"+S+"/"+x+"/tree/"+(0,s.truncateCommitId)(e.sha)}},"浏览文件")))))})),t&&0===t.length&&u.default.createElement(m.default,{_html:"暂无数据"})),n>i?u.default.createElement("div",{className:"edu-txt-center pt30 mb30"},u.default.createElement(a.default,{simple:!0,current:c,total:n,pageSize:i,onChange:this.ChangePage})):"")))}}]),t}(c.Component);t.default=w},cJAJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("W9HT")),a=f(n("BvKs")),o=f(n("5rEg")),i=f(n("14Xm")),c=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&c.return&&c.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd"),n("2WkQ"),n("1vPl");var u=n("q1tI"),l=f(u),s=n("tnhM");function f(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,o){try{var i=t[a](o),c=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(c)}("next")}))}}t.default=function(e){var t,n,f=(t=d(i.default.mark((function e(t,n){var r;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getBranch)(t,n);case 2:r=e.sent,T(r),D(r),_(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)}),m=(n=d(i.default.mark((function e(t,n){var r;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getTag)(t,n);case 2:r=e.sent,T(r),D(r),_(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)}),p=e.changeBranch,h=e.tagflag,g=e.branchList,v=e.projectsId,y=e.owner,b=(e.visible,(0,u.useState)(void 0)),A=c(b,2),w=A[0],E=A[1],O=(0,u.useState)(0),j=c(O,2),x=j[0],S=(j[1],(0,u.useState)(!0)),C=c(S,2),I=C[0],_=C[1],P=(0,u.useState)(void 0),N=c(P,2),k=N[0],T=N[1],B=(0,u.useState)(void 0),M=c(B,2),R=M[0],D=M[1],L=(0,u.useState)("branch"),H=c(L,2),U=H[0],q=H[1];return(0,u.useEffect)((function(){g&&(T(g),D(g),_(!1))}),[g]),l.default.createElement("div",{className:"overlayBranch"},l.default.createElement("div",{className:"padding15",style:{paddingBottom:"0px"}},l.default.createElement(o.default,{prefix:l.default.createElement("i",{className:"iconfont icon-sousuo_icon1 font-14"}),placeholder:"请输入分支"+(h?"或标签":"")+"名称搜索",autocomplete:"off",className:"OptionsInput",value:w,onChange:function(e){E(e.target.value);var t=e.target.value?k&&k.length>0&&k.filter((function(t){return t.name.indexOf(e.target.value)>-1})):k;D(t)}})),l.default.createElement(a.default,{mode:"horizontal",className:"navUl",selectedKeys:[U],onClick:function(e){q(e.key),_(!0),"branch"===e.key?f(v,y):m(v,y)}},l.default.createElement(a.default.Item,{key:"branch"},"分支"),h&&l.default.createElement(a.default.Item,{key:"tag"},"标签")),l.default.createElement(r.default,{spinning:I},l.default.createElement("ul",{className:"OptionsUl",id:"ul-btn"},R&&R.length>0&&R.map((function(e,t){return l.default.createElement("li",{key:t,onClick:function(){return t=e.name,void p(t);var t}},l.default.createElement("a",{className:"task-hide ulALink"},e.name))})),R&&0===R.length&&l.default.createElement("p",{className:"listTips"},"暂无",w,0===x?"分支":"标签","~"))))}},dlb6:function(e,t,n){},"r+Iv":function(e,t,n){},rgW5:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),i=n("BGR+"),c=n("H84U");function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},f=function(e){return r.createElement(c.a,null,(function(t){var n,a,c=t.getPrefixCls,f=e.prefixCls,d=e.className,m=e.color,p=void 0===m?"":m,h=e.children,g=e.pending,v=e.dot,y=s(e,["prefixCls","className","color","children","pending","dot"]),b=c("timeline",f),A=o()((l(n={},"".concat(b,"-item"),!0),l(n,"".concat(b,"-item-pending"),g),n),d),w=o()((l(a={},"".concat(b,"-item-head"),!0),l(a,"".concat(b,"-item-head-custom"),v),l(a,"".concat(b,"-item-head-").concat(p),!0),a));return r.createElement("li",u({},Object(i.a)(y,["position"]),{className:A}),r.createElement("div",{className:"".concat(b,"-item-tail")}),r.createElement("div",{className:w,style:{borderColor:/blue|red|green|gray/.test(p)?void 0:p}},v),r.createElement("div",{className:"".concat(b,"-item-content")},h))}))};f.defaultProps={color:"blue",pending:!1,position:""};var d=f,m=n("CtXQ");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function g(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=j(e);if(t){var a=j(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return O(this,n)}}function O(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(u,e);var t,n,a,i=E(u);function u(){var e;return b(this,u),(e=i.apply(this,arguments)).renderTimeline=function(t){var n,a=t.getPrefixCls,i=e.props,c=i.prefixCls,u=i.pending,l=void 0===u?null:u,s=i.pendingDot,f=i.children,p=i.className,v=i.reverse,b=i.mode,A=x(i,["prefixCls","pending","pendingDot","children","className","reverse","mode"]),w=a("timeline",c),E="boolean"==typeof l?null:l,O=o()(w,(y(n={},"".concat(w,"-pending"),!!l),y(n,"".concat(w,"-reverse"),!!v),y(n,"".concat(w,"-").concat(b),!!b),n),p),j=l?r.createElement(d,{pending:!!l,dot:s||r.createElement(m.default,{type:"loading"})},E):null,S=v?[j].concat(g(r.Children.toArray(f).reverse())):[].concat(g(r.Children.toArray(f)),[j]),C=function(e,t){return"alternate"===b?"right"===e.props.position?"".concat(w,"-item-right"):"left"===e.props.position?"".concat(w,"-item-left"):"".concat(w,t%2==0?"-item-left":"-item-right"):"left"===b?"".concat(w,"-item-left"):"right"===b||"right"===e.props.position?"".concat(w,"-item-right"):""},I=S.filter((function(e){return!!e})),_=r.Children.count(I),P="".concat(w,"-item-last"),N=r.Children.map(I,(function(e,t){var n=t===_-2?P:"",a=t===_-1?P:"";return r.cloneElement(e,{className:o()([e.props.className,!v&&l?n:a,C(e,t)])})}));return r.createElement("ul",h({},A,{className:O}),N)},e}return t=u,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderTimeline)}}])&&A(t.prototype,n),a&&A(t,a),u}(r.Component);S.Item=d,S.defaultProps={reverse:!1,mode:""};t.default=S},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUser=t.getSubEntries=t.getHooks=t.getTag=t.getBranch=void 0;var r=o(n("14Xm")),a=o(n("vDqi"));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,o){try{var i=t[a](o),c=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(c)}("next")}))}}var c,u,l,s,f;t.getBranch=(c=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get("/"+n+"/"+t+"/branches.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return c.apply(this,arguments)}),t.getTag=(u=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get("/"+n+"/"+t+"/tags.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return u.apply(this,arguments)}),t.getHooks=(l=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get("/projects/"+t+"/hooks.json",{params:n});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return l.apply(this,arguments)}),t.getSubEntries=(s=i(r.default.mark((function e(t,n,o){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get("/"+t+"/"+n+"/sub_entries.json",{params:o});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t,n){return s.apply(this,arguments)}),t.getUser=(f=i(r.default.mark((function e(t){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.default.get("/users/"+t+"/hovercard.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e){return f.apply(this,arguments)})}}]); \ No newline at end of file diff --git a/static/js/28.a2b2d8a1.chunk.js b/static/js/28.ffd0fc63.chunk.js similarity index 73% rename from static/js/28.a2b2d8a1.chunk.js rename to static/js/28.ffd0fc63.chunk.js index 78a7b2f2f..1d4d253f4 100644 --- a/static/js/28.a2b2d8a1.chunk.js +++ b/static/js/28.ffd0fc63.chunk.js @@ -1,2 +1,2 @@ -/*! For license information please see 28.a2b2d8a1.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[28,4,5,9,14,23,33,132],{"+6XX":function(e,t,n){var r=n("y1pI");e.exports=function(e){return r(this.__data__,e)>-1}},"+B/L":function(e,t,n){},"+KLJ":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return E}));var r=n("q1tI"),o=n("i8i4"),i=n("MFj2"),a=n("TSYQ"),l=n.n(a),s=n("CtXQ"),c=n("H84U"),u=n("RqAY"),f=n("6CfX");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(){}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(b,e);var t,n,a,p=v(b);function b(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),(t=p.call(this,e)).handleClose=function(e){e.preventDefault();var n=o.findDOMNode(g(t));n.style.height="".concat(n.offsetHeight,"px"),n.style.height="".concat(n.offsetHeight,"px"),t.setState({closing:!0}),(t.props.onClose||w)(e)},t.animationEnd=function(){t.setState({closing:!1,closed:!0}),(t.props.afterClose||w)()},t.renderAlert=function(e){var n,o=e.getPrefixCls,a=t.props,c=a.description,f=a.prefixCls,p=a.message,h=a.closeText,y=a.banner,v=a.className,b=void 0===v?"":v,g=a.style,O=a.icon,w=t.props,E=w.closable,x=w.type,S=w.showIcon,_=w.iconType,j=t.state,C=j.closing,P=j.closed,k=o("alert",f);S=!(!y||void 0!==S)||S,x=y&&void 0===x?"warning":x||"info";var N="filled";if(!_){switch(x){case"success":_="check-circle";break;case"info":_="info-circle";break;case"error":_="close-circle";break;case"warning":_="exclamation-circle";break;default:_="default"}c&&(N="outlined")}h&&(E=!0);var T=l()(k,"".concat(k,"-").concat(x),(m(n={},"".concat(k,"-closing"),C),m(n,"".concat(k,"-with-description"),!!c),m(n,"".concat(k,"-no-icon"),!S),m(n,"".concat(k,"-banner"),!!y),m(n,"".concat(k,"-closable"),E),n),b),M=E?r.createElement("button",{type:"button",onClick:t.handleClose,className:"".concat(k,"-close-icon"),tabIndex:0},h?r.createElement("span",{className:"".concat(k,"-close-text")},h):r.createElement(s.default,{type:"close"})):null,D=Object(u.a)(t.props),F=O&&(r.isValidElement(O)?r.cloneElement(O,{className:l()("".concat(k,"-icon"),m({},O.props.className,O.props.className))}):r.createElement("span",{className:"".concat(k,"-icon")},O))||r.createElement(s.default,{className:"".concat(k,"-icon"),type:_,theme:N});return P?null:r.createElement(i.a,{component:"",showProp:"data-show",transitionName:"".concat(k,"-slide-up"),onEnd:t.animationEnd},r.createElement("div",d({"data-show":!C,className:T,style:g},D),S?F:null,r.createElement("span",{className:"".concat(k,"-message")},p),r.createElement("span",{className:"".concat(k,"-description")},c),M))},Object(f.a)(!("iconType"in e),"Alert","`iconType` is deprecated. Please use `icon` instead."),t.state={closing:!1,closed:!1},t}return t=b,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderAlert)}}])&&h(t.prototype,n),a&&h(t,a),b}(r.Component)},"+LrT":function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,u=c&&c(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(u){var p=c(n);p&&p!==u&&e(t,p,f)}var d=a(n);l&&(d=d.concat(l(n)));for(var m=0;m<d.length;++m){var h=d[m];if(!(r[h]||o[h]||f&&f[h])){var y=s(n,h);try{i(t,h,y)}catch(e){}}}return t}return t}},"+kn0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.convertFieldsError=a,t.format=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,o=t[0],a=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(i,(function(e){if("%%"===e)return"%";if(r>=a)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(e){return"[Circular]"}break;default:return e}})),s=t[r];r<a;s=t[++r])l+=" "+s;return l}return o},t.isEmptyValue=function(e,t){if(null==e)return!0;if("array"===t&&Array.isArray(e)&&!e.length)return!0;if(function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}(t)&&"string"==typeof e&&!e)return!0;return!1},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.asyncMap=function(e,t,n,r){if(t.first){return l(function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n])})),t}(e),n,r)}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var i=Object.keys(e),s=i.length,c=0,u=[],f=new Promise((function(t,f){var p=function(e){if(u.push.apply(u,e),++c===s)return r(u),u.length?f({errors:u,fields:a(u)}):t()};i.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,e),++o===i&&n(r)}e.forEach((function(e){t(e,a)}))}(r,n,p)}))}));return f.catch((function(e){return e})),f},t.complementError=function(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"==typeof t?t():t,field:t.field||e.fullField}}},t.deepMerge=function(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];"object"===(void 0===i?"undefined":o(i))&&"object"===o(e[n])?e[n]=r({},e[n],i):e[n]=i}return e};var i=/%[sdj%]/g;t.warning=function(){};function a(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function l(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var l=r;r+=1,l<o?t(e[l],i):n([])}}([])}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),l=n("o/2+"),s=n("H84U");function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},O=o.oneOfType([o.object,o.number]),w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(y,e);var t,n,o,i=h(y);function y(){var e;return p(this,y),(e=i.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,i=v(e).props,s=i.prefixCls,p=i.span,d=i.order,m=i.offset,h=i.push,y=i.pull,b=i.className,O=i.children,w=g(i,["prefixCls","span","order","offset","push","pull","className","children"]),E=o("col",s),x={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=i[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete w[e],x=u(u({},x),(c(t={},"".concat(E,"-").concat(e,"-").concat(n.span),void 0!==n.span),c(t,"".concat(E,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),c(t,"".concat(E,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),c(t,"".concat(E,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),c(t,"".concat(E,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),t))}));var S=a()(E,(c(n={},"".concat(E,"-").concat(p),void 0!==p),c(n,"".concat(E,"-order-").concat(d),d),c(n,"".concat(E,"-offset-").concat(m),m),c(n,"".concat(E,"-push-").concat(h),h),c(n,"".concat(E,"-pull-").concat(y),y),n),b,x);return r.createElement(l.a.Consumer,null,(function(e){var t=e.gutter,n=w.style;return t&&(n=u(u(u({},t[0]>0?{paddingLeft:t[0]/2,paddingRight:t[0]/2}:{}),t[1]>0?{paddingTop:t[1]/2,paddingBottom:t[1]/2}:{}),n)),r.createElement("div",u({},w,{style:n,className:S}),O)}))},e}return t=y,(n=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&d(t.prototype,n),o&&d(t,o),y}(r.Component);w.propTypes={span:o.number,order:o.number,offset:o.number,push:o.number,pull:o.number,className:o.string,children:o.node,xs:O,sm:O,md:O,lg:O,xl:O,xxl:O}},"03A+":function(e,t,n){var r=n("JTzB"),o=n("ExA7"),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},"09Wf":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("CWQg"),o=Object(r.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"13Tz":function(e,t,n){},"1j5w":function(e,t,n){"use strict";n.d(t,"d",(function(){return oe})),n.d(t,"b",(function(){return lt})),n.d(t,"c",(function(){return yt})),n.d(t,"a",(function(){return bt}));var r=n("q1tI"),o=n("xI0J"),i=n("4IlW"),a=n("2GS6"),l=n("Gytx"),s=n.n(l),c=n("TSYQ"),u=n.n(c);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var m=/iPhone/i,h=/iPod/i,y=/iPad/i,v=/\bAndroid(?:.+)Mobile\b/i,b=/Android/i,g=/\bAndroid(?:.+)SD4930UR\b/i,O=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,w=/Windows Phone/i,E=/\bWindows(?:.+)ARM\b/i,x=/BlackBerry/i,S=/BB10/i,_=/Opera Mini/i,j=/\b(CriOS|Chrome)(?:.+)Mobile/i,C=/Mobile(?:.+)Firefox\b/i;function P(e,t){return e.test(t)}function k(e){var t=e||("undefined"!=typeof navigator?navigator.userAgent:""),n=t.split("[FBAN");void 0!==n[1]&&(t=d(n,1)[0]);void 0!==(n=t.split("Twitter"))[1]&&(t=d(n,1)[0]);var r={apple:{phone:P(m,t)&&!P(w,t),ipod:P(h,t),tablet:!P(m,t)&&P(y,t)&&!P(w,t),device:(P(m,t)||P(h,t)||P(y,t))&&!P(w,t)},amazon:{phone:P(g,t),tablet:!P(g,t)&&P(O,t),device:P(g,t)||P(O,t)},android:{phone:!P(w,t)&&P(g,t)||!P(w,t)&&P(v,t),tablet:!P(w,t)&&!P(g,t)&&!P(v,t)&&(P(O,t)||P(b,t)),device:!P(w,t)&&(P(g,t)||P(O,t)||P(v,t)||P(b,t))||P(/\bokhttp\b/i,t)},windows:{phone:P(w,t),tablet:P(E,t),device:P(w,t)||P(E,t)},other:{blackberry:P(x,t),blackberry10:P(S,t),opera:P(_,t),firefox:P(C,t),chrome:P(j,t),device:P(x,t)||P(S,t)||P(_,t)||P(C,t)||P(j,t)},any:null,phone:null,tablet:null};return r.any=r.apple.device||r.android.device||r.windows.device||r.other.device,r.phone=r.apple.phone||r.android.phone||r.windows.phone,r.tablet=r.apple.tablet||r.android.tablet||r.windows.tablet,r}var N=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},k(),{isMobile:k});function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(){}function D(e,t,n){var r=t||"";return e.key||"".concat(r,"item_").concat(n)}function F(e){return"".concat(e,"-menu-")}function I(e,t){var n=-1;r.Children.forEach(e,(function(e){n+=1,e&&e.type&&e.type.isMenuItemGroup?r.Children.forEach(e.props.children,(function(e){t(e,n+=1)})):t(e,n)}))}var A=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],R=function(e){var t=e&&"function"==typeof e.getBoundingClientRect&&e.getBoundingClientRect().width;return t&&(t=+t.toFixed(6)),t||0},L=function(e,t,n){e&&"object"===T(e.style)&&(e.style[t]=n)},K=n("i8i4"),V=n("bdgK"),U=n("uciX"),B=n("lCnp"),q={adjustX:1,adjustY:1},z={topLeft:{points:["bl","tl"],overflow:q,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:q,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:q,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:q,offset:[4,0]}};function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){J(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $=0,ee={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},te=function(e,t,n){var r=F(t),o=e.getState();e.setState({defaultActiveFirst:X({},o.defaultActiveFirst,J({},r,n))})},ne=function(e){function t(e){var n,o,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=this,a=G(t).call(this,e),(n=!a||"object"!==W(a)&&"function"!=typeof a?Y(o):a).onDestroy=function(e){n.props.onDestroy(e)},n.onKeyDown=function(e){var t=e.keyCode,r=n.menuInstance,o=n.props,a=o.isOpen,l=o.store;if(t===i.a.ENTER)return n.onTitleClick(e),te(l,n.props.eventKey,!0),!0;if(t===i.a.RIGHT)return a?r.onKeyDown(e):(n.triggerOpenChange(!0),te(l,n.props.eventKey,!0)),!0;if(t===i.a.LEFT){var s;if(!a)return;return(s=r.onKeyDown(e))||(n.triggerOpenChange(!1),s=!0),s}return!a||t!==i.a.UP&&t!==i.a.DOWN?void 0:r.onKeyDown(e)},n.onOpenChange=function(e){n.props.onOpenChange(e)},n.onPopupVisibleChange=function(e){n.triggerOpenChange(e,e?"mouseenter":"mouseleave")},n.onMouseEnter=function(e){var t=n.props,r=t.eventKey,o=t.onMouseEnter,i=t.store;te(i,n.props.eventKey,!1),o({key:r,domEvent:e})},n.onMouseLeave=function(e){var t=n.props,r=t.parentMenu,o=t.eventKey,i=t.onMouseLeave;r.subMenuInstance=Y(n),i({key:o,domEvent:e})},n.onTitleMouseEnter=function(e){var t=n.props,r=t.eventKey,o=t.onItemHover,i=t.onTitleMouseEnter;o({key:r,hover:!0}),i({key:r,domEvent:e})},n.onTitleMouseLeave=function(e){var t=n.props,r=t.parentMenu,o=t.eventKey,i=t.onItemHover,a=t.onTitleMouseLeave;r.subMenuInstance=Y(n),i({key:o,hover:!1}),a({key:o,domEvent:e})},n.onTitleClick=function(e){var t=Y(n).props;t.onTitleClick({key:t.eventKey,domEvent:e}),"hover"!==t.triggerSubMenuAction&&(n.triggerOpenChange(!t.isOpen,"click"),te(t.store,n.props.eventKey,!1))},n.onSubMenuClick=function(e){"function"==typeof n.props.onClick&&n.props.onClick(n.addKeyPath(e))},n.onSelect=function(e){n.props.onSelect(e)},n.onDeselect=function(e){n.props.onDeselect(e)},n.getPrefixCls=function(){return"".concat(n.props.rootPrefixCls,"-submenu")},n.getActiveClassName=function(){return"".concat(n.getPrefixCls(),"-active")},n.getDisabledClassName=function(){return"".concat(n.getPrefixCls(),"-disabled")},n.getSelectedClassName=function(){return"".concat(n.getPrefixCls(),"-selected")},n.getOpenClassName=function(){return"".concat(n.props.rootPrefixCls,"-submenu-open")},n.saveMenuInstance=function(e){n.menuInstance=e},n.addKeyPath=function(e){return X({},e,{keyPath:(e.keyPath||[]).concat(n.props.eventKey)})},n.triggerOpenChange=function(e,t){var r=n.props.eventKey,o=function(){n.onOpenChange({key:r,item:Y(n),trigger:t,open:e})};"mouseenter"===t?n.mouseenterTimeout=setTimeout((function(){o()}),0):o()},n.isChildrenSelected=function(){var e={find:!1};return function e(t,n,o){t&&!o.find&&r.Children.forEach(t,(function(t){if(t){var r=t.type;if(!r||!(r.isSubMenu||r.isMenuItem||r.isMenuItemGroup))return;-1!==n.indexOf(t.key)?o.find=!0:t.props.children&&e(t.props.children,n,o)}}))}(n.props.children,n.props.selectedKeys,e),e.find},n.isOpen=function(){return-1!==n.props.openKeys.indexOf(n.props.eventKey)},n.adjustWidth=function(){if(n.subMenuTitle&&n.menuInstance){var e=K.findDOMNode(n.menuInstance);e.offsetWidth>=n.subMenuTitle.offsetWidth||(e.style.minWidth="".concat(n.subMenuTitle.offsetWidth,"px"))}},n.saveSubMenuTitle=function(e){n.subMenuTitle=e};var l=e.store,s=e.eventKey,c=l.getState().defaultActiveFirst;n.isRootMenu=!1;var u=!1;return c&&(u=c[s]),te(l,s,u),n}var n,o,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.mode,r=t.parentMenu,o=t.manualRef;o&&o(this),"horizontal"===n&&r.isRootMenu&&this.props.isOpen&&(this.minWidthTimeout=setTimeout((function(){return e.adjustWidth()}),0))}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.onDestroy,n=e.eventKey;t&&t(n),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(e){var t=this,n=this.props,o={mode:"horizontal"===n.mode?"vertical":n.mode,visible:this.props.isOpen,level:n.level+1,inlineIndent:n.inlineIndent,focusable:!1,onClick:this.onSubMenuClick,onSelect:this.onSelect,onDeselect:this.onDeselect,onDestroy:this.onDestroy,selectedKeys:n.selectedKeys,eventKey:"".concat(n.eventKey,"-menu-"),openKeys:n.openKeys,motion:n.motion,onOpenChange:this.onOpenChange,subMenuOpenDelay:n.subMenuOpenDelay,parentMenu:this,subMenuCloseDelay:n.subMenuCloseDelay,forceSubMenuRender:n.forceSubMenuRender,triggerSubMenuAction:n.triggerSubMenuAction,builtinPlacements:n.builtinPlacements,defaultActiveFirst:n.store.getState().defaultActiveFirst[F(n.eventKey)],multiple:n.multiple,prefixCls:n.rootPrefixCls,id:this.internalMenuId,manualRef:this.saveMenuInstance,itemIcon:n.itemIcon,expandIcon:n.expandIcon},i=this.haveRendered;if(this.haveRendered=!0,this.haveOpened=this.haveOpened||o.visible||o.forceSubMenuRender,!this.haveOpened)return r.createElement("div",null);var a=X({},n.motion,{leavedClassName:"".concat(n.rootPrefixCls,"-hidden"),removeOnLeave:!1,motionAppear:i||!o.visible||"inline"!==o.mode});return r.createElement(B.a,Object.assign({visible:o.visible},a),(function(n){var i=n.className,a=n.style,l=u()("".concat(o.prefixCls,"-sub"),i);return r.createElement(Fe,Object.assign({},o,{id:t.internalMenuId,className:l,style:a}),e)}))}},{key:"render",value:function(){var e,t=X({},this.props),n=t.isOpen,o=this.getPrefixCls(),i="inline"===t.mode,a=u()(o,"".concat(o,"-").concat(t.mode),(J(e={},t.className,!!t.className),J(e,this.getOpenClassName(),n),J(e,this.getActiveClassName(),t.active||n&&!i),J(e,this.getDisabledClassName(),t.disabled),J(e,this.getSelectedClassName(),this.isChildrenSelected()),e));this.internalMenuId||(t.eventKey?this.internalMenuId="".concat(t.eventKey,"$Menu"):($+=1,this.internalMenuId="$__$".concat($,"$Menu")));var l={},s={},c={};t.disabled||(l={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},s={onClick:this.onTitleClick},c={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var f={};i&&(f.paddingLeft=t.inlineIndent*t.level);var p={};this.props.isOpen&&(p={"aria-owns":this.internalMenuId});var d=null;"horizontal"!==t.mode&&(d=this.props.expandIcon,"function"==typeof this.props.expandIcon&&(d=r.createElement(this.props.expandIcon,X({},this.props))));var m=r.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:f,className:"".concat(o,"-title")},c,s,{"aria-expanded":n},p,{"aria-haspopup":"true",title:"string"==typeof t.title?t.title:void 0}),t.title,d||r.createElement("i",{className:"".concat(o,"-arrow")})),h=this.renderChildren(t.children),y=t.parentMenu.isRootMenu?t.parentMenu.props.getPopupContainer:function(e){return e.parentNode},v=ee[t.mode],b=t.popupOffset?{offset:t.popupOffset}:{},g="inline"===t.mode?"":t.popupClassName,O=t.disabled,w=t.triggerSubMenuAction,E=t.subMenuOpenDelay,x=t.forceSubMenuRender,S=t.subMenuCloseDelay,_=t.builtinPlacements;return A.forEach((function(e){return delete t[e]})),delete t.onClick,r.createElement("li",Object.assign({},t,l,{className:a,role:"menuitem"}),i&&m,i&&h,!i&&r.createElement(U.a,{prefixCls:o,popupClassName:"".concat(o,"-popup ").concat(g),getPopupContainer:y,builtinPlacements:Object.assign({},z,_),popupPlacement:v,popupVisible:n,popupAlign:b,popup:h,action:O?[]:[w],mouseEnterDelay:E,mouseLeaveDelay:S,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:x},m))}}])&&H(n.prototype,o),a&&H(n,a),t}(r.Component);ne.defaultProps={onMouseEnter:M,onMouseLeave:M,onTitleMouseEnter:M,onTitleMouseLeave:M,onTitleClick:M,manualRef:M,mode:"vertical",title:""};var re=Object(o.connect)((function(e,t){var n=e.openKeys,r=e.activeKey,o=e.selectedKeys,i=t.eventKey,a=t.subMenuKey;return{isOpen:n.indexOf(i)>-1,active:r[a]===i,selectedKeys:o}}))(ne);re.isSubMenu=!0;var oe=re;function ie(e){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ae(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function de(e,t){return!t||"object"!==ie(t)&&"function"!=typeof t?he(e):t}function me(e){return(me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ye(e,t){return(ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ve=!("undefined"==typeof window||!window.document||!window.document.createElement);ve&&n("DN2a");var be=function(e){function t(){var e;return fe(this,t),(e=de(this,me(t).apply(this,arguments))).resizeObserver=null,e.mutationObserver=null,e.originalTotalWidth=0,e.overflowedItems=[],e.menuItemSizes=[],e.state={lastVisibleIndex:void 0},e.getMenuItemNodes=function(){var t=e.props.prefixCls,n=K.findDOMNode(he(e));return n?[].slice.call(n.children).filter((function(e){return e.className.split(" ").indexOf("".concat(t,"-overflowed-submenu"))<0})):[]},e.getOverflowedSubMenuItem=function(t,n,o){var i=e.props,a=i.overflowedIndicator,l=i.level,s=i.mode,c=i.prefixCls,u=i.theme;if(1!==l||"horizontal"!==s)return null;var f=e.props.children[0].props,p=(f.children,f.title,f.style),d=ue(f,["children","title","style"]),m=se({},p),h="".concat(t,"-overflowed-indicator"),y="".concat(t,"-overflowed-indicator");0===n.length&&!0!==o?m=se({},m,{display:"none"}):o&&(m=se({},m,{visibility:"hidden",position:"absolute"}),h="".concat(h,"-placeholder"),y="".concat(y,"-placeholder"));var v=u?"".concat(c,"-").concat(u):"",b={};return A.forEach((function(e){void 0!==d[e]&&(b[e]=d[e])})),r.createElement(oe,Object.assign({title:a,className:"".concat(c,"-overflowed-submenu"),popupClassName:v},b,{key:h,eventKey:y,disabled:!1,style:m}),n)},e.setChildrenWidthAndResize=function(){if("horizontal"===e.props.mode){var t=K.findDOMNode(he(e));if(t){var n=t.children;if(n&&0!==n.length){var r=t.children[n.length-1];L(r,"display","inline-block");var o=e.getMenuItemNodes(),i=o.filter((function(e){return e.className.split(" ").indexOf("menuitem-overflowed")>=0}));i.forEach((function(e){L(e,"display","inline-block")})),e.menuItemSizes=o.map((function(e){return R(e)})),i.forEach((function(e){L(e,"display","none")})),e.overflowedIndicatorWidth=R(t.children[t.children.length-1]),e.originalTotalWidth=e.menuItemSizes.reduce((function(e,t){return e+t}),0),e.handleResize(),L(r,"display","none")}}}},e.handleResize=function(){if("horizontal"===e.props.mode){var t=K.findDOMNode(he(e));if(t){var n=R(t);e.overflowedItems=[];var r,o=0;e.originalTotalWidth>n+.5&&(r=-1,e.menuItemSizes.forEach((function(t){(o+=t)+e.overflowedIndicatorWidth<=n&&(r+=1)}))),e.setState({lastVisibleIndex:r})}}},e}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ye(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){var e=this;if(this.setChildrenWidthAndResize(),1===this.props.level&&"horizontal"===this.props.mode){var t=K.findDOMNode(this);if(!t)return;this.resizeObserver=new V.default((function(t){t.forEach(e.setChildrenWidthAndResize)})),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),"undefined"!=typeof MutationObserver&&(this.mutationObserver=new MutationObserver((function(){e.resizeObserver.disconnect(),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),e.setChildrenWidthAndResize()})),this.mutationObserver.observe(t,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect()}},{key:"renderChildren",value:function(e){var t=this,n=this.state.lastVisibleIndex;return(e||[]).reduce((function(o,i,a){var l=i;if("horizontal"===t.props.mode){var s=t.getOverflowedSubMenuItem(i.props.eventKey,[]);void 0!==n&&-1!==t.props.className.indexOf("".concat(t.props.prefixCls,"-root"))&&(a>n&&(l=r.cloneElement(i,{style:{display:"none"},eventKey:"".concat(i.props.eventKey,"-hidden"),className:"".concat("menuitem-overflowed")})),a===n+1&&(t.overflowedItems=e.slice(n+1).map((function(e){return r.cloneElement(e,{key:e.props.eventKey,mode:"vertical-left"})})),s=t.getOverflowedSubMenuItem(i.props.eventKey,t.overflowedItems)));var c=[].concat(ae(o),[s,l]);return a===e.length-1&&c.push(t.getOverflowedSubMenuItem(i.props.eventKey,[],!0)),c}return[].concat(ae(o),[l])}),[])}},{key:"render",value:function(){var e=this.props,t=(e.visible,e.prefixCls,e.overflowedIndicator,e.mode,e.level,e.tag),n=e.children,o=(e.theme,ue(e,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"])),i=t;return r.createElement(i,Object.assign({},o),this.renderChildren(n))}}])&&pe(n.prototype,o),i&&pe(n,i),t}(r.Component);be.defaultProps={tag:"div",className:""};var ge=be;function Oe(e){return(Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function we(){return(we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){Pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ke(e,t,n){var r=e.getState();e.setState({activeKey:Ce({},r.activeKey,Pe({},t,n))})}function Ne(e){return e.eventKey||"0-menu-"}function Te(e,t){var n,r=t,o=e.children,i=e.eventKey;if(r&&(I(o,(function(e,t){e&&e.props&&!e.props.disabled&&r===D(e,i,t)&&(n=!0)})),n))return r;return r=null,e.defaultActiveFirst?(I(o,(function(e,t){r||!e||e.props.disabled||(r=D(e,i,t))})),r):r}function Me(e){if(e){var t=this.instanceArray.indexOf(e);-1!==t?this.instanceArray[t]=e:this.instanceArray.push(e)}}var De=function(e){function t(e){var n,o,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=this,l=xe(t).call(this,e),(n=!l||"object"!==Oe(l)&&"function"!=typeof l?Se(o):l).onKeyDown=function(e,t){var r,o=e.keyCode;if(n.getFlatInstanceArray().forEach((function(t){t&&t.props.active&&t.onKeyDown&&(r=t.onKeyDown(e))})),r)return 1;var a=null;return o!==i.a.UP&&o!==i.a.DOWN||(a=n.step(o===i.a.UP?-1:1)),a?(e.preventDefault(),ke(n.props.store,Ne(n.props),a.props.eventKey),"function"==typeof t&&t(a),1):void 0},n.onItemHover=function(e){var t=e.key,r=e.hover;ke(n.props.store,Ne(n.props),r?t:null)},n.onDeselect=function(e){n.props.onDeselect(e)},n.onSelect=function(e){n.props.onSelect(e)},n.onClick=function(e){n.props.onClick(e)},n.onOpenChange=function(e){n.props.onOpenChange(e)},n.onDestroy=function(e){n.props.onDestroy(e)},n.getFlatInstanceArray=function(){return n.instanceArray},n.step=function(e){var t=n.getFlatInstanceArray(),r=n.props.store.getState().activeKey[Ne(n.props)],o=t.length;if(!o)return null;e<0&&(t=t.concat().reverse());var i=-1;if(t.every((function(e,t){return!e||e.props.eventKey!==r||(i=t,!1)})),n.props.defaultActiveFirst||-1===i||(a=t.slice(i,o-1)).length&&!a.every((function(e){return!!e.props.disabled}))){var a,l=(i+1)%o,s=l;do{var c=t[s];if(c&&!c.props.disabled)return c;s=(s+1)%o}while(s!==l);return null}},n.renderCommonMenuItem=function(e,t,o){var i=n.props.store.getState(),l=Se(n).props,s=D(e,l.eventKey,t),c=e.props;if(!c||"string"==typeof e.type)return e;var u=s===i.activeKey,f=Ce({mode:c.mode||l.mode,level:l.level,inlineIndent:l.inlineIndent,renderMenuItem:n.renderMenuItem,rootPrefixCls:l.prefixCls,index:t,parentMenu:l.parentMenu,manualRef:c.disabled?void 0:Object(a.a)(e.ref,Me.bind(Se(n))),eventKey:s,active:!c.disabled&&u,multiple:l.multiple,onClick:function(e){(c.onClick||M)(e),n.onClick(e)},onItemHover:n.onItemHover,motion:l.motion,subMenuOpenDelay:l.subMenuOpenDelay,subMenuCloseDelay:l.subMenuCloseDelay,forceSubMenuRender:l.forceSubMenuRender,onOpenChange:n.onOpenChange,onDeselect:n.onDeselect,onSelect:n.onSelect,builtinPlacements:l.builtinPlacements,itemIcon:c.itemIcon||n.props.itemIcon,expandIcon:c.expandIcon||n.props.expandIcon},o);return("inline"===l.mode||N.any)&&(f.triggerSubMenuAction="click"),r.cloneElement(e,f)},n.renderMenuItem=function(e,t,r){if(!e)return null;var o=n.props.store.getState(),i={openKeys:o.openKeys,selectedKeys:o.selectedKeys,triggerSubMenuAction:n.props.triggerSubMenuAction,subMenuKey:r};return n.renderCommonMenuItem(e,t,i)},e.store.setState({activeKey:Ce({},e.store.getState().activeKey,Pe({},e.eventKey,Te(e,e.activeKey)))}),n.instanceArray=[],n}var n,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(e){return this.props.visible||e.visible||this.props.className!==e.className||!s()(this.props.style,e.style)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n="activeKey"in t?t.activeKey:t.store.getState().activeKey[Ne(t)],r=Te(t,n);(r!==n||"activeKey"in e&&r!==Te(e,e.activeKey))&&ke(t.store,Ne(t),r)}},{key:"render",value:function(){var e=this,t=we({},this.props);this.instanceArray=[];var n={className:u()(t.prefixCls,t.className,"".concat(t.prefixCls,"-").concat(t.mode)),role:t.role||"menu"};t.id&&(n.id=t.id),t.focusable&&(n.tabIndex=0,n.onKeyDown=this.onKeyDown);var o=t.prefixCls,i=t.eventKey,a=t.visible,l=t.level,s=t.mode,c=t.overflowedIndicator,f=t.theme;return A.forEach((function(e){return delete t[e]})),delete t.onClick,r.createElement(ge,Object.assign({},t,{prefixCls:o,mode:s,tag:"ul",level:l,theme:f,visible:a,overflowedIndicator:c},n),r.Children.map(t.children,(function(t,n){return e.renderMenuItem(t,n,i||"0-menu-")})))}}])&&Ee(n.prototype,o),l&&Ee(n,l),t}(r.Component);De.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:M};var Fe=Object(o.connect)()(De),Ie=n("Kwbf");function Ae(e){return(Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Re(e){var t=e.prefixCls,n=e.motion,r=e.openAnimation,o=e.openTransitionName;if(n)return n;if("object"===Ae(r)&&r)Object(Ie.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if("string"==typeof r)return{motionName:"".concat(t,"-open-").concat(r)};return o?{motionName:o}:null}function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(n),!0).forEach((function(t){Ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function We(e,t){return(We=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var He=function(e){function t(e){var n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,i=qe(t).call(this,e),(n=!i||"object"!==Le(i)&&"function"!=typeof i?ze(r):i).onSelect=function(e){var t=ze(n).props;if(t.selectable){var r=n.store.getState().selectedKeys,o=e.key;r=t.multiple?r.concat([o]):[o],"selectedKeys"in t||n.store.setState({selectedKeys:r}),t.onSelect(Ve({},e,{selectedKeys:r}))}},n.onClick=function(e){n.props.onClick(e)},n.onKeyDown=function(e,t){n.innerMenu.getWrappedInstance().onKeyDown(e,t)},n.onOpenChange=function(e){var t=ze(n).props,r=n.store.getState().openKeys.concat(),o=!1,i=function(e){var t=!1;if(e.open)(t=-1===r.indexOf(e.key))&&r.push(e.key);else{var n=r.indexOf(e.key);(t=-1!==n)&&r.splice(n,1)}o=o||t};Array.isArray(e)?e.forEach(i):i(e),o&&("openKeys"in n.props||n.store.setState({openKeys:r}),t.onOpenChange(r))},n.onDeselect=function(e){var t=ze(n).props;if(t.selectable){var r=n.store.getState().selectedKeys.concat(),o=e.key,i=r.indexOf(o);-1!==i&&r.splice(i,1),"selectedKeys"in t||n.store.setState({selectedKeys:r}),t.onDeselect(Ve({},e,{selectedKeys:r}))}},n.getOpenTransitionName=function(){var e=ze(n).props,t=e.openTransitionName,r=e.openAnimation;return t||"string"!=typeof r||(t="".concat(e.prefixCls,"-open-").concat(r)),t},n.setInnerMenu=function(e){n.innerMenu=e},n.isRootMenu=!0;var a=e.defaultSelectedKeys,l=e.defaultOpenKeys;return"selectedKeys"in e&&(a=e.selectedKeys||[]),"openKeys"in e&&(l=e.openKeys||[]),n.store=Object(o.create)({selectedKeys:a,openKeys:l,activeKey:{"0-menu-":Te(e,e.activeKey)}}),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&We(e,t)}(t,e),n=t,(i=[{key:"componentDidMount",value:function(){this.updateMiniStore()}},{key:"componentDidUpdate",value:function(){this.updateMiniStore()}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var e=Ve({},this.props);return e.className+=" ".concat(e.prefixCls,"-root"),delete(e=Ve({},e,{onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,parentMenu:this,motion:Re(this.props)})).openAnimation,delete e.openTransitionName,r.createElement(o.Provider,{store:this.store},r.createElement(Fe,Object.assign({},e,{ref:this.setInnerMenu}),this.props.children))}}])&&Be(n.prototype,i),a&&Be(n,a),t}(r.Component);He.defaultProps={selectable:!0,onClick:M,onSelect:M,onOpenChange:M,onDeselect:M,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:r.createElement("span",null,"···")};var Ge=He,Ye=n("9Do8"),Qe=n.n(Ye);function Ze(e){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach((function(t){$e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nt(e,t){return!t||"object"!==Ze(t)&&"function"!=typeof t?ot(e):t}function rt(e){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ot(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function it(e,t){return(it=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var at=function(e){function t(){var e;return et(this,t),(e=nt(this,rt(t).apply(this,arguments))).onKeyDown=function(t){if(t.keyCode===i.a.ENTER)return e.onClick(t),!0},e.onMouseLeave=function(t){var n=e.props,r=n.eventKey,o=n.onItemHover,i=n.onMouseLeave;o({key:r,hover:!1}),i({key:r,domEvent:t})},e.onMouseEnter=function(t){var n=e.props,r=n.eventKey,o=n.onItemHover,i=n.onMouseEnter;o({key:r,hover:!0}),i({key:r,domEvent:t})},e.onClick=function(t){var n=e.props,r=n.eventKey,o=n.multiple,i=n.onClick,a=n.onSelect,l=n.onDeselect,s=n.isSelected,c={key:r,keyPath:[r],item:ot(e),domEvent:t};i(c),o?s?l(c):a(c):s||a(c)},e.saveNode=function(t){e.node=t},e}var n,o,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&it(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.active,r=t.parentMenu,o=t.eventKey;e.active||!n||r&&r["scrolled-".concat(o)]?r&&r["scrolled-".concat(o)]&&delete r["scrolled-".concat(o)]:this.node&&(Qe()(this.node,K.findDOMNode(r),{onlyScrollIfNeeded:!0}),r["scrolled-".concat(o)]=!0),this.callRef()}},{key:"componentWillUnmount",value:function(){var e=this.props;e.onDestroy&&e.onDestroy(e.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var e,t=Je({},this.props),n=u()(this.getPrefixCls(),t.className,($e(e={},this.getActiveClassName(),!t.disabled&&t.active),$e(e,this.getSelectedClassName(),t.isSelected),$e(e,this.getDisabledClassName(),t.disabled),e)),o=Je({},t.attribute,{title:t.title,className:n,role:t.role||"menuitem","aria-disabled":t.disabled});"option"===t.role?o=Je({},o,{role:"option","aria-selected":t.isSelected}):null!==t.role&&"none"!==t.role||(o.role="none");var i={onClick:t.disabled?null:this.onClick,onMouseLeave:t.disabled?null:this.onMouseLeave,onMouseEnter:t.disabled?null:this.onMouseEnter},a=Je({},t.style);"inline"===t.mode&&(a.paddingLeft=t.inlineIndent*t.level),A.forEach((function(e){return delete t[e]}));var l=this.props.itemIcon;return"function"==typeof this.props.itemIcon&&(l=r.createElement(this.props.itemIcon,this.props)),r.createElement("li",Object.assign({},t,o,i,{style:a,ref:this.saveNode}),t.children,l)}}])&&tt(n.prototype,o),a&&tt(n,a),t}(r.Component);at.isMenuItem=!0,at.defaultProps={onSelect:M,onMouseEnter:M,onMouseLeave:M,manualRef:M};var lt=Object(o.connect)((function(e,t){var n=e.activeKey,r=e.selectedKeys,o=t.eventKey;return{active:n[t.subMenuKey]===o,isSelected:-1!==r.indexOf(o)}}))(at);function st(e){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ct(){return(ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ft(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pt(e,t){return!t||"object"!==st(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function dt(e){return(dt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mt(e,t){return(mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ht=function(e){function t(){var e;return ut(this,t),(e=pt(this,dt(t).apply(this,arguments))).renderInnerMenuItem=function(t){var n=e.props;return(0,n.renderMenuItem)(t,n.index,e.props.subMenuKey)},e}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mt(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=ct({},this.props),t=e.className,n=void 0===t?"":t,o=e.rootPrefixCls,i="".concat(o,"-item-group-title"),a="".concat(o,"-item-group-list"),l=e.title,s=e.children;return A.forEach((function(t){return delete e[t]})),delete e.onClick,r.createElement("li",Object.assign({},e,{className:"".concat(n," ").concat(o,"-item-group")}),r.createElement("div",{className:i,title:"string"==typeof l?l:void 0},l),r.createElement("ul",{className:a},r.Children.map(s,this.renderInnerMenuItem)))}}])&&ft(n.prototype,o),i&&ft(n,i),t}(r.Component);ht.isMenuItemGroup=!0,ht.defaultProps={disabled:!0};var yt=ht,vt=function(e){var t=e.className,n=e.rootPrefixCls,o=e.style;return r.createElement("li",{className:"".concat(t," ").concat(n,"-item-divider"),style:o})};vt.defaultProps={disabled:!0,className:"",style:{}};var bt=vt;t.e=Ge},"2DKY":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("n5Yh")},"2NuI":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},"2WkQ":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+B/L"),n("TfFZ")},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"2gN3":function(e,t,n){var r=n("Kz5y")["__core-js_shared__"];e.exports=r},"2mql":function(e,t,n){"use strict";var r=n("TOwV"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=d(n);o&&o!==m&&e(t,o,r)}var a=u(n);f&&(a=a.concat(f(n)));for(var l=s(t),h=s(n),y=0;y<a.length;++y){var v=a[y];if(!(i[v]||r&&r[v]||h&&h[v]||l&&l[v])){var b=p(n,v);try{c(t,v,b)}catch(e){}}}}return t}},"3Fdi":function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},"44Ds":function(e,t,n){var r=n("e4Nc");function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},"4kuk":function(e,t,n){var r=n("SfRM"),o=n("Hvzi"),i=n("u8Dt"),a=n("ekgI"),l=n("JSQU");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),i=n("Z0cm"),a=n("wJg7"),l=n("shjB"),s=n("9Nap");e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,f=!1;++c<u;){var p=s(t[c]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++c!=u?f:!!(u=null==e?0:e.length)&&l(u)&&a(p,u)&&(i(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"4uTw":function(e,t,n){var r=n("Z0cm"),o=n("9ggG"),i=n("GNiM"),a=n("dt0z");e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},"6JOy":function(e,t,n){},"74dF":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("D8SU"),n("TfFZ")},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("VCL8"),a=n("QbLZ"),l=n.n(a),s=n("iCc5"),c=n.n(s),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),m=n("mRg0"),h=n.n(m),y=n("17x9"),v=n.n(y),b=n("YEIV"),g=n.n(b),O=n("TSYQ"),w=n.n(O);function E(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function x(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(function(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),E(t));e.onSuccess(E(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var o in null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),r)r.hasOwnProperty(o)&&null!==r[o]&&t.setRequestHeader(o,r[o]);return t.send(n),{abort:function(){t.abort()}}}var S=+new Date,_=0;function j(){return"rc-upload-"+S+"-"+ ++_}var C=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some((function(e){var t,n,a=e.trim();return"."===a.charAt(0)?(t=r.toLowerCase(),n=a.toLowerCase(),-1!==t.indexOf(n,t.length-n.length)):/\/\*$/.test(a)?i===a.replace(/\/.*$/,""):o===a}))}return!0};var P=function(e,t,n){var r=function e(r,o){o=o||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var o=Array.prototype.slice.apply(n);r=r.concat(o),!o.length?t(r):e()}))}()}(r,(function(t){t.forEach((function(t){e(t,""+o+r.name+"/")}))}))},o=!0,i=!1,a=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){i=!0,a=e}finally{try{!o&&s.return&&s.return()}finally{if(i)throw a}}},k=function(e){function t(){var e,n,r,o;c()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={uid:j()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(){var e=r.fileInput;e&&e.click()},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)P(e.dataTransfer.items,r.uploadFiles,(function(e){return C(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return C(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=j(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},o=n,d()(r,o)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var o=r.beforeUpload(e,t);o&&o.then?o.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)})).catch((function(e){console&&console.log(e)})):!1!==o&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.data,o=n.onStart,i=n.onProgress,a=n.transformFile,l=void 0===a?function(e){return e}:a;new Promise((function(t){var r=n.action;if("function"==typeof r)return t(r(e));t(r)})).then((function(a){var s=e.uid,c=n.customRequest||x;Promise.resolve(l(e)).catch((function(e){console.error(e)})).then((function(l){"function"==typeof r&&(r=r(e));var u={action:a,filename:n.name,data:r,file:l,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:i?function(t){i(t,e)}:null,onSuccess:function(r,o){delete t.reqs[s],n.onSuccess(r,e,o)},onError:function(r,o){delete t.reqs[s],n.onError(r,o,e)}};t.reqs[s]=c(u),o(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:j()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,i=t.className,a=t.disabled,s=t.id,c=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,m=t.openFileDialogOnClick,h=w()((e={},g()(e,r,!0),g()(e,r+"-disabled",a),g()(e,i,i),e)),y=a?{}:{onClick:m?this.onClick:function(){},onKeyDown:m?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return o.a.createElement(n,l()({},y,{className:h,role:"button",style:c}),o.a.createElement("input",{id:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:f,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:u,onChange:this.onChange}),p)}}]),t}(r.Component);k.propTypes={id:v.a.string,component:v.a.string,style:v.a.object,prefixCls:v.a.string,className:v.a.string,multiple:v.a.bool,directory:v.a.bool,disabled:v.a.bool,accept:v.a.string,children:v.a.any,onStart:v.a.func,data:v.a.oneOfType([v.a.object,v.a.func]),action:v.a.oneOfType([v.a.string,v.a.func]),headers:v.a.object,beforeUpload:v.a.func,customRequest:v.a.func,onProgress:v.a.func,withCredentials:v.a.bool,openFileDialogOnClick:v.a.bool,transformFile:v.a.func};var N=k,T=n("i8i4"),M=n.n(T),D=n("2W6z"),F=n.n(D),I={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},A=function(e){function t(){var e,n,r,o;c()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={uploading:!1},r.file={},r.onLoad=function(){if(r.state.uploading){var e=r,t=e.props,n=e.file,o=void 0;try{var i=r.getIframeDocument(),a=i.getElementsByTagName("script")[0];a&&a.parentNode===i.body&&i.body.removeChild(a),o=i.body.innerHTML,t.onSuccess(o,n)}catch(e){F()(!1,"cross domain error for Upload. Maybe server should return document.domain script. see Note from https://github.com/react-component/upload"),o="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:j(),name:e.value&&e.value.substring(e.value.lastIndexOf("\\")+1,e.value.length)};r.startUpload();var n=r.props;if(!n.beforeUpload)return r.post(t);var o=n.beforeUpload(t);o&&o.then?o.then((function(){r.post(t)}),(function(){r.endUpload()})):!1!==o?r.post(t):r.endUpload()},r.saveIframe=function(e){r.iframe=e},o=n,d()(r,o)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.updateIframeWH(),this.initIframe()}},{key:"componentDidUpdate",value:function(){this.updateIframeWH()}},{key:"getIframeNode",value:function(){return this.iframe}},{key:"getIframeDocument",value:function(){return this.getIframeNode().contentDocument}},{key:"getFormNode",value:function(){return this.getIframeDocument().getElementById("form")}},{key:"getFormInputNode",value:function(){return this.getIframeDocument().getElementById("input")}},{key:"getFormDataNode",value:function(){return this.getIframeDocument().getElementById("data")}},{key:"getFileForMultiple",value:function(e){return this.props.multiple?[e]:e}},{key:"getIframeHTML",value:function(e){var t="",n="";if(e){t='<script>document.domain="'+e+'";<\/script>',n='<input name="_documentDomain" value="'+e+'" />'}return'\n <!DOCTYPE html>\n <html>\n <head>\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n <style>\n body,html {padding:0;margin:0;border:0;overflow:hidden;}\n </style>\n '+t+'\n </head>\n <body>\n <form method="post"\n encType="multipart/form-data"\n action="" id="form"\n style="display:block;height:9999px;position:relative;overflow:hidden;">\n <input id="input" type="file"\n name="'+this.props.name+'"\n style="position:absolute;top:0;right:0;height:9999px;font-size:9999px;cursor:pointer;"/>\n '+n+'\n <span id="data"></span>\n </form>\n </body>\n </html>\n '}},{key:"initIframeSrc",value:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")}},{key:"initIframe",value:function(){var e=this.getIframeNode(),t=e.contentWindow,n=void 0;this.domain=this.domain||"",this.initIframeSrc();try{n=t.document}catch(r){this.domain=document.domain,this.initIframeSrc(),n=(t=e.contentWindow).document}n.open("text/html","replace"),n.write(this.getIframeHTML(this.domain)),n.close(),this.getFormInputNode().onchange=this.onChange}},{key:"endUpload",value:function(){this.state.uploading&&(this.file={},this.state.uploading=!1,this.setState({uploading:!1}),this.initIframe())}},{key:"startUpload",value:function(){this.state.uploading||(this.state.uploading=!0,this.setState({uploading:!0}))}},{key:"updateIframeWH",value:function(){var e=M.a.findDOMNode(this),t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"}},{key:"abort",value:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()}},{key:"post",value:function(e){var t=this,n=this.getFormNode(),r=this.getFormDataNode(),o=this.props.data,i=this.props.onStart;"function"==typeof o&&(o=o(e));var a=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=o[l],a.appendChild(s)}r.appendChild(a),new Promise((function(n){var r=t.props.action;if("function"==typeof r)return n(r(e));n(r)})).then((function(t){n.setAttribute("action",t),n.submit(),r.innerHTML="",i(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,i=t.className,a=t.prefixCls,s=t.children,c=t.style,u=l()({},I,{display:this.state.uploading||r?"none":""}),f=w()((e={},g()(e,a,!0),g()(e,a+"-disabled",r),g()(e,i,i),e));return o.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},c)},o.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),s)}}]),t}(r.Component);A.propTypes={component:v.a.string,style:v.a.object,disabled:v.a.bool,prefixCls:v.a.string,className:v.a.string,accept:v.a.string,onStart:v.a.func,multiple:v.a.bool,children:v.a.any,data:v.a.oneOfType([v.a.object,v.a.func]),action:v.a.oneOfType([v.a.string,v.a.func]),name:v.a.string};var R=A;function L(){}var K=function(e){function t(){var e,n,r,o;c()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={Component:null},r.saveUploader=function(e){r.uploader=e},o=n,d()(r,o)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.supportServerRender&&this.setState({Component:this.getComponent()},this.props.onReady)}},{key:"getComponent",value:function(){return"undefined"!=typeof File?N:R}},{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){if(this.props.supportServerRender){var e=this.state.Component;return e?o.a.createElement(e,l()({},this.props,{ref:this.saveUploader})):null}var t=this.getComponent();return o.a.createElement(t,l()({},this.props,{ref:this.saveUploader}))}}]),t}(r.Component);K.propTypes={component:v.a.string,style:v.a.object,prefixCls:v.a.string,action:v.a.oneOfType([v.a.string,v.a.func]),name:v.a.string,multipart:v.a.bool,directory:v.a.bool,onError:v.a.func,onSuccess:v.a.func,onProgress:v.a.func,onStart:v.a.func,data:v.a.oneOfType([v.a.object,v.a.func]),headers:v.a.object,accept:v.a.string,multiple:v.a.bool,disabled:v.a.bool,beforeUpload:v.a.func,customRequest:v.a.func,onReady:v.a.func,withCredentials:v.a.bool,supportServerRender:v.a.bool,openFileDialogOnClick:v.a.bool},K.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:L,onStart:L,onError:L,onSuccess:L,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var V=K,U=n("qPyV"),B=n.n(U),q=n("UfWW"),z=n.n(q),W=n("MFj2");function H(){return(H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function G(e){return H(H({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Y(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Q=function(e){return!!e&&0===e.indexOf("image/")},Z=function(e){if(Q(e.type))return!0;var t=e.thumbUrl||e.url,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n};var X=n("CtXQ"),J=n("3S7+"),$=n("CFYs"),ee=n("H84U");function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ae(e,t){return(ae=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var o=ce(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ae(e,t)}(a,e);var t,n,o,i=le(a);function a(){var e;return oe(this,a),(e=i.apply(this,arguments)).handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e.handleDownload=function(t){var n=e.props.onDownload;"function"==typeof n?n(t):t.url&&window.open(t.url)},e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.renderUploadList=function(t){var n,o=t.getPrefixCls,i=e.props,a=i.prefixCls,l=i.items,s=void 0===l?[]:l,c=i.listType,u=i.showPreviewIcon,f=i.showRemoveIcon,p=i.showDownloadIcon,d=i.locale,m=i.progressAttr,h=o("upload",a),y=s.map((function(t){var n,o,i,a=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===c||"picture-card"===c)if("picture-card"===c&&"uploading"===t.status)a=r.createElement("div",{className:"".concat(h,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=Z(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(h,"-list-item-icon"),theme:"twoTone"});a=r.createElement("a",{className:"".concat(h,"-list-item-thumbnail"),onClick:function(n){return e.handlePreview(t,n)},href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},l)}else a=r.createElement(X.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement($.default,re({type:"line"},m,{percent:t.percent})):null;i=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=w()((ne(n={},"".concat(h,"-list-item"),!0),ne(n,"".concat(h,"-list-item-").concat(t.status),!0),ne(n,"".concat(h,"-list-item-list-type-").concat(c),!0),n)),b="string"==typeof t.linkProps?JSON.parse(t.linkProps):t.linkProps,g=f?r.createElement(X.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,O=p&&"done"===t.status?r.createElement(X.default,{type:"download",title:d.downloadFile,onClick:function(){return e.handleDownload(t)}}):null,E="picture-card"!==c&&r.createElement("span",{key:"download-delete",className:"".concat(h,"-list-item-card-actions ").concat("picture"===c?"picture":"")},O&&r.createElement("a",{title:d.downloadFile},O),g&&r.createElement("a",{title:d.removeFile},g)),x=w()((ne(o={},"".concat(h,"-list-item-name"),!0),ne(o,"".concat(h,"-list-item-name-icon-count-").concat([O,g].filter((function(e){return e})).length),!0),o)),S=t.url?[r.createElement("a",re({key:"view",target:"_blank",rel:"noopener noreferrer",className:x,title:t.name},b,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),E]:[r.createElement("span",{key:"view",className:x,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),E],_=u?r.createElement("a",{href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:t.url||t.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(n){return e.handlePreview(t,n)},title:d.previewFile},r.createElement(X.default,{type:"eye-o"})):null,j="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},_,"done"===t.status&&O,g);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var C=r.createElement("span",null,a,S),P=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},C),j,r.createElement(W.a,{transitionName:"fade",component:""},i)),k=w()(ne({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:k},"error"===t.status?r.createElement(J.default,{title:y},P):r.createElement("span",null,P))})),v=w()((ne(n={},"".concat(h,"-list"),!0),ne(n,"".concat(h,"-list-").concat(c),!0),n)),b="picture-card"===c?"animate-inline":"animate";return r.createElement(W.a,{transitionName:"".concat(h,"-").concat(b),component:"div",className:v},y)},e}return t=a,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.listType,r=t.items,o=t.previewFile;"picture"!==n&&"picture-card"!==n||(r||[]).forEach((function(t){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",o&&o(t.originFileObj).then((function(n){t.thumbUrl=n||"",e.forceUpdate()})))}))}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUploadList)}}])&&ie(t.prototype,n),o&&ie(t,o),a}(r.Component);ue.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Q(e.type)){var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),o=new Image;o.onload=function(){var e=o.width,i=o.height,a=200,l=200,s=0,c=0;e<i?c=-((l=i*(200/e))-a)/2:s=-((a=e*(200/i))-l)/2,r.drawImage(o,s,c,a,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var fe=n("YMnH"),pe=n("ZvpZ"),de=n("6CfX");function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function be(e,t){return(be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=we(e);if(t){var o=we(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Oe(this,n)}}function Oe(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ee=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&be(e,t)}(a,e);var t,n,o,i=ge(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=G(e);r.status="uploading";var o=n.concat(),i=z()(o,(function(e){return e.uid===r.uid}));-1===i?o.push(r):o[i]=r,t.onChange({file:r,fileList:o}),window.File&&!Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).TEST_IE||t.autoUpdateProgress(0,r)},t.onSuccess=function(e,n,r){t.clearProgressTimer();try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var o=t.state.fileList,i=Y(n,o);i&&(i.status="done",i.response=e,i.xhr=r,t.onChange({file:ye({},i),fileList:o}))},t.onProgress=function(e,n){var r=t.state.fileList,o=Y(n,r);o&&(o.percent=e.percent,t.onChange({event:e,file:ye({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,i=Y(r,o);i&&(i.error=e,i.response=n,i.status="error",t.onChange({file:ye({},i),fileList:o}))},t.handleRemove=function(e){var n=t.props.onRemove,r=t.state.fileList;Promise.resolve("function"==typeof n?n(e):n).then((function(n){if(!1!==n){var o=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,r);o&&(e.status="removed",t.upload&&t.upload.abort(e),t.onChange({file:e,fileList:o}))}}))},t.onChange=function(e){"fileList"in t.props||t.setState({fileList:e.fileList});var n=t.props.onChange;n&&n(e)},t.onFileDrop=function(e){t.setState({dragState:e.type})},t.beforeUpload=function(e,n){var r=t.props.beforeUpload,o=t.state.fileList;if(!r)return!0;var i=r(e,n);return!1===i?(t.onChange({file:e,fileList:B()(o.concat(n.map(G)),(function(e){return e.uid}))}),!1):!i||!i.then||i},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,i=n.listType,a=n.onPreview,l=n.onDownload,s=n.previewFile,c=n.disabled,u=n.locale,f=o.showRemoveIcon,p=o.showPreviewIcon,d=o.showDownloadIcon,m=t.state.fileList;return r.createElement(ue,{listType:i,items:m,previewFile:s,onPreview:a,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:ye(ye({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,i=t.props,a=i.prefixCls,l=i.className,s=i.showUploadList,c=i.listType,u=i.type,f=i.disabled,p=i.children,d=i.style,m=t.state,h=m.fileList,y=m.dragState,v=o("upload",a),b=ye(ye({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:v,beforeUpload:t.beforeUpload});delete b.className,delete b.style,p&&!f||delete b.id;var g=s?r.createElement(fe.a,{componentName:"Upload",defaultLocale:pe.a.Upload},t.renderUploadList):null;if("drag"===u){var O,E=w()(v,(he(O={},"".concat(v,"-drag"),!0),he(O,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),he(O,"".concat(v,"-drag-hover"),"dragover"===y),he(O,"".concat(v,"-disabled"),f),O),l);return r.createElement("span",null,r.createElement("div",{className:E,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(V,ye({},b,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),g)}var x=w()(v,(he(n={},"".concat(v,"-select"),!0),he(n,"".concat(v,"-select-").concat(c),!0),he(n,"".concat(v,"-disabled"),f),n)),S=r.createElement("div",{className:x,style:p?void 0:{display:"none"}},r.createElement(V,ye({},b,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:w()(l,"".concat(v,"-picture-card-wrapper"))},g,S):r.createElement("span",{className:l},S,g)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(de.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return t=a,o=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(n=[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"autoUpdateProgress",value:function(e,t){var n,r=this,o=(n=.1,function(e){var t=e;return t>=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),i=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){i=o(i),r.onProgress({percent:100*i},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&ve(t.prototype,n),o&&ve(t,o),a}(r.Component);Ee.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(i.polyfill)(Ee);var xe=Ee;function Se(e){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _e(){return(_e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(e,t){return(Pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var o=Te(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ne(this,n)}}function Ne(e,t){return!t||"object"!==Se(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Me=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},De=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pe(e,t)}(a,e);var t,n,o,i=ke(a);function a(){return je(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.style,n=e.height,o=Me(e,["style","height"]);return r.createElement(xe,_e({},o,{type:"drag",style:_e(_e({},t),{height:n})}))}}])&&Ce(t.prototype,n),o&&Ce(t,o),a}(r.Component);xe.Dragger=De;t.default=xe},"9Do8":function(e,t,n){"use strict";e.exports=n("zt9T")},"9Nap":function(e,t,n){var r=n("/9aa");e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},"9ggG":function(e,t,n){var r=n("Z0cm"),o=n("/9aa"),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},AU0A:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0"));t.default=function(e,t,n,o,i){(/^\s+$/.test(t)||""===t)&&o.push(r.format(i.messages.whitespace,e.fullField))}},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),o=n("spEH"),i=c(n("Rs/d")),a=n("PhNK"),l=n("sYIF"),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.commits,n=e.projectsId,c=e.owner;return r.default.createElement("div",{className:"pb20"},t.map((function(e,t){return r.default.createElement("div",{className:"prCommits"},r.default.createElement("p",{className:"prCreate"},e.created_at),r.default.createElement("div",{className:"prInfo"},r.default.createElement(o.FlexAJ,null,r.default.createElement(o.AlignCenter,null,r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,a.truncateCommitId)(""+e.sha),className:"commitKey",style:{marginLeft:0}},(0,a.truncateCommitId)(""+e.sha)),r.default.createElement("p",{className:"ml15 font-16 color-grey-3 task-hide",style:{maxWidth:"700px"}},e.message)),r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,a.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(o.AlignCenter,{className:"mt15"},r.default.createElement(i.default,{url:(0,l.getImageUrl)("/"+(e.committer&&e.committer.image_url)),name:""+(e.committer&&e.committer.name)}),r.default.createElement("span",null,":提交于",e.time_from_now))))})))}},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("CtXQ")),o=p(n("2/Rp")),i=p(n("8z0m")),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("2oDE"),n("L/Qf"),n("7W5+");var s=n("q1tI"),c=p(s),u=n("sYIF"),f=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}var d=i.default.Dragger,m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.checkInitFile()},n.componentDidUpdate=function(e){e&&e.fileList!==n.props.fileList&&n.checkInitFile()},n.checkInitFile=function(){var e=n.props.fileList;e&&e.length>0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";f.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&(e.response.id||e.response.data&&e.response.data.id))})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024<t;return r||n.props.showNotification("文件大小必须小于"+t+"MB!"),r},n.state={fileList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,l=e.btn,s=e.className,f=e.size,p=e.actionUrl,m=this.state.fileList,h={name:"file",fileList:!0===t?m:void 0,action:p||""+(0,u.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return l?c.default.createElement(i.default,a({},h,{className:s}),c.default.createElement(o.default,{type:"default"},"上传文件"),c.default.createElement("span",{className:"ml10 color-grey-9"},"(你可以上传小于",c.default.createElement("span",{className:"color-red"},f,"MB"),"的文件)")):c.default.createElement(d,a({},h,{className:s}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-16 color-grey-3"},"拖动文件或点击此处上传"))}}]),t}(s.Component);t.default=m},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ie}));var r=n("q1tI"),o=n("1j5w"),i=n("TSYQ"),a=n.n(i),l=n("BGR+"),s=n("VCL8"),c=n("17x9"),u=n("foW8"),f=n.n(u),p=f()({inlineCollapsed:!1});function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(s,e);var t,n,i,l=b(s);function s(){var e;return h(this,s),(e=l.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return t=s,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,i=t.popupClassName;return r.createElement(p.Consumer,null,(function(t){var l=t.antdMenuTheme;return r.createElement(o.d,m({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(l),i)}))}))}}])&&y(t.prototype,n),i&&y(t,i),s}(r.Component);w.contextTypes={antdMenuTheme:c.string},w.isSubMenu=1;var E=w,x=n("3S7+"),S=n("H84U");function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e){return function(e){if(Array.isArray(e))return C(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t,n){return t&&N(e.prototype,t),n&&N(e,n),e}function M(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A(e);if(t){var o=A(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},L=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function K(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var i;return(i=function(o){M(a,o);var i=F(a);function a(){var o;return k(this,a),(o=i.apply(this,arguments)).renderComponent=function(i){var a=i.getPrefixCls,l=o.props.prefixCls,s=a(t,l);return r.createElement(e,P({prefixCls:s,tagName:n},o.props))},o}return T(a,[{key:"render",value:function(){return r.createElement(S.a,null,this.renderComponent)}}]),a}(r.Component)).displayName=o,i}}var V=function(e){var t=e.prefixCls,n=e.className,o=e.children,i=e.tagName,l=R(e,["prefixCls","className","children","tagName"]),s=a()(n,t);return r.createElement(i,P({className:s},l),o)},U=function(e){M(n,e);var t=F(n);function n(){var e;return k(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return T(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(j(e.siders),[t])}}))},removeSider:function(t){e.setState((function(e){return{siders:e.siders.filter((function(e){return e!==t}))}}))}}}},{key:"render",value:function(){var e,t,n,o=this.props,i=o.prefixCls,l=o.className,s=o.children,c=o.hasSider,u=o.tagName,f=R(o,["prefixCls","className","children","hasSider","tagName"]),p=a()(l,i,(e={},t="".concat(i,"-has-sider"),n="boolean"==typeof c?c:this.state.siders.length>0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e));return r.createElement(L.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(u,P({className:p},f),s))}}]),n}(r.Component),B=K({suffixCls:"layout",tagName:"section",displayName:"Layout"})(U),q=K({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(V),z=K({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(V),W=K({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(V);B.Header=q,B.Footer=z,B.Content=W;var H=n("CtXQ"),G=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Y(e){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z(){return(Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $(e,t,n){return t&&J(e.prototype,t),n&&J(e,n),e}function ee(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&te(e,t)}function te(e,t){return(te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ne(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=oe(e);if(t){var o=oe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return re(this,n)}}function re(e,t){return!t||"object"!==Y(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}})}var ae,le={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),ce=(ae=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ae+=1,"".concat(e).concat(ae)}),ue=function(e){ee(n,e);var t=ne(n);function n(e){var o,i,s;return X(this,n),(o=t.call(this,e)).responsiveHandler=function(e){o.setState({below:e.matches});var t=o.props.onBreakpoint;t&&t(e.matches),o.state.collapsed!==e.matches&&o.setCollapsed(e.matches,"responsive")},o.setCollapsed=function(e,t){"collapsed"in o.props||o.setState({collapsed:e});var n=o.props.onCollapse;n&&n(e,t)},o.toggle=function(){var e=!o.state.collapsed;o.setCollapsed(e,"clickTrigger")},o.belowShowChange=function(){o.setState((function(e){return{belowShow:!e.belowShow}}))},o.renderSider=function(e){var t,n=e.getPrefixCls,i=o.props,s=i.prefixCls,c=i.className,u=i.theme,f=i.collapsible,p=i.reverseArrow,d=i.trigger,m=i.style,h=i.width,y=i.collapsedWidth,v=i.zeroWidthTriggerStyle,b=ie(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",s),O=Object(l.a)(b,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?y:h,E=G(w)?"".concat(w,"px"):String(w),x=0===parseFloat(String(y||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(g,"-zero-width-trigger ").concat(g,"-zero-width-trigger-").concat(p?"right":"left"),style:v},r.createElement(H.default,{type:"bars"})):null,S={expanded:p?r.createElement(H.default,{type:"right"}):r.createElement(H.default,{type:"left"}),collapsed:p?r.createElement(H.default,{type:"left"}):r.createElement(H.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],_=null!==d?x||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:E}},d||S):null,j=Z(Z({},m),{flex:"0 0 ".concat(E),maxWidth:E,minWidth:E,width:E}),C=a()(c,g,"".concat(g,"-").concat(u),(Q(t={},"".concat(g,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(g,"-has-trigger"),f&&null!==d&&!x),Q(t,"".concat(g,"-below"),!!o.state.below),Q(t,"".concat(g,"-zero-width"),0===parseFloat(E)),t));return r.createElement("aside",Z({className:C},O,{style:j}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&x?_:null)},o.uniqueId=ce("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in le&&(o.mql=i("(max-width: ".concat(le[e.breakpoint],")"))),s="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:s,below:!1},o}return $(n,[{key:"componentDidMount",value:function(){this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),this.props.siderHook&&this.props.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){this.mql&&this.mql.removeListener(this.responsiveHandler),this.props.siderHook&&this.props.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var e=this.state.collapsed,t=this.props.collapsedWidth;return r.createElement(se.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},r.createElement(S.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);ue.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(s.polyfill)(ue);r.Component;function fe(e){return(fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pe(){return(pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ye(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=be(e);if(t){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ve(this,n)}}function ve(e,t){return!t||"object"!==fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function be(e){return(be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ge=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&he(e,t)}(l,e);var t,n,i,a=ye(l);function l(){var e;return de(this,l),(e=a.apply(this,arguments)).onKeyDown=function(t){e.menuItem.onKeyDown(t)},e.saveMenuItem=function(t){e.menuItem=t},e.renderItem=function(t){var n=t.siderCollapsed,i=e.props,a=i.level,l=i.children,s=i.rootPrefixCls,c=e.props,u=c.title,f=ge(c,["title"]);return r.createElement(p.Consumer,null,(function(t){var i=t.inlineCollapsed,c={title:u||(1===a?l:"")};return n||i||(c.title=null,c.visible=!1),r.createElement(x.default,pe({},c,{placement:"right",overlayClassName:"".concat(s,"-inline-collapsed-tooltip")}),r.createElement(o.b,pe({},f,{title:u,ref:e.saveMenuItem})))}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&me(t.prototype,n),i&&me(t,i),l}(r.Component);Oe.isMenuItem=!0;var we=n("6CfX"),Ee=n("oHiP"),xe=n("EXcs");function Se(e){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _e(){return(_e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(e,t,n){return t&&Ce(e.prototype,t),n&&Ce(e,n),e}function ke(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ne(e,t)}function Ne(e,t){return(Ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=De(e);if(t){var o=De(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Me(this,n)}}function Me(e,t){return!t||"object"!==Se(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function De(e){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Fe=function(e){ke(n,e);var t=Te(n);function n(e){var i,s;return je(this,n),(i=t.call(this,e)).handleMouseEnter=function(e){i.restoreModeVerticalFromInline();var t=i.props.onMouseEnter;t&&t(e)},i.handleTransitionEnd=function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,n=e.target.className,r="[object SVGAnimatedString]"===Object.prototype.toString.call(n)?n.animVal:n,o="font-size"===e.propertyName&&r.indexOf("anticon")>=0;(t||o)&&i.restoreModeVerticalFromInline()},i.handleClick=function(e){i.handleOpenChange([]);var t=i.props.onClick;t&&t(e)},i.handleOpenChange=function(e){i.setOpenKeys(e);var t=i.props.onOpenChange;t&&t(e)},i.renderMenu=function(e){var t,n,s,c=e.getPopupContainer,u=e.getPrefixCls,f=i.props,p=f.prefixCls,d=f.className,m=f.theme,h=f.collapsedWidth,y=Object(l.a)(i.props,["collapsedWidth","siderCollapsed"]),v=i.getRealMenuMode(),b=i.getOpenMotionProps(v),g=u("menu",p),O=a()(d,"".concat(g,"-").concat(m),(t={},n="".concat(g,"-inline-collapsed"),s=i.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[n]=s,t)),w=_e({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:v},b);return"inline"!==v&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,_e({getPopupContainer:c},y,w,{prefixCls:g,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(we.a)(!("onOpen"in e||"onClose"in e),"Menu","`onOpen` and `onClose` are removed, please use `onOpenChange` instead, see: https://u.ant.design/menu-on-open-change."),Object(we.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(we.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?s=e.openKeys:"defaultOpenKeys"in e&&(s=e.defaultOpenKeys),i.state={openKeys:s||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},i}return Pe(n,[{key:"componentWillUnmount",value:function(){Ee.a.cancel(this.mountRafId)}},{key:"setOpenKeys",value:function(e){"openKeys"in this.props||this.setState({openKeys:e})}},{key:"getRealMenuMode",value:function(){var e=this.getInlineCollapsed();if(this.state.switchingModeFromInline&&e)return"inline";var t=this.props.mode;return e?"vertical":t}},{key:"getInlineCollapsed",value:function(){var e=this.props.inlineCollapsed;return void 0!==this.props.siderCollapsed?this.props.siderCollapsed:e}},{key:"getOpenMotionProps",value:function(e){var t=this.props,n=t.openTransitionName,r=t.openAnimation,o=t.motion;return o?{motion:o}:r?(Object(we.a)("string"==typeof r,"Menu","`openAnimation` do not support object. Please use `motion` instead."),{openAnimation:r}):n?{openTransitionName:n}:"horizontal"===e?{motion:{motionName:"slide-up"}}:"inline"===e?{motion:xe.a}:{motion:{motionName:this.state.switchingModeFromInline?"":"zoom-big"}}}},{key:"restoreModeVerticalFromInline",value:function(){this.state.switchingModeFromInline&&this.setState({switchingModeFromInline:!1})}},{key:"render",value:function(){return r.createElement(p.Provider,{value:{inlineCollapsed:this.getInlineCollapsed()||!1,antdMenuTheme:this.props.theme}},r.createElement(S.a,null,this.renderMenu))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};return"inline"===n.mode&&"inline"!==e.mode&&(r.switchingModeFromInline=!0),"openKeys"in e?r.openKeys=e.openKeys:((e.inlineCollapsed&&!n.inlineCollapsed||e.siderCollapsed&&!n.siderCollapsed)&&(r.switchingModeFromInline=!0,r.inlineOpenKeys=t.openKeys,r.openKeys=[]),(!e.inlineCollapsed&&n.inlineCollapsed||!e.siderCollapsed&&n.siderCollapsed)&&(r.openKeys=t.inlineOpenKeys,r.inlineOpenKeys=[])),r}}]),n}(r.Component);Fe.defaultProps={className:"",theme:"light",focusable:!1},Object(s.polyfill)(Fe);var Ie=function(e){ke(n,e);var t=Te(n);function n(){return je(this,n),t.apply(this,arguments)}return Pe(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Fe,_e({},e.props,t))}))}}]),n}(r.Component);Ie.Divider=o.a,Ie.Item=Oe,Ie.SubMenu=E,Ie.ItemGroup=o.c},CFYs:function(e,t,n){"use strict";n.r(t);var r=n("17x9"),o=n.n(r),i=n("q1tI"),a=n.n(i),l=n("TSYQ"),s=n.n(l),c=n("BGR+"),u=n("CtXQ"),f=n("H84U"),p=n("CWQg");function d(e){return!e||e<0?0:e>100?100:e}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},b=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,i=e.direction,a=void 0===i?"to right":i,l=v(e,["from","to","direction"]);if(0!==Object.keys(l).length){var s=function(e){for(var t=[],n=0,r=Object.entries(e);n<r.length;n++){var o=h(r[n],2),i=o[0],a=o[1],l=parseFloat(i.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:a})}return(t=t.sort((function(e,t){return e.key-t.key}))).map((function(e){var t=e.key,n=e.value;return"".concat(n," ").concat(t,"%")})).join(", ")}(l);return{backgroundImage:"linear-gradient(".concat(a,", ").concat(s,")")}}return{backgroundImage:"linear-gradient(".concat(a,", ").concat(n,", ").concat(o,")")}},g=function(e){var t,n=e.prefixCls,r=e.percent,o=e.successPercent,a=e.strokeWidth,l=e.size,s=e.strokeColor,c=e.strokeLinecap,u=e.children;t=s&&"string"!=typeof s?b(s):{background:s};var f=m({width:"".concat(d(r),"%"),height:a||("small"===l?6:8),borderRadius:"square"===c?0:""},t),p={width:"".concat(d(o),"%"),height:a||("small"===l?6:8),borderRadius:"square"===c?0:""},h=void 0!==o?i.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return i.createElement("div",null,i.createElement("div",{className:"".concat(n,"-outer")},i.createElement("div",{className:"".concat(n,"-inner")},i.createElement("div",{className:"".concat(n,"-bg"),style:f}),h)),u)};function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t,n){return(E="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=j(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=j(e);if(t){var o=j(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){return function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(i,e);var t,n,r,o=S(i);function i(){return O(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=Date.now(),n=!1;Object.keys(this.paths).forEach((function(r){var o=e.paths[r];if(o){n=!0;var i=o.style;i.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(i.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return E(j(i.prototype),"render",this).call(this)}}])&&w(t.prototype,n),r&&w(t,r),i}(e)},P={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},k=o.a.oneOfType([o.a.number,o.a.string]),N={className:o.a.string,percent:o.a.oneOfType([k,o.a.arrayOf(k)]),prefixCls:o.a.string,strokeColor:o.a.oneOfType([o.a.string,o.a.arrayOf(o.a.oneOfType([o.a.string,o.a.object])),o.a.object]),strokeLinecap:o.a.oneOf(["butt","round","square"]),strokeWidth:k,style:o.a.object,trailColor:o.a.string,trailWidth:k};function T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function M(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var o=K(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?L(e):t}function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(i,e);var t,n,r,o=A(i);function i(){var e;D(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return V(L(e=o.call.apply(o,[this].concat(n))),"paths",{}),e}return t=i,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,o=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,s=t.strokeWidth,c=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=M(t,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete d.gapPosition;var m=Array.isArray(r)?r:[r],h=Array.isArray(i)?i:[i],y=s/2,v=100-s/2,b="M ".concat("round"===l?y:0,",").concat(y,"\n L ").concat("round"===l?v:100,",").concat(y),g="0 0 100 ".concat(s),O=0;return a.a.createElement("svg",T({className:"".concat(o,"-line ").concat(n),viewBox:g,preserveAspectRatio:"none",style:c},d),a.a.createElement("path",{className:"".concat(o,"-line-trail"),d:b,strokeLinecap:l,stroke:u,strokeWidth:f||s,fillOpacity:"0"}),m.map((function(t,n){var r={strokeDasharray:"".concat(t,"px, 100px"),strokeDashoffset:"-".concat(O,"px"),transition:p||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},i=h[n]||h[h.length-1];return O+=t,a.a.createElement("path",{key:n,className:"".concat(o,"-line-path"),d:b,strokeLinecap:l,stroke:i,strokeWidth:s,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&F(t.prototype,n),r&&F(t,r),i}(i.Component);U.propTypes=N,U.defaultProps=P;C(U);function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){J(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function W(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=X(e);if(t){var o=X(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Q(this,n)}}function Q(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Z(e):t}function Z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $=0;function ee(e){return+e.replace("%","")}function te(e){return Array.isArray(e)?e:[e]}function ne(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5?arguments[5]:void 0,a=50-r/2,l=0,s=-a,c=0,u=-2*a;switch(i){case"left":l=-a,s=0,c=2*a,u=0;break;case"right":l=a,s=0,c=-2*a,u=0;break;case"bottom":s=a,u=2*a}var f="M 50,50 m ".concat(l,",").concat(s,"\n a ").concat(a,",").concat(a," 0 1 1 ").concat(c,",").concat(-u,"\n a ").concat(a,",").concat(a," 0 1 1 ").concat(-c,",").concat(u),p=2*Math.PI*a,d={stroke:n,strokeDasharray:"".concat(t/100*(p-o),"px ").concat(p,"px"),strokeDashoffset:"-".concat(o/2+e/100*(p-o),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:f,pathStyle:d}}var re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}(i,e);var t,n,r,o=Y(i);function i(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),J(Z(e=o.call(this)),"paths",{}),J(Z(e),"gradientId",0),e.gradientId=$,$+=1,e}return t=i,(n=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,o=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,s=t.gapDegree,c=t.gapPosition,u=te(r),f=te(o),p=0;return u.map((function(t,r){var o=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(o)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=ne(p,t,o,i,s,c),m=d.pathString,h=d.pathStyle;return p+=t,a.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:m,stroke:u,strokeLinecap:l,strokeWidth:i,opacity:0===t?0:1,fillOpacity:"0",style:h,ref:function(t){e.paths[r]=t}})}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,o=e.gapDegree,i=e.gapPosition,l=e.trailColor,s=e.strokeLinecap,c=e.style,u=e.className,f=e.strokeColor,p=W(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=ne(0,100,l,n,o,i),m=d.pathString,h=d.pathStyle;delete p.percent;var y=te(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return a.a.createElement("svg",z({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:c},p),y&&a.a.createElement("defs",null,a.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(this.gradientId),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(y).sort((function(e,t){return ee(e)-ee(t)})).map((function(e,t){return a.a.createElement("stop",{key:t,offset:e,stopColor:y[e]})})))),a.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:m,stroke:l,strokeLinecap:s,strokeWidth:r||n,fillOpacity:"0",style:h}),this.getStokeList().reverse())}}])&&H(t.prototype,n),r&&H(t,r),i}(i.Component);re.propTypes=q(q({},N),{},{gapPosition:o.a.oneOf(["top","bottom","left","right"])}),re.defaultProps=q(q({},P),{},{gapPosition:"top"});var oe=C(re);var ie={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function ae(e){var t=e.percent,n=e.successPercent,r=d(t);if(!n)return r;var o=d(n);return[n,d(r-o)]}var le=function(e){var t,n,r,o,a,l,c,u=e.prefixCls,f=e.width,p=e.strokeWidth,d=e.trailColor,m=e.strokeLinecap,h=e.gapPosition,y=e.gapDegree,v=e.type,b=e.children,g=f||120,O={width:g,height:g,fontSize:.15*g+6},w=p||6,E=h||"dashboard"===v&&"bottom"||"top",x=y||("dashboard"===v?75:void 0),S=(n=(t=e).progressStatus,r=t.successPercent,o=t.strokeColor||ie[n],r?[ie.success,o]:o),_="[object Object]"===Object.prototype.toString.call(S),j=s()("".concat(u,"-inner"),(a={},l="".concat(u,"-circle-gradient"),c=_,l in a?Object.defineProperty(a,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[l]=c,a));return i.createElement("div",{className:j,style:O},i.createElement(oe,{percent:ae(e),strokeWidth:w,trailWidth:w,strokeColor:S,strokeLinecap:m,trailColor:d,prefixCls:u,gapDegree:x,gapPosition:E}),b)};function se(e){return(se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function de(e,t){return(de=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ve(e);if(t){var o=ve(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return he(this,n)}}function he(e,t){return!t||"object"!==se(t)&&"function"!=typeof t?ye(e):t}function ye(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ve(e){return(ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ge=Object(p.a)("line","circle","dashboard"),Oe=Object(p.a)("normal","exception","active","success"),we=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&de(e,t)}(a,e);var t,n,r,o=me(a);function a(){var e;return fe(this,a),(e=o.apply(this,arguments)).renderProgress=function(t){var n,r,o=t.getPrefixCls,a=ye(e).props,l=a.prefixCls,u=a.className,f=a.size,p=a.type,d=a.showInfo,m=be(a,["prefixCls","className","size","type","showInfo"]),h=o("progress",l),y=e.getProgressStatus(),v=e.renderProcessInfo(h,y);"line"===p?r=i.createElement(g,ue({},e.props,{prefixCls:h}),v):"circle"!==p&&"dashboard"!==p||(r=i.createElement(le,ue({},e.props,{prefixCls:h,progressStatus:y}),v));var b=s()(h,(ce(n={},"".concat(h,"-").concat("dashboard"===p?"circle":p),!0),ce(n,"".concat(h,"-status-").concat(y),!0),ce(n,"".concat(h,"-show-info"),d),ce(n,"".concat(h,"-").concat(f),f),n),u);return i.createElement("div",ue({},Object(c.a)(m,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:b}),r)},e}return t=a,(n=[{key:"getPercentNumber",value:function(){var e=this.props,t=e.successPercent,n=e.percent,r=void 0===n?0:n;return parseInt(void 0!==t?t.toString():r.toString(),10)}},{key:"getProgressStatus",value:function(){var e=this.props.status;return Oe.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,r=this.props,o=r.showInfo,a=r.format,l=r.type,s=r.percent,c=r.successPercent;if(!o)return null;var f="circle"===l||"dashboard"===l?"":"-circle";return a||"exception"!==t&&"success"!==t?n=(a||function(e){return"".concat(e,"%")})(d(s),d(c)):"exception"===t?n=i.createElement(u.default,{type:"close".concat(f),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=i.createElement(u.default,{type:"check".concat(f),theme:"line"===l?"filled":"outlined"})),i.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return i.createElement(f.a,null,this.renderProgress)}}])&&pe(t.prototype,n),r&&pe(t,r),a}(i.Component);we.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},we.propTypes={status:r.oneOf(Oe),type:r.oneOf(ge),showInfo:r.bool,percent:r.number,width:r.number,strokeWidth:r.number,strokeLinecap:r.oneOf(["round","square"]),strokeColor:r.oneOfType([r.string,r.object]),trailColor:r.string,format:r.func,gapDegree:r.number};t.default=we},CZoQ:function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},Cwc5:function(e,t,n){var r=n("NKxu"),o=n("Npjl");e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},D8SU:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("em44")},DN2a:function(e,t){window.MutationObserver||(window.MutationObserver=function(e){function t(e){this.i=[],this.m=e}function n(t){var n,r={type:null,target:null,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:null,attributeNamespace:null,oldValue:null};for(n in t)r[n]!==e&&t[n]!==e&&(r[n]=t[n]);return r}function r(t,r){var l=i(t,r);return function(c){var u=c.length;if(r.a&&3===t.nodeType&&t.nodeValue!==l.a&&c.push(new n({type:"characterData",target:t,oldValue:l.a})),r.b&&l.b&&o(c,t,l.b,r.f),r.c||r.g)var f=function(t,r,i,l){function c(e,r,i,a,s){var c,f,p,d=e.length-1;for(s=-~((d-s)/2);p=e.pop();)c=i[p.j],f=a[p.l],l.c&&s&&Math.abs(p.j-p.l)>=d&&(t.push(n({type:"childList",target:r,addedNodes:[c],removedNodes:[c],nextSibling:c.nextSibling,previousSibling:c.previousSibling})),s--),l.b&&f.b&&o(t,c,f.b,l.f),l.a&&3===c.nodeType&&c.nodeValue!==f.a&&t.push(n({type:"characterData",target:c,oldValue:f.a})),l.g&&u(c,f)}function u(r,i){for(var p,d,m,h,y,v=r.childNodes,b=i.c,g=v.length,O=b?b.length:0,w=0,E=0,x=0;E<g||x<O;)(h=v[E])===(y=(m=b[x])&&m.node)?(l.b&&m.b&&o(t,h,m.b,l.f),l.a&&m.a!==e&&h.nodeValue!==m.a&&t.push(n({type:"characterData",target:h,oldValue:m.a})),d&&c(d,r,v,b,w),l.g&&(h.childNodes.length||m.c&&m.c.length)&&u(h,m),E++,x++):(f=!0,p||(p={},d=[]),h&&(p[m=a(h)]||(p[m]=!0,-1===(m=s(b,h,x,"node"))?l.c&&(t.push(n({type:"childList",target:r,addedNodes:[h],nextSibling:h.nextSibling,previousSibling:h.previousSibling})),w++):d.push({j:E,l:m})),E++),y&&y!==v[E]&&(p[m=a(y)]||(p[m]=!0,-1===(m=s(v,y,E))?l.c&&(t.push(n({type:"childList",target:i.node,removedNodes:[y],nextSibling:b[x+1],previousSibling:b[x-1]})),w--):d.push({j:m,l:x})),x++));d&&c(d,r,v,b,w)}var f;return u(r,i),f}(c,t,l,r);(f||c.length!==u)&&(l=i(t,r))}}function o(t,r,o,i){for(var a,l,s={},c=r.attributes,f=c.length;f--;)l=(a=c[f]).name,i&&i[l]===e||(u(r,a)!==o[l]&&t.push(n({type:"attributes",target:r,attributeName:l,oldValue:o[l],attributeNamespace:a.namespaceURI})),s[l]=!0);for(l in o)s[l]||t.push(n({target:r,type:"attributes",attributeName:l,oldValue:o[l]}))}function i(e,t){var n=!0;return function e(r){var o={node:r};return!t.a||3!==r.nodeType&&8!==r.nodeType?(t.b&&n&&1===r.nodeType&&(o.b=l(r.attributes,(function(e,n){return t.f&&!t.f[n.name]||(e[n.name]=u(r,n)),e}),{})),n&&(t.c||t.a||t.b&&t.g)&&(o.c=function(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r,e);return n}(r.childNodes,e)),n=t.g):o.a=r.nodeValue,o}(e)}function a(e){try{return e.id||(e.mo_id=e.mo_id||f++)}catch(t){try{return e.nodeValue}catch(e){return f++}}}function l(e,t,n){for(var r=0;r<e.length;r++)n=t(n,e[r],r,e);return n}function s(e,t,n,r){for(;n<e.length;n++)if((r?e[n][r]:e[n])===t)return n;return-1}t._period=30,t.prototype={observe:function(e,n){for(var o={b:!!(n.attributes||n.attributeFilter||n.attributeOldValue),c:!!n.childList,g:!!n.subtree,a:!(!n.characterData&&!n.characterDataOldValue)},i=this.i,a=0;a<i.length;a++)i[a].s===e&&i.splice(a,1);n.attributeFilter&&(o.f=l(n.attributeFilter,(function(e,t){return e[t]=!0,e}),{})),i.push({s:e,o:r(e,o)}),this.h||function(e){!function n(){var r=e.takeRecords();r.length&&e.m(r,e),e.h=setTimeout(n,t._period)}()}(this)},takeRecords:function(){for(var e=[],t=this.i,n=0;n<t.length;n++)t[n].o(e);return e},disconnect:function(){this.i=[],clearTimeout(this.h),this.h=null}};var c=document.createElement("i");c.style.top=0;var u=(c="null"!=c.attributes.style.value)?function(e,t){return t.value}:function(e,t){return"style"!==t.name?t.value:e.style.cssText},f=1;return t}(void 0))},E2jh:function(e,t,n){var r,o=n("2gN3"),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},EXcs:function(e,t,n){"use strict";var r=function(){return{height:0,opacity:0}},o=function(e){return{height:e.scrollHeight,opacity:1}},i={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:r};t.a=i},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},EpBk:function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),i=n("Gv54"),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,i){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,i),void 0!==t&&a.default.type(e,t,r,l,i)}n(l)}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),i=n("wJg7"),a=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,s){if(!a(e))return e;for(var c=-1,u=(t=o(t,e)).length,f=u-1,p=e;null!=p&&++c<u;){var d=l(t[c]),m=n;if(c!=f){var h=p[d];void 0===(m=s?s(h,d,p):void 0)&&(m=a(h)?h:i(t[c+1])?[]:{})}r(p,d,m),p=p[d]}return e}},Fyak:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),o=d(n("ZTPi")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("AUBz");var l=n("q1tI"),s=d(l);n("6JOy"),n("js5m");var c=d(n("AubP")),u=d(n("dIAb")),f=d(n("aABL")),p=d(n("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}var m=o.default.TabPane,h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props,t=e.footer_type,r=e.data;if(t){var o=n.props.match.params,i=o.projectsId,a=o.owner,l=o.mergeId;n.getCommit(a,i,l),n.getFile(a,i,l)}n.setState({activeKey:t?"1":"2",commitCount:r&&r.commits_count,filesCount:r&&r.files_count})},n.componentDidUpdate=function(e){var t=n.props.comparesData,r=n.props.footer_type;if(r){var o=n.props.data;o!==e.data&&n.setState({commitCount:o&&o.commits_count,filesCount:o&&o.files_count})}t!==e.comparesData&&(n.setState({activeKey:r?"1":"2"}),n.changeTab(r?"1":"2"))},n.changeTab=function(e){n.setState({isSpin:!0}),n.setState({activeKey:e});var t=n.props,r=t.footer_type,o=t.comparesData,i=n.props.match.params,a=i.projectsId,l=i.owner,s=i.mergeId;r?"2"===e?n.getCommit(l,a,s):"3"===e?n.getFile(l,a,s):n.setState({isSpin:!1}):n.setState({commitsData:o.commits,filesData:o.diff,commitCount:o.commits_count,filesCount:o.diff&&o.diff.files_count,isSpin:!1})},n.getCommit=function(e,t,r){var o="/"+e+"/"+t+"/pulls/"+r+"/commits.json";p.default.get(o).then((function(e){e&&n.setState({commitsData:e.data.commits,isSpin:!1,commitCount:e.data.commits_count})})).catch((function(e){}))},n.getFile=function(e,t,r){var o="/"+e+"/"+t+"/pulls/"+r+"/files.json";p.default.get(o).then((function(e){e&&n.setState({filesData:e.data,isSpin:!1,filesCount:e.data.files_count})})).catch((function(e){}))},n.state={pageData:void 0,commitsData:void 0,filesData:void 0,isSpin:!1,activeKey:"1",commitCount:0,filesCount:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner,a=this.props,l=a.footer_type,p=a.order_id,d=a.data,h=a.comparesData,y=this.state,v=y.isSpin,b=y.activeKey,g=y.filesCount,O=y.commitCount,w=y.filesData,E=y.commitsData;return!l&&!h||h&&(h.commits&&0===h.commits.length||h&&!h.diff)?"":s.default.createElement("div",{className:"main mergeRequest",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:v},s.default.createElement(o.default,{activeKey:b,className:"custom-commit-tabs",animated:!1,onChange:this.changeTab},l&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"评论"),d&&parseInt(d.comments_count)>0&&s.default.createElement("span",{className:"tabNum"},d.comments_count)),key:"1"},s.default.createElement(u.default,i({order_id:p,showNotification:this.props.showNotification,only_show_content:!0},this.props))),E&&E.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"提交"),O>0&&s.default.createElement("span",{className:"tabNum"},O)),key:"2"},s.default.createElement(c.default,i({},this.props,{commits:E,projectsId:t,owner:n}))),w&&w.files&&w.files.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"文件"),g>0&&s.default.createElement("span",{className:"tabNum"},g)),key:"3"},s.default.createElement(f.default,i({},this.props,{data:w,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},GNiM:function(e,t,n){var r=n("I01J"),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},GZbg:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0"));t.default=function(e,t,n,o,i){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(i.messages.enum,e.fullField,e.enum.join(", ")))}},Gv54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("l1rO")),o=c(n("AU0A")),i=c(n("oEMi")),a=c(n("l8PK")),l=c(n("GZbg")),s=c(n("moXY"));function c(e){return e&&e.__esModule?e:{default:e}}t.default={required:r.default,whitespace:o.default,type:i.default,range:a.default,enum:l.default,pattern:s.default}},Gytx:function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<i.length;s++){var c=i[s];if(!l(c))return!1;var u=e[c],f=t[c];if(!1===(o=n?n.call(r,u,f,c):void 0)||void 0===o&&u!==f)return!1}return!0}},H8j4:function(e,t,n){var r=n("QkVE");e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),(0,a.isEmptyValue)(t)||i.default.type(e,t,r,l,o)}n(l)}},Hvzi:function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},I01J:function(e,t,n){var r=n("44Ds");e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},IX3V:function(e,t){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},JHgL:function(e,t,n){var r=n("QkVE");e.exports=function(e){return r(this,e).get(e)}},JSQU:function(e,t,n){var r=n("YESw");e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},JTzB:function(e,t,n){var r=n("NykK"),o=n("ExA7");e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},"KM+8":function(e,t,n){},KMkd:function(e,t){e.exports=function(){this.__data__=[],this.size=0}},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"string")&&!e.required)return n();i.default.required(e,t,r,l,o),(0,a.isEmptyValue)(t,"string")||i.default.pattern(e,t,r,l,o)}n(l)}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),i=n("Xt/L"),a=n("xYSL"),l=n("dQpi"),s=n("rEGp");e.exports=function(e,t,n){var c=-1,u=o,f=e.length,p=!0,d=[],m=d;if(n)p=!1,u=i;else if(f>=200){var h=t?null:l(e);if(h)return s(h);p=!1,u=a,m=new r}else m=t?[]:d;e:for(;++c<f;){var y=e[c],v=t?t(y):y;if(y=n||0!==y?y:0,p&&v==v){for(var b=m.length;b--;)if(m[b]===v)continue e;t&&m.push(v),d.push(y)}else u(m,v,n)||(m!==d&&m.push(v),d.push(y))}return d}},LXko:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("74dF"),n("vAZS"),n("04bd"),n("YQTV"),n("4t1q")},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),i=p(n("NJEC")),a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),s=p(l),c=n("eO8H"),u=p(n("vDqi")),f=p(n("UQ5L"));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){n.setState({canDelete:n.props.canDelete})},n.show_video_modal=function(e){n.setState({video_title:e.title,move_spin:!0,video_id:e.id}),n.move_attachment(e.id,"preview")},n.hide_video_modal=function(){var e=n.state.video_id;n.setState({video_title:void 0}),n.move_attachment(e,"close")},n.move_attachment=function(e,t){u.default.post("/attachments/"+e+"/preview_attachment",{status:t}).then((function(e){e?n.setState({show_video:"preview"===t,video_url:"preview"===t?"https://forgeplus.trustie.net"+e.data.url:void 0,move_spin:!1}):n.setState({move_spin:!1})})).catch((function(e){n.setState({move_spin:!1}),console.log(e)}))},n.is_video=function(e){return["mp4","flv","mkv","3gp"].indexOf(e.split(".").pop())>-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,a=t.canDelete,l=t.show_video,u=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return s.default.createElement("div",null,m?s.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return s.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},s.default.createElement(o.default,{spinning:d},e.is_video(t.title)?s.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)):s.default.createElement(c.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)),a?s.default.createElement(i.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},s.default.createElement("span",{className:"attachment-list-delete fr"},s.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?s.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},s.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},MrPd:function(e,t,n){var r=n("hypo"),o=n("ljhN"),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),i=n("3S7+"),a=n("CtXQ"),l=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(f,e);var t,n,o,a=h(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=a.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(v(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(v(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,n){var o=t.props,i=o.okButtonProps,a=o.cancelButtonProps,s=o.title,c=o.cancelText,u=o.okText,f=o.okType,d=o.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},d,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},a),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},i),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,a=o.prefixCls,l=o.placement,u=g(o,["prefixCls","placement"]),f=n("popover",a),d=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(i.default,p({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return t=f,o=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(n=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var n=this.props;"visible"in n||this.setState({visible:e});var r=n.onVisibleChange;r&&r(e,t)}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderConfirm)}}])&&d(t.prototype,n),o&&d(t,o),f}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(a.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},NKxu:function(e,t,n){var r=n("lSCD"),o=n("E2jh"),i=n("GoyQ"),a=n("3Fdi"),l=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,u=s.toString,f=c.hasOwnProperty,p=RegExp("^"+u.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:l).test(a(e))}},Npjl:function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},O0oS:function(e,t,n){var r=n("Cwc5"),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},OFL0:function(e,t,n){var r=n("lvO4"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},OQrj:function(e,t,n){},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},QCvN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n("W9HT")),o=y(n("2/Rp")),i=y(n("Vl3Y")),a=y(n("5rEg")),l=y(n("mr32")),s=y(n("BvKs")),c=y(n("2fM7")),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("L/Qf"),n("tULf"),n("1vPl"),n("0lcf"),n("2WkQ"),n("8QGh");var p=n("q1tI"),d=y(p),m=y(n("vDqi"));n("6JOy"),n("js5m");var h=y(n("p7gc"));function y(e){return e&&e.__esModule?e:{default:e}}var v=c.default.Option,b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.get_default_selects(),n.set_defatul()},n.componentDidUpdate=function(e){var t=n.props.match.params,r=t.projectsId,o=t.owner,i=e.match.params.projectsId,a=e.match.params.owner;i===r&&a===o||n.get_default_selects(),e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.get_default_selects=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner;n.setState({isSpin:!0}),m.default.get("/"+r+"/"+t+"/pulls/create_merge_infos.json").then((function(e){e&&n.setState({members:e.data.members,issue_tags:e.data.issue_tags,issue_versions:e.data.issue_versions,issue_priories:e.data.issue_priories}),n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.set_defatul=function(){var e=n.props,t=e.data,r=e.merge_type;t&&"edit"===r&&n.setState({desc:t.body,issue_tag_ids:t.issue_tag_ids?t.issue_tag_ids[0]:void 0,fixed_version_id:t.fixed_version_id?String(t.fixed_version_id):void 0,assigned_to_id:t.assigned_to_id?String(t.assigned_to_id):void 0,priority_id:t.priority_id?String(t.priority_id):void 0,title:t.title}),n.InitData()},n.InitData=function(){setTimeout((function(){n.props.form.setFieldsValue(u({},n.state))}),100)},n.onPanelChange=function(e,t){n.setState({value:e})},n.onSelect=function(e){n.setState({value:e,selectedValue:e})},n.renderMenu=function(e,t){return d.default.createElement(s.default,null,e&&e.length>0&&e.map((function(e,r){return d.default.createElement(s.default.Item,{key:e,onClick:function(){return n.getOption(e,t)}},e)})))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return d.default.createElement(v,{key:t+1,value:e.id+""},e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var r=n.props.match.params,o=r.projectsId,i=r.mergeId,a=r.owner,l=n.props,s=l.merge,c=l.pull,f=l.merge_type,p=l.data,d=l.commits_count,h=l.files_count;t.issue_tag_ids&&t.issue_tag_ids.length>0?t.issue_tag_ids=[parseInt(t.issue_tag_ids)]:t.issue_tag_ids=[];var y=n.state.desc;if("new"===f){var v="/"+a+"/"+o+"/pulls.json";m.default.post(v,u({},t,{body:y,head:c,base:s,is_original:p&&p.is_original,fork_project_id:p&&p.fork_project_id,merge_user_login:p&&p.merge_user_login,files_count:h,commits_count:d})).then((function(e){if(e){n.setState({isSpin:!1}),n.props.history.push("/"+a+"/"+o+"/pulls");var t=n.props.getDetail;t&&t()}else n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var b="/"+a+"/"+o+"/pulls/"+i+".json";m.default.put(b,u({},t,{body:y,head:c,base:s})).then((function(e){e?(n.setState({isSpin:!1}),n.props.history.push("/"+a+"/"+o+"/pulls/"+i+"/Messagecount")):n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}}))},n.onContentChange=function(e){n.setState({desc:e})},n.state={desc:void 0,issue_tag_ids:void 0,fixed_version_id:void 0,assigned_to_id:void 0,titledata:void 0,isSpin:!1,mergedata:void 0,priority_id:void 0,title:void 0,members:void 0,issue_tags:void 0,issue_versions:void 0,issue_priories:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),f(t,[{key:"render",value:function(){var e=this,t=this.props.merge_type,n=this.props.form.getFieldDecorator,s=this.props.match.params,u=s.projectsId,f=s.mergeId,p=s.owner,m=this.state,y=m.issue_tag_ids,b=m.fixed_version_id,g=m.assigned_to_id,O=m.priority_id,w=m.desc,E=m.isSpin,x=m.title,S=m.members,_=m.issue_tags,j=m.issue_versions,C=m.issue_priories;return d.default.createElement("div",null,d.default.createElement(r.default,{spinning:E},d.default.createElement("div",{className:"mb20"},d.default.createElement("span",{className:"font-16 fwb mr10 ver-middle"},"new"===t?"新建":"编辑","合并请求:"),d.default.createElement(l.default,{color:"#28BD6C",className:"ver-middle"},"可合并的")),d.default.createElement(i.default,null,d.default.createElement("div",{className:"width100 inline-block"},d.default.createElement("div",{className:"width70 pull-left"},d.default.createElement(i.default.Item,null,n("title",{rules:[{required:!0,message:"请填写请求标题"}],initialValue:x})(d.default.createElement(a.default,{placeholder:"标题",maxLength:50}))),d.default.createElement(h.default,{placeholder:"请输入合并请求的描述...",height:450,mdID:"merge-new-description",initValue:w,onChange:this.onContentChange}),d.default.createElement("p",{className:"clearfix mt20"},d.default.createElement(o.default,{type:"primary",loading:E,onClick:this.handleSubmit},d.default.createElement("span",{className:"plr10"},"new"===t?"创建":"提交")),d.default.createElement(o.default,{type:"default",className:"ml30",onClick:function(){e.props.history.push("new"===t?"/"+p+"/"+u+"/pulls":"/"+p+"/"+u+"/pulls/"+f+"/detail")}},d.default.createElement("span",{className:"plr10"},"取消")))),d.default.createElement("div",{className:"width30 pull-left"},d.default.createElement("div",{className:"pl30"},d.default.createElement(i.default.Item,null,n("assigned_to_id",{initialValue:g})(d.default.createElement(c.default,{placeholder:"未选择审查人员",showSearch:!0},d.default.createElement(v,{key:0,value:""},"未选择审查人员"),this.renderSelect(S)))),d.default.createElement(i.default.Item,null,n("fixed_version_id",{initialValue:b})(d.default.createElement(c.default,{placeholder:j&&j.length>0?"未选择里程碑":"请添加里程碑",showSearch:!0},d.default.createElement(v,{key:0,value:""},j&&j.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(j)))),d.default.createElement(i.default.Item,null,n("issue_tag_ids",{initialValue:y})(d.default.createElement(c.default,{placeholder:_&&_.length>0?"未选择标记":"请在仓库设置里添加标记",showSearch:!0},d.default.createElement(v,{key:0,value:""},_&&_.length>0?"未选择标记":"请在仓库设置里添加标记"),this.renderSelect(_)))),d.default.createElement(i.default.Item,null,n("priority_id",{initialValue:O})(d.default.createElement(c.default,{placeholder:"优先级",showSearch:!0},this.renderSelect(C))))))))))}}]),t}(p.Component),g=i.default.create({name:"NewMergeForm"})(b);t.default=g},QkVE:function(e,t,n){var r=n("EpBk");e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),i=n("CZoQ");e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},R3zJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=function(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},o=r(["flex","webkitFlex","Flex","msFlex"]);t.a=r},RqAY:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||"data-__"===n.substr(0,7)||(t[n]=e[n]),t}),{})}n.d(t,"a",(function(){return r}))},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],o=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),a=c(n("q1tI")),l=c(n("vOnD")),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,o=e.id,c=e.login,u=l.default.span(i,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return o?a.default.createElement(s.Link,{to:"/"+c},a.default.createElement(u,null,t&&a.default.createElement("img",{src:t,alt:""}),a.default.createElement("span",null,n))):a.default.createElement(u,null,t&&a.default.createElement("img",{src:t,alt:""}),a.default.createElement("span",null,n))}},SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],o=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],i=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],a=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],f=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,o){if(n){var i={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(i),o.push.apply(o,i.decorations)}}var d=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&d.test(n.nodeValue)?e:t}return t===e?void 0:t}function h(e,t){var n,r={};!function(){for(var o=e.concat(t),i=[],a={},l=0,s=o.length;l<s;++l){var c=o[l],u=c[3];if(u)for(var f=u.length;--f>=0;)r[u.charAt(f)]=c;var p=c[1],d=""+p;a.hasOwnProperty(d)||(i.push(p),a[d]=null)}i.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,i=e.length;o<i;++o){if((p=e[o]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var a={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=a[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],o=["["];r&&o.push("^");for(var i=r?1:0,a=t.length;i<a;++i){var c=t[i];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,f=l(c);i+2<a&&"-"===t[i+1]?(u=l(t[i+2]),i+=2):u=f,n.push([f,u]),u<65||f>122||(u<65||f>90||n.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||n.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],d=[];for(i=0;i<n.length;++i){(m=n[i])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(i=0;i<p.length;++i){var m=p[i];o.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&o.push("-"),o.push(s(m[1])))}return o.push("]"),o.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),o=r.length,i=[],a=0,l=0;a<o;++a){if("("===(f=r[a]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?i[u]=-1:r[a]=s(u))}}for(a=1;a<i.length;++a)-1===i[a]&&(i[a]=++t);for(a=0,l=0;a<o;++a){if("("===(f=r[a]))i[++l]||(r[a]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[a]="\\"+i[u])}}for(a=0;a<o;++a)"^"===r[a]&&"^"!==r[a+1]&&(r[a]="");if(e.ignoreCase&&n)for(a=0;a<o;++a){var f,p=(f=r[a]).charAt(0);f.length>=2&&"["===p?r[a]=c(f):"\\"!==p&&(r[a]=f.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var f=[];for(o=0,i=e.length;o<i;++o){var p;if((p=e[o]).global||p.multiline)throw new Error(""+p);f.push("(?:"+u(p)+")")}return new RegExp(f.join("|"),r?"gi":"g")}(i)}();var o=t.length,i=function(e){for(var a=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,f=a.match(n)||[],d={},m=0,h=f.length;m<h;++m){var y,v=f[m],b=d[v],g=void 0;if("string"==typeof b)y=!1;else{var O=r[v.charAt(0)];if(O)g=v.match(O[1]),b=O[0];else{for(var E=0;E<o;++E)if(O=t[E],g=v.match(O[1])){b=O[0];break}g||(b="pln")}!(y=b.length>=5&&"lang-"===b.substring(0,5))||g&&"string"==typeof g[1]||(y=!1,b="src"),y||(d[v]=b)}var x=u;if(u+=v.length,y){var S=g[1],_=v.indexOf(S),j=_+S.length;g[2]&&(_=(j=v.length-g[2].length)-S.length);var C=b.substring(5);p(s,l+x,v.substring(0,_),i,c),p(s,l+x+_,S,w(C,S),c),p(s,l+x+j,v.substring(j),i,c)}else c.push(l+x,b)}e.decorations=c};return i}function y(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var o=e.regexLiterals;if(o){var i=o>1?"":"\n\r",a=i?".":"[\\S\\s]",l="/(?=[^/*"+i+"])(?:[^/\\x5B\\x5C"+i+"]|\\x5C"+a+"|\\x5B(?:[^\\x5C\\x5D"+i+"]|\\x5C"+a+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),h(t,n)}var v=y({keywords:[r,i,o,a,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function b(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,i=e.ownerDocument,a=i.createElement("li");e.firstChild;)a.appendChild(e.firstChild);var l=[a];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var a=e.nodeValue,l=a.match(o);if(l){var u=a.substring(0,l.index);e.nodeValue=u;var f=a.substring(l.index+l[0].length);if(f)e.parentNode.insertBefore(i.createTextNode(f),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,o=t.parentNode;if(o){var i=e(o,1),a=t.nextSibling;i.appendChild(r);for(var l=a;l;l=a)a=l.nextSibling,i.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var f=i.createElement("ol");f.className="linenums";for(var p=Math.max(0,t-1|0)||0,d=(u=0,l.length);u<d;++u)(a=l[u]).className="L"+(u+p)%10,a.firstChild||a.appendChild(i.createTextNode(" ")),f.appendChild(a);e.appendChild(f)}var g={};function O(t,n){for(var r=n.length;--r>=0;){var o=n[r];g.hasOwnProperty(o)?e.console&&console.warn("cannot override language handler %s",o):g[o]=t}}function w(e,t){return e&&g.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),g[e]}function E(t){var n,r,o,i,a,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,i=[],a=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(o.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(i[s]="\n",l[s<<1]=a++,l[s++<<1|1]=t)}else if(3==n||4==n){var f=t.nodeValue;f.length&&(f=r?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),i[s]=f,l[s<<1]=a,a+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:i.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,w(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,o=/\n/g,i=e.sourceCode,a=i.length,l=0,s=e.spans,c=s.length,u=0,f=e.decorations,p=f.length,d=0;for(f[p]=a,r=n=0;r<p;)f[r]!==f[r+2]?(f[n++]=f[r++],f[n++]=f[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=f[r],h=f[r+1],y=r+2;y+2<=p&&f[y+1]===h;)y+=2;f[n++]=m,f[n++]=h,r=y}p=f.length=n;var v=e.sourceNode,b="";v&&(b=v.style.display,v.style.display="none");try{for(;u<c;){s[u];var g,O=s[u+2]||a,w=f[d+2]||a,E=(y=Math.min(O,w),s[u+1]);if(1!==E.nodeType&&(g=i.substring(l,y))){t&&(g=g.replace(o,"\r")),E.nodeValue=g;var x=E.ownerDocument,S=x.createElement("span");S.className=f[d+1];var _=E.parentNode;_.replaceChild(S,E),S.appendChild(E),l<O&&(s[u+1]=E=x.createTextNode(i.substring(y,O)),_.insertBefore(E,S.nextSibling))}(l=y)>=O&&(u+=2),l>=w&&(d+=2)}}finally{v&&(v.style.display=b)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function x(e,t,n){var r=n||!1,o=t||null,i=document.createElement("div");return i.innerHTML="<pre>"+e+"</pre>",i=i.firstChild,r&&b(i,r,!0),E({langExtension:o,numberLines:r,sourceNode:i,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),i.innerHTML}function S(t,n){var r=n||document.body,o=r.ownerDocument||document;function i(e){return r.getElementsByTagName(e)}for(var a=[i("pre"),i("code"),i("xmp")],l=[],s=0;s<a.length;++s)for(var c=0,u=a[s].length;c<u;++c)l.push(a[s][c]);a=null;var f=Date;f.now||(f={now:function(){return+new Date}});var p=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,y=/\bprettyprinted\b/,v=/pre|xmp/i,g=/^code$/i,O=/^(?:pre|code|xmp)$/i,w={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var i=l[p],a=w,s=i;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){a={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){a[t]=n}));break}}var x=i.className;if((a!==w||h.test(x))&&!y.test(x)){for(var S=!1,_=i.parentNode;_;_=_.parentNode){var j=_.tagName;if(O.test(j)&&_.className&&h.test(_.className)){S=!0;break}}if(!S){i.className+=" prettyprinted";var C,P,k=a.lang;if(!k)!(k=x.match(d))&&(C=m(i))&&g.test(C.tagName)&&(k=C.className.match(d)),k&&(k=k[1]);if(v.test(i.tagName))P=1;else{var N=i.currentStyle,T=o.defaultView,M=N?N.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(i,null).getPropertyValue("white-space"):0;P=M&&"pre"===M.substring(0,3)}var D=a.linenums;(D="true"===D||+D)||(D=!!(D=x.match(/\blinenums\b(?::(\d+))?/))&&(!D[1]||!D[1].length||+D[1])),D&&b(i,D,P),E({langExtension:k,sourceNode:i,numberLines:D,pre:P,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}O(v,["default-code"]),O(h([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),O(h([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),O(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),O(y({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),O(y({keywords:"null,true,false"}),["json"]),O(y({keywords:i,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),O(y({keywords:o,cStyleComments:!0}),["java"]),O(y({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),O(y({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),O(y({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),O(y({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),O(y({keywords:a,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),O(y({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),O(h([],[["str",/^[\s\S]+/]]),["regex"]);var _=e.PR={createSimpleLexer:h,registerLangHandler:O,sourceDecorator:y,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:x,prettyPrint:S},j=e.define;"function"==typeof j&&j.amd&&j("google-code-prettify",[],(function(){return _}))}()},SfRM:function(e,t,n){var r=n("YESw");e.exports=function(){this.__data__=r?r(null):{},this.size=0}},Sxd8:function(e,t,n){var r=n("ZCgT");e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},TZyB:function(e,t,n){},UQ5L:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=n("q1tI"),i=l(o),a=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,o.useState)(null),n=r(t,2),l=n[0],s=n[1];return(0,o.useEffect)((function(){s(e.video_url)}),[]),i.default.createElement(a.default,{url:l,controls:!0,playing:!1})}},UeuU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n("Gv54"),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,i){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);a.default.required(e,t,r,l,i,s),n(l)}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),i=n("Sxd8"),a=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:i(n);return s<0&&(s=a(l+s,0)),r(e,o(t,3),s)}},"V/6I":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=!!e,n=e||p;return function(f){var p=function(i){function s(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e,t));return r.handleChange=function(){if(r.unsubscribe){var e=n(r.store.getState(),r.props);r.setState({subscribed:e})}},r.store=t.miniStore,r.state={subscribed:n(r.store.getState(),e),store:r.store,props:e},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,i),o(s,null,[{key:"getDerivedStateFromProps",value:function(t,r){return e&&2===e.length&&t!==r.props?{subscribed:n(r.store.getState(),t),props:t}:{props:t}}}]),o(s,[{key:"componentDidMount",value:function(){this.trySubscribe()}},{key:"componentWillUnmount",value:function(){this.tryUnsubscribe()}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,l.default)(this.props,e)||!(0,l.default)(this.state.subscribed,t.subscribed)}},{key:"trySubscribe",value:function(){t&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())}},{key:"tryUnsubscribe",value:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)}},{key:"getWrappedInstance",value:function(){return this.wrappedInstance}},{key:"render",value:function(){var e=this,t=r({},this.props,this.state.subscribed,{store:this.store});return f.prototype.render&&(t=r({},t,{ref:function(t){return e.wrappedInstance=t}})),a.default.createElement(f,t)}}]),s}(i.Component);return p.displayName="Connect("+function(e){return e.displayName||e.name||"Component"}(f)+")",p.contextTypes={miniStore:u.storeShape.isRequired},(0,c.polyfill)(p),(0,s.default)(p,f)}};var i=n("q1tI"),a=f(i),l=f(n("Gytx")),s=f(n("+LrT")),c=n("VCL8"),u=n("VIrW");function f(e){return e&&e.__esModule?e:{default:e}}var p=function(){return{}}},VIrW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.storeShape=void 0;var r,o=n("17x9"),i=(r=o)&&r.__esModule?r:{default:r};t.storeShape=i.default.shape({subscribe:i.default.func.isRequired,setState:i.default.func.isRequired,getState:i.default.func.isRequired})},VPG4:function(e,t,n){},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return R}));var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),l=n("BGR+"),s=n("W9HT"),c=n("H84U"),u=n("NUBc"),f=n("qrJ5"),p=n("/kpp");function d(e){if(!r.isValidElement(e))return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return r.cloneElement.apply(r,[e].concat(n))}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(){return(E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function S(e,t){return e[t]&&Math.floor(24/e[t])}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(l,e);var t,n,o,i=g(l);function l(){var e;return y(this,l),(e=i.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,o=e.context,i=o.grid,l=o.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=x(s,["prefixCls","children","actions","extra","className"]),b=n("list",c),g=f&&f.length>0&&r.createElement("ul",{className:"".concat(b,"-item-action"),key:"actions"},f.map((function(e,t){return r.createElement("li",{key:"".concat(b,"-item-action-").concat(t)},e,t!==f.length-1&&r.createElement("em",{className:"".concat(b,"-item-action-split")}))}))),O=i?"div":"li",w=r.createElement(O,E({},v,{className:a()("".concat(b,"-item"),y,h({},"".concat(b,"-item-no-flex"),!e.isFlexMode()))}),"vertical"===l&&m?[r.createElement("div",{className:"".concat(b,"-item-main"),key:"content"},u,g),r.createElement("div",{className:"".concat(b,"-item-extra"),key:"extra"},m)]:[u,g,d(m,{key:"extra"})]);return i?r.createElement(p.a,{span:S(i,"column"),xs:S(i,"xs"),sm:S(i,"sm"),md:S(i,"md"),lg:S(i,"lg"),xl:S(i,"xl"),xxl:S(i,"xxl")},w):w},e}return t=l,(n=[{key:"isItemContainsTextNodeAndNotSingular",value:function(){var e,t=this.props.children;return r.Children.forEach(t,(function(t){"string"==typeof t&&(e=!0)})),e&&r.Children.count(t)>1}},{key:"isFlexMode",value:function(){var e=this.props.extra;return"vertical"===this.context.itemLayout?!!e:!this.isItemContainsTextNodeAndNotSingular()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderItem)}}])&&v(t.prototype,n),o&&v(t,o),l}(r.Component);function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k(){return(k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I(e);if(t){var o=I(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return F(this,n)}}function F(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}_.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,o=e.prefixCls,i=e.className,l=e.avatar,s=e.title,c=e.description,u=x(e,["prefixCls","className","avatar","title","description"]),f=n("list",o),p=a()("".concat(f,"-item-meta"),i),d=r.createElement("div",{className:"".concat(f,"-item-meta-content")},s&&r.createElement("h4",{className:"".concat(f,"-item-meta-title")},s),c&&r.createElement("div",{className:"".concat(f,"-item-meta-description")},c));return r.createElement("div",E({},u,{className:p}),l&&r.createElement("div",{className:"".concat(f,"-item-meta-avatar")},l),(s||c)&&d)}))},_.contextTypes={grid:o.any,itemLayout:o.string};var A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(p,e);var t,n,o,i=D(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=i.call(this,e)).defaultPaginationProps={current:1,total:0},t.keys={},t.onPaginationChange=t.triggerPaginationEvent("onChange"),t.onPaginationShowSizeChange=t.triggerPaginationEvent("onShowSizeChange"),t.renderItem=function(e,n){var r,o=t.props,i=o.renderItem,a=o.rowKey;return i?((r="function"==typeof a?a(e):"string"==typeof a?e[a]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,i(e,n)):null},t.renderEmpty=function(e,n){var o=t.props.locale;return r.createElement("div",{className:"".concat(e,"-empty-text")},o&&o.emptyText||n("List"))},t.renderList=function(e){var n,o=e.getPrefixCls,i=e.renderEmpty,c=t.state,p=c.paginationCurrent,d=c.paginationSize,m=t.props,h=m.prefixCls,y=m.bordered,v=m.split,b=m.className,g=m.children,O=m.itemLayout,w=m.loadMore,E=m.pagination,x=m.grid,S=m.dataSource,_=void 0===S?[]:S,j=m.size,P=m.header,T=m.footer,M=m.loading,D=A(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),F=o("list",h),I=M;"boolean"==typeof I&&(I={spinning:I});var R=I&&I.spinning,L="";switch(j){case"large":L="lg";break;case"small":L="sm"}var K=a()(F,b,(N(n={},"".concat(F,"-vertical"),"vertical"===O),N(n,"".concat(F,"-").concat(L),L),N(n,"".concat(F,"-split"),v),N(n,"".concat(F,"-bordered"),y),N(n,"".concat(F,"-loading"),R),N(n,"".concat(F,"-grid"),x),N(n,"".concat(F,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),V=k(k(k({},t.defaultPaginationProps),{total:_.length,current:p,pageSize:d}),E||{}),U=Math.ceil(V.total/V.pageSize);V.current>U&&(V.current=U);var B,q=E?r.createElement("div",{className:"".concat(F,"-pagination")},r.createElement(u.default,k({},V,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,z=C(_);if(E&&_.length>(V.current-1)*V.pageSize&&(z=C(_).splice((V.current-1)*V.pageSize,V.pageSize)),B=R&&r.createElement("div",{style:{minHeight:53}}),z.length>0){var W=z.map((function(e,n){return t.renderItem(e,n)})),H=[];r.Children.forEach(W,(function(e,n){H.push(r.cloneElement(e,{key:t.keys[n]}))})),B=x?r.createElement(f.a,{gutter:x.gutter},H):r.createElement("ul",{className:"".concat(F,"-items")},H)}else g||R||(B=t.renderEmpty(F,i));var G=V.position||"bottom";return r.createElement("div",k({className:K},Object(l.a)(D,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&q,P&&r.createElement("div",{className:"".concat(F,"-header")},P),r.createElement(s.default,I,B,g),T&&r.createElement("div",{className:"".concat(F,"-footer")},T),w||("bottom"===G||"both"===G)&&q)};var n=e.pagination,o=n&&"object"===j(n)?n:{};return t.state={paginationCurrent:o.defaultCurrent||1,paginationSize:o.defaultPageSize||10},t}return t=p,(n=[{key:"getChildContext",value:function(){return{grid:this.props.grid,itemLayout:this.props.itemLayout}}},{key:"triggerPaginationEvent",value:function(e){var t=this;return function(n,r){var o=t.props.pagination;t.setState({paginationCurrent:n,paginationSize:r}),o&&o[e]&&o[e](n,r)}}},{key:"isSomethingAfterLastItem",value:function(){var e=this.props,t=e.loadMore,n=e.pagination,r=e.footer;return!!(t||n||r)}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderList)}}])&&T(t.prototype,n),o&&T(t,o),p}(r.Component);R.Item=_,R.childContextTypes={grid:o.any,itemLayout:o.string},R.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n("TSYQ"),l=n.n(a),s=n("QbLZ"),c=n.n(s),u=n("i8i4"),f=n.n(u),p=n("9Do8"),d=n.n(p),m=n("OFL0"),h=n.n(m),y=n("jo6Y"),v=n.n(y),b=n("YEIV"),g=n.n(b),O=n("m1cH"),w=n.n(O),E=n("fhzG"),x=n.n(E),S=n("aGtg"),_=n("oV5b"),j=n.n(_),C=n("2W6z"),P=n.n(C),k=n("mwIZ"),N=n.n(k),T=n("D1y2"),M=n.n(T),D=n("ljhN"),F=n.n(D),I=n("iCc5"),A=n.n(I),R=n("V7oC"),L=n.n(R),K=function e(t){A()(this,e),c()(this,t)};function V(e){return e instanceof K}function U(e){return V(e)?e:new K(e)}var B=n("2mql"),q=n.n(B);function z(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,q()(e,t)}function W(e){return e}function H(e){return Array.prototype.concat.apply([],e)}function G(e,t,n){var r={};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1],r=arguments[2],o=arguments[3],i=arguments[4];if(r(t,n))i(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,a){return e(t+"["+a+"]",n,r,o,i)}));else{if("object"!=typeof n)return void P()(!1,o);Object.keys(n).forEach((function(a){var l=n[a];e(t+(t?".":"")+a,l,r,o,i)}))}}(void 0,e,t,n,(function(e,t){r[e]=t})),r}function Y(e,t,n){var r=e.map((function(e){var t=c()({},e,{trigger:e.trigger||[]});return"string"==typeof t.trigger&&(t.trigger=[t.trigger]),t}));return t&&r.push({trigger:n?[].concat(n):[],rules:t}),r}function Q(e){return e.filter((function(e){return!!e.rules&&e.rules.length})).map((function(e){return e.trigger})).reduce((function(e,t){return e.concat(t)}),[])}function Z(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function X(e,t,n){var r=e,o=t,i=n;return void 0===n&&("function"==typeof r?(i=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(i=o,o={}):o=o||{}:(i=o,o=r||{},r=void 0)),{names:r,options:o,callback:i}}function J(e){return 0===Object.keys(e).length}function $(e){return!!e&&e.some((function(e){return e.rules&&e.rules.length}))}function ee(e,t){return 0===t.indexOf(e)&&-1!==[".","["].indexOf(t[e.length])}function te(e){return G(e,(function(e,t){return V(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){A()(this,e),re.call(this),this.fields=te(t),this.fieldsMeta={}}return L()(e,[{key:"updateFields",value:function(e){this.fields=te(e)}},{key:"flattenRegisteredFields",value:function(e){var t=this.getAllFieldsName();return G(e,(function(e){return t.indexOf(e)>=0}),"You cannot set a form field before rendering a field associated with the value.")}},{key:"setFields",value:function(e){var t=this,n=this.fieldsMeta,r=c()({},this.fields,e),o={};Object.keys(n).forEach((function(e){o[e]=t.getValueFromFields(e,r)})),Object.keys(o).forEach((function(e){var n=o[e],i=t.getFieldMeta(e);if(i&&i.normalize){var a=i.normalize(n,t.getValueFromFields(e,t.fields),o);a!==n&&(r[e]=c()({},r[e],{value:a}))}})),this.fields=r}},{key:"resetFields",value:function(e){var t=this.fields;return(e?this.getValidFieldsFullName(e):this.getAllFieldsName()).reduce((function(e,n){var r=t[n];return r&&"value"in r&&(e[n]={}),e}),{})}},{key:"setFieldMeta",value:function(e,t){this.fieldsMeta[e]=t}},{key:"setFieldsAsDirty",value:function(){var e=this;Object.keys(this.fields).forEach((function(t){var n=e.fields[t],r=e.fieldsMeta[t];n&&r&&$(r.validate)&&(e.fields[t]=c()({},n,{dirty:!0}))}))}},{key:"getFieldMeta",value:function(e){return this.fieldsMeta[e]=this.fieldsMeta[e]||{},this.fieldsMeta[e]}},{key:"getValueFromFields",value:function(e,t){var n=t[e];if(n&&"value"in n)return n.value;var r=this.getFieldMeta(e);return r&&r.initialValue}},{key:"getValidFieldsName",value:function(){var e=this,t=this.fieldsMeta;return t?Object.keys(t).filter((function(t){return!e.getFieldMeta(t).hidden})):[]}},{key:"getAllFieldsName",value:function(){var e=this.fieldsMeta;return e?Object.keys(e):[]}},{key:"getValidFieldsFullName",value:function(e){var t=Array.isArray(e)?e:[e];return this.getValidFieldsName().filter((function(e){return t.some((function(t){return e===t||(n=t,0===e.lastIndexOf(n,0)&&[".","["].indexOf(e[t.length])>=0);var n}))}))}},{key:"getFieldValuePropValue",value:function(e){var t=e.name,n=e.getValueProps,r=e.valuePropName,o=this.getField(t),i="value"in o?o.value:e.initialValue;return n?n(i):g()({},r,i)}},{key:"getField",value:function(e){return c()({},this.fields[e],{name:e})}},{key:"getNotCollectedFields",value:function(){var e=this;return this.getValidFieldsName().filter((function(t){return!e.fields[t]})).map((function(t){return{name:t,dirty:!1,value:e.getFieldMeta(t).initialValue}})).reduce((function(e,t){return M()(e,t.name,U(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return M()(t,n,U(e.fields[n]))}),this.getNotCollectedFields())}},{key:"getFieldMember",value:function(e,t){return this.getField(e)[t]}},{key:"getNestedFields",value:function(e,t){return(e||this.getValidFieldsName()).reduce((function(e,n){return M()(e,n,t(n))}),{})}},{key:"getNestedField",value:function(e,t){var n=this.getValidFieldsFullName(e);if(0===n.length||1===n.length&&n[0]===e)return t(e);var r="["===n[0][e.length],o=r?e.length:e.length+1;return n.reduce((function(e,n){return M()(e,n.slice(o),t(n))}),r?[]:{})}},{key:"isValidNestedFieldName",value:function(e){return this.getAllFieldsName().every((function(t){return!ee(t,e)&&!ee(e,t)}))}},{key:"clearField",value:function(e){delete this.fields[e],delete this.fieldsMeta[e]}}]),e}(),re=function(){var e=this;this.setFieldsInitialValue=function(t){var n=e.flattenRegisteredFields(t),r=e.fieldsMeta;Object.keys(n).forEach((function(t){r[t]&&e.setFieldMeta(t,c()({},e.getFieldMeta(t),{initialValue:n[t]}))}))},this.getAllValues=function(){var t=e.fieldsMeta,n=e.fields;return Object.keys(t).reduce((function(t,r){return M()(t,r,e.getValueFromFields(r,n))}),{})},this.getFieldsValue=function(t){return e.getNestedFields(t,e.getFieldValue)},this.getFieldValue=function(t){var n=e.fields;return e.getNestedField(t,(function(t){return e.getValueFromFields(t,n)}))},this.getFieldsError=function(t){return e.getNestedFields(t,e.getFieldError)},this.getFieldError=function(t){return e.getNestedField(t,(function(t){return(n=e.getFieldMember(t,"errors"))?n.map((function(e){return e&&e.message?e.message:e})):n;var n}))},this.isFieldValidating=function(t){return e.getFieldMember(t,"validating")},this.isFieldsValidating=function(t){return(t||e.getValidFieldsName()).some((function(t){return e.isFieldValidating(t)}))},this.isFieldTouched=function(t){return e.getFieldMember(t,"touched")},this.isFieldsTouched=function(t){return(t||e.getValidFieldsName()).some((function(t){return e.isFieldTouched(t)}))}};function oe(e){return new ne(e)}var ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.validateMessages,r=e.onFieldsChange,i=e.onValuesChange,a=e.mapProps,l=void 0===a?W:a,s=e.mapPropsToFields,u=e.fieldNameProp,f=e.fieldMetaProp,p=e.fieldDataProp,d=e.formPropName,m=void 0===d?"form":d,h=e.name,y=e.withRef;return function(e){var a=x()({displayName:"Form",mixins:t,getInitialState:function(){var e=this,t=s&&s(this.props);return this.fieldsStore=oe(t||{}),this.instances={},this.cachedBind={},this.clearedFieldMetaCache={},this.renderFields={},this.domFields={},["getFieldsValue","getFieldValue","setFieldsInitialValue","getFieldsError","getFieldError","isFieldValidating","isFieldsValidating","isFieldsTouched","isFieldTouched"].forEach((function(t){e[t]=function(){var n;return(n=e.fieldsStore)[t].apply(n,arguments)}})),{submitting:!1}},componentDidMount:function(){this.cleanUpUselessFields()},componentWillReceiveProps:function(e){s&&this.fieldsStore.updateFields(s(e))},componentDidUpdate:function(){this.cleanUpUselessFields()},onCollectCommon:function(e,t,n){var r=this.fieldsStore.getFieldMeta(e);if(r[t])r[t].apply(r,w()(n));else if(r.originalProps&&r.originalProps[t]){var o;(o=r.originalProps)[t].apply(o,w()(n))}var a=r.getValueFromEvent?r.getValueFromEvent.apply(r,w()(n)):Z.apply(void 0,w()(n));if(i&&a!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),s={};l[e]=a,Object.keys(l).forEach((function(e){return M()(s,e,l[e])})),i(c()(g()({},m,this.getForm()),this.props),M()({},e,a),s)}var u=this.fieldsStore.getField(e);return{name:e,field:c()({},u,{value:a,touched:!0}),fieldMeta:r}},onCollect:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this.onCollectCommon(e,t,r),a=i.name,l=i.field,s=i.fieldMeta,u=s.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(u)});this.setFields(g()({},a,f))},onCollectValidate:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this.onCollectCommon(e,t,r),a=i.field,l=i.fieldMeta,s=c()({},a,{dirty:!0});this.fieldsStore.setFieldsAsDirty(),this.validateFieldsInternal([s],{action:t,options:{firstFields:!!l.validateFirst}})},getCacheBind:function(e,t,n){this.cachedBind[e]||(this.cachedBind[e]={});var r=this.cachedBind[e];return r[t]&&r[t].oriFn===n||(r[t]={fn:n.bind(this,e,t),oriFn:n}),r[t].fn},getFieldDecorator:function(e,t){var n=this,r=this.getFieldProps(e,t);return function(t){n.renderFields[e]=!0;var i=n.fieldsStore.getFieldMeta(e),a=t.props;return i.originalProps=a,i.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(i)))}},getFieldProps:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Must call `getFieldProps` with valid name string!");delete this.clearedFieldMetaCache[e];var r=c()({name:e,trigger:"onChange",valuePropName:"value",validate:[]},n),o=r.rules,i=r.trigger,a=r.validateTrigger,l=void 0===a?i:a,s=r.validate,d=this.fieldsStore.getFieldMeta(e);"initialValue"in r&&(d.initialValue=r.initialValue);var m=c()({},this.fieldsStore.getFieldValuePropValue(r),{ref:this.getCacheBind(e,e+"__ref",this.saveRef)});u&&(m[u]=h?h+"_"+e:e);var y=Y(s,o,l),v=Q(y);v.forEach((function(n){m[n]||(m[n]=t.getCacheBind(e,n,t.onCollectValidate))})),i&&-1===v.indexOf(i)&&(m[i]=this.getCacheBind(e,i,this.onCollect));var b=c()({},d,r,{validate:y});return this.fieldsStore.setFieldMeta(e,b),f&&(m[f]=b),p&&(m[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,m},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return H(e.validate.filter((function(e){return!t||e.trigger.indexOf(t)>=0})).map((function(e){return e.rules})))},setFields:function(e,t){var n=this,o=this.fieldsStore.flattenRegisteredFields(e);if(this.fieldsStore.setFields(o),r){var i=Object.keys(o).reduce((function(e,t){return M()(e,t,n.fieldsStore.getField(t))}),{});r(c()(g()({},m,this.getForm()),this.props),i,this.fieldsStore.getNestedAllFields())}this.forceUpdate(t)},setFieldsValue:function(e,t){var n=this.fieldsStore.fieldsMeta,r=this.fieldsStore.flattenRegisteredFields(e),o=Object.keys(r).reduce((function(e,t){if(n[t]){var o=r[t];e[t]={value:o}}return e}),{});if(this.setFields(o,t),i){var a=this.fieldsStore.getAllValues();i(c()(g()({},m,this.getForm()),this.props),e,a)}},saveRef:function(e,t,n){if(!n){var r=this.fieldsStore.getFieldMeta(e);return r.preserve||(this.clearedFieldMetaCache[e]={field:this.fieldsStore.getField(e),meta:r},this.clearField(e)),void delete this.domFields[e]}this.domFields[e]=!0,this.recoverClearedField(e);var o=this.fieldsStore.getFieldMeta(e);if(o){var i=o.ref;if(i){if("string"==typeof i)throw new Error("can not set ref string for "+e);"function"==typeof i?i(n):Object.prototype.hasOwnProperty.call(i,"current")&&(i.current=n)}}this.instances[e]=n},cleanUpUselessFields:function(){var e=this,t=this.fieldsStore.getAllFieldsName().filter((function(t){var n=e.fieldsStore.getFieldMeta(t);return!e.renderFields[t]&&!e.domFields[t]&&!n.preserve}));t.length&&t.forEach(this.clearField),this.renderFields={}},clearField:function(e){this.fieldsStore.clearField(e),delete this.instances[e],delete this.cachedBind[e]},resetFields:function(e){var t=this,n=this.fieldsStore.resetFields(e);(Object.keys(n).length>0&&this.setFields(n),e)?(Array.isArray(e)?e:[e]).forEach((function(e){return delete t.clearedFieldMetaCache[e]})):this.clearedFieldMetaCache={}},recoverClearedField:function(e){this.clearedFieldMetaCache[e]&&(this.fieldsStore.setFields(g()({},e,this.clearedFieldMetaCache[e].field)),this.fieldsStore.setFieldMeta(e,this.clearedFieldMetaCache[e].meta),delete this.clearedFieldMetaCache[e])},validateFieldsInternal:function(e,t,r){var o=this,i=t.fieldNames,a=t.action,l=t.options,s=void 0===l?{}:l,u={},f={},p={},d={};if(e.forEach((function(e){var t=e.name;if(!0===s.force||!1!==e.dirty){var n=o.fieldsStore.getFieldMeta(t),r=c()({},e);r.errors=void 0,r.validating=!0,r.dirty=!0,u[t]=o.getRules(n,a),f[t]=r.value,p[t]=r}else e.errors&&M()(d,t,{errors:e.errors})})),this.setFields(p),Object.keys(f).forEach((function(e){f[e]=o.fieldsStore.getFieldValue(e)})),r&&J(p))r(J(d)?null:d,this.fieldsStore.getFieldsValue(i));else{var m=new j.a(u);n&&m.messages(n),m.validate(f,s,(function(e){var t=c()({},d);e&&e.length&&e.forEach((function(e){var n=e.field,r=n;Object.keys(u).some((function(e){var t=u[e]||[];if(e===n)return r=e,!0;if(t.every((function(e){return"array"!==e.type}))||0!==n.indexOf(e+"."))return!1;var o=n.slice(e.length+1);return!!/^\d+$/.test(o)&&(r=e,!0)}));var o=N()(t,r);("object"!=typeof o||Array.isArray(o))&&M()(t,r,{errors:[]}),N()(t,r.concat(".errors")).push(e)}));var n=[],a={};Object.keys(u).forEach((function(e){var r=N()(t,e),i=o.fieldsStore.getField(e);F()(i.value,f[e])?(i.errors=r&&r.errors,i.value=f[e],i.validating=!1,i.dirty=!1,a[e]=i):n.push({name:e})})),o.setFields(a),r&&(n.length&&n.forEach((function(e){var n=e.name,r=[{message:n+" need to revalidate",field:n}];M()(t,n,{expired:!0,errors:r})})),r(J(t)?null:t,o.fieldsStore.getFieldsValue(i)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,i){var a=X(e,t,n),l=a.names,s=a.options,c=X(e,t,n).callback;if(!c||"function"==typeof c){var u=c;c=function(e,t){u&&u(e,t),e?i({errors:e,values:t}):o(t)}}var f=l?r.fieldsStore.getValidFieldsFullName(l):r.fieldsStore.getValidFieldsName(),p=f.filter((function(e){return $(r.fieldsStore.getFieldMeta(e).validate)})).map((function(e){var t=r.fieldsStore.getField(e);return t.value=r.fieldsStore.getFieldValue(e),t}));p.length?("firstFields"in s||(s.firstFields=f.filter((function(e){return!!r.fieldsStore.getFieldMeta(e).validateFirst}))),r.validateFieldsInternal(p,{fieldNames:f,options:s},c)):c(null,r.fieldsStore.getFieldsValue(f))}));return o.catch((function(e){return console.error,e})),o},isSubmitting:function(){return this.state.submitting},submit:function(e){var t=this;this.setState({submitting:!0}),e((function(){t.setState({submitting:!1})}))},render:function(){var t=this.props,n=t.wrappedComponentRef,r=v()(t,["wrappedComponentRef"]),i=g()({},m,this.getForm());y?i.ref="wrappedComponent":n&&(i.ref=n);var a=l.call(this,c()({},i,r));return o.a.createElement(e,a)}});return z(Object(S.a)(a),e)}},ae={getForm:function(){return{getFieldsValue:this.fieldsStore.getFieldsValue,getFieldValue:this.fieldsStore.getFieldValue,getFieldInstance:this.getFieldInstance,setFieldsValue:this.setFieldsValue,setFields:this.setFields,setFieldsInitialValue:this.fieldsStore.setFieldsInitialValue,getFieldDecorator:this.getFieldDecorator,getFieldProps:this.getFieldProps,getFieldsError:this.fieldsStore.getFieldsError,getFieldError:this.fieldsStore.getFieldError,isFieldValidating:this.fieldsStore.isFieldValidating,isFieldsValidating:this.fieldsStore.isFieldsValidating,isFieldsTouched:this.fieldsStore.isFieldsTouched,isFieldTouched:this.fieldsStore.isFieldTouched,isSubmitting:this.isSubmitting,submit:this.submit,validateFields:this.validateFields,resetFields:this.resetFields}}};function le(e,t){var n=window.getComputedStyle,r=n?n(e):e.currentStyle;if(r)return r[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}var se={getForm:function(){return c()({},ae.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=X(e,t,n),i=o.names,a=o.callback,l=o.options;return this.validateFields(i,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,i=void 0;if(n.forEach((function(t){if(h()(e,t)){var n=r.getFieldInstance(t);if(n){var a=f.a.findDOMNode(n),l=a.getBoundingClientRect().top;"hidden"!==a.type&&(void 0===i||i>l)&&(i=l,o=a)}}})),o){var s=l.container||function(e){for(var t=e,n=void 0;"body"!==(n=t.nodeName.toLowerCase());){var r=le(t,"overflowY");if(t!==e&&("auto"===r||"scroll"===r)&&t.scrollHeight>t.clientHeight)return t;t=t.parentNode}return"body"===n?t.ownerDocument:t}(o);d()(o,s,c()({onlyScrollIfNeeded:!0},l.scroll))}}"function"==typeof a&&a(e,t)}))}};var ce=function(e){return ie(c()({},e),[se])},ue=n("BGR+"),fe=n("H84U"),pe=n("CWQg"),de=n("6CfX"),me=n("MFj2"),he=n("qrJ5"),ye=n("/kpp"),ve=n("CtXQ"),be=n("foW8"),ge=n.n(be)()({labelAlign:"right",vertical:!1});function Oe(e){return(Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function we(){return(we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ke(e);if(t){var o=ke(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ce(this,n)}}function Ce(e,t){return!t||"object"!==Oe(t)&&"function"!=typeof t?Pe(e):t}function Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ne(e){return function(e){if(Array.isArray(e))return Te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Te(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Me=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},De=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");var Fe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}(a,e);var t,n,o,i=je(a);function a(){var e;return xe(this,a),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(Pe(e)).querySelector('[id="'.concat(t,'"]'));n&&n.focus&&n.focus()}},e.onHelpAnimEnd=function(t,n){e.helpShow=n,n||e.setState({})},e.renderFormItem=function(t){var n,o=t.getPrefixCls,i=e.props,a=i.prefixCls,s=i.style,c=i.className,u=Me(i,["prefixCls","style","className"]),f=o("form",a),p=e.renderChildren(f),d=(Ee(n={},"".concat(f,"-item"),!0),Ee(n,"".concat(f,"-item-with-help"),e.helpShow),Ee(n,"".concat(c),!!c),n);return r.createElement(he.a,we({className:l()(d),style:s},Object(ue.a)(u,["id","htmlFor","label","labelAlign","labelCol","wrapperCol","help","extra","validateStatus","hasFeedback","required","colon"]),{key:"row"}),p)},e}return t=a,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,n=e.help,r=e.validateStatus,o=e.id;Object(de.a)(this.getControls(t,!0).length<=1||void 0!==n||void 0!==r,"Form.Item","Cannot generate `validateStatus` and `help` automatically, while there are more than one `getFieldDecorator` in it."),Object(de.a)(!o,"Form.Item","`id` is deprecated for its label `htmlFor`. Please use `htmlFor` directly.")}},{key:"getHelpMessage",value:function(){var e=this.props.help;if(void 0===e&&this.getOnlyControl()){var t=this.getField().errors;return t?t.map((function(e,t){var n=null;return r.isValidElement(e)?n=e:r.isValidElement(e.message)&&(n=e.message),n?r.cloneElement(n,{key:t}):e.message})).reduce((function(e,t){return[].concat(Ne(e),[" ",t])}),[]).slice(1):""}return e}},{key:"getControls",value:function(e,t){for(var n=[],o=r.Children.toArray(e),i=0;i<o.length&&(t||!(n.length>0));i++){var l=o[i];(!l.type||l.type!==a&&"FormItem"!==l.type.displayName)&&l.props&&("data-__meta"in l.props?n.push(l):l.props.children&&(n=n.concat(this.getControls(l.props.children,t))))}return n}},{key:"getOnlyControl",value:function(){var e=this.getControls(this.props.children,!1)[0];return void 0!==e?e:null}},{key:"getChildProp",value:function(e){var t=this.getOnlyControl();return t&&t.props&&t.props[e]}},{key:"getId",value:function(){return this.getChildProp("id")}},{key:"getMeta",value:function(){return this.getChildProp("data-__meta")}},{key:"getField",value:function(){return this.getChildProp("data-__field")}},{key:"getValidateStatus",value:function(){if(!this.getOnlyControl())return"";var e=this.getField();if(e.validating)return"validating";if(e.errors)return"error";var t="value"in e?e.value:this.getMeta().initialValue;return null!=t&&""!==t?"success":""}},{key:"isRequired",value:function(){var e=this.props.required;return void 0!==e?e:!!this.getOnlyControl()&&((this.getMeta()||{}).validate||[]).filter((function(e){return!!e.rules})).some((function(e){return e.rules.some((function(e){return e.required}))}))}},{key:"renderHelp",value:function(e){var t=this.getHelpMessage(),n=t?r.createElement("div",{className:"".concat(e,"-explain"),key:"help"},t):null;return n&&(this.helpShow=!!n),r.createElement(me.a,{transitionName:"show-help",component:"",transitionAppear:!0,key:"help",onEnd:this.onHelpAnimEnd},n)}},{key:"renderExtra",value:function(e){var t=this.props.extra;return t?r.createElement("div",{className:"".concat(e,"-extra")},t):null}},{key:"renderValidateWrapper",value:function(e,t,n,o){var i=this.props,a=this.getOnlyControl,s=void 0===i.validateStatus&&a?this.getValidateStatus():i.validateStatus,c="".concat(e,"-item-control");s&&(c=l()("".concat(e,"-item-control"),{"has-feedback":s&&i.hasFeedback,"has-success":"success"===s,"has-warning":"warning"===s,"has-error":"error"===s,"is-validating":"validating"===s}));var u="";switch(s){case"success":u="check-circle";break;case"warning":u="exclamation-circle";break;case"error":u="close-circle";break;case"validating":u="loading";break;default:u=""}var f=i.hasFeedback&&u?r.createElement("span",{className:"".concat(e,"-item-children-icon")},r.createElement(ve.default,{type:u,theme:"loading"===u?"outlined":"filled"})):null;return r.createElement("div",{className:c},r.createElement("span",{className:"".concat(e,"-item-children")},t,f),n,o)}},{key:"renderWrapper",value:function(e,t){var n=this;return r.createElement(ge.Consumer,{key:"wrapper"},(function(o){var i=o.wrapperCol,a=o.vertical,s=n.props.wrapperCol,c=("wrapperCol"in n.props?s:i)||{},u=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(ge.Provider,{value:{vertical:a}},r.createElement(ye.a,we({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(ge.Consumer,{key:"label"},(function(n){var o,i=n.vertical,a=n.labelAlign,s=n.labelCol,c=n.colon,u=t.props,f=u.label,p=u.labelCol,d=u.labelAlign,m=u.colon,h=u.id,y=u.htmlFor,v=t.isRequired(),b=("labelCol"in t.props?p:s)||{},g="labelAlign"in t.props?d:a,O="".concat(e,"-item-label"),w=l()(O,"left"===g&&"".concat(O,"-left"),b.className),E=f,x=!0===m||!1!==c&&!1!==m;x&&!i&&"string"==typeof f&&""!==f.trim()&&(E=f.replace(/[::]\s*$/,""));var S=l()((Ee(o={},"".concat(e,"-item-required"),v),Ee(o,"".concat(e,"-item-no-colon"),!x),o));return f?r.createElement(ye.a,we({},b,{className:w}),r.createElement("label",{htmlFor:y||h||t.getId(),className:S,title:"string"==typeof f?f:"",onClick:t.onLabelClick},E)):null}))}},{key:"renderChildren",value:function(e){var t=this.props.children;return[this.renderLabel(e),this.renderWrapper(e,this.renderValidateWrapper(e,t,this.renderHelp(e),this.renderExtra(e)))]}},{key:"render",value:function(){return r.createElement(fe.a,null,this.renderFormItem)}}])&&Se(t.prototype,n),o&&Se(t,o),a}(r.Component);function Ie(e){return(Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ae(){return(Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Le(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Be(e);if(t){var o=Be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ue(this,n)}}function Ue(e,t){return!t||"object"!==Ie(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Fe.defaultProps={hasFeedback:!1},Fe.propTypes={prefixCls:i.string,label:i.oneOfType([i.string,i.node]),labelCol:i.object,help:i.oneOfType([i.node,i.bool]),validateStatus:i.oneOf(De),hasFeedback:i.bool,wrapperCol:i.object,className:i.string,id:i.string,children:i.node,colon:i.bool};var qe=Object(pe.a)("horizontal","inline","vertical"),ze=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ke(e,t)}(a,e);var t,n,o,i=Ve(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,i=t.props,a=i.prefixCls,s=i.hideRequiredMark,c=i.className,u=void 0===c?"":c,f=i.layout,p=o("form",a),d=l()(p,(Re(n={},"".concat(p,"-horizontal"),"horizontal"===f),Re(n,"".concat(p,"-vertical"),"vertical"===f),Re(n,"".concat(p,"-inline"),"inline"===f),Re(n,"".concat(p,"-hide-required-mark"),s),n),u),m=Object(ue.a)(t.props,["prefixCls","className","layout","form","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon"]);return r.createElement("form",Ae({},m,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,i=e.layout,a=e.colon;return r.createElement(ge.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===i,colon:a}},r.createElement(fe.a,null,this.renderForm))}}])&&Le(t.prototype,n),o&&Le(t,o),a}(r.Component);ze.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},ze.propTypes={prefixCls:i.string,layout:i.oneOf(qe),children:i.any,onSubmit:i.func,hideRequiredMark:i.bool,colon:i.bool},ze.Item=Fe,ze.createFormField=U,ze.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(Ae(Ae({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=ze},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},XZDd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&i.default.type(e,t,r,l,o)}n(l)}},Xi7e:function(e,t,n){var r=n("KMkd"),o=n("adU4"),i=n("tMB7"),a=n("+6XX"),l=n("Z8oC");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},"Xt/L":function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},YESw:function(e,t,n){var r=n("Cwc5")(Object,"create");e.exports=r},YxIK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("W9HT")),o=m(n("+KLJ")),i=m(n("5rEg")),a=m(n("2fM7")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("2DKY"),n("1vPl"),n("8QGh");var c=n("q1tI"),u=m(c),f=m(n("vDqi"));n("6JOy"),n("js5m");var p=m(n("QCvN")),d=m(n("Fyak"));function m(e){return e&&e.__esModule?e:{default:e}}var h=a.default.Option,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));v.call(n);var r=n.props.match.params.branch;return n.state={data:void 0,branches:void 0,merge_branches:void 0,merge_projects:void 0,merge:"master",pull:r,id:void 0,is_fork:!1,projects_names:void 0,isSpin:!1,show_message:!0,merge_head:!1,default_message:"必须选择不同的分支",project_id:void 0,merge_project_user:void 0,oldProject:void 0,comparesData:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"componentWillUnmount",value:function(){console.log("----------destoyed---------"),window.removeEventListener("popstate",this.handleBack,!1)}},{key:"render",value:function(){var e,t=this,n=this.state,s=n.data,c=n.branches,f=n.merge_branches,m=n.merge_projects,y=n.pull,v=n.merge,b=n.isSpin,g=n.show_message,O=n.default_message,w=(n.merge_head,n.projects_names),E=n.id,x=n.comparesData,S=function(e,t){if(e&&e.length>0)return e.map((function(e,t){return u.default.createElement(h,{key:t+1,value:e.name},e.name)}))},_=function(e){if(e&&e.length>0)return e.map((function(e,t){return u.default.createElement(h,{key:t+1,value:e.id},e.project_name)}))},j=this.props.project;return u.default.createElement("div",null,u.default.createElement("div",{className:"main"},u.default.createElement(r.default,{spinning:b},u.default.createElement("div",{className:"merge-header width100 inline-block"},u.default.createElement("div",{className:"width40 pull-left"},u.default.createElement("div",{className:"color-grey-3 mb10 fwb"},"源分支:"),u.default.createElement(i.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(a.default,{value:E,className:"hide-1 task-hide flex1",disabled:!0},_(w)),u.default.createElement(a.default,{value:y,onSelect:function(e){return t.selectBrach("pull",e)},showSearch:!0,className:"merge-flex1 flex1"},S(c)))),u.default.createElement("div",{className:"width10 pull-left text-center mt25"},u.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-32"})),u.default.createElement("div",{className:"width40 pull-left"},u.default.createElement("div",null,u.default.createElement("div",{className:"color-grey-3 mb10 fwb"},"目标分支:"),u.default.createElement(i.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(a.default,{value:j&&j.id,className:"hide-1 task-hide flex1",onSelect:function(e){return t.selectProjectName(e)}},_(m)),u.default.createElement(a.default,{value:v,onSelect:function(e){return t.selectBrach("merge",e)},showSearch:!0,className:"merge-flex1 flex1"},S(f)))))),g?u.default.createElement("div",{className:"mb20"},u.default.createElement(o.default,{description:(e=O,u.default.createElement("div",{dangerouslySetInnerHTML:{__html:e}})),type:"error"})):u.default.createElement(p.default,l({},this.props,{merge_type:"new",data:s,merge:v,pull:y,files_count:x&&x.diff&&x.diff.files_count,commits_count:x&&x.commits_count})))),u.default.createElement(d.default,l({order_id:s&&s.issue&&s.issue.id},this.props,this.state,{merge:v,pull:y,comparesData:x})))}}]),t}(c.Component),v=function(){var e=this;this.componentDidMount=function(){var t=e.props.match.params.projectsId;e.getmergelist(t),window.history&&window.history.pushState&&window.addEventListener("popstate",e.handleBack,!1)},this.componentDidUpdate=function(t){var n=e.props.project,r=e.state.pull,o=t.project;n&&o&&o.id!==n.id&&e.compareProject(e.state.id,r,"master")},this.handleBack=function(){var t=e.props.match.params.projectsId;e.getmergelist(t)},this.getmergelist=function(t){e.setState({isSpin:!0});var n=e.props.history.location.pathname.split("/")[1];console.log("owner:"+n),console.log(e.props);var r="/"+n+"/"+t+"/pulls/new.json";f.default.get(r).then((function(t){t&&(e.setState({is_fork:t.data.is_fork,projects_names:t.data.projects_names,merge_projects:t.data.merge_projects,branches:t.data.branches,merge_branches:t.data.branches,project_id:t.data.project_id,id:t.data.id}),e.set_default_pull(t.data.branches),e.set_default_merge(t.data.merge_projects));var n=e.state.pull;e.compareProject(t.data.id,n||"master","master"),e.setState({isSpin:!1})})).catch((function(t){e.setState({isSpin:!1}),console.log(t)}))},this.compareProject=function(t,n,r){var o=e.props.project,i=e.props.match.params,a="/"+i.owner+"/"+i.projectsId+"/compare";if(o){if(t===o.id)e.setState({oldProject:o}),a+="/"+n+"..."+r+".json";else{var l=e.state.oldProject,s=l.author,c=l.identifier;a+="/"+r+"..."+(s&&s.login)+"/"+c+":"+n+".json"}e.setState({isSpin:!0}),f.default.get(a).then((function(t){t&&(0===t.data.status?e.setState({isSpin:!1,show_message:!1}):e.setState({isSpin:!1,show_message:!0,default_message:t.data.message}),e.setState({comparesData:t.data}))})).catch((function(t){e.setState({isSpin:!1})}))}},this.set_default_pull=function(t){if(!e.props.match.params.branch&&t&&t.length>0){var n=t.filter((function(e){return"master"===e.name}));n.length>0?e.setState({pull:n[0].name}):e.setState({pull:"master"})}},this.set_default_merge=function(t){if(t&&t.length){var n=t.filter((function(e){return"master"===e.name}));n.length>0?e.setState({merge:n[0].name}):e.setState({merge:"master"})}},this.newMergelist=function(t,n){e.setState({isSpin:!0});var r="/"+t+"/"+n+"/pulls/get_branches.json";f.default.get(r).then((function(t){t&&(e.setState({merge_branches:t.data}),e.set_default_merge(t.data)),e.setState({isSpin:!1})})).catch((function(t){e.setState({isSpin:!1}),console.log(t)}))},this.selectBrach=function(t,n){var r=e.props.match.params,o=r.projectsId,i=r.owner;e.state[t]=n;var a=e.state,l=a.id,s=a.merge,c=a.pull;"pull"===t?(e.props.history.push("/"+i+"/"+o+"/pulls/new/"+c),e.compareProject(l,n,s)):e.compareProject(l,c,n)},this.selectProjectName=function(t){var n=e.state,r=n.projects_names,o=n.id,i=r&&r.filter((function(e){return e.id===t})),a=i&&i[0].project_id,l=i&&i[0].project_user_login,s=parseInt(t)!==parseInt(o);e.setState({isSpin:!0,merge_head:s,data:{is_original:s,fork_project_id:s?o:"",merge_user_login:s?r[0].project_user_login:void 0}}),e.props.history.push("/"+l+"/"+a+"/pulls/new"),e.newMergelist(l,a)},this.ischeckmerge=function(){e.setState({isSpin:!0});var t=e.props.match.params,n=t.projectsId,r=t.owner,o=e.state,i=o.pull,a=o.merge,l=o.merge_head,s=o.id,c="/"+r+"/"+n+"/pulls/check_can_merge.json";f.default.post(c,{head:i,base:a,is_original:l,fork_project_id:l?s:void 0}).then((function(t){t?0===t.data.status?e.setState({isSpin:!1,show_message:!1}):e.setState({isSpin:!1,show_message:!0,default_message:t.data.message}):e.setState({isSpin:!1,show_message:!0,default_message:"出现错误了"})})).catch((function(t){e.setState({isSpin:!1,show_message:!0}),console.log(t)}))}};t.default=y},Z0cm:function(e,t){var n=Array.isArray;e.exports=n},Z4ex:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n("q1tI"),a=((r=i)&&r.__esModule,n("VIrW"));function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"getChildContext",value:function(){return{miniStore:this.props.store}}},{key:"render",value:function(){return i.Children.only(this.props.children)}}]),t}(i.Component);c.propTypes={store:a.storeShape.isRequired},c.childContextTypes={miniStore:a.storeShape.isRequired},t.default=c},Z8oC:function(e,t,n){var r=n("y1pI");e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},ZCgT:function(e,t,n){var r=n("tLB3");e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return He}));var r=n("q1tI"),o=n.n(r),i=n("i8i4"),a=n("QbLZ"),l=n.n(a),s=n("YEIV"),c=n.n(s),u=n("jo6Y"),f=n.n(u),p=n("iCc5"),d=n.n(p),m=n("V7oC"),h=n.n(m),y=n("FYw3"),v=n.n(y),b=n("mRg0"),g=n.n(b),O=n("17x9"),w=n.n(O),E=n("TSYQ"),x=n.n(E),S=n("n1GQ"),_=n.n(S),j=n("VCL8"),C=37,P=38,k=39,N=40;function T(e){var t=[];return o.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function M(e,t){for(var n=T(e),r=0;r<n.length;r++)if(n[r].key===t)return r;return-1}function D(e,t){e.transform=t,e.webkitTransform=t,e.mozTransform=t}function F(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function I(e){return"left"===e||"right"===e}function A(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function R(e){return Object.keys(e).reduce((function(t,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})}function L(e,t){return+e.getPropertyValue(t).replace("px","")}function K(e,t,n,r,o){var i=A(o,"padding-"+e);if(!r||!r.parentNode)return i;var a=r.parentNode.childNodes;return Array.prototype.some.call(a,(function(o){var a=window.getComputedStyle(o);return o!==r?(i+=L(a,"margin-"+e),i+=o[t],i+=L(a,"margin-"+n),"content-box"===a.boxSizing&&(i+=L(a,"border-"+e+"-width")+L(a,"border-"+n+"-width")),!1):(i+=L(a,"margin-"+e),!0)})),i}var V=n("4IlW"),U=n("foW8"),B=n.n(U)()({}),q=B.Provider,z=B.Consumer,W={width:0,height:0,overflow:"hidden",position:"absolute"},H=function(e){function t(){var e,n,r,o;d()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=r=v()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.onKeyDown=function(e){var t=e.target,n=e.which,o=e.shiftKey,i=r.props,a=i.nextElement,l=i.prevElement;n===V.a.TAB&&document.activeElement===t&&(!o&&a&&a.focus(),o&&l&&l.focus())},o=n,v()(r,o)}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this.props.setRef;return o.a.createElement("div",{tabIndex:0,ref:e,style:W,onKeyDown:this.onKeyDown,role:"presentation"})}}]),t}(o.a.Component);H.propTypes={setRef:w.a.func,prevElement:w.a.object,nextElement:w.a.object};var G=H,Y=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e,t=this.props,n=t.id,r=t.className,i=t.destroyInactiveTabPane,a=t.active,s=t.forceRender,u=t.rootPrefixCls,p=t.style,d=t.children,m=t.placeholder,h=f()(t,["id","className","destroyInactiveTabPane","active","forceRender","rootPrefixCls","style","children","placeholder"]);this._isActived=this._isActived||a;var y=u+"-tabpane",v=x()((e={},c()(e,y,1),c()(e,y+"-inactive",!a),c()(e,y+"-active",a),c()(e,r,r),e)),b=(i?a:this._isActived)||s;return o.a.createElement(z,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,i=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return a&&b&&(c=o.a.createElement(G,{setRef:i,prevElement:t}),u=o.a.createElement(G,{setRef:s,nextElement:r})),o.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":a?"false":"true",className:v,id:n},R(h)),c,b?d:m,u)}))}}]),t}(o.a.Component),Q=Y;function Z(e){var t=void 0;return o.a.Children.forEach(e.children,(function(e){!e||t||e.props.disabled||(t=e.key)})),t}Y.propTypes={className:w.a.string,active:w.a.bool,style:w.a.any,destroyInactiveTabPane:w.a.bool,forceRender:w.a.bool,placeholder:w.a.node,rootPrefixCls:w.a.string,children:w.a.node,id:w.a.string},Y.defaultProps={placeholder:null};var X=function(e){function t(e){d()(this,t);var n=v()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));J.call(n);var r=void 0;return r="activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:Z(e),n.state={activeKey:r},n}return g()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,_.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(_.a.cancel(this.sentinelId),this.sentinelId=_()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,i=t.tabBarPosition,a=t.className,s=t.renderTabContent,u=t.renderTabBar,p=t.destroyInactiveTabPane,d=t.direction,m=f()(t,["prefixCls","navWrapper","tabBarPosition","className","renderTabContent","renderTabBar","destroyInactiveTabPane","direction"]),h=x()((e={},c()(e,n,1),c()(e,n+"-"+i,1),c()(e,a,!!a),c()(e,n+"-rtl","rtl"===d),e));this.tabBar=u();var y=o.a.cloneElement(this.tabBar,{prefixCls:n,navWrapper:r,key:"tabBar",onKeyDown:this.onNavKeyDown,tabBarPosition:i,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=o.a.cloneElement(s(),{prefixCls:n,tabBarPosition:i,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),b=o.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),g=o.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),O=[];return"bottom"===i?O.push(b,v,g,y):O.push(y,b,v,g),o.a.createElement(q,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},o.a.createElement("div",l()({className:h,style:t.style},R(m),{onScroll:this.onScroll}),O))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"activeKey"in e?n.activeKey=e.activeKey:function(e,t){return o.a.Children.map(e.children,(function(e){return e&&e.key})).indexOf(t)>=0}(e,t.activeKey)||(n.activeKey=Z(e)),Object.keys(n).length>0?n:null}}]),t}(o.a.Component),J=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===k||n===N){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===C||n===P){t.preventDefault();var o=e.getNextActiveKey(!1);e.onTabClick(o)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];o.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var i=r.length,a=i&&r[0].key;return r.forEach((function(e,t){e.key===n&&(a=t===i-1?r[0].key:r[t+1].key)})),a}};X.propTypes={destroyInactiveTabPane:w.a.bool,renderTabBar:w.a.func.isRequired,renderTabContent:w.a.func.isRequired,navWrapper:w.a.func,onChange:w.a.func,children:w.a.node,prefixCls:w.a.string,className:w.a.string,tabBarPosition:w.a.string,style:w.a.object,activeKey:w.a.string,defaultActiveKey:w.a.string,direction:w.a.string},X.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},X.TabPane=Q,Object(j.polyfill)(X);var $=X,ee=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return o.a.Children.forEach(n,(function(n){if(n){var i=n.key,a=t===i;r.push(o.a.cloneElement(n,{active:a,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,i=n.children,a=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=x()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=M(i,a);if(-1!==y){var v=p?function(e,t){var n=I(t)?"marginTop":"marginLeft";return c()({},n,100*-e+"%")}(y,u):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=I(t)?"translateY":"translateX";return I(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(y,u,d),WebkitTransform:t,MozTransform:t};m=l()({},m,v)}else m=l()({},m,{display:"none"})}return o.a.createElement("div",{className:h,style:m},this.getTabPanes())}}]),t}(o.a.Component),te=ee;ee.propTypes={animated:w.a.bool,animatedWithMargin:w.a.bool,prefixCls:w.a.string,children:w.a.node,activeKey:w.a.string,style:w.a.any,tabBarPosition:w.a.string,className:w.a.string,destroyInactiveTabPane:w.a.bool,direction:w.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("BGR+");function oe(e,t){var n=e.props,r=n.styles,o=n.panels,i=n.activeKey,a=n.direction,l=e.props.getRef("root"),s=e.props.getRef("nav")||l,c=e.props.getRef("inkBar"),u=e.props.getRef("activeTab"),f=c.style,p=e.props.tabBarPosition,d=M(o,i);if(t&&(f.display="none"),u){var m=u,h=F(f);if(D(f,""),f.width="",f.height="",f.left="",f.top="",f.bottom="",f.right="","top"===p||"bottom"===p){var y=function(e,t){return K("left","offsetWidth","right",e,t)}(m,s),v=m.offsetWidth;v===l.offsetWidth?v=0:r.inkBar&&void 0!==r.inkBar.width&&(v=parseFloat(r.inkBar.width,10))&&(y+=(m.offsetWidth-v)/2),"rtl"===a&&(y=A(m,"margin-left")-y),h?D(f,"translate3d("+y+"px,0,0)"):f.left=y+"px",f.width=v+"px"}else{var b=function(e,t){return K("top","offsetHeight","bottom",e,t)}(m,s),g=m.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(g=parseFloat(r.inkBar.height,10))&&(b+=(m.offsetHeight-g)/2),h?(D(f,"translate3d(0,"+b+"px,0)"),f.top="0"):f.top=b+"px",f.height=g+"px"}}f.display=-1!==d?"block":"none"}var ie=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){oe(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){oe(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,i=t.inkBarAnimated,a=n+"-ink-bar",l=x()((e={},c()(e,a,!0),c()(e,i?a+"-animated":a+"-no-animated",!0),e));return o.a.createElement("div",{style:r.inkBar,className:l,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(o.a.Component),ae=ie;ie.propTypes={prefixCls:w.a.string,styles:w.a.object,inkBarAnimated:w.a.bool,saveRef:w.a.func,direction:w.a.string},ie.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),se=n.n(le),ce=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,i=t.prefixCls,a=t.tabBarGutter,s=t.saveRef,u=t.tabBarPosition,f=t.renderTabBarNode,p=t.direction,d=[];return o.a.Children.forEach(n,(function(t,m){if(t){var h=t.key,y=r===h?i+"-tab-active":"";y+=" "+i+"-tab";var v={};t.props.disabled?y+=" "+i+"-tab-disabled":v={onClick:e.props.onTabClick.bind(e,h)};var b={};r===h&&(b.ref=s("activeTab"));var g=a&&m===n.length-1?0:a,O="rtl"===p?"marginLeft":"marginRight",w=c()({},I(u)?"marginBottom":O,g);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var E=o.a.createElement("div",l()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},v,{className:y,key:h,style:w},b),t.props.tab);f&&(E=f(E)),d.push(E)}})),o.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(o.a.Component),ue=ce;ce.propTypes={activeKey:w.a.string,panels:w.a.node,prefixCls:w.a.string,tabBarGutter:w.a.number,onTabClick:w.a.func,saveRef:w.a.func,renderTabBarNode:w.a.func,tabBarPosition:w.a.string,direction:w.a.string},ce.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var fe=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,i=e.className,a=e.extraContent,s=e.style,u=e.tabBarPosition,p=e.children,d=f()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),m=x()(t+"-bar",c()({},i,!!i)),h="top"===u||"bottom"===u,y=h?{float:"right"}:{},v=a&&a.props?a.props.style:{},b=p;return a&&(b=[Object(r.cloneElement)(a,{key:"extra",style:l()({},y,v)}),Object(r.cloneElement)(p,{key:"content"})],b=h?b:b.reverse()),o.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},R(d)),b)}}]),t}(o.a.Component),pe=fe;fe.propTypes={prefixCls:w.a.string,className:w.a.string,style:w.a.object,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),children:w.a.node,extraContent:w.a.node,onKeyDown:w.a.func,saveRef:w.a.func},fe.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var de=n("sEfC"),me=n.n(de),he=n("bdgK"),ye=function(e){function t(e){d()(this,t);var n=v()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var o=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),o){var i=n.getScrollWH(t),a=n.getOffsetWH(r),l=n.offset,s=n.getOffsetLT(r),c=n.getOffsetLT(t);s>c?(l+=s-c,n.setOffset(l)):s+a<c+i&&(l-=c+i-(s+a),n.setOffset(l))}}},n.prev=function(e){n.props.onPrevClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),o=n.offset;n.setOffset(o+r)},n.next=function(e){n.props.onNextClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),o=n.offset;n.setOffset(o-r)},n.offset=0,n.state={next:!1,prev:!1},n}return g()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),this.debouncedResize=me()((function(){e.setNextPrev(),e.scrollToActiveTab()}),200),this.resizeObserver=new he.default(this.debouncedResize),this.resizeObserver.observe(this.props.getRef("container"))}},{key:"componentDidUpdate",value:function(e){var t=this.props;if(e&&e.tabBarPosition!==t.tabBarPosition)this.setOffset(0);else{var n=this.setNextPrev();this.isNextPrevShown(this.state)!==this.isNextPrevShown(n)?this.setState({},this.scrollToActiveTab):e&&t.activeKey===e.activeKey||this.scrollToActiveTab()}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()}},{key:"setNextPrev",value:function(){var e=this.props.getRef("nav"),t=this.props.getRef("navTabsContainer"),n=this.getScrollWH(t||e),r=this.getOffsetWH(this.props.getRef("container"))+1,o=this.getOffsetWH(this.props.getRef("navWrap")),i=this.offset,a=r-n,l=this.state,s=l.next,c=l.prev;if(a>=0)s=!1,this.setOffset(0,!1),i=0;else if(a<i)s=!0;else{s=!1;var u=o-n;this.setOffset(u,!1),i=u}return c=i<0,this.setNext(s),this.setPrev(c),{next:s,prev:c}}},{key:"getOffsetWH",value:function(e){var t=this.props.tabBarPosition,n="offsetWidth";return"left"!==t&&"right"!==t||(n="offsetHeight"),e[n]}},{key:"getScrollWH",value:function(e){var t=this.props.tabBarPosition,n="scrollWidth";return"left"!==t&&"right"!==t||(n="scrollHeight"),e[n]}},{key:"getOffsetLT",value:function(e){var t=this.props.tabBarPosition,n="left";return"left"!==t&&"right"!==t||(n="top"),e.getBoundingClientRect()[n]}},{key:"setOffset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},o=this.props.tabBarPosition,i=this.props.getRef("nav").style,a=F(i);"left"===o||"right"===o?r=a?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:a?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},a?D(i,r.value):i[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,i=this.state,a=i.next,l=i.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||a,y=o.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:x()((e={},c()(e,u+"-tab-prev",1),c()(e,u+"-tab-btn-disabled",!l),c()(e,u+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||o.a.createElement("span",{className:u+"-tab-prev-icon"})),v=o.a.createElement("span",{onClick:a?this.next:null,unselectable:"unselectable",className:x()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!a),c()(t,u+"-tab-arrow-show",h),t))},m||o.a.createElement("span",{className:u+"-tab-next-icon"})),b=u+"-nav",g=x()((n={},c()(n,b,!0),c()(n,f?b+"-animated":b+"-no-animated",!0),n));return o.a.createElement("div",{className:x()((r={},c()(r,u+"-nav-container",1),c()(r,u+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},y,v,o.a.createElement("div",{className:u+"-nav-wrap",ref:this.props.saveRef("navWrap")},o.a.createElement("div",{className:u+"-nav-scroll"},o.a.createElement("div",{className:g,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(o.a.Component),ve=ye;ye.propTypes={activeKey:w.a.string,getRef:w.a.func.isRequired,saveRef:w.a.func.isRequired,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),prefixCls:w.a.string,scrollAnimated:w.a.bool,onPrevClick:w.a.func,onNextClick:w.a.func,navWrapper:w.a.func,children:w.a.node,prevIcon:w.a.node,nextIcon:w.a.node,direction:w.a.node},ye.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var be=function(e){function t(){var e,n,r,o;d()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=r=v()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.getRef=function(e){return r[e]},r.saveRef=function(e){return function(t){t&&(r[e]=t)}},o=n,v()(r,o)}return g()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(o.a.Component),ge=be;be.propTypes={children:w.a.func},be.defaultProps={children:function(){return null}};var Oe=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return o.a.createElement(ge,null,(function(e,r){return o.a.createElement(pe,l()({saveRef:e},n),o.a.createElement(ve,l()({saveRef:e,getRef:r},n),o.a.createElement(ue,l()({saveRef:e,renderTabBarNode:t},n)),o.a.createElement(ae,l()({saveRef:e,getRef:r},n))))}))}}]),t}(o.a.Component),we=Oe;Oe.propTypes={children:w.a.func};var Ee=n("CtXQ");function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _e(e){return(_e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(e,t){return(Pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var o=Te(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ne(this,n)}}function Ne(e,t){return!t||"object"!==_e(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Me=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pe(e,t)}(a,e);var t,n,o,i=ke(a);function a(){return je(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t,n=this.props,o=n.tabBarStyle,i=n.animated,a=n.renderTabBar,l=n.tabBarExtraContent,s=n.tabPosition,c=n.prefixCls,u=n.className,f=n.size,p=n.type,d="object"===_e(i)?i.inkBar:i,m="left"===s||"right"===s,h=m?"up":"left",y=m?"down":"right",v=r.createElement("span",{className:"".concat(c,"-tab-prev-icon")},r.createElement(Ee.default,{type:h,className:"".concat(c,"-tab-prev-icon-target")})),b=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(Ee.default,{type:y,className:"".concat(c,"-tab-next-icon-target")})),g=x()("".concat(c,"-").concat(s,"-bar"),(Se(e={},"".concat(c,"-").concat(f,"-bar"),!!f),Se(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),O=xe(xe({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:o,prevIcon:v,nextIcon:b,className:g});return t=a?a(O,we):r.createElement(we,O),r.cloneElement(t)}}])&&Ce(t.prototype,n),o&&Ce(t,o),a}(r.Component);Me.defaultProps={animated:!0,type:"line"};var De=n("H84U"),Fe=n("6CfX"),Ie=n("R3zJ");function Ae(){return(Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ue(e,t){return(Ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ze(e);if(t){var o=ze(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qe(this,n)}}function qe(e,t){return!t||"object"!==Le(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var We=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},He=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ue(e,t)}(l,e);var t,n,o,a=Be(l);function l(){var e;return Ke(this,l),(e=a.apply(this,arguments)).removeTab=function(t,n){if(n.stopPropagation(),t){var r=e.props.onEdit;r&&r(t,"remove")}},e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e.createNewTab=function(t){var n=e.props.onEdit;n&&n(t,"add")},e.renderTabs=function(t){var n,o=t.getPrefixCls,i=e.props,a=i.prefixCls,l=i.className,s=void 0===l?"":l,c=i.size,u=i.type,f=void 0===u?"line":u,p=i.tabPosition,d=i.children,m=i.animated,h=void 0===m||m,y=i.hideAdd,v=e.props.tabBarExtraContent,b="object"===Le(h)?h.tabPane:h;"line"!==f&&(b="animated"in e.props&&b),Object(Fe.a)(!(f.indexOf("card")>=0&&("small"===c||"large"===c)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var g=o("tabs",a),O=x()(s,(Re(n={},"".concat(g,"-vertical"),"left"===p||"right"===p),Re(n,"".concat(g,"-").concat(c),!!c),Re(n,"".concat(g,"-card"),f.indexOf("card")>=0),Re(n,"".concat(g,"-").concat(f),!0),Re(n,"".concat(g,"-no-animation"),!b),n)),w=[];"editable-card"===f&&(w=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var o=t.props.closable,i=(o=void 0===o||o)?r.createElement(Ee.default,{type:"close",className:"".concat(g,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;w.push(r.cloneElement(t,{tab:r.createElement("div",{className:o?void 0:"".concat(g,"-tab-unclosable")},t.props.tab,i),key:t.key||n}))})),y||(v=r.createElement("span",null,r.createElement(Ee.default,{type:"plus",className:"".concat(g,"-new-tab"),onClick:e.createNewTab}),v))),v=v?r.createElement("div",{className:"".concat(g,"-extra-content")},v):null;var E=We(e.props,[]),S=x()("".concat(g,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(g,"-card-content"));return r.createElement(ne,Ae({},e.props,{prefixCls:g,className:O,tabBarPosition:p,renderTabBar:function(){return r.createElement(Me,Ae({},Object(re.a)(E,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:S,animated:b,animatedWithMargin:!0})},onChange:e.handleChange}),w.length>0?w:d)},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=i.findDOMNode(this);e&&!Ie.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(De.a,null,this.renderTabs)}}])&&Ve(t.prototype,n),o&&Ve(t,o),l}(r.Component);He.TabPane=Q,He.defaultProps={hideAdd:!1,tabPosition:"top"}},ZWtO:function(e,t,n){var r=n("4uTw"),o=n("9Nap");e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("3S7+")),o=u(n("CFYs")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ"),n("D8SU");var a=n("q1tI"),l=u(a),s=n("PhNK"),c=n("spEH");function u(e){return e&&e.__esModule?e:{default:e}}n("js5m"),n("VPG4"),t.default=function(e){var t=e.data,n=e.history,u=e.owner,f=e.projectsId,p=e.parentsSha,d=(0,a.useState)(t&&t.files),m=i(d,2),h=m[0],y=m[1],v=(0,a.useState)("复制文件路径"),b=i(v,2),g=b[0],O=b[1],w=(0,a.useState)(!1),E=i(w,2),x=E[0],S=E[1];function _(e,t,n){if(!n){var r=h.concat();r[t].flag=!e,r.splice(),y(r)}}(0,a.useEffect)((function(){t&&y(t.files)}),[t]);var j=l.default.createElement("div",{className:"folders"},l.default.createElement("div",{className:"folderList"},h&&h.map((function(e,t){return l.default.createElement("a",{href:"#value"+t},l.default.createElement(c.FlexAJ,{className:"filesInfo",key:t,onClick:function(){e.flag&&_(e.flag,t,e.isBin),S(!1)}},l.default.createElement(c.AlignCenter,null,l.default.createElement("i",{className:"iconfont icon-wenjianicon mr4"}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name},e.name)),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0&&":")+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(o.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),e.addition>0&&l.default.createElement("span",{className:"color-green ml10"},"+",e.addition),e.deletion>0&&l.default.createElement("span",{className:"color-red ml10"},"-",e.deletion)))))}))));return l.default.createElement("div",null,l.default.createElement(c.AlignCenter,{className:"color-grey-9",style:{position:"relative"}},l.default.createElement("div",{onClick:function(){S(!x)}},l.default.createElement("i",{className:"iconfont mr5 "+(x?"font-18 icon-sanjiaoxing-down":"font-16 icon-triangle")}),l.default.createElement("span",{className:"color-grey-6 update-file-count"},"共有",l.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件 "),"被更改,包括",t&&t.total_addition?l.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?l.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),x&&j),h&&h.length>0&&l.default.createElement("div",{className:"fileList"},h.map((function(e,t){return l.default.createElement("div",{className:"files",key:t},l.default.createElement("a",{id:"value"+t,className:"anchorPoint"}),l.default.createElement(c.FlexAJ,{className:"filesInfo"},l.default.createElement(c.AlignCenter,null,e.isBin?"":l.default.createElement("i",{className:e.flag?"iconfont icon-triangle font-15 color-grey-9":"iconfont icon-sanjiaoxing-down color-grey-9 mt4",onClick:function(){return _(e.flag,t,e.isBin)}}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name,onClick:function(){return _(e.flag,t,e.isBin)}},e.name),l.default.createElement(r.default,{title:g,onVisibleChange:function(){return O("复制文件路径")}},l.default.createElement("i",{className:"iconfont icon-fuzhiicon ml6",onClick:function(){return t=e.name,(n=document.createElement("input")).defaultValue=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="copyCont",n.style.display="none",void O("复制成功");var t,n}}))),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0&&":")+" "+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(o.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),l.default.createElement("span",{className:"ml10"},e.addition+e.deletion,"处")),!e.isSubmodule&&l.default.createElement("span",{className:"see-file-btn",onClick:function(){n.push("/"+u+"/"+f+(e.isDeleted?"/commits/"+(0,s.truncateCommitId)(p):"/tree/"+(0,s.truncateCommitId)(e.sha)+"/"+e.name))}},"查看文件"))),e.sections&&e.sections.length>=1&&!e.flag&&l.default.createElement("div",{className:"filesContent"},e.sections.map((function(e,t){return e.lines&&e.lines.length>0&&e.lines.map((function(e,n){return l.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},l.default.createElement("span",{className:"lines"},l.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),l.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),l.default.createElement("p",null,e.content))}))}))))}))))}},adU4:function(e,t,n){var r=n("y1pI"),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),o=c(r);n("vg9a");var i=n("ud8/"),a=c(i);n("SJMd");var l=c(n("wMS7")),s=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,p=void 0===f?{}:f,d=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,a.default)(m),t=(0,i.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,i.getTocContent)()),(0,i.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],o=r.type,i=r.expression;return(0,s.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(i)||"",{displayMode:"block"===o,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,i.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(d&&d.hash&&h){var e=d.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[d,h]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(y.current&&h&&h.match(u)&&window.PR.prettyPrint(),y.current)return y.current.addEventListener("click",v),function(){y.current.removeEventListener("click",v),(0,i.resetMathExpressions)(),(0,i.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=e.type,s=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,l)&&!e.required)return n();i.default.required(e,t,r,s,o,l),(0,a.isEmptyValue)(t,l)||i.default.type(e,t,r,s,o)}n(s)}},cwxS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"array")&&!e.required)return n();i.default.required(e,t,r,l,o,"array"),(0,a.isEmptyValue)(t,"array")||(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("VXEj")),o=w(n("NJEC")),i=w(n("2/Rp")),a=w(n("NUBc")),l=w(n("ZTPi")),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV"),n("AUBz");var u=n("q1tI"),f=w(u),p=n("eO8H"),d=w(n("vDqi")),m=w(n("AySf")),h=w(n("bIax")),y=n("sYIF"),v=w(n("LZ3y")),b=w(n("p7gc")),g=w(n("bjH3")),O=w(n("oYoh"));function w(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var E=l.default.TabPane,x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getjournalslist()},n.addjournals=function(){var e=n.state,t=e.content,r=e.reply_content;n.setState({journal_spin:!0}),t||r?n.props.form.validateFieldsAndScroll((function(e,o){if(e)n.setState({journal_spin:!1});else{var i=n.state,a=i.page,l=i.limit,c=i.fileList,u=i.orderId,f=i.reply_id,p=i.is_reply,m="/issues/"+u+"/journals.json";d.default.post(m,s({},o,{content:p?r:t,issue_id:u,attachment_ids:c,parent_id:f})).then((function(e){e&&0===e.data.status&&(n.props.form.setFieldsValue({content:"",reply_content:void 0}),n.state.new_journal_id=e.data.id,n.getjournalslist(a,l),n.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1})),n.setState({journal_spin:!1}),e&&411!==e.data.status&&n.props.showNotification(e.data.message)})).catch((function(e){n.setState({journal_spin:!1}),console.log(e)}))}})):n.setState({journal_spin:!1})},n.add_reply=function(e){!1!==n.props.checkIfLogin()?n.setState({is_reply:!0,success_journal:!1,reply_id:e}):n.props.showLoginDialog()},n.cancel_reply=function(){n.setState({is_reply:!1,reply_id:void 0,success_journal:!1,reply_content:void 0})},n.getjournalslist=function(e,t){var r=n.state.orderId,o="/issues/"+r+"/journals.json",i=r;d.default.get(o,{params:{id:i,page:e,limit:t}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1,fileList:void 0})})).catch((function(e){console.log(e)}))},n.UploadFunc=function(e){n.setState({fileList:e,attachment_clean:!0})},n.deleteorder=function(e){var t=n.state,r=t.page,o=t.limit,i=t.orderId,a="/issues/"+i+"/journals/"+e+".json";d.default.delete(a,{data:{issue_id:i,id:e}}).then((function(e){e&&n.getjournalslist(r,o)})).catch((function(e){console.log(e)}))},n.renderJournalList=function(e){return e&&e.length>0?e.map((function(e,t){return f.default.createElement("div",{key:t+1,className:"journal-list-item"},f.default.createElement("span",{className:"fwb mr3"},e.detail,":"),f.default.createElement("span",{className:"mr5 color-grey-9"},e.old_value&&e.old_value.length>0?"更新为":"新增"),f.default.createElement("span",null,e.value&&e.value.length>0?"标记"===e.detail?f.default.createElement("span",{className:"issue-tag-show",style:{background:e.value[0].color}},e.value[0].name):e.value:"无"))})):f.default.createElement("div",null,f.default.createElement("span",null,"没有评论~"))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.onContentChange=function(e){e&&n.setState({content:e,quillFlag:!1})},n.replyContentChange=function(e){e&&n.setState({reply_content:e,quillFlag:!1})},n.onRef=function(e){n.child=e},n.commentCtx=function(e){return f.default.createElement(g.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,o=e.search_count;if(o>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(a.default,{simple:!0,defaultCurrent:t,total:o,pageSize:r,onChange:n.ChangePage}))},n.state={content:void 0,journalsdata:void 0,isedit:void 0,fileList:void 0,limit:10,page:1,journal_spin:!1,edit_spin:!1,attachment_clean:!0,orderId:n.props.order_id,is_reply:!1,reply_id:void 0,reply_content:void 0,new_journal_id:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"loginModal",value:function(){this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,a=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,g=t.journal_spin,w=t.attachment_clean,x=t.is_reply,S=t.reply_id,_=t.reply_content,j=t.orderId,C=t.new_journal_id,P=this.props,k=P.current_user,N=P.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/"+(k&&k.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("/"+(k&&k.image_url)),alt:"",width:"30",height:"30"})),f.default.createElement("div",null,f.default.createElement(b.default,{placeholder:"添加评论...",height:300,mdID:n?"orderdetail-add-descriptions"+n:"orderdetail-add-descriptions",initValue:t?_:u,onChange:t?e.replyContentChange:e.onContentChange}),f.default.createElement("p",{className:"quillFlag"},d&&f.default.createElement("span",{className:""},"请输入评论内容")),f.default.createElement(m.default,{className:"commentStyle",isComplete:w,load:e.UploadFunc,icon:f.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.props.showNotification}),f.default.createElement("p",{className:"clearfix mt20"},f.default.createElement(i.default,{type:"primary",onClick:e.addjournals,loading:g,className:"mr15"},"评论"),f.default.createElement(i.default,{onClick:e.cancel_reply},"取消"))))},M=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link color-black ml10 fwb"},t&&t.user_name)),f.default.createElement("div",{className:"ml40"},t.content?e.commentCtx(t.content):f.default.createElement("div",null,e.renderJournalList(t.journal_details)),t&&t.attachments&&t.attachments.length>0?f.default.createElement(v.default,{attachments:t.attachments,showNotification:e.props.showNotification,canDelete:k&&(k.admin||k.login===t.user_login)}):"",f.default.createElement("div",{className:"grid-item mt5"},f.default.createElement("span",{className:"color-grey-8"},t.created_at),f.default.createElement("span",{className:"text-right"},k&&(k.admin||k.login===t.user_login)?f.default.createElement(o.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(i.default,{type:"link"},f.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):"",f.default.createElement(i.default,{type:"link",className:"ml-10",onClick:function(){return e.add_reply(t.id)}},f.default.createElement("i",{className:"iconfont icon-huifu1 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"回复")))),k&&f.default.createElement("div",null,x&&S&&S===t.id?f.default.createElement("div",{className:"pt20"},T(x,t.id)):""),f.default.createElement(O.default,s({order_id:j,parent_id:t.id,onRef:e.onRef,children_comment_id:C},e.props))))};return f.default.createElement("div",null,N?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},x&&!S?f.default.createElement("div",{className:"pd20"},T(x,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item"},f.default.createElement("img",{className:"radius",src:k&&k.image_url?(0,y.getImageUrl)("/"+k.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(i.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,M(e))}}),this.Paginations()):f.default.createElement("div",{className:"mt20"},f.default.createElement("div",{className:"comment-background"},f.default.createElement(l.default,{defaultActiveKey:"1",className:"custom-comment-tabs"},f.default.createElement(E,{tab:f.default.createElement("span",{className:"ml-3 font-16"},"评论",a>0&&f.default.createElement("span",{className:"search-count-button"},a)),key:"1"},f.default.createElement("div",{className:"mb10"},x&&!S?f.default.createElement("div",{className:"pd20"},T(x,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item mb20"},f.default.createElement("img",{className:"radius",src:k&&k.image_url?(0,y.getImageUrl)("/"+k.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(i.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,M(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=x},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),i=n("rEGp"),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},dt0z:function(e,t,n){var r=n("zoYe");e.exports=function(e){return null==e?"":r(e)}},e4Nc:function(e,t,n){var r=n("fGT3"),o=n("k+1r"),i=n("JHgL"),a=n("pSRY"),l=n("H8j4");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},eUgh:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},ebwN:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Map");e.exports=r},ekgI:function(e,t,n){var r=n("YESw"),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},em44:function(e,t,n){},fGT3:function(e,t,n){var r=n("4kuk"),o=n("Xi7e"),i=n("ebwN");e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},fhzG:function(e,t,n){"use strict";var r=n("q1tI"),o=n("lT4e");if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},hypo:function(e,t,n){var r=n("O0oS");e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),(0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},jB5C:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function l(e){return i(e,!0)}function s(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=l(r),t}var c=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,f="left";var p=void 0;function d(e,t){for(var n=0;n<e.length;n++)t(e[n])}function m(e){return"border-box"===p(e,"boxSizing")}"undefined"!=typeof window&&(p=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(c.test(n)&&!u.test(t)){var r=e.style,o=r[f],i=e.runtimeStyle[f];e.runtimeStyle[f]=e.currentStyle[f],r[f]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[f]=o,e.runtimeStyle[f]=i}return""===n?"auto":n});var h=["margin","border","padding"];function y(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function v(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var l=void 0;l="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(p(e,l))||0}return r}function b(e){return null!=e&&e==e.window}var g={};function O(e,t,n){if(b(e))return"width"===t?g.viewportWidth(e):g.viewportHeight(e);if(9===e.nodeType)return"width"===t?g.docWidth(e):g.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(p(e),m(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=p(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?1:-1);var l=void 0!==o||i,s=o||a;if(-1===n)return l?s-v(e,["border","padding"],r):a;if(l){var c=2===n?-v(e,["border"],r):v(e,["margin"],r);return s+(1===n?0:c)}return a+v(e,h.slice(n),r)}d(["Width","Height"],(function(e){g["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],g["viewport"+e](n))},g["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var w={position:"absolute",visibility:"hidden",display:"block"};function E(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=O.apply(void 0,n):y(e,w,(function(){t=O.apply(void 0,n)})),t}function x(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):p(e,t);for(var i in t)t.hasOwnProperty(i)&&x(e,i,t[i])}d(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);g["outer"+t]=function(t,n){return t&&E(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];g[e]=function(t,r){if(void 0===r)return t&&E(t,e,-1);if(t){p(t);return m(t)&&(r+=v(t,["padding","border"],n)),x(t,e,r)}}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return s(e);!function(e,t){"static"===x(e,"position")&&(e.style.position="relative");var n=s(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(x(e,i))||0,r[i]=o+t[i]-n[i]);x(e,r)}(e,t)},isWindow:b,each:d,css:x,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(b(e)){if(void 0===t)return a(e);window.scrollTo(t,l(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(b(e)){if(void 0===t)return l(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},g)},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),i=v(n("iHzq")),a=v(n("EtQh")),l=v(n("HOVM")),s=v(n("XR+G")),c=v(n("Ejpc")),u=v(n("cwxS")),f=v(n("XZDd")),p=v(n("rjwK")),d=v(n("L2wI")),m=v(n("myOp")),h=v(n("UeuU")),y=v(n("chzT"));function v(e){return e&&e.__esModule?e:{default:e}}t.default={string:r.default,method:o.default,number:i.default,boolean:a.default,regexp:l.default,integer:s.default,float:c.default,array:u.default,object:f.default,enum:p.default,pattern:d.default,date:m.default,url:y.default,hex:y.default,email:y.default,required:h.default}},"jbM+":function(e,t,n){var r=n("R/W3");e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},jpXb:function(e,t,n){var r=n("wZXL");e.exports=new r},js5m:function(e,t,n){},"k+1r":function(e,t,n){var r=n("QkVE");e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kCCV:function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},l1rO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0"));t.default=function(e,t,n,o,i,a){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,a||e.type)||o.push(r.format(i.messages.required,e.fullField))}},l8PK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0"));t.default=function(e,t,n,o,i){var a="number"==typeof e.len,l="number"==typeof e.min,s="number"==typeof e.max,c=t,u=null,f="number"==typeof t,p="string"==typeof t,d=Array.isArray(t);if(f?u="number":p?u="string":d&&(u="array"),!u)return!1;d&&(c=t.length),p&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?c!==e.len&&o.push(r.format(i.messages[u].len,e.fullField,e.len)):l&&!s&&c<e.min?o.push(r.format(i.messages[u].min,e.fullField,e.min)):s&&!l&&c>e.max?o.push(r.format(i.messages[u].max,e.fullField,e.max)):l&&s&&(c<e.min||c>e.max)&&o.push(r.format(i.messages[u].range,e.fullField,e.min,e.max))}},lCnp:function(e,t,n){"use strict";var r=n("YEIV"),o=n.n(r),i=n("QbLZ"),a=n.n(i),l=n("iCc5"),s=n.n(l),c=n("V7oC"),u=n.n(c),f=n("FYw3"),p=n.n(f),d=n("mRg0"),m=n.n(d),h=n("q1tI"),y=n.n(h),v=n("17x9"),b=n.n(v),g=n("VCL8"),O=n("m+aA"),w=n("TSYQ"),E=n.n(w),x=n("xEkU"),S=n.n(x),_=!("undefined"==typeof window||!window.document||!window.document.createElement);function j(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}var C,P,k,N=(C=_,P="undefined"!=typeof window?window:{},k={animationend:j("Animation","AnimationEnd"),transitionend:j("Transition","TransitionEnd")},C&&("AnimationEvent"in P||delete k.animationend.animation,"TransitionEvent"in P||delete k.transitionend.transition),k),T={};_&&(T=document.createElement("div").style);var M={};function D(e){if(M[e])return M[e];var t=N[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in T)return M[e]=t[i],M[e]}return""}var F=D("animationend"),I=D("transitionend"),A=!(!F||!I);function R(e,t){return e?"object"==typeof e?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:e+"-"+t:null}var L={eventProps:b.a.object,visible:b.a.bool,children:b.a.func,motionName:b.a.oneOfType([b.a.string,b.a.object]),motionAppear:b.a.bool,motionEnter:b.a.bool,motionLeave:b.a.bool,motionLeaveImmediately:b.a.bool,motionDeadline:b.a.number,removeOnLeave:b.a.bool,leavedClassName:b.a.string,onAppearStart:b.a.func,onAppearActive:b.a.func,onAppearEnd:b.a.func,onEnterStart:b.a.func,onEnterActive:b.a.func,onEnterEnd:b.a.func,onLeaveStart:b.a.func,onLeaveActive:b.a.func,onLeaveEnd:b.a.func};t.a=function(e){var t=e,n=!!y.a.forwardRef;function r(e){return!(!e.motionName||!t)}"object"==typeof e&&(t=e.transitionSupport,n="forwardRef"in e?e.forwardRef:n);var i=function(e){function t(){s()(this,t);var e=p()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.onDomUpdate=function(){var t=e.state,n=t.status,o=t.newStatus,i=e.props,a=i.onAppearStart,l=i.onEnterStart,s=i.onLeaveStart,c=i.onAppearActive,u=i.onEnterActive,f=i.onLeaveActive,p=i.motionAppear,d=i.motionEnter,m=i.motionLeave;if(r(e.props)){var h=e.getElement();e.$cacheEle!==h&&(e.removeEventListener(e.$cacheEle),e.addEventListener(h),e.$cacheEle=h),o&&"appear"===n&&p?e.updateStatus(a,null,null,(function(){e.updateActiveStatus(c,"appear")})):o&&"enter"===n&&d?e.updateStatus(l,null,null,(function(){e.updateActiveStatus(u,"enter")})):o&&"leave"===n&&m&&e.updateStatus(s,null,null,(function(){e.updateActiveStatus(f,"leave")}))}},e.onMotionEnd=function(t){var n=e.state,r=n.status,o=n.statusActive,i=e.props,a=i.onAppearEnd,l=i.onEnterEnd,s=i.onLeaveEnd;"appear"===r&&o?e.updateStatus(a,{status:"none"},t):"enter"===r&&o?e.updateStatus(l,{status:"none"},t):"leave"===r&&o&&e.updateStatus(s,{status:"none"},t)},e.setNodeRef=function(t){var n=e.props.internalRef;e.node=t,"function"==typeof n?n(t):n&&"current"in n&&(n.current=t)},e.getElement=function(){try{return Object(O.a)(e.node||e)}catch(t){return e.$cacheEle}},e.addEventListener=function(t){t&&(t.addEventListener(I,e.onMotionEnd),t.addEventListener(F,e.onMotionEnd))},e.removeEventListener=function(t){t&&(t.removeEventListener(I,e.onMotionEnd),t.removeEventListener(F,e.onMotionEnd))},e.updateStatus=function(t,n,r,o){var i=t?t(e.getElement(),r):null;if(!1!==i&&!e._destroyed){var l=void 0;o&&(l=function(){e.nextFrame(o)}),e.setState(a()({statusStyle:"object"==typeof i?i:null,newStatus:!1},n),l)}},e.updateActiveStatus=function(t,n){e.nextFrame((function(){if(e.state.status===n){var r=e.props.motionDeadline;e.updateStatus(t,{statusActive:!0}),r>0&&setTimeout((function(){e.onMotionEnd({deadline:!0})}),r)}}))},e.nextFrame=function(t){e.cancelNextFrame(),e.raf=S()(t)},e.cancelNextFrame=function(){e.raf&&(S.a.cancel(e.raf),e.raf=null)},e.state={status:"none",statusActive:!1,newStatus:!1,statusStyle:null},e.$cacheEle=null,e.node=null,e.raf=null,e}return m()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this._destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame()}},{key:"render",value:function(){var e,t=this.state,n=t.status,i=t.statusActive,l=t.statusStyle,s=this.props,c=s.children,u=s.motionName,f=s.visible,p=s.removeOnLeave,d=s.leavedClassName,m=s.eventProps;return c?"none"!==n&&r(this.props)?c(a()({},m,{className:E()((e={},o()(e,R(u,n),"none"!==n),o()(e,R(u,n+"-active"),"none"!==n&&i),o()(e,u,"string"==typeof u),e)),style:l}),this.setNodeRef):f?c(a()({},m),this.setNodeRef):p?null:c(a()({},m,{className:d}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.status;if(!r(e))return{};var i=e.visible,a=e.motionAppear,l=e.motionEnter,s=e.motionLeave,c=e.motionLeaveImmediately,u={prevProps:e};return("appear"===o&&!a||"enter"===o&&!l||"leave"===o&&!s)&&(u.status="none",u.statusActive=!1,u.newStatus=!1),!n&&i&&a&&(u.status="appear",u.statusActive=!1,u.newStatus=!0),n&&!n.visible&&i&&l&&(u.status="enter",u.statusActive=!1,u.newStatus=!0),(n&&n.visible&&!i&&s||!n&&c&&!i&&s)&&(u.status="leave",u.statusActive=!1,u.newStatus=!0),u}}]),t}(y.a.Component);return i.propTypes=a()({},L,{internalRef:b.a.oneOfType([b.a.object,b.a.func])}),i.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},Object(g.polyfill)(i),n?y.a.forwardRef((function(e,t){return y.a.createElement(i,a()({internalRef:t},e))})):i}(A)},lSCD:function(e,t,n){var r=n("NykK"),o=n("GoyQ");e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),i=n("2NuI");e.exports=function(e,t,n){var a=[],l={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},s={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)f(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=d(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(i(!(n in c),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){var o=s.hasOwnProperty(n)?s[n]:null;return i("DEFINE_MANY_MERGED"===o,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=d(e[n],r))}e[n]=r}}}(e,t)},autobind:function(){}};function u(e,t){var n=l.hasOwnProperty(t)?l[t]:null;b.hasOwnProperty(t)&&i("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function f(e,n){if(n){i("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,o=r.__reactAutoBindPairs;for(var a in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&"mixins"!==a){var s=n[a],f=r.hasOwnProperty(a);if(u(f,a),c.hasOwnProperty(a))c[a](e,s);else{var p=l.hasOwnProperty(a);if("function"==typeof s&&!p&&!f&&!1!==n.autobind)o.push(a,s),r[a]=s;else if(f){var h=l[a];i(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,a),"DEFINE_MANY_MERGED"===h?r[a]=d(r[a],s):"DEFINE_MANY"===h&&(r[a]=m(r[a],s))}else r[a]=s}}}else;}function p(e,t){for(var n in i(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(i(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function d(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return p(o,n),p(o,r),o}}function m(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){return t.bind(e)}var y={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},b={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},g=function(){};return r(g.prototype,e.prototype,b),function(e){var t=function(e,r,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=h(e,o)}}(this),this.props=e,this.context=r,this.refs=o,this.updater=a||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;i("object"==typeof l&&!Array.isArray(l),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=l};for(var r in t.prototype=new g,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(f.bind(null,t)),f(t,y),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),i(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},ljhN:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},luuN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e){var t=e,n=[];return{setState:function(e){t=r({},t,e);for(var o=0;o<n.length;o++)n[o]()},getState:function(){return t},subscribe:function(e){return n.push(e),function(){var t=n.indexOf(e);n.splice(t,1)}}}}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},"m+aA":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("i8i4"),o=n.n(r);function i(e){return e instanceof HTMLElement?e:o.a.findDOMNode(e)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},moXY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0"));t.default=function(e,t,n,o,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),i=n.n(o),a=n("BGR+"),l=n("VCL8"),s=n("CtXQ"),c=n("H84U");function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,o,a=y(l);function l(){var e;return d(this,l),(e=a.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,r=t.onChange;r&&r(!n)},e.renderCheckableTag=function(t){var n,o=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.className,c=a.checked,u=g(a,["prefixCls","className","checked"]),d=o("tag",l),m=i()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,r.createElement("span",f({},u,{className:m,onClick:e.handleClick}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(t.prototype,n),o&&m(t,o),l}(r.Component),w=n("09Wf"),E=n("6CfX"),x=n("g0mS");function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=T(e);if(t){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return N(this,n)}}function N(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},D=new RegExp("^(".concat(w.a.join("|"),")(-inverse)?$")),F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}(u,e);var t,n,o,l=k(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,o=n.children,i=M(n,["children"]),l="onClick"in i||o&&"a"===o.type,s=Object(a.a)(i,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(x.a,null,r.createElement("span",j({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",j({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())},Object(E.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return t=u,o=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(n=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return j({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,a=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return i()(u,(_(t={},"".concat(u,"-").concat(l),c),_(t,"".concat(u,"-has-color"),l&&!c),_(t,"".concat(u,"-hidden"),!s),t),a)}},{key:"setVisible",value:function(e,t){var n=this.props,r=n.onClose,o=n.afterClose;r&&r(t),o&&!r&&o(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&D.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderTag)}}])&&C(t.prototype,n),o&&C(t,o),u}(r.Component);F.CheckableTag=O,F.defaultProps={closable:!1},Object(l.polyfill)(F);t.default=F},mwIZ:function(e,t,n){var r=n("ZWtO");e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();if(i.default.required(e,t,r,l,o),!(0,a.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,i.default.type(e,s,r,l,o),s&&i.default.range(e,s.getTime(),r,l,o)}}n(l)}},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"==typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",l=o["request"+a],s=o["cancel"+a]||o["cancelRequest"+a],c=0;!l&&c<i.length;c++)l=o[i[c]+"Request"+a],s=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(o,e)},e.exports.cancel=function(){s.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},n5Yh:function(e,t,n){},nEr6:function(e,t,n){"use strict";function r(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}Object.defineProperty(t,"__esModule",{value:!0}),t.newMessages=r;t.messages=r()},"o/2+":function(e,t,n){"use strict";var r=n("foW8"),o=n.n(r)()({});t.a=o},oEMi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0")),a=n("l1rO"),l=(r=a)&&r.__esModule?r:{default:r};var s={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},c={integer:function(e){return c.number(e)&&parseInt(e,10)===e},float:function(e){return c.number(e)&&!c.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":o(e))&&!c.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(s.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(s.url)},hex:function(e){return"string"==typeof e&&!!e.match(s.hex)}};t.default=function(e,t,n,r,a){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,a);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(i.format(a.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(i.format(a.messages.types[s],e.fullField,e.type))}}},oV5b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n("+kn0"),l=n("jESh"),s=(r=l)&&r.__esModule?r:{default:r},c=n("nEr6");function u(e){this.rules=null,this._messages=c.messages,this.define(e)}u.prototype={messages:function(e){return e&&(this._messages=(0,a.deepMerge)((0,c.newMessages)(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===e?"undefined":i(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},l=e,s=n,f=r;if("function"==typeof s&&(f=s,s={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(),Promise.resolve();function p(e){var t,n,r=void 0,o=[],i={};for(r=0;r<e.length;r++)t=e[r],n=void 0,Array.isArray(t)?o=(n=o).concat.apply(n,t):o.push(t);o.length?i=(0,a.convertFieldsError)(o):(o=null,i=null),f(o,i)}if(s.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,a.deepMerge)(d,s.messages),s.messages=d}else s.messages=this.messages();var m=void 0,h=void 0,y={},v=s.keys||Object.keys(this.rules);v.forEach((function(n){m=t.rules[n],h=l[n],m.forEach((function(r){var i=r;"function"==typeof i.transform&&(l===e&&(l=o({},l)),h=l[n]=i.transform(h)),(i="function"==typeof i?{validator:i}:o({},i)).validator=t.getValidationMethod(i),i.field=n,i.fullField=i.fullField||n,i.type=t.getType(i),i.validator&&(y[n]=y[n]||[],y[n].push({rule:i,value:h,source:l,field:n}))}))}));var b={};return(0,a.asyncMap)(y,s,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==i(n.fields)&&"object"!==i(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=i;if(Array.isArray(c)||(c=[c]),!s.suppressWarning&&c.length&&u.warning("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map((0,a.complementError)(n)),s.first&&c.length)return b[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,a.complementError)(n)):s.error?[s.error(n,(0,a.format)(s.messages.required,n.field))]:[],t(c);var f={};if(n.defaultField)for(var p in e.value)e.value.hasOwnProperty(p)&&(f[p]=n.defaultField);for(var d in f=o({},f,e.rule.fields))if(f.hasOwnProperty(d)){var m=Array.isArray(f[d])?f[d]:[f[d]];f[d]=m.map(l.bind(null,d))}var h=new u(f);h.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),h.validate(e.value,e.rule.options||s,(function(e){var n=[];c&&c.length&&n.push.apply(n,c),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)}))}else t(c)}r=r&&(n.required||!n.required&&e.value),n.field=e.field;var f=void 0;n.asyncValidator?f=n.asyncValidator(n,e.value,c,e.source,s):n.validator&&(!0===(f=n.validator(n,e.value,c,e.source,s))?c():!1===f?c(n.message||n.field+" fails"):f instanceof Array?c(f):f instanceof Error&&c(f.message)),f&&f.then&&f.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){p(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!s.default.hasOwnProperty(e.type))throw new Error((0,a.format)("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?s.default.required:s.default[this.getType(e)]||!1}},u.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");s.default[e]=t},u.warning=a.warning,u.messages=c.messages,t.default=u},oYoh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("VXEj")),o=h(n("NJEC")),i=h(n("2/Rp")),a=h(n("NUBc")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV");var s=n("q1tI"),c=h(s),u=n("eO8H"),f=h(n("vDqi")),p=n("sYIF"),d=h(n("LZ3y")),m=h(n("bjH3"));function h(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getChildrenJournals=function(e,t){var r=n.props,o=r.order_id,i=r.parent_id,a=n.state,l=a.page,s=a.limit,c="/issues/"+(e||o)+"/journals/"+(t||i)+"/get_children_journals.json";f.default.get(c,{params:{page:l,limit:s}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.deleteorder=function(e){var t=n.props.order_id,r="/issues/"+t+"/journals/"+e+".json";f.default.delete(r,{data:{issue_id:t,id:e}}).then((function(e){e&&n.getChildrenJournals()})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.state.page=e,n.state.isSpin=!0,n.getChildrenJournals()},n.commentCtx=function(e){return c.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,o=e.search_count;if(o>r)return c.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},c.default.createElement(a.default,{simple:!0,defaultCurrent:t,total:o,pageSize:r,onChange:n.ChangePage}))},n.renderList=function(e){var t=n.props.current_user;return c.default.createElement("div",{className:"width100"},c.default.createElement("div",{className:"grid-item pb5"},c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link color-black ml10 fwb"},e&&e.user_name)),c.default.createElement("div",{className:"ml40"},n.commentCtx(e.content),e&&e.attachments&&e.attachments.length>0?c.default.createElement(d.default,{attachments:e.attachments,showNotification:n.props.showNotification,canDelete:t&&(t.admin||t.login===e.user_login)}):"",c.default.createElement("div",{className:"mt5"},c.default.createElement("span",{className:"color-grey-8"},e.created_at),c.default.createElement("span",{className:"ml20"},t&&(t.admin||t.login===e.user_login)?c.default.createElement(o.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return n.deleteorder(e.id)}},c.default.createElement(i.default,{type:"link"},c.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),c.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):""))))},n.state={journalsdata:void 0,limit:10,page:1,journal_spin:!1,search_count:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.getChildrenJournals()}},{key:"componentDidUpdate",value:function(e,t){this.props.children_comment_id&&e.children_comment_id!==this.props.children_comment_id&&this.getChildrenJournals()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,o=t.search_count,i=t.isSpin;return c.default.createElement("div",null,o>0&&c.default.createElement("div",{className:"children-comment-bg mt10"},c.default.createElement(r.default,{size:"large",loading:i,dataSource:n.issue_journals,renderItem:function(t){return c.default.createElement(r.default.Item,null,e.renderList(t))}}),this.Paginations()))}}]),t}(s.Component);t.default=y},pSRY:function(e,t,n){var r=n("QkVE");e.exports=function(e){return r(this,e).has(e)}},qPyV:function(e,t,n){var r=n("ut/Y"),o=n("LGYb");e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var r,o=n("q1tI"),i=n("TSYQ"),a=n.n(i),l=n("17x9"),s=n("H84U"),c=n("o/2+"),u=n("CWQg");function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}}),r=n("jpXb")}var d=["xxl","xl","lg","md","sm","xs"],m={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},h=[],y=-1,v={},b={dispatch:function(e){return v=e,!(h.length<1)&&(h.forEach((function(e){e.func(v)})),!0)},subscribe:function(e){0===h.length&&this.register();var t=(++y).toString();return h.push({token:t,func:e}),e(v),t},unsubscribe:function(e){0===(h=h.filter((function(t){return t.token!==e}))).length&&this.unregister()},unregister:function(){Object.keys(m).map((function(e){return r.unregister(m[e])}))},register:function(){var e=this;Object.keys(m).map((function(t){return r.register(m[t],{match:function(){var n=p(p({},v),f({},t,!0));e.dispatch(n)},unmatch:function(){var n=p(p({},v),f({},t,!1));e.dispatch(n)},destroy:function(){}})}))}};function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},k=Object(u.a)("top","middle","bottom","stretch"),N=Object(u.a)("start","end","center","space-around","space-between"),T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(l,e);var t,n,r,i=_(l);function l(){var e;return E(this,l),(e=i.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.type,u=i.justify,f=i.align,p=i.className,d=i.style,m=i.children,h=P(i,["prefixCls","type","justify","align","className","style","children"]),y=r("row",l),v=e.getGutter(),b=a()((w(n={},y,!s),w(n,"".concat(y,"-").concat(s),s),w(n,"".concat(y,"-").concat(s,"-").concat(u),s&&u),w(n,"".concat(y,"-").concat(s,"-").concat(f),s&&f),n),p),g=O(O(O({},v[0]>0?{marginLeft:v[0]/-2,marginRight:v[0]/-2}:{}),v[1]>0?{marginTop:v[1]/-2,marginBottom:v[1]/-2}:{}),d),E=O({},h);return delete E.gutter,o.createElement(c.a.Provider,{value:{gutter:v}},o.createElement("div",O({},E,{className:b,style:g}),m))},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this;this.token=b.subscribe((function(t){var n=e.props.gutter;("object"===g(n)||Array.isArray(n)&&("object"===g(n[0])||"object"===g(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){b.unsubscribe(this.token)}},{key:"getGutter",value:function(){var e=[0,0],t=this.props.gutter,n=this.state.screens;return(Array.isArray(t)?t:[t,0]).forEach((function(t,r){if("object"===g(t))for(var o=0;o<d.length;o++){var i=d[o];if(n[i]&&void 0!==t[i]){e[r]=t[i];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderRow)}}])&&x(t.prototype,n),r&&x(t,r),l}(o.Component);T.defaultProps={gutter:0},T.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(k),justify:l.oneOf(N),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&i.default.type(e,t,r,l,o)}n(l)}},rfXi:function(e,t,n){e.exports={default:n("0tVQ"),__esModule:!0}},rjwK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),t&&i.default.enum(e,t,r,l,o)}n(l)}},shjB:function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GroupProjectBackgroup=t.Content=t.Cancel=t.GreenUnder=t.NumUl=t.Redback=t.Blueback=t.Greenback=t.Greenline=t.Redline=t.Blueline=t.WhiteBack=t.Gap=t.Short=t.ShortWidth=t.Long=t.LongWidth=t.Box=t.AlignAJBottom=t.AlignTop=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var r,o=N(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),i=N(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),a=N(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),l=N(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),s=N(["{\n display:flex;\n align-items: flex-start;\n}"],["{\n display:flex;\n align-items: flex-start;\n}"]),c=N(["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"],["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"]),u=N(["{\n display:flex;\n align-items:flex-start;\n}"],["{\n display:flex;\n align-items:flex-start;\n}"]),f=N(["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"]),p=N(["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),d=N(["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"]),m=N(["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"]),h=N(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),y=N(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),v=N(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),b=N(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),g=N(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),O=N(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),w=N(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),E=N(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),x=N(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),S=N(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),_=N(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),j=N(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),C=N(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),P=n("vOnD"),k=(r=P)&&r.__esModule?r:{default:r};function N(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=k.default.div(o),t.AlignCenterBetween=k.default.div(i),t.FlexAJ=k.default.div(a),t.AlignCenter=k.default.div(l),t.AlignTop=k.default.div(s),t.AlignAJBottom=k.default.div(c),t.Box=k.default.div(u),t.LongWidth=k.default.div(f),t.Long=k.default.div(p),t.ShortWidth=k.default.div(d),t.Short=k.default.div(m),t.Gap=k.default.div(h),t.WhiteBack=k.default.div(y),t.Blueline=k.default.a(v),t.Redline=k.default.a(b,(function(e){return e.bold?"#fff":"#F73030"}),(function(e){return e.bold?"#F73030":"#fff"})),t.Greenline=k.default.a(g,(function(e){return e.bold?"#fff":"#28BD6C"}),(function(e){return e.bold?"#28BD6C":"#fff"})),t.Greenback=k.default.a(O),t.Blueback=k.default.a(w),t.Redback=k.default.a(E),t.NumUl=k.default.ul(x),t.GreenUnder=k.default.a(S),t.Cancel=k.default.a(_),t.Content=k.default.div(j),t.GroupProjectBackgroup=k.default.div(C)},t33a:function(e,t,n){"use strict";e.exports={}},tMB7:function(e,t,n){var r=n("y1pI");e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},u3En:function(e,t,n){},u8Dt:function(e,t,n){var r=n("YESw"),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},"vN+2":function(e,t){e.exports=function(){}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,(function(t){t[e]()}))}},e.exports=i},vg9a:function(e,t,n){},wJg7:function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,o=Object.freeze,i=Object.seal,a=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),o||(o=function(e){return e}),i||(i=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=S(Array.prototype.forEach),f=S(Array.prototype.indexOf),p=S(Array.prototype.join),d=S(Array.prototype.pop),m=S(Array.prototype.push),h=S(Array.prototype.slice),y=S(String.prototype.toLowerCase),v=S(String.prototype.match),b=S(String.prototype.replace),g=S(String.prototype.indexOf),O=S(String.prototype.trim),w=S(RegExp.prototype.test),E=_(RegExp),x=_(TypeError);function S(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return s(e,t,r)}}function _(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function j(e,r){t&&t(e,null);for(var o=r.length;o--;){var i=r[o];if("string"==typeof i){var a=y(i);a!==i&&(n(r)||(r[o]=a),i=a)}e[i]=!0}return e}function C(t){var n=a(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var P=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),k=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),N=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),M=o(["#text"]),D=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),F=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),I=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),A=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),R=i(/\{\{[\s\S]*|[\s\S]*\}\}/gm),L=i(/<%[\s\S]*|[\s\S]*%>/gm),K=i(/^data-[\-\w.\u00B7-\uFFFF]/),V=i(/^aria-[\-\w]+$/),U=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),B=i(/^(?:\w+script|data):/i),q=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function W(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var H=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":z(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var i=t.document,a=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,S=t.Node,_=t.NodeFilter,Y=t.NamedNodeMap,Q=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,Z=t.Text,X=t.Comment,J=t.DOMParser,$=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=G($,i),ne=te&&Ie?te.createHTML(""):"",re=l,oe=re.implementation,ie=re.createNodeIterator,ae=re.getElementsByTagName,le=re.createDocumentFragment,se=i.importNode,ce=C(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var fe=R,pe=L,de=K,me=V,he=B,ye=q,ve=U,be=null,ge=j({},[].concat(W(P),W(k),W(N),W(T),W(M))),Oe=null,we=j({},[].concat(W(D),W(F),W(I),W(A))),Ee=null,xe=null,Se=!0,_e=!0,je=!1,Ce=!1,Pe=!1,ke=!1,Ne=!1,Te=!1,Me=!1,De=!1,Fe=!1,Ie=!1,Ae=!0,Re=!0,Le=!1,Ke={},Ve=j({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ue=null,Be=j({},["audio","video","img","source","image","track"]),qe=null,ze=j({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,He=l.createElement("form"),Ge=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":z(e))||(e={}),e=C(e),be="ALLOWED_TAGS"in e?j({},e.ALLOWED_TAGS):ge,Oe="ALLOWED_ATTR"in e?j({},e.ALLOWED_ATTR):we,qe="ADD_URI_SAFE_ATTR"in e?j(C(ze),e.ADD_URI_SAFE_ATTR):ze,Ue="ADD_DATA_URI_TAGS"in e?j(C(Be),e.ADD_DATA_URI_TAGS):Be,Ee="FORBID_TAGS"in e?j({},e.FORBID_TAGS):{},xe="FORBID_ATTR"in e?j({},e.FORBID_ATTR):{},Ke="USE_PROFILES"in e&&e.USE_PROFILES,Se=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,je=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.SAFE_FOR_JQUERY||!1,Pe=e.SAFE_FOR_TEMPLATES||!1,ke=e.WHOLE_DOCUMENT||!1,Me=e.RETURN_DOM||!1,De=e.RETURN_DOM_FRAGMENT||!1,Fe=e.RETURN_DOM_IMPORT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Ae=!1!==e.SANITIZE_DOM,Re=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,Pe&&(_e=!1),De&&(Me=!0),Ke&&(be=j({},[].concat(W(M))),Oe=[],!0===Ke.html&&(j(be,P),j(Oe,D)),!0===Ke.svg&&(j(be,k),j(Oe,F),j(Oe,A)),!0===Ke.svgFilters&&(j(be,N),j(Oe,F),j(Oe,A)),!0===Ke.mathMl&&(j(be,T),j(Oe,I),j(Oe,A))),e.ADD_TAGS&&(be===ge&&(be=C(be)),j(be,e.ADD_TAGS)),e.ADD_ATTR&&(Oe===we&&(Oe=C(Oe)),j(Oe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&j(qe,e.ADD_URI_SAFE_ATTR),Re&&(be["#text"]=!0),ke&&j(be,["html","head","body"]),be.table&&(j(be,["tbody"]),delete Ee.tbody),o&&o(e),We=e)},Ye=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Qe=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Ze=function(e){var t=void 0,n=void 0;if(Te)e="<remove></remove>"+e;else{var r=v(e,/^[\r\n\t ]+/);n=r&&r[0]}var o=te?te.createHTML(e):e;try{t=(new J).parseFromString(o,"text/html")}catch(e){}if(a&&j(Ee,["title"]),!t||!t.documentElement){var i=(t=oe.createHTMLDocument("")).body;i.parentNode.removeChild(i.parentNode.firstElementChild),i.outerHTML=o}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ae.call(t,ke?"html":"body")[0]};n.isSupported&&function(){try{var e=Ze("<x/><title></title><img>");w(/<\/title/,e.querySelector("title").innerHTML)&&(a=!0)}catch(e){}}();var Xe=function(e){return ie.call(e.ownerDocument||e,e,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT,(function(){return _.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof Z||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Q&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===S?"undefined":z(S))?e instanceof S:e&&"object"===(void 0===e?"undefined":z(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,We)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Je(e))return Ye(e),!0;if(v(e.nodeName,/[\u0080-\uFFFF]/))return Ye(e),!0;var r=y(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:be}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!be[r]||Ee[r]){if(Re&&!Ve[r]&&"function"==typeof e.insertAdjacentHTML)try{var o=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(o):o)}catch(e){}return Ye(e),!0}return"noscript"===r&&w(/<\/noscript/i,e.innerHTML)||"noembed"===r&&w(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ce||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!w(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=b(e.innerHTML,/</g,"<"):e.innerHTML=b(e.textContent,/</g,"<")),Pe&&3===e.nodeType&&(t=e.textContent,t=b(t,fe," "),t=b(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(Ae&&("id"===t||"name"===t)&&(n in l||n in He))return!1;if(_e&&w(de,t));else if(Se&&w(me,t));else{if(!Oe[t]||xe[t])return!1;if(qe[t]);else if(w(ve,b(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==g(n,"data:")||!Ue[e])if(je&&!w(he,b(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,i=void 0,a=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Oe};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(o=O(t.value),i=y(m),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===i&&"IMG"===e.nodeName&&s.id)a=s.id,s=h(s,[]),Qe("id",e),Qe(m,e),f(s,a)>l&&e.setAttribute("id",a.value);else{if("INPUT"===e.nodeName&&"type"===i&&"file"===o&&c.keepAttr&&(Oe[i]||!xe[i]))continue;"id"===m&&e.setAttribute(m,""),Qe(m,e)}if(c.keepAttr)if(Ce&&w(/\/>/i,o))Qe(m,e);else if(w(/svg|math/i,e.namespaceURI)&&w(E("</("+p(r(Ve),"|")+")","i"),o))Qe(m,e);else{Pe&&(o=b(o,fe," "),o=b(o,pe," "));var g=e.nodeName.toLowerCase();if(nt(g,i,o))try{v?e.setAttributeNS(v,m,o):e.setAttribute(m,o),d(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},ot=function e(t){var n=void 0,r=Xe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var o=void 0,a=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!$e(e)){if("function"!=typeof e.toString)throw x("toString is not a function");if("string"!=typeof(e=e.toString()))throw x("dirty is not a string, aborting")}if(!n.isSupported){if("object"===z(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if($e(e))return t.toStaticHTML(e.outerHTML)}return e}if(Ne||Ge(r),n.removed=[],"string"==typeof e&&(Le=!1),Le);else if(e instanceof S)1===(a=(o=Ze("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a);else{if(!Me&&!Pe&&!ke&&-1===e.indexOf("<"))return te&&Ie?te.createHTML(e):e;if(!(o=Ze(e)))return Me?null:ne}o&&Te&&Ye(o.firstChild);for(var f=Xe(Le?e:o);l=f.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&ot(l.content),rt(l),c=l);if(c=null,Le)return e;if(Me){if(De)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Fe&&(u=se.call(i,u,!0)),u}var p=ke?o.outerHTML:o.innerHTML;return Pe&&(p=b(p,fe," "),p=b(p,pe," ")),te&&Ie?te.createHTML(p):p},n.setConfig=function(e){Ge(e),Ne=!0},n.clearConfig=function(){We=null,Ne=!1},n.isValidAttribute=function(e,t,n){We||Ge({});var r=y(e),o=y(t);return nt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&d(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()},wZXL:function(e,t,n){var r=n("vPd/"),o=n("IX3V"),i=o.each,a=o.isFunction,l=o.isArray;function s(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}s.prototype={constructor:s,register:function(e,t,n){var o=this.queries,s=n&&this.browserIsIncapable;return o[e]||(o[e]=new r(e,s)),a(t)&&(t={match:t}),l(t)||(t=[t]),i(t,(function(t){a(t)&&(t={match:t}),o[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=s},xEkU:function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"==typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",l=o["request"+a],s=o["cancel"+a]||o["cancelRequest"+a],c=0;!l&&c<i.length;c++)l=o[i[c]+"Request"+a],s=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(o,e)},e.exports.cancel=function(){s.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},xI0J:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.connect=t.Provider=void 0;var r=a(n("Z4ex")),o=a(n("V/6I")),i=a(n("luuN"));function a(e){return e&&e.__esModule?e:{default:e}}t.Provider=r.default,t.connect=o.default,t.create=i.default},y1pI:function(e,t,n){var r=n("ljhN");e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"string")&&!e.required)return n();i.default.required(e,t,r,l,o,"string"),(0,a.isEmptyValue)(t,"string")||(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o),i.default.pattern(e,t,r,l,o),!0===e.whitespace&&i.default.whitespace(e,t,r,l,o))}n(l)}},zoYe:function(e,t,n){var r=n("nmnc"),o=n("eUgh"),i=n("Z0cm"),a=n("/9aa"),l=r?r.prototype:void 0,s=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},zt9T:function(e,t,n){"use strict";var r=n("jB5C");e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,l=n.alignWithLeft,s=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,f=n.offsetRight||0;o=void 0===o||o;var p=r.isWindow(t),d=r.offset(e),m=r.outerHeight(e),h=r.outerWidth(e),y=void 0,v=void 0,b=void 0,g=void 0,O=void 0,w=void 0,E=void 0,x=void 0,S=void 0,_=void 0;p?(E=t,_=r.height(E),S=r.width(E),x={left:r.scrollLeft(E),top:r.scrollTop(E)},O={left:d.left-x.left-c,top:d.top-x.top-s},w={left:d.left+h-(x.left+S)+f,top:d.top+m-(x.top+_)+u},g=x):(y=r.offset(t),v=t.clientHeight,b=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},O={left:d.left-(y.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-c,top:d.top-(y.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-s},w={left:d.left+h-(y.left+b+(parseFloat(r.css(t,"borderRightWidth"))||0))+f,top:d.top+m-(y.top+v+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),O.top<0||w.top>0?!0===a?r.scrollTop(t,g.top+O.top):!1===a?r.scrollTop(t,g.top+w.top):O.top<0?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+w.top):i||((a=void 0===a||!!a)?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+w.top)),o&&(O.left<0||w.left>0?!0===l?r.scrollLeft(t,g.left+O.left):!1===l?r.scrollLeft(t,g.left+w.left):O.left<0?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+w.left):i||((l=void 0===l||!!l)?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+w.left)))}}}]); \ No newline at end of file +/*! For license information please see 28.ffd0fc63.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[28,4,5,9,11,23,33,132],{"+6XX":function(e,t,n){var r=n("y1pI");e.exports=function(e){return r(this.__data__,e)>-1}},"+B/L":function(e,t,n){},"+KLJ":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return E}));var r=n("q1tI"),o=n("i8i4"),i=n("MFj2"),a=n("TSYQ"),l=n.n(a),s=n("CtXQ"),c=n("H84U"),u=n("RqAY"),f=n("6CfX");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(){}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(b,e);var t,n,a,p=v(b);function b(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),(t=p.call(this,e)).handleClose=function(e){e.preventDefault();var n=o.findDOMNode(g(t));n.style.height="".concat(n.offsetHeight,"px"),n.style.height="".concat(n.offsetHeight,"px"),t.setState({closing:!0}),(t.props.onClose||w)(e)},t.animationEnd=function(){t.setState({closing:!1,closed:!0}),(t.props.afterClose||w)()},t.renderAlert=function(e){var n,o=e.getPrefixCls,a=t.props,c=a.description,f=a.prefixCls,p=a.message,h=a.closeText,y=a.banner,v=a.className,b=void 0===v?"":v,g=a.style,O=a.icon,w=t.props,E=w.closable,x=w.type,S=w.showIcon,_=w.iconType,j=t.state,C=j.closing,P=j.closed,k=o("alert",f);S=!(!y||void 0!==S)||S,x=y&&void 0===x?"warning":x||"info";var N="filled";if(!_){switch(x){case"success":_="check-circle";break;case"info":_="info-circle";break;case"error":_="close-circle";break;case"warning":_="exclamation-circle";break;default:_="default"}c&&(N="outlined")}h&&(E=!0);var T=l()(k,"".concat(k,"-").concat(x),(m(n={},"".concat(k,"-closing"),C),m(n,"".concat(k,"-with-description"),!!c),m(n,"".concat(k,"-no-icon"),!S),m(n,"".concat(k,"-banner"),!!y),m(n,"".concat(k,"-closable"),E),n),b),M=E?r.createElement("button",{type:"button",onClick:t.handleClose,className:"".concat(k,"-close-icon"),tabIndex:0},h?r.createElement("span",{className:"".concat(k,"-close-text")},h):r.createElement(s.default,{type:"close"})):null,D=Object(u.a)(t.props),F=O&&(r.isValidElement(O)?r.cloneElement(O,{className:l()("".concat(k,"-icon"),m({},O.props.className,O.props.className))}):r.createElement("span",{className:"".concat(k,"-icon")},O))||r.createElement(s.default,{className:"".concat(k,"-icon"),type:_,theme:N});return P?null:r.createElement(i.a,{component:"",showProp:"data-show",transitionName:"".concat(k,"-slide-up"),onEnd:t.animationEnd},r.createElement("div",d({"data-show":!C,className:T,style:g},D),S?F:null,r.createElement("span",{className:"".concat(k,"-message")},p),r.createElement("span",{className:"".concat(k,"-description")},c),M))},Object(f.a)(!("iconType"in e),"Alert","`iconType` is deprecated. Please use `icon` instead."),t.state={closing:!1,closed:!1},t}return t=b,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderAlert)}}])&&h(t.prototype,n),a&&h(t,a),b}(r.Component)},"+LrT":function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,u=c&&c(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(u){var p=c(n);p&&p!==u&&e(t,p,f)}var d=a(n);l&&(d=d.concat(l(n)));for(var m=0;m<d.length;++m){var h=d[m];if(!(r[h]||o[h]||f&&f[h])){var y=s(n,h);try{i(t,h,y)}catch(e){}}}return t}return t}},"+kn0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.convertFieldsError=a,t.format=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,o=t[0],a=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(i,(function(e){if("%%"===e)return"%";if(r>=a)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(e){return"[Circular]"}break;default:return e}})),s=t[r];r<a;s=t[++r])l+=" "+s;return l}return o},t.isEmptyValue=function(e,t){if(null==e)return!0;if("array"===t&&Array.isArray(e)&&!e.length)return!0;if(function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}(t)&&"string"==typeof e&&!e)return!0;return!1},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.asyncMap=function(e,t,n,r){if(t.first){return l(function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n])})),t}(e),n,r)}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var i=Object.keys(e),s=i.length,c=0,u=[],f=new Promise((function(t,f){var p=function(e){if(u.push.apply(u,e),++c===s)return r(u),u.length?f({errors:u,fields:a(u)}):t()};i.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,e),++o===i&&n(r)}e.forEach((function(e){t(e,a)}))}(r,n,p)}))}));return f.catch((function(e){return e})),f},t.complementError=function(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"==typeof t?t():t,field:t.field||e.fullField}}},t.deepMerge=function(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];"object"===(void 0===i?"undefined":o(i))&&"object"===o(e[n])?e[n]=r({},e[n],i):e[n]=i}return e};var i=/%[sdj%]/g;t.warning=function(){};function a(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function l(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var l=r;r+=1,l<o?t(e[l],i):n([])}}([])}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),l=n("o/2+"),s=n("H84U");function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},O=o.oneOfType([o.object,o.number]),w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(y,e);var t,n,o,i=h(y);function y(){var e;return p(this,y),(e=i.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,i=v(e).props,s=i.prefixCls,p=i.span,d=i.order,m=i.offset,h=i.push,y=i.pull,b=i.className,O=i.children,w=g(i,["prefixCls","span","order","offset","push","pull","className","children"]),E=o("col",s),x={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=i[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete w[e],x=u(u({},x),(c(t={},"".concat(E,"-").concat(e,"-").concat(n.span),void 0!==n.span),c(t,"".concat(E,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),c(t,"".concat(E,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),c(t,"".concat(E,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),c(t,"".concat(E,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),t))}));var S=a()(E,(c(n={},"".concat(E,"-").concat(p),void 0!==p),c(n,"".concat(E,"-order-").concat(d),d),c(n,"".concat(E,"-offset-").concat(m),m),c(n,"".concat(E,"-push-").concat(h),h),c(n,"".concat(E,"-pull-").concat(y),y),n),b,x);return r.createElement(l.a.Consumer,null,(function(e){var t=e.gutter,n=w.style;return t&&(n=u(u(u({},t[0]>0?{paddingLeft:t[0]/2,paddingRight:t[0]/2}:{}),t[1]>0?{paddingTop:t[1]/2,paddingBottom:t[1]/2}:{}),n)),r.createElement("div",u({},w,{style:n,className:S}),O)}))},e}return t=y,(n=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&d(t.prototype,n),o&&d(t,o),y}(r.Component);w.propTypes={span:o.number,order:o.number,offset:o.number,push:o.number,pull:o.number,className:o.string,children:o.node,xs:O,sm:O,md:O,lg:O,xl:O,xxl:O}},"03A+":function(e,t,n){var r=n("JTzB"),o=n("ExA7"),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},"09Wf":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("CWQg"),o=Object(r.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"13Tz":function(e,t,n){},"1j5w":function(e,t,n){"use strict";n.d(t,"d",(function(){return oe})),n.d(t,"b",(function(){return lt})),n.d(t,"c",(function(){return yt})),n.d(t,"a",(function(){return bt}));var r=n("q1tI"),o=n("xI0J"),i=n("4IlW"),a=n("2GS6"),l=n("Gytx"),s=n.n(l),c=n("TSYQ"),u=n.n(c);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var m=/iPhone/i,h=/iPod/i,y=/iPad/i,v=/\bAndroid(?:.+)Mobile\b/i,b=/Android/i,g=/\bAndroid(?:.+)SD4930UR\b/i,O=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,w=/Windows Phone/i,E=/\bWindows(?:.+)ARM\b/i,x=/BlackBerry/i,S=/BB10/i,_=/Opera Mini/i,j=/\b(CriOS|Chrome)(?:.+)Mobile/i,C=/Mobile(?:.+)Firefox\b/i;function P(e,t){return e.test(t)}function k(e){var t=e||("undefined"!=typeof navigator?navigator.userAgent:""),n=t.split("[FBAN");void 0!==n[1]&&(t=d(n,1)[0]);void 0!==(n=t.split("Twitter"))[1]&&(t=d(n,1)[0]);var r={apple:{phone:P(m,t)&&!P(w,t),ipod:P(h,t),tablet:!P(m,t)&&P(y,t)&&!P(w,t),device:(P(m,t)||P(h,t)||P(y,t))&&!P(w,t)},amazon:{phone:P(g,t),tablet:!P(g,t)&&P(O,t),device:P(g,t)||P(O,t)},android:{phone:!P(w,t)&&P(g,t)||!P(w,t)&&P(v,t),tablet:!P(w,t)&&!P(g,t)&&!P(v,t)&&(P(O,t)||P(b,t)),device:!P(w,t)&&(P(g,t)||P(O,t)||P(v,t)||P(b,t))||P(/\bokhttp\b/i,t)},windows:{phone:P(w,t),tablet:P(E,t),device:P(w,t)||P(E,t)},other:{blackberry:P(x,t),blackberry10:P(S,t),opera:P(_,t),firefox:P(C,t),chrome:P(j,t),device:P(x,t)||P(S,t)||P(_,t)||P(C,t)||P(j,t)},any:null,phone:null,tablet:null};return r.any=r.apple.device||r.android.device||r.windows.device||r.other.device,r.phone=r.apple.phone||r.android.phone||r.windows.phone,r.tablet=r.apple.tablet||r.android.tablet||r.windows.tablet,r}var N=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},k(),{isMobile:k});function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(){}function D(e,t,n){var r=t||"";return e.key||"".concat(r,"item_").concat(n)}function F(e){return"".concat(e,"-menu-")}function I(e,t){var n=-1;r.Children.forEach(e,(function(e){n+=1,e&&e.type&&e.type.isMenuItemGroup?r.Children.forEach(e.props.children,(function(e){t(e,n+=1)})):t(e,n)}))}var A=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],R=function(e){var t=e&&"function"==typeof e.getBoundingClientRect&&e.getBoundingClientRect().width;return t&&(t=+t.toFixed(6)),t||0},L=function(e,t,n){e&&"object"===T(e.style)&&(e.style[t]=n)},K=n("i8i4"),V=n("bdgK"),U=n("uciX"),B=n("lCnp"),q={adjustX:1,adjustY:1},z={topLeft:{points:["bl","tl"],overflow:q,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:q,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:q,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:q,offset:[4,0]}};function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){J(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $=0,ee={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},te=function(e,t,n){var r=F(t),o=e.getState();e.setState({defaultActiveFirst:X({},o.defaultActiveFirst,J({},r,n))})},ne=function(e){function t(e){var n,o,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=this,a=G(t).call(this,e),(n=!a||"object"!==W(a)&&"function"!=typeof a?Y(o):a).onDestroy=function(e){n.props.onDestroy(e)},n.onKeyDown=function(e){var t=e.keyCode,r=n.menuInstance,o=n.props,a=o.isOpen,l=o.store;if(t===i.a.ENTER)return n.onTitleClick(e),te(l,n.props.eventKey,!0),!0;if(t===i.a.RIGHT)return a?r.onKeyDown(e):(n.triggerOpenChange(!0),te(l,n.props.eventKey,!0)),!0;if(t===i.a.LEFT){var s;if(!a)return;return(s=r.onKeyDown(e))||(n.triggerOpenChange(!1),s=!0),s}return!a||t!==i.a.UP&&t!==i.a.DOWN?void 0:r.onKeyDown(e)},n.onOpenChange=function(e){n.props.onOpenChange(e)},n.onPopupVisibleChange=function(e){n.triggerOpenChange(e,e?"mouseenter":"mouseleave")},n.onMouseEnter=function(e){var t=n.props,r=t.eventKey,o=t.onMouseEnter,i=t.store;te(i,n.props.eventKey,!1),o({key:r,domEvent:e})},n.onMouseLeave=function(e){var t=n.props,r=t.parentMenu,o=t.eventKey,i=t.onMouseLeave;r.subMenuInstance=Y(n),i({key:o,domEvent:e})},n.onTitleMouseEnter=function(e){var t=n.props,r=t.eventKey,o=t.onItemHover,i=t.onTitleMouseEnter;o({key:r,hover:!0}),i({key:r,domEvent:e})},n.onTitleMouseLeave=function(e){var t=n.props,r=t.parentMenu,o=t.eventKey,i=t.onItemHover,a=t.onTitleMouseLeave;r.subMenuInstance=Y(n),i({key:o,hover:!1}),a({key:o,domEvent:e})},n.onTitleClick=function(e){var t=Y(n).props;t.onTitleClick({key:t.eventKey,domEvent:e}),"hover"!==t.triggerSubMenuAction&&(n.triggerOpenChange(!t.isOpen,"click"),te(t.store,n.props.eventKey,!1))},n.onSubMenuClick=function(e){"function"==typeof n.props.onClick&&n.props.onClick(n.addKeyPath(e))},n.onSelect=function(e){n.props.onSelect(e)},n.onDeselect=function(e){n.props.onDeselect(e)},n.getPrefixCls=function(){return"".concat(n.props.rootPrefixCls,"-submenu")},n.getActiveClassName=function(){return"".concat(n.getPrefixCls(),"-active")},n.getDisabledClassName=function(){return"".concat(n.getPrefixCls(),"-disabled")},n.getSelectedClassName=function(){return"".concat(n.getPrefixCls(),"-selected")},n.getOpenClassName=function(){return"".concat(n.props.rootPrefixCls,"-submenu-open")},n.saveMenuInstance=function(e){n.menuInstance=e},n.addKeyPath=function(e){return X({},e,{keyPath:(e.keyPath||[]).concat(n.props.eventKey)})},n.triggerOpenChange=function(e,t){var r=n.props.eventKey,o=function(){n.onOpenChange({key:r,item:Y(n),trigger:t,open:e})};"mouseenter"===t?n.mouseenterTimeout=setTimeout((function(){o()}),0):o()},n.isChildrenSelected=function(){var e={find:!1};return function e(t,n,o){t&&!o.find&&r.Children.forEach(t,(function(t){if(t){var r=t.type;if(!r||!(r.isSubMenu||r.isMenuItem||r.isMenuItemGroup))return;-1!==n.indexOf(t.key)?o.find=!0:t.props.children&&e(t.props.children,n,o)}}))}(n.props.children,n.props.selectedKeys,e),e.find},n.isOpen=function(){return-1!==n.props.openKeys.indexOf(n.props.eventKey)},n.adjustWidth=function(){if(n.subMenuTitle&&n.menuInstance){var e=K.findDOMNode(n.menuInstance);e.offsetWidth>=n.subMenuTitle.offsetWidth||(e.style.minWidth="".concat(n.subMenuTitle.offsetWidth,"px"))}},n.saveSubMenuTitle=function(e){n.subMenuTitle=e};var l=e.store,s=e.eventKey,c=l.getState().defaultActiveFirst;n.isRootMenu=!1;var u=!1;return c&&(u=c[s]),te(l,s,u),n}var n,o,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.mode,r=t.parentMenu,o=t.manualRef;o&&o(this),"horizontal"===n&&r.isRootMenu&&this.props.isOpen&&(this.minWidthTimeout=setTimeout((function(){return e.adjustWidth()}),0))}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.onDestroy,n=e.eventKey;t&&t(n),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(e){var t=this,n=this.props,o={mode:"horizontal"===n.mode?"vertical":n.mode,visible:this.props.isOpen,level:n.level+1,inlineIndent:n.inlineIndent,focusable:!1,onClick:this.onSubMenuClick,onSelect:this.onSelect,onDeselect:this.onDeselect,onDestroy:this.onDestroy,selectedKeys:n.selectedKeys,eventKey:"".concat(n.eventKey,"-menu-"),openKeys:n.openKeys,motion:n.motion,onOpenChange:this.onOpenChange,subMenuOpenDelay:n.subMenuOpenDelay,parentMenu:this,subMenuCloseDelay:n.subMenuCloseDelay,forceSubMenuRender:n.forceSubMenuRender,triggerSubMenuAction:n.triggerSubMenuAction,builtinPlacements:n.builtinPlacements,defaultActiveFirst:n.store.getState().defaultActiveFirst[F(n.eventKey)],multiple:n.multiple,prefixCls:n.rootPrefixCls,id:this.internalMenuId,manualRef:this.saveMenuInstance,itemIcon:n.itemIcon,expandIcon:n.expandIcon},i=this.haveRendered;if(this.haveRendered=!0,this.haveOpened=this.haveOpened||o.visible||o.forceSubMenuRender,!this.haveOpened)return r.createElement("div",null);var a=X({},n.motion,{leavedClassName:"".concat(n.rootPrefixCls,"-hidden"),removeOnLeave:!1,motionAppear:i||!o.visible||"inline"!==o.mode});return r.createElement(B.a,Object.assign({visible:o.visible},a),(function(n){var i=n.className,a=n.style,l=u()("".concat(o.prefixCls,"-sub"),i);return r.createElement(Fe,Object.assign({},o,{id:t.internalMenuId,className:l,style:a}),e)}))}},{key:"render",value:function(){var e,t=X({},this.props),n=t.isOpen,o=this.getPrefixCls(),i="inline"===t.mode,a=u()(o,"".concat(o,"-").concat(t.mode),(J(e={},t.className,!!t.className),J(e,this.getOpenClassName(),n),J(e,this.getActiveClassName(),t.active||n&&!i),J(e,this.getDisabledClassName(),t.disabled),J(e,this.getSelectedClassName(),this.isChildrenSelected()),e));this.internalMenuId||(t.eventKey?this.internalMenuId="".concat(t.eventKey,"$Menu"):($+=1,this.internalMenuId="$__$".concat($,"$Menu")));var l={},s={},c={};t.disabled||(l={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},s={onClick:this.onTitleClick},c={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var f={};i&&(f.paddingLeft=t.inlineIndent*t.level);var p={};this.props.isOpen&&(p={"aria-owns":this.internalMenuId});var d=null;"horizontal"!==t.mode&&(d=this.props.expandIcon,"function"==typeof this.props.expandIcon&&(d=r.createElement(this.props.expandIcon,X({},this.props))));var m=r.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:f,className:"".concat(o,"-title")},c,s,{"aria-expanded":n},p,{"aria-haspopup":"true",title:"string"==typeof t.title?t.title:void 0}),t.title,d||r.createElement("i",{className:"".concat(o,"-arrow")})),h=this.renderChildren(t.children),y=t.parentMenu.isRootMenu?t.parentMenu.props.getPopupContainer:function(e){return e.parentNode},v=ee[t.mode],b=t.popupOffset?{offset:t.popupOffset}:{},g="inline"===t.mode?"":t.popupClassName,O=t.disabled,w=t.triggerSubMenuAction,E=t.subMenuOpenDelay,x=t.forceSubMenuRender,S=t.subMenuCloseDelay,_=t.builtinPlacements;return A.forEach((function(e){return delete t[e]})),delete t.onClick,r.createElement("li",Object.assign({},t,l,{className:a,role:"menuitem"}),i&&m,i&&h,!i&&r.createElement(U.a,{prefixCls:o,popupClassName:"".concat(o,"-popup ").concat(g),getPopupContainer:y,builtinPlacements:Object.assign({},z,_),popupPlacement:v,popupVisible:n,popupAlign:b,popup:h,action:O?[]:[w],mouseEnterDelay:E,mouseLeaveDelay:S,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:x},m))}}])&&H(n.prototype,o),a&&H(n,a),t}(r.Component);ne.defaultProps={onMouseEnter:M,onMouseLeave:M,onTitleMouseEnter:M,onTitleMouseLeave:M,onTitleClick:M,manualRef:M,mode:"vertical",title:""};var re=Object(o.connect)((function(e,t){var n=e.openKeys,r=e.activeKey,o=e.selectedKeys,i=t.eventKey,a=t.subMenuKey;return{isOpen:n.indexOf(i)>-1,active:r[a]===i,selectedKeys:o}}))(ne);re.isSubMenu=!0;var oe=re;function ie(e){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ae(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function de(e,t){return!t||"object"!==ie(t)&&"function"!=typeof t?he(e):t}function me(e){return(me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ye(e,t){return(ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ve=!("undefined"==typeof window||!window.document||!window.document.createElement);ve&&n("DN2a");var be=function(e){function t(){var e;return fe(this,t),(e=de(this,me(t).apply(this,arguments))).resizeObserver=null,e.mutationObserver=null,e.originalTotalWidth=0,e.overflowedItems=[],e.menuItemSizes=[],e.state={lastVisibleIndex:void 0},e.getMenuItemNodes=function(){var t=e.props.prefixCls,n=K.findDOMNode(he(e));return n?[].slice.call(n.children).filter((function(e){return e.className.split(" ").indexOf("".concat(t,"-overflowed-submenu"))<0})):[]},e.getOverflowedSubMenuItem=function(t,n,o){var i=e.props,a=i.overflowedIndicator,l=i.level,s=i.mode,c=i.prefixCls,u=i.theme;if(1!==l||"horizontal"!==s)return null;var f=e.props.children[0].props,p=(f.children,f.title,f.style),d=ue(f,["children","title","style"]),m=se({},p),h="".concat(t,"-overflowed-indicator"),y="".concat(t,"-overflowed-indicator");0===n.length&&!0!==o?m=se({},m,{display:"none"}):o&&(m=se({},m,{visibility:"hidden",position:"absolute"}),h="".concat(h,"-placeholder"),y="".concat(y,"-placeholder"));var v=u?"".concat(c,"-").concat(u):"",b={};return A.forEach((function(e){void 0!==d[e]&&(b[e]=d[e])})),r.createElement(oe,Object.assign({title:a,className:"".concat(c,"-overflowed-submenu"),popupClassName:v},b,{key:h,eventKey:y,disabled:!1,style:m}),n)},e.setChildrenWidthAndResize=function(){if("horizontal"===e.props.mode){var t=K.findDOMNode(he(e));if(t){var n=t.children;if(n&&0!==n.length){var r=t.children[n.length-1];L(r,"display","inline-block");var o=e.getMenuItemNodes(),i=o.filter((function(e){return e.className.split(" ").indexOf("menuitem-overflowed")>=0}));i.forEach((function(e){L(e,"display","inline-block")})),e.menuItemSizes=o.map((function(e){return R(e)})),i.forEach((function(e){L(e,"display","none")})),e.overflowedIndicatorWidth=R(t.children[t.children.length-1]),e.originalTotalWidth=e.menuItemSizes.reduce((function(e,t){return e+t}),0),e.handleResize(),L(r,"display","none")}}}},e.handleResize=function(){if("horizontal"===e.props.mode){var t=K.findDOMNode(he(e));if(t){var n=R(t);e.overflowedItems=[];var r,o=0;e.originalTotalWidth>n+.5&&(r=-1,e.menuItemSizes.forEach((function(t){(o+=t)+e.overflowedIndicatorWidth<=n&&(r+=1)}))),e.setState({lastVisibleIndex:r})}}},e}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ye(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){var e=this;if(this.setChildrenWidthAndResize(),1===this.props.level&&"horizontal"===this.props.mode){var t=K.findDOMNode(this);if(!t)return;this.resizeObserver=new V.default((function(t){t.forEach(e.setChildrenWidthAndResize)})),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),"undefined"!=typeof MutationObserver&&(this.mutationObserver=new MutationObserver((function(){e.resizeObserver.disconnect(),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),e.setChildrenWidthAndResize()})),this.mutationObserver.observe(t,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect()}},{key:"renderChildren",value:function(e){var t=this,n=this.state.lastVisibleIndex;return(e||[]).reduce((function(o,i,a){var l=i;if("horizontal"===t.props.mode){var s=t.getOverflowedSubMenuItem(i.props.eventKey,[]);void 0!==n&&-1!==t.props.className.indexOf("".concat(t.props.prefixCls,"-root"))&&(a>n&&(l=r.cloneElement(i,{style:{display:"none"},eventKey:"".concat(i.props.eventKey,"-hidden"),className:"".concat("menuitem-overflowed")})),a===n+1&&(t.overflowedItems=e.slice(n+1).map((function(e){return r.cloneElement(e,{key:e.props.eventKey,mode:"vertical-left"})})),s=t.getOverflowedSubMenuItem(i.props.eventKey,t.overflowedItems)));var c=[].concat(ae(o),[s,l]);return a===e.length-1&&c.push(t.getOverflowedSubMenuItem(i.props.eventKey,[],!0)),c}return[].concat(ae(o),[l])}),[])}},{key:"render",value:function(){var e=this.props,t=(e.visible,e.prefixCls,e.overflowedIndicator,e.mode,e.level,e.tag),n=e.children,o=(e.theme,ue(e,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"])),i=t;return r.createElement(i,Object.assign({},o),this.renderChildren(n))}}])&&pe(n.prototype,o),i&&pe(n,i),t}(r.Component);be.defaultProps={tag:"div",className:""};var ge=be;function Oe(e){return(Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function we(){return(we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){Pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ke(e,t,n){var r=e.getState();e.setState({activeKey:Ce({},r.activeKey,Pe({},t,n))})}function Ne(e){return e.eventKey||"0-menu-"}function Te(e,t){var n,r=t,o=e.children,i=e.eventKey;if(r&&(I(o,(function(e,t){e&&e.props&&!e.props.disabled&&r===D(e,i,t)&&(n=!0)})),n))return r;return r=null,e.defaultActiveFirst?(I(o,(function(e,t){r||!e||e.props.disabled||(r=D(e,i,t))})),r):r}function Me(e){if(e){var t=this.instanceArray.indexOf(e);-1!==t?this.instanceArray[t]=e:this.instanceArray.push(e)}}var De=function(e){function t(e){var n,o,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=this,l=xe(t).call(this,e),(n=!l||"object"!==Oe(l)&&"function"!=typeof l?Se(o):l).onKeyDown=function(e,t){var r,o=e.keyCode;if(n.getFlatInstanceArray().forEach((function(t){t&&t.props.active&&t.onKeyDown&&(r=t.onKeyDown(e))})),r)return 1;var a=null;return o!==i.a.UP&&o!==i.a.DOWN||(a=n.step(o===i.a.UP?-1:1)),a?(e.preventDefault(),ke(n.props.store,Ne(n.props),a.props.eventKey),"function"==typeof t&&t(a),1):void 0},n.onItemHover=function(e){var t=e.key,r=e.hover;ke(n.props.store,Ne(n.props),r?t:null)},n.onDeselect=function(e){n.props.onDeselect(e)},n.onSelect=function(e){n.props.onSelect(e)},n.onClick=function(e){n.props.onClick(e)},n.onOpenChange=function(e){n.props.onOpenChange(e)},n.onDestroy=function(e){n.props.onDestroy(e)},n.getFlatInstanceArray=function(){return n.instanceArray},n.step=function(e){var t=n.getFlatInstanceArray(),r=n.props.store.getState().activeKey[Ne(n.props)],o=t.length;if(!o)return null;e<0&&(t=t.concat().reverse());var i=-1;if(t.every((function(e,t){return!e||e.props.eventKey!==r||(i=t,!1)})),n.props.defaultActiveFirst||-1===i||(a=t.slice(i,o-1)).length&&!a.every((function(e){return!!e.props.disabled}))){var a,l=(i+1)%o,s=l;do{var c=t[s];if(c&&!c.props.disabled)return c;s=(s+1)%o}while(s!==l);return null}},n.renderCommonMenuItem=function(e,t,o){var i=n.props.store.getState(),l=Se(n).props,s=D(e,l.eventKey,t),c=e.props;if(!c||"string"==typeof e.type)return e;var u=s===i.activeKey,f=Ce({mode:c.mode||l.mode,level:l.level,inlineIndent:l.inlineIndent,renderMenuItem:n.renderMenuItem,rootPrefixCls:l.prefixCls,index:t,parentMenu:l.parentMenu,manualRef:c.disabled?void 0:Object(a.a)(e.ref,Me.bind(Se(n))),eventKey:s,active:!c.disabled&&u,multiple:l.multiple,onClick:function(e){(c.onClick||M)(e),n.onClick(e)},onItemHover:n.onItemHover,motion:l.motion,subMenuOpenDelay:l.subMenuOpenDelay,subMenuCloseDelay:l.subMenuCloseDelay,forceSubMenuRender:l.forceSubMenuRender,onOpenChange:n.onOpenChange,onDeselect:n.onDeselect,onSelect:n.onSelect,builtinPlacements:l.builtinPlacements,itemIcon:c.itemIcon||n.props.itemIcon,expandIcon:c.expandIcon||n.props.expandIcon},o);return("inline"===l.mode||N.any)&&(f.triggerSubMenuAction="click"),r.cloneElement(e,f)},n.renderMenuItem=function(e,t,r){if(!e)return null;var o=n.props.store.getState(),i={openKeys:o.openKeys,selectedKeys:o.selectedKeys,triggerSubMenuAction:n.props.triggerSubMenuAction,subMenuKey:r};return n.renderCommonMenuItem(e,t,i)},e.store.setState({activeKey:Ce({},e.store.getState().activeKey,Pe({},e.eventKey,Te(e,e.activeKey)))}),n.instanceArray=[],n}var n,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(e){return this.props.visible||e.visible||this.props.className!==e.className||!s()(this.props.style,e.style)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n="activeKey"in t?t.activeKey:t.store.getState().activeKey[Ne(t)],r=Te(t,n);(r!==n||"activeKey"in e&&r!==Te(e,e.activeKey))&&ke(t.store,Ne(t),r)}},{key:"render",value:function(){var e=this,t=we({},this.props);this.instanceArray=[];var n={className:u()(t.prefixCls,t.className,"".concat(t.prefixCls,"-").concat(t.mode)),role:t.role||"menu"};t.id&&(n.id=t.id),t.focusable&&(n.tabIndex=0,n.onKeyDown=this.onKeyDown);var o=t.prefixCls,i=t.eventKey,a=t.visible,l=t.level,s=t.mode,c=t.overflowedIndicator,f=t.theme;return A.forEach((function(e){return delete t[e]})),delete t.onClick,r.createElement(ge,Object.assign({},t,{prefixCls:o,mode:s,tag:"ul",level:l,theme:f,visible:a,overflowedIndicator:c},n),r.Children.map(t.children,(function(t,n){return e.renderMenuItem(t,n,i||"0-menu-")})))}}])&&Ee(n.prototype,o),l&&Ee(n,l),t}(r.Component);De.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:M};var Fe=Object(o.connect)()(De),Ie=n("Kwbf");function Ae(e){return(Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Re(e){var t=e.prefixCls,n=e.motion,r=e.openAnimation,o=e.openTransitionName;if(n)return n;if("object"===Ae(r)&&r)Object(Ie.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if("string"==typeof r)return{motionName:"".concat(t,"-open-").concat(r)};return o?{motionName:o}:null}function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(n),!0).forEach((function(t){Ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function We(e,t){return(We=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var He=function(e){function t(e){var n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,i=qe(t).call(this,e),(n=!i||"object"!==Le(i)&&"function"!=typeof i?ze(r):i).onSelect=function(e){var t=ze(n).props;if(t.selectable){var r=n.store.getState().selectedKeys,o=e.key;r=t.multiple?r.concat([o]):[o],"selectedKeys"in t||n.store.setState({selectedKeys:r}),t.onSelect(Ve({},e,{selectedKeys:r}))}},n.onClick=function(e){n.props.onClick(e)},n.onKeyDown=function(e,t){n.innerMenu.getWrappedInstance().onKeyDown(e,t)},n.onOpenChange=function(e){var t=ze(n).props,r=n.store.getState().openKeys.concat(),o=!1,i=function(e){var t=!1;if(e.open)(t=-1===r.indexOf(e.key))&&r.push(e.key);else{var n=r.indexOf(e.key);(t=-1!==n)&&r.splice(n,1)}o=o||t};Array.isArray(e)?e.forEach(i):i(e),o&&("openKeys"in n.props||n.store.setState({openKeys:r}),t.onOpenChange(r))},n.onDeselect=function(e){var t=ze(n).props;if(t.selectable){var r=n.store.getState().selectedKeys.concat(),o=e.key,i=r.indexOf(o);-1!==i&&r.splice(i,1),"selectedKeys"in t||n.store.setState({selectedKeys:r}),t.onDeselect(Ve({},e,{selectedKeys:r}))}},n.getOpenTransitionName=function(){var e=ze(n).props,t=e.openTransitionName,r=e.openAnimation;return t||"string"!=typeof r||(t="".concat(e.prefixCls,"-open-").concat(r)),t},n.setInnerMenu=function(e){n.innerMenu=e},n.isRootMenu=!0;var a=e.defaultSelectedKeys,l=e.defaultOpenKeys;return"selectedKeys"in e&&(a=e.selectedKeys||[]),"openKeys"in e&&(l=e.openKeys||[]),n.store=Object(o.create)({selectedKeys:a,openKeys:l,activeKey:{"0-menu-":Te(e,e.activeKey)}}),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&We(e,t)}(t,e),n=t,(i=[{key:"componentDidMount",value:function(){this.updateMiniStore()}},{key:"componentDidUpdate",value:function(){this.updateMiniStore()}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var e=Ve({},this.props);return e.className+=" ".concat(e.prefixCls,"-root"),delete(e=Ve({},e,{onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,parentMenu:this,motion:Re(this.props)})).openAnimation,delete e.openTransitionName,r.createElement(o.Provider,{store:this.store},r.createElement(Fe,Object.assign({},e,{ref:this.setInnerMenu}),this.props.children))}}])&&Be(n.prototype,i),a&&Be(n,a),t}(r.Component);He.defaultProps={selectable:!0,onClick:M,onSelect:M,onOpenChange:M,onDeselect:M,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:r.createElement("span",null,"···")};var Ge=He,Ye=n("9Do8"),Qe=n.n(Ye);function Ze(e){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach((function(t){$e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nt(e,t){return!t||"object"!==Ze(t)&&"function"!=typeof t?ot(e):t}function rt(e){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ot(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function it(e,t){return(it=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var at=function(e){function t(){var e;return et(this,t),(e=nt(this,rt(t).apply(this,arguments))).onKeyDown=function(t){if(t.keyCode===i.a.ENTER)return e.onClick(t),!0},e.onMouseLeave=function(t){var n=e.props,r=n.eventKey,o=n.onItemHover,i=n.onMouseLeave;o({key:r,hover:!1}),i({key:r,domEvent:t})},e.onMouseEnter=function(t){var n=e.props,r=n.eventKey,o=n.onItemHover,i=n.onMouseEnter;o({key:r,hover:!0}),i({key:r,domEvent:t})},e.onClick=function(t){var n=e.props,r=n.eventKey,o=n.multiple,i=n.onClick,a=n.onSelect,l=n.onDeselect,s=n.isSelected,c={key:r,keyPath:[r],item:ot(e),domEvent:t};i(c),o?s?l(c):a(c):s||a(c)},e.saveNode=function(t){e.node=t},e}var n,o,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&it(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.active,r=t.parentMenu,o=t.eventKey;e.active||!n||r&&r["scrolled-".concat(o)]?r&&r["scrolled-".concat(o)]&&delete r["scrolled-".concat(o)]:this.node&&(Qe()(this.node,K.findDOMNode(r),{onlyScrollIfNeeded:!0}),r["scrolled-".concat(o)]=!0),this.callRef()}},{key:"componentWillUnmount",value:function(){var e=this.props;e.onDestroy&&e.onDestroy(e.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var e,t=Je({},this.props),n=u()(this.getPrefixCls(),t.className,($e(e={},this.getActiveClassName(),!t.disabled&&t.active),$e(e,this.getSelectedClassName(),t.isSelected),$e(e,this.getDisabledClassName(),t.disabled),e)),o=Je({},t.attribute,{title:t.title,className:n,role:t.role||"menuitem","aria-disabled":t.disabled});"option"===t.role?o=Je({},o,{role:"option","aria-selected":t.isSelected}):null!==t.role&&"none"!==t.role||(o.role="none");var i={onClick:t.disabled?null:this.onClick,onMouseLeave:t.disabled?null:this.onMouseLeave,onMouseEnter:t.disabled?null:this.onMouseEnter},a=Je({},t.style);"inline"===t.mode&&(a.paddingLeft=t.inlineIndent*t.level),A.forEach((function(e){return delete t[e]}));var l=this.props.itemIcon;return"function"==typeof this.props.itemIcon&&(l=r.createElement(this.props.itemIcon,this.props)),r.createElement("li",Object.assign({},t,o,i,{style:a,ref:this.saveNode}),t.children,l)}}])&&tt(n.prototype,o),a&&tt(n,a),t}(r.Component);at.isMenuItem=!0,at.defaultProps={onSelect:M,onMouseEnter:M,onMouseLeave:M,manualRef:M};var lt=Object(o.connect)((function(e,t){var n=e.activeKey,r=e.selectedKeys,o=t.eventKey;return{active:n[t.subMenuKey]===o,isSelected:-1!==r.indexOf(o)}}))(at);function st(e){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ct(){return(ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ft(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pt(e,t){return!t||"object"!==st(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function dt(e){return(dt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mt(e,t){return(mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ht=function(e){function t(){var e;return ut(this,t),(e=pt(this,dt(t).apply(this,arguments))).renderInnerMenuItem=function(t){var n=e.props;return(0,n.renderMenuItem)(t,n.index,e.props.subMenuKey)},e}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mt(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=ct({},this.props),t=e.className,n=void 0===t?"":t,o=e.rootPrefixCls,i="".concat(o,"-item-group-title"),a="".concat(o,"-item-group-list"),l=e.title,s=e.children;return A.forEach((function(t){return delete e[t]})),delete e.onClick,r.createElement("li",Object.assign({},e,{className:"".concat(n," ").concat(o,"-item-group")}),r.createElement("div",{className:i,title:"string"==typeof l?l:void 0},l),r.createElement("ul",{className:a},r.Children.map(s,this.renderInnerMenuItem)))}}])&&ft(n.prototype,o),i&&ft(n,i),t}(r.Component);ht.isMenuItemGroup=!0,ht.defaultProps={disabled:!0};var yt=ht,vt=function(e){var t=e.className,n=e.rootPrefixCls,o=e.style;return r.createElement("li",{className:"".concat(t," ").concat(n,"-item-divider"),style:o})};vt.defaultProps={disabled:!0,className:"",style:{}};var bt=vt;t.e=Ge},"2DKY":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("n5Yh")},"2NuI":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},"2WkQ":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+B/L"),n("TfFZ")},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"2gN3":function(e,t,n){var r=n("Kz5y")["__core-js_shared__"];e.exports=r},"2mql":function(e,t,n){"use strict";var r=n("TOwV"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=d(n);o&&o!==m&&e(t,o,r)}var a=u(n);f&&(a=a.concat(f(n)));for(var l=s(t),h=s(n),y=0;y<a.length;++y){var v=a[y];if(!(i[v]||r&&r[v]||h&&h[v]||l&&l[v])){var b=p(n,v);try{c(t,v,b)}catch(e){}}}}return t}},"3Fdi":function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},"44Ds":function(e,t,n){var r=n("e4Nc");function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},"4kuk":function(e,t,n){var r=n("SfRM"),o=n("Hvzi"),i=n("u8Dt"),a=n("ekgI"),l=n("JSQU");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),i=n("Z0cm"),a=n("wJg7"),l=n("shjB"),s=n("9Nap");e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,f=!1;++c<u;){var p=s(t[c]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++c!=u?f:!!(u=null==e?0:e.length)&&l(u)&&a(p,u)&&(i(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"4uTw":function(e,t,n){var r=n("Z0cm"),o=n("9ggG"),i=n("GNiM"),a=n("dt0z");e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},"6JOy":function(e,t,n){},"74dF":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("D8SU"),n("TfFZ")},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("VCL8"),a=n("QbLZ"),l=n.n(a),s=n("iCc5"),c=n.n(s),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),m=n("mRg0"),h=n.n(m),y=n("17x9"),v=n.n(y),b=n("YEIV"),g=n.n(b),O=n("TSYQ"),w=n.n(O);function E(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function x(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(function(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),E(t));e.onSuccess(E(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var o in null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),r)r.hasOwnProperty(o)&&null!==r[o]&&t.setRequestHeader(o,r[o]);return t.send(n),{abort:function(){t.abort()}}}var S=+new Date,_=0;function j(){return"rc-upload-"+S+"-"+ ++_}var C=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some((function(e){var t,n,a=e.trim();return"."===a.charAt(0)?(t=r.toLowerCase(),n=a.toLowerCase(),-1!==t.indexOf(n,t.length-n.length)):/\/\*$/.test(a)?i===a.replace(/\/.*$/,""):o===a}))}return!0};var P=function(e,t,n){var r=function e(r,o){o=o||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var o=Array.prototype.slice.apply(n);r=r.concat(o),!o.length?t(r):e()}))}()}(r,(function(t){t.forEach((function(t){e(t,""+o+r.name+"/")}))}))},o=!0,i=!1,a=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){i=!0,a=e}finally{try{!o&&s.return&&s.return()}finally{if(i)throw a}}},k=function(e){function t(){var e,n,r,o;c()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={uid:j()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(){var e=r.fileInput;e&&e.click()},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)P(e.dataTransfer.items,r.uploadFiles,(function(e){return C(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return C(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=j(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},o=n,d()(r,o)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var o=r.beforeUpload(e,t);o&&o.then?o.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)})).catch((function(e){console&&console.log(e)})):!1!==o&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.data,o=n.onStart,i=n.onProgress,a=n.transformFile,l=void 0===a?function(e){return e}:a;new Promise((function(t){var r=n.action;if("function"==typeof r)return t(r(e));t(r)})).then((function(a){var s=e.uid,c=n.customRequest||x;Promise.resolve(l(e)).catch((function(e){console.error(e)})).then((function(l){"function"==typeof r&&(r=r(e));var u={action:a,filename:n.name,data:r,file:l,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:i?function(t){i(t,e)}:null,onSuccess:function(r,o){delete t.reqs[s],n.onSuccess(r,e,o)},onError:function(r,o){delete t.reqs[s],n.onError(r,o,e)}};t.reqs[s]=c(u),o(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:j()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,i=t.className,a=t.disabled,s=t.id,c=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,m=t.openFileDialogOnClick,h=w()((e={},g()(e,r,!0),g()(e,r+"-disabled",a),g()(e,i,i),e)),y=a?{}:{onClick:m?this.onClick:function(){},onKeyDown:m?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return o.a.createElement(n,l()({},y,{className:h,role:"button",style:c}),o.a.createElement("input",{id:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:f,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:u,onChange:this.onChange}),p)}}]),t}(r.Component);k.propTypes={id:v.a.string,component:v.a.string,style:v.a.object,prefixCls:v.a.string,className:v.a.string,multiple:v.a.bool,directory:v.a.bool,disabled:v.a.bool,accept:v.a.string,children:v.a.any,onStart:v.a.func,data:v.a.oneOfType([v.a.object,v.a.func]),action:v.a.oneOfType([v.a.string,v.a.func]),headers:v.a.object,beforeUpload:v.a.func,customRequest:v.a.func,onProgress:v.a.func,withCredentials:v.a.bool,openFileDialogOnClick:v.a.bool,transformFile:v.a.func};var N=k,T=n("i8i4"),M=n.n(T),D=n("2W6z"),F=n.n(D),I={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},A=function(e){function t(){var e,n,r,o;c()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={uploading:!1},r.file={},r.onLoad=function(){if(r.state.uploading){var e=r,t=e.props,n=e.file,o=void 0;try{var i=r.getIframeDocument(),a=i.getElementsByTagName("script")[0];a&&a.parentNode===i.body&&i.body.removeChild(a),o=i.body.innerHTML,t.onSuccess(o,n)}catch(e){F()(!1,"cross domain error for Upload. Maybe server should return document.domain script. see Note from https://github.com/react-component/upload"),o="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:j(),name:e.value&&e.value.substring(e.value.lastIndexOf("\\")+1,e.value.length)};r.startUpload();var n=r.props;if(!n.beforeUpload)return r.post(t);var o=n.beforeUpload(t);o&&o.then?o.then((function(){r.post(t)}),(function(){r.endUpload()})):!1!==o?r.post(t):r.endUpload()},r.saveIframe=function(e){r.iframe=e},o=n,d()(r,o)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.updateIframeWH(),this.initIframe()}},{key:"componentDidUpdate",value:function(){this.updateIframeWH()}},{key:"getIframeNode",value:function(){return this.iframe}},{key:"getIframeDocument",value:function(){return this.getIframeNode().contentDocument}},{key:"getFormNode",value:function(){return this.getIframeDocument().getElementById("form")}},{key:"getFormInputNode",value:function(){return this.getIframeDocument().getElementById("input")}},{key:"getFormDataNode",value:function(){return this.getIframeDocument().getElementById("data")}},{key:"getFileForMultiple",value:function(e){return this.props.multiple?[e]:e}},{key:"getIframeHTML",value:function(e){var t="",n="";if(e){t='<script>document.domain="'+e+'";<\/script>',n='<input name="_documentDomain" value="'+e+'" />'}return'\n <!DOCTYPE html>\n <html>\n <head>\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n <style>\n body,html {padding:0;margin:0;border:0;overflow:hidden;}\n </style>\n '+t+'\n </head>\n <body>\n <form method="post"\n encType="multipart/form-data"\n action="" id="form"\n style="display:block;height:9999px;position:relative;overflow:hidden;">\n <input id="input" type="file"\n name="'+this.props.name+'"\n style="position:absolute;top:0;right:0;height:9999px;font-size:9999px;cursor:pointer;"/>\n '+n+'\n <span id="data"></span>\n </form>\n </body>\n </html>\n '}},{key:"initIframeSrc",value:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")}},{key:"initIframe",value:function(){var e=this.getIframeNode(),t=e.contentWindow,n=void 0;this.domain=this.domain||"",this.initIframeSrc();try{n=t.document}catch(r){this.domain=document.domain,this.initIframeSrc(),n=(t=e.contentWindow).document}n.open("text/html","replace"),n.write(this.getIframeHTML(this.domain)),n.close(),this.getFormInputNode().onchange=this.onChange}},{key:"endUpload",value:function(){this.state.uploading&&(this.file={},this.state.uploading=!1,this.setState({uploading:!1}),this.initIframe())}},{key:"startUpload",value:function(){this.state.uploading||(this.state.uploading=!0,this.setState({uploading:!0}))}},{key:"updateIframeWH",value:function(){var e=M.a.findDOMNode(this),t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"}},{key:"abort",value:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()}},{key:"post",value:function(e){var t=this,n=this.getFormNode(),r=this.getFormDataNode(),o=this.props.data,i=this.props.onStart;"function"==typeof o&&(o=o(e));var a=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=o[l],a.appendChild(s)}r.appendChild(a),new Promise((function(n){var r=t.props.action;if("function"==typeof r)return n(r(e));n(r)})).then((function(t){n.setAttribute("action",t),n.submit(),r.innerHTML="",i(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,i=t.className,a=t.prefixCls,s=t.children,c=t.style,u=l()({},I,{display:this.state.uploading||r?"none":""}),f=w()((e={},g()(e,a,!0),g()(e,a+"-disabled",r),g()(e,i,i),e));return o.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},c)},o.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),s)}}]),t}(r.Component);A.propTypes={component:v.a.string,style:v.a.object,disabled:v.a.bool,prefixCls:v.a.string,className:v.a.string,accept:v.a.string,onStart:v.a.func,multiple:v.a.bool,children:v.a.any,data:v.a.oneOfType([v.a.object,v.a.func]),action:v.a.oneOfType([v.a.string,v.a.func]),name:v.a.string};var R=A;function L(){}var K=function(e){function t(){var e,n,r,o;c()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={Component:null},r.saveUploader=function(e){r.uploader=e},o=n,d()(r,o)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.supportServerRender&&this.setState({Component:this.getComponent()},this.props.onReady)}},{key:"getComponent",value:function(){return"undefined"!=typeof File?N:R}},{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){if(this.props.supportServerRender){var e=this.state.Component;return e?o.a.createElement(e,l()({},this.props,{ref:this.saveUploader})):null}var t=this.getComponent();return o.a.createElement(t,l()({},this.props,{ref:this.saveUploader}))}}]),t}(r.Component);K.propTypes={component:v.a.string,style:v.a.object,prefixCls:v.a.string,action:v.a.oneOfType([v.a.string,v.a.func]),name:v.a.string,multipart:v.a.bool,directory:v.a.bool,onError:v.a.func,onSuccess:v.a.func,onProgress:v.a.func,onStart:v.a.func,data:v.a.oneOfType([v.a.object,v.a.func]),headers:v.a.object,accept:v.a.string,multiple:v.a.bool,disabled:v.a.bool,beforeUpload:v.a.func,customRequest:v.a.func,onReady:v.a.func,withCredentials:v.a.bool,supportServerRender:v.a.bool,openFileDialogOnClick:v.a.bool},K.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:L,onStart:L,onError:L,onSuccess:L,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var V=K,U=n("qPyV"),B=n.n(U),q=n("UfWW"),z=n.n(q),W=n("MFj2");function H(){return(H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function G(e){return H(H({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Y(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Q=function(e){return!!e&&0===e.indexOf("image/")},Z=function(e){if(Q(e.type))return!0;var t=e.thumbUrl||e.url,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n};var X=n("CtXQ"),J=n("3S7+"),$=n("CFYs"),ee=n("H84U");function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ae(e,t){return(ae=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var o=ce(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ae(e,t)}(a,e);var t,n,o,i=le(a);function a(){var e;return oe(this,a),(e=i.apply(this,arguments)).handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e.handleDownload=function(t){var n=e.props.onDownload;"function"==typeof n?n(t):t.url&&window.open(t.url)},e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.renderUploadList=function(t){var n,o=t.getPrefixCls,i=e.props,a=i.prefixCls,l=i.items,s=void 0===l?[]:l,c=i.listType,u=i.showPreviewIcon,f=i.showRemoveIcon,p=i.showDownloadIcon,d=i.locale,m=i.progressAttr,h=o("upload",a),y=s.map((function(t){var n,o,i,a=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===c||"picture-card"===c)if("picture-card"===c&&"uploading"===t.status)a=r.createElement("div",{className:"".concat(h,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=Z(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(h,"-list-item-icon"),theme:"twoTone"});a=r.createElement("a",{className:"".concat(h,"-list-item-thumbnail"),onClick:function(n){return e.handlePreview(t,n)},href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},l)}else a=r.createElement(X.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement($.default,re({type:"line"},m,{percent:t.percent})):null;i=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=w()((ne(n={},"".concat(h,"-list-item"),!0),ne(n,"".concat(h,"-list-item-").concat(t.status),!0),ne(n,"".concat(h,"-list-item-list-type-").concat(c),!0),n)),b="string"==typeof t.linkProps?JSON.parse(t.linkProps):t.linkProps,g=f?r.createElement(X.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,O=p&&"done"===t.status?r.createElement(X.default,{type:"download",title:d.downloadFile,onClick:function(){return e.handleDownload(t)}}):null,E="picture-card"!==c&&r.createElement("span",{key:"download-delete",className:"".concat(h,"-list-item-card-actions ").concat("picture"===c?"picture":"")},O&&r.createElement("a",{title:d.downloadFile},O),g&&r.createElement("a",{title:d.removeFile},g)),x=w()((ne(o={},"".concat(h,"-list-item-name"),!0),ne(o,"".concat(h,"-list-item-name-icon-count-").concat([O,g].filter((function(e){return e})).length),!0),o)),S=t.url?[r.createElement("a",re({key:"view",target:"_blank",rel:"noopener noreferrer",className:x,title:t.name},b,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),E]:[r.createElement("span",{key:"view",className:x,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),E],_=u?r.createElement("a",{href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:t.url||t.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(n){return e.handlePreview(t,n)},title:d.previewFile},r.createElement(X.default,{type:"eye-o"})):null,j="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},_,"done"===t.status&&O,g);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var C=r.createElement("span",null,a,S),P=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},C),j,r.createElement(W.a,{transitionName:"fade",component:""},i)),k=w()(ne({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:k},"error"===t.status?r.createElement(J.default,{title:y},P):r.createElement("span",null,P))})),v=w()((ne(n={},"".concat(h,"-list"),!0),ne(n,"".concat(h,"-list-").concat(c),!0),n)),b="picture-card"===c?"animate-inline":"animate";return r.createElement(W.a,{transitionName:"".concat(h,"-").concat(b),component:"div",className:v},y)},e}return t=a,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.listType,r=t.items,o=t.previewFile;"picture"!==n&&"picture-card"!==n||(r||[]).forEach((function(t){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",o&&o(t.originFileObj).then((function(n){t.thumbUrl=n||"",e.forceUpdate()})))}))}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUploadList)}}])&&ie(t.prototype,n),o&&ie(t,o),a}(r.Component);ue.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Q(e.type)){var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),o=new Image;o.onload=function(){var e=o.width,i=o.height,a=200,l=200,s=0,c=0;e<i?c=-((l=i*(200/e))-a)/2:s=-((a=e*(200/i))-l)/2,r.drawImage(o,s,c,a,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var fe=n("YMnH"),pe=n("ZvpZ"),de=n("6CfX");function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function be(e,t){return(be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=we(e);if(t){var o=we(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Oe(this,n)}}function Oe(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ee=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&be(e,t)}(a,e);var t,n,o,i=ge(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=G(e);r.status="uploading";var o=n.concat(),i=z()(o,(function(e){return e.uid===r.uid}));-1===i?o.push(r):o[i]=r,t.onChange({file:r,fileList:o}),window.File&&!Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).TEST_IE||t.autoUpdateProgress(0,r)},t.onSuccess=function(e,n,r){t.clearProgressTimer();try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var o=t.state.fileList,i=Y(n,o);i&&(i.status="done",i.response=e,i.xhr=r,t.onChange({file:ye({},i),fileList:o}))},t.onProgress=function(e,n){var r=t.state.fileList,o=Y(n,r);o&&(o.percent=e.percent,t.onChange({event:e,file:ye({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,i=Y(r,o);i&&(i.error=e,i.response=n,i.status="error",t.onChange({file:ye({},i),fileList:o}))},t.handleRemove=function(e){var n=t.props.onRemove,r=t.state.fileList;Promise.resolve("function"==typeof n?n(e):n).then((function(n){if(!1!==n){var o=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,r);o&&(e.status="removed",t.upload&&t.upload.abort(e),t.onChange({file:e,fileList:o}))}}))},t.onChange=function(e){"fileList"in t.props||t.setState({fileList:e.fileList});var n=t.props.onChange;n&&n(e)},t.onFileDrop=function(e){t.setState({dragState:e.type})},t.beforeUpload=function(e,n){var r=t.props.beforeUpload,o=t.state.fileList;if(!r)return!0;var i=r(e,n);return!1===i?(t.onChange({file:e,fileList:B()(o.concat(n.map(G)),(function(e){return e.uid}))}),!1):!i||!i.then||i},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,i=n.listType,a=n.onPreview,l=n.onDownload,s=n.previewFile,c=n.disabled,u=n.locale,f=o.showRemoveIcon,p=o.showPreviewIcon,d=o.showDownloadIcon,m=t.state.fileList;return r.createElement(ue,{listType:i,items:m,previewFile:s,onPreview:a,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:ye(ye({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,i=t.props,a=i.prefixCls,l=i.className,s=i.showUploadList,c=i.listType,u=i.type,f=i.disabled,p=i.children,d=i.style,m=t.state,h=m.fileList,y=m.dragState,v=o("upload",a),b=ye(ye({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:v,beforeUpload:t.beforeUpload});delete b.className,delete b.style,p&&!f||delete b.id;var g=s?r.createElement(fe.a,{componentName:"Upload",defaultLocale:pe.a.Upload},t.renderUploadList):null;if("drag"===u){var O,E=w()(v,(he(O={},"".concat(v,"-drag"),!0),he(O,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),he(O,"".concat(v,"-drag-hover"),"dragover"===y),he(O,"".concat(v,"-disabled"),f),O),l);return r.createElement("span",null,r.createElement("div",{className:E,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(V,ye({},b,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),g)}var x=w()(v,(he(n={},"".concat(v,"-select"),!0),he(n,"".concat(v,"-select-").concat(c),!0),he(n,"".concat(v,"-disabled"),f),n)),S=r.createElement("div",{className:x,style:p?void 0:{display:"none"}},r.createElement(V,ye({},b,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:w()(l,"".concat(v,"-picture-card-wrapper"))},g,S):r.createElement("span",{className:l},S,g)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(de.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return t=a,o=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(n=[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"autoUpdateProgress",value:function(e,t){var n,r=this,o=(n=.1,function(e){var t=e;return t>=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),i=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){i=o(i),r.onProgress({percent:100*i},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&ve(t.prototype,n),o&&ve(t,o),a}(r.Component);Ee.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(i.polyfill)(Ee);var xe=Ee;function Se(e){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _e(){return(_e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(e,t){return(Pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var o=Te(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ne(this,n)}}function Ne(e,t){return!t||"object"!==Se(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Me=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},De=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pe(e,t)}(a,e);var t,n,o,i=ke(a);function a(){return je(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.style,n=e.height,o=Me(e,["style","height"]);return r.createElement(xe,_e({},o,{type:"drag",style:_e(_e({},t),{height:n})}))}}])&&Ce(t.prototype,n),o&&Ce(t,o),a}(r.Component);xe.Dragger=De;t.default=xe},"9Do8":function(e,t,n){"use strict";e.exports=n("zt9T")},"9Nap":function(e,t,n){var r=n("/9aa");e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},"9ggG":function(e,t,n){var r=n("Z0cm"),o=n("/9aa"),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},AU0A:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0"));t.default=function(e,t,n,o,i){(/^\s+$/.test(t)||""===t)&&o.push(r.format(i.messages.whitespace,e.fullField))}},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),o=n("spEH"),i=c(n("Rs/d")),a=n("PhNK"),l=n("sYIF"),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.commits,n=e.projectsId,c=e.owner;return r.default.createElement("div",{className:"pb20"},t.map((function(e,t){return r.default.createElement("div",{className:"prCommits"},r.default.createElement("p",{className:"prCreate"},e.created_at),r.default.createElement("div",{className:"prInfo"},r.default.createElement(o.FlexAJ,null,r.default.createElement(o.AlignCenter,null,r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,a.truncateCommitId)(""+e.sha),className:"commitKey",style:{marginLeft:0}},(0,a.truncateCommitId)(""+e.sha)),r.default.createElement("p",{className:"ml15 font-16 color-grey-3 task-hide",style:{maxWidth:"700px"}},e.message)),r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,a.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(o.AlignCenter,{className:"mt15"},r.default.createElement(i.default,{url:(0,l.getImageUrl)("/"+(e.committer&&e.committer.image_url)),name:""+(e.committer&&e.committer.name)}),r.default.createElement("span",null,":提交于",e.time_from_now))))})))}},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("CtXQ")),o=p(n("2/Rp")),i=p(n("8z0m")),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("2oDE"),n("L/Qf"),n("7W5+");var s=n("q1tI"),c=p(s),u=n("sYIF"),f=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}var d=i.default.Dragger,m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.checkInitFile()},n.componentDidUpdate=function(e){e&&e.fileList!==n.props.fileList&&n.checkInitFile()},n.checkInitFile=function(){var e=n.props.fileList;e&&e.length>0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";f.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&(e.response.id||e.response.data&&e.response.data.id))})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024<t;return r||n.props.showNotification("文件大小必须小于"+t+"MB!"),r},n.state={fileList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,l=e.btn,s=e.className,f=e.size,p=e.actionUrl,m=this.state.fileList,h={name:"file",fileList:!0===t?m:void 0,action:p||""+(0,u.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return l?c.default.createElement(i.default,a({},h,{className:s}),c.default.createElement(o.default,{type:"default"},"上传文件"),c.default.createElement("span",{className:"ml10 color-grey-9"},"(你可以上传小于",c.default.createElement("span",{className:"color-red"},f,"MB"),"的文件)")):c.default.createElement(d,a({},h,{className:s}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-16 color-grey-3"},"拖动文件或点击此处上传"))}}]),t}(s.Component);t.default=m},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ie}));var r=n("q1tI"),o=n("1j5w"),i=n("TSYQ"),a=n.n(i),l=n("BGR+"),s=n("VCL8"),c=n("17x9"),u=n("foW8"),f=n.n(u),p=f()({inlineCollapsed:!1});function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(s,e);var t,n,i,l=b(s);function s(){var e;return h(this,s),(e=l.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return t=s,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,i=t.popupClassName;return r.createElement(p.Consumer,null,(function(t){var l=t.antdMenuTheme;return r.createElement(o.d,m({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(l),i)}))}))}}])&&y(t.prototype,n),i&&y(t,i),s}(r.Component);w.contextTypes={antdMenuTheme:c.string},w.isSubMenu=1;var E=w,x=n("3S7+"),S=n("H84U");function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e){return function(e){if(Array.isArray(e))return C(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t,n){return t&&N(e.prototype,t),n&&N(e,n),e}function M(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A(e);if(t){var o=A(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},L=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function K(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var i;return(i=function(o){M(a,o);var i=F(a);function a(){var o;return k(this,a),(o=i.apply(this,arguments)).renderComponent=function(i){var a=i.getPrefixCls,l=o.props.prefixCls,s=a(t,l);return r.createElement(e,P({prefixCls:s,tagName:n},o.props))},o}return T(a,[{key:"render",value:function(){return r.createElement(S.a,null,this.renderComponent)}}]),a}(r.Component)).displayName=o,i}}var V=function(e){var t=e.prefixCls,n=e.className,o=e.children,i=e.tagName,l=R(e,["prefixCls","className","children","tagName"]),s=a()(n,t);return r.createElement(i,P({className:s},l),o)},U=function(e){M(n,e);var t=F(n);function n(){var e;return k(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return T(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(j(e.siders),[t])}}))},removeSider:function(t){e.setState((function(e){return{siders:e.siders.filter((function(e){return e!==t}))}}))}}}},{key:"render",value:function(){var e,t,n,o=this.props,i=o.prefixCls,l=o.className,s=o.children,c=o.hasSider,u=o.tagName,f=R(o,["prefixCls","className","children","hasSider","tagName"]),p=a()(l,i,(e={},t="".concat(i,"-has-sider"),n="boolean"==typeof c?c:this.state.siders.length>0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e));return r.createElement(L.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(u,P({className:p},f),s))}}]),n}(r.Component),B=K({suffixCls:"layout",tagName:"section",displayName:"Layout"})(U),q=K({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(V),z=K({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(V),W=K({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(V);B.Header=q,B.Footer=z,B.Content=W;var H=n("CtXQ"),G=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Y(e){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z(){return(Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $(e,t,n){return t&&J(e.prototype,t),n&&J(e,n),e}function ee(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&te(e,t)}function te(e,t){return(te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ne(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=oe(e);if(t){var o=oe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return re(this,n)}}function re(e,t){return!t||"object"!==Y(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}})}var ae,le={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),ce=(ae=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ae+=1,"".concat(e).concat(ae)}),ue=function(e){ee(n,e);var t=ne(n);function n(e){var o,i,s;return X(this,n),(o=t.call(this,e)).responsiveHandler=function(e){o.setState({below:e.matches});var t=o.props.onBreakpoint;t&&t(e.matches),o.state.collapsed!==e.matches&&o.setCollapsed(e.matches,"responsive")},o.setCollapsed=function(e,t){"collapsed"in o.props||o.setState({collapsed:e});var n=o.props.onCollapse;n&&n(e,t)},o.toggle=function(){var e=!o.state.collapsed;o.setCollapsed(e,"clickTrigger")},o.belowShowChange=function(){o.setState((function(e){return{belowShow:!e.belowShow}}))},o.renderSider=function(e){var t,n=e.getPrefixCls,i=o.props,s=i.prefixCls,c=i.className,u=i.theme,f=i.collapsible,p=i.reverseArrow,d=i.trigger,m=i.style,h=i.width,y=i.collapsedWidth,v=i.zeroWidthTriggerStyle,b=ie(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",s),O=Object(l.a)(b,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?y:h,E=G(w)?"".concat(w,"px"):String(w),x=0===parseFloat(String(y||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(g,"-zero-width-trigger ").concat(g,"-zero-width-trigger-").concat(p?"right":"left"),style:v},r.createElement(H.default,{type:"bars"})):null,S={expanded:p?r.createElement(H.default,{type:"right"}):r.createElement(H.default,{type:"left"}),collapsed:p?r.createElement(H.default,{type:"left"}):r.createElement(H.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],_=null!==d?x||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:E}},d||S):null,j=Z(Z({},m),{flex:"0 0 ".concat(E),maxWidth:E,minWidth:E,width:E}),C=a()(c,g,"".concat(g,"-").concat(u),(Q(t={},"".concat(g,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(g,"-has-trigger"),f&&null!==d&&!x),Q(t,"".concat(g,"-below"),!!o.state.below),Q(t,"".concat(g,"-zero-width"),0===parseFloat(E)),t));return r.createElement("aside",Z({className:C},O,{style:j}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&x?_:null)},o.uniqueId=ce("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in le&&(o.mql=i("(max-width: ".concat(le[e.breakpoint],")"))),s="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:s,below:!1},o}return $(n,[{key:"componentDidMount",value:function(){this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),this.props.siderHook&&this.props.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){this.mql&&this.mql.removeListener(this.responsiveHandler),this.props.siderHook&&this.props.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var e=this.state.collapsed,t=this.props.collapsedWidth;return r.createElement(se.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},r.createElement(S.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);ue.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(s.polyfill)(ue);r.Component;function fe(e){return(fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pe(){return(pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ye(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=be(e);if(t){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ve(this,n)}}function ve(e,t){return!t||"object"!==fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function be(e){return(be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ge=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&he(e,t)}(l,e);var t,n,i,a=ye(l);function l(){var e;return de(this,l),(e=a.apply(this,arguments)).onKeyDown=function(t){e.menuItem.onKeyDown(t)},e.saveMenuItem=function(t){e.menuItem=t},e.renderItem=function(t){var n=t.siderCollapsed,i=e.props,a=i.level,l=i.children,s=i.rootPrefixCls,c=e.props,u=c.title,f=ge(c,["title"]);return r.createElement(p.Consumer,null,(function(t){var i=t.inlineCollapsed,c={title:u||(1===a?l:"")};return n||i||(c.title=null,c.visible=!1),r.createElement(x.default,pe({},c,{placement:"right",overlayClassName:"".concat(s,"-inline-collapsed-tooltip")}),r.createElement(o.b,pe({},f,{title:u,ref:e.saveMenuItem})))}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&me(t.prototype,n),i&&me(t,i),l}(r.Component);Oe.isMenuItem=!0;var we=n("6CfX"),Ee=n("oHiP"),xe=n("EXcs");function Se(e){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _e(){return(_e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(e,t,n){return t&&Ce(e.prototype,t),n&&Ce(e,n),e}function ke(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ne(e,t)}function Ne(e,t){return(Ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=De(e);if(t){var o=De(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Me(this,n)}}function Me(e,t){return!t||"object"!==Se(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function De(e){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Fe=function(e){ke(n,e);var t=Te(n);function n(e){var i,s;return je(this,n),(i=t.call(this,e)).handleMouseEnter=function(e){i.restoreModeVerticalFromInline();var t=i.props.onMouseEnter;t&&t(e)},i.handleTransitionEnd=function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,n=e.target.className,r="[object SVGAnimatedString]"===Object.prototype.toString.call(n)?n.animVal:n,o="font-size"===e.propertyName&&r.indexOf("anticon")>=0;(t||o)&&i.restoreModeVerticalFromInline()},i.handleClick=function(e){i.handleOpenChange([]);var t=i.props.onClick;t&&t(e)},i.handleOpenChange=function(e){i.setOpenKeys(e);var t=i.props.onOpenChange;t&&t(e)},i.renderMenu=function(e){var t,n,s,c=e.getPopupContainer,u=e.getPrefixCls,f=i.props,p=f.prefixCls,d=f.className,m=f.theme,h=f.collapsedWidth,y=Object(l.a)(i.props,["collapsedWidth","siderCollapsed"]),v=i.getRealMenuMode(),b=i.getOpenMotionProps(v),g=u("menu",p),O=a()(d,"".concat(g,"-").concat(m),(t={},n="".concat(g,"-inline-collapsed"),s=i.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[n]=s,t)),w=_e({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:v},b);return"inline"!==v&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,_e({getPopupContainer:c},y,w,{prefixCls:g,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(we.a)(!("onOpen"in e||"onClose"in e),"Menu","`onOpen` and `onClose` are removed, please use `onOpenChange` instead, see: https://u.ant.design/menu-on-open-change."),Object(we.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(we.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?s=e.openKeys:"defaultOpenKeys"in e&&(s=e.defaultOpenKeys),i.state={openKeys:s||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},i}return Pe(n,[{key:"componentWillUnmount",value:function(){Ee.a.cancel(this.mountRafId)}},{key:"setOpenKeys",value:function(e){"openKeys"in this.props||this.setState({openKeys:e})}},{key:"getRealMenuMode",value:function(){var e=this.getInlineCollapsed();if(this.state.switchingModeFromInline&&e)return"inline";var t=this.props.mode;return e?"vertical":t}},{key:"getInlineCollapsed",value:function(){var e=this.props.inlineCollapsed;return void 0!==this.props.siderCollapsed?this.props.siderCollapsed:e}},{key:"getOpenMotionProps",value:function(e){var t=this.props,n=t.openTransitionName,r=t.openAnimation,o=t.motion;return o?{motion:o}:r?(Object(we.a)("string"==typeof r,"Menu","`openAnimation` do not support object. Please use `motion` instead."),{openAnimation:r}):n?{openTransitionName:n}:"horizontal"===e?{motion:{motionName:"slide-up"}}:"inline"===e?{motion:xe.a}:{motion:{motionName:this.state.switchingModeFromInline?"":"zoom-big"}}}},{key:"restoreModeVerticalFromInline",value:function(){this.state.switchingModeFromInline&&this.setState({switchingModeFromInline:!1})}},{key:"render",value:function(){return r.createElement(p.Provider,{value:{inlineCollapsed:this.getInlineCollapsed()||!1,antdMenuTheme:this.props.theme}},r.createElement(S.a,null,this.renderMenu))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};return"inline"===n.mode&&"inline"!==e.mode&&(r.switchingModeFromInline=!0),"openKeys"in e?r.openKeys=e.openKeys:((e.inlineCollapsed&&!n.inlineCollapsed||e.siderCollapsed&&!n.siderCollapsed)&&(r.switchingModeFromInline=!0,r.inlineOpenKeys=t.openKeys,r.openKeys=[]),(!e.inlineCollapsed&&n.inlineCollapsed||!e.siderCollapsed&&n.siderCollapsed)&&(r.openKeys=t.inlineOpenKeys,r.inlineOpenKeys=[])),r}}]),n}(r.Component);Fe.defaultProps={className:"",theme:"light",focusable:!1},Object(s.polyfill)(Fe);var Ie=function(e){ke(n,e);var t=Te(n);function n(){return je(this,n),t.apply(this,arguments)}return Pe(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Fe,_e({},e.props,t))}))}}]),n}(r.Component);Ie.Divider=o.a,Ie.Item=Oe,Ie.SubMenu=E,Ie.ItemGroup=o.c},CFYs:function(e,t,n){"use strict";n.r(t);var r=n("17x9"),o=n.n(r),i=n("q1tI"),a=n.n(i),l=n("TSYQ"),s=n.n(l),c=n("BGR+"),u=n("CtXQ"),f=n("H84U"),p=n("CWQg");function d(e){return!e||e<0?0:e>100?100:e}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},b=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,i=e.direction,a=void 0===i?"to right":i,l=v(e,["from","to","direction"]);if(0!==Object.keys(l).length){var s=function(e){for(var t=[],n=0,r=Object.entries(e);n<r.length;n++){var o=h(r[n],2),i=o[0],a=o[1],l=parseFloat(i.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:a})}return(t=t.sort((function(e,t){return e.key-t.key}))).map((function(e){var t=e.key,n=e.value;return"".concat(n," ").concat(t,"%")})).join(", ")}(l);return{backgroundImage:"linear-gradient(".concat(a,", ").concat(s,")")}}return{backgroundImage:"linear-gradient(".concat(a,", ").concat(n,", ").concat(o,")")}},g=function(e){var t,n=e.prefixCls,r=e.percent,o=e.successPercent,a=e.strokeWidth,l=e.size,s=e.strokeColor,c=e.strokeLinecap,u=e.children;t=s&&"string"!=typeof s?b(s):{background:s};var f=m({width:"".concat(d(r),"%"),height:a||("small"===l?6:8),borderRadius:"square"===c?0:""},t),p={width:"".concat(d(o),"%"),height:a||("small"===l?6:8),borderRadius:"square"===c?0:""},h=void 0!==o?i.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return i.createElement("div",null,i.createElement("div",{className:"".concat(n,"-outer")},i.createElement("div",{className:"".concat(n,"-inner")},i.createElement("div",{className:"".concat(n,"-bg"),style:f}),h)),u)};function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t,n){return(E="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=j(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=j(e);if(t){var o=j(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){return function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(i,e);var t,n,r,o=S(i);function i(){return O(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=Date.now(),n=!1;Object.keys(this.paths).forEach((function(r){var o=e.paths[r];if(o){n=!0;var i=o.style;i.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(i.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return E(j(i.prototype),"render",this).call(this)}}])&&w(t.prototype,n),r&&w(t,r),i}(e)},P={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},k=o.a.oneOfType([o.a.number,o.a.string]),N={className:o.a.string,percent:o.a.oneOfType([k,o.a.arrayOf(k)]),prefixCls:o.a.string,strokeColor:o.a.oneOfType([o.a.string,o.a.arrayOf(o.a.oneOfType([o.a.string,o.a.object])),o.a.object]),strokeLinecap:o.a.oneOf(["butt","round","square"]),strokeWidth:k,style:o.a.object,trailColor:o.a.string,trailWidth:k};function T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function M(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var o=K(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?L(e):t}function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(i,e);var t,n,r,o=A(i);function i(){var e;D(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return V(L(e=o.call.apply(o,[this].concat(n))),"paths",{}),e}return t=i,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,o=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,s=t.strokeWidth,c=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=M(t,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete d.gapPosition;var m=Array.isArray(r)?r:[r],h=Array.isArray(i)?i:[i],y=s/2,v=100-s/2,b="M ".concat("round"===l?y:0,",").concat(y,"\n L ").concat("round"===l?v:100,",").concat(y),g="0 0 100 ".concat(s),O=0;return a.a.createElement("svg",T({className:"".concat(o,"-line ").concat(n),viewBox:g,preserveAspectRatio:"none",style:c},d),a.a.createElement("path",{className:"".concat(o,"-line-trail"),d:b,strokeLinecap:l,stroke:u,strokeWidth:f||s,fillOpacity:"0"}),m.map((function(t,n){var r={strokeDasharray:"".concat(t,"px, 100px"),strokeDashoffset:"-".concat(O,"px"),transition:p||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},i=h[n]||h[h.length-1];return O+=t,a.a.createElement("path",{key:n,className:"".concat(o,"-line-path"),d:b,strokeLinecap:l,stroke:i,strokeWidth:s,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&F(t.prototype,n),r&&F(t,r),i}(i.Component);U.propTypes=N,U.defaultProps=P;C(U);function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){J(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function W(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=X(e);if(t){var o=X(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Q(this,n)}}function Q(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Z(e):t}function Z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $=0;function ee(e){return+e.replace("%","")}function te(e){return Array.isArray(e)?e:[e]}function ne(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5?arguments[5]:void 0,a=50-r/2,l=0,s=-a,c=0,u=-2*a;switch(i){case"left":l=-a,s=0,c=2*a,u=0;break;case"right":l=a,s=0,c=-2*a,u=0;break;case"bottom":s=a,u=2*a}var f="M 50,50 m ".concat(l,",").concat(s,"\n a ").concat(a,",").concat(a," 0 1 1 ").concat(c,",").concat(-u,"\n a ").concat(a,",").concat(a," 0 1 1 ").concat(-c,",").concat(u),p=2*Math.PI*a,d={stroke:n,strokeDasharray:"".concat(t/100*(p-o),"px ").concat(p,"px"),strokeDashoffset:"-".concat(o/2+e/100*(p-o),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:f,pathStyle:d}}var re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}(i,e);var t,n,r,o=Y(i);function i(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),J(Z(e=o.call(this)),"paths",{}),J(Z(e),"gradientId",0),e.gradientId=$,$+=1,e}return t=i,(n=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,o=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,s=t.gapDegree,c=t.gapPosition,u=te(r),f=te(o),p=0;return u.map((function(t,r){var o=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(o)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=ne(p,t,o,i,s,c),m=d.pathString,h=d.pathStyle;return p+=t,a.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:m,stroke:u,strokeLinecap:l,strokeWidth:i,opacity:0===t?0:1,fillOpacity:"0",style:h,ref:function(t){e.paths[r]=t}})}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,o=e.gapDegree,i=e.gapPosition,l=e.trailColor,s=e.strokeLinecap,c=e.style,u=e.className,f=e.strokeColor,p=W(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=ne(0,100,l,n,o,i),m=d.pathString,h=d.pathStyle;delete p.percent;var y=te(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return a.a.createElement("svg",z({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:c},p),y&&a.a.createElement("defs",null,a.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(this.gradientId),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(y).sort((function(e,t){return ee(e)-ee(t)})).map((function(e,t){return a.a.createElement("stop",{key:t,offset:e,stopColor:y[e]})})))),a.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:m,stroke:l,strokeLinecap:s,strokeWidth:r||n,fillOpacity:"0",style:h}),this.getStokeList().reverse())}}])&&H(t.prototype,n),r&&H(t,r),i}(i.Component);re.propTypes=q(q({},N),{},{gapPosition:o.a.oneOf(["top","bottom","left","right"])}),re.defaultProps=q(q({},P),{},{gapPosition:"top"});var oe=C(re);var ie={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function ae(e){var t=e.percent,n=e.successPercent,r=d(t);if(!n)return r;var o=d(n);return[n,d(r-o)]}var le=function(e){var t,n,r,o,a,l,c,u=e.prefixCls,f=e.width,p=e.strokeWidth,d=e.trailColor,m=e.strokeLinecap,h=e.gapPosition,y=e.gapDegree,v=e.type,b=e.children,g=f||120,O={width:g,height:g,fontSize:.15*g+6},w=p||6,E=h||"dashboard"===v&&"bottom"||"top",x=y||("dashboard"===v?75:void 0),S=(n=(t=e).progressStatus,r=t.successPercent,o=t.strokeColor||ie[n],r?[ie.success,o]:o),_="[object Object]"===Object.prototype.toString.call(S),j=s()("".concat(u,"-inner"),(a={},l="".concat(u,"-circle-gradient"),c=_,l in a?Object.defineProperty(a,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[l]=c,a));return i.createElement("div",{className:j,style:O},i.createElement(oe,{percent:ae(e),strokeWidth:w,trailWidth:w,strokeColor:S,strokeLinecap:m,trailColor:d,prefixCls:u,gapDegree:x,gapPosition:E}),b)};function se(e){return(se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function de(e,t){return(de=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ve(e);if(t){var o=ve(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return he(this,n)}}function he(e,t){return!t||"object"!==se(t)&&"function"!=typeof t?ye(e):t}function ye(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ve(e){return(ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ge=Object(p.a)("line","circle","dashboard"),Oe=Object(p.a)("normal","exception","active","success"),we=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&de(e,t)}(a,e);var t,n,r,o=me(a);function a(){var e;return fe(this,a),(e=o.apply(this,arguments)).renderProgress=function(t){var n,r,o=t.getPrefixCls,a=ye(e).props,l=a.prefixCls,u=a.className,f=a.size,p=a.type,d=a.showInfo,m=be(a,["prefixCls","className","size","type","showInfo"]),h=o("progress",l),y=e.getProgressStatus(),v=e.renderProcessInfo(h,y);"line"===p?r=i.createElement(g,ue({},e.props,{prefixCls:h}),v):"circle"!==p&&"dashboard"!==p||(r=i.createElement(le,ue({},e.props,{prefixCls:h,progressStatus:y}),v));var b=s()(h,(ce(n={},"".concat(h,"-").concat("dashboard"===p?"circle":p),!0),ce(n,"".concat(h,"-status-").concat(y),!0),ce(n,"".concat(h,"-show-info"),d),ce(n,"".concat(h,"-").concat(f),f),n),u);return i.createElement("div",ue({},Object(c.a)(m,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:b}),r)},e}return t=a,(n=[{key:"getPercentNumber",value:function(){var e=this.props,t=e.successPercent,n=e.percent,r=void 0===n?0:n;return parseInt(void 0!==t?t.toString():r.toString(),10)}},{key:"getProgressStatus",value:function(){var e=this.props.status;return Oe.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,r=this.props,o=r.showInfo,a=r.format,l=r.type,s=r.percent,c=r.successPercent;if(!o)return null;var f="circle"===l||"dashboard"===l?"":"-circle";return a||"exception"!==t&&"success"!==t?n=(a||function(e){return"".concat(e,"%")})(d(s),d(c)):"exception"===t?n=i.createElement(u.default,{type:"close".concat(f),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=i.createElement(u.default,{type:"check".concat(f),theme:"line"===l?"filled":"outlined"})),i.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return i.createElement(f.a,null,this.renderProgress)}}])&&pe(t.prototype,n),r&&pe(t,r),a}(i.Component);we.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},we.propTypes={status:r.oneOf(Oe),type:r.oneOf(ge),showInfo:r.bool,percent:r.number,width:r.number,strokeWidth:r.number,strokeLinecap:r.oneOf(["round","square"]),strokeColor:r.oneOfType([r.string,r.object]),trailColor:r.string,format:r.func,gapDegree:r.number};t.default=we},CZoQ:function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},Cwc5:function(e,t,n){var r=n("NKxu"),o=n("Npjl");e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},D8SU:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("em44")},DN2a:function(e,t){window.MutationObserver||(window.MutationObserver=function(e){function t(e){this.i=[],this.m=e}function n(t){var n,r={type:null,target:null,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:null,attributeNamespace:null,oldValue:null};for(n in t)r[n]!==e&&t[n]!==e&&(r[n]=t[n]);return r}function r(t,r){var l=i(t,r);return function(c){var u=c.length;if(r.a&&3===t.nodeType&&t.nodeValue!==l.a&&c.push(new n({type:"characterData",target:t,oldValue:l.a})),r.b&&l.b&&o(c,t,l.b,r.f),r.c||r.g)var f=function(t,r,i,l){function c(e,r,i,a,s){var c,f,p,d=e.length-1;for(s=-~((d-s)/2);p=e.pop();)c=i[p.j],f=a[p.l],l.c&&s&&Math.abs(p.j-p.l)>=d&&(t.push(n({type:"childList",target:r,addedNodes:[c],removedNodes:[c],nextSibling:c.nextSibling,previousSibling:c.previousSibling})),s--),l.b&&f.b&&o(t,c,f.b,l.f),l.a&&3===c.nodeType&&c.nodeValue!==f.a&&t.push(n({type:"characterData",target:c,oldValue:f.a})),l.g&&u(c,f)}function u(r,i){for(var p,d,m,h,y,v=r.childNodes,b=i.c,g=v.length,O=b?b.length:0,w=0,E=0,x=0;E<g||x<O;)(h=v[E])===(y=(m=b[x])&&m.node)?(l.b&&m.b&&o(t,h,m.b,l.f),l.a&&m.a!==e&&h.nodeValue!==m.a&&t.push(n({type:"characterData",target:h,oldValue:m.a})),d&&c(d,r,v,b,w),l.g&&(h.childNodes.length||m.c&&m.c.length)&&u(h,m),E++,x++):(f=!0,p||(p={},d=[]),h&&(p[m=a(h)]||(p[m]=!0,-1===(m=s(b,h,x,"node"))?l.c&&(t.push(n({type:"childList",target:r,addedNodes:[h],nextSibling:h.nextSibling,previousSibling:h.previousSibling})),w++):d.push({j:E,l:m})),E++),y&&y!==v[E]&&(p[m=a(y)]||(p[m]=!0,-1===(m=s(v,y,E))?l.c&&(t.push(n({type:"childList",target:i.node,removedNodes:[y],nextSibling:b[x+1],previousSibling:b[x-1]})),w--):d.push({j:m,l:x})),x++));d&&c(d,r,v,b,w)}var f;return u(r,i),f}(c,t,l,r);(f||c.length!==u)&&(l=i(t,r))}}function o(t,r,o,i){for(var a,l,s={},c=r.attributes,f=c.length;f--;)l=(a=c[f]).name,i&&i[l]===e||(u(r,a)!==o[l]&&t.push(n({type:"attributes",target:r,attributeName:l,oldValue:o[l],attributeNamespace:a.namespaceURI})),s[l]=!0);for(l in o)s[l]||t.push(n({target:r,type:"attributes",attributeName:l,oldValue:o[l]}))}function i(e,t){var n=!0;return function e(r){var o={node:r};return!t.a||3!==r.nodeType&&8!==r.nodeType?(t.b&&n&&1===r.nodeType&&(o.b=l(r.attributes,(function(e,n){return t.f&&!t.f[n.name]||(e[n.name]=u(r,n)),e}),{})),n&&(t.c||t.a||t.b&&t.g)&&(o.c=function(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r,e);return n}(r.childNodes,e)),n=t.g):o.a=r.nodeValue,o}(e)}function a(e){try{return e.id||(e.mo_id=e.mo_id||f++)}catch(t){try{return e.nodeValue}catch(e){return f++}}}function l(e,t,n){for(var r=0;r<e.length;r++)n=t(n,e[r],r,e);return n}function s(e,t,n,r){for(;n<e.length;n++)if((r?e[n][r]:e[n])===t)return n;return-1}t._period=30,t.prototype={observe:function(e,n){for(var o={b:!!(n.attributes||n.attributeFilter||n.attributeOldValue),c:!!n.childList,g:!!n.subtree,a:!(!n.characterData&&!n.characterDataOldValue)},i=this.i,a=0;a<i.length;a++)i[a].s===e&&i.splice(a,1);n.attributeFilter&&(o.f=l(n.attributeFilter,(function(e,t){return e[t]=!0,e}),{})),i.push({s:e,o:r(e,o)}),this.h||function(e){!function n(){var r=e.takeRecords();r.length&&e.m(r,e),e.h=setTimeout(n,t._period)}()}(this)},takeRecords:function(){for(var e=[],t=this.i,n=0;n<t.length;n++)t[n].o(e);return e},disconnect:function(){this.i=[],clearTimeout(this.h),this.h=null}};var c=document.createElement("i");c.style.top=0;var u=(c="null"!=c.attributes.style.value)?function(e,t){return t.value}:function(e,t){return"style"!==t.name?t.value:e.style.cssText},f=1;return t}(void 0))},E2jh:function(e,t,n){var r,o=n("2gN3"),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},EXcs:function(e,t,n){"use strict";var r=function(){return{height:0,opacity:0}},o=function(e){return{height:e.scrollHeight,opacity:1}},i={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:r};t.a=i},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},EpBk:function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),i=n("Gv54"),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,i){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,i),void 0!==t&&a.default.type(e,t,r,l,i)}n(l)}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),i=n("wJg7"),a=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,s){if(!a(e))return e;for(var c=-1,u=(t=o(t,e)).length,f=u-1,p=e;null!=p&&++c<u;){var d=l(t[c]),m=n;if(c!=f){var h=p[d];void 0===(m=s?s(h,d,p):void 0)&&(m=a(h)?h:i(t[c+1])?[]:{})}r(p,d,m),p=p[d]}return e}},Fyak:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),o=d(n("ZTPi")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("AUBz");var l=n("q1tI"),s=d(l);n("6JOy"),n("js5m");var c=d(n("AubP")),u=d(n("dIAb")),f=d(n("aABL")),p=d(n("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}var m=o.default.TabPane,h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props,t=e.footer_type,r=e.data;if(t){var o=n.props.match.params,i=o.projectsId,a=o.owner,l=o.mergeId;n.getCommit(a,i,l),n.getFile(a,i,l)}n.setState({activeKey:t?"1":"2",commitCount:r&&r.commits_count,filesCount:r&&r.files_count})},n.componentDidUpdate=function(e){var t=n.props.comparesData,r=n.props.footer_type;if(r){var o=n.props.data;o!==e.data&&n.setState({commitCount:o&&o.commits_count,filesCount:o&&o.files_count})}t!==e.comparesData&&(n.setState({activeKey:r?"1":"2"}),n.changeTab(r?"1":"2"))},n.changeTab=function(e){n.setState({isSpin:!0}),n.setState({activeKey:e});var t=n.props,r=t.footer_type,o=t.comparesData,i=n.props.match.params,a=i.projectsId,l=i.owner,s=i.mergeId;r?"2"===e?n.getCommit(l,a,s):"3"===e?n.getFile(l,a,s):n.setState({isSpin:!1}):n.setState({commitsData:o.commits,filesData:o.diff,commitCount:o.commits_count,filesCount:o.diff&&o.diff.files_count,isSpin:!1})},n.getCommit=function(e,t,r){var o="/"+e+"/"+t+"/pulls/"+r+"/commits.json";p.default.get(o).then((function(e){e&&n.setState({commitsData:e.data.commits,isSpin:!1,commitCount:e.data.commits_count})})).catch((function(e){}))},n.getFile=function(e,t,r){var o="/"+e+"/"+t+"/pulls/"+r+"/files.json";p.default.get(o).then((function(e){e&&n.setState({filesData:e.data,isSpin:!1,filesCount:e.data.files_count})})).catch((function(e){}))},n.state={pageData:void 0,commitsData:void 0,filesData:void 0,isSpin:!1,activeKey:"1",commitCount:0,filesCount:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner,a=this.props,l=a.footer_type,p=a.order_id,d=a.data,h=a.comparesData,y=this.state,v=y.isSpin,b=y.activeKey,g=y.filesCount,O=y.commitCount,w=y.filesData,E=y.commitsData;return!l&&!h||h&&(h.commits&&0===h.commits.length||h&&!h.diff)?"":s.default.createElement("div",{className:"main mergeRequest",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:v},s.default.createElement(o.default,{activeKey:b,className:"custom-commit-tabs",animated:!1,onChange:this.changeTab},l&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"评论"),d&&parseInt(d.comments_count)>0&&s.default.createElement("span",{className:"tabNum"},d.comments_count)),key:"1"},s.default.createElement(u.default,i({order_id:p,showNotification:this.props.showNotification,only_show_content:!0},this.props))),E&&E.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"提交"),O>0&&s.default.createElement("span",{className:"tabNum"},O)),key:"2"},s.default.createElement(c.default,i({},this.props,{commits:E,projectsId:t,owner:n}))),w&&w.files&&w.files.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"文件"),g>0&&s.default.createElement("span",{className:"tabNum"},g)),key:"3"},s.default.createElement(f.default,i({},this.props,{data:w,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},GNiM:function(e,t,n){var r=n("I01J"),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},GZbg:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0"));t.default=function(e,t,n,o,i){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(i.messages.enum,e.fullField,e.enum.join(", ")))}},Gv54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("l1rO")),o=c(n("AU0A")),i=c(n("oEMi")),a=c(n("l8PK")),l=c(n("GZbg")),s=c(n("moXY"));function c(e){return e&&e.__esModule?e:{default:e}}t.default={required:r.default,whitespace:o.default,type:i.default,range:a.default,enum:l.default,pattern:s.default}},Gytx:function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<i.length;s++){var c=i[s];if(!l(c))return!1;var u=e[c],f=t[c];if(!1===(o=n?n.call(r,u,f,c):void 0)||void 0===o&&u!==f)return!1}return!0}},H8j4:function(e,t,n){var r=n("QkVE");e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),(0,a.isEmptyValue)(t)||i.default.type(e,t,r,l,o)}n(l)}},Hvzi:function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},I01J:function(e,t,n){var r=n("44Ds");e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},IX3V:function(e,t){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},JHgL:function(e,t,n){var r=n("QkVE");e.exports=function(e){return r(this,e).get(e)}},JSQU:function(e,t,n){var r=n("YESw");e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},JTzB:function(e,t,n){var r=n("NykK"),o=n("ExA7");e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},"KM+8":function(e,t,n){},KMkd:function(e,t){e.exports=function(){this.__data__=[],this.size=0}},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"string")&&!e.required)return n();i.default.required(e,t,r,l,o),(0,a.isEmptyValue)(t,"string")||i.default.pattern(e,t,r,l,o)}n(l)}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),i=n("Xt/L"),a=n("xYSL"),l=n("dQpi"),s=n("rEGp");e.exports=function(e,t,n){var c=-1,u=o,f=e.length,p=!0,d=[],m=d;if(n)p=!1,u=i;else if(f>=200){var h=t?null:l(e);if(h)return s(h);p=!1,u=a,m=new r}else m=t?[]:d;e:for(;++c<f;){var y=e[c],v=t?t(y):y;if(y=n||0!==y?y:0,p&&v==v){for(var b=m.length;b--;)if(m[b]===v)continue e;t&&m.push(v),d.push(y)}else u(m,v,n)||(m!==d&&m.push(v),d.push(y))}return d}},LXko:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("74dF"),n("vAZS"),n("04bd"),n("YQTV"),n("4t1q")},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),i=p(n("NJEC")),a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),s=p(l),c=n("eO8H"),u=p(n("vDqi")),f=p(n("UQ5L"));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){n.setState({canDelete:n.props.canDelete})},n.show_video_modal=function(e){n.setState({video_title:e.title,move_spin:!0,video_id:e.id}),n.move_attachment(e.id,"preview")},n.hide_video_modal=function(){var e=n.state.video_id;n.setState({video_title:void 0}),n.move_attachment(e,"close")},n.move_attachment=function(e,t){u.default.post("/attachments/"+e+"/preview_attachment",{status:t}).then((function(e){e?n.setState({show_video:"preview"===t,video_url:"preview"===t?"https://forgeplus.trustie.net"+e.data.url:void 0,move_spin:!1}):n.setState({move_spin:!1})})).catch((function(e){n.setState({move_spin:!1}),console.log(e)}))},n.is_video=function(e){return["mp4","flv","mkv","3gp"].indexOf(e.split(".").pop())>-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,a=t.canDelete,l=t.show_video,u=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return s.default.createElement("div",null,m?s.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return s.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},s.default.createElement(o.default,{spinning:d},e.is_video(t.title)?s.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)):s.default.createElement(c.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)),a?s.default.createElement(i.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},s.default.createElement("span",{className:"attachment-list-delete fr"},s.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?s.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},s.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},MrPd:function(e,t,n){var r=n("hypo"),o=n("ljhN"),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),i=n("3S7+"),a=n("CtXQ"),l=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(f,e);var t,n,o,a=h(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=a.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(v(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(v(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,n){var o=t.props,i=o.okButtonProps,a=o.cancelButtonProps,s=o.title,c=o.cancelText,u=o.okText,f=o.okType,d=o.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},d,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},a),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},i),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,a=o.prefixCls,l=o.placement,u=g(o,["prefixCls","placement"]),f=n("popover",a),d=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(i.default,p({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return t=f,o=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(n=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var n=this.props;"visible"in n||this.setState({visible:e});var r=n.onVisibleChange;r&&r(e,t)}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderConfirm)}}])&&d(t.prototype,n),o&&d(t,o),f}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(a.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},NKxu:function(e,t,n){var r=n("lSCD"),o=n("E2jh"),i=n("GoyQ"),a=n("3Fdi"),l=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,u=s.toString,f=c.hasOwnProperty,p=RegExp("^"+u.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:l).test(a(e))}},Npjl:function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},O0oS:function(e,t,n){var r=n("Cwc5"),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},OFL0:function(e,t,n){var r=n("lvO4"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},OQrj:function(e,t,n){},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},QCvN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n("W9HT")),o=y(n("2/Rp")),i=y(n("Vl3Y")),a=y(n("5rEg")),l=y(n("mr32")),s=y(n("BvKs")),c=y(n("2fM7")),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("L/Qf"),n("tULf"),n("1vPl"),n("0lcf"),n("2WkQ"),n("8QGh");var p=n("q1tI"),d=y(p),m=y(n("vDqi"));n("6JOy"),n("js5m");var h=y(n("p7gc"));function y(e){return e&&e.__esModule?e:{default:e}}var v=c.default.Option,b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.get_default_selects(),n.set_defatul()},n.componentDidUpdate=function(e){var t=n.props.match.params,r=t.projectsId,o=t.owner,i=e.match.params.projectsId,a=e.match.params.owner;i===r&&a===o||n.get_default_selects(),e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.get_default_selects=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner;n.setState({isSpin:!0}),m.default.get("/"+r+"/"+t+"/pulls/create_merge_infos.json").then((function(e){e&&n.setState({members:e.data.members,issue_tags:e.data.issue_tags,issue_versions:e.data.issue_versions,issue_priories:e.data.issue_priories}),n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.set_defatul=function(){var e=n.props,t=e.data,r=e.merge_type;t&&"edit"===r&&n.setState({desc:t.body,issue_tag_ids:t.issue_tag_ids?t.issue_tag_ids[0]:void 0,fixed_version_id:t.fixed_version_id?String(t.fixed_version_id):void 0,assigned_to_id:t.assigned_to_id?String(t.assigned_to_id):void 0,priority_id:t.priority_id?String(t.priority_id):void 0,title:t.title}),n.InitData()},n.InitData=function(){setTimeout((function(){n.props.form.setFieldsValue(u({},n.state))}),100)},n.onPanelChange=function(e,t){n.setState({value:e})},n.onSelect=function(e){n.setState({value:e,selectedValue:e})},n.renderMenu=function(e,t){return d.default.createElement(s.default,null,e&&e.length>0&&e.map((function(e,r){return d.default.createElement(s.default.Item,{key:e,onClick:function(){return n.getOption(e,t)}},e)})))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return d.default.createElement(v,{key:t+1,value:e.id+""},e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var r=n.props.match.params,o=r.projectsId,i=r.mergeId,a=r.owner,l=n.props,s=l.merge,c=l.pull,f=l.merge_type,p=l.data,d=l.commits_count,h=l.files_count;t.issue_tag_ids&&t.issue_tag_ids.length>0?t.issue_tag_ids=[parseInt(t.issue_tag_ids)]:t.issue_tag_ids=[];var y=n.state.desc;if("new"===f){var v="/"+a+"/"+o+"/pulls.json";m.default.post(v,u({},t,{body:y,head:c,base:s,is_original:p&&p.is_original,fork_project_id:p&&p.fork_project_id,merge_user_login:p&&p.merge_user_login,files_count:h,commits_count:d})).then((function(e){if(e){n.setState({isSpin:!1}),n.props.history.push("/"+a+"/"+o+"/pulls");var t=n.props.getDetail;t&&t()}else n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var b="/"+a+"/"+o+"/pulls/"+i+".json";m.default.put(b,u({},t,{body:y,head:c,base:s})).then((function(e){e?(n.setState({isSpin:!1}),n.props.history.push("/"+a+"/"+o+"/pulls/"+i+"/Messagecount")):n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}}))},n.onContentChange=function(e){n.setState({desc:e})},n.state={desc:void 0,issue_tag_ids:void 0,fixed_version_id:void 0,assigned_to_id:void 0,titledata:void 0,isSpin:!1,mergedata:void 0,priority_id:void 0,title:void 0,members:void 0,issue_tags:void 0,issue_versions:void 0,issue_priories:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),f(t,[{key:"render",value:function(){var e=this,t=this.props.merge_type,n=this.props.form.getFieldDecorator,s=this.props.match.params,u=s.projectsId,f=s.mergeId,p=s.owner,m=this.state,y=m.issue_tag_ids,b=m.fixed_version_id,g=m.assigned_to_id,O=m.priority_id,w=m.desc,E=m.isSpin,x=m.title,S=m.members,_=m.issue_tags,j=m.issue_versions,C=m.issue_priories;return d.default.createElement("div",null,d.default.createElement(r.default,{spinning:E},d.default.createElement("div",{className:"mb20"},d.default.createElement("span",{className:"font-16 fwb mr10 ver-middle"},"new"===t?"新建":"编辑","合并请求:"),d.default.createElement(l.default,{color:"#28BD6C",className:"ver-middle"},"可合并的")),d.default.createElement(i.default,null,d.default.createElement("div",{className:"width100 inline-block"},d.default.createElement("div",{className:"width70 pull-left"},d.default.createElement(i.default.Item,null,n("title",{rules:[{required:!0,message:"请填写请求标题"}],initialValue:x})(d.default.createElement(a.default,{placeholder:"标题",maxLength:50}))),d.default.createElement(h.default,{placeholder:"请输入合并请求的描述...",height:450,mdID:"merge-new-description",initValue:w,onChange:this.onContentChange}),d.default.createElement("p",{className:"clearfix mt20"},d.default.createElement(o.default,{type:"primary",loading:E,onClick:this.handleSubmit},d.default.createElement("span",{className:"plr10"},"new"===t?"创建":"提交")),d.default.createElement(o.default,{type:"default",className:"ml30",onClick:function(){e.props.history.push("new"===t?"/"+p+"/"+u+"/pulls":"/"+p+"/"+u+"/pulls/"+f+"/detail")}},d.default.createElement("span",{className:"plr10"},"取消")))),d.default.createElement("div",{className:"width30 pull-left"},d.default.createElement("div",{className:"pl30"},d.default.createElement(i.default.Item,null,n("assigned_to_id",{initialValue:g})(d.default.createElement(c.default,{placeholder:"未选择审查人员",showSearch:!0},d.default.createElement(v,{key:0,value:""},"未选择审查人员"),this.renderSelect(S)))),d.default.createElement(i.default.Item,null,n("fixed_version_id",{initialValue:b})(d.default.createElement(c.default,{placeholder:j&&j.length>0?"未选择里程碑":"请添加里程碑",showSearch:!0},d.default.createElement(v,{key:0,value:""},j&&j.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(j)))),d.default.createElement(i.default.Item,null,n("issue_tag_ids",{initialValue:y})(d.default.createElement(c.default,{placeholder:_&&_.length>0?"未选择标记":"请在仓库设置里添加标记",showSearch:!0},d.default.createElement(v,{key:0,value:""},_&&_.length>0?"未选择标记":"请在仓库设置里添加标记"),this.renderSelect(_)))),d.default.createElement(i.default.Item,null,n("priority_id",{initialValue:O})(d.default.createElement(c.default,{placeholder:"优先级",showSearch:!0},this.renderSelect(C))))))))))}}]),t}(p.Component),g=i.default.create({name:"NewMergeForm"})(b);t.default=g},QkVE:function(e,t,n){var r=n("EpBk");e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),i=n("CZoQ");e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},R3zJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=function(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},o=r(["flex","webkitFlex","Flex","msFlex"]);t.a=r},RqAY:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||"data-__"===n.substr(0,7)||(t[n]=e[n]),t}),{})}n.d(t,"a",(function(){return r}))},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],o=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),a=c(n("q1tI")),l=c(n("vOnD")),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,o=e.id,c=e.login,u=l.default.span(i,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return o?a.default.createElement(s.Link,{to:"/"+c},a.default.createElement(u,null,t&&a.default.createElement("img",{src:t,alt:""}),a.default.createElement("span",null,n))):a.default.createElement(u,null,t&&a.default.createElement("img",{src:t,alt:""}),a.default.createElement("span",null,n))}},SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],o=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],i=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],a=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],f=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,o){if(n){var i={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(i),o.push.apply(o,i.decorations)}}var d=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&d.test(n.nodeValue)?e:t}return t===e?void 0:t}function h(e,t){var n,r={};!function(){for(var o=e.concat(t),i=[],a={},l=0,s=o.length;l<s;++l){var c=o[l],u=c[3];if(u)for(var f=u.length;--f>=0;)r[u.charAt(f)]=c;var p=c[1],d=""+p;a.hasOwnProperty(d)||(i.push(p),a[d]=null)}i.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,i=e.length;o<i;++o){if((p=e[o]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var a={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=a[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],o=["["];r&&o.push("^");for(var i=r?1:0,a=t.length;i<a;++i){var c=t[i];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,f=l(c);i+2<a&&"-"===t[i+1]?(u=l(t[i+2]),i+=2):u=f,n.push([f,u]),u<65||f>122||(u<65||f>90||n.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||n.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],d=[];for(i=0;i<n.length;++i){(m=n[i])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(i=0;i<p.length;++i){var m=p[i];o.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&o.push("-"),o.push(s(m[1])))}return o.push("]"),o.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),o=r.length,i=[],a=0,l=0;a<o;++a){if("("===(f=r[a]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?i[u]=-1:r[a]=s(u))}}for(a=1;a<i.length;++a)-1===i[a]&&(i[a]=++t);for(a=0,l=0;a<o;++a){if("("===(f=r[a]))i[++l]||(r[a]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[a]="\\"+i[u])}}for(a=0;a<o;++a)"^"===r[a]&&"^"!==r[a+1]&&(r[a]="");if(e.ignoreCase&&n)for(a=0;a<o;++a){var f,p=(f=r[a]).charAt(0);f.length>=2&&"["===p?r[a]=c(f):"\\"!==p&&(r[a]=f.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var f=[];for(o=0,i=e.length;o<i;++o){var p;if((p=e[o]).global||p.multiline)throw new Error(""+p);f.push("(?:"+u(p)+")")}return new RegExp(f.join("|"),r?"gi":"g")}(i)}();var o=t.length,i=function(e){for(var a=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,f=a.match(n)||[],d={},m=0,h=f.length;m<h;++m){var y,v=f[m],b=d[v],g=void 0;if("string"==typeof b)y=!1;else{var O=r[v.charAt(0)];if(O)g=v.match(O[1]),b=O[0];else{for(var E=0;E<o;++E)if(O=t[E],g=v.match(O[1])){b=O[0];break}g||(b="pln")}!(y=b.length>=5&&"lang-"===b.substring(0,5))||g&&"string"==typeof g[1]||(y=!1,b="src"),y||(d[v]=b)}var x=u;if(u+=v.length,y){var S=g[1],_=v.indexOf(S),j=_+S.length;g[2]&&(_=(j=v.length-g[2].length)-S.length);var C=b.substring(5);p(s,l+x,v.substring(0,_),i,c),p(s,l+x+_,S,w(C,S),c),p(s,l+x+j,v.substring(j),i,c)}else c.push(l+x,b)}e.decorations=c};return i}function y(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var o=e.regexLiterals;if(o){var i=o>1?"":"\n\r",a=i?".":"[\\S\\s]",l="/(?=[^/*"+i+"])(?:[^/\\x5B\\x5C"+i+"]|\\x5C"+a+"|\\x5B(?:[^\\x5C\\x5D"+i+"]|\\x5C"+a+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),h(t,n)}var v=y({keywords:[r,i,o,a,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function b(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,i=e.ownerDocument,a=i.createElement("li");e.firstChild;)a.appendChild(e.firstChild);var l=[a];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var a=e.nodeValue,l=a.match(o);if(l){var u=a.substring(0,l.index);e.nodeValue=u;var f=a.substring(l.index+l[0].length);if(f)e.parentNode.insertBefore(i.createTextNode(f),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,o=t.parentNode;if(o){var i=e(o,1),a=t.nextSibling;i.appendChild(r);for(var l=a;l;l=a)a=l.nextSibling,i.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var f=i.createElement("ol");f.className="linenums";for(var p=Math.max(0,t-1|0)||0,d=(u=0,l.length);u<d;++u)(a=l[u]).className="L"+(u+p)%10,a.firstChild||a.appendChild(i.createTextNode(" ")),f.appendChild(a);e.appendChild(f)}var g={};function O(t,n){for(var r=n.length;--r>=0;){var o=n[r];g.hasOwnProperty(o)?e.console&&console.warn("cannot override language handler %s",o):g[o]=t}}function w(e,t){return e&&g.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),g[e]}function E(t){var n,r,o,i,a,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,i=[],a=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(o.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(i[s]="\n",l[s<<1]=a++,l[s++<<1|1]=t)}else if(3==n||4==n){var f=t.nodeValue;f.length&&(f=r?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),i[s]=f,l[s<<1]=a,a+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:i.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,w(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,o=/\n/g,i=e.sourceCode,a=i.length,l=0,s=e.spans,c=s.length,u=0,f=e.decorations,p=f.length,d=0;for(f[p]=a,r=n=0;r<p;)f[r]!==f[r+2]?(f[n++]=f[r++],f[n++]=f[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=f[r],h=f[r+1],y=r+2;y+2<=p&&f[y+1]===h;)y+=2;f[n++]=m,f[n++]=h,r=y}p=f.length=n;var v=e.sourceNode,b="";v&&(b=v.style.display,v.style.display="none");try{for(;u<c;){s[u];var g,O=s[u+2]||a,w=f[d+2]||a,E=(y=Math.min(O,w),s[u+1]);if(1!==E.nodeType&&(g=i.substring(l,y))){t&&(g=g.replace(o,"\r")),E.nodeValue=g;var x=E.ownerDocument,S=x.createElement("span");S.className=f[d+1];var _=E.parentNode;_.replaceChild(S,E),S.appendChild(E),l<O&&(s[u+1]=E=x.createTextNode(i.substring(y,O)),_.insertBefore(E,S.nextSibling))}(l=y)>=O&&(u+=2),l>=w&&(d+=2)}}finally{v&&(v.style.display=b)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function x(e,t,n){var r=n||!1,o=t||null,i=document.createElement("div");return i.innerHTML="<pre>"+e+"</pre>",i=i.firstChild,r&&b(i,r,!0),E({langExtension:o,numberLines:r,sourceNode:i,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),i.innerHTML}function S(t,n){var r=n||document.body,o=r.ownerDocument||document;function i(e){return r.getElementsByTagName(e)}for(var a=[i("pre"),i("code"),i("xmp")],l=[],s=0;s<a.length;++s)for(var c=0,u=a[s].length;c<u;++c)l.push(a[s][c]);a=null;var f=Date;f.now||(f={now:function(){return+new Date}});var p=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,y=/\bprettyprinted\b/,v=/pre|xmp/i,g=/^code$/i,O=/^(?:pre|code|xmp)$/i,w={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var i=l[p],a=w,s=i;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){a={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){a[t]=n}));break}}var x=i.className;if((a!==w||h.test(x))&&!y.test(x)){for(var S=!1,_=i.parentNode;_;_=_.parentNode){var j=_.tagName;if(O.test(j)&&_.className&&h.test(_.className)){S=!0;break}}if(!S){i.className+=" prettyprinted";var C,P,k=a.lang;if(!k)!(k=x.match(d))&&(C=m(i))&&g.test(C.tagName)&&(k=C.className.match(d)),k&&(k=k[1]);if(v.test(i.tagName))P=1;else{var N=i.currentStyle,T=o.defaultView,M=N?N.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(i,null).getPropertyValue("white-space"):0;P=M&&"pre"===M.substring(0,3)}var D=a.linenums;(D="true"===D||+D)||(D=!!(D=x.match(/\blinenums\b(?::(\d+))?/))&&(!D[1]||!D[1].length||+D[1])),D&&b(i,D,P),E({langExtension:k,sourceNode:i,numberLines:D,pre:P,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}O(v,["default-code"]),O(h([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),O(h([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),O(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),O(y({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),O(y({keywords:"null,true,false"}),["json"]),O(y({keywords:i,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),O(y({keywords:o,cStyleComments:!0}),["java"]),O(y({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),O(y({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),O(y({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),O(y({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),O(y({keywords:a,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),O(y({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),O(h([],[["str",/^[\s\S]+/]]),["regex"]);var _=e.PR={createSimpleLexer:h,registerLangHandler:O,sourceDecorator:y,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:x,prettyPrint:S},j=e.define;"function"==typeof j&&j.amd&&j("google-code-prettify",[],(function(){return _}))}()},SfRM:function(e,t,n){var r=n("YESw");e.exports=function(){this.__data__=r?r(null):{},this.size=0}},Sxd8:function(e,t,n){var r=n("ZCgT");e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},TZyB:function(e,t,n){},UQ5L:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=n("q1tI"),i=l(o),a=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,o.useState)(null),n=r(t,2),l=n[0],s=n[1];return(0,o.useEffect)((function(){s(e.video_url)}),[]),i.default.createElement(a.default,{url:l,controls:!0,playing:!1})}},UeuU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n("Gv54"),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,i){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);a.default.required(e,t,r,l,i,s),n(l)}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),i=n("Sxd8"),a=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:i(n);return s<0&&(s=a(l+s,0)),r(e,o(t,3),s)}},"V/6I":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=!!e,n=e||p;return function(f){var p=function(i){function s(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e,t));return r.handleChange=function(){if(r.unsubscribe){var e=n(r.store.getState(),r.props);r.setState({subscribed:e})}},r.store=t.miniStore,r.state={subscribed:n(r.store.getState(),e),store:r.store,props:e},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,i),o(s,null,[{key:"getDerivedStateFromProps",value:function(t,r){return e&&2===e.length&&t!==r.props?{subscribed:n(r.store.getState(),t),props:t}:{props:t}}}]),o(s,[{key:"componentDidMount",value:function(){this.trySubscribe()}},{key:"componentWillUnmount",value:function(){this.tryUnsubscribe()}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,l.default)(this.props,e)||!(0,l.default)(this.state.subscribed,t.subscribed)}},{key:"trySubscribe",value:function(){t&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())}},{key:"tryUnsubscribe",value:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)}},{key:"getWrappedInstance",value:function(){return this.wrappedInstance}},{key:"render",value:function(){var e=this,t=r({},this.props,this.state.subscribed,{store:this.store});return f.prototype.render&&(t=r({},t,{ref:function(t){return e.wrappedInstance=t}})),a.default.createElement(f,t)}}]),s}(i.Component);return p.displayName="Connect("+function(e){return e.displayName||e.name||"Component"}(f)+")",p.contextTypes={miniStore:u.storeShape.isRequired},(0,c.polyfill)(p),(0,s.default)(p,f)}};var i=n("q1tI"),a=f(i),l=f(n("Gytx")),s=f(n("+LrT")),c=n("VCL8"),u=n("VIrW");function f(e){return e&&e.__esModule?e:{default:e}}var p=function(){return{}}},VIrW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.storeShape=void 0;var r,o=n("17x9"),i=(r=o)&&r.__esModule?r:{default:r};t.storeShape=i.default.shape({subscribe:i.default.func.isRequired,setState:i.default.func.isRequired,getState:i.default.func.isRequired})},VPG4:function(e,t,n){},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return R}));var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),l=n("BGR+"),s=n("W9HT"),c=n("H84U"),u=n("NUBc"),f=n("qrJ5"),p=n("/kpp");function d(e){if(!r.isValidElement(e))return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return r.cloneElement.apply(r,[e].concat(n))}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(){return(E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function S(e,t){return e[t]&&Math.floor(24/e[t])}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(l,e);var t,n,o,i=g(l);function l(){var e;return y(this,l),(e=i.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,o=e.context,i=o.grid,l=o.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=x(s,["prefixCls","children","actions","extra","className"]),b=n("list",c),g=f&&f.length>0&&r.createElement("ul",{className:"".concat(b,"-item-action"),key:"actions"},f.map((function(e,t){return r.createElement("li",{key:"".concat(b,"-item-action-").concat(t)},e,t!==f.length-1&&r.createElement("em",{className:"".concat(b,"-item-action-split")}))}))),O=i?"div":"li",w=r.createElement(O,E({},v,{className:a()("".concat(b,"-item"),y,h({},"".concat(b,"-item-no-flex"),!e.isFlexMode()))}),"vertical"===l&&m?[r.createElement("div",{className:"".concat(b,"-item-main"),key:"content"},u,g),r.createElement("div",{className:"".concat(b,"-item-extra"),key:"extra"},m)]:[u,g,d(m,{key:"extra"})]);return i?r.createElement(p.a,{span:S(i,"column"),xs:S(i,"xs"),sm:S(i,"sm"),md:S(i,"md"),lg:S(i,"lg"),xl:S(i,"xl"),xxl:S(i,"xxl")},w):w},e}return t=l,(n=[{key:"isItemContainsTextNodeAndNotSingular",value:function(){var e,t=this.props.children;return r.Children.forEach(t,(function(t){"string"==typeof t&&(e=!0)})),e&&r.Children.count(t)>1}},{key:"isFlexMode",value:function(){var e=this.props.extra;return"vertical"===this.context.itemLayout?!!e:!this.isItemContainsTextNodeAndNotSingular()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderItem)}}])&&v(t.prototype,n),o&&v(t,o),l}(r.Component);function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k(){return(k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I(e);if(t){var o=I(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return F(this,n)}}function F(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}_.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,o=e.prefixCls,i=e.className,l=e.avatar,s=e.title,c=e.description,u=x(e,["prefixCls","className","avatar","title","description"]),f=n("list",o),p=a()("".concat(f,"-item-meta"),i),d=r.createElement("div",{className:"".concat(f,"-item-meta-content")},s&&r.createElement("h4",{className:"".concat(f,"-item-meta-title")},s),c&&r.createElement("div",{className:"".concat(f,"-item-meta-description")},c));return r.createElement("div",E({},u,{className:p}),l&&r.createElement("div",{className:"".concat(f,"-item-meta-avatar")},l),(s||c)&&d)}))},_.contextTypes={grid:o.any,itemLayout:o.string};var A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(p,e);var t,n,o,i=D(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=i.call(this,e)).defaultPaginationProps={current:1,total:0},t.keys={},t.onPaginationChange=t.triggerPaginationEvent("onChange"),t.onPaginationShowSizeChange=t.triggerPaginationEvent("onShowSizeChange"),t.renderItem=function(e,n){var r,o=t.props,i=o.renderItem,a=o.rowKey;return i?((r="function"==typeof a?a(e):"string"==typeof a?e[a]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,i(e,n)):null},t.renderEmpty=function(e,n){var o=t.props.locale;return r.createElement("div",{className:"".concat(e,"-empty-text")},o&&o.emptyText||n("List"))},t.renderList=function(e){var n,o=e.getPrefixCls,i=e.renderEmpty,c=t.state,p=c.paginationCurrent,d=c.paginationSize,m=t.props,h=m.prefixCls,y=m.bordered,v=m.split,b=m.className,g=m.children,O=m.itemLayout,w=m.loadMore,E=m.pagination,x=m.grid,S=m.dataSource,_=void 0===S?[]:S,j=m.size,P=m.header,T=m.footer,M=m.loading,D=A(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),F=o("list",h),I=M;"boolean"==typeof I&&(I={spinning:I});var R=I&&I.spinning,L="";switch(j){case"large":L="lg";break;case"small":L="sm"}var K=a()(F,b,(N(n={},"".concat(F,"-vertical"),"vertical"===O),N(n,"".concat(F,"-").concat(L),L),N(n,"".concat(F,"-split"),v),N(n,"".concat(F,"-bordered"),y),N(n,"".concat(F,"-loading"),R),N(n,"".concat(F,"-grid"),x),N(n,"".concat(F,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),V=k(k(k({},t.defaultPaginationProps),{total:_.length,current:p,pageSize:d}),E||{}),U=Math.ceil(V.total/V.pageSize);V.current>U&&(V.current=U);var B,q=E?r.createElement("div",{className:"".concat(F,"-pagination")},r.createElement(u.default,k({},V,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,z=C(_);if(E&&_.length>(V.current-1)*V.pageSize&&(z=C(_).splice((V.current-1)*V.pageSize,V.pageSize)),B=R&&r.createElement("div",{style:{minHeight:53}}),z.length>0){var W=z.map((function(e,n){return t.renderItem(e,n)})),H=[];r.Children.forEach(W,(function(e,n){H.push(r.cloneElement(e,{key:t.keys[n]}))})),B=x?r.createElement(f.a,{gutter:x.gutter},H):r.createElement("ul",{className:"".concat(F,"-items")},H)}else g||R||(B=t.renderEmpty(F,i));var G=V.position||"bottom";return r.createElement("div",k({className:K},Object(l.a)(D,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&q,P&&r.createElement("div",{className:"".concat(F,"-header")},P),r.createElement(s.default,I,B,g),T&&r.createElement("div",{className:"".concat(F,"-footer")},T),w||("bottom"===G||"both"===G)&&q)};var n=e.pagination,o=n&&"object"===j(n)?n:{};return t.state={paginationCurrent:o.defaultCurrent||1,paginationSize:o.defaultPageSize||10},t}return t=p,(n=[{key:"getChildContext",value:function(){return{grid:this.props.grid,itemLayout:this.props.itemLayout}}},{key:"triggerPaginationEvent",value:function(e){var t=this;return function(n,r){var o=t.props.pagination;t.setState({paginationCurrent:n,paginationSize:r}),o&&o[e]&&o[e](n,r)}}},{key:"isSomethingAfterLastItem",value:function(){var e=this.props,t=e.loadMore,n=e.pagination,r=e.footer;return!!(t||n||r)}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderList)}}])&&T(t.prototype,n),o&&T(t,o),p}(r.Component);R.Item=_,R.childContextTypes={grid:o.any,itemLayout:o.string},R.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n("TSYQ"),l=n.n(a),s=n("QbLZ"),c=n.n(s),u=n("i8i4"),f=n.n(u),p=n("9Do8"),d=n.n(p),m=n("OFL0"),h=n.n(m),y=n("jo6Y"),v=n.n(y),b=n("YEIV"),g=n.n(b),O=n("m1cH"),w=n.n(O),E=n("fhzG"),x=n.n(E),S=n("aGtg"),_=n("oV5b"),j=n.n(_),C=n("2W6z"),P=n.n(C),k=n("mwIZ"),N=n.n(k),T=n("D1y2"),M=n.n(T),D=n("ljhN"),F=n.n(D),I=n("iCc5"),A=n.n(I),R=n("V7oC"),L=n.n(R),K=function e(t){A()(this,e),c()(this,t)};function V(e){return e instanceof K}function U(e){return V(e)?e:new K(e)}var B=n("2mql"),q=n.n(B);function z(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,q()(e,t)}function W(e){return e}function H(e){return Array.prototype.concat.apply([],e)}function G(e,t,n){var r={};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1],r=arguments[2],o=arguments[3],i=arguments[4];if(r(t,n))i(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,a){return e(t+"["+a+"]",n,r,o,i)}));else{if("object"!=typeof n)return void P()(!1,o);Object.keys(n).forEach((function(a){var l=n[a];e(t+(t?".":"")+a,l,r,o,i)}))}}(void 0,e,t,n,(function(e,t){r[e]=t})),r}function Y(e,t,n){var r=e.map((function(e){var t=c()({},e,{trigger:e.trigger||[]});return"string"==typeof t.trigger&&(t.trigger=[t.trigger]),t}));return t&&r.push({trigger:n?[].concat(n):[],rules:t}),r}function Q(e){return e.filter((function(e){return!!e.rules&&e.rules.length})).map((function(e){return e.trigger})).reduce((function(e,t){return e.concat(t)}),[])}function Z(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function X(e,t,n){var r=e,o=t,i=n;return void 0===n&&("function"==typeof r?(i=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(i=o,o={}):o=o||{}:(i=o,o=r||{},r=void 0)),{names:r,options:o,callback:i}}function J(e){return 0===Object.keys(e).length}function $(e){return!!e&&e.some((function(e){return e.rules&&e.rules.length}))}function ee(e,t){return 0===t.indexOf(e)&&-1!==[".","["].indexOf(t[e.length])}function te(e){return G(e,(function(e,t){return V(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){A()(this,e),re.call(this),this.fields=te(t),this.fieldsMeta={}}return L()(e,[{key:"updateFields",value:function(e){this.fields=te(e)}},{key:"flattenRegisteredFields",value:function(e){var t=this.getAllFieldsName();return G(e,(function(e){return t.indexOf(e)>=0}),"You cannot set a form field before rendering a field associated with the value.")}},{key:"setFields",value:function(e){var t=this,n=this.fieldsMeta,r=c()({},this.fields,e),o={};Object.keys(n).forEach((function(e){o[e]=t.getValueFromFields(e,r)})),Object.keys(o).forEach((function(e){var n=o[e],i=t.getFieldMeta(e);if(i&&i.normalize){var a=i.normalize(n,t.getValueFromFields(e,t.fields),o);a!==n&&(r[e]=c()({},r[e],{value:a}))}})),this.fields=r}},{key:"resetFields",value:function(e){var t=this.fields;return(e?this.getValidFieldsFullName(e):this.getAllFieldsName()).reduce((function(e,n){var r=t[n];return r&&"value"in r&&(e[n]={}),e}),{})}},{key:"setFieldMeta",value:function(e,t){this.fieldsMeta[e]=t}},{key:"setFieldsAsDirty",value:function(){var e=this;Object.keys(this.fields).forEach((function(t){var n=e.fields[t],r=e.fieldsMeta[t];n&&r&&$(r.validate)&&(e.fields[t]=c()({},n,{dirty:!0}))}))}},{key:"getFieldMeta",value:function(e){return this.fieldsMeta[e]=this.fieldsMeta[e]||{},this.fieldsMeta[e]}},{key:"getValueFromFields",value:function(e,t){var n=t[e];if(n&&"value"in n)return n.value;var r=this.getFieldMeta(e);return r&&r.initialValue}},{key:"getValidFieldsName",value:function(){var e=this,t=this.fieldsMeta;return t?Object.keys(t).filter((function(t){return!e.getFieldMeta(t).hidden})):[]}},{key:"getAllFieldsName",value:function(){var e=this.fieldsMeta;return e?Object.keys(e):[]}},{key:"getValidFieldsFullName",value:function(e){var t=Array.isArray(e)?e:[e];return this.getValidFieldsName().filter((function(e){return t.some((function(t){return e===t||(n=t,0===e.lastIndexOf(n,0)&&[".","["].indexOf(e[t.length])>=0);var n}))}))}},{key:"getFieldValuePropValue",value:function(e){var t=e.name,n=e.getValueProps,r=e.valuePropName,o=this.getField(t),i="value"in o?o.value:e.initialValue;return n?n(i):g()({},r,i)}},{key:"getField",value:function(e){return c()({},this.fields[e],{name:e})}},{key:"getNotCollectedFields",value:function(){var e=this;return this.getValidFieldsName().filter((function(t){return!e.fields[t]})).map((function(t){return{name:t,dirty:!1,value:e.getFieldMeta(t).initialValue}})).reduce((function(e,t){return M()(e,t.name,U(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return M()(t,n,U(e.fields[n]))}),this.getNotCollectedFields())}},{key:"getFieldMember",value:function(e,t){return this.getField(e)[t]}},{key:"getNestedFields",value:function(e,t){return(e||this.getValidFieldsName()).reduce((function(e,n){return M()(e,n,t(n))}),{})}},{key:"getNestedField",value:function(e,t){var n=this.getValidFieldsFullName(e);if(0===n.length||1===n.length&&n[0]===e)return t(e);var r="["===n[0][e.length],o=r?e.length:e.length+1;return n.reduce((function(e,n){return M()(e,n.slice(o),t(n))}),r?[]:{})}},{key:"isValidNestedFieldName",value:function(e){return this.getAllFieldsName().every((function(t){return!ee(t,e)&&!ee(e,t)}))}},{key:"clearField",value:function(e){delete this.fields[e],delete this.fieldsMeta[e]}}]),e}(),re=function(){var e=this;this.setFieldsInitialValue=function(t){var n=e.flattenRegisteredFields(t),r=e.fieldsMeta;Object.keys(n).forEach((function(t){r[t]&&e.setFieldMeta(t,c()({},e.getFieldMeta(t),{initialValue:n[t]}))}))},this.getAllValues=function(){var t=e.fieldsMeta,n=e.fields;return Object.keys(t).reduce((function(t,r){return M()(t,r,e.getValueFromFields(r,n))}),{})},this.getFieldsValue=function(t){return e.getNestedFields(t,e.getFieldValue)},this.getFieldValue=function(t){var n=e.fields;return e.getNestedField(t,(function(t){return e.getValueFromFields(t,n)}))},this.getFieldsError=function(t){return e.getNestedFields(t,e.getFieldError)},this.getFieldError=function(t){return e.getNestedField(t,(function(t){return(n=e.getFieldMember(t,"errors"))?n.map((function(e){return e&&e.message?e.message:e})):n;var n}))},this.isFieldValidating=function(t){return e.getFieldMember(t,"validating")},this.isFieldsValidating=function(t){return(t||e.getValidFieldsName()).some((function(t){return e.isFieldValidating(t)}))},this.isFieldTouched=function(t){return e.getFieldMember(t,"touched")},this.isFieldsTouched=function(t){return(t||e.getValidFieldsName()).some((function(t){return e.isFieldTouched(t)}))}};function oe(e){return new ne(e)}var ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.validateMessages,r=e.onFieldsChange,i=e.onValuesChange,a=e.mapProps,l=void 0===a?W:a,s=e.mapPropsToFields,u=e.fieldNameProp,f=e.fieldMetaProp,p=e.fieldDataProp,d=e.formPropName,m=void 0===d?"form":d,h=e.name,y=e.withRef;return function(e){var a=x()({displayName:"Form",mixins:t,getInitialState:function(){var e=this,t=s&&s(this.props);return this.fieldsStore=oe(t||{}),this.instances={},this.cachedBind={},this.clearedFieldMetaCache={},this.renderFields={},this.domFields={},["getFieldsValue","getFieldValue","setFieldsInitialValue","getFieldsError","getFieldError","isFieldValidating","isFieldsValidating","isFieldsTouched","isFieldTouched"].forEach((function(t){e[t]=function(){var n;return(n=e.fieldsStore)[t].apply(n,arguments)}})),{submitting:!1}},componentDidMount:function(){this.cleanUpUselessFields()},componentWillReceiveProps:function(e){s&&this.fieldsStore.updateFields(s(e))},componentDidUpdate:function(){this.cleanUpUselessFields()},onCollectCommon:function(e,t,n){var r=this.fieldsStore.getFieldMeta(e);if(r[t])r[t].apply(r,w()(n));else if(r.originalProps&&r.originalProps[t]){var o;(o=r.originalProps)[t].apply(o,w()(n))}var a=r.getValueFromEvent?r.getValueFromEvent.apply(r,w()(n)):Z.apply(void 0,w()(n));if(i&&a!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),s={};l[e]=a,Object.keys(l).forEach((function(e){return M()(s,e,l[e])})),i(c()(g()({},m,this.getForm()),this.props),M()({},e,a),s)}var u=this.fieldsStore.getField(e);return{name:e,field:c()({},u,{value:a,touched:!0}),fieldMeta:r}},onCollect:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this.onCollectCommon(e,t,r),a=i.name,l=i.field,s=i.fieldMeta,u=s.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(u)});this.setFields(g()({},a,f))},onCollectValidate:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this.onCollectCommon(e,t,r),a=i.field,l=i.fieldMeta,s=c()({},a,{dirty:!0});this.fieldsStore.setFieldsAsDirty(),this.validateFieldsInternal([s],{action:t,options:{firstFields:!!l.validateFirst}})},getCacheBind:function(e,t,n){this.cachedBind[e]||(this.cachedBind[e]={});var r=this.cachedBind[e];return r[t]&&r[t].oriFn===n||(r[t]={fn:n.bind(this,e,t),oriFn:n}),r[t].fn},getFieldDecorator:function(e,t){var n=this,r=this.getFieldProps(e,t);return function(t){n.renderFields[e]=!0;var i=n.fieldsStore.getFieldMeta(e),a=t.props;return i.originalProps=a,i.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(i)))}},getFieldProps:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Must call `getFieldProps` with valid name string!");delete this.clearedFieldMetaCache[e];var r=c()({name:e,trigger:"onChange",valuePropName:"value",validate:[]},n),o=r.rules,i=r.trigger,a=r.validateTrigger,l=void 0===a?i:a,s=r.validate,d=this.fieldsStore.getFieldMeta(e);"initialValue"in r&&(d.initialValue=r.initialValue);var m=c()({},this.fieldsStore.getFieldValuePropValue(r),{ref:this.getCacheBind(e,e+"__ref",this.saveRef)});u&&(m[u]=h?h+"_"+e:e);var y=Y(s,o,l),v=Q(y);v.forEach((function(n){m[n]||(m[n]=t.getCacheBind(e,n,t.onCollectValidate))})),i&&-1===v.indexOf(i)&&(m[i]=this.getCacheBind(e,i,this.onCollect));var b=c()({},d,r,{validate:y});return this.fieldsStore.setFieldMeta(e,b),f&&(m[f]=b),p&&(m[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,m},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return H(e.validate.filter((function(e){return!t||e.trigger.indexOf(t)>=0})).map((function(e){return e.rules})))},setFields:function(e,t){var n=this,o=this.fieldsStore.flattenRegisteredFields(e);if(this.fieldsStore.setFields(o),r){var i=Object.keys(o).reduce((function(e,t){return M()(e,t,n.fieldsStore.getField(t))}),{});r(c()(g()({},m,this.getForm()),this.props),i,this.fieldsStore.getNestedAllFields())}this.forceUpdate(t)},setFieldsValue:function(e,t){var n=this.fieldsStore.fieldsMeta,r=this.fieldsStore.flattenRegisteredFields(e),o=Object.keys(r).reduce((function(e,t){if(n[t]){var o=r[t];e[t]={value:o}}return e}),{});if(this.setFields(o,t),i){var a=this.fieldsStore.getAllValues();i(c()(g()({},m,this.getForm()),this.props),e,a)}},saveRef:function(e,t,n){if(!n){var r=this.fieldsStore.getFieldMeta(e);return r.preserve||(this.clearedFieldMetaCache[e]={field:this.fieldsStore.getField(e),meta:r},this.clearField(e)),void delete this.domFields[e]}this.domFields[e]=!0,this.recoverClearedField(e);var o=this.fieldsStore.getFieldMeta(e);if(o){var i=o.ref;if(i){if("string"==typeof i)throw new Error("can not set ref string for "+e);"function"==typeof i?i(n):Object.prototype.hasOwnProperty.call(i,"current")&&(i.current=n)}}this.instances[e]=n},cleanUpUselessFields:function(){var e=this,t=this.fieldsStore.getAllFieldsName().filter((function(t){var n=e.fieldsStore.getFieldMeta(t);return!e.renderFields[t]&&!e.domFields[t]&&!n.preserve}));t.length&&t.forEach(this.clearField),this.renderFields={}},clearField:function(e){this.fieldsStore.clearField(e),delete this.instances[e],delete this.cachedBind[e]},resetFields:function(e){var t=this,n=this.fieldsStore.resetFields(e);(Object.keys(n).length>0&&this.setFields(n),e)?(Array.isArray(e)?e:[e]).forEach((function(e){return delete t.clearedFieldMetaCache[e]})):this.clearedFieldMetaCache={}},recoverClearedField:function(e){this.clearedFieldMetaCache[e]&&(this.fieldsStore.setFields(g()({},e,this.clearedFieldMetaCache[e].field)),this.fieldsStore.setFieldMeta(e,this.clearedFieldMetaCache[e].meta),delete this.clearedFieldMetaCache[e])},validateFieldsInternal:function(e,t,r){var o=this,i=t.fieldNames,a=t.action,l=t.options,s=void 0===l?{}:l,u={},f={},p={},d={};if(e.forEach((function(e){var t=e.name;if(!0===s.force||!1!==e.dirty){var n=o.fieldsStore.getFieldMeta(t),r=c()({},e);r.errors=void 0,r.validating=!0,r.dirty=!0,u[t]=o.getRules(n,a),f[t]=r.value,p[t]=r}else e.errors&&M()(d,t,{errors:e.errors})})),this.setFields(p),Object.keys(f).forEach((function(e){f[e]=o.fieldsStore.getFieldValue(e)})),r&&J(p))r(J(d)?null:d,this.fieldsStore.getFieldsValue(i));else{var m=new j.a(u);n&&m.messages(n),m.validate(f,s,(function(e){var t=c()({},d);e&&e.length&&e.forEach((function(e){var n=e.field,r=n;Object.keys(u).some((function(e){var t=u[e]||[];if(e===n)return r=e,!0;if(t.every((function(e){return"array"!==e.type}))||0!==n.indexOf(e+"."))return!1;var o=n.slice(e.length+1);return!!/^\d+$/.test(o)&&(r=e,!0)}));var o=N()(t,r);("object"!=typeof o||Array.isArray(o))&&M()(t,r,{errors:[]}),N()(t,r.concat(".errors")).push(e)}));var n=[],a={};Object.keys(u).forEach((function(e){var r=N()(t,e),i=o.fieldsStore.getField(e);F()(i.value,f[e])?(i.errors=r&&r.errors,i.value=f[e],i.validating=!1,i.dirty=!1,a[e]=i):n.push({name:e})})),o.setFields(a),r&&(n.length&&n.forEach((function(e){var n=e.name,r=[{message:n+" need to revalidate",field:n}];M()(t,n,{expired:!0,errors:r})})),r(J(t)?null:t,o.fieldsStore.getFieldsValue(i)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,i){var a=X(e,t,n),l=a.names,s=a.options,c=X(e,t,n).callback;if(!c||"function"==typeof c){var u=c;c=function(e,t){u&&u(e,t),e?i({errors:e,values:t}):o(t)}}var f=l?r.fieldsStore.getValidFieldsFullName(l):r.fieldsStore.getValidFieldsName(),p=f.filter((function(e){return $(r.fieldsStore.getFieldMeta(e).validate)})).map((function(e){var t=r.fieldsStore.getField(e);return t.value=r.fieldsStore.getFieldValue(e),t}));p.length?("firstFields"in s||(s.firstFields=f.filter((function(e){return!!r.fieldsStore.getFieldMeta(e).validateFirst}))),r.validateFieldsInternal(p,{fieldNames:f,options:s},c)):c(null,r.fieldsStore.getFieldsValue(f))}));return o.catch((function(e){return console.error,e})),o},isSubmitting:function(){return this.state.submitting},submit:function(e){var t=this;this.setState({submitting:!0}),e((function(){t.setState({submitting:!1})}))},render:function(){var t=this.props,n=t.wrappedComponentRef,r=v()(t,["wrappedComponentRef"]),i=g()({},m,this.getForm());y?i.ref="wrappedComponent":n&&(i.ref=n);var a=l.call(this,c()({},i,r));return o.a.createElement(e,a)}});return z(Object(S.a)(a),e)}},ae={getForm:function(){return{getFieldsValue:this.fieldsStore.getFieldsValue,getFieldValue:this.fieldsStore.getFieldValue,getFieldInstance:this.getFieldInstance,setFieldsValue:this.setFieldsValue,setFields:this.setFields,setFieldsInitialValue:this.fieldsStore.setFieldsInitialValue,getFieldDecorator:this.getFieldDecorator,getFieldProps:this.getFieldProps,getFieldsError:this.fieldsStore.getFieldsError,getFieldError:this.fieldsStore.getFieldError,isFieldValidating:this.fieldsStore.isFieldValidating,isFieldsValidating:this.fieldsStore.isFieldsValidating,isFieldsTouched:this.fieldsStore.isFieldsTouched,isFieldTouched:this.fieldsStore.isFieldTouched,isSubmitting:this.isSubmitting,submit:this.submit,validateFields:this.validateFields,resetFields:this.resetFields}}};function le(e,t){var n=window.getComputedStyle,r=n?n(e):e.currentStyle;if(r)return r[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}var se={getForm:function(){return c()({},ae.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=X(e,t,n),i=o.names,a=o.callback,l=o.options;return this.validateFields(i,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,i=void 0;if(n.forEach((function(t){if(h()(e,t)){var n=r.getFieldInstance(t);if(n){var a=f.a.findDOMNode(n),l=a.getBoundingClientRect().top;"hidden"!==a.type&&(void 0===i||i>l)&&(i=l,o=a)}}})),o){var s=l.container||function(e){for(var t=e,n=void 0;"body"!==(n=t.nodeName.toLowerCase());){var r=le(t,"overflowY");if(t!==e&&("auto"===r||"scroll"===r)&&t.scrollHeight>t.clientHeight)return t;t=t.parentNode}return"body"===n?t.ownerDocument:t}(o);d()(o,s,c()({onlyScrollIfNeeded:!0},l.scroll))}}"function"==typeof a&&a(e,t)}))}};var ce=function(e){return ie(c()({},e),[se])},ue=n("BGR+"),fe=n("H84U"),pe=n("CWQg"),de=n("6CfX"),me=n("MFj2"),he=n("qrJ5"),ye=n("/kpp"),ve=n("CtXQ"),be=n("foW8"),ge=n.n(be)()({labelAlign:"right",vertical:!1});function Oe(e){return(Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function we(){return(we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ke(e);if(t){var o=ke(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ce(this,n)}}function Ce(e,t){return!t||"object"!==Oe(t)&&"function"!=typeof t?Pe(e):t}function Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ne(e){return function(e){if(Array.isArray(e))return Te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Te(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Me=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},De=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");var Fe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}(a,e);var t,n,o,i=je(a);function a(){var e;return xe(this,a),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(Pe(e)).querySelector('[id="'.concat(t,'"]'));n&&n.focus&&n.focus()}},e.onHelpAnimEnd=function(t,n){e.helpShow=n,n||e.setState({})},e.renderFormItem=function(t){var n,o=t.getPrefixCls,i=e.props,a=i.prefixCls,s=i.style,c=i.className,u=Me(i,["prefixCls","style","className"]),f=o("form",a),p=e.renderChildren(f),d=(Ee(n={},"".concat(f,"-item"),!0),Ee(n,"".concat(f,"-item-with-help"),e.helpShow),Ee(n,"".concat(c),!!c),n);return r.createElement(he.a,we({className:l()(d),style:s},Object(ue.a)(u,["id","htmlFor","label","labelAlign","labelCol","wrapperCol","help","extra","validateStatus","hasFeedback","required","colon"]),{key:"row"}),p)},e}return t=a,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,n=e.help,r=e.validateStatus,o=e.id;Object(de.a)(this.getControls(t,!0).length<=1||void 0!==n||void 0!==r,"Form.Item","Cannot generate `validateStatus` and `help` automatically, while there are more than one `getFieldDecorator` in it."),Object(de.a)(!o,"Form.Item","`id` is deprecated for its label `htmlFor`. Please use `htmlFor` directly.")}},{key:"getHelpMessage",value:function(){var e=this.props.help;if(void 0===e&&this.getOnlyControl()){var t=this.getField().errors;return t?t.map((function(e,t){var n=null;return r.isValidElement(e)?n=e:r.isValidElement(e.message)&&(n=e.message),n?r.cloneElement(n,{key:t}):e.message})).reduce((function(e,t){return[].concat(Ne(e),[" ",t])}),[]).slice(1):""}return e}},{key:"getControls",value:function(e,t){for(var n=[],o=r.Children.toArray(e),i=0;i<o.length&&(t||!(n.length>0));i++){var l=o[i];(!l.type||l.type!==a&&"FormItem"!==l.type.displayName)&&l.props&&("data-__meta"in l.props?n.push(l):l.props.children&&(n=n.concat(this.getControls(l.props.children,t))))}return n}},{key:"getOnlyControl",value:function(){var e=this.getControls(this.props.children,!1)[0];return void 0!==e?e:null}},{key:"getChildProp",value:function(e){var t=this.getOnlyControl();return t&&t.props&&t.props[e]}},{key:"getId",value:function(){return this.getChildProp("id")}},{key:"getMeta",value:function(){return this.getChildProp("data-__meta")}},{key:"getField",value:function(){return this.getChildProp("data-__field")}},{key:"getValidateStatus",value:function(){if(!this.getOnlyControl())return"";var e=this.getField();if(e.validating)return"validating";if(e.errors)return"error";var t="value"in e?e.value:this.getMeta().initialValue;return null!=t&&""!==t?"success":""}},{key:"isRequired",value:function(){var e=this.props.required;return void 0!==e?e:!!this.getOnlyControl()&&((this.getMeta()||{}).validate||[]).filter((function(e){return!!e.rules})).some((function(e){return e.rules.some((function(e){return e.required}))}))}},{key:"renderHelp",value:function(e){var t=this.getHelpMessage(),n=t?r.createElement("div",{className:"".concat(e,"-explain"),key:"help"},t):null;return n&&(this.helpShow=!!n),r.createElement(me.a,{transitionName:"show-help",component:"",transitionAppear:!0,key:"help",onEnd:this.onHelpAnimEnd},n)}},{key:"renderExtra",value:function(e){var t=this.props.extra;return t?r.createElement("div",{className:"".concat(e,"-extra")},t):null}},{key:"renderValidateWrapper",value:function(e,t,n,o){var i=this.props,a=this.getOnlyControl,s=void 0===i.validateStatus&&a?this.getValidateStatus():i.validateStatus,c="".concat(e,"-item-control");s&&(c=l()("".concat(e,"-item-control"),{"has-feedback":s&&i.hasFeedback,"has-success":"success"===s,"has-warning":"warning"===s,"has-error":"error"===s,"is-validating":"validating"===s}));var u="";switch(s){case"success":u="check-circle";break;case"warning":u="exclamation-circle";break;case"error":u="close-circle";break;case"validating":u="loading";break;default:u=""}var f=i.hasFeedback&&u?r.createElement("span",{className:"".concat(e,"-item-children-icon")},r.createElement(ve.default,{type:u,theme:"loading"===u?"outlined":"filled"})):null;return r.createElement("div",{className:c},r.createElement("span",{className:"".concat(e,"-item-children")},t,f),n,o)}},{key:"renderWrapper",value:function(e,t){var n=this;return r.createElement(ge.Consumer,{key:"wrapper"},(function(o){var i=o.wrapperCol,a=o.vertical,s=n.props.wrapperCol,c=("wrapperCol"in n.props?s:i)||{},u=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(ge.Provider,{value:{vertical:a}},r.createElement(ye.a,we({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(ge.Consumer,{key:"label"},(function(n){var o,i=n.vertical,a=n.labelAlign,s=n.labelCol,c=n.colon,u=t.props,f=u.label,p=u.labelCol,d=u.labelAlign,m=u.colon,h=u.id,y=u.htmlFor,v=t.isRequired(),b=("labelCol"in t.props?p:s)||{},g="labelAlign"in t.props?d:a,O="".concat(e,"-item-label"),w=l()(O,"left"===g&&"".concat(O,"-left"),b.className),E=f,x=!0===m||!1!==c&&!1!==m;x&&!i&&"string"==typeof f&&""!==f.trim()&&(E=f.replace(/[::]\s*$/,""));var S=l()((Ee(o={},"".concat(e,"-item-required"),v),Ee(o,"".concat(e,"-item-no-colon"),!x),o));return f?r.createElement(ye.a,we({},b,{className:w}),r.createElement("label",{htmlFor:y||h||t.getId(),className:S,title:"string"==typeof f?f:"",onClick:t.onLabelClick},E)):null}))}},{key:"renderChildren",value:function(e){var t=this.props.children;return[this.renderLabel(e),this.renderWrapper(e,this.renderValidateWrapper(e,t,this.renderHelp(e),this.renderExtra(e)))]}},{key:"render",value:function(){return r.createElement(fe.a,null,this.renderFormItem)}}])&&Se(t.prototype,n),o&&Se(t,o),a}(r.Component);function Ie(e){return(Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ae(){return(Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Le(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Be(e);if(t){var o=Be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ue(this,n)}}function Ue(e,t){return!t||"object"!==Ie(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Fe.defaultProps={hasFeedback:!1},Fe.propTypes={prefixCls:i.string,label:i.oneOfType([i.string,i.node]),labelCol:i.object,help:i.oneOfType([i.node,i.bool]),validateStatus:i.oneOf(De),hasFeedback:i.bool,wrapperCol:i.object,className:i.string,id:i.string,children:i.node,colon:i.bool};var qe=Object(pe.a)("horizontal","inline","vertical"),ze=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ke(e,t)}(a,e);var t,n,o,i=Ve(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,i=t.props,a=i.prefixCls,s=i.hideRequiredMark,c=i.className,u=void 0===c?"":c,f=i.layout,p=o("form",a),d=l()(p,(Re(n={},"".concat(p,"-horizontal"),"horizontal"===f),Re(n,"".concat(p,"-vertical"),"vertical"===f),Re(n,"".concat(p,"-inline"),"inline"===f),Re(n,"".concat(p,"-hide-required-mark"),s),n),u),m=Object(ue.a)(t.props,["prefixCls","className","layout","form","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon"]);return r.createElement("form",Ae({},m,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,i=e.layout,a=e.colon;return r.createElement(ge.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===i,colon:a}},r.createElement(fe.a,null,this.renderForm))}}])&&Le(t.prototype,n),o&&Le(t,o),a}(r.Component);ze.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},ze.propTypes={prefixCls:i.string,layout:i.oneOf(qe),children:i.any,onSubmit:i.func,hideRequiredMark:i.bool,colon:i.bool},ze.Item=Fe,ze.createFormField=U,ze.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(Ae(Ae({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=ze},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},XZDd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&i.default.type(e,t,r,l,o)}n(l)}},Xi7e:function(e,t,n){var r=n("KMkd"),o=n("adU4"),i=n("tMB7"),a=n("+6XX"),l=n("Z8oC");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},"Xt/L":function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},YESw:function(e,t,n){var r=n("Cwc5")(Object,"create");e.exports=r},YxIK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("W9HT")),o=m(n("+KLJ")),i=m(n("5rEg")),a=m(n("2fM7")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("2DKY"),n("1vPl"),n("8QGh");var c=n("q1tI"),u=m(c),f=m(n("vDqi"));n("6JOy"),n("js5m");var p=m(n("QCvN")),d=m(n("Fyak"));function m(e){return e&&e.__esModule?e:{default:e}}var h=a.default.Option,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));v.call(n);var r=n.props.match.params.branch;return n.state={data:void 0,branches:void 0,merge_branches:void 0,merge_projects:void 0,merge:"master",pull:r,id:void 0,is_fork:!1,projects_names:void 0,isSpin:!1,show_message:!0,merge_head:!1,default_message:"必须选择不同的分支",project_id:void 0,merge_project_user:void 0,oldProject:void 0,comparesData:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"componentWillUnmount",value:function(){console.log("----------destoyed---------"),window.removeEventListener("popstate",this.handleBack,!1)}},{key:"render",value:function(){var e,t=this,n=this.state,s=n.data,c=n.branches,f=n.merge_branches,m=n.merge_projects,y=n.pull,v=n.merge,b=n.isSpin,g=n.show_message,O=n.default_message,w=(n.merge_head,n.projects_names),E=n.id,x=n.comparesData,S=function(e,t){if(e&&e.length>0)return e.map((function(e,t){return u.default.createElement(h,{key:t+1,value:e.name},e.name)}))},_=function(e){if(e&&e.length>0)return e.map((function(e,t){return u.default.createElement(h,{key:t+1,value:e.id},e.project_name)}))},j=this.props.project;return u.default.createElement("div",null,u.default.createElement("div",{className:"main"},u.default.createElement(r.default,{spinning:b},u.default.createElement("div",{className:"merge-header width100 inline-block"},u.default.createElement("div",{className:"width40 pull-left"},u.default.createElement("div",{className:"color-grey-3 mb10 fwb"},"源分支:"),u.default.createElement(i.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(a.default,{value:E,className:"hide-1 task-hide flex1",disabled:!0},_(w)),u.default.createElement(a.default,{value:y,onSelect:function(e){return t.selectBrach("pull",e)},showSearch:!0,className:"merge-flex1 flex1"},S(c)))),u.default.createElement("div",{className:"width10 pull-left text-center mt25"},u.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-32"})),u.default.createElement("div",{className:"width40 pull-left"},u.default.createElement("div",null,u.default.createElement("div",{className:"color-grey-3 mb10 fwb"},"目标分支:"),u.default.createElement(i.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(a.default,{value:j&&j.id,className:"hide-1 task-hide flex1",onSelect:function(e){return t.selectProjectName(e)}},_(m)),u.default.createElement(a.default,{value:v,onSelect:function(e){return t.selectBrach("merge",e)},showSearch:!0,className:"merge-flex1 flex1"},S(f)))))),g?u.default.createElement("div",{className:"mb20"},u.default.createElement(o.default,{description:(e=O,u.default.createElement("div",{dangerouslySetInnerHTML:{__html:e}})),type:"error"})):u.default.createElement(p.default,l({},this.props,{merge_type:"new",data:s,merge:v,pull:y,files_count:x&&x.diff&&x.diff.files_count,commits_count:x&&x.commits_count})))),u.default.createElement(d.default,l({order_id:s&&s.issue&&s.issue.id},this.props,this.state,{merge:v,pull:y,comparesData:x})))}}]),t}(c.Component),v=function(){var e=this;this.componentDidMount=function(){var t=e.props.match.params.projectsId;e.getmergelist(t),window.history&&window.history.pushState&&window.addEventListener("popstate",e.handleBack,!1)},this.componentDidUpdate=function(t){var n=e.props.project,r=e.state.pull,o=t.project;n&&o&&o.id!==n.id&&e.compareProject(e.state.id,r,"master")},this.handleBack=function(){var t=e.props.match.params.projectsId;e.getmergelist(t)},this.getmergelist=function(t){e.setState({isSpin:!0});var n=e.props.history.location.pathname.split("/")[1];console.log("owner:"+n),console.log(e.props);var r="/"+n+"/"+t+"/pulls/new.json";f.default.get(r).then((function(t){t&&(e.setState({is_fork:t.data.is_fork,projects_names:t.data.projects_names,merge_projects:t.data.merge_projects,branches:t.data.branches,merge_branches:t.data.branches,project_id:t.data.project_id,id:t.data.id}),e.set_default_pull(t.data.branches),e.set_default_merge(t.data.merge_projects));var n=e.state.pull;e.compareProject(t.data.id,n||"master","master"),e.setState({isSpin:!1})})).catch((function(t){e.setState({isSpin:!1}),console.log(t)}))},this.compareProject=function(t,n,r){var o=e.props.project,i=e.props.match.params,a="/"+i.owner+"/"+i.projectsId+"/compare";if(o){if(t===o.id)e.setState({oldProject:o}),a+="/"+n+"..."+r+".json";else{var l=e.state.oldProject,s=l.author,c=l.identifier;a+="/"+r+"..."+(s&&s.login)+"/"+c+":"+n+".json"}e.setState({isSpin:!0}),f.default.get(a).then((function(t){t&&(0===t.data.status?e.setState({isSpin:!1,show_message:!1}):e.setState({isSpin:!1,show_message:!0,default_message:t.data.message}),e.setState({comparesData:t.data}))})).catch((function(t){e.setState({isSpin:!1})}))}},this.set_default_pull=function(t){if(!e.props.match.params.branch&&t&&t.length>0){var n=t.filter((function(e){return"master"===e.name}));n.length>0?e.setState({pull:n[0].name}):e.setState({pull:"master"})}},this.set_default_merge=function(t){if(t&&t.length){var n=t.filter((function(e){return"master"===e.name}));n.length>0?e.setState({merge:n[0].name}):e.setState({merge:"master"})}},this.newMergelist=function(t,n){e.setState({isSpin:!0});var r="/"+t+"/"+n+"/pulls/get_branches.json";f.default.get(r).then((function(t){t&&(e.setState({merge_branches:t.data}),e.set_default_merge(t.data)),e.setState({isSpin:!1})})).catch((function(t){e.setState({isSpin:!1}),console.log(t)}))},this.selectBrach=function(t,n){var r=e.props.match.params,o=r.projectsId,i=r.owner;e.state[t]=n;var a=e.state,l=a.id,s=a.merge,c=a.pull;"pull"===t?(e.props.history.push("/"+i+"/"+o+"/pulls/new/"+c),e.compareProject(l,n,s)):e.compareProject(l,c,n)},this.selectProjectName=function(t){var n=e.state,r=n.projects_names,o=n.id,i=r&&r.filter((function(e){return e.id===t})),a=i&&i[0].project_id,l=i&&i[0].project_user_login,s=parseInt(t)!==parseInt(o);e.setState({isSpin:!0,merge_head:s,data:{is_original:s,fork_project_id:s?o:"",merge_user_login:s?r[0].project_user_login:void 0}}),e.props.history.push("/"+l+"/"+a+"/pulls/new"),e.newMergelist(l,a)},this.ischeckmerge=function(){e.setState({isSpin:!0});var t=e.props.match.params,n=t.projectsId,r=t.owner,o=e.state,i=o.pull,a=o.merge,l=o.merge_head,s=o.id,c="/"+r+"/"+n+"/pulls/check_can_merge.json";f.default.post(c,{head:i,base:a,is_original:l,fork_project_id:l?s:void 0}).then((function(t){t?0===t.data.status?e.setState({isSpin:!1,show_message:!1}):e.setState({isSpin:!1,show_message:!0,default_message:t.data.message}):e.setState({isSpin:!1,show_message:!0,default_message:"出现错误了"})})).catch((function(t){e.setState({isSpin:!1,show_message:!0}),console.log(t)}))}};t.default=y},Z0cm:function(e,t){var n=Array.isArray;e.exports=n},Z4ex:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n("q1tI"),a=((r=i)&&r.__esModule,n("VIrW"));function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"getChildContext",value:function(){return{miniStore:this.props.store}}},{key:"render",value:function(){return i.Children.only(this.props.children)}}]),t}(i.Component);c.propTypes={store:a.storeShape.isRequired},c.childContextTypes={miniStore:a.storeShape.isRequired},t.default=c},Z8oC:function(e,t,n){var r=n("y1pI");e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},ZCgT:function(e,t,n){var r=n("tLB3");e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return He}));var r=n("q1tI"),o=n.n(r),i=n("i8i4"),a=n("QbLZ"),l=n.n(a),s=n("YEIV"),c=n.n(s),u=n("jo6Y"),f=n.n(u),p=n("iCc5"),d=n.n(p),m=n("V7oC"),h=n.n(m),y=n("FYw3"),v=n.n(y),b=n("mRg0"),g=n.n(b),O=n("17x9"),w=n.n(O),E=n("TSYQ"),x=n.n(E),S=n("n1GQ"),_=n.n(S),j=n("VCL8"),C=37,P=38,k=39,N=40;function T(e){var t=[];return o.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function M(e,t){for(var n=T(e),r=0;r<n.length;r++)if(n[r].key===t)return r;return-1}function D(e,t){e.transform=t,e.webkitTransform=t,e.mozTransform=t}function F(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function I(e){return"left"===e||"right"===e}function A(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function R(e){return Object.keys(e).reduce((function(t,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})}function L(e,t){return+e.getPropertyValue(t).replace("px","")}function K(e,t,n,r,o){var i=A(o,"padding-"+e);if(!r||!r.parentNode)return i;var a=r.parentNode.childNodes;return Array.prototype.some.call(a,(function(o){var a=window.getComputedStyle(o);return o!==r?(i+=L(a,"margin-"+e),i+=o[t],i+=L(a,"margin-"+n),"content-box"===a.boxSizing&&(i+=L(a,"border-"+e+"-width")+L(a,"border-"+n+"-width")),!1):(i+=L(a,"margin-"+e),!0)})),i}var V=n("4IlW"),U=n("foW8"),B=n.n(U)()({}),q=B.Provider,z=B.Consumer,W={width:0,height:0,overflow:"hidden",position:"absolute"},H=function(e){function t(){var e,n,r,o;d()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=r=v()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.onKeyDown=function(e){var t=e.target,n=e.which,o=e.shiftKey,i=r.props,a=i.nextElement,l=i.prevElement;n===V.a.TAB&&document.activeElement===t&&(!o&&a&&a.focus(),o&&l&&l.focus())},o=n,v()(r,o)}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this.props.setRef;return o.a.createElement("div",{tabIndex:0,ref:e,style:W,onKeyDown:this.onKeyDown,role:"presentation"})}}]),t}(o.a.Component);H.propTypes={setRef:w.a.func,prevElement:w.a.object,nextElement:w.a.object};var G=H,Y=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e,t=this.props,n=t.id,r=t.className,i=t.destroyInactiveTabPane,a=t.active,s=t.forceRender,u=t.rootPrefixCls,p=t.style,d=t.children,m=t.placeholder,h=f()(t,["id","className","destroyInactiveTabPane","active","forceRender","rootPrefixCls","style","children","placeholder"]);this._isActived=this._isActived||a;var y=u+"-tabpane",v=x()((e={},c()(e,y,1),c()(e,y+"-inactive",!a),c()(e,y+"-active",a),c()(e,r,r),e)),b=(i?a:this._isActived)||s;return o.a.createElement(z,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,i=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return a&&b&&(c=o.a.createElement(G,{setRef:i,prevElement:t}),u=o.a.createElement(G,{setRef:s,nextElement:r})),o.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":a?"false":"true",className:v,id:n},R(h)),c,b?d:m,u)}))}}]),t}(o.a.Component),Q=Y;function Z(e){var t=void 0;return o.a.Children.forEach(e.children,(function(e){!e||t||e.props.disabled||(t=e.key)})),t}Y.propTypes={className:w.a.string,active:w.a.bool,style:w.a.any,destroyInactiveTabPane:w.a.bool,forceRender:w.a.bool,placeholder:w.a.node,rootPrefixCls:w.a.string,children:w.a.node,id:w.a.string},Y.defaultProps={placeholder:null};var X=function(e){function t(e){d()(this,t);var n=v()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));J.call(n);var r=void 0;return r="activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:Z(e),n.state={activeKey:r},n}return g()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,_.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(_.a.cancel(this.sentinelId),this.sentinelId=_()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,i=t.tabBarPosition,a=t.className,s=t.renderTabContent,u=t.renderTabBar,p=t.destroyInactiveTabPane,d=t.direction,m=f()(t,["prefixCls","navWrapper","tabBarPosition","className","renderTabContent","renderTabBar","destroyInactiveTabPane","direction"]),h=x()((e={},c()(e,n,1),c()(e,n+"-"+i,1),c()(e,a,!!a),c()(e,n+"-rtl","rtl"===d),e));this.tabBar=u();var y=o.a.cloneElement(this.tabBar,{prefixCls:n,navWrapper:r,key:"tabBar",onKeyDown:this.onNavKeyDown,tabBarPosition:i,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=o.a.cloneElement(s(),{prefixCls:n,tabBarPosition:i,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),b=o.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),g=o.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),O=[];return"bottom"===i?O.push(b,v,g,y):O.push(y,b,v,g),o.a.createElement(q,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},o.a.createElement("div",l()({className:h,style:t.style},R(m),{onScroll:this.onScroll}),O))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"activeKey"in e?n.activeKey=e.activeKey:function(e,t){return o.a.Children.map(e.children,(function(e){return e&&e.key})).indexOf(t)>=0}(e,t.activeKey)||(n.activeKey=Z(e)),Object.keys(n).length>0?n:null}}]),t}(o.a.Component),J=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===k||n===N){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===C||n===P){t.preventDefault();var o=e.getNextActiveKey(!1);e.onTabClick(o)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];o.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var i=r.length,a=i&&r[0].key;return r.forEach((function(e,t){e.key===n&&(a=t===i-1?r[0].key:r[t+1].key)})),a}};X.propTypes={destroyInactiveTabPane:w.a.bool,renderTabBar:w.a.func.isRequired,renderTabContent:w.a.func.isRequired,navWrapper:w.a.func,onChange:w.a.func,children:w.a.node,prefixCls:w.a.string,className:w.a.string,tabBarPosition:w.a.string,style:w.a.object,activeKey:w.a.string,defaultActiveKey:w.a.string,direction:w.a.string},X.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},X.TabPane=Q,Object(j.polyfill)(X);var $=X,ee=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return o.a.Children.forEach(n,(function(n){if(n){var i=n.key,a=t===i;r.push(o.a.cloneElement(n,{active:a,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,i=n.children,a=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=x()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=M(i,a);if(-1!==y){var v=p?function(e,t){var n=I(t)?"marginTop":"marginLeft";return c()({},n,100*-e+"%")}(y,u):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=I(t)?"translateY":"translateX";return I(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(y,u,d),WebkitTransform:t,MozTransform:t};m=l()({},m,v)}else m=l()({},m,{display:"none"})}return o.a.createElement("div",{className:h,style:m},this.getTabPanes())}}]),t}(o.a.Component),te=ee;ee.propTypes={animated:w.a.bool,animatedWithMargin:w.a.bool,prefixCls:w.a.string,children:w.a.node,activeKey:w.a.string,style:w.a.any,tabBarPosition:w.a.string,className:w.a.string,destroyInactiveTabPane:w.a.bool,direction:w.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("BGR+");function oe(e,t){var n=e.props,r=n.styles,o=n.panels,i=n.activeKey,a=n.direction,l=e.props.getRef("root"),s=e.props.getRef("nav")||l,c=e.props.getRef("inkBar"),u=e.props.getRef("activeTab"),f=c.style,p=e.props.tabBarPosition,d=M(o,i);if(t&&(f.display="none"),u){var m=u,h=F(f);if(D(f,""),f.width="",f.height="",f.left="",f.top="",f.bottom="",f.right="","top"===p||"bottom"===p){var y=function(e,t){return K("left","offsetWidth","right",e,t)}(m,s),v=m.offsetWidth;v===l.offsetWidth?v=0:r.inkBar&&void 0!==r.inkBar.width&&(v=parseFloat(r.inkBar.width,10))&&(y+=(m.offsetWidth-v)/2),"rtl"===a&&(y=A(m,"margin-left")-y),h?D(f,"translate3d("+y+"px,0,0)"):f.left=y+"px",f.width=v+"px"}else{var b=function(e,t){return K("top","offsetHeight","bottom",e,t)}(m,s),g=m.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(g=parseFloat(r.inkBar.height,10))&&(b+=(m.offsetHeight-g)/2),h?(D(f,"translate3d(0,"+b+"px,0)"),f.top="0"):f.top=b+"px",f.height=g+"px"}}f.display=-1!==d?"block":"none"}var ie=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){oe(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){oe(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,i=t.inkBarAnimated,a=n+"-ink-bar",l=x()((e={},c()(e,a,!0),c()(e,i?a+"-animated":a+"-no-animated",!0),e));return o.a.createElement("div",{style:r.inkBar,className:l,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(o.a.Component),ae=ie;ie.propTypes={prefixCls:w.a.string,styles:w.a.object,inkBarAnimated:w.a.bool,saveRef:w.a.func,direction:w.a.string},ie.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),se=n.n(le),ce=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,i=t.prefixCls,a=t.tabBarGutter,s=t.saveRef,u=t.tabBarPosition,f=t.renderTabBarNode,p=t.direction,d=[];return o.a.Children.forEach(n,(function(t,m){if(t){var h=t.key,y=r===h?i+"-tab-active":"";y+=" "+i+"-tab";var v={};t.props.disabled?y+=" "+i+"-tab-disabled":v={onClick:e.props.onTabClick.bind(e,h)};var b={};r===h&&(b.ref=s("activeTab"));var g=a&&m===n.length-1?0:a,O="rtl"===p?"marginLeft":"marginRight",w=c()({},I(u)?"marginBottom":O,g);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var E=o.a.createElement("div",l()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},v,{className:y,key:h,style:w},b),t.props.tab);f&&(E=f(E)),d.push(E)}})),o.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(o.a.Component),ue=ce;ce.propTypes={activeKey:w.a.string,panels:w.a.node,prefixCls:w.a.string,tabBarGutter:w.a.number,onTabClick:w.a.func,saveRef:w.a.func,renderTabBarNode:w.a.func,tabBarPosition:w.a.string,direction:w.a.string},ce.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var fe=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,i=e.className,a=e.extraContent,s=e.style,u=e.tabBarPosition,p=e.children,d=f()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),m=x()(t+"-bar",c()({},i,!!i)),h="top"===u||"bottom"===u,y=h?{float:"right"}:{},v=a&&a.props?a.props.style:{},b=p;return a&&(b=[Object(r.cloneElement)(a,{key:"extra",style:l()({},y,v)}),Object(r.cloneElement)(p,{key:"content"})],b=h?b:b.reverse()),o.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},R(d)),b)}}]),t}(o.a.Component),pe=fe;fe.propTypes={prefixCls:w.a.string,className:w.a.string,style:w.a.object,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),children:w.a.node,extraContent:w.a.node,onKeyDown:w.a.func,saveRef:w.a.func},fe.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var de=n("sEfC"),me=n.n(de),he=n("bdgK"),ye=function(e){function t(e){d()(this,t);var n=v()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var o=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),o){var i=n.getScrollWH(t),a=n.getOffsetWH(r),l=n.offset,s=n.getOffsetLT(r),c=n.getOffsetLT(t);s>c?(l+=s-c,n.setOffset(l)):s+a<c+i&&(l-=c+i-(s+a),n.setOffset(l))}}},n.prev=function(e){n.props.onPrevClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),o=n.offset;n.setOffset(o+r)},n.next=function(e){n.props.onNextClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),o=n.offset;n.setOffset(o-r)},n.offset=0,n.state={next:!1,prev:!1},n}return g()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),this.debouncedResize=me()((function(){e.setNextPrev(),e.scrollToActiveTab()}),200),this.resizeObserver=new he.default(this.debouncedResize),this.resizeObserver.observe(this.props.getRef("container"))}},{key:"componentDidUpdate",value:function(e){var t=this.props;if(e&&e.tabBarPosition!==t.tabBarPosition)this.setOffset(0);else{var n=this.setNextPrev();this.isNextPrevShown(this.state)!==this.isNextPrevShown(n)?this.setState({},this.scrollToActiveTab):e&&t.activeKey===e.activeKey||this.scrollToActiveTab()}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()}},{key:"setNextPrev",value:function(){var e=this.props.getRef("nav"),t=this.props.getRef("navTabsContainer"),n=this.getScrollWH(t||e),r=this.getOffsetWH(this.props.getRef("container"))+1,o=this.getOffsetWH(this.props.getRef("navWrap")),i=this.offset,a=r-n,l=this.state,s=l.next,c=l.prev;if(a>=0)s=!1,this.setOffset(0,!1),i=0;else if(a<i)s=!0;else{s=!1;var u=o-n;this.setOffset(u,!1),i=u}return c=i<0,this.setNext(s),this.setPrev(c),{next:s,prev:c}}},{key:"getOffsetWH",value:function(e){var t=this.props.tabBarPosition,n="offsetWidth";return"left"!==t&&"right"!==t||(n="offsetHeight"),e[n]}},{key:"getScrollWH",value:function(e){var t=this.props.tabBarPosition,n="scrollWidth";return"left"!==t&&"right"!==t||(n="scrollHeight"),e[n]}},{key:"getOffsetLT",value:function(e){var t=this.props.tabBarPosition,n="left";return"left"!==t&&"right"!==t||(n="top"),e.getBoundingClientRect()[n]}},{key:"setOffset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},o=this.props.tabBarPosition,i=this.props.getRef("nav").style,a=F(i);"left"===o||"right"===o?r=a?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:a?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},a?D(i,r.value):i[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,i=this.state,a=i.next,l=i.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||a,y=o.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:x()((e={},c()(e,u+"-tab-prev",1),c()(e,u+"-tab-btn-disabled",!l),c()(e,u+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||o.a.createElement("span",{className:u+"-tab-prev-icon"})),v=o.a.createElement("span",{onClick:a?this.next:null,unselectable:"unselectable",className:x()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!a),c()(t,u+"-tab-arrow-show",h),t))},m||o.a.createElement("span",{className:u+"-tab-next-icon"})),b=u+"-nav",g=x()((n={},c()(n,b,!0),c()(n,f?b+"-animated":b+"-no-animated",!0),n));return o.a.createElement("div",{className:x()((r={},c()(r,u+"-nav-container",1),c()(r,u+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},y,v,o.a.createElement("div",{className:u+"-nav-wrap",ref:this.props.saveRef("navWrap")},o.a.createElement("div",{className:u+"-nav-scroll"},o.a.createElement("div",{className:g,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(o.a.Component),ve=ye;ye.propTypes={activeKey:w.a.string,getRef:w.a.func.isRequired,saveRef:w.a.func.isRequired,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),prefixCls:w.a.string,scrollAnimated:w.a.bool,onPrevClick:w.a.func,onNextClick:w.a.func,navWrapper:w.a.func,children:w.a.node,prevIcon:w.a.node,nextIcon:w.a.node,direction:w.a.node},ye.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var be=function(e){function t(){var e,n,r,o;d()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=r=v()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.getRef=function(e){return r[e]},r.saveRef=function(e){return function(t){t&&(r[e]=t)}},o=n,v()(r,o)}return g()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(o.a.Component),ge=be;be.propTypes={children:w.a.func},be.defaultProps={children:function(){return null}};var Oe=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return o.a.createElement(ge,null,(function(e,r){return o.a.createElement(pe,l()({saveRef:e},n),o.a.createElement(ve,l()({saveRef:e,getRef:r},n),o.a.createElement(ue,l()({saveRef:e,renderTabBarNode:t},n)),o.a.createElement(ae,l()({saveRef:e,getRef:r},n))))}))}}]),t}(o.a.Component),we=Oe;Oe.propTypes={children:w.a.func};var Ee=n("CtXQ");function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _e(e){return(_e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(e,t){return(Pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var o=Te(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ne(this,n)}}function Ne(e,t){return!t||"object"!==_e(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Me=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pe(e,t)}(a,e);var t,n,o,i=ke(a);function a(){return je(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t,n=this.props,o=n.tabBarStyle,i=n.animated,a=n.renderTabBar,l=n.tabBarExtraContent,s=n.tabPosition,c=n.prefixCls,u=n.className,f=n.size,p=n.type,d="object"===_e(i)?i.inkBar:i,m="left"===s||"right"===s,h=m?"up":"left",y=m?"down":"right",v=r.createElement("span",{className:"".concat(c,"-tab-prev-icon")},r.createElement(Ee.default,{type:h,className:"".concat(c,"-tab-prev-icon-target")})),b=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(Ee.default,{type:y,className:"".concat(c,"-tab-next-icon-target")})),g=x()("".concat(c,"-").concat(s,"-bar"),(Se(e={},"".concat(c,"-").concat(f,"-bar"),!!f),Se(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),O=xe(xe({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:o,prevIcon:v,nextIcon:b,className:g});return t=a?a(O,we):r.createElement(we,O),r.cloneElement(t)}}])&&Ce(t.prototype,n),o&&Ce(t,o),a}(r.Component);Me.defaultProps={animated:!0,type:"line"};var De=n("H84U"),Fe=n("6CfX"),Ie=n("R3zJ");function Ae(){return(Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ue(e,t){return(Ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ze(e);if(t){var o=ze(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qe(this,n)}}function qe(e,t){return!t||"object"!==Le(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var We=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},He=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ue(e,t)}(l,e);var t,n,o,a=Be(l);function l(){var e;return Ke(this,l),(e=a.apply(this,arguments)).removeTab=function(t,n){if(n.stopPropagation(),t){var r=e.props.onEdit;r&&r(t,"remove")}},e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e.createNewTab=function(t){var n=e.props.onEdit;n&&n(t,"add")},e.renderTabs=function(t){var n,o=t.getPrefixCls,i=e.props,a=i.prefixCls,l=i.className,s=void 0===l?"":l,c=i.size,u=i.type,f=void 0===u?"line":u,p=i.tabPosition,d=i.children,m=i.animated,h=void 0===m||m,y=i.hideAdd,v=e.props.tabBarExtraContent,b="object"===Le(h)?h.tabPane:h;"line"!==f&&(b="animated"in e.props&&b),Object(Fe.a)(!(f.indexOf("card")>=0&&("small"===c||"large"===c)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var g=o("tabs",a),O=x()(s,(Re(n={},"".concat(g,"-vertical"),"left"===p||"right"===p),Re(n,"".concat(g,"-").concat(c),!!c),Re(n,"".concat(g,"-card"),f.indexOf("card")>=0),Re(n,"".concat(g,"-").concat(f),!0),Re(n,"".concat(g,"-no-animation"),!b),n)),w=[];"editable-card"===f&&(w=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var o=t.props.closable,i=(o=void 0===o||o)?r.createElement(Ee.default,{type:"close",className:"".concat(g,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;w.push(r.cloneElement(t,{tab:r.createElement("div",{className:o?void 0:"".concat(g,"-tab-unclosable")},t.props.tab,i),key:t.key||n}))})),y||(v=r.createElement("span",null,r.createElement(Ee.default,{type:"plus",className:"".concat(g,"-new-tab"),onClick:e.createNewTab}),v))),v=v?r.createElement("div",{className:"".concat(g,"-extra-content")},v):null;var E=We(e.props,[]),S=x()("".concat(g,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(g,"-card-content"));return r.createElement(ne,Ae({},e.props,{prefixCls:g,className:O,tabBarPosition:p,renderTabBar:function(){return r.createElement(Me,Ae({},Object(re.a)(E,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:S,animated:b,animatedWithMargin:!0})},onChange:e.handleChange}),w.length>0?w:d)},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=i.findDOMNode(this);e&&!Ie.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(De.a,null,this.renderTabs)}}])&&Ve(t.prototype,n),o&&Ve(t,o),l}(r.Component);He.TabPane=Q,He.defaultProps={hideAdd:!1,tabPosition:"top"}},ZWtO:function(e,t,n){var r=n("4uTw"),o=n("9Nap");e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("3S7+")),o=u(n("CFYs")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ"),n("D8SU");var a=n("q1tI"),l=u(a),s=n("PhNK"),c=n("spEH");function u(e){return e&&e.__esModule?e:{default:e}}n("js5m"),n("VPG4"),t.default=function(e){var t=e.data,n=e.history,u=e.owner,f=e.projectsId,p=e.parentsSha,d=(0,a.useState)(t&&t.files),m=i(d,2),h=m[0],y=m[1],v=(0,a.useState)("复制文件路径"),b=i(v,2),g=b[0],O=b[1],w=(0,a.useState)(!1),E=i(w,2),x=E[0],S=E[1];function _(e,t,n){if(!n){var r=h.concat();r[t].flag=!e,r.splice(),y(r)}}(0,a.useEffect)((function(){t&&y(t.files)}),[t]),(0,a.useEffect)((function(){document.addEventListener("click",(function(){S(!1)}))}));var j=l.default.createElement("div",{className:"folders"},l.default.createElement("div",{className:"folderList"},h&&h.map((function(e,t){return l.default.createElement("a",{href:"#value"+t},l.default.createElement(c.FlexAJ,{className:"filesInfo",key:t,onClick:function(){e.flag&&_(e.flag,t,e.isBin),S(!1)}},l.default.createElement(c.AlignCenter,null,l.default.createElement("i",{className:"iconfont icon-wenjianicon mr4"}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name},e.name)),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0?":":"")+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(o.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),e.addition>0&&l.default.createElement("span",{className:"color-green ml10"},"+",e.addition),e.deletion>0&&l.default.createElement("span",{className:"color-red ml10"},"-",e.deletion)))))}))));return l.default.createElement("div",{onClick:function(e){e.nativeEvent.stopImmediatePropagation()}},l.default.createElement(c.AlignCenter,{className:"color-grey-9",style:{position:"relative"}},l.default.createElement("div",{onClick:function(){S(!x)}},l.default.createElement("i",{className:"iconfont mr5 "+(x?"font-18 icon-sanjiaoxing-down":"font-16 icon-triangle")}),l.default.createElement("span",{className:"color-grey-6 update-file-count"},"共有",l.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件 "),"被更改,包括",t&&t.total_addition?l.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?l.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),x&&j),h&&h.length>0&&l.default.createElement("div",{className:"fileList"},h.map((function(e,t){return l.default.createElement("div",{className:"files",key:t},l.default.createElement("a",{id:"value"+t,className:"anchorPoint"}),l.default.createElement(c.FlexAJ,{className:"filesInfo"},l.default.createElement(c.AlignCenter,null,e.isBin?"":l.default.createElement("i",{className:e.flag?"iconfont icon-triangle font-15 color-grey-9":"iconfont icon-sanjiaoxing-down color-grey-9 mt4",onClick:function(){return _(e.flag,t,e.isBin)}}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name,onClick:function(){return _(e.flag,t,e.isBin)}},e.name),l.default.createElement(r.default,{title:g,onVisibleChange:function(){return O("复制文件路径")}},l.default.createElement("i",{className:"iconfont icon-fuzhiicon ml6",onClick:function(){return t=e.name,(n=document.createElement("input")).defaultValue=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="copyCont",n.style.display="none",void O("复制成功");var t,n}}))),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0?":":"")+" "+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(o.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),l.default.createElement("span",{className:"ml10"},e.addition+e.deletion,"处")),!e.isSubmodule&&l.default.createElement("span",{className:"see-file-btn",onClick:function(){n.push("/"+u+"/"+f+(e.isDeleted?"/commits/"+(0,s.truncateCommitId)(p):"/tree/"+(0,s.truncateCommitId)(e.sha)+"/"+e.name))}},"查看文件"))),e.sections&&e.sections.length>=1&&!e.flag&&l.default.createElement("div",{className:"filesContent"},e.sections.map((function(e,t){return e.lines&&e.lines.length>0&&e.lines.map((function(e,n){return l.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},l.default.createElement("span",{className:"lines"},l.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),l.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),l.default.createElement("p",null,e.content))}))}))))}))))}},adU4:function(e,t,n){var r=n("y1pI"),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),o=c(r);n("vg9a");var i=n("ud8/"),a=c(i);n("SJMd");var l=c(n("wMS7")),s=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,p=void 0===f?{}:f,d=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,a.default)(m),t=(0,i.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,i.getTocContent)()),(0,i.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],o=r.type,i=r.expression;return(0,s.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(i)||"",{displayMode:"block"===o,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,i.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(d&&d.hash&&h){var e=d.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[d,h]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(y.current&&h&&h.match(u)&&window.PR.prettyPrint(),y.current)return y.current.addEventListener("click",v),function(){y.current.removeEventListener("click",v),(0,i.resetMathExpressions)(),(0,i.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=e.type,s=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,l)&&!e.required)return n();i.default.required(e,t,r,s,o,l),(0,a.isEmptyValue)(t,l)||i.default.type(e,t,r,s,o)}n(s)}},cwxS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"array")&&!e.required)return n();i.default.required(e,t,r,l,o,"array"),(0,a.isEmptyValue)(t,"array")||(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("VXEj")),o=w(n("NJEC")),i=w(n("2/Rp")),a=w(n("NUBc")),l=w(n("ZTPi")),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV"),n("AUBz");var u=n("q1tI"),f=w(u),p=n("eO8H"),d=w(n("vDqi")),m=w(n("AySf")),h=w(n("bIax")),y=n("sYIF"),v=w(n("LZ3y")),b=w(n("p7gc")),g=w(n("bjH3")),O=w(n("oYoh"));function w(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var E=l.default.TabPane,x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getjournalslist()},n.addjournals=function(){var e=n.state,t=e.content,r=e.reply_content;n.setState({journal_spin:!0}),t||r?n.props.form.validateFieldsAndScroll((function(e,o){if(e)n.setState({journal_spin:!1});else{var i=n.state,a=i.page,l=i.limit,c=i.fileList,u=i.orderId,f=i.reply_id,p=i.is_reply,m="/issues/"+u+"/journals.json";d.default.post(m,s({},o,{content:p?r:t,issue_id:u,attachment_ids:c,parent_id:f})).then((function(e){e&&0===e.data.status&&(n.props.form.setFieldsValue({content:"",reply_content:void 0}),n.state.new_journal_id=e.data.id,n.getjournalslist(a,l),n.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1})),n.setState({journal_spin:!1}),e&&411!==e.data.status&&n.props.showNotification(e.data.message)})).catch((function(e){n.setState({journal_spin:!1}),console.log(e)}))}})):n.setState({journal_spin:!1})},n.add_reply=function(e){!1!==n.props.checkIfLogin()?n.setState({is_reply:!0,success_journal:!1,reply_id:e}):n.props.showLoginDialog()},n.cancel_reply=function(){n.setState({is_reply:!1,reply_id:void 0,success_journal:!1,reply_content:void 0})},n.getjournalslist=function(e,t){var r=n.state.orderId,o="/issues/"+r+"/journals.json",i=r;d.default.get(o,{params:{id:i,page:e,limit:t}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1,fileList:void 0})})).catch((function(e){console.log(e)}))},n.UploadFunc=function(e){n.setState({fileList:e,attachment_clean:!0})},n.deleteorder=function(e){var t=n.state,r=t.page,o=t.limit,i=t.orderId,a="/issues/"+i+"/journals/"+e+".json";d.default.delete(a,{data:{issue_id:i,id:e}}).then((function(e){e&&n.getjournalslist(r,o)})).catch((function(e){console.log(e)}))},n.renderJournalList=function(e){return e&&e.length>0?e.map((function(e,t){return f.default.createElement("div",{key:t+1,className:"journal-list-item"},f.default.createElement("span",{className:"fwb mr3"},e.detail,":"),f.default.createElement("span",{className:"mr5 color-grey-9"},e.old_value&&e.old_value.length>0?"更新为":"新增"),f.default.createElement("span",null,e.value&&e.value.length>0?"标记"===e.detail?f.default.createElement("span",{className:"issue-tag-show",style:{background:e.value[0].color}},e.value[0].name):e.value:"无"))})):f.default.createElement("div",null,f.default.createElement("span",null,"没有评论~"))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.onContentChange=function(e){e&&n.setState({content:e,quillFlag:!1})},n.replyContentChange=function(e){e&&n.setState({reply_content:e,quillFlag:!1})},n.onRef=function(e){n.child=e},n.commentCtx=function(e){return f.default.createElement(g.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,o=e.search_count;if(o>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(a.default,{simple:!0,defaultCurrent:t,total:o,pageSize:r,onChange:n.ChangePage}))},n.state={content:void 0,journalsdata:void 0,isedit:void 0,fileList:void 0,limit:10,page:1,journal_spin:!1,edit_spin:!1,attachment_clean:!0,orderId:n.props.order_id,is_reply:!1,reply_id:void 0,reply_content:void 0,new_journal_id:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"loginModal",value:function(){this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,a=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,g=t.journal_spin,w=t.attachment_clean,x=t.is_reply,S=t.reply_id,_=t.reply_content,j=t.orderId,C=t.new_journal_id,P=this.props,k=P.current_user,N=P.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/"+(k&&k.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("/"+(k&&k.image_url)),alt:"",width:"30",height:"30"})),f.default.createElement("div",null,f.default.createElement(b.default,{placeholder:"添加评论...",height:300,mdID:n?"orderdetail-add-descriptions"+n:"orderdetail-add-descriptions",initValue:t?_:u,onChange:t?e.replyContentChange:e.onContentChange}),f.default.createElement("p",{className:"quillFlag"},d&&f.default.createElement("span",{className:""},"请输入评论内容")),f.default.createElement(m.default,{className:"commentStyle",isComplete:w,load:e.UploadFunc,icon:f.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.props.showNotification}),f.default.createElement("p",{className:"clearfix mt20"},f.default.createElement(i.default,{type:"primary",onClick:e.addjournals,loading:g,className:"mr15"},"评论"),f.default.createElement(i.default,{onClick:e.cancel_reply},"取消"))))},M=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link color-black ml10 fwb"},t&&t.user_name)),f.default.createElement("div",{className:"ml40"},t.content?e.commentCtx(t.content):f.default.createElement("div",null,e.renderJournalList(t.journal_details)),t&&t.attachments&&t.attachments.length>0?f.default.createElement(v.default,{attachments:t.attachments,showNotification:e.props.showNotification,canDelete:k&&(k.admin||k.login===t.user_login)}):"",f.default.createElement("div",{className:"grid-item mt5"},f.default.createElement("span",{className:"color-grey-8"},t.created_at),f.default.createElement("span",{className:"text-right"},k&&(k.admin||k.login===t.user_login)?f.default.createElement(o.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(i.default,{type:"link"},f.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):"",f.default.createElement(i.default,{type:"link",className:"ml-10",onClick:function(){return e.add_reply(t.id)}},f.default.createElement("i",{className:"iconfont icon-huifu1 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"回复")))),k&&f.default.createElement("div",null,x&&S&&S===t.id?f.default.createElement("div",{className:"pt20"},T(x,t.id)):""),f.default.createElement(O.default,s({order_id:j,parent_id:t.id,onRef:e.onRef,children_comment_id:C},e.props))))};return f.default.createElement("div",null,N?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},x&&!S?f.default.createElement("div",{className:"pd20"},T(x,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item"},f.default.createElement("img",{className:"radius",src:k&&k.image_url?(0,y.getImageUrl)("/"+k.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(i.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,M(e))}}),this.Paginations()):f.default.createElement("div",{className:"mt20"},f.default.createElement("div",{className:"comment-background"},f.default.createElement(l.default,{defaultActiveKey:"1",className:"custom-comment-tabs"},f.default.createElement(E,{tab:f.default.createElement("span",{className:"ml-3 font-16"},"评论",a>0&&f.default.createElement("span",{className:"search-count-button"},a)),key:"1"},f.default.createElement("div",{className:"mb10"},x&&!S?f.default.createElement("div",{className:"pd20"},T(x,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item mb20"},f.default.createElement("img",{className:"radius",src:k&&k.image_url?(0,y.getImageUrl)("/"+k.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(i.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,M(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=x},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),i=n("rEGp"),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},dt0z:function(e,t,n){var r=n("zoYe");e.exports=function(e){return null==e?"":r(e)}},e4Nc:function(e,t,n){var r=n("fGT3"),o=n("k+1r"),i=n("JHgL"),a=n("pSRY"),l=n("H8j4");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},eUgh:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},ebwN:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Map");e.exports=r},ekgI:function(e,t,n){var r=n("YESw"),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},em44:function(e,t,n){},fGT3:function(e,t,n){var r=n("4kuk"),o=n("Xi7e"),i=n("ebwN");e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},fhzG:function(e,t,n){"use strict";var r=n("q1tI"),o=n("lT4e");if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},hypo:function(e,t,n){var r=n("O0oS");e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),(0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},jB5C:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function l(e){return i(e,!0)}function s(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=l(r),t}var c=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,f="left";var p=void 0;function d(e,t){for(var n=0;n<e.length;n++)t(e[n])}function m(e){return"border-box"===p(e,"boxSizing")}"undefined"!=typeof window&&(p=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(c.test(n)&&!u.test(t)){var r=e.style,o=r[f],i=e.runtimeStyle[f];e.runtimeStyle[f]=e.currentStyle[f],r[f]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[f]=o,e.runtimeStyle[f]=i}return""===n?"auto":n});var h=["margin","border","padding"];function y(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function v(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var l=void 0;l="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(p(e,l))||0}return r}function b(e){return null!=e&&e==e.window}var g={};function O(e,t,n){if(b(e))return"width"===t?g.viewportWidth(e):g.viewportHeight(e);if(9===e.nodeType)return"width"===t?g.docWidth(e):g.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(p(e),m(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=p(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?1:-1);var l=void 0!==o||i,s=o||a;if(-1===n)return l?s-v(e,["border","padding"],r):a;if(l){var c=2===n?-v(e,["border"],r):v(e,["margin"],r);return s+(1===n?0:c)}return a+v(e,h.slice(n),r)}d(["Width","Height"],(function(e){g["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],g["viewport"+e](n))},g["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var w={position:"absolute",visibility:"hidden",display:"block"};function E(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=O.apply(void 0,n):y(e,w,(function(){t=O.apply(void 0,n)})),t}function x(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):p(e,t);for(var i in t)t.hasOwnProperty(i)&&x(e,i,t[i])}d(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);g["outer"+t]=function(t,n){return t&&E(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];g[e]=function(t,r){if(void 0===r)return t&&E(t,e,-1);if(t){p(t);return m(t)&&(r+=v(t,["padding","border"],n)),x(t,e,r)}}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return s(e);!function(e,t){"static"===x(e,"position")&&(e.style.position="relative");var n=s(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(x(e,i))||0,r[i]=o+t[i]-n[i]);x(e,r)}(e,t)},isWindow:b,each:d,css:x,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(b(e)){if(void 0===t)return a(e);window.scrollTo(t,l(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(b(e)){if(void 0===t)return l(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},g)},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),i=v(n("iHzq")),a=v(n("EtQh")),l=v(n("HOVM")),s=v(n("XR+G")),c=v(n("Ejpc")),u=v(n("cwxS")),f=v(n("XZDd")),p=v(n("rjwK")),d=v(n("L2wI")),m=v(n("myOp")),h=v(n("UeuU")),y=v(n("chzT"));function v(e){return e&&e.__esModule?e:{default:e}}t.default={string:r.default,method:o.default,number:i.default,boolean:a.default,regexp:l.default,integer:s.default,float:c.default,array:u.default,object:f.default,enum:p.default,pattern:d.default,date:m.default,url:y.default,hex:y.default,email:y.default,required:h.default}},"jbM+":function(e,t,n){var r=n("R/W3");e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},jpXb:function(e,t,n){var r=n("wZXL");e.exports=new r},js5m:function(e,t,n){},"k+1r":function(e,t,n){var r=n("QkVE");e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kCCV:function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},l1rO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0"));t.default=function(e,t,n,o,i,a){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,a||e.type)||o.push(r.format(i.messages.required,e.fullField))}},l8PK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0"));t.default=function(e,t,n,o,i){var a="number"==typeof e.len,l="number"==typeof e.min,s="number"==typeof e.max,c=t,u=null,f="number"==typeof t,p="string"==typeof t,d=Array.isArray(t);if(f?u="number":p?u="string":d&&(u="array"),!u)return!1;d&&(c=t.length),p&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?c!==e.len&&o.push(r.format(i.messages[u].len,e.fullField,e.len)):l&&!s&&c<e.min?o.push(r.format(i.messages[u].min,e.fullField,e.min)):s&&!l&&c>e.max?o.push(r.format(i.messages[u].max,e.fullField,e.max)):l&&s&&(c<e.min||c>e.max)&&o.push(r.format(i.messages[u].range,e.fullField,e.min,e.max))}},lCnp:function(e,t,n){"use strict";var r=n("YEIV"),o=n.n(r),i=n("QbLZ"),a=n.n(i),l=n("iCc5"),s=n.n(l),c=n("V7oC"),u=n.n(c),f=n("FYw3"),p=n.n(f),d=n("mRg0"),m=n.n(d),h=n("q1tI"),y=n.n(h),v=n("17x9"),b=n.n(v),g=n("VCL8"),O=n("m+aA"),w=n("TSYQ"),E=n.n(w),x=n("xEkU"),S=n.n(x),_=!("undefined"==typeof window||!window.document||!window.document.createElement);function j(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}var C,P,k,N=(C=_,P="undefined"!=typeof window?window:{},k={animationend:j("Animation","AnimationEnd"),transitionend:j("Transition","TransitionEnd")},C&&("AnimationEvent"in P||delete k.animationend.animation,"TransitionEvent"in P||delete k.transitionend.transition),k),T={};_&&(T=document.createElement("div").style);var M={};function D(e){if(M[e])return M[e];var t=N[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in T)return M[e]=t[i],M[e]}return""}var F=D("animationend"),I=D("transitionend"),A=!(!F||!I);function R(e,t){return e?"object"==typeof e?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:e+"-"+t:null}var L={eventProps:b.a.object,visible:b.a.bool,children:b.a.func,motionName:b.a.oneOfType([b.a.string,b.a.object]),motionAppear:b.a.bool,motionEnter:b.a.bool,motionLeave:b.a.bool,motionLeaveImmediately:b.a.bool,motionDeadline:b.a.number,removeOnLeave:b.a.bool,leavedClassName:b.a.string,onAppearStart:b.a.func,onAppearActive:b.a.func,onAppearEnd:b.a.func,onEnterStart:b.a.func,onEnterActive:b.a.func,onEnterEnd:b.a.func,onLeaveStart:b.a.func,onLeaveActive:b.a.func,onLeaveEnd:b.a.func};t.a=function(e){var t=e,n=!!y.a.forwardRef;function r(e){return!(!e.motionName||!t)}"object"==typeof e&&(t=e.transitionSupport,n="forwardRef"in e?e.forwardRef:n);var i=function(e){function t(){s()(this,t);var e=p()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.onDomUpdate=function(){var t=e.state,n=t.status,o=t.newStatus,i=e.props,a=i.onAppearStart,l=i.onEnterStart,s=i.onLeaveStart,c=i.onAppearActive,u=i.onEnterActive,f=i.onLeaveActive,p=i.motionAppear,d=i.motionEnter,m=i.motionLeave;if(r(e.props)){var h=e.getElement();e.$cacheEle!==h&&(e.removeEventListener(e.$cacheEle),e.addEventListener(h),e.$cacheEle=h),o&&"appear"===n&&p?e.updateStatus(a,null,null,(function(){e.updateActiveStatus(c,"appear")})):o&&"enter"===n&&d?e.updateStatus(l,null,null,(function(){e.updateActiveStatus(u,"enter")})):o&&"leave"===n&&m&&e.updateStatus(s,null,null,(function(){e.updateActiveStatus(f,"leave")}))}},e.onMotionEnd=function(t){var n=e.state,r=n.status,o=n.statusActive,i=e.props,a=i.onAppearEnd,l=i.onEnterEnd,s=i.onLeaveEnd;"appear"===r&&o?e.updateStatus(a,{status:"none"},t):"enter"===r&&o?e.updateStatus(l,{status:"none"},t):"leave"===r&&o&&e.updateStatus(s,{status:"none"},t)},e.setNodeRef=function(t){var n=e.props.internalRef;e.node=t,"function"==typeof n?n(t):n&&"current"in n&&(n.current=t)},e.getElement=function(){try{return Object(O.a)(e.node||e)}catch(t){return e.$cacheEle}},e.addEventListener=function(t){t&&(t.addEventListener(I,e.onMotionEnd),t.addEventListener(F,e.onMotionEnd))},e.removeEventListener=function(t){t&&(t.removeEventListener(I,e.onMotionEnd),t.removeEventListener(F,e.onMotionEnd))},e.updateStatus=function(t,n,r,o){var i=t?t(e.getElement(),r):null;if(!1!==i&&!e._destroyed){var l=void 0;o&&(l=function(){e.nextFrame(o)}),e.setState(a()({statusStyle:"object"==typeof i?i:null,newStatus:!1},n),l)}},e.updateActiveStatus=function(t,n){e.nextFrame((function(){if(e.state.status===n){var r=e.props.motionDeadline;e.updateStatus(t,{statusActive:!0}),r>0&&setTimeout((function(){e.onMotionEnd({deadline:!0})}),r)}}))},e.nextFrame=function(t){e.cancelNextFrame(),e.raf=S()(t)},e.cancelNextFrame=function(){e.raf&&(S.a.cancel(e.raf),e.raf=null)},e.state={status:"none",statusActive:!1,newStatus:!1,statusStyle:null},e.$cacheEle=null,e.node=null,e.raf=null,e}return m()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this._destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame()}},{key:"render",value:function(){var e,t=this.state,n=t.status,i=t.statusActive,l=t.statusStyle,s=this.props,c=s.children,u=s.motionName,f=s.visible,p=s.removeOnLeave,d=s.leavedClassName,m=s.eventProps;return c?"none"!==n&&r(this.props)?c(a()({},m,{className:E()((e={},o()(e,R(u,n),"none"!==n),o()(e,R(u,n+"-active"),"none"!==n&&i),o()(e,u,"string"==typeof u),e)),style:l}),this.setNodeRef):f?c(a()({},m),this.setNodeRef):p?null:c(a()({},m,{className:d}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.status;if(!r(e))return{};var i=e.visible,a=e.motionAppear,l=e.motionEnter,s=e.motionLeave,c=e.motionLeaveImmediately,u={prevProps:e};return("appear"===o&&!a||"enter"===o&&!l||"leave"===o&&!s)&&(u.status="none",u.statusActive=!1,u.newStatus=!1),!n&&i&&a&&(u.status="appear",u.statusActive=!1,u.newStatus=!0),n&&!n.visible&&i&&l&&(u.status="enter",u.statusActive=!1,u.newStatus=!0),(n&&n.visible&&!i&&s||!n&&c&&!i&&s)&&(u.status="leave",u.statusActive=!1,u.newStatus=!0),u}}]),t}(y.a.Component);return i.propTypes=a()({},L,{internalRef:b.a.oneOfType([b.a.object,b.a.func])}),i.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},Object(g.polyfill)(i),n?y.a.forwardRef((function(e,t){return y.a.createElement(i,a()({internalRef:t},e))})):i}(A)},lSCD:function(e,t,n){var r=n("NykK"),o=n("GoyQ");e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),i=n("2NuI");e.exports=function(e,t,n){var a=[],l={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},s={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)f(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=d(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(i(!(n in c),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){var o=s.hasOwnProperty(n)?s[n]:null;return i("DEFINE_MANY_MERGED"===o,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=d(e[n],r))}e[n]=r}}}(e,t)},autobind:function(){}};function u(e,t){var n=l.hasOwnProperty(t)?l[t]:null;b.hasOwnProperty(t)&&i("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function f(e,n){if(n){i("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,o=r.__reactAutoBindPairs;for(var a in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&"mixins"!==a){var s=n[a],f=r.hasOwnProperty(a);if(u(f,a),c.hasOwnProperty(a))c[a](e,s);else{var p=l.hasOwnProperty(a);if("function"==typeof s&&!p&&!f&&!1!==n.autobind)o.push(a,s),r[a]=s;else if(f){var h=l[a];i(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,a),"DEFINE_MANY_MERGED"===h?r[a]=d(r[a],s):"DEFINE_MANY"===h&&(r[a]=m(r[a],s))}else r[a]=s}}}else;}function p(e,t){for(var n in i(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(i(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function d(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return p(o,n),p(o,r),o}}function m(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){return t.bind(e)}var y={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},b={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},g=function(){};return r(g.prototype,e.prototype,b),function(e){var t=function(e,r,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=h(e,o)}}(this),this.props=e,this.context=r,this.refs=o,this.updater=a||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;i("object"==typeof l&&!Array.isArray(l),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=l};for(var r in t.prototype=new g,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(f.bind(null,t)),f(t,y),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),i(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},ljhN:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},luuN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e){var t=e,n=[];return{setState:function(e){t=r({},t,e);for(var o=0;o<n.length;o++)n[o]()},getState:function(){return t},subscribe:function(e){return n.push(e),function(){var t=n.indexOf(e);n.splice(t,1)}}}}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},"m+aA":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("i8i4"),o=n.n(r);function i(e){return e instanceof HTMLElement?e:o.a.findDOMNode(e)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},moXY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0"));t.default=function(e,t,n,o,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),i=n.n(o),a=n("BGR+"),l=n("VCL8"),s=n("CtXQ"),c=n("H84U");function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,o,a=y(l);function l(){var e;return d(this,l),(e=a.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,r=t.onChange;r&&r(!n)},e.renderCheckableTag=function(t){var n,o=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.className,c=a.checked,u=g(a,["prefixCls","className","checked"]),d=o("tag",l),m=i()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,r.createElement("span",f({},u,{className:m,onClick:e.handleClick}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(t.prototype,n),o&&m(t,o),l}(r.Component),w=n("09Wf"),E=n("6CfX"),x=n("g0mS");function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=T(e);if(t){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return N(this,n)}}function N(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},D=new RegExp("^(".concat(w.a.join("|"),")(-inverse)?$")),F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}(u,e);var t,n,o,l=k(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,o=n.children,i=M(n,["children"]),l="onClick"in i||o&&"a"===o.type,s=Object(a.a)(i,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(x.a,null,r.createElement("span",j({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",j({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())},Object(E.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return t=u,o=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(n=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return j({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,a=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return i()(u,(_(t={},"".concat(u,"-").concat(l),c),_(t,"".concat(u,"-has-color"),l&&!c),_(t,"".concat(u,"-hidden"),!s),t),a)}},{key:"setVisible",value:function(e,t){var n=this.props,r=n.onClose,o=n.afterClose;r&&r(t),o&&!r&&o(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&D.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderTag)}}])&&C(t.prototype,n),o&&C(t,o),u}(r.Component);F.CheckableTag=O,F.defaultProps={closable:!1},Object(l.polyfill)(F);t.default=F},mwIZ:function(e,t,n){var r=n("ZWtO");e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();if(i.default.required(e,t,r,l,o),!(0,a.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,i.default.type(e,s,r,l,o),s&&i.default.range(e,s.getTime(),r,l,o)}}n(l)}},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"==typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",l=o["request"+a],s=o["cancel"+a]||o["cancelRequest"+a],c=0;!l&&c<i.length;c++)l=o[i[c]+"Request"+a],s=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(o,e)},e.exports.cancel=function(){s.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},n5Yh:function(e,t,n){},nEr6:function(e,t,n){"use strict";function r(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}Object.defineProperty(t,"__esModule",{value:!0}),t.newMessages=r;t.messages=r()},"o/2+":function(e,t,n){"use strict";var r=n("foW8"),o=n.n(r)()({});t.a=o},oEMi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("+kn0")),a=n("l1rO"),l=(r=a)&&r.__esModule?r:{default:r};var s={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},c={integer:function(e){return c.number(e)&&parseInt(e,10)===e},float:function(e){return c.number(e)&&!c.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":o(e))&&!c.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(s.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(s.url)},hex:function(e){return"string"==typeof e&&!!e.match(s.hex)}};t.default=function(e,t,n,r,a){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,a);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(i.format(a.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(i.format(a.messages.types[s],e.fullField,e.type))}}},oV5b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n("+kn0"),l=n("jESh"),s=(r=l)&&r.__esModule?r:{default:r},c=n("nEr6");function u(e){this.rules=null,this._messages=c.messages,this.define(e)}u.prototype={messages:function(e){return e&&(this._messages=(0,a.deepMerge)((0,c.newMessages)(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===e?"undefined":i(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},l=e,s=n,f=r;if("function"==typeof s&&(f=s,s={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(),Promise.resolve();function p(e){var t,n,r=void 0,o=[],i={};for(r=0;r<e.length;r++)t=e[r],n=void 0,Array.isArray(t)?o=(n=o).concat.apply(n,t):o.push(t);o.length?i=(0,a.convertFieldsError)(o):(o=null,i=null),f(o,i)}if(s.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,a.deepMerge)(d,s.messages),s.messages=d}else s.messages=this.messages();var m=void 0,h=void 0,y={},v=s.keys||Object.keys(this.rules);v.forEach((function(n){m=t.rules[n],h=l[n],m.forEach((function(r){var i=r;"function"==typeof i.transform&&(l===e&&(l=o({},l)),h=l[n]=i.transform(h)),(i="function"==typeof i?{validator:i}:o({},i)).validator=t.getValidationMethod(i),i.field=n,i.fullField=i.fullField||n,i.type=t.getType(i),i.validator&&(y[n]=y[n]||[],y[n].push({rule:i,value:h,source:l,field:n}))}))}));var b={};return(0,a.asyncMap)(y,s,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==i(n.fields)&&"object"!==i(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=i;if(Array.isArray(c)||(c=[c]),!s.suppressWarning&&c.length&&u.warning("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map((0,a.complementError)(n)),s.first&&c.length)return b[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,a.complementError)(n)):s.error?[s.error(n,(0,a.format)(s.messages.required,n.field))]:[],t(c);var f={};if(n.defaultField)for(var p in e.value)e.value.hasOwnProperty(p)&&(f[p]=n.defaultField);for(var d in f=o({},f,e.rule.fields))if(f.hasOwnProperty(d)){var m=Array.isArray(f[d])?f[d]:[f[d]];f[d]=m.map(l.bind(null,d))}var h=new u(f);h.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),h.validate(e.value,e.rule.options||s,(function(e){var n=[];c&&c.length&&n.push.apply(n,c),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)}))}else t(c)}r=r&&(n.required||!n.required&&e.value),n.field=e.field;var f=void 0;n.asyncValidator?f=n.asyncValidator(n,e.value,c,e.source,s):n.validator&&(!0===(f=n.validator(n,e.value,c,e.source,s))?c():!1===f?c(n.message||n.field+" fails"):f instanceof Array?c(f):f instanceof Error&&c(f.message)),f&&f.then&&f.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){p(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!s.default.hasOwnProperty(e.type))throw new Error((0,a.format)("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?s.default.required:s.default[this.getType(e)]||!1}},u.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");s.default[e]=t},u.warning=a.warning,u.messages=c.messages,t.default=u},oYoh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("VXEj")),o=h(n("NJEC")),i=h(n("2/Rp")),a=h(n("NUBc")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV");var s=n("q1tI"),c=h(s),u=n("eO8H"),f=h(n("vDqi")),p=n("sYIF"),d=h(n("LZ3y")),m=h(n("bjH3"));function h(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getChildrenJournals=function(e,t){var r=n.props,o=r.order_id,i=r.parent_id,a=n.state,l=a.page,s=a.limit,c="/issues/"+(e||o)+"/journals/"+(t||i)+"/get_children_journals.json";f.default.get(c,{params:{page:l,limit:s}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.deleteorder=function(e){var t=n.props.order_id,r="/issues/"+t+"/journals/"+e+".json";f.default.delete(r,{data:{issue_id:t,id:e}}).then((function(e){e&&n.getChildrenJournals()})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.state.page=e,n.state.isSpin=!0,n.getChildrenJournals()},n.commentCtx=function(e){return c.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,o=e.search_count;if(o>r)return c.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},c.default.createElement(a.default,{simple:!0,defaultCurrent:t,total:o,pageSize:r,onChange:n.ChangePage}))},n.renderList=function(e){var t=n.props.current_user;return c.default.createElement("div",{className:"width100"},c.default.createElement("div",{className:"grid-item pb5"},c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link color-black ml10 fwb"},e&&e.user_name)),c.default.createElement("div",{className:"ml40"},n.commentCtx(e.content),e&&e.attachments&&e.attachments.length>0?c.default.createElement(d.default,{attachments:e.attachments,showNotification:n.props.showNotification,canDelete:t&&(t.admin||t.login===e.user_login)}):"",c.default.createElement("div",{className:"mt5"},c.default.createElement("span",{className:"color-grey-8"},e.created_at),c.default.createElement("span",{className:"ml20"},t&&(t.admin||t.login===e.user_login)?c.default.createElement(o.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return n.deleteorder(e.id)}},c.default.createElement(i.default,{type:"link"},c.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),c.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):""))))},n.state={journalsdata:void 0,limit:10,page:1,journal_spin:!1,search_count:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.getChildrenJournals()}},{key:"componentDidUpdate",value:function(e,t){this.props.children_comment_id&&e.children_comment_id!==this.props.children_comment_id&&this.getChildrenJournals()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,o=t.search_count,i=t.isSpin;return c.default.createElement("div",null,o>0&&c.default.createElement("div",{className:"children-comment-bg mt10"},c.default.createElement(r.default,{size:"large",loading:i,dataSource:n.issue_journals,renderItem:function(t){return c.default.createElement(r.default.Item,null,e.renderList(t))}}),this.Paginations()))}}]),t}(s.Component);t.default=y},pSRY:function(e,t,n){var r=n("QkVE");e.exports=function(e){return r(this,e).has(e)}},qPyV:function(e,t,n){var r=n("ut/Y"),o=n("LGYb");e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var r,o=n("q1tI"),i=n("TSYQ"),a=n.n(i),l=n("17x9"),s=n("H84U"),c=n("o/2+"),u=n("CWQg");function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}}),r=n("jpXb")}var d=["xxl","xl","lg","md","sm","xs"],m={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},h=[],y=-1,v={},b={dispatch:function(e){return v=e,!(h.length<1)&&(h.forEach((function(e){e.func(v)})),!0)},subscribe:function(e){0===h.length&&this.register();var t=(++y).toString();return h.push({token:t,func:e}),e(v),t},unsubscribe:function(e){0===(h=h.filter((function(t){return t.token!==e}))).length&&this.unregister()},unregister:function(){Object.keys(m).map((function(e){return r.unregister(m[e])}))},register:function(){var e=this;Object.keys(m).map((function(t){return r.register(m[t],{match:function(){var n=p(p({},v),f({},t,!0));e.dispatch(n)},unmatch:function(){var n=p(p({},v),f({},t,!1));e.dispatch(n)},destroy:function(){}})}))}};function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},k=Object(u.a)("top","middle","bottom","stretch"),N=Object(u.a)("start","end","center","space-around","space-between"),T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(l,e);var t,n,r,i=_(l);function l(){var e;return E(this,l),(e=i.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.type,u=i.justify,f=i.align,p=i.className,d=i.style,m=i.children,h=P(i,["prefixCls","type","justify","align","className","style","children"]),y=r("row",l),v=e.getGutter(),b=a()((w(n={},y,!s),w(n,"".concat(y,"-").concat(s),s),w(n,"".concat(y,"-").concat(s,"-").concat(u),s&&u),w(n,"".concat(y,"-").concat(s,"-").concat(f),s&&f),n),p),g=O(O(O({},v[0]>0?{marginLeft:v[0]/-2,marginRight:v[0]/-2}:{}),v[1]>0?{marginTop:v[1]/-2,marginBottom:v[1]/-2}:{}),d),E=O({},h);return delete E.gutter,o.createElement(c.a.Provider,{value:{gutter:v}},o.createElement("div",O({},E,{className:b,style:g}),m))},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this;this.token=b.subscribe((function(t){var n=e.props.gutter;("object"===g(n)||Array.isArray(n)&&("object"===g(n[0])||"object"===g(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){b.unsubscribe(this.token)}},{key:"getGutter",value:function(){var e=[0,0],t=this.props.gutter,n=this.state.screens;return(Array.isArray(t)?t:[t,0]).forEach((function(t,r){if("object"===g(t))for(var o=0;o<d.length;o++){var i=d[o];if(n[i]&&void 0!==t[i]){e[r]=t[i];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderRow)}}])&&x(t.prototype,n),r&&x(t,r),l}(o.Component);T.defaultProps={gutter:0},T.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(k),justify:l.oneOf(N),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&i.default.type(e,t,r,l,o)}n(l)}},rfXi:function(e,t,n){e.exports={default:n("0tVQ"),__esModule:!0}},rjwK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),t&&i.default.enum(e,t,r,l,o)}n(l)}},shjB:function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GroupProjectBackgroup=t.Content=t.Cancel=t.GreenUnder=t.NumUl=t.Redback=t.Blueback=t.Greenback=t.Greenline=t.Redline=t.Blueline=t.WhiteBack=t.Gap=t.Short=t.ShortWidth=t.Long=t.LongWidth=t.Box=t.AlignAJBottom=t.AlignTop=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var r,o=N(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),i=N(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),a=N(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),l=N(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),s=N(["{\n display:flex;\n align-items: flex-start;\n}"],["{\n display:flex;\n align-items: flex-start;\n}"]),c=N(["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"],["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"]),u=N(["{\n display:flex;\n align-items:flex-start;\n}"],["{\n display:flex;\n align-items:flex-start;\n}"]),f=N(["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"]),p=N(["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),d=N(["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"]),m=N(["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"]),h=N(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),y=N(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),v=N(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),b=N(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),g=N(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),O=N(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),w=N(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),E=N(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),x=N(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),S=N(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),_=N(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),j=N(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),C=N(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),P=n("vOnD"),k=(r=P)&&r.__esModule?r:{default:r};function N(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=k.default.div(o),t.AlignCenterBetween=k.default.div(i),t.FlexAJ=k.default.div(a),t.AlignCenter=k.default.div(l),t.AlignTop=k.default.div(s),t.AlignAJBottom=k.default.div(c),t.Box=k.default.div(u),t.LongWidth=k.default.div(f),t.Long=k.default.div(p),t.ShortWidth=k.default.div(d),t.Short=k.default.div(m),t.Gap=k.default.div(h),t.WhiteBack=k.default.div(y),t.Blueline=k.default.a(v),t.Redline=k.default.a(b,(function(e){return e.bold?"#fff":"#F73030"}),(function(e){return e.bold?"#F73030":"#fff"})),t.Greenline=k.default.a(g,(function(e){return e.bold?"#fff":"#28BD6C"}),(function(e){return e.bold?"#28BD6C":"#fff"})),t.Greenback=k.default.a(O),t.Blueback=k.default.a(w),t.Redback=k.default.a(E),t.NumUl=k.default.ul(x),t.GreenUnder=k.default.a(S),t.Cancel=k.default.a(_),t.Content=k.default.div(j),t.GroupProjectBackgroup=k.default.div(C)},t33a:function(e,t,n){"use strict";e.exports={}},tMB7:function(e,t,n){var r=n("y1pI");e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},u3En:function(e,t,n){},u8Dt:function(e,t,n){var r=n("YESw"),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},"vN+2":function(e,t){e.exports=function(){}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,(function(t){t[e]()}))}},e.exports=i},vg9a:function(e,t,n){},wJg7:function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,o=Object.freeze,i=Object.seal,a=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),o||(o=function(e){return e}),i||(i=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=S(Array.prototype.forEach),f=S(Array.prototype.indexOf),p=S(Array.prototype.join),d=S(Array.prototype.pop),m=S(Array.prototype.push),h=S(Array.prototype.slice),y=S(String.prototype.toLowerCase),v=S(String.prototype.match),b=S(String.prototype.replace),g=S(String.prototype.indexOf),O=S(String.prototype.trim),w=S(RegExp.prototype.test),E=_(RegExp),x=_(TypeError);function S(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return s(e,t,r)}}function _(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function j(e,r){t&&t(e,null);for(var o=r.length;o--;){var i=r[o];if("string"==typeof i){var a=y(i);a!==i&&(n(r)||(r[o]=a),i=a)}e[i]=!0}return e}function C(t){var n=a(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var P=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),k=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),N=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),M=o(["#text"]),D=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),F=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),I=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),A=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),R=i(/\{\{[\s\S]*|[\s\S]*\}\}/gm),L=i(/<%[\s\S]*|[\s\S]*%>/gm),K=i(/^data-[\-\w.\u00B7-\uFFFF]/),V=i(/^aria-[\-\w]+$/),U=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),B=i(/^(?:\w+script|data):/i),q=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function W(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var H=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":z(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var i=t.document,a=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,S=t.Node,_=t.NodeFilter,Y=t.NamedNodeMap,Q=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,Z=t.Text,X=t.Comment,J=t.DOMParser,$=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=G($,i),ne=te&&Ie?te.createHTML(""):"",re=l,oe=re.implementation,ie=re.createNodeIterator,ae=re.getElementsByTagName,le=re.createDocumentFragment,se=i.importNode,ce=C(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var fe=R,pe=L,de=K,me=V,he=B,ye=q,ve=U,be=null,ge=j({},[].concat(W(P),W(k),W(N),W(T),W(M))),Oe=null,we=j({},[].concat(W(D),W(F),W(I),W(A))),Ee=null,xe=null,Se=!0,_e=!0,je=!1,Ce=!1,Pe=!1,ke=!1,Ne=!1,Te=!1,Me=!1,De=!1,Fe=!1,Ie=!1,Ae=!0,Re=!0,Le=!1,Ke={},Ve=j({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ue=null,Be=j({},["audio","video","img","source","image","track"]),qe=null,ze=j({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,He=l.createElement("form"),Ge=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":z(e))||(e={}),e=C(e),be="ALLOWED_TAGS"in e?j({},e.ALLOWED_TAGS):ge,Oe="ALLOWED_ATTR"in e?j({},e.ALLOWED_ATTR):we,qe="ADD_URI_SAFE_ATTR"in e?j(C(ze),e.ADD_URI_SAFE_ATTR):ze,Ue="ADD_DATA_URI_TAGS"in e?j(C(Be),e.ADD_DATA_URI_TAGS):Be,Ee="FORBID_TAGS"in e?j({},e.FORBID_TAGS):{},xe="FORBID_ATTR"in e?j({},e.FORBID_ATTR):{},Ke="USE_PROFILES"in e&&e.USE_PROFILES,Se=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,je=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.SAFE_FOR_JQUERY||!1,Pe=e.SAFE_FOR_TEMPLATES||!1,ke=e.WHOLE_DOCUMENT||!1,Me=e.RETURN_DOM||!1,De=e.RETURN_DOM_FRAGMENT||!1,Fe=e.RETURN_DOM_IMPORT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Ae=!1!==e.SANITIZE_DOM,Re=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,Pe&&(_e=!1),De&&(Me=!0),Ke&&(be=j({},[].concat(W(M))),Oe=[],!0===Ke.html&&(j(be,P),j(Oe,D)),!0===Ke.svg&&(j(be,k),j(Oe,F),j(Oe,A)),!0===Ke.svgFilters&&(j(be,N),j(Oe,F),j(Oe,A)),!0===Ke.mathMl&&(j(be,T),j(Oe,I),j(Oe,A))),e.ADD_TAGS&&(be===ge&&(be=C(be)),j(be,e.ADD_TAGS)),e.ADD_ATTR&&(Oe===we&&(Oe=C(Oe)),j(Oe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&j(qe,e.ADD_URI_SAFE_ATTR),Re&&(be["#text"]=!0),ke&&j(be,["html","head","body"]),be.table&&(j(be,["tbody"]),delete Ee.tbody),o&&o(e),We=e)},Ye=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Qe=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Ze=function(e){var t=void 0,n=void 0;if(Te)e="<remove></remove>"+e;else{var r=v(e,/^[\r\n\t ]+/);n=r&&r[0]}var o=te?te.createHTML(e):e;try{t=(new J).parseFromString(o,"text/html")}catch(e){}if(a&&j(Ee,["title"]),!t||!t.documentElement){var i=(t=oe.createHTMLDocument("")).body;i.parentNode.removeChild(i.parentNode.firstElementChild),i.outerHTML=o}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ae.call(t,ke?"html":"body")[0]};n.isSupported&&function(){try{var e=Ze("<x/><title></title><img>");w(/<\/title/,e.querySelector("title").innerHTML)&&(a=!0)}catch(e){}}();var Xe=function(e){return ie.call(e.ownerDocument||e,e,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT,(function(){return _.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof Z||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Q&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===S?"undefined":z(S))?e instanceof S:e&&"object"===(void 0===e?"undefined":z(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,We)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Je(e))return Ye(e),!0;if(v(e.nodeName,/[\u0080-\uFFFF]/))return Ye(e),!0;var r=y(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:be}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!be[r]||Ee[r]){if(Re&&!Ve[r]&&"function"==typeof e.insertAdjacentHTML)try{var o=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(o):o)}catch(e){}return Ye(e),!0}return"noscript"===r&&w(/<\/noscript/i,e.innerHTML)||"noembed"===r&&w(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ce||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!w(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=b(e.innerHTML,/</g,"<"):e.innerHTML=b(e.textContent,/</g,"<")),Pe&&3===e.nodeType&&(t=e.textContent,t=b(t,fe," "),t=b(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(Ae&&("id"===t||"name"===t)&&(n in l||n in He))return!1;if(_e&&w(de,t));else if(Se&&w(me,t));else{if(!Oe[t]||xe[t])return!1;if(qe[t]);else if(w(ve,b(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==g(n,"data:")||!Ue[e])if(je&&!w(he,b(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,i=void 0,a=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Oe};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(o=O(t.value),i=y(m),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===i&&"IMG"===e.nodeName&&s.id)a=s.id,s=h(s,[]),Qe("id",e),Qe(m,e),f(s,a)>l&&e.setAttribute("id",a.value);else{if("INPUT"===e.nodeName&&"type"===i&&"file"===o&&c.keepAttr&&(Oe[i]||!xe[i]))continue;"id"===m&&e.setAttribute(m,""),Qe(m,e)}if(c.keepAttr)if(Ce&&w(/\/>/i,o))Qe(m,e);else if(w(/svg|math/i,e.namespaceURI)&&w(E("</("+p(r(Ve),"|")+")","i"),o))Qe(m,e);else{Pe&&(o=b(o,fe," "),o=b(o,pe," "));var g=e.nodeName.toLowerCase();if(nt(g,i,o))try{v?e.setAttributeNS(v,m,o):e.setAttribute(m,o),d(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},ot=function e(t){var n=void 0,r=Xe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var o=void 0,a=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!$e(e)){if("function"!=typeof e.toString)throw x("toString is not a function");if("string"!=typeof(e=e.toString()))throw x("dirty is not a string, aborting")}if(!n.isSupported){if("object"===z(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if($e(e))return t.toStaticHTML(e.outerHTML)}return e}if(Ne||Ge(r),n.removed=[],"string"==typeof e&&(Le=!1),Le);else if(e instanceof S)1===(a=(o=Ze("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a);else{if(!Me&&!Pe&&!ke&&-1===e.indexOf("<"))return te&&Ie?te.createHTML(e):e;if(!(o=Ze(e)))return Me?null:ne}o&&Te&&Ye(o.firstChild);for(var f=Xe(Le?e:o);l=f.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&ot(l.content),rt(l),c=l);if(c=null,Le)return e;if(Me){if(De)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Fe&&(u=se.call(i,u,!0)),u}var p=ke?o.outerHTML:o.innerHTML;return Pe&&(p=b(p,fe," "),p=b(p,pe," ")),te&&Ie?te.createHTML(p):p},n.setConfig=function(e){Ge(e),Ne=!0},n.clearConfig=function(){We=null,Ne=!1},n.isValidAttribute=function(e,t,n){We||Ge({});var r=y(e),o=y(t);return nt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&d(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()},wZXL:function(e,t,n){var r=n("vPd/"),o=n("IX3V"),i=o.each,a=o.isFunction,l=o.isArray;function s(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}s.prototype={constructor:s,register:function(e,t,n){var o=this.queries,s=n&&this.browserIsIncapable;return o[e]||(o[e]=new r(e,s)),a(t)&&(t={match:t}),l(t)||(t=[t]),i(t,(function(t){a(t)&&(t={match:t}),o[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=s},xEkU:function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"==typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",l=o["request"+a],s=o["cancel"+a]||o["cancelRequest"+a],c=0;!l&&c<i.length;c++)l=o[i[c]+"Request"+a],s=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(o,e)},e.exports.cancel=function(){s.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},xI0J:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.connect=t.Provider=void 0;var r=a(n("Z4ex")),o=a(n("V/6I")),i=a(n("luuN"));function a(e){return e&&e.__esModule?e:{default:e}}t.Provider=r.default,t.connect=o.default,t.create=i.default},y1pI:function(e,t,n){var r=n("ljhN");e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),i=(r=o)&&r.__esModule?r:{default:r},a=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"string")&&!e.required)return n();i.default.required(e,t,r,l,o,"string"),(0,a.isEmptyValue)(t,"string")||(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o),i.default.pattern(e,t,r,l,o),!0===e.whitespace&&i.default.whitespace(e,t,r,l,o))}n(l)}},zoYe:function(e,t,n){var r=n("nmnc"),o=n("eUgh"),i=n("Z0cm"),a=n("/9aa"),l=r?r.prototype:void 0,s=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},zt9T:function(e,t,n){"use strict";var r=n("jB5C");e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,l=n.alignWithLeft,s=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,f=n.offsetRight||0;o=void 0===o||o;var p=r.isWindow(t),d=r.offset(e),m=r.outerHeight(e),h=r.outerWidth(e),y=void 0,v=void 0,b=void 0,g=void 0,O=void 0,w=void 0,E=void 0,x=void 0,S=void 0,_=void 0;p?(E=t,_=r.height(E),S=r.width(E),x={left:r.scrollLeft(E),top:r.scrollTop(E)},O={left:d.left-x.left-c,top:d.top-x.top-s},w={left:d.left+h-(x.left+S)+f,top:d.top+m-(x.top+_)+u},g=x):(y=r.offset(t),v=t.clientHeight,b=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},O={left:d.left-(y.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-c,top:d.top-(y.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-s},w={left:d.left+h-(y.left+b+(parseFloat(r.css(t,"borderRightWidth"))||0))+f,top:d.top+m-(y.top+v+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),O.top<0||w.top>0?!0===a?r.scrollTop(t,g.top+O.top):!1===a?r.scrollTop(t,g.top+w.top):O.top<0?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+w.top):i||((a=void 0===a||!!a)?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+w.top)),o&&(O.left<0||w.left>0?!0===l?r.scrollLeft(t,g.left+O.left):!1===l?r.scrollLeft(t,g.left+w.left):O.left<0?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+w.left):i||((l=void 0===l||!!l)?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+w.left)))}}}]); \ No newline at end of file diff --git a/static/js/28.a2b2d8a1.chunk.js.LICENSE.txt b/static/js/28.ffd0fc63.chunk.js.LICENSE.txt similarity index 100% rename from static/js/28.a2b2d8a1.chunk.js.LICENSE.txt rename to static/js/28.ffd0fc63.chunk.js.LICENSE.txt diff --git a/static/js/33.a0d3afd1.chunk.js b/static/js/33.391ff637.chunk.js similarity index 72% rename from static/js/33.a0d3afd1.chunk.js rename to static/js/33.391ff637.chunk.js index b76ee56be..6d48bc40e 100644 --- a/static/js/33.a0d3afd1.chunk.js +++ b/static/js/33.391ff637.chunk.js @@ -1,2 +1,2 @@ -/*! For license information please see 33.a0d3afd1.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[33,9,14,23],{"+KLJ":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return w}));var r=n("q1tI"),a=n("i8i4"),o=n("MFj2"),i=n("TSYQ"),l=n.n(i),s=n("CtXQ"),c=n("H84U"),u=n("RqAY"),f=n("6CfX");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var a=_(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(){}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(g,e);var t,n,i,p=y(g);function g(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),(t=p.call(this,e)).handleClose=function(e){e.preventDefault();var n=a.findDOMNode(b(t));n.style.height="".concat(n.offsetHeight,"px"),n.style.height="".concat(n.offsetHeight,"px"),t.setState({closing:!0}),(t.props.onClose||E)(e)},t.animationEnd=function(){t.setState({closing:!1,closed:!0}),(t.props.afterClose||E)()},t.renderAlert=function(e){var n,a=e.getPrefixCls,i=t.props,c=i.description,f=i.prefixCls,p=i.message,h=i.closeText,v=i.banner,y=i.className,g=void 0===y?"":y,b=i.style,_=i.icon,E=t.props,w=E.closable,S=E.type,C=E.showIcon,x=E.iconType,O=t.state,N=O.closing,k=O.closed,j=a("alert",f);C=!(!v||void 0!==C)||C,S=v&&void 0===S?"warning":S||"info";var P="filled";if(!x){switch(S){case"success":x="check-circle";break;case"info":x="info-circle";break;case"error":x="close-circle";break;case"warning":x="exclamation-circle";break;default:x="default"}c&&(P="outlined")}h&&(w=!0);var T=l()(j,"".concat(j,"-").concat(S),(m(n={},"".concat(j,"-closing"),N),m(n,"".concat(j,"-with-description"),!!c),m(n,"".concat(j,"-no-icon"),!C),m(n,"".concat(j,"-banner"),!!v),m(n,"".concat(j,"-closable"),w),n),g),R=w?r.createElement("button",{type:"button",onClick:t.handleClose,className:"".concat(j,"-close-icon"),tabIndex:0},h?r.createElement("span",{className:"".concat(j,"-close-text")},h):r.createElement(s.default,{type:"close"})):null,A=Object(u.a)(t.props),I=_&&(r.isValidElement(_)?r.cloneElement(_,{className:l()("".concat(j,"-icon"),m({},_.props.className,_.props.className))}):r.createElement("span",{className:"".concat(j,"-icon")},_))||r.createElement(s.default,{className:"".concat(j,"-icon"),type:x,theme:P});return k?null:r.createElement(o.a,{component:"",showProp:"data-show",transitionName:"".concat(j,"-slide-up"),onEnd:t.animationEnd},r.createElement("div",d({"data-show":!N,className:T,style:b},A),C?I:null,r.createElement("span",{className:"".concat(j,"-message")},p),r.createElement("span",{className:"".concat(j,"-description")},c),R))},Object(f.a)(!("iconType"in e),"Alert","`iconType` is deprecated. Please use `icon` instead."),t.state={closing:!1,closed:!1},t}return t=g,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderAlert)}}])&&h(t.prototype,n),i&&h(t,i),g}(r.Component)},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"13Tz":function(e,t,n){},"2DKY":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("n5Yh")},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"6JOy":function(e,t,n){},"74dF":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("D8SU"),n("TfFZ")},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("VCL8"),i=n("QbLZ"),l=n.n(i),s=n("iCc5"),c=n.n(s),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),m=n("mRg0"),h=n.n(m),v=n("17x9"),y=n.n(v),g=n("YEIV"),b=n.n(g),_=n("TSYQ"),E=n.n(_);function w(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function S(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(function(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),w(t));e.onSuccess(w(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var a in null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),r)r.hasOwnProperty(a)&&null!==r[a]&&t.setRequestHeader(a,r[a]);return t.send(n),{abort:function(){t.abort()}}}var C=+new Date,x=0;function O(){return"rc-upload-"+C+"-"+ ++x}var N=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",o=a.replace(/\/.*$/,"");return n.some((function(e){var t,n,i=e.trim();return"."===i.charAt(0)?(t=r.toLowerCase(),n=i.toLowerCase(),-1!==t.indexOf(n,t.length-n.length)):/\/\*$/.test(i)?o===i.replace(/\/.*$/,""):a===i}))}return!0};var k=function(e,t,n){var r=function e(r,a){a=a||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var a=Array.prototype.slice.apply(n);r=r.concat(a),!a.length?t(r):e()}))}()}(r,(function(t){t.forEach((function(t){e(t,""+a+r.name+"/")}))}))},a=!0,o=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){r(l.value.webkitGetAsEntry())}}catch(e){o=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(o)throw i}}},j=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uid:O()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(){var e=r.fileInput;e&&e.click()},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)k(e.dataTransfer.items,r.uploadFiles,(function(e){return N(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return N(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=O(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var a=r.beforeUpload(e,t);a&&a.then?a.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)})).catch((function(e){console&&console.log(e)})):!1!==a&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.data,a=n.onStart,o=n.onProgress,i=n.transformFile,l=void 0===i?function(e){return e}:i;new Promise((function(t){var r=n.action;if("function"==typeof r)return t(r(e));t(r)})).then((function(i){var s=e.uid,c=n.customRequest||S;Promise.resolve(l(e)).catch((function(e){console.error(e)})).then((function(l){"function"==typeof r&&(r=r(e));var u={action:i,filename:n.name,data:r,file:l,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:o?function(t){o(t,e)}:null,onSuccess:function(r,a){delete t.reqs[s],n.onSuccess(r,e,a)},onError:function(r,a){delete t.reqs[s],n.onError(r,a,e)}};t.reqs[s]=c(u),a(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:O()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,o=t.className,i=t.disabled,s=t.id,c=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,m=t.openFileDialogOnClick,h=E()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,o,o),e)),v=i?{}:{onClick:m?this.onClick:function(){},onKeyDown:m?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(n,l()({},v,{className:h,role:"button",style:c}),a.a.createElement("input",{id:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:f,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:u,onChange:this.onChange}),p)}}]),t}(r.Component);j.propTypes={id:y.a.string,component:y.a.string,style:y.a.object,prefixCls:y.a.string,className:y.a.string,multiple:y.a.bool,directory:y.a.bool,disabled:y.a.bool,accept:y.a.string,children:y.a.any,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),headers:y.a.object,beforeUpload:y.a.func,customRequest:y.a.func,onProgress:y.a.func,withCredentials:y.a.bool,openFileDialogOnClick:y.a.bool,transformFile:y.a.func};var P=j,T=n("i8i4"),R=n.n(T),A=n("2W6z"),I=n.n(A),D={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},L=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uploading:!1},r.file={},r.onLoad=function(){if(r.state.uploading){var e=r,t=e.props,n=e.file,a=void 0;try{var o=r.getIframeDocument(),i=o.getElementsByTagName("script")[0];i&&i.parentNode===o.body&&o.body.removeChild(i),a=o.body.innerHTML,t.onSuccess(a,n)}catch(e){I()(!1,"cross domain error for Upload. Maybe server should return document.domain script. see Note from https://github.com/react-component/upload"),a="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:O(),name:e.value&&e.value.substring(e.value.lastIndexOf("\\")+1,e.value.length)};r.startUpload();var n=r.props;if(!n.beforeUpload)return r.post(t);var a=n.beforeUpload(t);a&&a.then?a.then((function(){r.post(t)}),(function(){r.endUpload()})):!1!==a?r.post(t):r.endUpload()},r.saveIframe=function(e){r.iframe=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.updateIframeWH(),this.initIframe()}},{key:"componentDidUpdate",value:function(){this.updateIframeWH()}},{key:"getIframeNode",value:function(){return this.iframe}},{key:"getIframeDocument",value:function(){return this.getIframeNode().contentDocument}},{key:"getFormNode",value:function(){return this.getIframeDocument().getElementById("form")}},{key:"getFormInputNode",value:function(){return this.getIframeDocument().getElementById("input")}},{key:"getFormDataNode",value:function(){return this.getIframeDocument().getElementById("data")}},{key:"getFileForMultiple",value:function(e){return this.props.multiple?[e]:e}},{key:"getIframeHTML",value:function(e){var t="",n="";if(e){t='<script>document.domain="'+e+'";<\/script>',n='<input name="_documentDomain" value="'+e+'" />'}return'\n <!DOCTYPE html>\n <html>\n <head>\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n <style>\n body,html {padding:0;margin:0;border:0;overflow:hidden;}\n </style>\n '+t+'\n </head>\n <body>\n <form method="post"\n encType="multipart/form-data"\n action="" id="form"\n style="display:block;height:9999px;position:relative;overflow:hidden;">\n <input id="input" type="file"\n name="'+this.props.name+'"\n style="position:absolute;top:0;right:0;height:9999px;font-size:9999px;cursor:pointer;"/>\n '+n+'\n <span id="data"></span>\n </form>\n </body>\n </html>\n '}},{key:"initIframeSrc",value:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")}},{key:"initIframe",value:function(){var e=this.getIframeNode(),t=e.contentWindow,n=void 0;this.domain=this.domain||"",this.initIframeSrc();try{n=t.document}catch(r){this.domain=document.domain,this.initIframeSrc(),n=(t=e.contentWindow).document}n.open("text/html","replace"),n.write(this.getIframeHTML(this.domain)),n.close(),this.getFormInputNode().onchange=this.onChange}},{key:"endUpload",value:function(){this.state.uploading&&(this.file={},this.state.uploading=!1,this.setState({uploading:!1}),this.initIframe())}},{key:"startUpload",value:function(){this.state.uploading||(this.state.uploading=!0,this.setState({uploading:!0}))}},{key:"updateIframeWH",value:function(){var e=R.a.findDOMNode(this),t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"}},{key:"abort",value:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()}},{key:"post",value:function(e){var t=this,n=this.getFormNode(),r=this.getFormDataNode(),a=this.props.data,o=this.props.onStart;"function"==typeof a&&(a=a(e));var i=document.createDocumentFragment();for(var l in a)if(a.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=a[l],i.appendChild(s)}r.appendChild(i),new Promise((function(n){var r=t.props.action;if("function"==typeof r)return n(r(e));n(r)})).then((function(t){n.setAttribute("action",t),n.submit(),r.innerHTML="",o(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,o=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},D,{display:this.state.uploading||r?"none":""}),f=E()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,o,o),e));return a.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},c)},a.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),s)}}]),t}(r.Component);L.propTypes={component:y.a.string,style:y.a.object,disabled:y.a.bool,prefixCls:y.a.string,className:y.a.string,accept:y.a.string,onStart:y.a.func,multiple:y.a.bool,children:y.a.any,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string};var M=L;function F(){}var U=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={Component:null},r.saveUploader=function(e){r.uploader=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.supportServerRender&&this.setState({Component:this.getComponent()},this.props.onReady)}},{key:"getComponent",value:function(){return"undefined"!=typeof File?P:M}},{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){if(this.props.supportServerRender){var e=this.state.Component;return e?a.a.createElement(e,l()({},this.props,{ref:this.saveUploader})):null}var t=this.getComponent();return a.a.createElement(t,l()({},this.props,{ref:this.saveUploader}))}}]),t}(r.Component);U.propTypes={component:y.a.string,style:y.a.object,prefixCls:y.a.string,action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string,multipart:y.a.bool,directory:y.a.bool,onError:y.a.func,onSuccess:y.a.func,onProgress:y.a.func,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),headers:y.a.object,accept:y.a.string,multiple:y.a.bool,disabled:y.a.bool,beforeUpload:y.a.func,customRequest:y.a.func,onReady:y.a.func,withCredentials:y.a.bool,supportServerRender:y.a.bool,openFileDialogOnClick:y.a.bool},U.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:F,onStart:F,onError:F,onSuccess:F,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var B=U,H=n("qPyV"),z=n.n(H),K=n("UfWW"),q=n.n(K),V=n("MFj2");function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Q(e){return W(W({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Y(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var G=function(e){return!!e&&0===e.indexOf("image/")},J=function(e){if(G(e.type))return!0;var t=e.thumbUrl||e.url,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n};var X=n("CtXQ"),Z=n("3S7+"),$=n("CFYs"),ee=n("H84U");function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var a=ce(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}(i,e);var t,n,a,o=le(i);function i(){var e;return ae(this,i),(e=o.apply(this,arguments)).handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e.handleDownload=function(t){var n=e.props.onDownload;"function"==typeof n?n(t):t.url&&window.open(t.url)},e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.renderUploadList=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.items,s=void 0===l?[]:l,c=o.listType,u=o.showPreviewIcon,f=o.showRemoveIcon,p=o.showDownloadIcon,d=o.locale,m=o.progressAttr,h=a("upload",i),v=s.map((function(t){var n,a,o,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===c||"picture-card"===c)if("picture-card"===c&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(h,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=J(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(h,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(h,"-list-item-thumbnail"),onClick:function(n){return e.handlePreview(t,n)},href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},l)}else i=r.createElement(X.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement($.default,re({type:"line"},m,{percent:t.percent})):null;o=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var v,y=E()((ne(n={},"".concat(h,"-list-item"),!0),ne(n,"".concat(h,"-list-item-").concat(t.status),!0),ne(n,"".concat(h,"-list-item-list-type-").concat(c),!0),n)),g="string"==typeof t.linkProps?JSON.parse(t.linkProps):t.linkProps,b=f?r.createElement(X.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,_=p&&"done"===t.status?r.createElement(X.default,{type:"download",title:d.downloadFile,onClick:function(){return e.handleDownload(t)}}):null,w="picture-card"!==c&&r.createElement("span",{key:"download-delete",className:"".concat(h,"-list-item-card-actions ").concat("picture"===c?"picture":"")},_&&r.createElement("a",{title:d.downloadFile},_),b&&r.createElement("a",{title:d.removeFile},b)),S=E()((ne(a={},"".concat(h,"-list-item-name"),!0),ne(a,"".concat(h,"-list-item-name-icon-count-").concat([_,b].filter((function(e){return e})).length),!0),a)),C=t.url?[r.createElement("a",re({key:"view",target:"_blank",rel:"noopener noreferrer",className:S,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),w]:[r.createElement("span",{key:"view",className:S,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),w],x=u?r.createElement("a",{href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:t.url||t.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(n){return e.handlePreview(t,n)},title:d.previewFile},r.createElement(X.default,{type:"eye-o"})):null,O="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},x,"done"===t.status&&_,b);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var N=r.createElement("span",null,i,C),k=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(h,"-list-item-info")},N),O,r.createElement(V.a,{transitionName:"fade",component:""},o)),j=E()(ne({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:j},"error"===t.status?r.createElement(Z.default,{title:v},k):r.createElement("span",null,k))})),y=E()((ne(n={},"".concat(h,"-list"),!0),ne(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(V.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:y},v)},e}return t=i,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.listType,r=t.items,a=t.previewFile;"picture"!==n&&"picture-card"!==n||(r||[]).forEach((function(t){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",a&&a(t.originFileObj).then((function(n){t.thumbUrl=n||"",e.forceUpdate()})))}))}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUploadList)}}])&&oe(t.prototype,n),a&&oe(t,a),i}(r.Component);ue.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(G(e.type)){var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),a=new Image;a.onload=function(){var e=a.width,o=a.height,i=200,l=200,s=0,c=0;e<o?c=-((l=o*(200/e))-i)/2:s=-((i=e*(200/o))-l)/2,r.drawImage(a,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},a.src=window.URL.createObjectURL(e)}else t("")}))}};var fe=n("YMnH"),pe=n("ZvpZ"),de=n("6CfX");function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(){return(ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ee(e);if(t){var a=Ee(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _e(this,n)}}function _e(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ee(e){return(Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var we=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(i,e);var t,n,a,o=be(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=Q(e);r.status="uploading";var a=n.concat(),o=q()(a,(function(e){return e.uid===r.uid}));-1===o?a.push(r):a[o]=r,t.onChange({file:r,fileList:a}),window.File&&!Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).TEST_IE||t.autoUpdateProgress(0,r)},t.onSuccess=function(e,n,r){t.clearProgressTimer();try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var a=t.state.fileList,o=Y(n,a);o&&(o.status="done",o.response=e,o.xhr=r,t.onChange({file:ve({},o),fileList:a}))},t.onProgress=function(e,n){var r=t.state.fileList,a=Y(n,r);a&&(a.percent=e.percent,t.onChange({event:e,file:ve({},a),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var a=t.state.fileList,o=Y(r,a);o&&(o.error=e,o.response=n,o.status="error",t.onChange({file:ve({},o),fileList:a}))},t.handleRemove=function(e){var n=t.props.onRemove,r=t.state.fileList;Promise.resolve("function"==typeof n?n(e):n).then((function(n){if(!1!==n){var a=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,r);a&&(e.status="removed",t.upload&&t.upload.abort(e),t.onChange({file:e,fileList:a}))}}))},t.onChange=function(e){"fileList"in t.props||t.setState({fileList:e.fileList});var n=t.props.onChange;n&&n(e)},t.onFileDrop=function(e){t.setState({dragState:e.type})},t.beforeUpload=function(e,n){var r=t.props.beforeUpload,a=t.state.fileList;if(!r)return!0;var o=r(e,n);return!1===o?(t.onChange({file:e,fileList:z()(a.concat(n.map(Q)),(function(e){return e.uid}))}),!1):!o||!o.then||o},t.renderUploadList=function(e){var n=t.props,a=n.showUploadList,o=n.listType,i=n.onPreview,l=n.onDownload,s=n.previewFile,c=n.disabled,u=n.locale,f=a.showRemoveIcon,p=a.showPreviewIcon,d=a.showDownloadIcon,m=t.state.fileList;return r.createElement(ue,{listType:o,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:ve(ve({},e),u)})},t.renderUpload=function(e){var n,a=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.className,s=o.showUploadList,c=o.listType,u=o.type,f=o.disabled,p=o.children,d=o.style,m=t.state,h=m.fileList,v=m.dragState,y=a("upload",i),g=ve(ve({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete g.className,delete g.style,p&&!f||delete g.id;var b=s?r.createElement(fe.a,{componentName:"Upload",defaultLocale:pe.a.Upload},t.renderUploadList):null;if("drag"===u){var _,w=E()(y,(he(_={},"".concat(y,"-drag"),!0),he(_,"".concat(y,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),he(_,"".concat(y,"-drag-hover"),"dragover"===v),he(_,"".concat(y,"-disabled"),f),_),l);return r.createElement("span",null,r.createElement("div",{className:w,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(B,ve({},g,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),b)}var S=E()(y,(he(n={},"".concat(y,"-select"),!0),he(n,"".concat(y,"-select-").concat(c),!0),he(n,"".concat(y,"-disabled"),f),n)),C=r.createElement("div",{className:S,style:p?void 0:{display:"none"}},r.createElement(B,ve({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:E()(l,"".concat(y,"-picture-card-wrapper"))},b,C):r.createElement("span",{className:l},C,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(de.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return t=i,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(n=[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"autoUpdateProgress",value:function(e,t){var n,r=this,a=(n=.1,function(e){var t=e;return t>=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),o=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){o=a(o),r.onProgress({percent:100*o},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&ye(t.prototype,n),a&&ye(t,a),i}(r.Component);we.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(o.polyfill)(we);var Se=we;function Ce(e){return(Ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Pe(this,n)}}function Pe(e,t){return!t||"object"!==Ce(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Ae=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=je(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.style,n=e.height,a=Re(e,["style","height"]);return r.createElement(Se,xe({},a,{type:"drag",style:xe(xe({},t),{height:n})}))}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Se.Dragger=Ae;t.default=Se},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),a=n("spEH"),o=c(n("Rs/d")),i=n("PhNK"),l=n("sYIF"),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.commits,n=e.projectsId,c=e.owner;return r.default.createElement("div",{className:"pb20"},t.map((function(e,t){return r.default.createElement("div",{className:"prCommits"},r.default.createElement("p",{className:"prCreate"},e.created_at),r.default.createElement("div",{className:"prInfo"},r.default.createElement(a.FlexAJ,null,r.default.createElement(a.AlignCenter,null,r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(""+e.sha),className:"commitKey",style:{marginLeft:0}},(0,i.truncateCommitId)(""+e.sha)),r.default.createElement("p",{className:"ml15 font-16 color-grey-3 task-hide",style:{maxWidth:"700px"}},e.message)),r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(a.AlignCenter,{className:"mt15"},r.default.createElement(o.default,{url:(0,l.getImageUrl)("/"+(e.committer&&e.committer.image_url)),name:""+(e.committer&&e.committer.name)}),r.default.createElement("span",null,":提交于",e.time_from_now))))})))}},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("CtXQ")),a=p(n("2/Rp")),o=p(n("8z0m")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("2oDE"),n("L/Qf"),n("7W5+");var s=n("q1tI"),c=p(s),u=n("sYIF"),f=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Dragger,m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.checkInitFile()},n.componentDidUpdate=function(e){e&&e.fileList!==n.props.fileList&&n.checkInitFile()},n.checkInitFile=function(){var e=n.props.fileList;e&&e.length>0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";f.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&(e.response.id||e.response.data&&e.response.data.id))})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024<t;return r||n.props.showNotification("文件大小必须小于"+t+"MB!"),r},n.state={fileList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,l=e.btn,s=e.className,f=e.size,p=e.actionUrl,m=this.state.fileList,h={name:"file",fileList:!0===t?m:void 0,action:p||""+(0,u.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return l?c.default.createElement(o.default,i({},h,{className:s}),c.default.createElement(a.default,{type:"default"},"上传文件"),c.default.createElement("span",{className:"ml10 color-grey-9"},"(你可以上传小于",c.default.createElement("span",{className:"color-red"},f,"MB"),"的文件)")):c.default.createElement(d,i({},h,{className:s}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-16 color-grey-3"},"拖动文件或点击此处上传"))}}]),t}(s.Component);t.default=m},CZoQ:function(e,t){e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},Fyak:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(n("ZTPi")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("AUBz");var l=n("q1tI"),s=d(l);n("6JOy"),n("js5m");var c=d(n("AubP")),u=d(n("dIAb")),f=d(n("aABL")),p=d(n("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}var m=a.default.TabPane,h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props,t=e.footer_type,r=e.data;if(t){var a=n.props.match.params,o=a.projectsId,i=a.owner,l=a.mergeId;n.getCommit(i,o,l),n.getFile(i,o,l)}n.setState({activeKey:t?"1":"2",commitCount:r&&r.commits_count,filesCount:r&&r.files_count})},n.componentDidUpdate=function(e){var t=n.props.comparesData,r=n.props.footer_type;if(r){var a=n.props.data;a!==e.data&&n.setState({commitCount:a&&a.commits_count,filesCount:a&&a.files_count})}t!==e.comparesData&&(n.setState({activeKey:r?"1":"2"}),n.changeTab(r?"1":"2"))},n.changeTab=function(e){n.setState({isSpin:!0}),n.setState({activeKey:e});var t=n.props,r=t.footer_type,a=t.comparesData,o=n.props.match.params,i=o.projectsId,l=o.owner,s=o.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,s):n.setState({isSpin:!1}):n.setState({commitsData:a.commits,filesData:a.diff,commitCount:a.commits_count,filesCount:a.diff&&a.diff.files_count,isSpin:!1})},n.getCommit=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/commits.json";p.default.get(a).then((function(e){e&&n.setState({commitsData:e.data.commits,isSpin:!1,commitCount:e.data.commits_count})})).catch((function(e){}))},n.getFile=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/files.json";p.default.get(a).then((function(e){e&&n.setState({filesData:e.data,isSpin:!1,filesCount:e.data.files_count})})).catch((function(e){}))},n.state={pageData:void 0,commitsData:void 0,filesData:void 0,isSpin:!1,activeKey:"1",commitCount:0,filesCount:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner,i=this.props,l=i.footer_type,p=i.order_id,d=i.data,h=i.comparesData,v=this.state,y=v.isSpin,g=v.activeKey,b=v.filesCount,_=v.commitCount,E=v.filesData,w=v.commitsData;return!l&&!h||h&&(h.commits&&0===h.commits.length||h&&!h.diff)?"":s.default.createElement("div",{className:"main mergeRequest",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:y},s.default.createElement(a.default,{activeKey:g,className:"custom-commit-tabs",animated:!1,onChange:this.changeTab},l&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"评论"),d&&parseInt(d.comments_count)>0&&s.default.createElement("span",{className:"tabNum"},d.comments_count)),key:"1"},s.default.createElement(u.default,o({order_id:p,showNotification:this.props.showNotification,only_show_content:!0},this.props))),w&&w.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"提交"),_>0&&s.default.createElement("span",{className:"tabNum"},_)),key:"2"},s.default.createElement(c.default,o({},this.props,{commits:w,projectsId:t,owner:n}))),E&&E.files&&E.files.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"文件"),b>0&&s.default.createElement("span",{className:"tabNum"},b)),key:"3"},s.default.createElement(f.default,o({},this.props,{data:E,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}},LGYb:function(e,t,n){var r=n("1hJj"),a=n("jbM+"),o=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),s=n("rEGp");e.exports=function(e,t,n){var c=-1,u=a,f=e.length,p=!0,d=[],m=d;if(n)p=!1,u=o;else if(f>=200){var h=t?null:l(e);if(h)return s(h);p=!1,u=i,m=new r}else m=t?[]:d;e:for(;++c<f;){var v=e[c],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var g=m.length;g--;)if(m[g]===y)continue e;t&&m.push(y),d.push(v)}else u(m,y,n)||(m!==d&&m.push(y),d.push(v))}return d}},LXko:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("74dF"),n("vAZS"),n("04bd"),n("YQTV"),n("4t1q")},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),a=p(n("W9HT")),o=p(n("NJEC")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),s=p(l),c=n("eO8H"),u=p(n("vDqi")),f=p(n("UQ5L"));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){n.setState({canDelete:n.props.canDelete})},n.show_video_modal=function(e){n.setState({video_title:e.title,move_spin:!0,video_id:e.id}),n.move_attachment(e.id,"preview")},n.hide_video_modal=function(){var e=n.state.video_id;n.setState({video_title:void 0}),n.move_attachment(e,"close")},n.move_attachment=function(e,t){u.default.post("/attachments/"+e+"/preview_attachment",{status:t}).then((function(e){e?n.setState({show_video:"preview"===t,video_url:"preview"===t?"https://forgeplus.trustie.net"+e.data.url:void 0,move_spin:!1}):n.setState({move_spin:!1})})).catch((function(e){n.setState({move_spin:!1}),console.log(e)}))},n.is_video=function(e){return["mp4","flv","mkv","3gp"].indexOf(e.split(".").pop())>-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,i=t.canDelete,l=t.show_video,u=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return s.default.createElement("div",null,m?s.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return s.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},s.default.createElement(a.default,{spinning:d},e.is_video(t.title)?s.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)):s.default.createElement(c.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)),i?s.default.createElement(o.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},s.default.createElement("span",{className:"attachment-list-delete fr"},s.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?s.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},s.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("VCL8"),o=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(f,e);var t,n,a,i=h(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=i.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(y(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(y(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,n){var a=t.props,o=a.okButtonProps,i=a.cancelButtonProps,s=a.title,c=a.cancelText,u=a.okText,f=a.okType,d=a.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},d,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},o),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.placement,u=b(a,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(o.default,p({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return t=f,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(n=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var n=this.props;"visible"in n||this.setState({visible:e});var r=n.onVisibleChange;r&&r(e,t)}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderConfirm)}}])&&d(t.prototype,n),a&&d(t,a),f}(r.Component);_.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(a.polyfill)(_),t.default=_},OQrj:function(e,t,n){},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},QCvN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("W9HT")),a=v(n("2/Rp")),o=v(n("Vl3Y")),i=v(n("5rEg")),l=v(n("mr32")),s=v(n("BvKs")),c=v(n("2fM7")),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("L/Qf"),n("tULf"),n("1vPl"),n("0lcf"),n("2WkQ"),n("8QGh");var p=n("q1tI"),d=v(p),m=v(n("vDqi"));n("6JOy"),n("js5m");var h=v(n("p7gc"));function v(e){return e&&e.__esModule?e:{default:e}}var y=c.default.Option,g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.get_default_selects(),n.set_defatul()},n.componentDidUpdate=function(e){var t=n.props.match.params,r=t.projectsId,a=t.owner,o=e.match.params.projectsId,i=e.match.params.owner;o===r&&i===a||n.get_default_selects(),e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.get_default_selects=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner;n.setState({isSpin:!0}),m.default.get("/"+r+"/"+t+"/pulls/create_merge_infos.json").then((function(e){e&&n.setState({members:e.data.members,issue_tags:e.data.issue_tags,issue_versions:e.data.issue_versions,issue_priories:e.data.issue_priories}),n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.set_defatul=function(){var e=n.props,t=e.data,r=e.merge_type;t&&"edit"===r&&n.setState({desc:t.body,issue_tag_ids:t.issue_tag_ids?t.issue_tag_ids[0]:void 0,fixed_version_id:t.fixed_version_id?String(t.fixed_version_id):void 0,assigned_to_id:t.assigned_to_id?String(t.assigned_to_id):void 0,priority_id:t.priority_id?String(t.priority_id):void 0,title:t.title}),n.InitData()},n.InitData=function(){setTimeout((function(){n.props.form.setFieldsValue(u({},n.state))}),100)},n.onPanelChange=function(e,t){n.setState({value:e})},n.onSelect=function(e){n.setState({value:e,selectedValue:e})},n.renderMenu=function(e,t){return d.default.createElement(s.default,null,e&&e.length>0&&e.map((function(e,r){return d.default.createElement(s.default.Item,{key:e,onClick:function(){return n.getOption(e,t)}},e)})))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return d.default.createElement(y,{key:t+1,value:e.id+""},e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var r=n.props.match.params,a=r.projectsId,o=r.mergeId,i=r.owner,l=n.props,s=l.merge,c=l.pull,f=l.merge_type,p=l.data,d=l.commits_count,h=l.files_count;t.issue_tag_ids&&t.issue_tag_ids.length>0?t.issue_tag_ids=[parseInt(t.issue_tag_ids)]:t.issue_tag_ids=[];var v=n.state.desc;if("new"===f){var y="/"+i+"/"+a+"/pulls.json";m.default.post(y,u({},t,{body:v,head:c,base:s,is_original:p&&p.is_original,fork_project_id:p&&p.fork_project_id,merge_user_login:p&&p.merge_user_login,files_count:h,commits_count:d})).then((function(e){if(e){n.setState({isSpin:!1}),n.props.history.push("/"+i+"/"+a+"/pulls");var t=n.props.getDetail;t&&t()}else n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var g="/"+i+"/"+a+"/pulls/"+o+".json";m.default.put(g,u({},t,{body:v,head:c,base:s})).then((function(e){e?(n.setState({isSpin:!1}),n.props.history.push("/"+i+"/"+a+"/pulls/"+o+"/Messagecount")):n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}}))},n.onContentChange=function(e){n.setState({desc:e})},n.state={desc:void 0,issue_tag_ids:void 0,fixed_version_id:void 0,assigned_to_id:void 0,titledata:void 0,isSpin:!1,mergedata:void 0,priority_id:void 0,title:void 0,members:void 0,issue_tags:void 0,issue_versions:void 0,issue_priories:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),f(t,[{key:"render",value:function(){var e=this,t=this.props.merge_type,n=this.props.form.getFieldDecorator,s=this.props.match.params,u=s.projectsId,f=s.mergeId,p=s.owner,m=this.state,v=m.issue_tag_ids,g=m.fixed_version_id,b=m.assigned_to_id,_=m.priority_id,E=m.desc,w=m.isSpin,S=m.title,C=m.members,x=m.issue_tags,O=m.issue_versions,N=m.issue_priories;return d.default.createElement("div",null,d.default.createElement(r.default,{spinning:w},d.default.createElement("div",{className:"mb20"},d.default.createElement("span",{className:"font-16 fwb mr10 ver-middle"},"new"===t?"新建":"编辑","合并请求:"),d.default.createElement(l.default,{color:"#28BD6C",className:"ver-middle"},"可合并的")),d.default.createElement(o.default,null,d.default.createElement("div",{className:"width100 inline-block"},d.default.createElement("div",{className:"width70 pull-left"},d.default.createElement(o.default.Item,null,n("title",{rules:[{required:!0,message:"请填写请求标题"}],initialValue:S})(d.default.createElement(i.default,{placeholder:"标题",maxLength:50}))),d.default.createElement(h.default,{placeholder:"请输入合并请求的描述...",height:450,mdID:"merge-new-description",initValue:E,onChange:this.onContentChange}),d.default.createElement("p",{className:"clearfix mt20"},d.default.createElement(a.default,{type:"primary",loading:w,onClick:this.handleSubmit},d.default.createElement("span",{className:"plr10"},"new"===t?"创建":"提交")),d.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){e.props.history.push("new"===t?"/"+p+"/"+u+"/pulls":"/"+p+"/"+u+"/pulls/"+f+"/detail")}},d.default.createElement("span",{className:"plr10"},"取消")))),d.default.createElement("div",{className:"width30 pull-left"},d.default.createElement("div",{className:"pl30"},d.default.createElement(o.default.Item,null,n("assigned_to_id",{initialValue:b})(d.default.createElement(c.default,{placeholder:"未选择审查人员",showSearch:!0},d.default.createElement(y,{key:0,value:""},"未选择审查人员"),this.renderSelect(C)))),d.default.createElement(o.default.Item,null,n("fixed_version_id",{initialValue:g})(d.default.createElement(c.default,{placeholder:O&&O.length>0?"未选择里程碑":"请添加里程碑",showSearch:!0},d.default.createElement(y,{key:0,value:""},O&&O.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(O)))),d.default.createElement(o.default.Item,null,n("issue_tag_ids",{initialValue:v})(d.default.createElement(c.default,{placeholder:x&&x.length>0?"未选择标记":"请在仓库设置里添加标记",showSearch:!0},d.default.createElement(y,{key:0,value:""},x&&x.length>0?"未选择标记":"请在仓库设置里添加标记"),this.renderSelect(x)))),d.default.createElement(o.default.Item,null,n("priority_id",{initialValue:_})(d.default.createElement(c.default,{placeholder:"优先级",showSearch:!0},this.renderSelect(N))))))))))}}]),t}(p.Component),b=o.default.create({name:"NewMergeForm"})(g);t.default=b},"R/W3":function(e,t,n){var r=n("KwMD"),a=n("2ajD"),o=n("CZoQ");e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,a,n)}},R3zJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=function(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},a=r(["flex","webkitFlex","Flex","msFlex"]);t.a=r},RqAY:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||"data-__"===n.substr(0,7)||(t[n]=e[n]),t}),{})}n.d(t,"a",(function(){return r}))},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),i=c(n("q1tI")),l=c(n("vOnD")),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,a=e.id,c=e.login,u=l.default.span(o,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return a?i.default.createElement(s.Link,{to:"/"+c},i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))):i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],a=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],o=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],i=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],f=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,a){if(n){var o={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(o),a.push.apply(a,o.decorations)}}var d=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&d.test(n.nodeValue)?e:t}return t===e?void 0:t}function h(e,t){var n,r={};!function(){for(var a=e.concat(t),o=[],i={},l=0,s=a.length;l<s;++l){var c=a[l],u=c[3];if(u)for(var f=u.length;--f>=0;)r[u.charAt(f)]=c;var p=c[1],d=""+p;i.hasOwnProperty(d)||(o.push(p),i[d]=null)}o.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,a=0,o=e.length;a<o;++a){if((p=e[a]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var i={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=i[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],a=["["];r&&a.push("^");for(var o=r?1:0,i=t.length;o<i;++o){var c=t[o];if(/\\[bdsw]/i.test(c))a.push(c);else{var u,f=l(c);o+2<i&&"-"===t[o+1]?(u=l(t[o+2]),o+=2):u=f,n.push([f,u]),u<65||f>122||(u<65||f>90||n.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||n.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],d=[];for(o=0;o<n.length;++o){(m=n[o])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(o=0;o<p.length;++o){var m=p[o];a.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&a.push("-"),a.push(s(m[1])))}return a.push("]"),a.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),a=r.length,o=[],i=0,l=0;i<a;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?o[u]=-1:r[i]=s(u))}}for(i=1;i<o.length;++i)-1===o[i]&&(o[i]=++t);for(i=0,l=0;i<a;++i){if("("===(f=r[i]))o[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+o[u])}}for(i=0;i<a;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<a;++i){var f,p=(f=r[i]).charAt(0);f.length>=2&&"["===p?r[i]=c(f):"\\"!==p&&(r[i]=f.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var f=[];for(a=0,o=e.length;a<o;++a){var p;if((p=e[a]).global||p.multiline)throw new Error(""+p);f.push("(?:"+u(p)+")")}return new RegExp(f.join("|"),r?"gi":"g")}(o)}();var a=t.length,o=function(e){for(var i=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,f=i.match(n)||[],d={},m=0,h=f.length;m<h;++m){var v,y=f[m],g=d[y],b=void 0;if("string"==typeof g)v=!1;else{var _=r[y.charAt(0)];if(_)b=y.match(_[1]),g=_[0];else{for(var w=0;w<a;++w)if(_=t[w],b=y.match(_[1])){g=_[0];break}b||(g="pln")}!(v=g.length>=5&&"lang-"===g.substring(0,5))||b&&"string"==typeof b[1]||(v=!1,g="src"),v||(d[y]=g)}var S=u;if(u+=y.length,v){var C=b[1],x=y.indexOf(C),O=x+C.length;b[2]&&(x=(O=y.length-b[2].length)-C.length);var N=g.substring(5);p(s,l+S,y.substring(0,x),o,c),p(s,l+S+x,C,E(N,C),c),p(s,l+S+O,y.substring(O),o,c)}else c.push(l+S,g)}e.decorations=c};return o}function v(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var a=e.regexLiterals;if(a){var o=a>1?"":"\n\r",i=o?".":"[\\S\\s]",l="/(?=[^/*"+o+"])(?:[^/\\x5B\\x5C"+o+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+o+"]|\\x5C"+i+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),h(t,n)}var y=v({keywords:[r,o,a,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,a=/\r\n?|\n/,o=e.ownerDocument,i=o.createElement("li");e.firstChild;)i.appendChild(e.firstChild);var l=[i];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var i=e.nodeValue,l=i.match(a);if(l){var u=i.substring(0,l.index);e.nodeValue=u;var f=i.substring(l.index+l[0].length);if(f)e.parentNode.insertBefore(o.createTextNode(f),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,a=t.parentNode;if(a){var o=e(a,1),i=t.nextSibling;o.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,o.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var f=o.createElement("ol");f.className="linenums";for(var p=Math.max(0,t-1|0)||0,d=(u=0,l.length);u<d;++u)(i=l[u]).className="L"+(u+p)%10,i.firstChild||i.appendChild(o.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function _(t,n){for(var r=n.length;--r>=0;){var a=n[r];b.hasOwnProperty(a)?e.console&&console.warn("cannot override language handler %s",a):b[a]=t}}function E(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function w(t){var n,r,a,o,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,a=/(?:^|\s)nocode(?:\s|$)/,o=[],i=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(a.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(o[s]="\n",l[s<<1]=i++,l[s++<<1|1]=t)}else if(3==n||4==n){var f=t.nodeValue;f.length&&(f=r?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),o[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:o.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,E(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,a=/\n/g,o=e.sourceCode,i=o.length,l=0,s=e.spans,c=s.length,u=0,f=e.decorations,p=f.length,d=0;for(f[p]=i,r=n=0;r<p;)f[r]!==f[r+2]?(f[n++]=f[r++],f[n++]=f[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=f[r],h=f[r+1],v=r+2;v+2<=p&&f[v+1]===h;)v+=2;f[n++]=m,f[n++]=h,r=v}p=f.length=n;var y=e.sourceNode,g="";y&&(g=y.style.display,y.style.display="none");try{for(;u<c;){s[u];var b,_=s[u+2]||i,E=f[d+2]||i,w=(v=Math.min(_,E),s[u+1]);if(1!==w.nodeType&&(b=o.substring(l,v))){t&&(b=b.replace(a,"\r")),w.nodeValue=b;var S=w.ownerDocument,C=S.createElement("span");C.className=f[d+1];var x=w.parentNode;x.replaceChild(C,w),C.appendChild(w),l<_&&(s[u+1]=w=S.createTextNode(o.substring(v,_)),x.insertBefore(w,C.nextSibling))}(l=v)>=_&&(u+=2),l>=E&&(d+=2)}}finally{y&&(y.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function S(e,t,n){var r=n||!1,a=t||null,o=document.createElement("div");return o.innerHTML="<pre>"+e+"</pre>",o=o.firstChild,r&&g(o,r,!0),w({langExtension:a,numberLines:r,sourceNode:o,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),o.innerHTML}function C(t,n){var r=n||document.body,a=r.ownerDocument||document;function o(e){return r.getElementsByTagName(e)}for(var i=[o("pre"),o("code"),o("xmp")],l=[],s=0;s<i.length;++s)for(var c=0,u=i[s].length;c<u;++c)l.push(i[s][c]);i=null;var f=Date;f.now||(f={now:function(){return+new Date}});var p=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,v=/\bprettyprinted\b/,y=/pre|xmp/i,b=/^code$/i,_=/^(?:pre|code|xmp)$/i,E={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var o=l[p],i=E,s=o;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){i={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){i[t]=n}));break}}var S=o.className;if((i!==E||h.test(S))&&!v.test(S)){for(var C=!1,x=o.parentNode;x;x=x.parentNode){var O=x.tagName;if(_.test(O)&&x.className&&h.test(x.className)){C=!0;break}}if(!C){o.className+=" prettyprinted";var N,k,j=i.lang;if(!j)!(j=S.match(d))&&(N=m(o))&&b.test(N.tagName)&&(j=N.className.match(d)),j&&(j=j[1]);if(y.test(o.tagName))k=1;else{var P=o.currentStyle,T=a.defaultView,R=P?P.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(o,null).getPropertyValue("white-space"):0;k=R&&"pre"===R.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=S.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(o,A,k),w({langExtension:j,sourceNode:o,numberLines:A,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}_(y,["default-code"]),_(h([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),_(h([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),_(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),_(v({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),_(v({keywords:"null,true,false"}),["json"]),_(v({keywords:o,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),_(v({keywords:a,cStyleComments:!0}),["java"]),_(v({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),_(v({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),_(v({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),_(v({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),_(v({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),_(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),_(h([],[["str",/^[\s\S]+/]]),["regex"]);var x=e.PR={createSimpleLexer:h,registerLangHandler:_,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:S,prettyPrint:C},O=e.define;"function"==typeof O&&O.amd&&O("google-code-prettify",[],(function(){return x}))}()},Sxd8:function(e,t,n){var r=n("ZCgT");e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},UQ5L:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n("q1tI"),o=l(a),i=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,a.useState)(null),n=r(t,2),l=n[0],s=n[1];return(0,a.useEffect)((function(){s(e.video_url)}),[]),o.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),a=n("ut/Y"),o=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:o(n);return s<0&&(s=i(l+s,0)),r(e,a(t,3),s)}},VPG4:function(e,t,n){},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return M}));var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),i=n.n(o),l=n("BGR+"),s=n("W9HT"),c=n("H84U"),u=n("NUBc"),f=n("qrJ5"),p=n("/kpp");function d(e){if(!r.isValidElement(e))return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return r.cloneElement.apply(r,[e].concat(n))}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=E(e);if(t){var a=E(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function C(e,t){return e[t]&&Math.floor(24/e[t])}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(l,e);var t,n,a,o=b(l);function l(){var e;return v(this,l),(e=o.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,a=e.context,o=a.grid,l=a.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,v=s.className,y=S(s,["prefixCls","children","actions","extra","className"]),g=n("list",c),b=f&&f.length>0&&r.createElement("ul",{className:"".concat(g,"-item-action"),key:"actions"},f.map((function(e,t){return r.createElement("li",{key:"".concat(g,"-item-action-").concat(t)},e,t!==f.length-1&&r.createElement("em",{className:"".concat(g,"-item-action-split")}))}))),_=o?"div":"li",E=r.createElement(_,w({},y,{className:i()("".concat(g,"-item"),v,h({},"".concat(g,"-item-no-flex"),!e.isFlexMode()))}),"vertical"===l&&m?[r.createElement("div",{className:"".concat(g,"-item-main"),key:"content"},u,b),r.createElement("div",{className:"".concat(g,"-item-extra"),key:"extra"},m)]:[u,b,d(m,{key:"extra"})]);return o?r.createElement(p.a,{span:C(o,"column"),xs:C(o,"xs"),sm:C(o,"sm"),md:C(o,"md"),lg:C(o,"lg"),xl:C(o,"xl"),xxl:C(o,"xxl")},E):E},e}return t=l,(n=[{key:"isItemContainsTextNodeAndNotSingular",value:function(){var e,t=this.props.children;return r.Children.forEach(t,(function(t){"string"==typeof t&&(e=!0)})),e&&r.Children.count(t)>1}},{key:"isFlexMode",value:function(){var e=this.props.extra;return"vertical"===this.context.itemLayout?!!e:!this.isItemContainsTextNodeAndNotSingular()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderItem)}}])&&y(t.prototype,n),a&&y(t,a),l}(r.Component);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=D(e);if(t){var a=D(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==O(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}x.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,a=e.prefixCls,o=e.className,l=e.avatar,s=e.title,c=e.description,u=S(e,["prefixCls","className","avatar","title","description"]),f=n("list",a),p=i()("".concat(f,"-item-meta"),o),d=r.createElement("div",{className:"".concat(f,"-item-meta-content")},s&&r.createElement("h4",{className:"".concat(f,"-item-meta-title")},s),c&&r.createElement("div",{className:"".concat(f,"-item-meta-description")},c));return r.createElement("div",w({},u,{className:p}),l&&r.createElement("div",{className:"".concat(f,"-item-meta-avatar")},l),(s||c)&&d)}))},x.contextTypes={grid:a.any,itemLayout:a.string};var L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(p,e);var t,n,a,o=A(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=o.call(this,e)).defaultPaginationProps={current:1,total:0},t.keys={},t.onPaginationChange=t.triggerPaginationEvent("onChange"),t.onPaginationShowSizeChange=t.triggerPaginationEvent("onShowSizeChange"),t.renderItem=function(e,n){var r,a=t.props,o=a.renderItem,i=a.rowKey;return o?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,o(e,n)):null},t.renderEmpty=function(e,n){var a=t.props.locale;return r.createElement("div",{className:"".concat(e,"-empty-text")},a&&a.emptyText||n("List"))},t.renderList=function(e){var n,a=e.getPrefixCls,o=e.renderEmpty,c=t.state,p=c.paginationCurrent,d=c.paginationSize,m=t.props,h=m.prefixCls,v=m.bordered,y=m.split,g=m.className,b=m.children,_=m.itemLayout,E=m.loadMore,w=m.pagination,S=m.grid,C=m.dataSource,x=void 0===C?[]:C,O=m.size,k=m.header,T=m.footer,R=m.loading,A=L(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),I=a("list",h),D=R;"boolean"==typeof D&&(D={spinning:D});var M=D&&D.spinning,F="";switch(O){case"large":F="lg";break;case"small":F="sm"}var U=i()(I,g,(P(n={},"".concat(I,"-vertical"),"vertical"===_),P(n,"".concat(I,"-").concat(F),F),P(n,"".concat(I,"-split"),y),P(n,"".concat(I,"-bordered"),v),P(n,"".concat(I,"-loading"),M),P(n,"".concat(I,"-grid"),S),P(n,"".concat(I,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),B=j(j(j({},t.defaultPaginationProps),{total:x.length,current:p,pageSize:d}),w||{}),H=Math.ceil(B.total/B.pageSize);B.current>H&&(B.current=H);var z,K=w?r.createElement("div",{className:"".concat(I,"-pagination")},r.createElement(u.default,j({},B,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,q=N(x);if(w&&x.length>(B.current-1)*B.pageSize&&(q=N(x).splice((B.current-1)*B.pageSize,B.pageSize)),z=M&&r.createElement("div",{style:{minHeight:53}}),q.length>0){var V=q.map((function(e,n){return t.renderItem(e,n)})),W=[];r.Children.forEach(V,(function(e,n){W.push(r.cloneElement(e,{key:t.keys[n]}))})),z=S?r.createElement(f.a,{gutter:S.gutter},W):r.createElement("ul",{className:"".concat(I,"-items")},W)}else b||M||(z=t.renderEmpty(I,o));var Q=B.position||"bottom";return r.createElement("div",j({className:U},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===Q||"both"===Q)&&K,k&&r.createElement("div",{className:"".concat(I,"-header")},k),r.createElement(s.default,D,z,b),T&&r.createElement("div",{className:"".concat(I,"-footer")},T),E||("bottom"===Q||"both"===Q)&&K)};var n=e.pagination,a=n&&"object"===O(n)?n:{};return t.state={paginationCurrent:a.defaultCurrent||1,paginationSize:a.defaultPageSize||10},t}return t=p,(n=[{key:"getChildContext",value:function(){return{grid:this.props.grid,itemLayout:this.props.itemLayout}}},{key:"triggerPaginationEvent",value:function(e){var t=this;return function(n,r){var a=t.props.pagination;t.setState({paginationCurrent:n,paginationSize:r}),a&&a[e]&&a[e](n,r)}}},{key:"isSomethingAfterLastItem",value:function(){var e=this.props,t=e.loadMore,n=e.pagination,r=e.footer;return!!(t||n||r)}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderList)}}])&&T(t.prototype,n),a&&T(t,a),p}(r.Component);M.Item=x,M.childContextTypes={grid:a.any,itemLayout:a.string},M.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},"Xt/L":function(e,t){e.exports=function(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}},YxIK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("W9HT")),a=m(n("+KLJ")),o=m(n("5rEg")),i=m(n("2fM7")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("2DKY"),n("1vPl"),n("8QGh");var c=n("q1tI"),u=m(c),f=m(n("vDqi"));n("6JOy"),n("js5m");var p=m(n("QCvN")),d=m(n("Fyak"));function m(e){return e&&e.__esModule?e:{default:e}}var h=i.default.Option,v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));y.call(n);var r=n.props.match.params.branch;return n.state={data:void 0,branches:void 0,merge_branches:void 0,merge_projects:void 0,merge:"master",pull:r,id:void 0,is_fork:!1,projects_names:void 0,isSpin:!1,show_message:!0,merge_head:!1,default_message:"必须选择不同的分支",project_id:void 0,merge_project_user:void 0,oldProject:void 0,comparesData:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"componentWillUnmount",value:function(){console.log("----------destoyed---------"),window.removeEventListener("popstate",this.handleBack,!1)}},{key:"render",value:function(){var e,t=this,n=this.state,s=n.data,c=n.branches,f=n.merge_branches,m=n.merge_projects,v=n.pull,y=n.merge,g=n.isSpin,b=n.show_message,_=n.default_message,E=(n.merge_head,n.projects_names),w=n.id,S=n.comparesData,C=function(e,t){if(e&&e.length>0)return e.map((function(e,t){return u.default.createElement(h,{key:t+1,value:e.name},e.name)}))},x=function(e){if(e&&e.length>0)return e.map((function(e,t){return u.default.createElement(h,{key:t+1,value:e.id},e.project_name)}))},O=this.props.project;return u.default.createElement("div",null,u.default.createElement("div",{className:"main"},u.default.createElement(r.default,{spinning:g},u.default.createElement("div",{className:"merge-header width100 inline-block"},u.default.createElement("div",{className:"width40 pull-left"},u.default.createElement("div",{className:"color-grey-3 mb10 fwb"},"源分支:"),u.default.createElement(o.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(i.default,{value:w,className:"hide-1 task-hide flex1",disabled:!0},x(E)),u.default.createElement(i.default,{value:v,onSelect:function(e){return t.selectBrach("pull",e)},showSearch:!0,className:"merge-flex1 flex1"},C(c)))),u.default.createElement("div",{className:"width10 pull-left text-center mt25"},u.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-32"})),u.default.createElement("div",{className:"width40 pull-left"},u.default.createElement("div",null,u.default.createElement("div",{className:"color-grey-3 mb10 fwb"},"目标分支:"),u.default.createElement(o.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(i.default,{value:O&&O.id,className:"hide-1 task-hide flex1",onSelect:function(e){return t.selectProjectName(e)}},x(m)),u.default.createElement(i.default,{value:y,onSelect:function(e){return t.selectBrach("merge",e)},showSearch:!0,className:"merge-flex1 flex1"},C(f)))))),b?u.default.createElement("div",{className:"mb20"},u.default.createElement(a.default,{description:(e=_,u.default.createElement("div",{dangerouslySetInnerHTML:{__html:e}})),type:"error"})):u.default.createElement(p.default,l({},this.props,{merge_type:"new",data:s,merge:y,pull:v,files_count:S&&S.diff&&S.diff.files_count,commits_count:S&&S.commits_count})))),u.default.createElement(d.default,l({order_id:s&&s.issue&&s.issue.id},this.props,this.state,{merge:y,pull:v,comparesData:S})))}}]),t}(c.Component),y=function(){var e=this;this.componentDidMount=function(){var t=e.props.match.params.projectsId;e.getmergelist(t),window.history&&window.history.pushState&&window.addEventListener("popstate",e.handleBack,!1)},this.componentDidUpdate=function(t){var n=e.props.project,r=e.state.pull,a=t.project;n&&a&&a.id!==n.id&&e.compareProject(e.state.id,r,"master")},this.handleBack=function(){var t=e.props.match.params.projectsId;e.getmergelist(t)},this.getmergelist=function(t){e.setState({isSpin:!0});var n=e.props.history.location.pathname.split("/")[1];console.log("owner:"+n),console.log(e.props);var r="/"+n+"/"+t+"/pulls/new.json";f.default.get(r).then((function(t){t&&(e.setState({is_fork:t.data.is_fork,projects_names:t.data.projects_names,merge_projects:t.data.merge_projects,branches:t.data.branches,merge_branches:t.data.branches,project_id:t.data.project_id,id:t.data.id}),e.set_default_pull(t.data.branches),e.set_default_merge(t.data.merge_projects));var n=e.state.pull;e.compareProject(t.data.id,n||"master","master"),e.setState({isSpin:!1})})).catch((function(t){e.setState({isSpin:!1}),console.log(t)}))},this.compareProject=function(t,n,r){var a=e.props.project,o=e.props.match.params,i="/"+o.owner+"/"+o.projectsId+"/compare";if(a){if(t===a.id)e.setState({oldProject:a}),i+="/"+n+"..."+r+".json";else{var l=e.state.oldProject,s=l.author,c=l.identifier;i+="/"+r+"..."+(s&&s.login)+"/"+c+":"+n+".json"}e.setState({isSpin:!0}),f.default.get(i).then((function(t){t&&(0===t.data.status?e.setState({isSpin:!1,show_message:!1}):e.setState({isSpin:!1,show_message:!0,default_message:t.data.message}),e.setState({comparesData:t.data}))})).catch((function(t){e.setState({isSpin:!1})}))}},this.set_default_pull=function(t){if(!e.props.match.params.branch&&t&&t.length>0){var n=t.filter((function(e){return"master"===e.name}));n.length>0?e.setState({pull:n[0].name}):e.setState({pull:"master"})}},this.set_default_merge=function(t){if(t&&t.length){var n=t.filter((function(e){return"master"===e.name}));n.length>0?e.setState({merge:n[0].name}):e.setState({merge:"master"})}},this.newMergelist=function(t,n){e.setState({isSpin:!0});var r="/"+t+"/"+n+"/pulls/get_branches.json";f.default.get(r).then((function(t){t&&(e.setState({merge_branches:t.data}),e.set_default_merge(t.data)),e.setState({isSpin:!1})})).catch((function(t){e.setState({isSpin:!1}),console.log(t)}))},this.selectBrach=function(t,n){var r=e.props.match.params,a=r.projectsId,o=r.owner;e.state[t]=n;var i=e.state,l=i.id,s=i.merge,c=i.pull;"pull"===t?(e.props.history.push("/"+o+"/"+a+"/pulls/new/"+c),e.compareProject(l,n,s)):e.compareProject(l,c,n)},this.selectProjectName=function(t){var n=e.state,r=n.projects_names,a=n.id,o=r&&r.filter((function(e){return e.id===t})),i=o&&o[0].project_id,l=o&&o[0].project_user_login,s=parseInt(t)!==parseInt(a);e.setState({isSpin:!0,merge_head:s,data:{is_original:s,fork_project_id:s?a:"",merge_user_login:s?r[0].project_user_login:void 0}}),e.props.history.push("/"+l+"/"+i+"/pulls/new"),e.newMergelist(l,i)},this.ischeckmerge=function(){e.setState({isSpin:!0});var t=e.props.match.params,n=t.projectsId,r=t.owner,a=e.state,o=a.pull,i=a.merge,l=a.merge_head,s=a.id,c="/"+r+"/"+n+"/pulls/check_can_merge.json";f.default.post(c,{head:o,base:i,is_original:l,fork_project_id:l?s:void 0}).then((function(t){t?0===t.data.status?e.setState({isSpin:!1,show_message:!1}):e.setState({isSpin:!1,show_message:!0,default_message:t.data.message}):e.setState({isSpin:!1,show_message:!0,default_message:"出现错误了"})})).catch((function(t){e.setState({isSpin:!1,show_message:!0}),console.log(t)}))}};t.default=v},ZCgT:function(e,t,n){var r=n("tLB3");e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return We}));var r=n("q1tI"),a=n.n(r),o=n("i8i4"),i=n("QbLZ"),l=n.n(i),s=n("YEIV"),c=n.n(s),u=n("jo6Y"),f=n.n(u),p=n("iCc5"),d=n.n(p),m=n("V7oC"),h=n.n(m),v=n("FYw3"),y=n.n(v),g=n("mRg0"),b=n.n(g),_=n("17x9"),E=n.n(_),w=n("TSYQ"),S=n.n(w),C=n("n1GQ"),x=n.n(C),O=n("VCL8"),N=37,k=38,j=39,P=40;function T(e){var t=[];return a.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function R(e,t){for(var n=T(e),r=0;r<n.length;r++)if(n[r].key===t)return r;return-1}function A(e,t){e.transform=t,e.webkitTransform=t,e.mozTransform=t}function I(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function D(e){return"left"===e||"right"===e}function L(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function M(e){return Object.keys(e).reduce((function(t,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})}function F(e,t){return+e.getPropertyValue(t).replace("px","")}function U(e,t,n,r,a){var o=L(a,"padding-"+e);if(!r||!r.parentNode)return o;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(a){var i=window.getComputedStyle(a);return a!==r?(o+=F(i,"margin-"+e),o+=a[t],o+=F(i,"margin-"+n),"content-box"===i.boxSizing&&(o+=F(i,"border-"+e+"-width")+F(i,"border-"+n+"-width")),!1):(o+=F(i,"margin-"+e),!0)})),o}var B=n("4IlW"),H=n("foW8"),z=n.n(H)()({}),K=z.Provider,q=z.Consumer,V={width:0,height:0,overflow:"hidden",position:"absolute"},W=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.onKeyDown=function(e){var t=e.target,n=e.which,a=e.shiftKey,o=r.props,i=o.nextElement,l=o.prevElement;n===B.a.TAB&&document.activeElement===t&&(!a&&i&&i.focus(),a&&l&&l.focus())},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props.setRef;return a.a.createElement("div",{tabIndex:0,ref:e,style:V,onKeyDown:this.onKeyDown,role:"presentation"})}}]),t}(a.a.Component);W.propTypes={setRef:E.a.func,prevElement:E.a.object,nextElement:E.a.object};var Q=W,Y=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e,t=this.props,n=t.id,r=t.className,o=t.destroyInactiveTabPane,i=t.active,s=t.forceRender,u=t.rootPrefixCls,p=t.style,d=t.children,m=t.placeholder,h=f()(t,["id","className","destroyInactiveTabPane","active","forceRender","rootPrefixCls","style","children","placeholder"]);this._isActived=this._isActived||i;var v=u+"-tabpane",y=S()((e={},c()(e,v,1),c()(e,v+"-inactive",!i),c()(e,v+"-active",i),c()(e,r,r),e)),g=(o?i:this._isActived)||s;return a.a.createElement(q,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,o=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=a.a.createElement(Q,{setRef:o,prevElement:t}),u=a.a.createElement(Q,{setRef:s,nextElement:r})),a.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:y,id:n},M(h)),c,g?d:m,u)}))}}]),t}(a.a.Component),G=Y;function J(e){var t=void 0;return a.a.Children.forEach(e.children,(function(e){!e||t||e.props.disabled||(t=e.key)})),t}Y.propTypes={className:E.a.string,active:E.a.bool,style:E.a.any,destroyInactiveTabPane:E.a.bool,forceRender:E.a.bool,placeholder:E.a.node,rootPrefixCls:E.a.string,children:E.a.node,id:E.a.string},Y.defaultProps={placeholder:null};var X=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));Z.call(n);var r=void 0;return r="activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:J(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,x.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(x.a.cancel(this.sentinelId),this.sentinelId=x()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,o=t.tabBarPosition,i=t.className,s=t.renderTabContent,u=t.renderTabBar,p=t.destroyInactiveTabPane,d=t.direction,m=f()(t,["prefixCls","navWrapper","tabBarPosition","className","renderTabContent","renderTabBar","destroyInactiveTabPane","direction"]),h=S()((e={},c()(e,n,1),c()(e,n+"-"+o,1),c()(e,i,!!i),c()(e,n+"-rtl","rtl"===d),e));this.tabBar=u();var v=a.a.cloneElement(this.tabBar,{prefixCls:n,navWrapper:r,key:"tabBar",onKeyDown:this.onNavKeyDown,tabBarPosition:o,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),y=a.a.cloneElement(s(),{prefixCls:n,tabBarPosition:o,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=a.a.createElement(Q,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=a.a.createElement(Q,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),_=[];return"bottom"===o?_.push(g,y,b,v):_.push(v,g,y,b),a.a.createElement(K,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},a.a.createElement("div",l()({className:h,style:t.style},M(m),{onScroll:this.onScroll}),_))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"activeKey"in e?n.activeKey=e.activeKey:function(e,t){return a.a.Children.map(e.children,(function(e){return e&&e.key})).indexOf(t)>=0}(e,t.activeKey)||(n.activeKey=J(e)),Object.keys(n).length>0?n:null}}]),t}(a.a.Component),Z=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===j||n===P){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===N||n===k){t.preventDefault();var a=e.getNextActiveKey(!1);e.onTabClick(a)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];a.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var o=r.length,i=o&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===o-1?r[0].key:r[t+1].key)})),i}};X.propTypes={destroyInactiveTabPane:E.a.bool,renderTabBar:E.a.func.isRequired,renderTabContent:E.a.func.isRequired,navWrapper:E.a.func,onChange:E.a.func,children:E.a.node,prefixCls:E.a.string,className:E.a.string,tabBarPosition:E.a.string,style:E.a.object,activeKey:E.a.string,defaultActiveKey:E.a.string,direction:E.a.string},X.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},X.TabPane=G,Object(O.polyfill)(X);var $=X,ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return a.a.Children.forEach(n,(function(n){if(n){var o=n.key,i=t===o;r.push(a.a.cloneElement(n,{active:i,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,o=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=S()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var v=R(o,i);if(-1!==v){var y=p?function(e,t){var n=D(t)?"marginTop":"marginLeft";return c()({},n,100*-e+"%")}(v,u):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=D(t)?"translateY":"translateX";return D(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(v,u,d),WebkitTransform:t,MozTransform:t};m=l()({},m,y)}else m=l()({},m,{display:"none"})}return a.a.createElement("div",{className:h,style:m},this.getTabPanes())}}]),t}(a.a.Component),te=ee;ee.propTypes={animated:E.a.bool,animatedWithMargin:E.a.bool,prefixCls:E.a.string,children:E.a.node,activeKey:E.a.string,style:E.a.any,tabBarPosition:E.a.string,className:E.a.string,destroyInactiveTabPane:E.a.bool,direction:E.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("BGR+");function ae(e,t){var n=e.props,r=n.styles,a=n.panels,o=n.activeKey,i=n.direction,l=e.props.getRef("root"),s=e.props.getRef("nav")||l,c=e.props.getRef("inkBar"),u=e.props.getRef("activeTab"),f=c.style,p=e.props.tabBarPosition,d=R(a,o);if(t&&(f.display="none"),u){var m=u,h=I(f);if(A(f,""),f.width="",f.height="",f.left="",f.top="",f.bottom="",f.right="","top"===p||"bottom"===p){var v=function(e,t){return U("left","offsetWidth","right",e,t)}(m,s),y=m.offsetWidth;y===l.offsetWidth?y=0:r.inkBar&&void 0!==r.inkBar.width&&(y=parseFloat(r.inkBar.width,10))&&(v+=(m.offsetWidth-y)/2),"rtl"===i&&(v=L(m,"margin-left")-v),h?A(f,"translate3d("+v+"px,0,0)"):f.left=v+"px",f.width=y+"px"}else{var g=function(e,t){return U("top","offsetHeight","bottom",e,t)}(m,s),b=m.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(b=parseFloat(r.inkBar.height,10))&&(g+=(m.offsetHeight-b)/2),h?(A(f,"translate3d(0,"+g+"px,0)"),f.top="0"):f.top=g+"px",f.height=b+"px"}}f.display=-1!==d?"block":"none"}var oe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){ae(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){ae(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,o=t.inkBarAnimated,i=n+"-ink-bar",l=S()((e={},c()(e,i,!0),c()(e,o?i+"-animated":i+"-no-animated",!0),e));return a.a.createElement("div",{style:r.inkBar,className:l,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(a.a.Component),ie=oe;oe.propTypes={prefixCls:E.a.string,styles:E.a.object,inkBarAnimated:E.a.bool,saveRef:E.a.func,direction:E.a.string},oe.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),se=n.n(le),ce=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,o=t.prefixCls,i=t.tabBarGutter,s=t.saveRef,u=t.tabBarPosition,f=t.renderTabBarNode,p=t.direction,d=[];return a.a.Children.forEach(n,(function(t,m){if(t){var h=t.key,v=r===h?o+"-tab-active":"";v+=" "+o+"-tab";var y={};t.props.disabled?v+=" "+o+"-tab-disabled":y={onClick:e.props.onTabClick.bind(e,h)};var g={};r===h&&(g.ref=s("activeTab"));var b=i&&m===n.length-1?0:i,_="rtl"===p?"marginLeft":"marginRight",E=c()({},D(u)?"marginBottom":_,b);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var w=a.a.createElement("div",l()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},y,{className:v,key:h,style:E},g),t.props.tab);f&&(w=f(w)),d.push(w)}})),a.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(a.a.Component),ue=ce;ce.propTypes={activeKey:E.a.string,panels:E.a.node,prefixCls:E.a.string,tabBarGutter:E.a.number,onTabClick:E.a.func,saveRef:E.a.func,renderTabBarNode:E.a.func,tabBarPosition:E.a.string,direction:E.a.string},ce.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var fe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,o=e.className,i=e.extraContent,s=e.style,u=e.tabBarPosition,p=e.children,d=f()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),m=S()(t+"-bar",c()({},o,!!o)),h="top"===u||"bottom"===u,v=h?{float:"right"}:{},y=i&&i.props?i.props.style:{},g=p;return i&&(g=[Object(r.cloneElement)(i,{key:"extra",style:l()({},v,y)}),Object(r.cloneElement)(p,{key:"content"})],g=h?g:g.reverse()),a.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},M(d)),g)}}]),t}(a.a.Component),pe=fe;fe.propTypes={prefixCls:E.a.string,className:E.a.string,style:E.a.object,tabBarPosition:E.a.oneOf(["left","right","top","bottom"]),children:E.a.node,extraContent:E.a.node,onKeyDown:E.a.func,saveRef:E.a.func},fe.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var de=n("sEfC"),me=n.n(de),he=n("bdgK"),ve=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var a=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),a){var o=n.getScrollWH(t),i=n.getOffsetWH(r),l=n.offset,s=n.getOffsetLT(r),c=n.getOffsetLT(t);s>c?(l+=s-c,n.setOffset(l)):s+i<c+o&&(l-=c+o-(s+i),n.setOffset(l))}}},n.prev=function(e){n.props.onPrevClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a+r)},n.next=function(e){n.props.onNextClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a-r)},n.offset=0,n.state={next:!1,prev:!1},n}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),this.debouncedResize=me()((function(){e.setNextPrev(),e.scrollToActiveTab()}),200),this.resizeObserver=new he.default(this.debouncedResize),this.resizeObserver.observe(this.props.getRef("container"))}},{key:"componentDidUpdate",value:function(e){var t=this.props;if(e&&e.tabBarPosition!==t.tabBarPosition)this.setOffset(0);else{var n=this.setNextPrev();this.isNextPrevShown(this.state)!==this.isNextPrevShown(n)?this.setState({},this.scrollToActiveTab):e&&t.activeKey===e.activeKey||this.scrollToActiveTab()}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()}},{key:"setNextPrev",value:function(){var e=this.props.getRef("nav"),t=this.props.getRef("navTabsContainer"),n=this.getScrollWH(t||e),r=this.getOffsetWH(this.props.getRef("container"))+1,a=this.getOffsetWH(this.props.getRef("navWrap")),o=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),o=0;else if(i<o)s=!0;else{s=!1;var u=a-n;this.setOffset(u,!1),o=u}return c=o<0,this.setNext(s),this.setPrev(c),{next:s,prev:c}}},{key:"getOffsetWH",value:function(e){var t=this.props.tabBarPosition,n="offsetWidth";return"left"!==t&&"right"!==t||(n="offsetHeight"),e[n]}},{key:"getScrollWH",value:function(e){var t=this.props.tabBarPosition,n="scrollWidth";return"left"!==t&&"right"!==t||(n="scrollHeight"),e[n]}},{key:"getOffsetLT",value:function(e){var t=this.props.tabBarPosition,n="left";return"left"!==t&&"right"!==t||(n="top"),e.getBoundingClientRect()[n]}},{key:"setOffset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},a=this.props.tabBarPosition,o=this.props.getRef("nav").style,i=I(o);"left"===a||"right"===a?r=i?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:i?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},i?A(o,r.value):o[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,o=this.state,i=o.next,l=o.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,v=a.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:S()((e={},c()(e,u+"-tab-prev",1),c()(e,u+"-tab-btn-disabled",!l),c()(e,u+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||a.a.createElement("span",{className:u+"-tab-prev-icon"})),y=a.a.createElement("span",{onClick:i?this.next:null,unselectable:"unselectable",className:S()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||a.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=S()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return a.a.createElement("div",{className:S()((r={},c()(r,u+"-nav-container",1),c()(r,u+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},v,y,a.a.createElement("div",{className:u+"-nav-wrap",ref:this.props.saveRef("navWrap")},a.a.createElement("div",{className:u+"-nav-scroll"},a.a.createElement("div",{className:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(a.a.Component),ye=ve;ve.propTypes={activeKey:E.a.string,getRef:E.a.func.isRequired,saveRef:E.a.func.isRequired,tabBarPosition:E.a.oneOf(["left","right","top","bottom"]),prefixCls:E.a.string,scrollAnimated:E.a.bool,onPrevClick:E.a.func,onNextClick:E.a.func,navWrapper:E.a.func,children:E.a.node,prevIcon:E.a.node,nextIcon:E.a.node,direction:E.a.node},ve.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var ge=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.getRef=function(e){return r[e]},r.saveRef=function(e){return function(t){t&&(r[e]=t)}},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(a.a.Component),be=ge;ge.propTypes={children:E.a.func},ge.defaultProps={children:function(){return null}};var _e=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return a.a.createElement(be,null,(function(e,r){return a.a.createElement(pe,l()({saveRef:e},n),a.a.createElement(ye,l()({saveRef:e,getRef:r},n),a.a.createElement(ue,l()({saveRef:e,renderTabBarNode:t},n)),a.a.createElement(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(a.a.Component),Ee=_e;_e.propTypes={children:E.a.func};var we=n("CtXQ");function Se(){return(Se=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){return(xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Pe(this,n)}}function Pe(e,t){return!t||"object"!==xe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=je(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e,t,n=this.props,a=n.tabBarStyle,o=n.animated,i=n.renderTabBar,l=n.tabBarExtraContent,s=n.tabPosition,c=n.prefixCls,u=n.className,f=n.size,p=n.type,d="object"===xe(o)?o.inkBar:o,m="left"===s||"right"===s,h=m?"up":"left",v=m?"down":"right",y=r.createElement("span",{className:"".concat(c,"-tab-prev-icon")},r.createElement(we.default,{type:h,className:"".concat(c,"-tab-prev-icon-target")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(we.default,{type:v,className:"".concat(c,"-tab-next-icon-target")})),b=S()("".concat(c,"-").concat(s,"-bar"),(Ce(e={},"".concat(c,"-").concat(f,"-bar"),!!f),Ce(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),_=Se(Se({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:a,prevIcon:y,nextIcon:g,className:b});return t=i?i(_,Ee):r.createElement(Ee,_),r.cloneElement(t)}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Re.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Ie=n("6CfX"),De=n("R3zJ");function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function He(e,t){return(He=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qe(e);if(t){var a=qe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ke(this,n)}}function Ke(e,t){return!t||"object"!==Fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},We=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&He(e,t)}(l,e);var t,n,a,i=ze(l);function l(){var e;return Ue(this,l),(e=i.apply(this,arguments)).removeTab=function(t,n){if(n.stopPropagation(),t){var r=e.props.onEdit;r&&r(t,"remove")}},e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e.createNewTab=function(t){var n=e.props.onEdit;n&&n(t,"add")},e.renderTabs=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.className,s=void 0===l?"":l,c=o.size,u=o.type,f=void 0===u?"line":u,p=o.tabPosition,d=o.children,m=o.animated,h=void 0===m||m,v=o.hideAdd,y=e.props.tabBarExtraContent,g="object"===Fe(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Ie.a)(!(f.indexOf("card")>=0&&("small"===c||"large"===c)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var b=a("tabs",i),_=S()(s,(Me(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Me(n,"".concat(b,"-").concat(c),!!c),Me(n,"".concat(b,"-card"),f.indexOf("card")>=0),Me(n,"".concat(b,"-").concat(f),!0),Me(n,"".concat(b,"-no-animation"),!g),n)),E=[];"editable-card"===f&&(E=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var a=t.props.closable,o=(a=void 0===a||a)?r.createElement(we.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;E.push(r.cloneElement(t,{tab:r.createElement("div",{className:a?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,o),key:t.key||n}))})),v||(y=r.createElement("span",null,r.createElement(we.default,{type:"plus",className:"".concat(b,"-new-tab"),onClick:e.createNewTab}),y))),y=y?r.createElement("div",{className:"".concat(b,"-extra-content")},y):null;var w=Ve(e.props,[]),C=S()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Le({},e.props,{prefixCls:b,className:_,tabBarPosition:p,renderTabBar:function(){return r.createElement(Re,Le({},Object(re.a)(w,["className"]),{tabBarExtraContent:y}))},renderTabContent:function(){return r.createElement(te,{className:C,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),E.length>0?E:d)},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=o.findDOMNode(this);e&&!De.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&Be(t.prototype,n),a&&Be(t,a),l}(r.Component);We.TabPane=G,We.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("3S7+")),a=u(n("CFYs")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ"),n("D8SU");var i=n("q1tI"),l=u(i),s=n("PhNK"),c=n("spEH");function u(e){return e&&e.__esModule?e:{default:e}}n("js5m"),n("VPG4"),t.default=function(e){var t=e.data,n=e.history,u=e.owner,f=e.projectsId,p=e.parentsSha,d=(0,i.useState)(t&&t.files),m=o(d,2),h=m[0],v=m[1],y=(0,i.useState)("复制文件路径"),g=o(y,2),b=g[0],_=g[1],E=(0,i.useState)(!1),w=o(E,2),S=w[0],C=w[1];function x(e,t,n){if(!n){var r=h.concat();r[t].flag=!e,r.splice(),v(r)}}(0,i.useEffect)((function(){t&&v(t.files)}),[t]);var O=l.default.createElement("div",{className:"folders"},l.default.createElement("div",{className:"folderList"},h&&h.map((function(e,t){return l.default.createElement("a",{href:"#value"+t},l.default.createElement(c.FlexAJ,{className:"filesInfo",key:t,onClick:function(){e.flag&&x(e.flag,t,e.isBin),C(!1)}},l.default.createElement(c.AlignCenter,null,l.default.createElement("i",{className:"iconfont icon-wenjianicon mr4"}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name},e.name)),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0&&":")+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),e.addition>0&&l.default.createElement("span",{className:"color-green ml10"},"+",e.addition),e.deletion>0&&l.default.createElement("span",{className:"color-red ml10"},"-",e.deletion)))))}))));return l.default.createElement("div",null,l.default.createElement(c.AlignCenter,{className:"color-grey-9",style:{position:"relative"}},l.default.createElement("div",{onClick:function(){C(!S)}},l.default.createElement("i",{className:"iconfont mr5 "+(S?"font-18 icon-sanjiaoxing-down":"font-16 icon-triangle")}),l.default.createElement("span",{className:"color-grey-6 update-file-count"},"共有",l.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件 "),"被更改,包括",t&&t.total_addition?l.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?l.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),S&&O),h&&h.length>0&&l.default.createElement("div",{className:"fileList"},h.map((function(e,t){return l.default.createElement("div",{className:"files",key:t},l.default.createElement("a",{id:"value"+t,className:"anchorPoint"}),l.default.createElement(c.FlexAJ,{className:"filesInfo"},l.default.createElement(c.AlignCenter,null,e.isBin?"":l.default.createElement("i",{className:e.flag?"iconfont icon-triangle font-15 color-grey-9":"iconfont icon-sanjiaoxing-down color-grey-9 mt4",onClick:function(){return x(e.flag,t,e.isBin)}}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name,onClick:function(){return x(e.flag,t,e.isBin)}},e.name),l.default.createElement(r.default,{title:b,onVisibleChange:function(){return _("复制文件路径")}},l.default.createElement("i",{className:"iconfont icon-fuzhiicon ml6",onClick:function(){return t=e.name,(n=document.createElement("input")).defaultValue=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="copyCont",n.style.display="none",void _("复制成功");var t,n}}))),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0&&":")+" "+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),l.default.createElement("span",{className:"ml10"},e.addition+e.deletion,"处")),!e.isSubmodule&&l.default.createElement("span",{className:"see-file-btn",onClick:function(){n.push("/"+u+"/"+f+(e.isDeleted?"/commits/"+(0,s.truncateCommitId)(p):"/tree/"+(0,s.truncateCommitId)(e.sha)+"/"+e.name))}},"查看文件"))),e.sections&&e.sections.length>=1&&!e.flag&&l.default.createElement("div",{className:"filesContent"},e.sections.map((function(e,t){return e.lines&&e.lines.length>0&&e.lines.map((function(e,n){return l.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},l.default.createElement("span",{className:"lines"},l.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),l.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),l.default.createElement("p",null,e.content))}))}))))}))))}},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),a=c(r);n("vg9a");var o=n("ud8/"),i=c(o);n("SJMd");var l=c(n("wMS7")),s=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,p=void 0===f?{}:f,d=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,i.default)(m),t=(0,o.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],a=r.type,o=r.expression;return(0,s.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===a,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(d&&d.hash&&h){var e=d.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[d,h]);var v=(0,r.useRef)();function y(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(v.current&&h&&h.match(u)&&window.PR.prettyPrint(),v.current)return v.current.addEventListener("click",y),function(){v.current.removeEventListener("click",y),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[h,v.current,y]),a.default.createElement("div",{ref:v,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=E(n("VXEj")),a=E(n("NJEC")),o=E(n("2/Rp")),i=E(n("NUBc")),l=E(n("ZTPi")),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV"),n("AUBz");var u=n("q1tI"),f=E(u),p=n("eO8H"),d=E(n("vDqi")),m=E(n("AySf")),h=E(n("bIax")),v=n("sYIF"),y=E(n("LZ3y")),g=E(n("p7gc")),b=E(n("bjH3")),_=E(n("oYoh"));function E(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var w=l.default.TabPane,S=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getjournalslist()},n.addjournals=function(){var e=n.state,t=e.content,r=e.reply_content;n.setState({journal_spin:!0}),t||r?n.props.form.validateFieldsAndScroll((function(e,a){if(e)n.setState({journal_spin:!1});else{var o=n.state,i=o.page,l=o.limit,c=o.fileList,u=o.orderId,f=o.reply_id,p=o.is_reply,m="/issues/"+u+"/journals.json";d.default.post(m,s({},a,{content:p?r:t,issue_id:u,attachment_ids:c,parent_id:f})).then((function(e){e&&0===e.data.status&&(n.props.form.setFieldsValue({content:"",reply_content:void 0}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l),n.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1})),n.setState({journal_spin:!1}),e&&411!==e.data.status&&n.props.showNotification(e.data.message)})).catch((function(e){n.setState({journal_spin:!1}),console.log(e)}))}})):n.setState({journal_spin:!1})},n.add_reply=function(e){!1!==n.props.checkIfLogin()?n.setState({is_reply:!0,success_journal:!1,reply_id:e}):n.props.showLoginDialog()},n.cancel_reply=function(){n.setState({is_reply:!1,reply_id:void 0,success_journal:!1,reply_content:void 0})},n.getjournalslist=function(e,t){var r=n.state.orderId,a="/issues/"+r+"/journals.json",o=r;d.default.get(a,{params:{id:o,page:e,limit:t}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1,fileList:void 0})})).catch((function(e){console.log(e)}))},n.UploadFunc=function(e){n.setState({fileList:e,attachment_clean:!0})},n.deleteorder=function(e){var t=n.state,r=t.page,a=t.limit,o=t.orderId,i="/issues/"+o+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:o,id:e}}).then((function(e){e&&n.getjournalslist(r,a)})).catch((function(e){console.log(e)}))},n.renderJournalList=function(e){return e&&e.length>0?e.map((function(e,t){return f.default.createElement("div",{key:t+1,className:"journal-list-item"},f.default.createElement("span",{className:"fwb mr3"},e.detail,":"),f.default.createElement("span",{className:"mr5 color-grey-9"},e.old_value&&e.old_value.length>0?"更新为":"新增"),f.default.createElement("span",null,e.value&&e.value.length>0?"标记"===e.detail?f.default.createElement("span",{className:"issue-tag-show",style:{background:e.value[0].color}},e.value[0].name):e.value:"无"))})):f.default.createElement("div",null,f.default.createElement("span",null,"没有评论~"))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.onContentChange=function(e){e&&n.setState({content:e,quillFlag:!1})},n.replyContentChange=function(e){e&&n.setState({reply_content:e,quillFlag:!1})},n.onRef=function(e){n.child=e},n.commentCtx=function(e){return f.default.createElement(b.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.state={content:void 0,journalsdata:void 0,isedit:void 0,fileList:void 0,limit:10,page:1,journal_spin:!1,edit_spin:!1,attachment_clean:!0,orderId:n.props.order_id,is_reply:!1,reply_id:void 0,reply_content:void 0,new_journal_id:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"loginModal",value:function(){this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,E=t.attachment_clean,S=t.is_reply,C=t.reply_id,x=t.reply_content,O=t.orderId,N=t.new_journal_id,k=this.props,j=k.current_user,P=k.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/"+(j&&j.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(j&&j.image_url)),alt:"",width:"30",height:"30"})),f.default.createElement("div",null,f.default.createElement(g.default,{placeholder:"添加评论...",height:300,mdID:n?"orderdetail-add-descriptions"+n:"orderdetail-add-descriptions",initValue:t?x:u,onChange:t?e.replyContentChange:e.onContentChange}),f.default.createElement("p",{className:"quillFlag"},d&&f.default.createElement("span",{className:""},"请输入评论内容")),f.default.createElement(m.default,{className:"commentStyle",isComplete:E,load:e.UploadFunc,icon:f.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.props.showNotification}),f.default.createElement("p",{className:"clearfix mt20"},f.default.createElement(o.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(o.default,{onClick:e.cancel_reply},"取消"))))},R=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link color-black ml10 fwb"},t&&t.user_name)),f.default.createElement("div",{className:"ml40"},t.content?e.commentCtx(t.content):f.default.createElement("div",null,e.renderJournalList(t.journal_details)),t&&t.attachments&&t.attachments.length>0?f.default.createElement(y.default,{attachments:t.attachments,showNotification:e.props.showNotification,canDelete:j&&(j.admin||j.login===t.user_login)}):"",f.default.createElement("div",{className:"grid-item mt5"},f.default.createElement("span",{className:"color-grey-8"},t.created_at),f.default.createElement("span",{className:"text-right"},j&&(j.admin||j.login===t.user_login)?f.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(o.default,{type:"link"},f.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):"",f.default.createElement(o.default,{type:"link",className:"ml-10",onClick:function(){return e.add_reply(t.id)}},f.default.createElement("i",{className:"iconfont icon-huifu1 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"回复")))),j&&f.default.createElement("div",null,S&&C&&C===t.id?f.default.createElement("div",{className:"pt20"},T(S,t.id)):""),f.default.createElement(_.default,s({order_id:O,parent_id:t.id,onRef:e.onRef,children_comment_id:N},e.props))))};return f.default.createElement("div",null,P?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},S&&!C?f.default.createElement("div",{className:"pd20"},T(S,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item"},f.default.createElement("img",{className:"radius",src:j&&j.image_url?(0,v.getImageUrl)("/"+j.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}),this.Paginations()):f.default.createElement("div",{className:"mt20"},f.default.createElement("div",{className:"comment-background"},f.default.createElement(l.default,{defaultActiveKey:"1",className:"custom-comment-tabs"},f.default.createElement(w,{tab:f.default.createElement("span",{className:"ml-3 font-16"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},S&&!C?f.default.createElement("div",{className:"pd20"},T(S,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item mb20"},f.default.createElement("img",{className:"radius",src:j&&j.image_url?(0,v.getImageUrl)("/"+j.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=S},dQpi:function(e,t,n){var r=n("yGk4"),a=n("vN+2"),o=n("rEGp"),i=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:a;e.exports=i},"jbM+":function(e,t,n){var r=n("R/W3");e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},js5m:function(e,t,n){},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),i=n("BGR+"),l=n("VCL8"),s=n("CtXQ"),c=n("H84U");function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,a,i=v(l);function l(){var e;return d(this,l),(e=i.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,r=t.onChange;r&&r(!n)},e.renderCheckableTag=function(t){var n,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=a("tag",l),m=o()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,r.createElement("span",f({},u,{className:m,onClick:e.handleClick}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(t.prototype,n),a&&m(t,a),l}(r.Component),E=n("09Wf"),w=n("6CfX"),S=n("g0mS");function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=T(e);if(t){var a=T(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return P(this,n)}}function P(e,t){return!t||"object"!==C(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},A=new RegExp("^(".concat(E.a.join("|"),")(-inverse)?$")),I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(u,e);var t,n,a,l=j(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,a=n.children,o=R(n,["children"]),l="onClick"in o||a&&"a"===a.type,s=Object(i.a)(o,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(S.a,null,r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())):r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())},Object(w.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return t=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(n=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return O({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,a=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",a);return o()(u,(x(t={},"".concat(u,"-").concat(l),c),x(t,"".concat(u,"-has-color"),l&&!c),x(t,"".concat(u,"-hidden"),!s),t),i)}},{key:"setVisible",value:function(e,t){var n=this.props,r=n.onClose,a=n.afterClose;r&&r(t),a&&!r&&a(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&A.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderTag)}}])&&N(t.prototype,n),a&&N(t,a),u}(r.Component);I.CheckableTag=_,I.defaultProps={closable:!1},Object(l.polyfill)(I);t.default=I},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),a="undefined"==typeof window?t:window,o=["moz","webkit"],i="AnimationFrame",l=a["request"+i],s=a["cancel"+i]||a["cancelRequest"+i],c=0;!l&&c<o.length;c++)l=a[o[c]+"Request"+i],s=a[o[c]+"Cancel"+i]||a[o[c]+"CancelRequest"+i];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(a,e)},e.exports.cancel=function(){s.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},n5Yh:function(e,t,n){},oYoh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("VXEj")),a=h(n("NJEC")),o=h(n("2/Rp")),i=h(n("NUBc")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV");var s=n("q1tI"),c=h(s),u=n("eO8H"),f=h(n("vDqi")),p=n("sYIF"),d=h(n("LZ3y")),m=h(n("bjH3"));function h(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getChildrenJournals=function(e,t){var r=n.props,a=r.order_id,o=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||a)+"/journals/"+(t||o)+"/get_children_journals.json";f.default.get(c,{params:{page:l,limit:s}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.deleteorder=function(e){var t=n.props.order_id,r="/issues/"+t+"/journals/"+e+".json";f.default.delete(r,{data:{issue_id:t,id:e}}).then((function(e){e&&n.getChildrenJournals()})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.state.page=e,n.state.isSpin=!0,n.getChildrenJournals()},n.commentCtx=function(e){return c.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return c.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},c.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.renderList=function(e){var t=n.props.current_user;return c.default.createElement("div",{className:"width100"},c.default.createElement("div",{className:"grid-item pb5"},c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link color-black ml10 fwb"},e&&e.user_name)),c.default.createElement("div",{className:"ml40"},n.commentCtx(e.content),e&&e.attachments&&e.attachments.length>0?c.default.createElement(d.default,{attachments:e.attachments,showNotification:n.props.showNotification,canDelete:t&&(t.admin||t.login===e.user_login)}):"",c.default.createElement("div",{className:"mt5"},c.default.createElement("span",{className:"color-grey-8"},e.created_at),c.default.createElement("span",{className:"ml20"},t&&(t.admin||t.login===e.user_login)?c.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return n.deleteorder(e.id)}},c.default.createElement(o.default,{type:"link"},c.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),c.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):""))))},n.state={journalsdata:void 0,limit:10,page:1,journal_spin:!1,search_count:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.getChildrenJournals()}},{key:"componentDidUpdate",value:function(e,t){this.props.children_comment_id&&e.children_comment_id!==this.props.children_comment_id&&this.getChildrenJournals()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,a=t.search_count,o=t.isSpin;return c.default.createElement("div",null,a>0&&c.default.createElement("div",{className:"children-comment-bg mt10"},c.default.createElement(r.default,{size:"large",loading:o,dataSource:n.issue_journals,renderItem:function(t){return c.default.createElement(r.default.Item,null,e.renderList(t))}}),this.Paginations()))}}]),t}(s.Component);t.default=v},qPyV:function(e,t,n){var r=n("ut/Y"),a=n("LGYb");e.exports=function(e,t){return e&&e.length?a(e,r(t,2)):[]}},u3En:function(e,t,n){},"vN+2":function(e,t){e.exports=function(){}},vg9a:function(e,t,n){},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,a=Object.freeze,o=Object.seal,i=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),a||(a=function(e){return e}),o||(o=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=C(Array.prototype.forEach),f=C(Array.prototype.indexOf),p=C(Array.prototype.join),d=C(Array.prototype.pop),m=C(Array.prototype.push),h=C(Array.prototype.slice),v=C(String.prototype.toLowerCase),y=C(String.prototype.match),g=C(String.prototype.replace),b=C(String.prototype.indexOf),_=C(String.prototype.trim),E=C(RegExp.prototype.test),w=x(RegExp),S=x(TypeError);function C(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return s(e,t,r)}}function x(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function O(e,r){t&&t(e,null);for(var a=r.length;a--;){var o=r[a];if("string"==typeof o){var i=v(o);i!==o&&(n(r)||(r[a]=i),o=i)}e[o]=!0}return e}function N(t){var n=i(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var k=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),j=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),P=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),R=a(["#text"]),A=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),I=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),D=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),M=o(/\{\{[\s\S]*|[\s\S]*\}\}/gm),F=o(/<%[\s\S]*|[\s\S]*%>/gm),U=o(/^data-[\-\w.\u00B7-\uFFFF]/),B=o(/^aria-[\-\w]+$/),H=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=o(/^(?:\w+script|data):/i),K=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function V(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var W=function(){return"undefined"==typeof window?null:window},Q=function(e,t){if("object"!==(void 0===e?"undefined":q(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var o=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,C=t.Node,x=t.NodeFilter,Y=t.NamedNodeMap,G=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,J=t.Text,X=t.Comment,Z=t.DOMParser,$=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=Q($,o),ne=te&&De?te.createHTML(""):"",re=l,ae=re.implementation,oe=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=o.importNode,ce=N(l).documentMode?l.documentMode:{},ue={};n.isSupported=ae&&void 0!==ae.createHTMLDocument&&9!==ce;var fe=M,pe=F,de=U,me=B,he=z,ve=K,ye=H,ge=null,be=O({},[].concat(V(k),V(j),V(P),V(T),V(R))),_e=null,Ee=O({},[].concat(V(A),V(I),V(D),V(L))),we=null,Se=null,Ce=!0,xe=!0,Oe=!1,Ne=!1,ke=!1,je=!1,Pe=!1,Te=!1,Re=!1,Ae=!1,Ie=!1,De=!1,Le=!0,Me=!0,Fe=!1,Ue={},Be=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),He=null,ze=O({},["audio","video","img","source","image","track"]),Ke=null,qe=O({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ve=null,We=l.createElement("form"),Qe=function(e){Ve&&Ve===e||(e&&"object"===(void 0===e?"undefined":q(e))||(e={}),e=N(e),ge="ALLOWED_TAGS"in e?O({},e.ALLOWED_TAGS):be,_e="ALLOWED_ATTR"in e?O({},e.ALLOWED_ATTR):Ee,Ke="ADD_URI_SAFE_ATTR"in e?O(N(qe),e.ADD_URI_SAFE_ATTR):qe,He="ADD_DATA_URI_TAGS"in e?O(N(ze),e.ADD_DATA_URI_TAGS):ze,we="FORBID_TAGS"in e?O({},e.FORBID_TAGS):{},Se="FORBID_ATTR"in e?O({},e.FORBID_ATTR):{},Ue="USE_PROFILES"in e&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,je=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_DOM_IMPORT||!1,De=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Le=!1!==e.SANITIZE_DOM,Me=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,ke&&(xe=!1),Ae&&(Re=!0),Ue&&(ge=O({},[].concat(V(R))),_e=[],!0===Ue.html&&(O(ge,k),O(_e,A)),!0===Ue.svg&&(O(ge,j),O(_e,I),O(_e,L)),!0===Ue.svgFilters&&(O(ge,P),O(_e,I),O(_e,L)),!0===Ue.mathMl&&(O(ge,T),O(_e,D),O(_e,L))),e.ADD_TAGS&&(ge===be&&(ge=N(ge)),O(ge,e.ADD_TAGS)),e.ADD_ATTR&&(_e===Ee&&(_e=N(_e)),O(_e,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&O(Ke,e.ADD_URI_SAFE_ATTR),Me&&(ge["#text"]=!0),je&&O(ge,["html","head","body"]),ge.table&&(O(ge,["tbody"]),delete we.tbody),a&&a(e),Ve=e)},Ye=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ge=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(Te)e="<remove></remove>"+e;else{var r=y(e,/^[\r\n\t ]+/);n=r&&r[0]}var a=te?te.createHTML(e):e;try{t=(new Z).parseFromString(a,"text/html")}catch(e){}if(i&&O(we,["title"]),!t||!t.documentElement){var o=(t=ae.createHTMLDocument("")).body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=a}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ie.call(t,je?"html":"body")[0]};n.isSupported&&function(){try{var e=Je("<x/><title></title><img>");E(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return oe.call(e.ownerDocument||e,e,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT,(function(){return x.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof J||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof G&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===C?"undefined":q(C))?e instanceof C:e&&"object"===(void 0===e?"undefined":q(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,Ve)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ze(e))return Ye(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return Ye(e),!0;var r=v(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ge[r]||we[r]){if(Me&&!Be[r]&&"function"==typeof e.insertAdjacentHTML)try{var a=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(a):a)}catch(e){}return Ye(e),!0}return"noscript"===r&&E(/<\/noscript/i,e.innerHTML)||"noembed"===r&&E(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ne||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!E(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=g(e.innerHTML,/</g,"<"):e.innerHTML=g(e.textContent,/</g,"<")),ke&&3===e.nodeType&&(t=e.textContent,t=g(t,fe," "),t=g(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(Le&&("id"===t||"name"===t)&&(n in l||n in We))return!1;if(xe&&E(de,t));else if(Ce&&E(me,t));else{if(!_e[t]||Se[t])return!1;if(Ke[t]);else if(E(ye,g(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!He[e])if(Oe&&!E(he,g(n,ve,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,a=void 0,o=void 0,i=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_e};for(l=s.length;l--;){var u=t=s[l],m=u.name,y=u.namespaceURI;if(a=_(t.value),o=v(m),c.attrName=o,c.attrValue=a,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),a=c.attrValue,!c.forceKeepAttr){if("name"===o&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ge("id",e),Ge(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===o&&"file"===a&&c.keepAttr&&(_e[o]||!Se[o]))continue;"id"===m&&e.setAttribute(m,""),Ge(m,e)}if(c.keepAttr)if(Ne&&E(/\/>/i,a))Ge(m,e);else if(E(/svg|math/i,e.namespaceURI)&&E(w("</("+p(r(Be),"|")+")","i"),a))Ge(m,e);else{ke&&(a=g(a,fe," "),a=g(a,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,o,a))try{y?e.setAttributeNS(y,m,a):e.setAttribute(m,a),d(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},at=function e(t){var n=void 0,r=Xe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var a=void 0,i=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!$e(e)){if("function"!=typeof e.toString)throw S("toString is not a function");if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}if(!n.isSupported){if("object"===q(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if($e(e))return t.toStaticHTML(e.outerHTML)}return e}if(Pe||Qe(r),n.removed=[],"string"==typeof e&&(Fe=!1),Fe);else if(e instanceof C)1===(i=(a=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?a=i:a.appendChild(i);else{if(!Re&&!ke&&!je&&-1===e.indexOf("<"))return te&&De?te.createHTML(e):e;if(!(a=Je(e)))return Re?null:ne}a&&Te&&Ye(a.firstChild);for(var f=Xe(Fe?e:a);l=f.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&at(l.content),rt(l),c=l);if(c=null,Fe)return e;if(Re){if(Ae)for(u=le.call(a.ownerDocument);a.firstChild;)u.appendChild(a.firstChild);else u=a;return Ie&&(u=se.call(o,u,!0)),u}var p=je?a.outerHTML:a.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&De?te.createHTML(p):p},n.setConfig=function(e){Qe(e),Pe=!0},n.clearConfig=function(){Ve=null,Pe=!1},n.isValidAttribute=function(e,t,n){Ve||Qe({});var r=v(e),a=v(t);return nt(r,a,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&d(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()}}]); \ No newline at end of file +/*! For license information please see 33.391ff637.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[33,9,11,23],{"+KLJ":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return w}));var r=n("q1tI"),a=n("i8i4"),o=n("MFj2"),i=n("TSYQ"),l=n.n(i),s=n("CtXQ"),c=n("H84U"),u=n("RqAY"),f=n("6CfX");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var a=_(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(){}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(g,e);var t,n,i,p=y(g);function g(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),(t=p.call(this,e)).handleClose=function(e){e.preventDefault();var n=a.findDOMNode(b(t));n.style.height="".concat(n.offsetHeight,"px"),n.style.height="".concat(n.offsetHeight,"px"),t.setState({closing:!0}),(t.props.onClose||E)(e)},t.animationEnd=function(){t.setState({closing:!1,closed:!0}),(t.props.afterClose||E)()},t.renderAlert=function(e){var n,a=e.getPrefixCls,i=t.props,c=i.description,f=i.prefixCls,p=i.message,h=i.closeText,v=i.banner,y=i.className,g=void 0===y?"":y,b=i.style,_=i.icon,E=t.props,w=E.closable,S=E.type,C=E.showIcon,x=E.iconType,O=t.state,N=O.closing,k=O.closed,j=a("alert",f);C=!(!v||void 0!==C)||C,S=v&&void 0===S?"warning":S||"info";var P="filled";if(!x){switch(S){case"success":x="check-circle";break;case"info":x="info-circle";break;case"error":x="close-circle";break;case"warning":x="exclamation-circle";break;default:x="default"}c&&(P="outlined")}h&&(w=!0);var T=l()(j,"".concat(j,"-").concat(S),(m(n={},"".concat(j,"-closing"),N),m(n,"".concat(j,"-with-description"),!!c),m(n,"".concat(j,"-no-icon"),!C),m(n,"".concat(j,"-banner"),!!v),m(n,"".concat(j,"-closable"),w),n),g),R=w?r.createElement("button",{type:"button",onClick:t.handleClose,className:"".concat(j,"-close-icon"),tabIndex:0},h?r.createElement("span",{className:"".concat(j,"-close-text")},h):r.createElement(s.default,{type:"close"})):null,A=Object(u.a)(t.props),I=_&&(r.isValidElement(_)?r.cloneElement(_,{className:l()("".concat(j,"-icon"),m({},_.props.className,_.props.className))}):r.createElement("span",{className:"".concat(j,"-icon")},_))||r.createElement(s.default,{className:"".concat(j,"-icon"),type:x,theme:P});return k?null:r.createElement(o.a,{component:"",showProp:"data-show",transitionName:"".concat(j,"-slide-up"),onEnd:t.animationEnd},r.createElement("div",d({"data-show":!N,className:T,style:b},A),C?I:null,r.createElement("span",{className:"".concat(j,"-message")},p),r.createElement("span",{className:"".concat(j,"-description")},c),R))},Object(f.a)(!("iconType"in e),"Alert","`iconType` is deprecated. Please use `icon` instead."),t.state={closing:!1,closed:!1},t}return t=g,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderAlert)}}])&&h(t.prototype,n),i&&h(t,i),g}(r.Component)},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"13Tz":function(e,t,n){},"2DKY":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("n5Yh")},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"6JOy":function(e,t,n){},"74dF":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("D8SU"),n("TfFZ")},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("VCL8"),i=n("QbLZ"),l=n.n(i),s=n("iCc5"),c=n.n(s),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),m=n("mRg0"),h=n.n(m),v=n("17x9"),y=n.n(v),g=n("YEIV"),b=n.n(g),_=n("TSYQ"),E=n.n(_);function w(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function S(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(function(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),w(t));e.onSuccess(w(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var a in null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),r)r.hasOwnProperty(a)&&null!==r[a]&&t.setRequestHeader(a,r[a]);return t.send(n),{abort:function(){t.abort()}}}var C=+new Date,x=0;function O(){return"rc-upload-"+C+"-"+ ++x}var N=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",o=a.replace(/\/.*$/,"");return n.some((function(e){var t,n,i=e.trim();return"."===i.charAt(0)?(t=r.toLowerCase(),n=i.toLowerCase(),-1!==t.indexOf(n,t.length-n.length)):/\/\*$/.test(i)?o===i.replace(/\/.*$/,""):a===i}))}return!0};var k=function(e,t,n){var r=function e(r,a){a=a||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var a=Array.prototype.slice.apply(n);r=r.concat(a),!a.length?t(r):e()}))}()}(r,(function(t){t.forEach((function(t){e(t,""+a+r.name+"/")}))}))},a=!0,o=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){r(l.value.webkitGetAsEntry())}}catch(e){o=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(o)throw i}}},j=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uid:O()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(){var e=r.fileInput;e&&e.click()},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)k(e.dataTransfer.items,r.uploadFiles,(function(e){return N(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return N(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=O(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var a=r.beforeUpload(e,t);a&&a.then?a.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)})).catch((function(e){console&&console.log(e)})):!1!==a&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.data,a=n.onStart,o=n.onProgress,i=n.transformFile,l=void 0===i?function(e){return e}:i;new Promise((function(t){var r=n.action;if("function"==typeof r)return t(r(e));t(r)})).then((function(i){var s=e.uid,c=n.customRequest||S;Promise.resolve(l(e)).catch((function(e){console.error(e)})).then((function(l){"function"==typeof r&&(r=r(e));var u={action:i,filename:n.name,data:r,file:l,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:o?function(t){o(t,e)}:null,onSuccess:function(r,a){delete t.reqs[s],n.onSuccess(r,e,a)},onError:function(r,a){delete t.reqs[s],n.onError(r,a,e)}};t.reqs[s]=c(u),a(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:O()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,o=t.className,i=t.disabled,s=t.id,c=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,m=t.openFileDialogOnClick,h=E()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,o,o),e)),v=i?{}:{onClick:m?this.onClick:function(){},onKeyDown:m?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(n,l()({},v,{className:h,role:"button",style:c}),a.a.createElement("input",{id:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:f,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:u,onChange:this.onChange}),p)}}]),t}(r.Component);j.propTypes={id:y.a.string,component:y.a.string,style:y.a.object,prefixCls:y.a.string,className:y.a.string,multiple:y.a.bool,directory:y.a.bool,disabled:y.a.bool,accept:y.a.string,children:y.a.any,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),headers:y.a.object,beforeUpload:y.a.func,customRequest:y.a.func,onProgress:y.a.func,withCredentials:y.a.bool,openFileDialogOnClick:y.a.bool,transformFile:y.a.func};var P=j,T=n("i8i4"),R=n.n(T),A=n("2W6z"),I=n.n(A),D={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},L=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uploading:!1},r.file={},r.onLoad=function(){if(r.state.uploading){var e=r,t=e.props,n=e.file,a=void 0;try{var o=r.getIframeDocument(),i=o.getElementsByTagName("script")[0];i&&i.parentNode===o.body&&o.body.removeChild(i),a=o.body.innerHTML,t.onSuccess(a,n)}catch(e){I()(!1,"cross domain error for Upload. Maybe server should return document.domain script. see Note from https://github.com/react-component/upload"),a="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:O(),name:e.value&&e.value.substring(e.value.lastIndexOf("\\")+1,e.value.length)};r.startUpload();var n=r.props;if(!n.beforeUpload)return r.post(t);var a=n.beforeUpload(t);a&&a.then?a.then((function(){r.post(t)}),(function(){r.endUpload()})):!1!==a?r.post(t):r.endUpload()},r.saveIframe=function(e){r.iframe=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.updateIframeWH(),this.initIframe()}},{key:"componentDidUpdate",value:function(){this.updateIframeWH()}},{key:"getIframeNode",value:function(){return this.iframe}},{key:"getIframeDocument",value:function(){return this.getIframeNode().contentDocument}},{key:"getFormNode",value:function(){return this.getIframeDocument().getElementById("form")}},{key:"getFormInputNode",value:function(){return this.getIframeDocument().getElementById("input")}},{key:"getFormDataNode",value:function(){return this.getIframeDocument().getElementById("data")}},{key:"getFileForMultiple",value:function(e){return this.props.multiple?[e]:e}},{key:"getIframeHTML",value:function(e){var t="",n="";if(e){t='<script>document.domain="'+e+'";<\/script>',n='<input name="_documentDomain" value="'+e+'" />'}return'\n <!DOCTYPE html>\n <html>\n <head>\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n <style>\n body,html {padding:0;margin:0;border:0;overflow:hidden;}\n </style>\n '+t+'\n </head>\n <body>\n <form method="post"\n encType="multipart/form-data"\n action="" id="form"\n style="display:block;height:9999px;position:relative;overflow:hidden;">\n <input id="input" type="file"\n name="'+this.props.name+'"\n style="position:absolute;top:0;right:0;height:9999px;font-size:9999px;cursor:pointer;"/>\n '+n+'\n <span id="data"></span>\n </form>\n </body>\n </html>\n '}},{key:"initIframeSrc",value:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")}},{key:"initIframe",value:function(){var e=this.getIframeNode(),t=e.contentWindow,n=void 0;this.domain=this.domain||"",this.initIframeSrc();try{n=t.document}catch(r){this.domain=document.domain,this.initIframeSrc(),n=(t=e.contentWindow).document}n.open("text/html","replace"),n.write(this.getIframeHTML(this.domain)),n.close(),this.getFormInputNode().onchange=this.onChange}},{key:"endUpload",value:function(){this.state.uploading&&(this.file={},this.state.uploading=!1,this.setState({uploading:!1}),this.initIframe())}},{key:"startUpload",value:function(){this.state.uploading||(this.state.uploading=!0,this.setState({uploading:!0}))}},{key:"updateIframeWH",value:function(){var e=R.a.findDOMNode(this),t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"}},{key:"abort",value:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()}},{key:"post",value:function(e){var t=this,n=this.getFormNode(),r=this.getFormDataNode(),a=this.props.data,o=this.props.onStart;"function"==typeof a&&(a=a(e));var i=document.createDocumentFragment();for(var l in a)if(a.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=a[l],i.appendChild(s)}r.appendChild(i),new Promise((function(n){var r=t.props.action;if("function"==typeof r)return n(r(e));n(r)})).then((function(t){n.setAttribute("action",t),n.submit(),r.innerHTML="",o(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,o=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},D,{display:this.state.uploading||r?"none":""}),f=E()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,o,o),e));return a.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},c)},a.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),s)}}]),t}(r.Component);L.propTypes={component:y.a.string,style:y.a.object,disabled:y.a.bool,prefixCls:y.a.string,className:y.a.string,accept:y.a.string,onStart:y.a.func,multiple:y.a.bool,children:y.a.any,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string};var M=L;function F(){}var U=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={Component:null},r.saveUploader=function(e){r.uploader=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.supportServerRender&&this.setState({Component:this.getComponent()},this.props.onReady)}},{key:"getComponent",value:function(){return"undefined"!=typeof File?P:M}},{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){if(this.props.supportServerRender){var e=this.state.Component;return e?a.a.createElement(e,l()({},this.props,{ref:this.saveUploader})):null}var t=this.getComponent();return a.a.createElement(t,l()({},this.props,{ref:this.saveUploader}))}}]),t}(r.Component);U.propTypes={component:y.a.string,style:y.a.object,prefixCls:y.a.string,action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string,multipart:y.a.bool,directory:y.a.bool,onError:y.a.func,onSuccess:y.a.func,onProgress:y.a.func,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),headers:y.a.object,accept:y.a.string,multiple:y.a.bool,disabled:y.a.bool,beforeUpload:y.a.func,customRequest:y.a.func,onReady:y.a.func,withCredentials:y.a.bool,supportServerRender:y.a.bool,openFileDialogOnClick:y.a.bool},U.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:F,onStart:F,onError:F,onSuccess:F,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var B=U,H=n("qPyV"),z=n.n(H),K=n("UfWW"),q=n.n(K),V=n("MFj2");function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Q(e){return W(W({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Y(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var G=function(e){return!!e&&0===e.indexOf("image/")},J=function(e){if(G(e.type))return!0;var t=e.thumbUrl||e.url,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n};var X=n("CtXQ"),Z=n("3S7+"),$=n("CFYs"),ee=n("H84U");function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var a=ce(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}(i,e);var t,n,a,o=le(i);function i(){var e;return ae(this,i),(e=o.apply(this,arguments)).handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e.handleDownload=function(t){var n=e.props.onDownload;"function"==typeof n?n(t):t.url&&window.open(t.url)},e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.renderUploadList=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.items,s=void 0===l?[]:l,c=o.listType,u=o.showPreviewIcon,f=o.showRemoveIcon,p=o.showDownloadIcon,d=o.locale,m=o.progressAttr,h=a("upload",i),v=s.map((function(t){var n,a,o,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===c||"picture-card"===c)if("picture-card"===c&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(h,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=J(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(h,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(h,"-list-item-thumbnail"),onClick:function(n){return e.handlePreview(t,n)},href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},l)}else i=r.createElement(X.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement($.default,re({type:"line"},m,{percent:t.percent})):null;o=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var v,y=E()((ne(n={},"".concat(h,"-list-item"),!0),ne(n,"".concat(h,"-list-item-").concat(t.status),!0),ne(n,"".concat(h,"-list-item-list-type-").concat(c),!0),n)),g="string"==typeof t.linkProps?JSON.parse(t.linkProps):t.linkProps,b=f?r.createElement(X.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,_=p&&"done"===t.status?r.createElement(X.default,{type:"download",title:d.downloadFile,onClick:function(){return e.handleDownload(t)}}):null,w="picture-card"!==c&&r.createElement("span",{key:"download-delete",className:"".concat(h,"-list-item-card-actions ").concat("picture"===c?"picture":"")},_&&r.createElement("a",{title:d.downloadFile},_),b&&r.createElement("a",{title:d.removeFile},b)),S=E()((ne(a={},"".concat(h,"-list-item-name"),!0),ne(a,"".concat(h,"-list-item-name-icon-count-").concat([_,b].filter((function(e){return e})).length),!0),a)),C=t.url?[r.createElement("a",re({key:"view",target:"_blank",rel:"noopener noreferrer",className:S,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),w]:[r.createElement("span",{key:"view",className:S,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),w],x=u?r.createElement("a",{href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:t.url||t.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(n){return e.handlePreview(t,n)},title:d.previewFile},r.createElement(X.default,{type:"eye-o"})):null,O="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},x,"done"===t.status&&_,b);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var N=r.createElement("span",null,i,C),k=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(h,"-list-item-info")},N),O,r.createElement(V.a,{transitionName:"fade",component:""},o)),j=E()(ne({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:j},"error"===t.status?r.createElement(Z.default,{title:v},k):r.createElement("span",null,k))})),y=E()((ne(n={},"".concat(h,"-list"),!0),ne(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(V.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:y},v)},e}return t=i,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.listType,r=t.items,a=t.previewFile;"picture"!==n&&"picture-card"!==n||(r||[]).forEach((function(t){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",a&&a(t.originFileObj).then((function(n){t.thumbUrl=n||"",e.forceUpdate()})))}))}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUploadList)}}])&&oe(t.prototype,n),a&&oe(t,a),i}(r.Component);ue.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(G(e.type)){var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),a=new Image;a.onload=function(){var e=a.width,o=a.height,i=200,l=200,s=0,c=0;e<o?c=-((l=o*(200/e))-i)/2:s=-((i=e*(200/o))-l)/2,r.drawImage(a,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},a.src=window.URL.createObjectURL(e)}else t("")}))}};var fe=n("YMnH"),pe=n("ZvpZ"),de=n("6CfX");function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(){return(ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ee(e);if(t){var a=Ee(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _e(this,n)}}function _e(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ee(e){return(Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var we=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(i,e);var t,n,a,o=be(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=Q(e);r.status="uploading";var a=n.concat(),o=q()(a,(function(e){return e.uid===r.uid}));-1===o?a.push(r):a[o]=r,t.onChange({file:r,fileList:a}),window.File&&!Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).TEST_IE||t.autoUpdateProgress(0,r)},t.onSuccess=function(e,n,r){t.clearProgressTimer();try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var a=t.state.fileList,o=Y(n,a);o&&(o.status="done",o.response=e,o.xhr=r,t.onChange({file:ve({},o),fileList:a}))},t.onProgress=function(e,n){var r=t.state.fileList,a=Y(n,r);a&&(a.percent=e.percent,t.onChange({event:e,file:ve({},a),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var a=t.state.fileList,o=Y(r,a);o&&(o.error=e,o.response=n,o.status="error",t.onChange({file:ve({},o),fileList:a}))},t.handleRemove=function(e){var n=t.props.onRemove,r=t.state.fileList;Promise.resolve("function"==typeof n?n(e):n).then((function(n){if(!1!==n){var a=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,r);a&&(e.status="removed",t.upload&&t.upload.abort(e),t.onChange({file:e,fileList:a}))}}))},t.onChange=function(e){"fileList"in t.props||t.setState({fileList:e.fileList});var n=t.props.onChange;n&&n(e)},t.onFileDrop=function(e){t.setState({dragState:e.type})},t.beforeUpload=function(e,n){var r=t.props.beforeUpload,a=t.state.fileList;if(!r)return!0;var o=r(e,n);return!1===o?(t.onChange({file:e,fileList:z()(a.concat(n.map(Q)),(function(e){return e.uid}))}),!1):!o||!o.then||o},t.renderUploadList=function(e){var n=t.props,a=n.showUploadList,o=n.listType,i=n.onPreview,l=n.onDownload,s=n.previewFile,c=n.disabled,u=n.locale,f=a.showRemoveIcon,p=a.showPreviewIcon,d=a.showDownloadIcon,m=t.state.fileList;return r.createElement(ue,{listType:o,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:ve(ve({},e),u)})},t.renderUpload=function(e){var n,a=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.className,s=o.showUploadList,c=o.listType,u=o.type,f=o.disabled,p=o.children,d=o.style,m=t.state,h=m.fileList,v=m.dragState,y=a("upload",i),g=ve(ve({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete g.className,delete g.style,p&&!f||delete g.id;var b=s?r.createElement(fe.a,{componentName:"Upload",defaultLocale:pe.a.Upload},t.renderUploadList):null;if("drag"===u){var _,w=E()(y,(he(_={},"".concat(y,"-drag"),!0),he(_,"".concat(y,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),he(_,"".concat(y,"-drag-hover"),"dragover"===v),he(_,"".concat(y,"-disabled"),f),_),l);return r.createElement("span",null,r.createElement("div",{className:w,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(B,ve({},g,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),b)}var S=E()(y,(he(n={},"".concat(y,"-select"),!0),he(n,"".concat(y,"-select-").concat(c),!0),he(n,"".concat(y,"-disabled"),f),n)),C=r.createElement("div",{className:S,style:p?void 0:{display:"none"}},r.createElement(B,ve({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:E()(l,"".concat(y,"-picture-card-wrapper"))},b,C):r.createElement("span",{className:l},C,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(de.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return t=i,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(n=[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"autoUpdateProgress",value:function(e,t){var n,r=this,a=(n=.1,function(e){var t=e;return t>=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),o=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){o=a(o),r.onProgress({percent:100*o},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&ye(t.prototype,n),a&&ye(t,a),i}(r.Component);we.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(o.polyfill)(we);var Se=we;function Ce(e){return(Ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Pe(this,n)}}function Pe(e,t){return!t||"object"!==Ce(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Ae=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=je(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.style,n=e.height,a=Re(e,["style","height"]);return r.createElement(Se,xe({},a,{type:"drag",style:xe(xe({},t),{height:n})}))}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Se.Dragger=Ae;t.default=Se},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),a=n("spEH"),o=c(n("Rs/d")),i=n("PhNK"),l=n("sYIF"),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.commits,n=e.projectsId,c=e.owner;return r.default.createElement("div",{className:"pb20"},t.map((function(e,t){return r.default.createElement("div",{className:"prCommits"},r.default.createElement("p",{className:"prCreate"},e.created_at),r.default.createElement("div",{className:"prInfo"},r.default.createElement(a.FlexAJ,null,r.default.createElement(a.AlignCenter,null,r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(""+e.sha),className:"commitKey",style:{marginLeft:0}},(0,i.truncateCommitId)(""+e.sha)),r.default.createElement("p",{className:"ml15 font-16 color-grey-3 task-hide",style:{maxWidth:"700px"}},e.message)),r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(a.AlignCenter,{className:"mt15"},r.default.createElement(o.default,{url:(0,l.getImageUrl)("/"+(e.committer&&e.committer.image_url)),name:""+(e.committer&&e.committer.name)}),r.default.createElement("span",null,":提交于",e.time_from_now))))})))}},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("CtXQ")),a=p(n("2/Rp")),o=p(n("8z0m")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("2oDE"),n("L/Qf"),n("7W5+");var s=n("q1tI"),c=p(s),u=n("sYIF"),f=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Dragger,m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.checkInitFile()},n.componentDidUpdate=function(e){e&&e.fileList!==n.props.fileList&&n.checkInitFile()},n.checkInitFile=function(){var e=n.props.fileList;e&&e.length>0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";f.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&(e.response.id||e.response.data&&e.response.data.id))})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024<t;return r||n.props.showNotification("文件大小必须小于"+t+"MB!"),r},n.state={fileList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,l=e.btn,s=e.className,f=e.size,p=e.actionUrl,m=this.state.fileList,h={name:"file",fileList:!0===t?m:void 0,action:p||""+(0,u.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return l?c.default.createElement(o.default,i({},h,{className:s}),c.default.createElement(a.default,{type:"default"},"上传文件"),c.default.createElement("span",{className:"ml10 color-grey-9"},"(你可以上传小于",c.default.createElement("span",{className:"color-red"},f,"MB"),"的文件)")):c.default.createElement(d,i({},h,{className:s}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-16 color-grey-3"},"拖动文件或点击此处上传"))}}]),t}(s.Component);t.default=m},CZoQ:function(e,t){e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},Fyak:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(n("ZTPi")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("AUBz");var l=n("q1tI"),s=d(l);n("6JOy"),n("js5m");var c=d(n("AubP")),u=d(n("dIAb")),f=d(n("aABL")),p=d(n("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}var m=a.default.TabPane,h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props,t=e.footer_type,r=e.data;if(t){var a=n.props.match.params,o=a.projectsId,i=a.owner,l=a.mergeId;n.getCommit(i,o,l),n.getFile(i,o,l)}n.setState({activeKey:t?"1":"2",commitCount:r&&r.commits_count,filesCount:r&&r.files_count})},n.componentDidUpdate=function(e){var t=n.props.comparesData,r=n.props.footer_type;if(r){var a=n.props.data;a!==e.data&&n.setState({commitCount:a&&a.commits_count,filesCount:a&&a.files_count})}t!==e.comparesData&&(n.setState({activeKey:r?"1":"2"}),n.changeTab(r?"1":"2"))},n.changeTab=function(e){n.setState({isSpin:!0}),n.setState({activeKey:e});var t=n.props,r=t.footer_type,a=t.comparesData,o=n.props.match.params,i=o.projectsId,l=o.owner,s=o.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,s):n.setState({isSpin:!1}):n.setState({commitsData:a.commits,filesData:a.diff,commitCount:a.commits_count,filesCount:a.diff&&a.diff.files_count,isSpin:!1})},n.getCommit=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/commits.json";p.default.get(a).then((function(e){e&&n.setState({commitsData:e.data.commits,isSpin:!1,commitCount:e.data.commits_count})})).catch((function(e){}))},n.getFile=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/files.json";p.default.get(a).then((function(e){e&&n.setState({filesData:e.data,isSpin:!1,filesCount:e.data.files_count})})).catch((function(e){}))},n.state={pageData:void 0,commitsData:void 0,filesData:void 0,isSpin:!1,activeKey:"1",commitCount:0,filesCount:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner,i=this.props,l=i.footer_type,p=i.order_id,d=i.data,h=i.comparesData,v=this.state,y=v.isSpin,g=v.activeKey,b=v.filesCount,_=v.commitCount,E=v.filesData,w=v.commitsData;return!l&&!h||h&&(h.commits&&0===h.commits.length||h&&!h.diff)?"":s.default.createElement("div",{className:"main mergeRequest",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:y},s.default.createElement(a.default,{activeKey:g,className:"custom-commit-tabs",animated:!1,onChange:this.changeTab},l&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"评论"),d&&parseInt(d.comments_count)>0&&s.default.createElement("span",{className:"tabNum"},d.comments_count)),key:"1"},s.default.createElement(u.default,o({order_id:p,showNotification:this.props.showNotification,only_show_content:!0},this.props))),w&&w.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"提交"),_>0&&s.default.createElement("span",{className:"tabNum"},_)),key:"2"},s.default.createElement(c.default,o({},this.props,{commits:w,projectsId:t,owner:n}))),E&&E.files&&E.files.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"文件"),b>0&&s.default.createElement("span",{className:"tabNum"},b)),key:"3"},s.default.createElement(f.default,o({},this.props,{data:E,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}},LGYb:function(e,t,n){var r=n("1hJj"),a=n("jbM+"),o=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),s=n("rEGp");e.exports=function(e,t,n){var c=-1,u=a,f=e.length,p=!0,d=[],m=d;if(n)p=!1,u=o;else if(f>=200){var h=t?null:l(e);if(h)return s(h);p=!1,u=i,m=new r}else m=t?[]:d;e:for(;++c<f;){var v=e[c],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var g=m.length;g--;)if(m[g]===y)continue e;t&&m.push(y),d.push(v)}else u(m,y,n)||(m!==d&&m.push(y),d.push(v))}return d}},LXko:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("74dF"),n("vAZS"),n("04bd"),n("YQTV"),n("4t1q")},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),a=p(n("W9HT")),o=p(n("NJEC")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),s=p(l),c=n("eO8H"),u=p(n("vDqi")),f=p(n("UQ5L"));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){n.setState({canDelete:n.props.canDelete})},n.show_video_modal=function(e){n.setState({video_title:e.title,move_spin:!0,video_id:e.id}),n.move_attachment(e.id,"preview")},n.hide_video_modal=function(){var e=n.state.video_id;n.setState({video_title:void 0}),n.move_attachment(e,"close")},n.move_attachment=function(e,t){u.default.post("/attachments/"+e+"/preview_attachment",{status:t}).then((function(e){e?n.setState({show_video:"preview"===t,video_url:"preview"===t?"https://forgeplus.trustie.net"+e.data.url:void 0,move_spin:!1}):n.setState({move_spin:!1})})).catch((function(e){n.setState({move_spin:!1}),console.log(e)}))},n.is_video=function(e){return["mp4","flv","mkv","3gp"].indexOf(e.split(".").pop())>-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,i=t.canDelete,l=t.show_video,u=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return s.default.createElement("div",null,m?s.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return s.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},s.default.createElement(a.default,{spinning:d},e.is_video(t.title)?s.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)):s.default.createElement(c.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)),i?s.default.createElement(o.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},s.default.createElement("span",{className:"attachment-list-delete fr"},s.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?s.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},s.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("VCL8"),o=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(f,e);var t,n,a,i=h(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=i.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(y(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(y(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,n){var a=t.props,o=a.okButtonProps,i=a.cancelButtonProps,s=a.title,c=a.cancelText,u=a.okText,f=a.okType,d=a.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},d,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},o),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.placement,u=b(a,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(o.default,p({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return t=f,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(n=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var n=this.props;"visible"in n||this.setState({visible:e});var r=n.onVisibleChange;r&&r(e,t)}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderConfirm)}}])&&d(t.prototype,n),a&&d(t,a),f}(r.Component);_.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(a.polyfill)(_),t.default=_},OQrj:function(e,t,n){},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},QCvN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("W9HT")),a=v(n("2/Rp")),o=v(n("Vl3Y")),i=v(n("5rEg")),l=v(n("mr32")),s=v(n("BvKs")),c=v(n("2fM7")),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("L/Qf"),n("tULf"),n("1vPl"),n("0lcf"),n("2WkQ"),n("8QGh");var p=n("q1tI"),d=v(p),m=v(n("vDqi"));n("6JOy"),n("js5m");var h=v(n("p7gc"));function v(e){return e&&e.__esModule?e:{default:e}}var y=c.default.Option,g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.get_default_selects(),n.set_defatul()},n.componentDidUpdate=function(e){var t=n.props.match.params,r=t.projectsId,a=t.owner,o=e.match.params.projectsId,i=e.match.params.owner;o===r&&i===a||n.get_default_selects(),e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.get_default_selects=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner;n.setState({isSpin:!0}),m.default.get("/"+r+"/"+t+"/pulls/create_merge_infos.json").then((function(e){e&&n.setState({members:e.data.members,issue_tags:e.data.issue_tags,issue_versions:e.data.issue_versions,issue_priories:e.data.issue_priories}),n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.set_defatul=function(){var e=n.props,t=e.data,r=e.merge_type;t&&"edit"===r&&n.setState({desc:t.body,issue_tag_ids:t.issue_tag_ids?t.issue_tag_ids[0]:void 0,fixed_version_id:t.fixed_version_id?String(t.fixed_version_id):void 0,assigned_to_id:t.assigned_to_id?String(t.assigned_to_id):void 0,priority_id:t.priority_id?String(t.priority_id):void 0,title:t.title}),n.InitData()},n.InitData=function(){setTimeout((function(){n.props.form.setFieldsValue(u({},n.state))}),100)},n.onPanelChange=function(e,t){n.setState({value:e})},n.onSelect=function(e){n.setState({value:e,selectedValue:e})},n.renderMenu=function(e,t){return d.default.createElement(s.default,null,e&&e.length>0&&e.map((function(e,r){return d.default.createElement(s.default.Item,{key:e,onClick:function(){return n.getOption(e,t)}},e)})))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return d.default.createElement(y,{key:t+1,value:e.id+""},e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var r=n.props.match.params,a=r.projectsId,o=r.mergeId,i=r.owner,l=n.props,s=l.merge,c=l.pull,f=l.merge_type,p=l.data,d=l.commits_count,h=l.files_count;t.issue_tag_ids&&t.issue_tag_ids.length>0?t.issue_tag_ids=[parseInt(t.issue_tag_ids)]:t.issue_tag_ids=[];var v=n.state.desc;if("new"===f){var y="/"+i+"/"+a+"/pulls.json";m.default.post(y,u({},t,{body:v,head:c,base:s,is_original:p&&p.is_original,fork_project_id:p&&p.fork_project_id,merge_user_login:p&&p.merge_user_login,files_count:h,commits_count:d})).then((function(e){if(e){n.setState({isSpin:!1}),n.props.history.push("/"+i+"/"+a+"/pulls");var t=n.props.getDetail;t&&t()}else n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var g="/"+i+"/"+a+"/pulls/"+o+".json";m.default.put(g,u({},t,{body:v,head:c,base:s})).then((function(e){e?(n.setState({isSpin:!1}),n.props.history.push("/"+i+"/"+a+"/pulls/"+o+"/Messagecount")):n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}}))},n.onContentChange=function(e){n.setState({desc:e})},n.state={desc:void 0,issue_tag_ids:void 0,fixed_version_id:void 0,assigned_to_id:void 0,titledata:void 0,isSpin:!1,mergedata:void 0,priority_id:void 0,title:void 0,members:void 0,issue_tags:void 0,issue_versions:void 0,issue_priories:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),f(t,[{key:"render",value:function(){var e=this,t=this.props.merge_type,n=this.props.form.getFieldDecorator,s=this.props.match.params,u=s.projectsId,f=s.mergeId,p=s.owner,m=this.state,v=m.issue_tag_ids,g=m.fixed_version_id,b=m.assigned_to_id,_=m.priority_id,E=m.desc,w=m.isSpin,S=m.title,C=m.members,x=m.issue_tags,O=m.issue_versions,N=m.issue_priories;return d.default.createElement("div",null,d.default.createElement(r.default,{spinning:w},d.default.createElement("div",{className:"mb20"},d.default.createElement("span",{className:"font-16 fwb mr10 ver-middle"},"new"===t?"新建":"编辑","合并请求:"),d.default.createElement(l.default,{color:"#28BD6C",className:"ver-middle"},"可合并的")),d.default.createElement(o.default,null,d.default.createElement("div",{className:"width100 inline-block"},d.default.createElement("div",{className:"width70 pull-left"},d.default.createElement(o.default.Item,null,n("title",{rules:[{required:!0,message:"请填写请求标题"}],initialValue:S})(d.default.createElement(i.default,{placeholder:"标题",maxLength:50}))),d.default.createElement(h.default,{placeholder:"请输入合并请求的描述...",height:450,mdID:"merge-new-description",initValue:E,onChange:this.onContentChange}),d.default.createElement("p",{className:"clearfix mt20"},d.default.createElement(a.default,{type:"primary",loading:w,onClick:this.handleSubmit},d.default.createElement("span",{className:"plr10"},"new"===t?"创建":"提交")),d.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){e.props.history.push("new"===t?"/"+p+"/"+u+"/pulls":"/"+p+"/"+u+"/pulls/"+f+"/detail")}},d.default.createElement("span",{className:"plr10"},"取消")))),d.default.createElement("div",{className:"width30 pull-left"},d.default.createElement("div",{className:"pl30"},d.default.createElement(o.default.Item,null,n("assigned_to_id",{initialValue:b})(d.default.createElement(c.default,{placeholder:"未选择审查人员",showSearch:!0},d.default.createElement(y,{key:0,value:""},"未选择审查人员"),this.renderSelect(C)))),d.default.createElement(o.default.Item,null,n("fixed_version_id",{initialValue:g})(d.default.createElement(c.default,{placeholder:O&&O.length>0?"未选择里程碑":"请添加里程碑",showSearch:!0},d.default.createElement(y,{key:0,value:""},O&&O.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(O)))),d.default.createElement(o.default.Item,null,n("issue_tag_ids",{initialValue:v})(d.default.createElement(c.default,{placeholder:x&&x.length>0?"未选择标记":"请在仓库设置里添加标记",showSearch:!0},d.default.createElement(y,{key:0,value:""},x&&x.length>0?"未选择标记":"请在仓库设置里添加标记"),this.renderSelect(x)))),d.default.createElement(o.default.Item,null,n("priority_id",{initialValue:_})(d.default.createElement(c.default,{placeholder:"优先级",showSearch:!0},this.renderSelect(N))))))))))}}]),t}(p.Component),b=o.default.create({name:"NewMergeForm"})(g);t.default=b},"R/W3":function(e,t,n){var r=n("KwMD"),a=n("2ajD"),o=n("CZoQ");e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,a,n)}},R3zJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=function(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},a=r(["flex","webkitFlex","Flex","msFlex"]);t.a=r},RqAY:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||"data-__"===n.substr(0,7)||(t[n]=e[n]),t}),{})}n.d(t,"a",(function(){return r}))},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),i=c(n("q1tI")),l=c(n("vOnD")),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,a=e.id,c=e.login,u=l.default.span(o,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return a?i.default.createElement(s.Link,{to:"/"+c},i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))):i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],a=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],o=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],i=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],f=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,a){if(n){var o={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(o),a.push.apply(a,o.decorations)}}var d=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&d.test(n.nodeValue)?e:t}return t===e?void 0:t}function h(e,t){var n,r={};!function(){for(var a=e.concat(t),o=[],i={},l=0,s=a.length;l<s;++l){var c=a[l],u=c[3];if(u)for(var f=u.length;--f>=0;)r[u.charAt(f)]=c;var p=c[1],d=""+p;i.hasOwnProperty(d)||(o.push(p),i[d]=null)}o.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,a=0,o=e.length;a<o;++a){if((p=e[a]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var i={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=i[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],a=["["];r&&a.push("^");for(var o=r?1:0,i=t.length;o<i;++o){var c=t[o];if(/\\[bdsw]/i.test(c))a.push(c);else{var u,f=l(c);o+2<i&&"-"===t[o+1]?(u=l(t[o+2]),o+=2):u=f,n.push([f,u]),u<65||f>122||(u<65||f>90||n.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||n.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],d=[];for(o=0;o<n.length;++o){(m=n[o])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(o=0;o<p.length;++o){var m=p[o];a.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&a.push("-"),a.push(s(m[1])))}return a.push("]"),a.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),a=r.length,o=[],i=0,l=0;i<a;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?o[u]=-1:r[i]=s(u))}}for(i=1;i<o.length;++i)-1===o[i]&&(o[i]=++t);for(i=0,l=0;i<a;++i){if("("===(f=r[i]))o[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+o[u])}}for(i=0;i<a;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<a;++i){var f,p=(f=r[i]).charAt(0);f.length>=2&&"["===p?r[i]=c(f):"\\"!==p&&(r[i]=f.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var f=[];for(a=0,o=e.length;a<o;++a){var p;if((p=e[a]).global||p.multiline)throw new Error(""+p);f.push("(?:"+u(p)+")")}return new RegExp(f.join("|"),r?"gi":"g")}(o)}();var a=t.length,o=function(e){for(var i=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,f=i.match(n)||[],d={},m=0,h=f.length;m<h;++m){var v,y=f[m],g=d[y],b=void 0;if("string"==typeof g)v=!1;else{var _=r[y.charAt(0)];if(_)b=y.match(_[1]),g=_[0];else{for(var w=0;w<a;++w)if(_=t[w],b=y.match(_[1])){g=_[0];break}b||(g="pln")}!(v=g.length>=5&&"lang-"===g.substring(0,5))||b&&"string"==typeof b[1]||(v=!1,g="src"),v||(d[y]=g)}var S=u;if(u+=y.length,v){var C=b[1],x=y.indexOf(C),O=x+C.length;b[2]&&(x=(O=y.length-b[2].length)-C.length);var N=g.substring(5);p(s,l+S,y.substring(0,x),o,c),p(s,l+S+x,C,E(N,C),c),p(s,l+S+O,y.substring(O),o,c)}else c.push(l+S,g)}e.decorations=c};return o}function v(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var a=e.regexLiterals;if(a){var o=a>1?"":"\n\r",i=o?".":"[\\S\\s]",l="/(?=[^/*"+o+"])(?:[^/\\x5B\\x5C"+o+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+o+"]|\\x5C"+i+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),h(t,n)}var y=v({keywords:[r,o,a,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,a=/\r\n?|\n/,o=e.ownerDocument,i=o.createElement("li");e.firstChild;)i.appendChild(e.firstChild);var l=[i];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var i=e.nodeValue,l=i.match(a);if(l){var u=i.substring(0,l.index);e.nodeValue=u;var f=i.substring(l.index+l[0].length);if(f)e.parentNode.insertBefore(o.createTextNode(f),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,a=t.parentNode;if(a){var o=e(a,1),i=t.nextSibling;o.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,o.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var f=o.createElement("ol");f.className="linenums";for(var p=Math.max(0,t-1|0)||0,d=(u=0,l.length);u<d;++u)(i=l[u]).className="L"+(u+p)%10,i.firstChild||i.appendChild(o.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function _(t,n){for(var r=n.length;--r>=0;){var a=n[r];b.hasOwnProperty(a)?e.console&&console.warn("cannot override language handler %s",a):b[a]=t}}function E(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function w(t){var n,r,a,o,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,a=/(?:^|\s)nocode(?:\s|$)/,o=[],i=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(a.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(o[s]="\n",l[s<<1]=i++,l[s++<<1|1]=t)}else if(3==n||4==n){var f=t.nodeValue;f.length&&(f=r?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),o[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:o.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,E(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,a=/\n/g,o=e.sourceCode,i=o.length,l=0,s=e.spans,c=s.length,u=0,f=e.decorations,p=f.length,d=0;for(f[p]=i,r=n=0;r<p;)f[r]!==f[r+2]?(f[n++]=f[r++],f[n++]=f[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=f[r],h=f[r+1],v=r+2;v+2<=p&&f[v+1]===h;)v+=2;f[n++]=m,f[n++]=h,r=v}p=f.length=n;var y=e.sourceNode,g="";y&&(g=y.style.display,y.style.display="none");try{for(;u<c;){s[u];var b,_=s[u+2]||i,E=f[d+2]||i,w=(v=Math.min(_,E),s[u+1]);if(1!==w.nodeType&&(b=o.substring(l,v))){t&&(b=b.replace(a,"\r")),w.nodeValue=b;var S=w.ownerDocument,C=S.createElement("span");C.className=f[d+1];var x=w.parentNode;x.replaceChild(C,w),C.appendChild(w),l<_&&(s[u+1]=w=S.createTextNode(o.substring(v,_)),x.insertBefore(w,C.nextSibling))}(l=v)>=_&&(u+=2),l>=E&&(d+=2)}}finally{y&&(y.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function S(e,t,n){var r=n||!1,a=t||null,o=document.createElement("div");return o.innerHTML="<pre>"+e+"</pre>",o=o.firstChild,r&&g(o,r,!0),w({langExtension:a,numberLines:r,sourceNode:o,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),o.innerHTML}function C(t,n){var r=n||document.body,a=r.ownerDocument||document;function o(e){return r.getElementsByTagName(e)}for(var i=[o("pre"),o("code"),o("xmp")],l=[],s=0;s<i.length;++s)for(var c=0,u=i[s].length;c<u;++c)l.push(i[s][c]);i=null;var f=Date;f.now||(f={now:function(){return+new Date}});var p=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,v=/\bprettyprinted\b/,y=/pre|xmp/i,b=/^code$/i,_=/^(?:pre|code|xmp)$/i,E={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var o=l[p],i=E,s=o;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){i={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){i[t]=n}));break}}var S=o.className;if((i!==E||h.test(S))&&!v.test(S)){for(var C=!1,x=o.parentNode;x;x=x.parentNode){var O=x.tagName;if(_.test(O)&&x.className&&h.test(x.className)){C=!0;break}}if(!C){o.className+=" prettyprinted";var N,k,j=i.lang;if(!j)!(j=S.match(d))&&(N=m(o))&&b.test(N.tagName)&&(j=N.className.match(d)),j&&(j=j[1]);if(y.test(o.tagName))k=1;else{var P=o.currentStyle,T=a.defaultView,R=P?P.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(o,null).getPropertyValue("white-space"):0;k=R&&"pre"===R.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=S.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(o,A,k),w({langExtension:j,sourceNode:o,numberLines:A,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}_(y,["default-code"]),_(h([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),_(h([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),_(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),_(v({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),_(v({keywords:"null,true,false"}),["json"]),_(v({keywords:o,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),_(v({keywords:a,cStyleComments:!0}),["java"]),_(v({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),_(v({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),_(v({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),_(v({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),_(v({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),_(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),_(h([],[["str",/^[\s\S]+/]]),["regex"]);var x=e.PR={createSimpleLexer:h,registerLangHandler:_,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:S,prettyPrint:C},O=e.define;"function"==typeof O&&O.amd&&O("google-code-prettify",[],(function(){return x}))}()},Sxd8:function(e,t,n){var r=n("ZCgT");e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},UQ5L:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n("q1tI"),o=l(a),i=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,a.useState)(null),n=r(t,2),l=n[0],s=n[1];return(0,a.useEffect)((function(){s(e.video_url)}),[]),o.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),a=n("ut/Y"),o=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:o(n);return s<0&&(s=i(l+s,0)),r(e,a(t,3),s)}},VPG4:function(e,t,n){},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return M}));var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),i=n.n(o),l=n("BGR+"),s=n("W9HT"),c=n("H84U"),u=n("NUBc"),f=n("qrJ5"),p=n("/kpp");function d(e){if(!r.isValidElement(e))return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return r.cloneElement.apply(r,[e].concat(n))}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=E(e);if(t){var a=E(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function C(e,t){return e[t]&&Math.floor(24/e[t])}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(l,e);var t,n,a,o=b(l);function l(){var e;return v(this,l),(e=o.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,a=e.context,o=a.grid,l=a.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,v=s.className,y=S(s,["prefixCls","children","actions","extra","className"]),g=n("list",c),b=f&&f.length>0&&r.createElement("ul",{className:"".concat(g,"-item-action"),key:"actions"},f.map((function(e,t){return r.createElement("li",{key:"".concat(g,"-item-action-").concat(t)},e,t!==f.length-1&&r.createElement("em",{className:"".concat(g,"-item-action-split")}))}))),_=o?"div":"li",E=r.createElement(_,w({},y,{className:i()("".concat(g,"-item"),v,h({},"".concat(g,"-item-no-flex"),!e.isFlexMode()))}),"vertical"===l&&m?[r.createElement("div",{className:"".concat(g,"-item-main"),key:"content"},u,b),r.createElement("div",{className:"".concat(g,"-item-extra"),key:"extra"},m)]:[u,b,d(m,{key:"extra"})]);return o?r.createElement(p.a,{span:C(o,"column"),xs:C(o,"xs"),sm:C(o,"sm"),md:C(o,"md"),lg:C(o,"lg"),xl:C(o,"xl"),xxl:C(o,"xxl")},E):E},e}return t=l,(n=[{key:"isItemContainsTextNodeAndNotSingular",value:function(){var e,t=this.props.children;return r.Children.forEach(t,(function(t){"string"==typeof t&&(e=!0)})),e&&r.Children.count(t)>1}},{key:"isFlexMode",value:function(){var e=this.props.extra;return"vertical"===this.context.itemLayout?!!e:!this.isItemContainsTextNodeAndNotSingular()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderItem)}}])&&y(t.prototype,n),a&&y(t,a),l}(r.Component);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=D(e);if(t){var a=D(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==O(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}x.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,a=e.prefixCls,o=e.className,l=e.avatar,s=e.title,c=e.description,u=S(e,["prefixCls","className","avatar","title","description"]),f=n("list",a),p=i()("".concat(f,"-item-meta"),o),d=r.createElement("div",{className:"".concat(f,"-item-meta-content")},s&&r.createElement("h4",{className:"".concat(f,"-item-meta-title")},s),c&&r.createElement("div",{className:"".concat(f,"-item-meta-description")},c));return r.createElement("div",w({},u,{className:p}),l&&r.createElement("div",{className:"".concat(f,"-item-meta-avatar")},l),(s||c)&&d)}))},x.contextTypes={grid:a.any,itemLayout:a.string};var L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(p,e);var t,n,a,o=A(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=o.call(this,e)).defaultPaginationProps={current:1,total:0},t.keys={},t.onPaginationChange=t.triggerPaginationEvent("onChange"),t.onPaginationShowSizeChange=t.triggerPaginationEvent("onShowSizeChange"),t.renderItem=function(e,n){var r,a=t.props,o=a.renderItem,i=a.rowKey;return o?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,o(e,n)):null},t.renderEmpty=function(e,n){var a=t.props.locale;return r.createElement("div",{className:"".concat(e,"-empty-text")},a&&a.emptyText||n("List"))},t.renderList=function(e){var n,a=e.getPrefixCls,o=e.renderEmpty,c=t.state,p=c.paginationCurrent,d=c.paginationSize,m=t.props,h=m.prefixCls,v=m.bordered,y=m.split,g=m.className,b=m.children,_=m.itemLayout,E=m.loadMore,w=m.pagination,S=m.grid,C=m.dataSource,x=void 0===C?[]:C,O=m.size,k=m.header,T=m.footer,R=m.loading,A=L(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),I=a("list",h),D=R;"boolean"==typeof D&&(D={spinning:D});var M=D&&D.spinning,F="";switch(O){case"large":F="lg";break;case"small":F="sm"}var U=i()(I,g,(P(n={},"".concat(I,"-vertical"),"vertical"===_),P(n,"".concat(I,"-").concat(F),F),P(n,"".concat(I,"-split"),y),P(n,"".concat(I,"-bordered"),v),P(n,"".concat(I,"-loading"),M),P(n,"".concat(I,"-grid"),S),P(n,"".concat(I,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),B=j(j(j({},t.defaultPaginationProps),{total:x.length,current:p,pageSize:d}),w||{}),H=Math.ceil(B.total/B.pageSize);B.current>H&&(B.current=H);var z,K=w?r.createElement("div",{className:"".concat(I,"-pagination")},r.createElement(u.default,j({},B,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,q=N(x);if(w&&x.length>(B.current-1)*B.pageSize&&(q=N(x).splice((B.current-1)*B.pageSize,B.pageSize)),z=M&&r.createElement("div",{style:{minHeight:53}}),q.length>0){var V=q.map((function(e,n){return t.renderItem(e,n)})),W=[];r.Children.forEach(V,(function(e,n){W.push(r.cloneElement(e,{key:t.keys[n]}))})),z=S?r.createElement(f.a,{gutter:S.gutter},W):r.createElement("ul",{className:"".concat(I,"-items")},W)}else b||M||(z=t.renderEmpty(I,o));var Q=B.position||"bottom";return r.createElement("div",j({className:U},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===Q||"both"===Q)&&K,k&&r.createElement("div",{className:"".concat(I,"-header")},k),r.createElement(s.default,D,z,b),T&&r.createElement("div",{className:"".concat(I,"-footer")},T),E||("bottom"===Q||"both"===Q)&&K)};var n=e.pagination,a=n&&"object"===O(n)?n:{};return t.state={paginationCurrent:a.defaultCurrent||1,paginationSize:a.defaultPageSize||10},t}return t=p,(n=[{key:"getChildContext",value:function(){return{grid:this.props.grid,itemLayout:this.props.itemLayout}}},{key:"triggerPaginationEvent",value:function(e){var t=this;return function(n,r){var a=t.props.pagination;t.setState({paginationCurrent:n,paginationSize:r}),a&&a[e]&&a[e](n,r)}}},{key:"isSomethingAfterLastItem",value:function(){var e=this.props,t=e.loadMore,n=e.pagination,r=e.footer;return!!(t||n||r)}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderList)}}])&&T(t.prototype,n),a&&T(t,a),p}(r.Component);M.Item=x,M.childContextTypes={grid:a.any,itemLayout:a.string},M.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},"Xt/L":function(e,t){e.exports=function(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}},YxIK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("W9HT")),a=m(n("+KLJ")),o=m(n("5rEg")),i=m(n("2fM7")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("2DKY"),n("1vPl"),n("8QGh");var c=n("q1tI"),u=m(c),f=m(n("vDqi"));n("6JOy"),n("js5m");var p=m(n("QCvN")),d=m(n("Fyak"));function m(e){return e&&e.__esModule?e:{default:e}}var h=i.default.Option,v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));y.call(n);var r=n.props.match.params.branch;return n.state={data:void 0,branches:void 0,merge_branches:void 0,merge_projects:void 0,merge:"master",pull:r,id:void 0,is_fork:!1,projects_names:void 0,isSpin:!1,show_message:!0,merge_head:!1,default_message:"必须选择不同的分支",project_id:void 0,merge_project_user:void 0,oldProject:void 0,comparesData:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"componentWillUnmount",value:function(){console.log("----------destoyed---------"),window.removeEventListener("popstate",this.handleBack,!1)}},{key:"render",value:function(){var e,t=this,n=this.state,s=n.data,c=n.branches,f=n.merge_branches,m=n.merge_projects,v=n.pull,y=n.merge,g=n.isSpin,b=n.show_message,_=n.default_message,E=(n.merge_head,n.projects_names),w=n.id,S=n.comparesData,C=function(e,t){if(e&&e.length>0)return e.map((function(e,t){return u.default.createElement(h,{key:t+1,value:e.name},e.name)}))},x=function(e){if(e&&e.length>0)return e.map((function(e,t){return u.default.createElement(h,{key:t+1,value:e.id},e.project_name)}))},O=this.props.project;return u.default.createElement("div",null,u.default.createElement("div",{className:"main"},u.default.createElement(r.default,{spinning:g},u.default.createElement("div",{className:"merge-header width100 inline-block"},u.default.createElement("div",{className:"width40 pull-left"},u.default.createElement("div",{className:"color-grey-3 mb10 fwb"},"源分支:"),u.default.createElement(o.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(i.default,{value:w,className:"hide-1 task-hide flex1",disabled:!0},x(E)),u.default.createElement(i.default,{value:v,onSelect:function(e){return t.selectBrach("pull",e)},showSearch:!0,className:"merge-flex1 flex1"},C(c)))),u.default.createElement("div",{className:"width10 pull-left text-center mt25"},u.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-32"})),u.default.createElement("div",{className:"width40 pull-left"},u.default.createElement("div",null,u.default.createElement("div",{className:"color-grey-3 mb10 fwb"},"目标分支:"),u.default.createElement(o.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(i.default,{value:O&&O.id,className:"hide-1 task-hide flex1",onSelect:function(e){return t.selectProjectName(e)}},x(m)),u.default.createElement(i.default,{value:y,onSelect:function(e){return t.selectBrach("merge",e)},showSearch:!0,className:"merge-flex1 flex1"},C(f)))))),b?u.default.createElement("div",{className:"mb20"},u.default.createElement(a.default,{description:(e=_,u.default.createElement("div",{dangerouslySetInnerHTML:{__html:e}})),type:"error"})):u.default.createElement(p.default,l({},this.props,{merge_type:"new",data:s,merge:y,pull:v,files_count:S&&S.diff&&S.diff.files_count,commits_count:S&&S.commits_count})))),u.default.createElement(d.default,l({order_id:s&&s.issue&&s.issue.id},this.props,this.state,{merge:y,pull:v,comparesData:S})))}}]),t}(c.Component),y=function(){var e=this;this.componentDidMount=function(){var t=e.props.match.params.projectsId;e.getmergelist(t),window.history&&window.history.pushState&&window.addEventListener("popstate",e.handleBack,!1)},this.componentDidUpdate=function(t){var n=e.props.project,r=e.state.pull,a=t.project;n&&a&&a.id!==n.id&&e.compareProject(e.state.id,r,"master")},this.handleBack=function(){var t=e.props.match.params.projectsId;e.getmergelist(t)},this.getmergelist=function(t){e.setState({isSpin:!0});var n=e.props.history.location.pathname.split("/")[1];console.log("owner:"+n),console.log(e.props);var r="/"+n+"/"+t+"/pulls/new.json";f.default.get(r).then((function(t){t&&(e.setState({is_fork:t.data.is_fork,projects_names:t.data.projects_names,merge_projects:t.data.merge_projects,branches:t.data.branches,merge_branches:t.data.branches,project_id:t.data.project_id,id:t.data.id}),e.set_default_pull(t.data.branches),e.set_default_merge(t.data.merge_projects));var n=e.state.pull;e.compareProject(t.data.id,n||"master","master"),e.setState({isSpin:!1})})).catch((function(t){e.setState({isSpin:!1}),console.log(t)}))},this.compareProject=function(t,n,r){var a=e.props.project,o=e.props.match.params,i="/"+o.owner+"/"+o.projectsId+"/compare";if(a){if(t===a.id)e.setState({oldProject:a}),i+="/"+n+"..."+r+".json";else{var l=e.state.oldProject,s=l.author,c=l.identifier;i+="/"+r+"..."+(s&&s.login)+"/"+c+":"+n+".json"}e.setState({isSpin:!0}),f.default.get(i).then((function(t){t&&(0===t.data.status?e.setState({isSpin:!1,show_message:!1}):e.setState({isSpin:!1,show_message:!0,default_message:t.data.message}),e.setState({comparesData:t.data}))})).catch((function(t){e.setState({isSpin:!1})}))}},this.set_default_pull=function(t){if(!e.props.match.params.branch&&t&&t.length>0){var n=t.filter((function(e){return"master"===e.name}));n.length>0?e.setState({pull:n[0].name}):e.setState({pull:"master"})}},this.set_default_merge=function(t){if(t&&t.length){var n=t.filter((function(e){return"master"===e.name}));n.length>0?e.setState({merge:n[0].name}):e.setState({merge:"master"})}},this.newMergelist=function(t,n){e.setState({isSpin:!0});var r="/"+t+"/"+n+"/pulls/get_branches.json";f.default.get(r).then((function(t){t&&(e.setState({merge_branches:t.data}),e.set_default_merge(t.data)),e.setState({isSpin:!1})})).catch((function(t){e.setState({isSpin:!1}),console.log(t)}))},this.selectBrach=function(t,n){var r=e.props.match.params,a=r.projectsId,o=r.owner;e.state[t]=n;var i=e.state,l=i.id,s=i.merge,c=i.pull;"pull"===t?(e.props.history.push("/"+o+"/"+a+"/pulls/new/"+c),e.compareProject(l,n,s)):e.compareProject(l,c,n)},this.selectProjectName=function(t){var n=e.state,r=n.projects_names,a=n.id,o=r&&r.filter((function(e){return e.id===t})),i=o&&o[0].project_id,l=o&&o[0].project_user_login,s=parseInt(t)!==parseInt(a);e.setState({isSpin:!0,merge_head:s,data:{is_original:s,fork_project_id:s?a:"",merge_user_login:s?r[0].project_user_login:void 0}}),e.props.history.push("/"+l+"/"+i+"/pulls/new"),e.newMergelist(l,i)},this.ischeckmerge=function(){e.setState({isSpin:!0});var t=e.props.match.params,n=t.projectsId,r=t.owner,a=e.state,o=a.pull,i=a.merge,l=a.merge_head,s=a.id,c="/"+r+"/"+n+"/pulls/check_can_merge.json";f.default.post(c,{head:o,base:i,is_original:l,fork_project_id:l?s:void 0}).then((function(t){t?0===t.data.status?e.setState({isSpin:!1,show_message:!1}):e.setState({isSpin:!1,show_message:!0,default_message:t.data.message}):e.setState({isSpin:!1,show_message:!0,default_message:"出现错误了"})})).catch((function(t){e.setState({isSpin:!1,show_message:!0}),console.log(t)}))}};t.default=v},ZCgT:function(e,t,n){var r=n("tLB3");e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return We}));var r=n("q1tI"),a=n.n(r),o=n("i8i4"),i=n("QbLZ"),l=n.n(i),s=n("YEIV"),c=n.n(s),u=n("jo6Y"),f=n.n(u),p=n("iCc5"),d=n.n(p),m=n("V7oC"),h=n.n(m),v=n("FYw3"),y=n.n(v),g=n("mRg0"),b=n.n(g),_=n("17x9"),E=n.n(_),w=n("TSYQ"),S=n.n(w),C=n("n1GQ"),x=n.n(C),O=n("VCL8"),N=37,k=38,j=39,P=40;function T(e){var t=[];return a.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function R(e,t){for(var n=T(e),r=0;r<n.length;r++)if(n[r].key===t)return r;return-1}function A(e,t){e.transform=t,e.webkitTransform=t,e.mozTransform=t}function I(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function D(e){return"left"===e||"right"===e}function L(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function M(e){return Object.keys(e).reduce((function(t,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})}function F(e,t){return+e.getPropertyValue(t).replace("px","")}function U(e,t,n,r,a){var o=L(a,"padding-"+e);if(!r||!r.parentNode)return o;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(a){var i=window.getComputedStyle(a);return a!==r?(o+=F(i,"margin-"+e),o+=a[t],o+=F(i,"margin-"+n),"content-box"===i.boxSizing&&(o+=F(i,"border-"+e+"-width")+F(i,"border-"+n+"-width")),!1):(o+=F(i,"margin-"+e),!0)})),o}var B=n("4IlW"),H=n("foW8"),z=n.n(H)()({}),K=z.Provider,q=z.Consumer,V={width:0,height:0,overflow:"hidden",position:"absolute"},W=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.onKeyDown=function(e){var t=e.target,n=e.which,a=e.shiftKey,o=r.props,i=o.nextElement,l=o.prevElement;n===B.a.TAB&&document.activeElement===t&&(!a&&i&&i.focus(),a&&l&&l.focus())},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props.setRef;return a.a.createElement("div",{tabIndex:0,ref:e,style:V,onKeyDown:this.onKeyDown,role:"presentation"})}}]),t}(a.a.Component);W.propTypes={setRef:E.a.func,prevElement:E.a.object,nextElement:E.a.object};var Q=W,Y=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e,t=this.props,n=t.id,r=t.className,o=t.destroyInactiveTabPane,i=t.active,s=t.forceRender,u=t.rootPrefixCls,p=t.style,d=t.children,m=t.placeholder,h=f()(t,["id","className","destroyInactiveTabPane","active","forceRender","rootPrefixCls","style","children","placeholder"]);this._isActived=this._isActived||i;var v=u+"-tabpane",y=S()((e={},c()(e,v,1),c()(e,v+"-inactive",!i),c()(e,v+"-active",i),c()(e,r,r),e)),g=(o?i:this._isActived)||s;return a.a.createElement(q,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,o=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=a.a.createElement(Q,{setRef:o,prevElement:t}),u=a.a.createElement(Q,{setRef:s,nextElement:r})),a.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:y,id:n},M(h)),c,g?d:m,u)}))}}]),t}(a.a.Component),G=Y;function J(e){var t=void 0;return a.a.Children.forEach(e.children,(function(e){!e||t||e.props.disabled||(t=e.key)})),t}Y.propTypes={className:E.a.string,active:E.a.bool,style:E.a.any,destroyInactiveTabPane:E.a.bool,forceRender:E.a.bool,placeholder:E.a.node,rootPrefixCls:E.a.string,children:E.a.node,id:E.a.string},Y.defaultProps={placeholder:null};var X=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));Z.call(n);var r=void 0;return r="activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:J(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,x.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(x.a.cancel(this.sentinelId),this.sentinelId=x()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,o=t.tabBarPosition,i=t.className,s=t.renderTabContent,u=t.renderTabBar,p=t.destroyInactiveTabPane,d=t.direction,m=f()(t,["prefixCls","navWrapper","tabBarPosition","className","renderTabContent","renderTabBar","destroyInactiveTabPane","direction"]),h=S()((e={},c()(e,n,1),c()(e,n+"-"+o,1),c()(e,i,!!i),c()(e,n+"-rtl","rtl"===d),e));this.tabBar=u();var v=a.a.cloneElement(this.tabBar,{prefixCls:n,navWrapper:r,key:"tabBar",onKeyDown:this.onNavKeyDown,tabBarPosition:o,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),y=a.a.cloneElement(s(),{prefixCls:n,tabBarPosition:o,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=a.a.createElement(Q,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=a.a.createElement(Q,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),_=[];return"bottom"===o?_.push(g,y,b,v):_.push(v,g,y,b),a.a.createElement(K,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},a.a.createElement("div",l()({className:h,style:t.style},M(m),{onScroll:this.onScroll}),_))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"activeKey"in e?n.activeKey=e.activeKey:function(e,t){return a.a.Children.map(e.children,(function(e){return e&&e.key})).indexOf(t)>=0}(e,t.activeKey)||(n.activeKey=J(e)),Object.keys(n).length>0?n:null}}]),t}(a.a.Component),Z=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===j||n===P){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===N||n===k){t.preventDefault();var a=e.getNextActiveKey(!1);e.onTabClick(a)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];a.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var o=r.length,i=o&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===o-1?r[0].key:r[t+1].key)})),i}};X.propTypes={destroyInactiveTabPane:E.a.bool,renderTabBar:E.a.func.isRequired,renderTabContent:E.a.func.isRequired,navWrapper:E.a.func,onChange:E.a.func,children:E.a.node,prefixCls:E.a.string,className:E.a.string,tabBarPosition:E.a.string,style:E.a.object,activeKey:E.a.string,defaultActiveKey:E.a.string,direction:E.a.string},X.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},X.TabPane=G,Object(O.polyfill)(X);var $=X,ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return a.a.Children.forEach(n,(function(n){if(n){var o=n.key,i=t===o;r.push(a.a.cloneElement(n,{active:i,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,o=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=S()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var v=R(o,i);if(-1!==v){var y=p?function(e,t){var n=D(t)?"marginTop":"marginLeft";return c()({},n,100*-e+"%")}(v,u):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=D(t)?"translateY":"translateX";return D(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(v,u,d),WebkitTransform:t,MozTransform:t};m=l()({},m,y)}else m=l()({},m,{display:"none"})}return a.a.createElement("div",{className:h,style:m},this.getTabPanes())}}]),t}(a.a.Component),te=ee;ee.propTypes={animated:E.a.bool,animatedWithMargin:E.a.bool,prefixCls:E.a.string,children:E.a.node,activeKey:E.a.string,style:E.a.any,tabBarPosition:E.a.string,className:E.a.string,destroyInactiveTabPane:E.a.bool,direction:E.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("BGR+");function ae(e,t){var n=e.props,r=n.styles,a=n.panels,o=n.activeKey,i=n.direction,l=e.props.getRef("root"),s=e.props.getRef("nav")||l,c=e.props.getRef("inkBar"),u=e.props.getRef("activeTab"),f=c.style,p=e.props.tabBarPosition,d=R(a,o);if(t&&(f.display="none"),u){var m=u,h=I(f);if(A(f,""),f.width="",f.height="",f.left="",f.top="",f.bottom="",f.right="","top"===p||"bottom"===p){var v=function(e,t){return U("left","offsetWidth","right",e,t)}(m,s),y=m.offsetWidth;y===l.offsetWidth?y=0:r.inkBar&&void 0!==r.inkBar.width&&(y=parseFloat(r.inkBar.width,10))&&(v+=(m.offsetWidth-y)/2),"rtl"===i&&(v=L(m,"margin-left")-v),h?A(f,"translate3d("+v+"px,0,0)"):f.left=v+"px",f.width=y+"px"}else{var g=function(e,t){return U("top","offsetHeight","bottom",e,t)}(m,s),b=m.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(b=parseFloat(r.inkBar.height,10))&&(g+=(m.offsetHeight-b)/2),h?(A(f,"translate3d(0,"+g+"px,0)"),f.top="0"):f.top=g+"px",f.height=b+"px"}}f.display=-1!==d?"block":"none"}var oe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){ae(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){ae(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,o=t.inkBarAnimated,i=n+"-ink-bar",l=S()((e={},c()(e,i,!0),c()(e,o?i+"-animated":i+"-no-animated",!0),e));return a.a.createElement("div",{style:r.inkBar,className:l,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(a.a.Component),ie=oe;oe.propTypes={prefixCls:E.a.string,styles:E.a.object,inkBarAnimated:E.a.bool,saveRef:E.a.func,direction:E.a.string},oe.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),se=n.n(le),ce=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,o=t.prefixCls,i=t.tabBarGutter,s=t.saveRef,u=t.tabBarPosition,f=t.renderTabBarNode,p=t.direction,d=[];return a.a.Children.forEach(n,(function(t,m){if(t){var h=t.key,v=r===h?o+"-tab-active":"";v+=" "+o+"-tab";var y={};t.props.disabled?v+=" "+o+"-tab-disabled":y={onClick:e.props.onTabClick.bind(e,h)};var g={};r===h&&(g.ref=s("activeTab"));var b=i&&m===n.length-1?0:i,_="rtl"===p?"marginLeft":"marginRight",E=c()({},D(u)?"marginBottom":_,b);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var w=a.a.createElement("div",l()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},y,{className:v,key:h,style:E},g),t.props.tab);f&&(w=f(w)),d.push(w)}})),a.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(a.a.Component),ue=ce;ce.propTypes={activeKey:E.a.string,panels:E.a.node,prefixCls:E.a.string,tabBarGutter:E.a.number,onTabClick:E.a.func,saveRef:E.a.func,renderTabBarNode:E.a.func,tabBarPosition:E.a.string,direction:E.a.string},ce.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var fe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,o=e.className,i=e.extraContent,s=e.style,u=e.tabBarPosition,p=e.children,d=f()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),m=S()(t+"-bar",c()({},o,!!o)),h="top"===u||"bottom"===u,v=h?{float:"right"}:{},y=i&&i.props?i.props.style:{},g=p;return i&&(g=[Object(r.cloneElement)(i,{key:"extra",style:l()({},v,y)}),Object(r.cloneElement)(p,{key:"content"})],g=h?g:g.reverse()),a.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},M(d)),g)}}]),t}(a.a.Component),pe=fe;fe.propTypes={prefixCls:E.a.string,className:E.a.string,style:E.a.object,tabBarPosition:E.a.oneOf(["left","right","top","bottom"]),children:E.a.node,extraContent:E.a.node,onKeyDown:E.a.func,saveRef:E.a.func},fe.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var de=n("sEfC"),me=n.n(de),he=n("bdgK"),ve=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var a=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),a){var o=n.getScrollWH(t),i=n.getOffsetWH(r),l=n.offset,s=n.getOffsetLT(r),c=n.getOffsetLT(t);s>c?(l+=s-c,n.setOffset(l)):s+i<c+o&&(l-=c+o-(s+i),n.setOffset(l))}}},n.prev=function(e){n.props.onPrevClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a+r)},n.next=function(e){n.props.onNextClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a-r)},n.offset=0,n.state={next:!1,prev:!1},n}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),this.debouncedResize=me()((function(){e.setNextPrev(),e.scrollToActiveTab()}),200),this.resizeObserver=new he.default(this.debouncedResize),this.resizeObserver.observe(this.props.getRef("container"))}},{key:"componentDidUpdate",value:function(e){var t=this.props;if(e&&e.tabBarPosition!==t.tabBarPosition)this.setOffset(0);else{var n=this.setNextPrev();this.isNextPrevShown(this.state)!==this.isNextPrevShown(n)?this.setState({},this.scrollToActiveTab):e&&t.activeKey===e.activeKey||this.scrollToActiveTab()}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()}},{key:"setNextPrev",value:function(){var e=this.props.getRef("nav"),t=this.props.getRef("navTabsContainer"),n=this.getScrollWH(t||e),r=this.getOffsetWH(this.props.getRef("container"))+1,a=this.getOffsetWH(this.props.getRef("navWrap")),o=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),o=0;else if(i<o)s=!0;else{s=!1;var u=a-n;this.setOffset(u,!1),o=u}return c=o<0,this.setNext(s),this.setPrev(c),{next:s,prev:c}}},{key:"getOffsetWH",value:function(e){var t=this.props.tabBarPosition,n="offsetWidth";return"left"!==t&&"right"!==t||(n="offsetHeight"),e[n]}},{key:"getScrollWH",value:function(e){var t=this.props.tabBarPosition,n="scrollWidth";return"left"!==t&&"right"!==t||(n="scrollHeight"),e[n]}},{key:"getOffsetLT",value:function(e){var t=this.props.tabBarPosition,n="left";return"left"!==t&&"right"!==t||(n="top"),e.getBoundingClientRect()[n]}},{key:"setOffset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},a=this.props.tabBarPosition,o=this.props.getRef("nav").style,i=I(o);"left"===a||"right"===a?r=i?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:i?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},i?A(o,r.value):o[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,o=this.state,i=o.next,l=o.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,v=a.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:S()((e={},c()(e,u+"-tab-prev",1),c()(e,u+"-tab-btn-disabled",!l),c()(e,u+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||a.a.createElement("span",{className:u+"-tab-prev-icon"})),y=a.a.createElement("span",{onClick:i?this.next:null,unselectable:"unselectable",className:S()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||a.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=S()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return a.a.createElement("div",{className:S()((r={},c()(r,u+"-nav-container",1),c()(r,u+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},v,y,a.a.createElement("div",{className:u+"-nav-wrap",ref:this.props.saveRef("navWrap")},a.a.createElement("div",{className:u+"-nav-scroll"},a.a.createElement("div",{className:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(a.a.Component),ye=ve;ve.propTypes={activeKey:E.a.string,getRef:E.a.func.isRequired,saveRef:E.a.func.isRequired,tabBarPosition:E.a.oneOf(["left","right","top","bottom"]),prefixCls:E.a.string,scrollAnimated:E.a.bool,onPrevClick:E.a.func,onNextClick:E.a.func,navWrapper:E.a.func,children:E.a.node,prevIcon:E.a.node,nextIcon:E.a.node,direction:E.a.node},ve.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var ge=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.getRef=function(e){return r[e]},r.saveRef=function(e){return function(t){t&&(r[e]=t)}},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(a.a.Component),be=ge;ge.propTypes={children:E.a.func},ge.defaultProps={children:function(){return null}};var _e=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return a.a.createElement(be,null,(function(e,r){return a.a.createElement(pe,l()({saveRef:e},n),a.a.createElement(ye,l()({saveRef:e,getRef:r},n),a.a.createElement(ue,l()({saveRef:e,renderTabBarNode:t},n)),a.a.createElement(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(a.a.Component),Ee=_e;_e.propTypes={children:E.a.func};var we=n("CtXQ");function Se(){return(Se=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){return(xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Pe(this,n)}}function Pe(e,t){return!t||"object"!==xe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=je(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e,t,n=this.props,a=n.tabBarStyle,o=n.animated,i=n.renderTabBar,l=n.tabBarExtraContent,s=n.tabPosition,c=n.prefixCls,u=n.className,f=n.size,p=n.type,d="object"===xe(o)?o.inkBar:o,m="left"===s||"right"===s,h=m?"up":"left",v=m?"down":"right",y=r.createElement("span",{className:"".concat(c,"-tab-prev-icon")},r.createElement(we.default,{type:h,className:"".concat(c,"-tab-prev-icon-target")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(we.default,{type:v,className:"".concat(c,"-tab-next-icon-target")})),b=S()("".concat(c,"-").concat(s,"-bar"),(Ce(e={},"".concat(c,"-").concat(f,"-bar"),!!f),Ce(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),_=Se(Se({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:a,prevIcon:y,nextIcon:g,className:b});return t=i?i(_,Ee):r.createElement(Ee,_),r.cloneElement(t)}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Re.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Ie=n("6CfX"),De=n("R3zJ");function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function He(e,t){return(He=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qe(e);if(t){var a=qe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ke(this,n)}}function Ke(e,t){return!t||"object"!==Fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},We=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&He(e,t)}(l,e);var t,n,a,i=ze(l);function l(){var e;return Ue(this,l),(e=i.apply(this,arguments)).removeTab=function(t,n){if(n.stopPropagation(),t){var r=e.props.onEdit;r&&r(t,"remove")}},e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e.createNewTab=function(t){var n=e.props.onEdit;n&&n(t,"add")},e.renderTabs=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.className,s=void 0===l?"":l,c=o.size,u=o.type,f=void 0===u?"line":u,p=o.tabPosition,d=o.children,m=o.animated,h=void 0===m||m,v=o.hideAdd,y=e.props.tabBarExtraContent,g="object"===Fe(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Ie.a)(!(f.indexOf("card")>=0&&("small"===c||"large"===c)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var b=a("tabs",i),_=S()(s,(Me(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Me(n,"".concat(b,"-").concat(c),!!c),Me(n,"".concat(b,"-card"),f.indexOf("card")>=0),Me(n,"".concat(b,"-").concat(f),!0),Me(n,"".concat(b,"-no-animation"),!g),n)),E=[];"editable-card"===f&&(E=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var a=t.props.closable,o=(a=void 0===a||a)?r.createElement(we.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;E.push(r.cloneElement(t,{tab:r.createElement("div",{className:a?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,o),key:t.key||n}))})),v||(y=r.createElement("span",null,r.createElement(we.default,{type:"plus",className:"".concat(b,"-new-tab"),onClick:e.createNewTab}),y))),y=y?r.createElement("div",{className:"".concat(b,"-extra-content")},y):null;var w=Ve(e.props,[]),C=S()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Le({},e.props,{prefixCls:b,className:_,tabBarPosition:p,renderTabBar:function(){return r.createElement(Re,Le({},Object(re.a)(w,["className"]),{tabBarExtraContent:y}))},renderTabContent:function(){return r.createElement(te,{className:C,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),E.length>0?E:d)},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=o.findDOMNode(this);e&&!De.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&Be(t.prototype,n),a&&Be(t,a),l}(r.Component);We.TabPane=G,We.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("3S7+")),a=u(n("CFYs")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ"),n("D8SU");var i=n("q1tI"),l=u(i),s=n("PhNK"),c=n("spEH");function u(e){return e&&e.__esModule?e:{default:e}}n("js5m"),n("VPG4"),t.default=function(e){var t=e.data,n=e.history,u=e.owner,f=e.projectsId,p=e.parentsSha,d=(0,i.useState)(t&&t.files),m=o(d,2),h=m[0],v=m[1],y=(0,i.useState)("复制文件路径"),g=o(y,2),b=g[0],_=g[1],E=(0,i.useState)(!1),w=o(E,2),S=w[0],C=w[1];function x(e,t,n){if(!n){var r=h.concat();r[t].flag=!e,r.splice(),v(r)}}(0,i.useEffect)((function(){t&&v(t.files)}),[t]),(0,i.useEffect)((function(){document.addEventListener("click",(function(){C(!1)}))}));var O=l.default.createElement("div",{className:"folders"},l.default.createElement("div",{className:"folderList"},h&&h.map((function(e,t){return l.default.createElement("a",{href:"#value"+t},l.default.createElement(c.FlexAJ,{className:"filesInfo",key:t,onClick:function(){e.flag&&x(e.flag,t,e.isBin),C(!1)}},l.default.createElement(c.AlignCenter,null,l.default.createElement("i",{className:"iconfont icon-wenjianicon mr4"}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name},e.name)),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0?":":"")+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),e.addition>0&&l.default.createElement("span",{className:"color-green ml10"},"+",e.addition),e.deletion>0&&l.default.createElement("span",{className:"color-red ml10"},"-",e.deletion)))))}))));return l.default.createElement("div",{onClick:function(e){e.nativeEvent.stopImmediatePropagation()}},l.default.createElement(c.AlignCenter,{className:"color-grey-9",style:{position:"relative"}},l.default.createElement("div",{onClick:function(){C(!S)}},l.default.createElement("i",{className:"iconfont mr5 "+(S?"font-18 icon-sanjiaoxing-down":"font-16 icon-triangle")}),l.default.createElement("span",{className:"color-grey-6 update-file-count"},"共有",l.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件 "),"被更改,包括",t&&t.total_addition?l.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?l.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),S&&O),h&&h.length>0&&l.default.createElement("div",{className:"fileList"},h.map((function(e,t){return l.default.createElement("div",{className:"files",key:t},l.default.createElement("a",{id:"value"+t,className:"anchorPoint"}),l.default.createElement(c.FlexAJ,{className:"filesInfo"},l.default.createElement(c.AlignCenter,null,e.isBin?"":l.default.createElement("i",{className:e.flag?"iconfont icon-triangle font-15 color-grey-9":"iconfont icon-sanjiaoxing-down color-grey-9 mt4",onClick:function(){return x(e.flag,t,e.isBin)}}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name,onClick:function(){return x(e.flag,t,e.isBin)}},e.name),l.default.createElement(r.default,{title:b,onVisibleChange:function(){return _("复制文件路径")}},l.default.createElement("i",{className:"iconfont icon-fuzhiicon ml6",onClick:function(){return t=e.name,(n=document.createElement("input")).defaultValue=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="copyCont",n.style.display="none",void _("复制成功");var t,n}}))),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0?":":"")+" "+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),l.default.createElement("span",{className:"ml10"},e.addition+e.deletion,"处")),!e.isSubmodule&&l.default.createElement("span",{className:"see-file-btn",onClick:function(){n.push("/"+u+"/"+f+(e.isDeleted?"/commits/"+(0,s.truncateCommitId)(p):"/tree/"+(0,s.truncateCommitId)(e.sha)+"/"+e.name))}},"查看文件"))),e.sections&&e.sections.length>=1&&!e.flag&&l.default.createElement("div",{className:"filesContent"},e.sections.map((function(e,t){return e.lines&&e.lines.length>0&&e.lines.map((function(e,n){return l.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},l.default.createElement("span",{className:"lines"},l.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),l.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),l.default.createElement("p",null,e.content))}))}))))}))))}},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),a=c(r);n("vg9a");var o=n("ud8/"),i=c(o);n("SJMd");var l=c(n("wMS7")),s=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,p=void 0===f?{}:f,d=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,i.default)(m),t=(0,o.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],a=r.type,o=r.expression;return(0,s.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===a,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(d&&d.hash&&h){var e=d.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[d,h]);var v=(0,r.useRef)();function y(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(v.current&&h&&h.match(u)&&window.PR.prettyPrint(),v.current)return v.current.addEventListener("click",y),function(){v.current.removeEventListener("click",y),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[h,v.current,y]),a.default.createElement("div",{ref:v,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=E(n("VXEj")),a=E(n("NJEC")),o=E(n("2/Rp")),i=E(n("NUBc")),l=E(n("ZTPi")),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV"),n("AUBz");var u=n("q1tI"),f=E(u),p=n("eO8H"),d=E(n("vDqi")),m=E(n("AySf")),h=E(n("bIax")),v=n("sYIF"),y=E(n("LZ3y")),g=E(n("p7gc")),b=E(n("bjH3")),_=E(n("oYoh"));function E(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var w=l.default.TabPane,S=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getjournalslist()},n.addjournals=function(){var e=n.state,t=e.content,r=e.reply_content;n.setState({journal_spin:!0}),t||r?n.props.form.validateFieldsAndScroll((function(e,a){if(e)n.setState({journal_spin:!1});else{var o=n.state,i=o.page,l=o.limit,c=o.fileList,u=o.orderId,f=o.reply_id,p=o.is_reply,m="/issues/"+u+"/journals.json";d.default.post(m,s({},a,{content:p?r:t,issue_id:u,attachment_ids:c,parent_id:f})).then((function(e){e&&0===e.data.status&&(n.props.form.setFieldsValue({content:"",reply_content:void 0}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l),n.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1})),n.setState({journal_spin:!1}),e&&411!==e.data.status&&n.props.showNotification(e.data.message)})).catch((function(e){n.setState({journal_spin:!1}),console.log(e)}))}})):n.setState({journal_spin:!1})},n.add_reply=function(e){!1!==n.props.checkIfLogin()?n.setState({is_reply:!0,success_journal:!1,reply_id:e}):n.props.showLoginDialog()},n.cancel_reply=function(){n.setState({is_reply:!1,reply_id:void 0,success_journal:!1,reply_content:void 0})},n.getjournalslist=function(e,t){var r=n.state.orderId,a="/issues/"+r+"/journals.json",o=r;d.default.get(a,{params:{id:o,page:e,limit:t}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1,fileList:void 0})})).catch((function(e){console.log(e)}))},n.UploadFunc=function(e){n.setState({fileList:e,attachment_clean:!0})},n.deleteorder=function(e){var t=n.state,r=t.page,a=t.limit,o=t.orderId,i="/issues/"+o+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:o,id:e}}).then((function(e){e&&n.getjournalslist(r,a)})).catch((function(e){console.log(e)}))},n.renderJournalList=function(e){return e&&e.length>0?e.map((function(e,t){return f.default.createElement("div",{key:t+1,className:"journal-list-item"},f.default.createElement("span",{className:"fwb mr3"},e.detail,":"),f.default.createElement("span",{className:"mr5 color-grey-9"},e.old_value&&e.old_value.length>0?"更新为":"新增"),f.default.createElement("span",null,e.value&&e.value.length>0?"标记"===e.detail?f.default.createElement("span",{className:"issue-tag-show",style:{background:e.value[0].color}},e.value[0].name):e.value:"无"))})):f.default.createElement("div",null,f.default.createElement("span",null,"没有评论~"))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.onContentChange=function(e){e&&n.setState({content:e,quillFlag:!1})},n.replyContentChange=function(e){e&&n.setState({reply_content:e,quillFlag:!1})},n.onRef=function(e){n.child=e},n.commentCtx=function(e){return f.default.createElement(b.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.state={content:void 0,journalsdata:void 0,isedit:void 0,fileList:void 0,limit:10,page:1,journal_spin:!1,edit_spin:!1,attachment_clean:!0,orderId:n.props.order_id,is_reply:!1,reply_id:void 0,reply_content:void 0,new_journal_id:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"loginModal",value:function(){this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,E=t.attachment_clean,S=t.is_reply,C=t.reply_id,x=t.reply_content,O=t.orderId,N=t.new_journal_id,k=this.props,j=k.current_user,P=k.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/"+(j&&j.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(j&&j.image_url)),alt:"",width:"30",height:"30"})),f.default.createElement("div",null,f.default.createElement(g.default,{placeholder:"添加评论...",height:300,mdID:n?"orderdetail-add-descriptions"+n:"orderdetail-add-descriptions",initValue:t?x:u,onChange:t?e.replyContentChange:e.onContentChange}),f.default.createElement("p",{className:"quillFlag"},d&&f.default.createElement("span",{className:""},"请输入评论内容")),f.default.createElement(m.default,{className:"commentStyle",isComplete:E,load:e.UploadFunc,icon:f.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.props.showNotification}),f.default.createElement("p",{className:"clearfix mt20"},f.default.createElement(o.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(o.default,{onClick:e.cancel_reply},"取消"))))},R=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link color-black ml10 fwb"},t&&t.user_name)),f.default.createElement("div",{className:"ml40"},t.content?e.commentCtx(t.content):f.default.createElement("div",null,e.renderJournalList(t.journal_details)),t&&t.attachments&&t.attachments.length>0?f.default.createElement(y.default,{attachments:t.attachments,showNotification:e.props.showNotification,canDelete:j&&(j.admin||j.login===t.user_login)}):"",f.default.createElement("div",{className:"grid-item mt5"},f.default.createElement("span",{className:"color-grey-8"},t.created_at),f.default.createElement("span",{className:"text-right"},j&&(j.admin||j.login===t.user_login)?f.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(o.default,{type:"link"},f.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):"",f.default.createElement(o.default,{type:"link",className:"ml-10",onClick:function(){return e.add_reply(t.id)}},f.default.createElement("i",{className:"iconfont icon-huifu1 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"回复")))),j&&f.default.createElement("div",null,S&&C&&C===t.id?f.default.createElement("div",{className:"pt20"},T(S,t.id)):""),f.default.createElement(_.default,s({order_id:O,parent_id:t.id,onRef:e.onRef,children_comment_id:N},e.props))))};return f.default.createElement("div",null,P?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},S&&!C?f.default.createElement("div",{className:"pd20"},T(S,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item"},f.default.createElement("img",{className:"radius",src:j&&j.image_url?(0,v.getImageUrl)("/"+j.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}),this.Paginations()):f.default.createElement("div",{className:"mt20"},f.default.createElement("div",{className:"comment-background"},f.default.createElement(l.default,{defaultActiveKey:"1",className:"custom-comment-tabs"},f.default.createElement(w,{tab:f.default.createElement("span",{className:"ml-3 font-16"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},S&&!C?f.default.createElement("div",{className:"pd20"},T(S,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item mb20"},f.default.createElement("img",{className:"radius",src:j&&j.image_url?(0,v.getImageUrl)("/"+j.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=S},dQpi:function(e,t,n){var r=n("yGk4"),a=n("vN+2"),o=n("rEGp"),i=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:a;e.exports=i},"jbM+":function(e,t,n){var r=n("R/W3");e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},js5m:function(e,t,n){},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),i=n("BGR+"),l=n("VCL8"),s=n("CtXQ"),c=n("H84U");function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,a,i=v(l);function l(){var e;return d(this,l),(e=i.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,r=t.onChange;r&&r(!n)},e.renderCheckableTag=function(t){var n,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=a("tag",l),m=o()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,r.createElement("span",f({},u,{className:m,onClick:e.handleClick}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(t.prototype,n),a&&m(t,a),l}(r.Component),E=n("09Wf"),w=n("6CfX"),S=n("g0mS");function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=T(e);if(t){var a=T(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return P(this,n)}}function P(e,t){return!t||"object"!==C(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},A=new RegExp("^(".concat(E.a.join("|"),")(-inverse)?$")),I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(u,e);var t,n,a,l=j(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,a=n.children,o=R(n,["children"]),l="onClick"in o||a&&"a"===a.type,s=Object(i.a)(o,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(S.a,null,r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())):r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())},Object(w.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return t=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(n=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return O({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,a=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",a);return o()(u,(x(t={},"".concat(u,"-").concat(l),c),x(t,"".concat(u,"-has-color"),l&&!c),x(t,"".concat(u,"-hidden"),!s),t),i)}},{key:"setVisible",value:function(e,t){var n=this.props,r=n.onClose,a=n.afterClose;r&&r(t),a&&!r&&a(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&A.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderTag)}}])&&N(t.prototype,n),a&&N(t,a),u}(r.Component);I.CheckableTag=_,I.defaultProps={closable:!1},Object(l.polyfill)(I);t.default=I},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),a="undefined"==typeof window?t:window,o=["moz","webkit"],i="AnimationFrame",l=a["request"+i],s=a["cancel"+i]||a["cancelRequest"+i],c=0;!l&&c<o.length;c++)l=a[o[c]+"Request"+i],s=a[o[c]+"Cancel"+i]||a[o[c]+"CancelRequest"+i];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(a,e)},e.exports.cancel=function(){s.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},n5Yh:function(e,t,n){},oYoh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("VXEj")),a=h(n("NJEC")),o=h(n("2/Rp")),i=h(n("NUBc")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV");var s=n("q1tI"),c=h(s),u=n("eO8H"),f=h(n("vDqi")),p=n("sYIF"),d=h(n("LZ3y")),m=h(n("bjH3"));function h(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getChildrenJournals=function(e,t){var r=n.props,a=r.order_id,o=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||a)+"/journals/"+(t||o)+"/get_children_journals.json";f.default.get(c,{params:{page:l,limit:s}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.deleteorder=function(e){var t=n.props.order_id,r="/issues/"+t+"/journals/"+e+".json";f.default.delete(r,{data:{issue_id:t,id:e}}).then((function(e){e&&n.getChildrenJournals()})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.state.page=e,n.state.isSpin=!0,n.getChildrenJournals()},n.commentCtx=function(e){return c.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return c.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},c.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.renderList=function(e){var t=n.props.current_user;return c.default.createElement("div",{className:"width100"},c.default.createElement("div",{className:"grid-item pb5"},c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link color-black ml10 fwb"},e&&e.user_name)),c.default.createElement("div",{className:"ml40"},n.commentCtx(e.content),e&&e.attachments&&e.attachments.length>0?c.default.createElement(d.default,{attachments:e.attachments,showNotification:n.props.showNotification,canDelete:t&&(t.admin||t.login===e.user_login)}):"",c.default.createElement("div",{className:"mt5"},c.default.createElement("span",{className:"color-grey-8"},e.created_at),c.default.createElement("span",{className:"ml20"},t&&(t.admin||t.login===e.user_login)?c.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return n.deleteorder(e.id)}},c.default.createElement(o.default,{type:"link"},c.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),c.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):""))))},n.state={journalsdata:void 0,limit:10,page:1,journal_spin:!1,search_count:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.getChildrenJournals()}},{key:"componentDidUpdate",value:function(e,t){this.props.children_comment_id&&e.children_comment_id!==this.props.children_comment_id&&this.getChildrenJournals()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,a=t.search_count,o=t.isSpin;return c.default.createElement("div",null,a>0&&c.default.createElement("div",{className:"children-comment-bg mt10"},c.default.createElement(r.default,{size:"large",loading:o,dataSource:n.issue_journals,renderItem:function(t){return c.default.createElement(r.default.Item,null,e.renderList(t))}}),this.Paginations()))}}]),t}(s.Component);t.default=v},qPyV:function(e,t,n){var r=n("ut/Y"),a=n("LGYb");e.exports=function(e,t){return e&&e.length?a(e,r(t,2)):[]}},u3En:function(e,t,n){},"vN+2":function(e,t){e.exports=function(){}},vg9a:function(e,t,n){},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,a=Object.freeze,o=Object.seal,i=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),a||(a=function(e){return e}),o||(o=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=C(Array.prototype.forEach),f=C(Array.prototype.indexOf),p=C(Array.prototype.join),d=C(Array.prototype.pop),m=C(Array.prototype.push),h=C(Array.prototype.slice),v=C(String.prototype.toLowerCase),y=C(String.prototype.match),g=C(String.prototype.replace),b=C(String.prototype.indexOf),_=C(String.prototype.trim),E=C(RegExp.prototype.test),w=x(RegExp),S=x(TypeError);function C(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return s(e,t,r)}}function x(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function O(e,r){t&&t(e,null);for(var a=r.length;a--;){var o=r[a];if("string"==typeof o){var i=v(o);i!==o&&(n(r)||(r[a]=i),o=i)}e[o]=!0}return e}function N(t){var n=i(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var k=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),j=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),P=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),R=a(["#text"]),A=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),I=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),D=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),M=o(/\{\{[\s\S]*|[\s\S]*\}\}/gm),F=o(/<%[\s\S]*|[\s\S]*%>/gm),U=o(/^data-[\-\w.\u00B7-\uFFFF]/),B=o(/^aria-[\-\w]+$/),H=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=o(/^(?:\w+script|data):/i),K=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function V(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var W=function(){return"undefined"==typeof window?null:window},Q=function(e,t){if("object"!==(void 0===e?"undefined":q(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var o=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,C=t.Node,x=t.NodeFilter,Y=t.NamedNodeMap,G=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,J=t.Text,X=t.Comment,Z=t.DOMParser,$=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=Q($,o),ne=te&&De?te.createHTML(""):"",re=l,ae=re.implementation,oe=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=o.importNode,ce=N(l).documentMode?l.documentMode:{},ue={};n.isSupported=ae&&void 0!==ae.createHTMLDocument&&9!==ce;var fe=M,pe=F,de=U,me=B,he=z,ve=K,ye=H,ge=null,be=O({},[].concat(V(k),V(j),V(P),V(T),V(R))),_e=null,Ee=O({},[].concat(V(A),V(I),V(D),V(L))),we=null,Se=null,Ce=!0,xe=!0,Oe=!1,Ne=!1,ke=!1,je=!1,Pe=!1,Te=!1,Re=!1,Ae=!1,Ie=!1,De=!1,Le=!0,Me=!0,Fe=!1,Ue={},Be=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),He=null,ze=O({},["audio","video","img","source","image","track"]),Ke=null,qe=O({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ve=null,We=l.createElement("form"),Qe=function(e){Ve&&Ve===e||(e&&"object"===(void 0===e?"undefined":q(e))||(e={}),e=N(e),ge="ALLOWED_TAGS"in e?O({},e.ALLOWED_TAGS):be,_e="ALLOWED_ATTR"in e?O({},e.ALLOWED_ATTR):Ee,Ke="ADD_URI_SAFE_ATTR"in e?O(N(qe),e.ADD_URI_SAFE_ATTR):qe,He="ADD_DATA_URI_TAGS"in e?O(N(ze),e.ADD_DATA_URI_TAGS):ze,we="FORBID_TAGS"in e?O({},e.FORBID_TAGS):{},Se="FORBID_ATTR"in e?O({},e.FORBID_ATTR):{},Ue="USE_PROFILES"in e&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,je=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_DOM_IMPORT||!1,De=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Le=!1!==e.SANITIZE_DOM,Me=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,ke&&(xe=!1),Ae&&(Re=!0),Ue&&(ge=O({},[].concat(V(R))),_e=[],!0===Ue.html&&(O(ge,k),O(_e,A)),!0===Ue.svg&&(O(ge,j),O(_e,I),O(_e,L)),!0===Ue.svgFilters&&(O(ge,P),O(_e,I),O(_e,L)),!0===Ue.mathMl&&(O(ge,T),O(_e,D),O(_e,L))),e.ADD_TAGS&&(ge===be&&(ge=N(ge)),O(ge,e.ADD_TAGS)),e.ADD_ATTR&&(_e===Ee&&(_e=N(_e)),O(_e,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&O(Ke,e.ADD_URI_SAFE_ATTR),Me&&(ge["#text"]=!0),je&&O(ge,["html","head","body"]),ge.table&&(O(ge,["tbody"]),delete we.tbody),a&&a(e),Ve=e)},Ye=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ge=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(Te)e="<remove></remove>"+e;else{var r=y(e,/^[\r\n\t ]+/);n=r&&r[0]}var a=te?te.createHTML(e):e;try{t=(new Z).parseFromString(a,"text/html")}catch(e){}if(i&&O(we,["title"]),!t||!t.documentElement){var o=(t=ae.createHTMLDocument("")).body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=a}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ie.call(t,je?"html":"body")[0]};n.isSupported&&function(){try{var e=Je("<x/><title></title><img>");E(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return oe.call(e.ownerDocument||e,e,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT,(function(){return x.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof J||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof G&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===C?"undefined":q(C))?e instanceof C:e&&"object"===(void 0===e?"undefined":q(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,Ve)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ze(e))return Ye(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return Ye(e),!0;var r=v(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ge[r]||we[r]){if(Me&&!Be[r]&&"function"==typeof e.insertAdjacentHTML)try{var a=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(a):a)}catch(e){}return Ye(e),!0}return"noscript"===r&&E(/<\/noscript/i,e.innerHTML)||"noembed"===r&&E(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ne||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!E(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=g(e.innerHTML,/</g,"<"):e.innerHTML=g(e.textContent,/</g,"<")),ke&&3===e.nodeType&&(t=e.textContent,t=g(t,fe," "),t=g(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(Le&&("id"===t||"name"===t)&&(n in l||n in We))return!1;if(xe&&E(de,t));else if(Ce&&E(me,t));else{if(!_e[t]||Se[t])return!1;if(Ke[t]);else if(E(ye,g(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!He[e])if(Oe&&!E(he,g(n,ve,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,a=void 0,o=void 0,i=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_e};for(l=s.length;l--;){var u=t=s[l],m=u.name,y=u.namespaceURI;if(a=_(t.value),o=v(m),c.attrName=o,c.attrValue=a,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),a=c.attrValue,!c.forceKeepAttr){if("name"===o&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ge("id",e),Ge(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===o&&"file"===a&&c.keepAttr&&(_e[o]||!Se[o]))continue;"id"===m&&e.setAttribute(m,""),Ge(m,e)}if(c.keepAttr)if(Ne&&E(/\/>/i,a))Ge(m,e);else if(E(/svg|math/i,e.namespaceURI)&&E(w("</("+p(r(Be),"|")+")","i"),a))Ge(m,e);else{ke&&(a=g(a,fe," "),a=g(a,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,o,a))try{y?e.setAttributeNS(y,m,a):e.setAttribute(m,a),d(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},at=function e(t){var n=void 0,r=Xe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var a=void 0,i=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!$e(e)){if("function"!=typeof e.toString)throw S("toString is not a function");if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}if(!n.isSupported){if("object"===q(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if($e(e))return t.toStaticHTML(e.outerHTML)}return e}if(Pe||Qe(r),n.removed=[],"string"==typeof e&&(Fe=!1),Fe);else if(e instanceof C)1===(i=(a=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?a=i:a.appendChild(i);else{if(!Re&&!ke&&!je&&-1===e.indexOf("<"))return te&&De?te.createHTML(e):e;if(!(a=Je(e)))return Re?null:ne}a&&Te&&Ye(a.firstChild);for(var f=Xe(Fe?e:a);l=f.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&at(l.content),rt(l),c=l);if(c=null,Fe)return e;if(Re){if(Ae)for(u=le.call(a.ownerDocument);a.firstChild;)u.appendChild(a.firstChild);else u=a;return Ie&&(u=se.call(o,u,!0)),u}var p=je?a.outerHTML:a.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&De?te.createHTML(p):p},n.setConfig=function(e){Qe(e),Pe=!0},n.clearConfig=function(){Ve=null,Pe=!1},n.isValidAttribute=function(e,t,n){Ve||Qe({});var r=v(e),a=v(t);return nt(r,a,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&d(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()}}]); \ No newline at end of file diff --git a/static/js/33.a0d3afd1.chunk.js.LICENSE.txt b/static/js/33.391ff637.chunk.js.LICENSE.txt similarity index 100% rename from static/js/33.a0d3afd1.chunk.js.LICENSE.txt rename to static/js/33.391ff637.chunk.js.LICENSE.txt diff --git a/static/js/34.daead028.chunk.js b/static/js/34.a97f8cd6.chunk.js similarity index 72% rename from static/js/34.daead028.chunk.js rename to static/js/34.a97f8cd6.chunk.js index 0c1b662f6..d768ac7a1 100644 --- a/static/js/34.daead028.chunk.js +++ b/static/js/34.a97f8cd6.chunk.js @@ -1,2 +1,2 @@ -/*! For license information please see 34.daead028.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[34,9,14,23],{"+KLJ":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return _}));var r=n("q1tI"),a=n("i8i4"),o=n("MFj2"),i=n("TSYQ"),l=n.n(i),s=n("CtXQ"),c=n("H84U"),u=n("RqAY"),f=n("6CfX");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=E(e);if(t){var a=E(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(){}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(g,e);var t,n,i,p=v(g);function g(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),(t=p.call(this,e)).handleClose=function(e){e.preventDefault();var n=a.findDOMNode(b(t));n.style.height="".concat(n.offsetHeight,"px"),n.style.height="".concat(n.offsetHeight,"px"),t.setState({closing:!0}),(t.props.onClose||w)(e)},t.animationEnd=function(){t.setState({closing:!1,closed:!0}),(t.props.afterClose||w)()},t.renderAlert=function(e){var n,a=e.getPrefixCls,i=t.props,c=i.description,f=i.prefixCls,p=i.message,h=i.closeText,y=i.banner,v=i.className,g=void 0===v?"":v,b=i.style,E=i.icon,w=t.props,_=w.closable,C=w.type,S=w.showIcon,x=w.iconType,O=t.state,N=O.closing,k=O.closed,P=a("alert",f);S=!(!y||void 0!==S)||S,C=y&&void 0===C?"warning":C||"info";var j="filled";if(!x){switch(C){case"success":x="check-circle";break;case"info":x="info-circle";break;case"error":x="close-circle";break;case"warning":x="exclamation-circle";break;default:x="default"}c&&(j="outlined")}h&&(_=!0);var T=l()(P,"".concat(P,"-").concat(C),(m(n={},"".concat(P,"-closing"),N),m(n,"".concat(P,"-with-description"),!!c),m(n,"".concat(P,"-no-icon"),!S),m(n,"".concat(P,"-banner"),!!y),m(n,"".concat(P,"-closable"),_),n),g),R=_?r.createElement("button",{type:"button",onClick:t.handleClose,className:"".concat(P,"-close-icon"),tabIndex:0},h?r.createElement("span",{className:"".concat(P,"-close-text")},h):r.createElement(s.default,{type:"close"})):null,A=Object(u.a)(t.props),D=E&&(r.isValidElement(E)?r.cloneElement(E,{className:l()("".concat(P,"-icon"),m({},E.props.className,E.props.className))}):r.createElement("span",{className:"".concat(P,"-icon")},E))||r.createElement(s.default,{className:"".concat(P,"-icon"),type:x,theme:j});return k?null:r.createElement(o.a,{component:"",showProp:"data-show",transitionName:"".concat(P,"-slide-up"),onEnd:t.animationEnd},r.createElement("div",d({"data-show":!N,className:T,style:b},A),S?D:null,r.createElement("span",{className:"".concat(P,"-message")},p),r.createElement("span",{className:"".concat(P,"-description")},c),R))},Object(f.a)(!("iconType"in e),"Alert","`iconType` is deprecated. Please use `icon` instead."),t.state={closing:!1,closed:!1},t}return t=g,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderAlert)}}])&&h(t.prototype,n),i&&h(t,i),g}(r.Component)},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"13Tz":function(e,t,n){},"2DKY":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("n5Yh")},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"6JOy":function(e,t,n){},"74dF":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("D8SU"),n("TfFZ")},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("VCL8"),i=n("QbLZ"),l=n.n(i),s=n("iCc5"),c=n.n(s),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),m=n("mRg0"),h=n.n(m),y=n("17x9"),v=n.n(y),g=n("YEIV"),b=n.n(g),E=n("TSYQ"),w=n.n(E);function _(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function C(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(function(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),_(t));e.onSuccess(_(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var a in null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),r)r.hasOwnProperty(a)&&null!==r[a]&&t.setRequestHeader(a,r[a]);return t.send(n),{abort:function(){t.abort()}}}var S=+new Date,x=0;function O(){return"rc-upload-"+S+"-"+ ++x}var N=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",o=a.replace(/\/.*$/,"");return n.some((function(e){var t,n,i=e.trim();return"."===i.charAt(0)?(t=r.toLowerCase(),n=i.toLowerCase(),-1!==t.indexOf(n,t.length-n.length)):/\/\*$/.test(i)?o===i.replace(/\/.*$/,""):a===i}))}return!0};var k=function(e,t,n){var r=function e(r,a){a=a||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var a=Array.prototype.slice.apply(n);r=r.concat(a),!a.length?t(r):e()}))}()}(r,(function(t){t.forEach((function(t){e(t,""+a+r.name+"/")}))}))},a=!0,o=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){r(l.value.webkitGetAsEntry())}}catch(e){o=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(o)throw i}}},P=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uid:O()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(){var e=r.fileInput;e&&e.click()},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)k(e.dataTransfer.items,r.uploadFiles,(function(e){return N(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return N(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=O(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var a=r.beforeUpload(e,t);a&&a.then?a.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)})).catch((function(e){console&&console.log(e)})):!1!==a&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.data,a=n.onStart,o=n.onProgress,i=n.transformFile,l=void 0===i?function(e){return e}:i;new Promise((function(t){var r=n.action;if("function"==typeof r)return t(r(e));t(r)})).then((function(i){var s=e.uid,c=n.customRequest||C;Promise.resolve(l(e)).catch((function(e){console.error(e)})).then((function(l){"function"==typeof r&&(r=r(e));var u={action:i,filename:n.name,data:r,file:l,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:o?function(t){o(t,e)}:null,onSuccess:function(r,a){delete t.reqs[s],n.onSuccess(r,e,a)},onError:function(r,a){delete t.reqs[s],n.onError(r,a,e)}};t.reqs[s]=c(u),a(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:O()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,o=t.className,i=t.disabled,s=t.id,c=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,m=t.openFileDialogOnClick,h=w()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,o,o),e)),y=i?{}:{onClick:m?this.onClick:function(){},onKeyDown:m?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(n,l()({},y,{className:h,role:"button",style:c}),a.a.createElement("input",{id:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:f,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:u,onChange:this.onChange}),p)}}]),t}(r.Component);P.propTypes={id:v.a.string,component:v.a.string,style:v.a.object,prefixCls:v.a.string,className:v.a.string,multiple:v.a.bool,directory:v.a.bool,disabled:v.a.bool,accept:v.a.string,children:v.a.any,onStart:v.a.func,data:v.a.oneOfType([v.a.object,v.a.func]),action:v.a.oneOfType([v.a.string,v.a.func]),headers:v.a.object,beforeUpload:v.a.func,customRequest:v.a.func,onProgress:v.a.func,withCredentials:v.a.bool,openFileDialogOnClick:v.a.bool,transformFile:v.a.func};var j=P,T=n("i8i4"),R=n.n(T),A=n("2W6z"),D=n.n(A),I={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},L=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uploading:!1},r.file={},r.onLoad=function(){if(r.state.uploading){var e=r,t=e.props,n=e.file,a=void 0;try{var o=r.getIframeDocument(),i=o.getElementsByTagName("script")[0];i&&i.parentNode===o.body&&o.body.removeChild(i),a=o.body.innerHTML,t.onSuccess(a,n)}catch(e){D()(!1,"cross domain error for Upload. Maybe server should return document.domain script. see Note from https://github.com/react-component/upload"),a="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:O(),name:e.value&&e.value.substring(e.value.lastIndexOf("\\")+1,e.value.length)};r.startUpload();var n=r.props;if(!n.beforeUpload)return r.post(t);var a=n.beforeUpload(t);a&&a.then?a.then((function(){r.post(t)}),(function(){r.endUpload()})):!1!==a?r.post(t):r.endUpload()},r.saveIframe=function(e){r.iframe=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.updateIframeWH(),this.initIframe()}},{key:"componentDidUpdate",value:function(){this.updateIframeWH()}},{key:"getIframeNode",value:function(){return this.iframe}},{key:"getIframeDocument",value:function(){return this.getIframeNode().contentDocument}},{key:"getFormNode",value:function(){return this.getIframeDocument().getElementById("form")}},{key:"getFormInputNode",value:function(){return this.getIframeDocument().getElementById("input")}},{key:"getFormDataNode",value:function(){return this.getIframeDocument().getElementById("data")}},{key:"getFileForMultiple",value:function(e){return this.props.multiple?[e]:e}},{key:"getIframeHTML",value:function(e){var t="",n="";if(e){t='<script>document.domain="'+e+'";<\/script>',n='<input name="_documentDomain" value="'+e+'" />'}return'\n <!DOCTYPE html>\n <html>\n <head>\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n <style>\n body,html {padding:0;margin:0;border:0;overflow:hidden;}\n </style>\n '+t+'\n </head>\n <body>\n <form method="post"\n encType="multipart/form-data"\n action="" id="form"\n style="display:block;height:9999px;position:relative;overflow:hidden;">\n <input id="input" type="file"\n name="'+this.props.name+'"\n style="position:absolute;top:0;right:0;height:9999px;font-size:9999px;cursor:pointer;"/>\n '+n+'\n <span id="data"></span>\n </form>\n </body>\n </html>\n '}},{key:"initIframeSrc",value:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")}},{key:"initIframe",value:function(){var e=this.getIframeNode(),t=e.contentWindow,n=void 0;this.domain=this.domain||"",this.initIframeSrc();try{n=t.document}catch(r){this.domain=document.domain,this.initIframeSrc(),n=(t=e.contentWindow).document}n.open("text/html","replace"),n.write(this.getIframeHTML(this.domain)),n.close(),this.getFormInputNode().onchange=this.onChange}},{key:"endUpload",value:function(){this.state.uploading&&(this.file={},this.state.uploading=!1,this.setState({uploading:!1}),this.initIframe())}},{key:"startUpload",value:function(){this.state.uploading||(this.state.uploading=!0,this.setState({uploading:!0}))}},{key:"updateIframeWH",value:function(){var e=R.a.findDOMNode(this),t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"}},{key:"abort",value:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()}},{key:"post",value:function(e){var t=this,n=this.getFormNode(),r=this.getFormDataNode(),a=this.props.data,o=this.props.onStart;"function"==typeof a&&(a=a(e));var i=document.createDocumentFragment();for(var l in a)if(a.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=a[l],i.appendChild(s)}r.appendChild(i),new Promise((function(n){var r=t.props.action;if("function"==typeof r)return n(r(e));n(r)})).then((function(t){n.setAttribute("action",t),n.submit(),r.innerHTML="",o(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,o=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},I,{display:this.state.uploading||r?"none":""}),f=w()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,o,o),e));return a.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},c)},a.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),s)}}]),t}(r.Component);L.propTypes={component:v.a.string,style:v.a.object,disabled:v.a.bool,prefixCls:v.a.string,className:v.a.string,accept:v.a.string,onStart:v.a.func,multiple:v.a.bool,children:v.a.any,data:v.a.oneOfType([v.a.object,v.a.func]),action:v.a.oneOfType([v.a.string,v.a.func]),name:v.a.string};var M=L;function F(){}var U=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={Component:null},r.saveUploader=function(e){r.uploader=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.supportServerRender&&this.setState({Component:this.getComponent()},this.props.onReady)}},{key:"getComponent",value:function(){return"undefined"!=typeof File?j:M}},{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){if(this.props.supportServerRender){var e=this.state.Component;return e?a.a.createElement(e,l()({},this.props,{ref:this.saveUploader})):null}var t=this.getComponent();return a.a.createElement(t,l()({},this.props,{ref:this.saveUploader}))}}]),t}(r.Component);U.propTypes={component:v.a.string,style:v.a.object,prefixCls:v.a.string,action:v.a.oneOfType([v.a.string,v.a.func]),name:v.a.string,multipart:v.a.bool,directory:v.a.bool,onError:v.a.func,onSuccess:v.a.func,onProgress:v.a.func,onStart:v.a.func,data:v.a.oneOfType([v.a.object,v.a.func]),headers:v.a.object,accept:v.a.string,multiple:v.a.bool,disabled:v.a.bool,beforeUpload:v.a.func,customRequest:v.a.func,onReady:v.a.func,withCredentials:v.a.bool,supportServerRender:v.a.bool,openFileDialogOnClick:v.a.bool},U.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:F,onStart:F,onError:F,onSuccess:F,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var B=U,H=n("qPyV"),z=n.n(H),q=n("UfWW"),K=n.n(q),V=n("MFj2");function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Y(e){return W(W({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Q(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var G=function(e){return!!e&&0===e.indexOf("image/")},J=function(e){if(G(e.type))return!0;var t=e.thumbUrl||e.url,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n};var X=n("CtXQ"),Z=n("3S7+"),$=n("CFYs"),ee=n("H84U");function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var a=ce(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}(i,e);var t,n,a,o=le(i);function i(){var e;return ae(this,i),(e=o.apply(this,arguments)).handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e.handleDownload=function(t){var n=e.props.onDownload;"function"==typeof n?n(t):t.url&&window.open(t.url)},e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.renderUploadList=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.items,s=void 0===l?[]:l,c=o.listType,u=o.showPreviewIcon,f=o.showRemoveIcon,p=o.showDownloadIcon,d=o.locale,m=o.progressAttr,h=a("upload",i),y=s.map((function(t){var n,a,o,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===c||"picture-card"===c)if("picture-card"===c&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(h,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=J(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(h,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(h,"-list-item-thumbnail"),onClick:function(n){return e.handlePreview(t,n)},href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},l)}else i=r.createElement(X.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement($.default,re({type:"line"},m,{percent:t.percent})):null;o=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=w()((ne(n={},"".concat(h,"-list-item"),!0),ne(n,"".concat(h,"-list-item-").concat(t.status),!0),ne(n,"".concat(h,"-list-item-list-type-").concat(c),!0),n)),g="string"==typeof t.linkProps?JSON.parse(t.linkProps):t.linkProps,b=f?r.createElement(X.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,E=p&&"done"===t.status?r.createElement(X.default,{type:"download",title:d.downloadFile,onClick:function(){return e.handleDownload(t)}}):null,_="picture-card"!==c&&r.createElement("span",{key:"download-delete",className:"".concat(h,"-list-item-card-actions ").concat("picture"===c?"picture":"")},E&&r.createElement("a",{title:d.downloadFile},E),b&&r.createElement("a",{title:d.removeFile},b)),C=w()((ne(a={},"".concat(h,"-list-item-name"),!0),ne(a,"".concat(h,"-list-item-name-icon-count-").concat([E,b].filter((function(e){return e})).length),!0),a)),S=t.url?[r.createElement("a",re({key:"view",target:"_blank",rel:"noopener noreferrer",className:C,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),_]:[r.createElement("span",{key:"view",className:C,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),_],x=u?r.createElement("a",{href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:t.url||t.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(n){return e.handlePreview(t,n)},title:d.previewFile},r.createElement(X.default,{type:"eye-o"})):null,O="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},x,"done"===t.status&&E,b);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var N=r.createElement("span",null,i,S),k=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},N),O,r.createElement(V.a,{transitionName:"fade",component:""},o)),P=w()(ne({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(Z.default,{title:y},k):r.createElement("span",null,k))})),v=w()((ne(n={},"".concat(h,"-list"),!0),ne(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(V.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:v},y)},e}return t=i,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.listType,r=t.items,a=t.previewFile;"picture"!==n&&"picture-card"!==n||(r||[]).forEach((function(t){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",a&&a(t.originFileObj).then((function(n){t.thumbUrl=n||"",e.forceUpdate()})))}))}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUploadList)}}])&&oe(t.prototype,n),a&&oe(t,a),i}(r.Component);ue.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(G(e.type)){var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),a=new Image;a.onload=function(){var e=a.width,o=a.height,i=200,l=200,s=0,c=0;e<o?c=-((l=o*(200/e))-i)/2:s=-((i=e*(200/o))-l)/2,r.drawImage(a,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},a.src=window.URL.createObjectURL(e)}else t("")}))}};var fe=n("YMnH"),pe=n("ZvpZ"),de=n("6CfX");function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=we(e);if(t){var a=we(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ee(this,n)}}function Ee(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(i,e);var t,n,a,o=be(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=Y(e);r.status="uploading";var a=n.concat(),o=K()(a,(function(e){return e.uid===r.uid}));-1===o?a.push(r):a[o]=r,t.onChange({file:r,fileList:a}),window.File&&!Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).TEST_IE||t.autoUpdateProgress(0,r)},t.onSuccess=function(e,n,r){t.clearProgressTimer();try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var a=t.state.fileList,o=Q(n,a);o&&(o.status="done",o.response=e,o.xhr=r,t.onChange({file:ye({},o),fileList:a}))},t.onProgress=function(e,n){var r=t.state.fileList,a=Q(n,r);a&&(a.percent=e.percent,t.onChange({event:e,file:ye({},a),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var a=t.state.fileList,o=Q(r,a);o&&(o.error=e,o.response=n,o.status="error",t.onChange({file:ye({},o),fileList:a}))},t.handleRemove=function(e){var n=t.props.onRemove,r=t.state.fileList;Promise.resolve("function"==typeof n?n(e):n).then((function(n){if(!1!==n){var a=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,r);a&&(e.status="removed",t.upload&&t.upload.abort(e),t.onChange({file:e,fileList:a}))}}))},t.onChange=function(e){"fileList"in t.props||t.setState({fileList:e.fileList});var n=t.props.onChange;n&&n(e)},t.onFileDrop=function(e){t.setState({dragState:e.type})},t.beforeUpload=function(e,n){var r=t.props.beforeUpload,a=t.state.fileList;if(!r)return!0;var o=r(e,n);return!1===o?(t.onChange({file:e,fileList:z()(a.concat(n.map(Y)),(function(e){return e.uid}))}),!1):!o||!o.then||o},t.renderUploadList=function(e){var n=t.props,a=n.showUploadList,o=n.listType,i=n.onPreview,l=n.onDownload,s=n.previewFile,c=n.disabled,u=n.locale,f=a.showRemoveIcon,p=a.showPreviewIcon,d=a.showDownloadIcon,m=t.state.fileList;return r.createElement(ue,{listType:o,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:ye(ye({},e),u)})},t.renderUpload=function(e){var n,a=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.className,s=o.showUploadList,c=o.listType,u=o.type,f=o.disabled,p=o.children,d=o.style,m=t.state,h=m.fileList,y=m.dragState,v=a("upload",i),g=ye(ye({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:v,beforeUpload:t.beforeUpload});delete g.className,delete g.style,p&&!f||delete g.id;var b=s?r.createElement(fe.a,{componentName:"Upload",defaultLocale:pe.a.Upload},t.renderUploadList):null;if("drag"===u){var E,_=w()(v,(he(E={},"".concat(v,"-drag"),!0),he(E,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),he(E,"".concat(v,"-drag-hover"),"dragover"===y),he(E,"".concat(v,"-disabled"),f),E),l);return r.createElement("span",null,r.createElement("div",{className:_,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(B,ye({},g,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),b)}var C=w()(v,(he(n={},"".concat(v,"-select"),!0),he(n,"".concat(v,"-select-").concat(c),!0),he(n,"".concat(v,"-disabled"),f),n)),S=r.createElement("div",{className:C,style:p?void 0:{display:"none"}},r.createElement(B,ye({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:w()(l,"".concat(v,"-picture-card-wrapper"))},b,S):r.createElement("span",{className:l},S,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(de.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return t=i,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(n=[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"autoUpdateProgress",value:function(e,t){var n,r=this,a=(n=.1,function(e){var t=e;return t>=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),o=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){o=a(o),r.onProgress({percent:100*o},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&ve(t.prototype,n),a&&ve(t,a),i}(r.Component);_e.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(o.polyfill)(_e);var Ce=_e;function Se(e){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return je(this,n)}}function je(e,t){return!t||"object"!==Se(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Ae=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.style,n=e.height,a=Re(e,["style","height"]);return r.createElement(Ce,xe({},a,{type:"drag",style:xe(xe({},t),{height:n})}))}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Ce.Dragger=Ae;t.default=Ce},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),a=n("spEH"),o=c(n("Rs/d")),i=n("PhNK"),l=n("sYIF"),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.commits,n=e.projectsId,c=e.owner;return r.default.createElement("div",{className:"pb20"},t.map((function(e,t){return r.default.createElement("div",{className:"prCommits"},r.default.createElement("p",{className:"prCreate"},e.created_at),r.default.createElement("div",{className:"prInfo"},r.default.createElement(a.FlexAJ,null,r.default.createElement(a.AlignCenter,null,r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(""+e.sha),className:"commitKey",style:{marginLeft:0}},(0,i.truncateCommitId)(""+e.sha)),r.default.createElement("p",{className:"ml15 font-16 color-grey-3 task-hide",style:{maxWidth:"700px"}},e.message)),r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(a.AlignCenter,{className:"mt15"},r.default.createElement(o.default,{url:(0,l.getImageUrl)("/"+(e.committer&&e.committer.image_url)),name:""+(e.committer&&e.committer.name)}),r.default.createElement("span",null,":提交于",e.time_from_now))))})))}},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("CtXQ")),a=p(n("2/Rp")),o=p(n("8z0m")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("2oDE"),n("L/Qf"),n("7W5+");var s=n("q1tI"),c=p(s),u=n("sYIF"),f=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Dragger,m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.checkInitFile()},n.componentDidUpdate=function(e){e&&e.fileList!==n.props.fileList&&n.checkInitFile()},n.checkInitFile=function(){var e=n.props.fileList;e&&e.length>0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";f.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&(e.response.id||e.response.data&&e.response.data.id))})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024<t;return r||n.props.showNotification("文件大小必须小于"+t+"MB!"),r},n.state={fileList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,l=e.btn,s=e.className,f=e.size,p=e.actionUrl,m=this.state.fileList,h={name:"file",fileList:!0===t?m:void 0,action:p||""+(0,u.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return l?c.default.createElement(o.default,i({},h,{className:s}),c.default.createElement(a.default,{type:"default"},"上传文件"),c.default.createElement("span",{className:"ml10 color-grey-9"},"(你可以上传小于",c.default.createElement("span",{className:"color-red"},f,"MB"),"的文件)")):c.default.createElement(d,i({},h,{className:s}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-16 color-grey-3"},"拖动文件或点击此处上传"))}}]),t}(s.Component);t.default=m},CZoQ:function(e,t){e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},Fyak:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(n("ZTPi")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("AUBz");var l=n("q1tI"),s=d(l);n("6JOy"),n("js5m");var c=d(n("AubP")),u=d(n("dIAb")),f=d(n("aABL")),p=d(n("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}var m=a.default.TabPane,h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props,t=e.footer_type,r=e.data;if(t){var a=n.props.match.params,o=a.projectsId,i=a.owner,l=a.mergeId;n.getCommit(i,o,l),n.getFile(i,o,l)}n.setState({activeKey:t?"1":"2",commitCount:r&&r.commits_count,filesCount:r&&r.files_count})},n.componentDidUpdate=function(e){var t=n.props.comparesData,r=n.props.footer_type;if(r){var a=n.props.data;a!==e.data&&n.setState({commitCount:a&&a.commits_count,filesCount:a&&a.files_count})}t!==e.comparesData&&(n.setState({activeKey:r?"1":"2"}),n.changeTab(r?"1":"2"))},n.changeTab=function(e){n.setState({isSpin:!0}),n.setState({activeKey:e});var t=n.props,r=t.footer_type,a=t.comparesData,o=n.props.match.params,i=o.projectsId,l=o.owner,s=o.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,s):n.setState({isSpin:!1}):n.setState({commitsData:a.commits,filesData:a.diff,commitCount:a.commits_count,filesCount:a.diff&&a.diff.files_count,isSpin:!1})},n.getCommit=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/commits.json";p.default.get(a).then((function(e){e&&n.setState({commitsData:e.data.commits,isSpin:!1,commitCount:e.data.commits_count})})).catch((function(e){}))},n.getFile=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/files.json";p.default.get(a).then((function(e){e&&n.setState({filesData:e.data,isSpin:!1,filesCount:e.data.files_count})})).catch((function(e){}))},n.state={pageData:void 0,commitsData:void 0,filesData:void 0,isSpin:!1,activeKey:"1",commitCount:0,filesCount:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner,i=this.props,l=i.footer_type,p=i.order_id,d=i.data,h=i.comparesData,y=this.state,v=y.isSpin,g=y.activeKey,b=y.filesCount,E=y.commitCount,w=y.filesData,_=y.commitsData;return!l&&!h||h&&(h.commits&&0===h.commits.length||h&&!h.diff)?"":s.default.createElement("div",{className:"main mergeRequest",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:v},s.default.createElement(a.default,{activeKey:g,className:"custom-commit-tabs",animated:!1,onChange:this.changeTab},l&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"评论"),d&&parseInt(d.comments_count)>0&&s.default.createElement("span",{className:"tabNum"},d.comments_count)),key:"1"},s.default.createElement(u.default,o({order_id:p,showNotification:this.props.showNotification,only_show_content:!0},this.props))),_&&_.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"提交"),E>0&&s.default.createElement("span",{className:"tabNum"},E)),key:"2"},s.default.createElement(c.default,o({},this.props,{commits:_,projectsId:t,owner:n}))),w&&w.files&&w.files.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"文件"),b>0&&s.default.createElement("span",{className:"tabNum"},b)),key:"3"},s.default.createElement(f.default,o({},this.props,{data:w,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}},LGYb:function(e,t,n){var r=n("1hJj"),a=n("jbM+"),o=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),s=n("rEGp");e.exports=function(e,t,n){var c=-1,u=a,f=e.length,p=!0,d=[],m=d;if(n)p=!1,u=o;else if(f>=200){var h=t?null:l(e);if(h)return s(h);p=!1,u=i,m=new r}else m=t?[]:d;e:for(;++c<f;){var y=e[c],v=t?t(y):y;if(y=n||0!==y?y:0,p&&v==v){for(var g=m.length;g--;)if(m[g]===v)continue e;t&&m.push(v),d.push(y)}else u(m,v,n)||(m!==d&&m.push(v),d.push(y))}return d}},LXko:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("74dF"),n("vAZS"),n("04bd"),n("YQTV"),n("4t1q")},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),a=p(n("W9HT")),o=p(n("NJEC")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),s=p(l),c=n("eO8H"),u=p(n("vDqi")),f=p(n("UQ5L"));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){n.setState({canDelete:n.props.canDelete})},n.show_video_modal=function(e){n.setState({video_title:e.title,move_spin:!0,video_id:e.id}),n.move_attachment(e.id,"preview")},n.hide_video_modal=function(){var e=n.state.video_id;n.setState({video_title:void 0}),n.move_attachment(e,"close")},n.move_attachment=function(e,t){u.default.post("/attachments/"+e+"/preview_attachment",{status:t}).then((function(e){e?n.setState({show_video:"preview"===t,video_url:"preview"===t?"https://forgeplus.trustie.net"+e.data.url:void 0,move_spin:!1}):n.setState({move_spin:!1})})).catch((function(e){n.setState({move_spin:!1}),console.log(e)}))},n.is_video=function(e){return["mp4","flv","mkv","3gp"].indexOf(e.split(".").pop())>-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,i=t.canDelete,l=t.show_video,u=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return s.default.createElement("div",null,m?s.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return s.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},s.default.createElement(a.default,{spinning:d},e.is_video(t.title)?s.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)):s.default.createElement(c.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)),i?s.default.createElement(o.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},s.default.createElement("span",{className:"attachment-list-delete fr"},s.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?s.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},s.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("VCL8"),o=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(f,e);var t,n,a,i=h(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=i.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(v(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(v(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,n){var a=t.props,o=a.okButtonProps,i=a.cancelButtonProps,s=a.title,c=a.cancelText,u=a.okText,f=a.okType,d=a.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},d,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},o),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.placement,u=b(a,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(o.default,p({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return t=f,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(n=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var n=this.props;"visible"in n||this.setState({visible:e});var r=n.onVisibleChange;r&&r(e,t)}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderConfirm)}}])&&d(t.prototype,n),a&&d(t,a),f}(r.Component);E.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(a.polyfill)(E),t.default=E},OQrj:function(e,t,n){},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},"R/W3":function(e,t,n){var r=n("KwMD"),a=n("2ajD"),o=n("CZoQ");e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,a,n)}},R3zJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=function(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},a=r(["flex","webkitFlex","Flex","msFlex"]);t.a=r},RqAY:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||"data-__"===n.substr(0,7)||(t[n]=e[n]),t}),{})}n.d(t,"a",(function(){return r}))},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),i=c(n("q1tI")),l=c(n("vOnD")),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,a=e.id,c=e.login,u=l.default.span(o,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return a?i.default.createElement(s.Link,{to:"/"+c},i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))):i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],a=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],o=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],i=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],f=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,a){if(n){var o={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(o),a.push.apply(a,o.decorations)}}var d=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&d.test(n.nodeValue)?e:t}return t===e?void 0:t}function h(e,t){var n,r={};!function(){for(var a=e.concat(t),o=[],i={},l=0,s=a.length;l<s;++l){var c=a[l],u=c[3];if(u)for(var f=u.length;--f>=0;)r[u.charAt(f)]=c;var p=c[1],d=""+p;i.hasOwnProperty(d)||(o.push(p),i[d]=null)}o.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,a=0,o=e.length;a<o;++a){if((p=e[a]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var i={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=i[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],a=["["];r&&a.push("^");for(var o=r?1:0,i=t.length;o<i;++o){var c=t[o];if(/\\[bdsw]/i.test(c))a.push(c);else{var u,f=l(c);o+2<i&&"-"===t[o+1]?(u=l(t[o+2]),o+=2):u=f,n.push([f,u]),u<65||f>122||(u<65||f>90||n.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||n.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],d=[];for(o=0;o<n.length;++o){(m=n[o])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(o=0;o<p.length;++o){var m=p[o];a.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&a.push("-"),a.push(s(m[1])))}return a.push("]"),a.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),a=r.length,o=[],i=0,l=0;i<a;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?o[u]=-1:r[i]=s(u))}}for(i=1;i<o.length;++i)-1===o[i]&&(o[i]=++t);for(i=0,l=0;i<a;++i){if("("===(f=r[i]))o[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+o[u])}}for(i=0;i<a;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<a;++i){var f,p=(f=r[i]).charAt(0);f.length>=2&&"["===p?r[i]=c(f):"\\"!==p&&(r[i]=f.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var f=[];for(a=0,o=e.length;a<o;++a){var p;if((p=e[a]).global||p.multiline)throw new Error(""+p);f.push("(?:"+u(p)+")")}return new RegExp(f.join("|"),r?"gi":"g")}(o)}();var a=t.length,o=function(e){for(var i=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,f=i.match(n)||[],d={},m=0,h=f.length;m<h;++m){var y,v=f[m],g=d[v],b=void 0;if("string"==typeof g)y=!1;else{var E=r[v.charAt(0)];if(E)b=v.match(E[1]),g=E[0];else{for(var _=0;_<a;++_)if(E=t[_],b=v.match(E[1])){g=E[0];break}b||(g="pln")}!(y=g.length>=5&&"lang-"===g.substring(0,5))||b&&"string"==typeof b[1]||(y=!1,g="src"),y||(d[v]=g)}var C=u;if(u+=v.length,y){var S=b[1],x=v.indexOf(S),O=x+S.length;b[2]&&(x=(O=v.length-b[2].length)-S.length);var N=g.substring(5);p(s,l+C,v.substring(0,x),o,c),p(s,l+C+x,S,w(N,S),c),p(s,l+C+O,v.substring(O),o,c)}else c.push(l+C,g)}e.decorations=c};return o}function y(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var a=e.regexLiterals;if(a){var o=a>1?"":"\n\r",i=o?".":"[\\S\\s]",l="/(?=[^/*"+o+"])(?:[^/\\x5B\\x5C"+o+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+o+"]|\\x5C"+i+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),h(t,n)}var v=y({keywords:[r,o,a,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,a=/\r\n?|\n/,o=e.ownerDocument,i=o.createElement("li");e.firstChild;)i.appendChild(e.firstChild);var l=[i];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var i=e.nodeValue,l=i.match(a);if(l){var u=i.substring(0,l.index);e.nodeValue=u;var f=i.substring(l.index+l[0].length);if(f)e.parentNode.insertBefore(o.createTextNode(f),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,a=t.parentNode;if(a){var o=e(a,1),i=t.nextSibling;o.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,o.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var f=o.createElement("ol");f.className="linenums";for(var p=Math.max(0,t-1|0)||0,d=(u=0,l.length);u<d;++u)(i=l[u]).className="L"+(u+p)%10,i.firstChild||i.appendChild(o.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function E(t,n){for(var r=n.length;--r>=0;){var a=n[r];b.hasOwnProperty(a)?e.console&&console.warn("cannot override language handler %s",a):b[a]=t}}function w(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function _(t){var n,r,a,o,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,a=/(?:^|\s)nocode(?:\s|$)/,o=[],i=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(a.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(o[s]="\n",l[s<<1]=i++,l[s++<<1|1]=t)}else if(3==n||4==n){var f=t.nodeValue;f.length&&(f=r?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),o[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:o.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,w(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,a=/\n/g,o=e.sourceCode,i=o.length,l=0,s=e.spans,c=s.length,u=0,f=e.decorations,p=f.length,d=0;for(f[p]=i,r=n=0;r<p;)f[r]!==f[r+2]?(f[n++]=f[r++],f[n++]=f[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=f[r],h=f[r+1],y=r+2;y+2<=p&&f[y+1]===h;)y+=2;f[n++]=m,f[n++]=h,r=y}p=f.length=n;var v=e.sourceNode,g="";v&&(g=v.style.display,v.style.display="none");try{for(;u<c;){s[u];var b,E=s[u+2]||i,w=f[d+2]||i,_=(y=Math.min(E,w),s[u+1]);if(1!==_.nodeType&&(b=o.substring(l,y))){t&&(b=b.replace(a,"\r")),_.nodeValue=b;var C=_.ownerDocument,S=C.createElement("span");S.className=f[d+1];var x=_.parentNode;x.replaceChild(S,_),S.appendChild(_),l<E&&(s[u+1]=_=C.createTextNode(o.substring(y,E)),x.insertBefore(_,S.nextSibling))}(l=y)>=E&&(u+=2),l>=w&&(d+=2)}}finally{v&&(v.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function C(e,t,n){var r=n||!1,a=t||null,o=document.createElement("div");return o.innerHTML="<pre>"+e+"</pre>",o=o.firstChild,r&&g(o,r,!0),_({langExtension:a,numberLines:r,sourceNode:o,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),o.innerHTML}function S(t,n){var r=n||document.body,a=r.ownerDocument||document;function o(e){return r.getElementsByTagName(e)}for(var i=[o("pre"),o("code"),o("xmp")],l=[],s=0;s<i.length;++s)for(var c=0,u=i[s].length;c<u;++c)l.push(i[s][c]);i=null;var f=Date;f.now||(f={now:function(){return+new Date}});var p=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,y=/\bprettyprinted\b/,v=/pre|xmp/i,b=/^code$/i,E=/^(?:pre|code|xmp)$/i,w={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var o=l[p],i=w,s=o;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){i={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){i[t]=n}));break}}var C=o.className;if((i!==w||h.test(C))&&!y.test(C)){for(var S=!1,x=o.parentNode;x;x=x.parentNode){var O=x.tagName;if(E.test(O)&&x.className&&h.test(x.className)){S=!0;break}}if(!S){o.className+=" prettyprinted";var N,k,P=i.lang;if(!P)!(P=C.match(d))&&(N=m(o))&&b.test(N.tagName)&&(P=N.className.match(d)),P&&(P=P[1]);if(v.test(o.tagName))k=1;else{var j=o.currentStyle,T=a.defaultView,R=j?j.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(o,null).getPropertyValue("white-space"):0;k=R&&"pre"===R.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=C.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(o,A,k),_({langExtension:P,sourceNode:o,numberLines:A,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}E(v,["default-code"]),E(h([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),E(h([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),E(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),E(y({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),E(y({keywords:"null,true,false"}),["json"]),E(y({keywords:o,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),E(y({keywords:a,cStyleComments:!0}),["java"]),E(y({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),E(y({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),E(y({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),E(y({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),E(y({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),E(y({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),E(h([],[["str",/^[\s\S]+/]]),["regex"]);var x=e.PR={createSimpleLexer:h,registerLangHandler:E,sourceDecorator:y,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:C,prettyPrint:S},O=e.define;"function"==typeof O&&O.amd&&O("google-code-prettify",[],(function(){return x}))}()},Sxd8:function(e,t,n){var r=n("ZCgT");e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},TiQt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=C(n("Vl3Y")),a=C(n("W9HT")),o=C(n("jsC+")),i=C(n("CtXQ")),l=C(n("+KLJ")),s=C(n("mr32")),c=C(n("BvKs")),u=C(n("2/Rp")),f=C(n("ZTPi")),p=C(n("5rEg")),d=C(n("2fM7")),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("tULf"),n("04bd"),n("aIZi"),n("2oDE"),n("2DKY"),n("0lcf"),n("2WkQ"),n("L/Qf"),n("AUBz"),n("1vPl"),n("8QGh");var y=n("q1tI"),v=C(y),g=n("eO8H"),b=(n("spEH"),C(n("vDqi"))),E=n("sYIF");n("js5m");var w=C(n("bjH3"));n("6JOy");var _=C(n("Fyak"));function C(e){return e&&e.__esModule?e:{default:e}}d.default.Option;var S=p.default.TextArea;var x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.setState({SpinFlag:!0}),n.getDetail()},n.clickBody=function(){document.body.addEventListener("click",(function(e){var t=e.target.className;t.indexOf("notHide")>-1||t.indexOf("ant-tabs-tab")>-1||"ant-tabs-nav-scroll"===t||n.setState({copyVisible:!1})}))},n.getDetail=function(){var e=n.props.match.params,t=e.projectsId,r=e.mergeId,a="/"+e.owner+"/"+t+"/pulls/"+r+".json";b.default.get(a).then((function(e){e&&e.data?n.setState({data:e.data,SpinFlag:!1,pr_status:e.data.pull_request&&e.data.pull_request.status,pull_request:e.data.pull_request,conflict_files:e.data.conflict_files}):n.setState({SpinFlag:!1})})).catch((function(e){n.setState({SpinFlag:!1}),console.log(e)}))},n.closedetail=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.mergeId,a="/"+e.owner+"/"+t+"/pulls/"+r+"/refuse_merge.json";b.default.post(a).then((function(e){if(e){n.setState({isSpin:!1,pr_status:2});var t=n.props.getDetail;t&&t()}else n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.prmerge=function(){n.setState({SpinMerge:!0});var e=n.props.match.params,t=e.projectsId,r=e.owner,a=n.state,o=a.data,i=a.title,l=a.body,s=a.mergekey,c=(a.pr_status,"/"+r+"/"+t+"/pulls/"+o.pull_request.id+"/pr_merge.json");b.default.post(c,{project_id:t,id:o.pull_request.id,do:s,body:l,title:i}).then((function(e){if(e){n.setState({SpinMerge:!1,pr_status:1});var t=n.props.getDetail;t&&t()}else n.setState({SpinMerge:!1})})).catch((function(e){n.setState({SpinMerge:!1}),console.log(e)}))},n.changtitlepr=function(e){n.setState({title:e.target.value})},n.changbodypr=function(e){n.setState({body:e.target.value})},n.submitmerge=function(){"rebase"===n.state.mergekey?n.setState({buttonshow:"block",ismesrge:!0}):n.setState({ismesrge:"block",buttonshow:!1})},n.nonemerge=function(){n.setState({ismesrge:!1,buttonshow:"none"})},n.getOption=function(e){"rebase"===e.key?n.setState({mergename:e.item.props.value,mergekey:e.key,title:"",body:"",buttonshow:"block"}):n.setState({mergename:e.item.props.value,mergekey:e.key,title:"",body:"",ismesrge:!0,buttonshow:"block"})},n.cancelSubmit=function(){n.setState({editMerge:!1})},n.commentCtx=function(e){return v.default.createElement(w.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.setCopyVisible=function(e){e.stopPropagation(),n.setState({copyVisible:!0})},n.copyItem=function(){return v.default.createElement("div",{className:"copyTab notHide"},v.default.createElement(f.default,{defaultActiveKey:"1",className:"notHide",animated:!1,size:"small"},v.default.createElement(f.default.TabPane,{key:"1",tab:v.default.createElement("span",{className:"notHide"},"HTTPS")},n.returnCopyUrl("https://gitee.com/44886/polhttp.git")),v.default.createElement(f.default.TabPane,{key:"2",tab:v.default.createElement("span",{className:"notHide"},"SSH")},n.returnCopyUrl("https://gitee.com/44886/polssh.git"))))},n.returnCopyUrl=function(e){return v.default.createElement("div",{className:"df notHide"},v.default.createElement(p.default,{value:e,className:"notHide",disabled:!0}),v.default.createElement(u.default,{type:"primary",ghost:!0,className:"ml15 notHide"},"复制"))},n.jsCopy=function(){var e=document.querySelector("#descContent"),t=document.createRange();window.getSelection().removeAllRanges(),t.selectNode(e),window.getSelection().addRange(t),document.execCommand("Copy")},n.mergeabledMes=function(){return v.default.createElement("div",{className:"clearfix"},v.default.createElement("p",{className:"fl"},"该分支存在冲突,无法自动合并,你可以尝试通过如下命令手动合并"),v.default.createElement("i",{className:"iconfont icon-fuzhi font-16 fr",onClick:function(){return n.jsCopy()}}))},n.mergeabledDesc=function(e,t,n){return v.default.createElement("div",null,v.default.createElement("ul",{id:"descContent"},v.default.createElement("li",null,"git fetch origin"),v.default.createElement("li",null,"git checkout -b ",""+e," origin/",""+e),v.default.createElement("li",null,"git merge ",""+t)),n&&n.length>0&&v.default.createElement("div",null,v.default.createElement("p",{className:"mt10 font-16 pt10",style:{borderTop:"1px solid #f9d7d5"}},"如下文件有代码冲突:"),v.default.createElement("p",null,n.map((function(e,t){return v.default.createElement("p",null,e)})))))},n.state={data:void 0,isSpin:!1,ismesrge:!1,buttonshow:"none",mergename:"合并请求",mergekey:"merge",title:"",body:"",SpinFlag:!0,SpinMerge:!1,edit_spin:!1,pr_status:void 0,pull_request:void 0,conflict_files:[],copyVisible:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),h(t,[{key:"render",value:function(){var e,t=this,n=this.props.match.params,r=n.projectsId,f=n.mergeId,d=n.owner,h=this.state,y=h.data,b=h.SpinMerge,w=h.pr_status,C=h.isSpin,x=h.ismesrge,O=h.SpinFlag,N=(h.copyVisible,h.pull_request),k=h.conflict_files,P=this.props,j=P.current_user,T=P.projectDetail,R=v.default.createElement(c.default,{onClick:function(e){return t.getOption(e)}},v.default.createElement(c.default.Item,{key:"merge",value:"合并请求"},"合并请求"),v.default.createElement(c.default.Item,{key:"rebase",value:"变基并合并"},"变基并合并"),v.default.createElement(c.default.Item,{key:"rebase-merge",value:"变基合并 --no-ff"},"变基合并 --no-ff"),v.default.createElement(c.default.Item,{key:"squash",value:"压缩提交并合并"},"压缩提交并合并")),A=T&&("Admin"===T.permission||"Owner"===T.permission||"Manager"===T.permission),D=j&&j.login&&T&&0===w&&A;return v.default.createElement("div",null,y?v.default.createElement("div",null,v.default.createElement("div",{className:"main"},v.default.createElement("div",null,v.default.createElement("div",{className:"grid-item-top pb20 border-1f"},v.default.createElement("div",null,v.default.createElement("div",{className:"ver-middle"},v.default.createElement("span",{className:"mr10 ver-middle"},v.default.createElement("span",{className:"font-18 fwb"},y.issue.subject)),y.pull_request&&v.default.createElement(s.default,{className:"pr_tags_"+y.pull_request.pull_request_staus},1===w?"已合并":2===w?"已拒绝":"开启的")),v.default.createElement("div",{className:"mt15"},v.default.createElement(s.default,{className:"pr-branch-tag"},v.default.createElement(g.Link,{to:"/"+(y.pull_request.is_original?y.pull_request.fork_project_user:y.issue.project_author_name)+"/"+(y.pull_request.is_original?y.project_identifier:r)+"/tree/"+(e=y.pull_request&&y.pull_request.head,e&&e.length>0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e),className:"ver-middle"},y.pull_request.is_original?y.pull_request.fork_project_user:y.issue.project_author_name,": ",y.pull_request&&y.pull_request.head)),v.default.createElement("span",{className:"mr8 ver-middle"},v.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-16"})),v.default.createElement(s.default,{className:"pr-branch-tag"},v.default.createElement(g.Link,{to:"/"+d+"/"+r+"/tree/"+y.pull_request.base,className:"ver-middle"},y.issue.project_author_name,":",y.pull_request.base))),v.default.createElement("div",{className:"mt15"},v.default.createElement(g.Link,{to:"/"+y.issue.author_login,className:"show-user-link"},v.default.createElement("img",{className:"mr5",src:(0,E.getImageUrl)("/"+y.issue.author_picture),alt:"",width:"24",height:"24",style:{borderRadius:"50%"}})),v.default.createElement("span",{className:"ver-middle"},v.default.createElement("span",{className:"color-grey-8 mr5"},"由"),v.default.createElement(g.Link,{to:"/"+y.issue.author_login,className:"show-user-link color-blue"},y.issue.author_name),v.default.createElement("span",{className:"ml5 color-grey-8"},0===w?"创建于":1===w?"合并于":"更新于"),v.default.createElement("span",{className:"color-grey-8 ml5"},y.pr_time),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"审查人员:"),y.issue.assign_user_name?v.default.createElement(g.Link,{to:"/"+y.issue.assign_user_login,className:"show-user-link color-blue"},y.issue.assign_user_name):"--"),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"里程碑:"),v.default.createElement("span",{className:"color-grey-3"},y.issue.version?y.issue.version:"--")),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"标记:"),v.default.createElement("span",{className:"color-grey-3"},y.issue.issue_tags&&y.issue.issue_tags.length>0?y.issue.issue_tags[0].name:"--")),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"优先级:"),v.default.createElement("span",{className:"color-grey-3"},y.issue.priority?y.issue.priority:"--"))))),v.default.createElement("div",{className:"ml10"},v.default.createElement("div",{className:"mt15 text-right",style:{display:"flex",justifyContent:"flex-end"}},D&&v.default.createElement(u.default,{type:"green",ghost:!0,className:"ml20",onClick:function(){t.props.history.push("/"+d+"/"+r+"/pulls/"+f+"/UpdateMerge")}},"编辑"),D&&v.default.createElement(u.default,{type:"danger",ghost:!0,onClick:function(){return t.closedetail()},className:"ml20",loading:C},"拒绝")))),y.issue.description?v.default.createElement("div",{className:"mt15"},this.commentCtx(y.issue.description)):v.default.createElement("p",{className:"color-grey-9 ml3 mr3 mt15"},"没有描述")),v.default.createElement("div",{className:"mt15"},2===w&&v.default.createElement(l.default,{message:"提示",description:"该合并请求已被拒绝",type:"error"}),1===w&&v.default.createElement(l.default,{message:"提示",description:"该合并请求已被合并",type:"success"}),D&&v.default.createElement(a.default,{spinning:O},v.default.createElement("div",{style:{display:"rebase"===this.state.mergekey?"none"===this.state.buttonshow?"block":"none":x?"none":"block"}},v.default.createElement(o.default.Button,{overlay:R,type:"primary",onClick:this.submitmerge,className:"mb15",icon:v.default.createElement(i.default,{type:"caret-down"}),disabled:!N||N&&!N.mergeable},this.state.mergename),N&&N.mergeable?v.default.createElement(l.default,{message:"该合并请求可以进行自动合并操作",type:"success",showIcon:!0}):v.default.createElement(l.default,{message:this.mergeabledMes(),type:"error",description:this.mergeabledDesc(N.base,N.head,k),showIcon:!0})),v.default.createElement("div",null,v.default.createElement("div",{style:{display:x?"block":"none",marginTop:15}},v.default.createElement(p.default,{placeholder:"标题",value:this.state.title,onChange:this.changtitlepr}),v.default.createElement(S,{placeholder:"请输入合并描述...",style:{height:"170px",marginTop:20},value:this.state.body,onChange:this.changbodypr})),v.default.createElement("p",{className:"clearfix mt15",style:{display:this.state.buttonshow}},v.default.createElement(a.default,{spinning:b},v.default.createElement(u.default,{type:"primary",onClick:function(){return t.prmerge()}},"确认合并"),v.default.createElement(u.default,{onClick:function(){return t.nonemerge()},className:"ml15"},"取消"))))))),v.default.createElement(_.default,m({footer_type:!0,order_id:y&&y.issue.id},this.props,this.state))):"")}}]),t}(y.Component),O=r.default.create({name:"MessageCountForm"})(x);t.default=O},UQ5L:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n("q1tI"),o=l(a),i=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,a.useState)(null),n=r(t,2),l=n[0],s=n[1];return(0,a.useEffect)((function(){s(e.video_url)}),[]),o.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),a=n("ut/Y"),o=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:o(n);return s<0&&(s=i(l+s,0)),r(e,a(t,3),s)}},VPG4:function(e,t,n){},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return M}));var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),i=n.n(o),l=n("BGR+"),s=n("W9HT"),c=n("H84U"),u=n("NUBc"),f=n("qrJ5"),p=n("/kpp");function d(e){if(!r.isValidElement(e))return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return r.cloneElement.apply(r,[e].concat(n))}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var a=w(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function S(e,t){return e[t]&&Math.floor(24/e[t])}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(l,e);var t,n,a,o=b(l);function l(){var e;return y(this,l),(e=o.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,a=e.context,o=a.grid,l=a.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=C(s,["prefixCls","children","actions","extra","className"]),g=n("list",c),b=f&&f.length>0&&r.createElement("ul",{className:"".concat(g,"-item-action"),key:"actions"},f.map((function(e,t){return r.createElement("li",{key:"".concat(g,"-item-action-").concat(t)},e,t!==f.length-1&&r.createElement("em",{className:"".concat(g,"-item-action-split")}))}))),E=o?"div":"li",w=r.createElement(E,_({},v,{className:i()("".concat(g,"-item"),y,h({},"".concat(g,"-item-no-flex"),!e.isFlexMode()))}),"vertical"===l&&m?[r.createElement("div",{className:"".concat(g,"-item-main"),key:"content"},u,b),r.createElement("div",{className:"".concat(g,"-item-extra"),key:"extra"},m)]:[u,b,d(m,{key:"extra"})]);return o?r.createElement(p.a,{span:S(o,"column"),xs:S(o,"xs"),sm:S(o,"sm"),md:S(o,"md"),lg:S(o,"lg"),xl:S(o,"xl"),xxl:S(o,"xxl")},w):w},e}return t=l,(n=[{key:"isItemContainsTextNodeAndNotSingular",value:function(){var e,t=this.props.children;return r.Children.forEach(t,(function(t){"string"==typeof t&&(e=!0)})),e&&r.Children.count(t)>1}},{key:"isFlexMode",value:function(){var e=this.props.extra;return"vertical"===this.context.itemLayout?!!e:!this.isItemContainsTextNodeAndNotSingular()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderItem)}}])&&v(t.prototype,n),a&&v(t,a),l}(r.Component);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I(e);if(t){var a=I(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return D(this,n)}}function D(e,t){return!t||"object"!==O(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}x.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,a=e.prefixCls,o=e.className,l=e.avatar,s=e.title,c=e.description,u=C(e,["prefixCls","className","avatar","title","description"]),f=n("list",a),p=i()("".concat(f,"-item-meta"),o),d=r.createElement("div",{className:"".concat(f,"-item-meta-content")},s&&r.createElement("h4",{className:"".concat(f,"-item-meta-title")},s),c&&r.createElement("div",{className:"".concat(f,"-item-meta-description")},c));return r.createElement("div",_({},u,{className:p}),l&&r.createElement("div",{className:"".concat(f,"-item-meta-avatar")},l),(s||c)&&d)}))},x.contextTypes={grid:a.any,itemLayout:a.string};var L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(p,e);var t,n,a,o=A(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=o.call(this,e)).defaultPaginationProps={current:1,total:0},t.keys={},t.onPaginationChange=t.triggerPaginationEvent("onChange"),t.onPaginationShowSizeChange=t.triggerPaginationEvent("onShowSizeChange"),t.renderItem=function(e,n){var r,a=t.props,o=a.renderItem,i=a.rowKey;return o?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,o(e,n)):null},t.renderEmpty=function(e,n){var a=t.props.locale;return r.createElement("div",{className:"".concat(e,"-empty-text")},a&&a.emptyText||n("List"))},t.renderList=function(e){var n,a=e.getPrefixCls,o=e.renderEmpty,c=t.state,p=c.paginationCurrent,d=c.paginationSize,m=t.props,h=m.prefixCls,y=m.bordered,v=m.split,g=m.className,b=m.children,E=m.itemLayout,w=m.loadMore,_=m.pagination,C=m.grid,S=m.dataSource,x=void 0===S?[]:S,O=m.size,k=m.header,T=m.footer,R=m.loading,A=L(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),D=a("list",h),I=R;"boolean"==typeof I&&(I={spinning:I});var M=I&&I.spinning,F="";switch(O){case"large":F="lg";break;case"small":F="sm"}var U=i()(D,g,(j(n={},"".concat(D,"-vertical"),"vertical"===E),j(n,"".concat(D,"-").concat(F),F),j(n,"".concat(D,"-split"),v),j(n,"".concat(D,"-bordered"),y),j(n,"".concat(D,"-loading"),M),j(n,"".concat(D,"-grid"),C),j(n,"".concat(D,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),B=P(P(P({},t.defaultPaginationProps),{total:x.length,current:p,pageSize:d}),_||{}),H=Math.ceil(B.total/B.pageSize);B.current>H&&(B.current=H);var z,q=_?r.createElement("div",{className:"".concat(D,"-pagination")},r.createElement(u.default,P({},B,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,K=N(x);if(_&&x.length>(B.current-1)*B.pageSize&&(K=N(x).splice((B.current-1)*B.pageSize,B.pageSize)),z=M&&r.createElement("div",{style:{minHeight:53}}),K.length>0){var V=K.map((function(e,n){return t.renderItem(e,n)})),W=[];r.Children.forEach(V,(function(e,n){W.push(r.cloneElement(e,{key:t.keys[n]}))})),z=C?r.createElement(f.a,{gutter:C.gutter},W):r.createElement("ul",{className:"".concat(D,"-items")},W)}else b||M||(z=t.renderEmpty(D,o));var Y=B.position||"bottom";return r.createElement("div",P({className:U},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===Y||"both"===Y)&&q,k&&r.createElement("div",{className:"".concat(D,"-header")},k),r.createElement(s.default,I,z,b),T&&r.createElement("div",{className:"".concat(D,"-footer")},T),w||("bottom"===Y||"both"===Y)&&q)};var n=e.pagination,a=n&&"object"===O(n)?n:{};return t.state={paginationCurrent:a.defaultCurrent||1,paginationSize:a.defaultPageSize||10},t}return t=p,(n=[{key:"getChildContext",value:function(){return{grid:this.props.grid,itemLayout:this.props.itemLayout}}},{key:"triggerPaginationEvent",value:function(e){var t=this;return function(n,r){var a=t.props.pagination;t.setState({paginationCurrent:n,paginationSize:r}),a&&a[e]&&a[e](n,r)}}},{key:"isSomethingAfterLastItem",value:function(){var e=this.props,t=e.loadMore,n=e.pagination,r=e.footer;return!!(t||n||r)}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderList)}}])&&T(t.prototype,n),a&&T(t,a),p}(r.Component);M.Item=x,M.childContextTypes={grid:a.any,itemLayout:a.string},M.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},"Xt/L":function(e,t){e.exports=function(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}},ZCgT:function(e,t,n){var r=n("tLB3");e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return We}));var r=n("q1tI"),a=n.n(r),o=n("i8i4"),i=n("QbLZ"),l=n.n(i),s=n("YEIV"),c=n.n(s),u=n("jo6Y"),f=n.n(u),p=n("iCc5"),d=n.n(p),m=n("V7oC"),h=n.n(m),y=n("FYw3"),v=n.n(y),g=n("mRg0"),b=n.n(g),E=n("17x9"),w=n.n(E),_=n("TSYQ"),C=n.n(_),S=n("n1GQ"),x=n.n(S),O=n("VCL8"),N=37,k=38,P=39,j=40;function T(e){var t=[];return a.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function R(e,t){for(var n=T(e),r=0;r<n.length;r++)if(n[r].key===t)return r;return-1}function A(e,t){e.transform=t,e.webkitTransform=t,e.mozTransform=t}function D(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function I(e){return"left"===e||"right"===e}function L(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function M(e){return Object.keys(e).reduce((function(t,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})}function F(e,t){return+e.getPropertyValue(t).replace("px","")}function U(e,t,n,r,a){var o=L(a,"padding-"+e);if(!r||!r.parentNode)return o;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(a){var i=window.getComputedStyle(a);return a!==r?(o+=F(i,"margin-"+e),o+=a[t],o+=F(i,"margin-"+n),"content-box"===i.boxSizing&&(o+=F(i,"border-"+e+"-width")+F(i,"border-"+n+"-width")),!1):(o+=F(i,"margin-"+e),!0)})),o}var B=n("4IlW"),H=n("foW8"),z=n.n(H)()({}),q=z.Provider,K=z.Consumer,V={width:0,height:0,overflow:"hidden",position:"absolute"},W=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=v()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.onKeyDown=function(e){var t=e.target,n=e.which,a=e.shiftKey,o=r.props,i=o.nextElement,l=o.prevElement;n===B.a.TAB&&document.activeElement===t&&(!a&&i&&i.focus(),a&&l&&l.focus())},a=n,v()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props.setRef;return a.a.createElement("div",{tabIndex:0,ref:e,style:V,onKeyDown:this.onKeyDown,role:"presentation"})}}]),t}(a.a.Component);W.propTypes={setRef:w.a.func,prevElement:w.a.object,nextElement:w.a.object};var Y=W,Q=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e,t=this.props,n=t.id,r=t.className,o=t.destroyInactiveTabPane,i=t.active,s=t.forceRender,u=t.rootPrefixCls,p=t.style,d=t.children,m=t.placeholder,h=f()(t,["id","className","destroyInactiveTabPane","active","forceRender","rootPrefixCls","style","children","placeholder"]);this._isActived=this._isActived||i;var y=u+"-tabpane",v=C()((e={},c()(e,y,1),c()(e,y+"-inactive",!i),c()(e,y+"-active",i),c()(e,r,r),e)),g=(o?i:this._isActived)||s;return a.a.createElement(K,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,o=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=a.a.createElement(Y,{setRef:o,prevElement:t}),u=a.a.createElement(Y,{setRef:s,nextElement:r})),a.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:v,id:n},M(h)),c,g?d:m,u)}))}}]),t}(a.a.Component),G=Q;function J(e){var t=void 0;return a.a.Children.forEach(e.children,(function(e){!e||t||e.props.disabled||(t=e.key)})),t}Q.propTypes={className:w.a.string,active:w.a.bool,style:w.a.any,destroyInactiveTabPane:w.a.bool,forceRender:w.a.bool,placeholder:w.a.node,rootPrefixCls:w.a.string,children:w.a.node,id:w.a.string},Q.defaultProps={placeholder:null};var X=function(e){function t(e){d()(this,t);var n=v()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));Z.call(n);var r=void 0;return r="activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:J(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,x.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(x.a.cancel(this.sentinelId),this.sentinelId=x()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,o=t.tabBarPosition,i=t.className,s=t.renderTabContent,u=t.renderTabBar,p=t.destroyInactiveTabPane,d=t.direction,m=f()(t,["prefixCls","navWrapper","tabBarPosition","className","renderTabContent","renderTabBar","destroyInactiveTabPane","direction"]),h=C()((e={},c()(e,n,1),c()(e,n+"-"+o,1),c()(e,i,!!i),c()(e,n+"-rtl","rtl"===d),e));this.tabBar=u();var y=a.a.cloneElement(this.tabBar,{prefixCls:n,navWrapper:r,key:"tabBar",onKeyDown:this.onNavKeyDown,tabBarPosition:o,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=a.a.cloneElement(s(),{prefixCls:n,tabBarPosition:o,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=a.a.createElement(Y,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=a.a.createElement(Y,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),E=[];return"bottom"===o?E.push(g,v,b,y):E.push(y,g,v,b),a.a.createElement(q,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},a.a.createElement("div",l()({className:h,style:t.style},M(m),{onScroll:this.onScroll}),E))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"activeKey"in e?n.activeKey=e.activeKey:function(e,t){return a.a.Children.map(e.children,(function(e){return e&&e.key})).indexOf(t)>=0}(e,t.activeKey)||(n.activeKey=J(e)),Object.keys(n).length>0?n:null}}]),t}(a.a.Component),Z=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===P||n===j){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===N||n===k){t.preventDefault();var a=e.getNextActiveKey(!1);e.onTabClick(a)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];a.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var o=r.length,i=o&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===o-1?r[0].key:r[t+1].key)})),i}};X.propTypes={destroyInactiveTabPane:w.a.bool,renderTabBar:w.a.func.isRequired,renderTabContent:w.a.func.isRequired,navWrapper:w.a.func,onChange:w.a.func,children:w.a.node,prefixCls:w.a.string,className:w.a.string,tabBarPosition:w.a.string,style:w.a.object,activeKey:w.a.string,defaultActiveKey:w.a.string,direction:w.a.string},X.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},X.TabPane=G,Object(O.polyfill)(X);var $=X,ee=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return a.a.Children.forEach(n,(function(n){if(n){var o=n.key,i=t===o;r.push(a.a.cloneElement(n,{active:i,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,o=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=C()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=R(o,i);if(-1!==y){var v=p?function(e,t){var n=I(t)?"marginTop":"marginLeft";return c()({},n,100*-e+"%")}(y,u):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=I(t)?"translateY":"translateX";return I(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(y,u,d),WebkitTransform:t,MozTransform:t};m=l()({},m,v)}else m=l()({},m,{display:"none"})}return a.a.createElement("div",{className:h,style:m},this.getTabPanes())}}]),t}(a.a.Component),te=ee;ee.propTypes={animated:w.a.bool,animatedWithMargin:w.a.bool,prefixCls:w.a.string,children:w.a.node,activeKey:w.a.string,style:w.a.any,tabBarPosition:w.a.string,className:w.a.string,destroyInactiveTabPane:w.a.bool,direction:w.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("BGR+");function ae(e,t){var n=e.props,r=n.styles,a=n.panels,o=n.activeKey,i=n.direction,l=e.props.getRef("root"),s=e.props.getRef("nav")||l,c=e.props.getRef("inkBar"),u=e.props.getRef("activeTab"),f=c.style,p=e.props.tabBarPosition,d=R(a,o);if(t&&(f.display="none"),u){var m=u,h=D(f);if(A(f,""),f.width="",f.height="",f.left="",f.top="",f.bottom="",f.right="","top"===p||"bottom"===p){var y=function(e,t){return U("left","offsetWidth","right",e,t)}(m,s),v=m.offsetWidth;v===l.offsetWidth?v=0:r.inkBar&&void 0!==r.inkBar.width&&(v=parseFloat(r.inkBar.width,10))&&(y+=(m.offsetWidth-v)/2),"rtl"===i&&(y=L(m,"margin-left")-y),h?A(f,"translate3d("+y+"px,0,0)"):f.left=y+"px",f.width=v+"px"}else{var g=function(e,t){return U("top","offsetHeight","bottom",e,t)}(m,s),b=m.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(b=parseFloat(r.inkBar.height,10))&&(g+=(m.offsetHeight-b)/2),h?(A(f,"translate3d(0,"+g+"px,0)"),f.top="0"):f.top=g+"px",f.height=b+"px"}}f.display=-1!==d?"block":"none"}var oe=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){ae(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){ae(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,o=t.inkBarAnimated,i=n+"-ink-bar",l=C()((e={},c()(e,i,!0),c()(e,o?i+"-animated":i+"-no-animated",!0),e));return a.a.createElement("div",{style:r.inkBar,className:l,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(a.a.Component),ie=oe;oe.propTypes={prefixCls:w.a.string,styles:w.a.object,inkBarAnimated:w.a.bool,saveRef:w.a.func,direction:w.a.string},oe.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),se=n.n(le),ce=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,o=t.prefixCls,i=t.tabBarGutter,s=t.saveRef,u=t.tabBarPosition,f=t.renderTabBarNode,p=t.direction,d=[];return a.a.Children.forEach(n,(function(t,m){if(t){var h=t.key,y=r===h?o+"-tab-active":"";y+=" "+o+"-tab";var v={};t.props.disabled?y+=" "+o+"-tab-disabled":v={onClick:e.props.onTabClick.bind(e,h)};var g={};r===h&&(g.ref=s("activeTab"));var b=i&&m===n.length-1?0:i,E="rtl"===p?"marginLeft":"marginRight",w=c()({},I(u)?"marginBottom":E,b);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var _=a.a.createElement("div",l()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},v,{className:y,key:h,style:w},g),t.props.tab);f&&(_=f(_)),d.push(_)}})),a.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(a.a.Component),ue=ce;ce.propTypes={activeKey:w.a.string,panels:w.a.node,prefixCls:w.a.string,tabBarGutter:w.a.number,onTabClick:w.a.func,saveRef:w.a.func,renderTabBarNode:w.a.func,tabBarPosition:w.a.string,direction:w.a.string},ce.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var fe=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,o=e.className,i=e.extraContent,s=e.style,u=e.tabBarPosition,p=e.children,d=f()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),m=C()(t+"-bar",c()({},o,!!o)),h="top"===u||"bottom"===u,y=h?{float:"right"}:{},v=i&&i.props?i.props.style:{},g=p;return i&&(g=[Object(r.cloneElement)(i,{key:"extra",style:l()({},y,v)}),Object(r.cloneElement)(p,{key:"content"})],g=h?g:g.reverse()),a.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},M(d)),g)}}]),t}(a.a.Component),pe=fe;fe.propTypes={prefixCls:w.a.string,className:w.a.string,style:w.a.object,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),children:w.a.node,extraContent:w.a.node,onKeyDown:w.a.func,saveRef:w.a.func},fe.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var de=n("sEfC"),me=n.n(de),he=n("bdgK"),ye=function(e){function t(e){d()(this,t);var n=v()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var a=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),a){var o=n.getScrollWH(t),i=n.getOffsetWH(r),l=n.offset,s=n.getOffsetLT(r),c=n.getOffsetLT(t);s>c?(l+=s-c,n.setOffset(l)):s+i<c+o&&(l-=c+o-(s+i),n.setOffset(l))}}},n.prev=function(e){n.props.onPrevClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a+r)},n.next=function(e){n.props.onNextClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a-r)},n.offset=0,n.state={next:!1,prev:!1},n}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),this.debouncedResize=me()((function(){e.setNextPrev(),e.scrollToActiveTab()}),200),this.resizeObserver=new he.default(this.debouncedResize),this.resizeObserver.observe(this.props.getRef("container"))}},{key:"componentDidUpdate",value:function(e){var t=this.props;if(e&&e.tabBarPosition!==t.tabBarPosition)this.setOffset(0);else{var n=this.setNextPrev();this.isNextPrevShown(this.state)!==this.isNextPrevShown(n)?this.setState({},this.scrollToActiveTab):e&&t.activeKey===e.activeKey||this.scrollToActiveTab()}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()}},{key:"setNextPrev",value:function(){var e=this.props.getRef("nav"),t=this.props.getRef("navTabsContainer"),n=this.getScrollWH(t||e),r=this.getOffsetWH(this.props.getRef("container"))+1,a=this.getOffsetWH(this.props.getRef("navWrap")),o=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),o=0;else if(i<o)s=!0;else{s=!1;var u=a-n;this.setOffset(u,!1),o=u}return c=o<0,this.setNext(s),this.setPrev(c),{next:s,prev:c}}},{key:"getOffsetWH",value:function(e){var t=this.props.tabBarPosition,n="offsetWidth";return"left"!==t&&"right"!==t||(n="offsetHeight"),e[n]}},{key:"getScrollWH",value:function(e){var t=this.props.tabBarPosition,n="scrollWidth";return"left"!==t&&"right"!==t||(n="scrollHeight"),e[n]}},{key:"getOffsetLT",value:function(e){var t=this.props.tabBarPosition,n="left";return"left"!==t&&"right"!==t||(n="top"),e.getBoundingClientRect()[n]}},{key:"setOffset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},a=this.props.tabBarPosition,o=this.props.getRef("nav").style,i=D(o);"left"===a||"right"===a?r=i?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:i?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},i?A(o,r.value):o[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,o=this.state,i=o.next,l=o.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,y=a.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:C()((e={},c()(e,u+"-tab-prev",1),c()(e,u+"-tab-btn-disabled",!l),c()(e,u+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||a.a.createElement("span",{className:u+"-tab-prev-icon"})),v=a.a.createElement("span",{onClick:i?this.next:null,unselectable:"unselectable",className:C()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||a.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=C()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return a.a.createElement("div",{className:C()((r={},c()(r,u+"-nav-container",1),c()(r,u+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},y,v,a.a.createElement("div",{className:u+"-nav-wrap",ref:this.props.saveRef("navWrap")},a.a.createElement("div",{className:u+"-nav-scroll"},a.a.createElement("div",{className:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(a.a.Component),ve=ye;ye.propTypes={activeKey:w.a.string,getRef:w.a.func.isRequired,saveRef:w.a.func.isRequired,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),prefixCls:w.a.string,scrollAnimated:w.a.bool,onPrevClick:w.a.func,onNextClick:w.a.func,navWrapper:w.a.func,children:w.a.node,prevIcon:w.a.node,nextIcon:w.a.node,direction:w.a.node},ye.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var ge=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=v()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.getRef=function(e){return r[e]},r.saveRef=function(e){return function(t){t&&(r[e]=t)}},a=n,v()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(a.a.Component),be=ge;ge.propTypes={children:w.a.func},ge.defaultProps={children:function(){return null}};var Ee=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return a.a.createElement(be,null,(function(e,r){return a.a.createElement(pe,l()({saveRef:e},n),a.a.createElement(ve,l()({saveRef:e,getRef:r},n),a.a.createElement(ue,l()({saveRef:e,renderTabBarNode:t},n)),a.a.createElement(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(a.a.Component),we=Ee;Ee.propTypes={children:w.a.func};var _e=n("CtXQ");function Ce(){return(Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){return(xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return je(this,n)}}function je(e,t){return!t||"object"!==xe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e,t,n=this.props,a=n.tabBarStyle,o=n.animated,i=n.renderTabBar,l=n.tabBarExtraContent,s=n.tabPosition,c=n.prefixCls,u=n.className,f=n.size,p=n.type,d="object"===xe(o)?o.inkBar:o,m="left"===s||"right"===s,h=m?"up":"left",y=m?"down":"right",v=r.createElement("span",{className:"".concat(c,"-tab-prev-icon")},r.createElement(_e.default,{type:h,className:"".concat(c,"-tab-prev-icon-target")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(_e.default,{type:y,className:"".concat(c,"-tab-next-icon-target")})),b=C()("".concat(c,"-").concat(s,"-bar"),(Se(e={},"".concat(c,"-").concat(f,"-bar"),!!f),Se(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),E=Ce(Ce({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:a,prevIcon:v,nextIcon:g,className:b});return t=i?i(E,we):r.createElement(we,E),r.cloneElement(t)}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Re.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),De=n("6CfX"),Ie=n("R3zJ");function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function He(e,t){return(He=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ke(e);if(t){var a=Ke(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return qe(this,n)}}function qe(e,t){return!t||"object"!==Fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ke(e){return(Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},We=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&He(e,t)}(l,e);var t,n,a,i=ze(l);function l(){var e;return Ue(this,l),(e=i.apply(this,arguments)).removeTab=function(t,n){if(n.stopPropagation(),t){var r=e.props.onEdit;r&&r(t,"remove")}},e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e.createNewTab=function(t){var n=e.props.onEdit;n&&n(t,"add")},e.renderTabs=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.className,s=void 0===l?"":l,c=o.size,u=o.type,f=void 0===u?"line":u,p=o.tabPosition,d=o.children,m=o.animated,h=void 0===m||m,y=o.hideAdd,v=e.props.tabBarExtraContent,g="object"===Fe(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(De.a)(!(f.indexOf("card")>=0&&("small"===c||"large"===c)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var b=a("tabs",i),E=C()(s,(Me(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Me(n,"".concat(b,"-").concat(c),!!c),Me(n,"".concat(b,"-card"),f.indexOf("card")>=0),Me(n,"".concat(b,"-").concat(f),!0),Me(n,"".concat(b,"-no-animation"),!g),n)),w=[];"editable-card"===f&&(w=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var a=t.props.closable,o=(a=void 0===a||a)?r.createElement(_e.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;w.push(r.cloneElement(t,{tab:r.createElement("div",{className:a?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,o),key:t.key||n}))})),y||(v=r.createElement("span",null,r.createElement(_e.default,{type:"plus",className:"".concat(b,"-new-tab"),onClick:e.createNewTab}),v))),v=v?r.createElement("div",{className:"".concat(b,"-extra-content")},v):null;var _=Ve(e.props,[]),S=C()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Le({},e.props,{prefixCls:b,className:E,tabBarPosition:p,renderTabBar:function(){return r.createElement(Re,Le({},Object(re.a)(_,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:S,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),w.length>0?w:d)},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=o.findDOMNode(this);e&&!Ie.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&Be(t.prototype,n),a&&Be(t,a),l}(r.Component);We.TabPane=G,We.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("3S7+")),a=u(n("CFYs")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ"),n("D8SU");var i=n("q1tI"),l=u(i),s=n("PhNK"),c=n("spEH");function u(e){return e&&e.__esModule?e:{default:e}}n("js5m"),n("VPG4"),t.default=function(e){var t=e.data,n=e.history,u=e.owner,f=e.projectsId,p=e.parentsSha,d=(0,i.useState)(t&&t.files),m=o(d,2),h=m[0],y=m[1],v=(0,i.useState)("复制文件路径"),g=o(v,2),b=g[0],E=g[1],w=(0,i.useState)(!1),_=o(w,2),C=_[0],S=_[1];function x(e,t,n){if(!n){var r=h.concat();r[t].flag=!e,r.splice(),y(r)}}(0,i.useEffect)((function(){t&&y(t.files)}),[t]);var O=l.default.createElement("div",{className:"folders"},l.default.createElement("div",{className:"folderList"},h&&h.map((function(e,t){return l.default.createElement("a",{href:"#value"+t},l.default.createElement(c.FlexAJ,{className:"filesInfo",key:t,onClick:function(){e.flag&&x(e.flag,t,e.isBin),S(!1)}},l.default.createElement(c.AlignCenter,null,l.default.createElement("i",{className:"iconfont icon-wenjianicon mr4"}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name},e.name)),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0&&":")+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),e.addition>0&&l.default.createElement("span",{className:"color-green ml10"},"+",e.addition),e.deletion>0&&l.default.createElement("span",{className:"color-red ml10"},"-",e.deletion)))))}))));return l.default.createElement("div",null,l.default.createElement(c.AlignCenter,{className:"color-grey-9",style:{position:"relative"}},l.default.createElement("div",{onClick:function(){S(!C)}},l.default.createElement("i",{className:"iconfont mr5 "+(C?"font-18 icon-sanjiaoxing-down":"font-16 icon-triangle")}),l.default.createElement("span",{className:"color-grey-6 update-file-count"},"共有",l.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件 "),"被更改,包括",t&&t.total_addition?l.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?l.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),C&&O),h&&h.length>0&&l.default.createElement("div",{className:"fileList"},h.map((function(e,t){return l.default.createElement("div",{className:"files",key:t},l.default.createElement("a",{id:"value"+t,className:"anchorPoint"}),l.default.createElement(c.FlexAJ,{className:"filesInfo"},l.default.createElement(c.AlignCenter,null,e.isBin?"":l.default.createElement("i",{className:e.flag?"iconfont icon-triangle font-15 color-grey-9":"iconfont icon-sanjiaoxing-down color-grey-9 mt4",onClick:function(){return x(e.flag,t,e.isBin)}}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name,onClick:function(){return x(e.flag,t,e.isBin)}},e.name),l.default.createElement(r.default,{title:b,onVisibleChange:function(){return E("复制文件路径")}},l.default.createElement("i",{className:"iconfont icon-fuzhiicon ml6",onClick:function(){return t=e.name,(n=document.createElement("input")).defaultValue=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="copyCont",n.style.display="none",void E("复制成功");var t,n}}))),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0&&":")+" "+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),l.default.createElement("span",{className:"ml10"},e.addition+e.deletion,"处")),!e.isSubmodule&&l.default.createElement("span",{className:"see-file-btn",onClick:function(){n.push("/"+u+"/"+f+(e.isDeleted?"/commits/"+(0,s.truncateCommitId)(p):"/tree/"+(0,s.truncateCommitId)(e.sha)+"/"+e.name))}},"查看文件"))),e.sections&&e.sections.length>=1&&!e.flag&&l.default.createElement("div",{className:"filesContent"},e.sections.map((function(e,t){return e.lines&&e.lines.length>0&&e.lines.map((function(e,n){return l.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},l.default.createElement("span",{className:"lines"},l.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),l.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),l.default.createElement("p",null,e.content))}))}))))}))))}},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),a=c(r);n("vg9a");var o=n("ud8/"),i=c(o);n("SJMd");var l=c(n("wMS7")),s=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,p=void 0===f?{}:f,d=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,i.default)(m),t=(0,o.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],a=r.type,o=r.expression;return(0,s.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===a,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(d&&d.hash&&h){var e=d.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[d,h]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(y.current&&h&&h.match(u)&&window.PR.prettyPrint(),y.current)return y.current.addEventListener("click",v),function(){y.current.removeEventListener("click",v),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[h,y.current,v]),a.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("VXEj")),a=w(n("NJEC")),o=w(n("2/Rp")),i=w(n("NUBc")),l=w(n("ZTPi")),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV"),n("AUBz");var u=n("q1tI"),f=w(u),p=n("eO8H"),d=w(n("vDqi")),m=w(n("AySf")),h=w(n("bIax")),y=n("sYIF"),v=w(n("LZ3y")),g=w(n("p7gc")),b=w(n("bjH3")),E=w(n("oYoh"));function w(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var _=l.default.TabPane,C=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getjournalslist()},n.addjournals=function(){var e=n.state,t=e.content,r=e.reply_content;n.setState({journal_spin:!0}),t||r?n.props.form.validateFieldsAndScroll((function(e,a){if(e)n.setState({journal_spin:!1});else{var o=n.state,i=o.page,l=o.limit,c=o.fileList,u=o.orderId,f=o.reply_id,p=o.is_reply,m="/issues/"+u+"/journals.json";d.default.post(m,s({},a,{content:p?r:t,issue_id:u,attachment_ids:c,parent_id:f})).then((function(e){e&&0===e.data.status&&(n.props.form.setFieldsValue({content:"",reply_content:void 0}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l),n.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1})),n.setState({journal_spin:!1}),e&&411!==e.data.status&&n.props.showNotification(e.data.message)})).catch((function(e){n.setState({journal_spin:!1}),console.log(e)}))}})):n.setState({journal_spin:!1})},n.add_reply=function(e){!1!==n.props.checkIfLogin()?n.setState({is_reply:!0,success_journal:!1,reply_id:e}):n.props.showLoginDialog()},n.cancel_reply=function(){n.setState({is_reply:!1,reply_id:void 0,success_journal:!1,reply_content:void 0})},n.getjournalslist=function(e,t){var r=n.state.orderId,a="/issues/"+r+"/journals.json",o=r;d.default.get(a,{params:{id:o,page:e,limit:t}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1,fileList:void 0})})).catch((function(e){console.log(e)}))},n.UploadFunc=function(e){n.setState({fileList:e,attachment_clean:!0})},n.deleteorder=function(e){var t=n.state,r=t.page,a=t.limit,o=t.orderId,i="/issues/"+o+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:o,id:e}}).then((function(e){e&&n.getjournalslist(r,a)})).catch((function(e){console.log(e)}))},n.renderJournalList=function(e){return e&&e.length>0?e.map((function(e,t){return f.default.createElement("div",{key:t+1,className:"journal-list-item"},f.default.createElement("span",{className:"fwb mr3"},e.detail,":"),f.default.createElement("span",{className:"mr5 color-grey-9"},e.old_value&&e.old_value.length>0?"更新为":"新增"),f.default.createElement("span",null,e.value&&e.value.length>0?"标记"===e.detail?f.default.createElement("span",{className:"issue-tag-show",style:{background:e.value[0].color}},e.value[0].name):e.value:"无"))})):f.default.createElement("div",null,f.default.createElement("span",null,"没有评论~"))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.onContentChange=function(e){e&&n.setState({content:e,quillFlag:!1})},n.replyContentChange=function(e){e&&n.setState({reply_content:e,quillFlag:!1})},n.onRef=function(e){n.child=e},n.commentCtx=function(e){return f.default.createElement(b.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.state={content:void 0,journalsdata:void 0,isedit:void 0,fileList:void 0,limit:10,page:1,journal_spin:!1,edit_spin:!1,attachment_clean:!0,orderId:n.props.order_id,is_reply:!1,reply_id:void 0,reply_content:void 0,new_journal_id:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"loginModal",value:function(){this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,w=t.attachment_clean,C=t.is_reply,S=t.reply_id,x=t.reply_content,O=t.orderId,N=t.new_journal_id,k=this.props,P=k.current_user,j=k.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("/"+(P&&P.image_url)),alt:"",width:"30",height:"30"})),f.default.createElement("div",null,f.default.createElement(g.default,{placeholder:"添加评论...",height:300,mdID:n?"orderdetail-add-descriptions"+n:"orderdetail-add-descriptions",initValue:t?x:u,onChange:t?e.replyContentChange:e.onContentChange}),f.default.createElement("p",{className:"quillFlag"},d&&f.default.createElement("span",{className:""},"请输入评论内容")),f.default.createElement(m.default,{className:"commentStyle",isComplete:w,load:e.UploadFunc,icon:f.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.props.showNotification}),f.default.createElement("p",{className:"clearfix mt20"},f.default.createElement(o.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(o.default,{onClick:e.cancel_reply},"取消"))))},R=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link color-black ml10 fwb"},t&&t.user_name)),f.default.createElement("div",{className:"ml40"},t.content?e.commentCtx(t.content):f.default.createElement("div",null,e.renderJournalList(t.journal_details)),t&&t.attachments&&t.attachments.length>0?f.default.createElement(v.default,{attachments:t.attachments,showNotification:e.props.showNotification,canDelete:P&&(P.admin||P.login===t.user_login)}):"",f.default.createElement("div",{className:"grid-item mt5"},f.default.createElement("span",{className:"color-grey-8"},t.created_at),f.default.createElement("span",{className:"text-right"},P&&(P.admin||P.login===t.user_login)?f.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(o.default,{type:"link"},f.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):"",f.default.createElement(o.default,{type:"link",className:"ml-10",onClick:function(){return e.add_reply(t.id)}},f.default.createElement("i",{className:"iconfont icon-huifu1 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"回复")))),P&&f.default.createElement("div",null,C&&S&&S===t.id?f.default.createElement("div",{className:"pt20"},T(C,t.id)):""),f.default.createElement(E.default,s({order_id:O,parent_id:t.id,onRef:e.onRef,children_comment_id:N},e.props))))};return f.default.createElement("div",null,j?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},C&&!S?f.default.createElement("div",{className:"pd20"},T(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,y.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}),this.Paginations()):f.default.createElement("div",{className:"mt20"},f.default.createElement("div",{className:"comment-background"},f.default.createElement(l.default,{defaultActiveKey:"1",className:"custom-comment-tabs"},f.default.createElement(_,{tab:f.default.createElement("span",{className:"ml-3 font-16"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},C&&!S?f.default.createElement("div",{className:"pd20"},T(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item mb20"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,y.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=C},dQpi:function(e,t,n){var r=n("yGk4"),a=n("vN+2"),o=n("rEGp"),i=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:a;e.exports=i},"jbM+":function(e,t,n){var r=n("R/W3");e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},js5m:function(e,t,n){},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),i=n("BGR+"),l=n("VCL8"),s=n("CtXQ"),c=n("H84U");function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,a,i=y(l);function l(){var e;return d(this,l),(e=i.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,r=t.onChange;r&&r(!n)},e.renderCheckableTag=function(t){var n,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=a("tag",l),m=o()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,r.createElement("span",f({},u,{className:m,onClick:e.handleClick}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(t.prototype,n),a&&m(t,a),l}(r.Component),w=n("09Wf"),_=n("6CfX"),C=n("g0mS");function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=T(e);if(t){var a=T(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},A=new RegExp("^(".concat(w.a.join("|"),")(-inverse)?$")),D=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(u,e);var t,n,a,l=P(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,a=n.children,o=R(n,["children"]),l="onClick"in o||a&&"a"===a.type,s=Object(i.a)(o,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(C.a,null,r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())):r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())},Object(_.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return t=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(n=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return O({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,a=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",a);return o()(u,(x(t={},"".concat(u,"-").concat(l),c),x(t,"".concat(u,"-has-color"),l&&!c),x(t,"".concat(u,"-hidden"),!s),t),i)}},{key:"setVisible",value:function(e,t){var n=this.props,r=n.onClose,a=n.afterClose;r&&r(t),a&&!r&&a(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&A.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderTag)}}])&&N(t.prototype,n),a&&N(t,a),u}(r.Component);D.CheckableTag=E,D.defaultProps={closable:!1},Object(l.polyfill)(D);t.default=D},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),a="undefined"==typeof window?t:window,o=["moz","webkit"],i="AnimationFrame",l=a["request"+i],s=a["cancel"+i]||a["cancelRequest"+i],c=0;!l&&c<o.length;c++)l=a[o[c]+"Request"+i],s=a[o[c]+"Cancel"+i]||a[o[c]+"CancelRequest"+i];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(a,e)},e.exports.cancel=function(){s.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},n5Yh:function(e,t,n){},oYoh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("VXEj")),a=h(n("NJEC")),o=h(n("2/Rp")),i=h(n("NUBc")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV");var s=n("q1tI"),c=h(s),u=n("eO8H"),f=h(n("vDqi")),p=n("sYIF"),d=h(n("LZ3y")),m=h(n("bjH3"));function h(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getChildrenJournals=function(e,t){var r=n.props,a=r.order_id,o=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||a)+"/journals/"+(t||o)+"/get_children_journals.json";f.default.get(c,{params:{page:l,limit:s}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.deleteorder=function(e){var t=n.props.order_id,r="/issues/"+t+"/journals/"+e+".json";f.default.delete(r,{data:{issue_id:t,id:e}}).then((function(e){e&&n.getChildrenJournals()})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.state.page=e,n.state.isSpin=!0,n.getChildrenJournals()},n.commentCtx=function(e){return c.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return c.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},c.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.renderList=function(e){var t=n.props.current_user;return c.default.createElement("div",{className:"width100"},c.default.createElement("div",{className:"grid-item pb5"},c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link color-black ml10 fwb"},e&&e.user_name)),c.default.createElement("div",{className:"ml40"},n.commentCtx(e.content),e&&e.attachments&&e.attachments.length>0?c.default.createElement(d.default,{attachments:e.attachments,showNotification:n.props.showNotification,canDelete:t&&(t.admin||t.login===e.user_login)}):"",c.default.createElement("div",{className:"mt5"},c.default.createElement("span",{className:"color-grey-8"},e.created_at),c.default.createElement("span",{className:"ml20"},t&&(t.admin||t.login===e.user_login)?c.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return n.deleteorder(e.id)}},c.default.createElement(o.default,{type:"link"},c.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),c.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):""))))},n.state={journalsdata:void 0,limit:10,page:1,journal_spin:!1,search_count:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.getChildrenJournals()}},{key:"componentDidUpdate",value:function(e,t){this.props.children_comment_id&&e.children_comment_id!==this.props.children_comment_id&&this.getChildrenJournals()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,a=t.search_count,o=t.isSpin;return c.default.createElement("div",null,a>0&&c.default.createElement("div",{className:"children-comment-bg mt10"},c.default.createElement(r.default,{size:"large",loading:o,dataSource:n.issue_journals,renderItem:function(t){return c.default.createElement(r.default.Item,null,e.renderList(t))}}),this.Paginations()))}}]),t}(s.Component);t.default=y},qPyV:function(e,t,n){var r=n("ut/Y"),a=n("LGYb");e.exports=function(e,t){return e&&e.length?a(e,r(t,2)):[]}},u3En:function(e,t,n){},"vN+2":function(e,t){e.exports=function(){}},vg9a:function(e,t,n){},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,a=Object.freeze,o=Object.seal,i=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),a||(a=function(e){return e}),o||(o=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=S(Array.prototype.forEach),f=S(Array.prototype.indexOf),p=S(Array.prototype.join),d=S(Array.prototype.pop),m=S(Array.prototype.push),h=S(Array.prototype.slice),y=S(String.prototype.toLowerCase),v=S(String.prototype.match),g=S(String.prototype.replace),b=S(String.prototype.indexOf),E=S(String.prototype.trim),w=S(RegExp.prototype.test),_=x(RegExp),C=x(TypeError);function S(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return s(e,t,r)}}function x(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function O(e,r){t&&t(e,null);for(var a=r.length;a--;){var o=r[a];if("string"==typeof o){var i=y(o);i!==o&&(n(r)||(r[a]=i),o=i)}e[o]=!0}return e}function N(t){var n=i(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var k=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),j=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),R=a(["#text"]),A=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),D=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),I=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),M=o(/\{\{[\s\S]*|[\s\S]*\}\}/gm),F=o(/<%[\s\S]*|[\s\S]*%>/gm),U=o(/^data-[\-\w.\u00B7-\uFFFF]/),B=o(/^aria-[\-\w]+$/),H=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=o(/^(?:\w+script|data):/i),q=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function V(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var W=function(){return"undefined"==typeof window?null:window},Y=function(e,t){if("object"!==(void 0===e?"undefined":K(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var o=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,S=t.Node,x=t.NodeFilter,Q=t.NamedNodeMap,G=void 0===Q?t.NamedNodeMap||t.MozNamedAttrMap:Q,J=t.Text,X=t.Comment,Z=t.DOMParser,$=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=Y($,o),ne=te&&Ie?te.createHTML(""):"",re=l,ae=re.implementation,oe=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=o.importNode,ce=N(l).documentMode?l.documentMode:{},ue={};n.isSupported=ae&&void 0!==ae.createHTMLDocument&&9!==ce;var fe=M,pe=F,de=U,me=B,he=z,ye=q,ve=H,ge=null,be=O({},[].concat(V(k),V(P),V(j),V(T),V(R))),Ee=null,we=O({},[].concat(V(A),V(D),V(I),V(L))),_e=null,Ce=null,Se=!0,xe=!0,Oe=!1,Ne=!1,ke=!1,Pe=!1,je=!1,Te=!1,Re=!1,Ae=!1,De=!1,Ie=!1,Le=!0,Me=!0,Fe=!1,Ue={},Be=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),He=null,ze=O({},["audio","video","img","source","image","track"]),qe=null,Ke=O({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ve=null,We=l.createElement("form"),Ye=function(e){Ve&&Ve===e||(e&&"object"===(void 0===e?"undefined":K(e))||(e={}),e=N(e),ge="ALLOWED_TAGS"in e?O({},e.ALLOWED_TAGS):be,Ee="ALLOWED_ATTR"in e?O({},e.ALLOWED_ATTR):we,qe="ADD_URI_SAFE_ATTR"in e?O(N(Ke),e.ADD_URI_SAFE_ATTR):Ke,He="ADD_DATA_URI_TAGS"in e?O(N(ze),e.ADD_DATA_URI_TAGS):ze,_e="FORBID_TAGS"in e?O({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?O({},e.FORBID_ATTR):{},Ue="USE_PROFILES"in e&&e.USE_PROFILES,Se=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,De=e.RETURN_DOM_IMPORT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Le=!1!==e.SANITIZE_DOM,Me=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,ke&&(xe=!1),Ae&&(Re=!0),Ue&&(ge=O({},[].concat(V(R))),Ee=[],!0===Ue.html&&(O(ge,k),O(Ee,A)),!0===Ue.svg&&(O(ge,P),O(Ee,D),O(Ee,L)),!0===Ue.svgFilters&&(O(ge,j),O(Ee,D),O(Ee,L)),!0===Ue.mathMl&&(O(ge,T),O(Ee,I),O(Ee,L))),e.ADD_TAGS&&(ge===be&&(ge=N(ge)),O(ge,e.ADD_TAGS)),e.ADD_ATTR&&(Ee===we&&(Ee=N(Ee)),O(Ee,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&O(qe,e.ADD_URI_SAFE_ATTR),Me&&(ge["#text"]=!0),Pe&&O(ge,["html","head","body"]),ge.table&&(O(ge,["tbody"]),delete _e.tbody),a&&a(e),Ve=e)},Qe=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ge=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(Te)e="<remove></remove>"+e;else{var r=v(e,/^[\r\n\t ]+/);n=r&&r[0]}var a=te?te.createHTML(e):e;try{t=(new Z).parseFromString(a,"text/html")}catch(e){}if(i&&O(_e,["title"]),!t||!t.documentElement){var o=(t=ae.createHTMLDocument("")).body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=a}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ie.call(t,Pe?"html":"body")[0]};n.isSupported&&function(){try{var e=Je("<x/><title></title><img>");w(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return oe.call(e.ownerDocument||e,e,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT,(function(){return x.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof J||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof G&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===S?"undefined":K(S))?e instanceof S:e&&"object"===(void 0===e?"undefined":K(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,Ve)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ze(e))return Qe(e),!0;if(v(e.nodeName,/[\u0080-\uFFFF]/))return Qe(e),!0;var r=y(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Qe(e),!0;if(!ge[r]||_e[r]){if(Me&&!Be[r]&&"function"==typeof e.insertAdjacentHTML)try{var a=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(a):a)}catch(e){}return Qe(e),!0}return"noscript"===r&&w(/<\/noscript/i,e.innerHTML)||"noembed"===r&&w(/<\/noembed/i,e.innerHTML)?(Qe(e),!0):(!Ne||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!w(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=g(e.innerHTML,/</g,"<"):e.innerHTML=g(e.textContent,/</g,"<")),ke&&3===e.nodeType&&(t=e.textContent,t=g(t,fe," "),t=g(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(Le&&("id"===t||"name"===t)&&(n in l||n in We))return!1;if(xe&&w(de,t));else if(Se&&w(me,t));else{if(!Ee[t]||Ce[t])return!1;if(qe[t]);else if(w(ve,g(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!He[e])if(Oe&&!w(he,g(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,a=void 0,o=void 0,i=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(a=E(t.value),o=y(m),c.attrName=o,c.attrValue=a,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),a=c.attrValue,!c.forceKeepAttr){if("name"===o&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ge("id",e),Ge(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===o&&"file"===a&&c.keepAttr&&(Ee[o]||!Ce[o]))continue;"id"===m&&e.setAttribute(m,""),Ge(m,e)}if(c.keepAttr)if(Ne&&w(/\/>/i,a))Ge(m,e);else if(w(/svg|math/i,e.namespaceURI)&&w(_("</("+p(r(Be),"|")+")","i"),a))Ge(m,e);else{ke&&(a=g(a,fe," "),a=g(a,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,o,a))try{v?e.setAttributeNS(v,m,a):e.setAttribute(m,a),d(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},at=function e(t){var n=void 0,r=Xe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var a=void 0,i=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!$e(e)){if("function"!=typeof e.toString)throw C("toString is not a function");if("string"!=typeof(e=e.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===K(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if($e(e))return t.toStaticHTML(e.outerHTML)}return e}if(je||Ye(r),n.removed=[],"string"==typeof e&&(Fe=!1),Fe);else if(e instanceof S)1===(i=(a=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?a=i:a.appendChild(i);else{if(!Re&&!ke&&!Pe&&-1===e.indexOf("<"))return te&&Ie?te.createHTML(e):e;if(!(a=Je(e)))return Re?null:ne}a&&Te&&Qe(a.firstChild);for(var f=Xe(Fe?e:a);l=f.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&at(l.content),rt(l),c=l);if(c=null,Fe)return e;if(Re){if(Ae)for(u=le.call(a.ownerDocument);a.firstChild;)u.appendChild(a.firstChild);else u=a;return De&&(u=se.call(o,u,!0)),u}var p=Pe?a.outerHTML:a.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&Ie?te.createHTML(p):p},n.setConfig=function(e){Ye(e),je=!0},n.clearConfig=function(){Ve=null,je=!1},n.isValidAttribute=function(e,t,n){Ve||Ye({});var r=y(e),a=y(t);return nt(r,a,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&d(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()}}]); \ No newline at end of file +/*! For license information please see 34.a97f8cd6.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[34,9,11,23],{"+KLJ":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return _}));var r=n("q1tI"),a=n("i8i4"),o=n("MFj2"),i=n("TSYQ"),l=n.n(i),s=n("CtXQ"),c=n("H84U"),u=n("RqAY"),f=n("6CfX");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=E(e);if(t){var a=E(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(){}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(g,e);var t,n,i,p=v(g);function g(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),(t=p.call(this,e)).handleClose=function(e){e.preventDefault();var n=a.findDOMNode(b(t));n.style.height="".concat(n.offsetHeight,"px"),n.style.height="".concat(n.offsetHeight,"px"),t.setState({closing:!0}),(t.props.onClose||w)(e)},t.animationEnd=function(){t.setState({closing:!1,closed:!0}),(t.props.afterClose||w)()},t.renderAlert=function(e){var n,a=e.getPrefixCls,i=t.props,c=i.description,f=i.prefixCls,p=i.message,h=i.closeText,y=i.banner,v=i.className,g=void 0===v?"":v,b=i.style,E=i.icon,w=t.props,_=w.closable,C=w.type,S=w.showIcon,x=w.iconType,O=t.state,N=O.closing,k=O.closed,P=a("alert",f);S=!(!y||void 0!==S)||S,C=y&&void 0===C?"warning":C||"info";var j="filled";if(!x){switch(C){case"success":x="check-circle";break;case"info":x="info-circle";break;case"error":x="close-circle";break;case"warning":x="exclamation-circle";break;default:x="default"}c&&(j="outlined")}h&&(_=!0);var T=l()(P,"".concat(P,"-").concat(C),(m(n={},"".concat(P,"-closing"),N),m(n,"".concat(P,"-with-description"),!!c),m(n,"".concat(P,"-no-icon"),!S),m(n,"".concat(P,"-banner"),!!y),m(n,"".concat(P,"-closable"),_),n),g),R=_?r.createElement("button",{type:"button",onClick:t.handleClose,className:"".concat(P,"-close-icon"),tabIndex:0},h?r.createElement("span",{className:"".concat(P,"-close-text")},h):r.createElement(s.default,{type:"close"})):null,A=Object(u.a)(t.props),D=E&&(r.isValidElement(E)?r.cloneElement(E,{className:l()("".concat(P,"-icon"),m({},E.props.className,E.props.className))}):r.createElement("span",{className:"".concat(P,"-icon")},E))||r.createElement(s.default,{className:"".concat(P,"-icon"),type:x,theme:j});return k?null:r.createElement(o.a,{component:"",showProp:"data-show",transitionName:"".concat(P,"-slide-up"),onEnd:t.animationEnd},r.createElement("div",d({"data-show":!N,className:T,style:b},A),S?D:null,r.createElement("span",{className:"".concat(P,"-message")},p),r.createElement("span",{className:"".concat(P,"-description")},c),R))},Object(f.a)(!("iconType"in e),"Alert","`iconType` is deprecated. Please use `icon` instead."),t.state={closing:!1,closed:!1},t}return t=g,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderAlert)}}])&&h(t.prototype,n),i&&h(t,i),g}(r.Component)},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"13Tz":function(e,t,n){},"2DKY":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("n5Yh")},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"6JOy":function(e,t,n){},"74dF":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("D8SU"),n("TfFZ")},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("VCL8"),i=n("QbLZ"),l=n.n(i),s=n("iCc5"),c=n.n(s),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),m=n("mRg0"),h=n.n(m),y=n("17x9"),v=n.n(y),g=n("YEIV"),b=n.n(g),E=n("TSYQ"),w=n.n(E);function _(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function C(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(function(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),_(t));e.onSuccess(_(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var a in null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),r)r.hasOwnProperty(a)&&null!==r[a]&&t.setRequestHeader(a,r[a]);return t.send(n),{abort:function(){t.abort()}}}var S=+new Date,x=0;function O(){return"rc-upload-"+S+"-"+ ++x}var N=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",o=a.replace(/\/.*$/,"");return n.some((function(e){var t,n,i=e.trim();return"."===i.charAt(0)?(t=r.toLowerCase(),n=i.toLowerCase(),-1!==t.indexOf(n,t.length-n.length)):/\/\*$/.test(i)?o===i.replace(/\/.*$/,""):a===i}))}return!0};var k=function(e,t,n){var r=function e(r,a){a=a||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var a=Array.prototype.slice.apply(n);r=r.concat(a),!a.length?t(r):e()}))}()}(r,(function(t){t.forEach((function(t){e(t,""+a+r.name+"/")}))}))},a=!0,o=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){r(l.value.webkitGetAsEntry())}}catch(e){o=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(o)throw i}}},P=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uid:O()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(){var e=r.fileInput;e&&e.click()},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)k(e.dataTransfer.items,r.uploadFiles,(function(e){return N(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return N(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=O(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var a=r.beforeUpload(e,t);a&&a.then?a.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)})).catch((function(e){console&&console.log(e)})):!1!==a&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.data,a=n.onStart,o=n.onProgress,i=n.transformFile,l=void 0===i?function(e){return e}:i;new Promise((function(t){var r=n.action;if("function"==typeof r)return t(r(e));t(r)})).then((function(i){var s=e.uid,c=n.customRequest||C;Promise.resolve(l(e)).catch((function(e){console.error(e)})).then((function(l){"function"==typeof r&&(r=r(e));var u={action:i,filename:n.name,data:r,file:l,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:o?function(t){o(t,e)}:null,onSuccess:function(r,a){delete t.reqs[s],n.onSuccess(r,e,a)},onError:function(r,a){delete t.reqs[s],n.onError(r,a,e)}};t.reqs[s]=c(u),a(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:O()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,o=t.className,i=t.disabled,s=t.id,c=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,m=t.openFileDialogOnClick,h=w()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,o,o),e)),y=i?{}:{onClick:m?this.onClick:function(){},onKeyDown:m?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(n,l()({},y,{className:h,role:"button",style:c}),a.a.createElement("input",{id:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:f,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:u,onChange:this.onChange}),p)}}]),t}(r.Component);P.propTypes={id:v.a.string,component:v.a.string,style:v.a.object,prefixCls:v.a.string,className:v.a.string,multiple:v.a.bool,directory:v.a.bool,disabled:v.a.bool,accept:v.a.string,children:v.a.any,onStart:v.a.func,data:v.a.oneOfType([v.a.object,v.a.func]),action:v.a.oneOfType([v.a.string,v.a.func]),headers:v.a.object,beforeUpload:v.a.func,customRequest:v.a.func,onProgress:v.a.func,withCredentials:v.a.bool,openFileDialogOnClick:v.a.bool,transformFile:v.a.func};var j=P,T=n("i8i4"),R=n.n(T),A=n("2W6z"),D=n.n(A),I={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},L=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uploading:!1},r.file={},r.onLoad=function(){if(r.state.uploading){var e=r,t=e.props,n=e.file,a=void 0;try{var o=r.getIframeDocument(),i=o.getElementsByTagName("script")[0];i&&i.parentNode===o.body&&o.body.removeChild(i),a=o.body.innerHTML,t.onSuccess(a,n)}catch(e){D()(!1,"cross domain error for Upload. Maybe server should return document.domain script. see Note from https://github.com/react-component/upload"),a="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:O(),name:e.value&&e.value.substring(e.value.lastIndexOf("\\")+1,e.value.length)};r.startUpload();var n=r.props;if(!n.beforeUpload)return r.post(t);var a=n.beforeUpload(t);a&&a.then?a.then((function(){r.post(t)}),(function(){r.endUpload()})):!1!==a?r.post(t):r.endUpload()},r.saveIframe=function(e){r.iframe=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.updateIframeWH(),this.initIframe()}},{key:"componentDidUpdate",value:function(){this.updateIframeWH()}},{key:"getIframeNode",value:function(){return this.iframe}},{key:"getIframeDocument",value:function(){return this.getIframeNode().contentDocument}},{key:"getFormNode",value:function(){return this.getIframeDocument().getElementById("form")}},{key:"getFormInputNode",value:function(){return this.getIframeDocument().getElementById("input")}},{key:"getFormDataNode",value:function(){return this.getIframeDocument().getElementById("data")}},{key:"getFileForMultiple",value:function(e){return this.props.multiple?[e]:e}},{key:"getIframeHTML",value:function(e){var t="",n="";if(e){t='<script>document.domain="'+e+'";<\/script>',n='<input name="_documentDomain" value="'+e+'" />'}return'\n <!DOCTYPE html>\n <html>\n <head>\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n <style>\n body,html {padding:0;margin:0;border:0;overflow:hidden;}\n </style>\n '+t+'\n </head>\n <body>\n <form method="post"\n encType="multipart/form-data"\n action="" id="form"\n style="display:block;height:9999px;position:relative;overflow:hidden;">\n <input id="input" type="file"\n name="'+this.props.name+'"\n style="position:absolute;top:0;right:0;height:9999px;font-size:9999px;cursor:pointer;"/>\n '+n+'\n <span id="data"></span>\n </form>\n </body>\n </html>\n '}},{key:"initIframeSrc",value:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")}},{key:"initIframe",value:function(){var e=this.getIframeNode(),t=e.contentWindow,n=void 0;this.domain=this.domain||"",this.initIframeSrc();try{n=t.document}catch(r){this.domain=document.domain,this.initIframeSrc(),n=(t=e.contentWindow).document}n.open("text/html","replace"),n.write(this.getIframeHTML(this.domain)),n.close(),this.getFormInputNode().onchange=this.onChange}},{key:"endUpload",value:function(){this.state.uploading&&(this.file={},this.state.uploading=!1,this.setState({uploading:!1}),this.initIframe())}},{key:"startUpload",value:function(){this.state.uploading||(this.state.uploading=!0,this.setState({uploading:!0}))}},{key:"updateIframeWH",value:function(){var e=R.a.findDOMNode(this),t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"}},{key:"abort",value:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()}},{key:"post",value:function(e){var t=this,n=this.getFormNode(),r=this.getFormDataNode(),a=this.props.data,o=this.props.onStart;"function"==typeof a&&(a=a(e));var i=document.createDocumentFragment();for(var l in a)if(a.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=a[l],i.appendChild(s)}r.appendChild(i),new Promise((function(n){var r=t.props.action;if("function"==typeof r)return n(r(e));n(r)})).then((function(t){n.setAttribute("action",t),n.submit(),r.innerHTML="",o(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,o=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},I,{display:this.state.uploading||r?"none":""}),f=w()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,o,o),e));return a.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},c)},a.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),s)}}]),t}(r.Component);L.propTypes={component:v.a.string,style:v.a.object,disabled:v.a.bool,prefixCls:v.a.string,className:v.a.string,accept:v.a.string,onStart:v.a.func,multiple:v.a.bool,children:v.a.any,data:v.a.oneOfType([v.a.object,v.a.func]),action:v.a.oneOfType([v.a.string,v.a.func]),name:v.a.string};var M=L;function F(){}var U=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={Component:null},r.saveUploader=function(e){r.uploader=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.supportServerRender&&this.setState({Component:this.getComponent()},this.props.onReady)}},{key:"getComponent",value:function(){return"undefined"!=typeof File?j:M}},{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){if(this.props.supportServerRender){var e=this.state.Component;return e?a.a.createElement(e,l()({},this.props,{ref:this.saveUploader})):null}var t=this.getComponent();return a.a.createElement(t,l()({},this.props,{ref:this.saveUploader}))}}]),t}(r.Component);U.propTypes={component:v.a.string,style:v.a.object,prefixCls:v.a.string,action:v.a.oneOfType([v.a.string,v.a.func]),name:v.a.string,multipart:v.a.bool,directory:v.a.bool,onError:v.a.func,onSuccess:v.a.func,onProgress:v.a.func,onStart:v.a.func,data:v.a.oneOfType([v.a.object,v.a.func]),headers:v.a.object,accept:v.a.string,multiple:v.a.bool,disabled:v.a.bool,beforeUpload:v.a.func,customRequest:v.a.func,onReady:v.a.func,withCredentials:v.a.bool,supportServerRender:v.a.bool,openFileDialogOnClick:v.a.bool},U.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:F,onStart:F,onError:F,onSuccess:F,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var B=U,H=n("qPyV"),z=n.n(H),q=n("UfWW"),K=n.n(q),V=n("MFj2");function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Y(e){return W(W({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Q(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var G=function(e){return!!e&&0===e.indexOf("image/")},J=function(e){if(G(e.type))return!0;var t=e.thumbUrl||e.url,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n};var X=n("CtXQ"),Z=n("3S7+"),$=n("CFYs"),ee=n("H84U");function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var a=ce(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}(i,e);var t,n,a,o=le(i);function i(){var e;return ae(this,i),(e=o.apply(this,arguments)).handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e.handleDownload=function(t){var n=e.props.onDownload;"function"==typeof n?n(t):t.url&&window.open(t.url)},e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.renderUploadList=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.items,s=void 0===l?[]:l,c=o.listType,u=o.showPreviewIcon,f=o.showRemoveIcon,p=o.showDownloadIcon,d=o.locale,m=o.progressAttr,h=a("upload",i),y=s.map((function(t){var n,a,o,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===c||"picture-card"===c)if("picture-card"===c&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(h,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=J(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(h,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(h,"-list-item-thumbnail"),onClick:function(n){return e.handlePreview(t,n)},href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},l)}else i=r.createElement(X.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement($.default,re({type:"line"},m,{percent:t.percent})):null;o=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=w()((ne(n={},"".concat(h,"-list-item"),!0),ne(n,"".concat(h,"-list-item-").concat(t.status),!0),ne(n,"".concat(h,"-list-item-list-type-").concat(c),!0),n)),g="string"==typeof t.linkProps?JSON.parse(t.linkProps):t.linkProps,b=f?r.createElement(X.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,E=p&&"done"===t.status?r.createElement(X.default,{type:"download",title:d.downloadFile,onClick:function(){return e.handleDownload(t)}}):null,_="picture-card"!==c&&r.createElement("span",{key:"download-delete",className:"".concat(h,"-list-item-card-actions ").concat("picture"===c?"picture":"")},E&&r.createElement("a",{title:d.downloadFile},E),b&&r.createElement("a",{title:d.removeFile},b)),C=w()((ne(a={},"".concat(h,"-list-item-name"),!0),ne(a,"".concat(h,"-list-item-name-icon-count-").concat([E,b].filter((function(e){return e})).length),!0),a)),S=t.url?[r.createElement("a",re({key:"view",target:"_blank",rel:"noopener noreferrer",className:C,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),_]:[r.createElement("span",{key:"view",className:C,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),_],x=u?r.createElement("a",{href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:t.url||t.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(n){return e.handlePreview(t,n)},title:d.previewFile},r.createElement(X.default,{type:"eye-o"})):null,O="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},x,"done"===t.status&&E,b);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var N=r.createElement("span",null,i,S),k=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},N),O,r.createElement(V.a,{transitionName:"fade",component:""},o)),P=w()(ne({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(Z.default,{title:y},k):r.createElement("span",null,k))})),v=w()((ne(n={},"".concat(h,"-list"),!0),ne(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(V.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:v},y)},e}return t=i,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.listType,r=t.items,a=t.previewFile;"picture"!==n&&"picture-card"!==n||(r||[]).forEach((function(t){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",a&&a(t.originFileObj).then((function(n){t.thumbUrl=n||"",e.forceUpdate()})))}))}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUploadList)}}])&&oe(t.prototype,n),a&&oe(t,a),i}(r.Component);ue.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(G(e.type)){var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),a=new Image;a.onload=function(){var e=a.width,o=a.height,i=200,l=200,s=0,c=0;e<o?c=-((l=o*(200/e))-i)/2:s=-((i=e*(200/o))-l)/2,r.drawImage(a,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},a.src=window.URL.createObjectURL(e)}else t("")}))}};var fe=n("YMnH"),pe=n("ZvpZ"),de=n("6CfX");function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=we(e);if(t){var a=we(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ee(this,n)}}function Ee(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(i,e);var t,n,a,o=be(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=Y(e);r.status="uploading";var a=n.concat(),o=K()(a,(function(e){return e.uid===r.uid}));-1===o?a.push(r):a[o]=r,t.onChange({file:r,fileList:a}),window.File&&!Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).TEST_IE||t.autoUpdateProgress(0,r)},t.onSuccess=function(e,n,r){t.clearProgressTimer();try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var a=t.state.fileList,o=Q(n,a);o&&(o.status="done",o.response=e,o.xhr=r,t.onChange({file:ye({},o),fileList:a}))},t.onProgress=function(e,n){var r=t.state.fileList,a=Q(n,r);a&&(a.percent=e.percent,t.onChange({event:e,file:ye({},a),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var a=t.state.fileList,o=Q(r,a);o&&(o.error=e,o.response=n,o.status="error",t.onChange({file:ye({},o),fileList:a}))},t.handleRemove=function(e){var n=t.props.onRemove,r=t.state.fileList;Promise.resolve("function"==typeof n?n(e):n).then((function(n){if(!1!==n){var a=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,r);a&&(e.status="removed",t.upload&&t.upload.abort(e),t.onChange({file:e,fileList:a}))}}))},t.onChange=function(e){"fileList"in t.props||t.setState({fileList:e.fileList});var n=t.props.onChange;n&&n(e)},t.onFileDrop=function(e){t.setState({dragState:e.type})},t.beforeUpload=function(e,n){var r=t.props.beforeUpload,a=t.state.fileList;if(!r)return!0;var o=r(e,n);return!1===o?(t.onChange({file:e,fileList:z()(a.concat(n.map(Y)),(function(e){return e.uid}))}),!1):!o||!o.then||o},t.renderUploadList=function(e){var n=t.props,a=n.showUploadList,o=n.listType,i=n.onPreview,l=n.onDownload,s=n.previewFile,c=n.disabled,u=n.locale,f=a.showRemoveIcon,p=a.showPreviewIcon,d=a.showDownloadIcon,m=t.state.fileList;return r.createElement(ue,{listType:o,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:ye(ye({},e),u)})},t.renderUpload=function(e){var n,a=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.className,s=o.showUploadList,c=o.listType,u=o.type,f=o.disabled,p=o.children,d=o.style,m=t.state,h=m.fileList,y=m.dragState,v=a("upload",i),g=ye(ye({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:v,beforeUpload:t.beforeUpload});delete g.className,delete g.style,p&&!f||delete g.id;var b=s?r.createElement(fe.a,{componentName:"Upload",defaultLocale:pe.a.Upload},t.renderUploadList):null;if("drag"===u){var E,_=w()(v,(he(E={},"".concat(v,"-drag"),!0),he(E,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),he(E,"".concat(v,"-drag-hover"),"dragover"===y),he(E,"".concat(v,"-disabled"),f),E),l);return r.createElement("span",null,r.createElement("div",{className:_,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(B,ye({},g,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),b)}var C=w()(v,(he(n={},"".concat(v,"-select"),!0),he(n,"".concat(v,"-select-").concat(c),!0),he(n,"".concat(v,"-disabled"),f),n)),S=r.createElement("div",{className:C,style:p?void 0:{display:"none"}},r.createElement(B,ye({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:w()(l,"".concat(v,"-picture-card-wrapper"))},b,S):r.createElement("span",{className:l},S,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(de.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return t=i,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(n=[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"autoUpdateProgress",value:function(e,t){var n,r=this,a=(n=.1,function(e){var t=e;return t>=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),o=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){o=a(o),r.onProgress({percent:100*o},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&ve(t.prototype,n),a&&ve(t,a),i}(r.Component);_e.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(o.polyfill)(_e);var Ce=_e;function Se(e){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return je(this,n)}}function je(e,t){return!t||"object"!==Se(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Ae=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.style,n=e.height,a=Re(e,["style","height"]);return r.createElement(Ce,xe({},a,{type:"drag",style:xe(xe({},t),{height:n})}))}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Ce.Dragger=Ae;t.default=Ce},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),a=n("spEH"),o=c(n("Rs/d")),i=n("PhNK"),l=n("sYIF"),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.commits,n=e.projectsId,c=e.owner;return r.default.createElement("div",{className:"pb20"},t.map((function(e,t){return r.default.createElement("div",{className:"prCommits"},r.default.createElement("p",{className:"prCreate"},e.created_at),r.default.createElement("div",{className:"prInfo"},r.default.createElement(a.FlexAJ,null,r.default.createElement(a.AlignCenter,null,r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(""+e.sha),className:"commitKey",style:{marginLeft:0}},(0,i.truncateCommitId)(""+e.sha)),r.default.createElement("p",{className:"ml15 font-16 color-grey-3 task-hide",style:{maxWidth:"700px"}},e.message)),r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(a.AlignCenter,{className:"mt15"},r.default.createElement(o.default,{url:(0,l.getImageUrl)("/"+(e.committer&&e.committer.image_url)),name:""+(e.committer&&e.committer.name)}),r.default.createElement("span",null,":提交于",e.time_from_now))))})))}},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("CtXQ")),a=p(n("2/Rp")),o=p(n("8z0m")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("2oDE"),n("L/Qf"),n("7W5+");var s=n("q1tI"),c=p(s),u=n("sYIF"),f=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Dragger,m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.checkInitFile()},n.componentDidUpdate=function(e){e&&e.fileList!==n.props.fileList&&n.checkInitFile()},n.checkInitFile=function(){var e=n.props.fileList;e&&e.length>0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";f.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&(e.response.id||e.response.data&&e.response.data.id))})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024<t;return r||n.props.showNotification("文件大小必须小于"+t+"MB!"),r},n.state={fileList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,l=e.btn,s=e.className,f=e.size,p=e.actionUrl,m=this.state.fileList,h={name:"file",fileList:!0===t?m:void 0,action:p||""+(0,u.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return l?c.default.createElement(o.default,i({},h,{className:s}),c.default.createElement(a.default,{type:"default"},"上传文件"),c.default.createElement("span",{className:"ml10 color-grey-9"},"(你可以上传小于",c.default.createElement("span",{className:"color-red"},f,"MB"),"的文件)")):c.default.createElement(d,i({},h,{className:s}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-16 color-grey-3"},"拖动文件或点击此处上传"))}}]),t}(s.Component);t.default=m},CZoQ:function(e,t){e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},Fyak:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(n("ZTPi")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("AUBz");var l=n("q1tI"),s=d(l);n("6JOy"),n("js5m");var c=d(n("AubP")),u=d(n("dIAb")),f=d(n("aABL")),p=d(n("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}var m=a.default.TabPane,h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props,t=e.footer_type,r=e.data;if(t){var a=n.props.match.params,o=a.projectsId,i=a.owner,l=a.mergeId;n.getCommit(i,o,l),n.getFile(i,o,l)}n.setState({activeKey:t?"1":"2",commitCount:r&&r.commits_count,filesCount:r&&r.files_count})},n.componentDidUpdate=function(e){var t=n.props.comparesData,r=n.props.footer_type;if(r){var a=n.props.data;a!==e.data&&n.setState({commitCount:a&&a.commits_count,filesCount:a&&a.files_count})}t!==e.comparesData&&(n.setState({activeKey:r?"1":"2"}),n.changeTab(r?"1":"2"))},n.changeTab=function(e){n.setState({isSpin:!0}),n.setState({activeKey:e});var t=n.props,r=t.footer_type,a=t.comparesData,o=n.props.match.params,i=o.projectsId,l=o.owner,s=o.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,s):n.setState({isSpin:!1}):n.setState({commitsData:a.commits,filesData:a.diff,commitCount:a.commits_count,filesCount:a.diff&&a.diff.files_count,isSpin:!1})},n.getCommit=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/commits.json";p.default.get(a).then((function(e){e&&n.setState({commitsData:e.data.commits,isSpin:!1,commitCount:e.data.commits_count})})).catch((function(e){}))},n.getFile=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/files.json";p.default.get(a).then((function(e){e&&n.setState({filesData:e.data,isSpin:!1,filesCount:e.data.files_count})})).catch((function(e){}))},n.state={pageData:void 0,commitsData:void 0,filesData:void 0,isSpin:!1,activeKey:"1",commitCount:0,filesCount:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner,i=this.props,l=i.footer_type,p=i.order_id,d=i.data,h=i.comparesData,y=this.state,v=y.isSpin,g=y.activeKey,b=y.filesCount,E=y.commitCount,w=y.filesData,_=y.commitsData;return!l&&!h||h&&(h.commits&&0===h.commits.length||h&&!h.diff)?"":s.default.createElement("div",{className:"main mergeRequest",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:v},s.default.createElement(a.default,{activeKey:g,className:"custom-commit-tabs",animated:!1,onChange:this.changeTab},l&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"评论"),d&&parseInt(d.comments_count)>0&&s.default.createElement("span",{className:"tabNum"},d.comments_count)),key:"1"},s.default.createElement(u.default,o({order_id:p,showNotification:this.props.showNotification,only_show_content:!0},this.props))),_&&_.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"提交"),E>0&&s.default.createElement("span",{className:"tabNum"},E)),key:"2"},s.default.createElement(c.default,o({},this.props,{commits:_,projectsId:t,owner:n}))),w&&w.files&&w.files.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"文件"),b>0&&s.default.createElement("span",{className:"tabNum"},b)),key:"3"},s.default.createElement(f.default,o({},this.props,{data:w,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}},LGYb:function(e,t,n){var r=n("1hJj"),a=n("jbM+"),o=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),s=n("rEGp");e.exports=function(e,t,n){var c=-1,u=a,f=e.length,p=!0,d=[],m=d;if(n)p=!1,u=o;else if(f>=200){var h=t?null:l(e);if(h)return s(h);p=!1,u=i,m=new r}else m=t?[]:d;e:for(;++c<f;){var y=e[c],v=t?t(y):y;if(y=n||0!==y?y:0,p&&v==v){for(var g=m.length;g--;)if(m[g]===v)continue e;t&&m.push(v),d.push(y)}else u(m,v,n)||(m!==d&&m.push(v),d.push(y))}return d}},LXko:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("74dF"),n("vAZS"),n("04bd"),n("YQTV"),n("4t1q")},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),a=p(n("W9HT")),o=p(n("NJEC")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),s=p(l),c=n("eO8H"),u=p(n("vDqi")),f=p(n("UQ5L"));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){n.setState({canDelete:n.props.canDelete})},n.show_video_modal=function(e){n.setState({video_title:e.title,move_spin:!0,video_id:e.id}),n.move_attachment(e.id,"preview")},n.hide_video_modal=function(){var e=n.state.video_id;n.setState({video_title:void 0}),n.move_attachment(e,"close")},n.move_attachment=function(e,t){u.default.post("/attachments/"+e+"/preview_attachment",{status:t}).then((function(e){e?n.setState({show_video:"preview"===t,video_url:"preview"===t?"https://forgeplus.trustie.net"+e.data.url:void 0,move_spin:!1}):n.setState({move_spin:!1})})).catch((function(e){n.setState({move_spin:!1}),console.log(e)}))},n.is_video=function(e){return["mp4","flv","mkv","3gp"].indexOf(e.split(".").pop())>-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,i=t.canDelete,l=t.show_video,u=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return s.default.createElement("div",null,m?s.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return s.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},s.default.createElement(a.default,{spinning:d},e.is_video(t.title)?s.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)):s.default.createElement(c.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)),i?s.default.createElement(o.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},s.default.createElement("span",{className:"attachment-list-delete fr"},s.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?s.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},s.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("VCL8"),o=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(f,e);var t,n,a,i=h(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=i.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(v(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(v(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,n){var a=t.props,o=a.okButtonProps,i=a.cancelButtonProps,s=a.title,c=a.cancelText,u=a.okText,f=a.okType,d=a.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},d,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},o),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.placement,u=b(a,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(o.default,p({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return t=f,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(n=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var n=this.props;"visible"in n||this.setState({visible:e});var r=n.onVisibleChange;r&&r(e,t)}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderConfirm)}}])&&d(t.prototype,n),a&&d(t,a),f}(r.Component);E.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(a.polyfill)(E),t.default=E},OQrj:function(e,t,n){},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},"R/W3":function(e,t,n){var r=n("KwMD"),a=n("2ajD"),o=n("CZoQ");e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,a,n)}},R3zJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=function(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},a=r(["flex","webkitFlex","Flex","msFlex"]);t.a=r},RqAY:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||"data-__"===n.substr(0,7)||(t[n]=e[n]),t}),{})}n.d(t,"a",(function(){return r}))},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),i=c(n("q1tI")),l=c(n("vOnD")),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,a=e.id,c=e.login,u=l.default.span(o,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return a?i.default.createElement(s.Link,{to:"/"+c},i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))):i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],a=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],o=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],i=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],f=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,a){if(n){var o={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(o),a.push.apply(a,o.decorations)}}var d=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&d.test(n.nodeValue)?e:t}return t===e?void 0:t}function h(e,t){var n,r={};!function(){for(var a=e.concat(t),o=[],i={},l=0,s=a.length;l<s;++l){var c=a[l],u=c[3];if(u)for(var f=u.length;--f>=0;)r[u.charAt(f)]=c;var p=c[1],d=""+p;i.hasOwnProperty(d)||(o.push(p),i[d]=null)}o.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,a=0,o=e.length;a<o;++a){if((p=e[a]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var i={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=i[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],a=["["];r&&a.push("^");for(var o=r?1:0,i=t.length;o<i;++o){var c=t[o];if(/\\[bdsw]/i.test(c))a.push(c);else{var u,f=l(c);o+2<i&&"-"===t[o+1]?(u=l(t[o+2]),o+=2):u=f,n.push([f,u]),u<65||f>122||(u<65||f>90||n.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||n.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],d=[];for(o=0;o<n.length;++o){(m=n[o])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(o=0;o<p.length;++o){var m=p[o];a.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&a.push("-"),a.push(s(m[1])))}return a.push("]"),a.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),a=r.length,o=[],i=0,l=0;i<a;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?o[u]=-1:r[i]=s(u))}}for(i=1;i<o.length;++i)-1===o[i]&&(o[i]=++t);for(i=0,l=0;i<a;++i){if("("===(f=r[i]))o[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+o[u])}}for(i=0;i<a;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<a;++i){var f,p=(f=r[i]).charAt(0);f.length>=2&&"["===p?r[i]=c(f):"\\"!==p&&(r[i]=f.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var f=[];for(a=0,o=e.length;a<o;++a){var p;if((p=e[a]).global||p.multiline)throw new Error(""+p);f.push("(?:"+u(p)+")")}return new RegExp(f.join("|"),r?"gi":"g")}(o)}();var a=t.length,o=function(e){for(var i=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,f=i.match(n)||[],d={},m=0,h=f.length;m<h;++m){var y,v=f[m],g=d[v],b=void 0;if("string"==typeof g)y=!1;else{var E=r[v.charAt(0)];if(E)b=v.match(E[1]),g=E[0];else{for(var _=0;_<a;++_)if(E=t[_],b=v.match(E[1])){g=E[0];break}b||(g="pln")}!(y=g.length>=5&&"lang-"===g.substring(0,5))||b&&"string"==typeof b[1]||(y=!1,g="src"),y||(d[v]=g)}var C=u;if(u+=v.length,y){var S=b[1],x=v.indexOf(S),O=x+S.length;b[2]&&(x=(O=v.length-b[2].length)-S.length);var N=g.substring(5);p(s,l+C,v.substring(0,x),o,c),p(s,l+C+x,S,w(N,S),c),p(s,l+C+O,v.substring(O),o,c)}else c.push(l+C,g)}e.decorations=c};return o}function y(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var a=e.regexLiterals;if(a){var o=a>1?"":"\n\r",i=o?".":"[\\S\\s]",l="/(?=[^/*"+o+"])(?:[^/\\x5B\\x5C"+o+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+o+"]|\\x5C"+i+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),h(t,n)}var v=y({keywords:[r,o,a,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,a=/\r\n?|\n/,o=e.ownerDocument,i=o.createElement("li");e.firstChild;)i.appendChild(e.firstChild);var l=[i];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var i=e.nodeValue,l=i.match(a);if(l){var u=i.substring(0,l.index);e.nodeValue=u;var f=i.substring(l.index+l[0].length);if(f)e.parentNode.insertBefore(o.createTextNode(f),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,a=t.parentNode;if(a){var o=e(a,1),i=t.nextSibling;o.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,o.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var f=o.createElement("ol");f.className="linenums";for(var p=Math.max(0,t-1|0)||0,d=(u=0,l.length);u<d;++u)(i=l[u]).className="L"+(u+p)%10,i.firstChild||i.appendChild(o.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function E(t,n){for(var r=n.length;--r>=0;){var a=n[r];b.hasOwnProperty(a)?e.console&&console.warn("cannot override language handler %s",a):b[a]=t}}function w(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function _(t){var n,r,a,o,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,a=/(?:^|\s)nocode(?:\s|$)/,o=[],i=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(a.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(o[s]="\n",l[s<<1]=i++,l[s++<<1|1]=t)}else if(3==n||4==n){var f=t.nodeValue;f.length&&(f=r?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),o[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:o.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,w(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,a=/\n/g,o=e.sourceCode,i=o.length,l=0,s=e.spans,c=s.length,u=0,f=e.decorations,p=f.length,d=0;for(f[p]=i,r=n=0;r<p;)f[r]!==f[r+2]?(f[n++]=f[r++],f[n++]=f[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=f[r],h=f[r+1],y=r+2;y+2<=p&&f[y+1]===h;)y+=2;f[n++]=m,f[n++]=h,r=y}p=f.length=n;var v=e.sourceNode,g="";v&&(g=v.style.display,v.style.display="none");try{for(;u<c;){s[u];var b,E=s[u+2]||i,w=f[d+2]||i,_=(y=Math.min(E,w),s[u+1]);if(1!==_.nodeType&&(b=o.substring(l,y))){t&&(b=b.replace(a,"\r")),_.nodeValue=b;var C=_.ownerDocument,S=C.createElement("span");S.className=f[d+1];var x=_.parentNode;x.replaceChild(S,_),S.appendChild(_),l<E&&(s[u+1]=_=C.createTextNode(o.substring(y,E)),x.insertBefore(_,S.nextSibling))}(l=y)>=E&&(u+=2),l>=w&&(d+=2)}}finally{v&&(v.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function C(e,t,n){var r=n||!1,a=t||null,o=document.createElement("div");return o.innerHTML="<pre>"+e+"</pre>",o=o.firstChild,r&&g(o,r,!0),_({langExtension:a,numberLines:r,sourceNode:o,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),o.innerHTML}function S(t,n){var r=n||document.body,a=r.ownerDocument||document;function o(e){return r.getElementsByTagName(e)}for(var i=[o("pre"),o("code"),o("xmp")],l=[],s=0;s<i.length;++s)for(var c=0,u=i[s].length;c<u;++c)l.push(i[s][c]);i=null;var f=Date;f.now||(f={now:function(){return+new Date}});var p=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,y=/\bprettyprinted\b/,v=/pre|xmp/i,b=/^code$/i,E=/^(?:pre|code|xmp)$/i,w={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var o=l[p],i=w,s=o;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){i={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){i[t]=n}));break}}var C=o.className;if((i!==w||h.test(C))&&!y.test(C)){for(var S=!1,x=o.parentNode;x;x=x.parentNode){var O=x.tagName;if(E.test(O)&&x.className&&h.test(x.className)){S=!0;break}}if(!S){o.className+=" prettyprinted";var N,k,P=i.lang;if(!P)!(P=C.match(d))&&(N=m(o))&&b.test(N.tagName)&&(P=N.className.match(d)),P&&(P=P[1]);if(v.test(o.tagName))k=1;else{var j=o.currentStyle,T=a.defaultView,R=j?j.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(o,null).getPropertyValue("white-space"):0;k=R&&"pre"===R.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=C.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(o,A,k),_({langExtension:P,sourceNode:o,numberLines:A,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}E(v,["default-code"]),E(h([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),E(h([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),E(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),E(y({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),E(y({keywords:"null,true,false"}),["json"]),E(y({keywords:o,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),E(y({keywords:a,cStyleComments:!0}),["java"]),E(y({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),E(y({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),E(y({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),E(y({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),E(y({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),E(y({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),E(h([],[["str",/^[\s\S]+/]]),["regex"]);var x=e.PR={createSimpleLexer:h,registerLangHandler:E,sourceDecorator:y,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:C,prettyPrint:S},O=e.define;"function"==typeof O&&O.amd&&O("google-code-prettify",[],(function(){return x}))}()},Sxd8:function(e,t,n){var r=n("ZCgT");e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},TiQt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=C(n("Vl3Y")),a=C(n("W9HT")),o=C(n("jsC+")),i=C(n("CtXQ")),l=C(n("+KLJ")),s=C(n("mr32")),c=C(n("BvKs")),u=C(n("2/Rp")),f=C(n("ZTPi")),p=C(n("5rEg")),d=C(n("2fM7")),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("tULf"),n("04bd"),n("aIZi"),n("2oDE"),n("2DKY"),n("0lcf"),n("2WkQ"),n("L/Qf"),n("AUBz"),n("1vPl"),n("8QGh");var y=n("q1tI"),v=C(y),g=n("eO8H"),b=(n("spEH"),C(n("vDqi"))),E=n("sYIF");n("js5m");var w=C(n("bjH3"));n("6JOy");var _=C(n("Fyak"));function C(e){return e&&e.__esModule?e:{default:e}}d.default.Option;var S=p.default.TextArea;var x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.setState({SpinFlag:!0}),n.getDetail()},n.clickBody=function(){document.body.addEventListener("click",(function(e){var t=e.target.className;t.indexOf("notHide")>-1||t.indexOf("ant-tabs-tab")>-1||"ant-tabs-nav-scroll"===t||n.setState({copyVisible:!1})}))},n.getDetail=function(){var e=n.props.match.params,t=e.projectsId,r=e.mergeId,a="/"+e.owner+"/"+t+"/pulls/"+r+".json";b.default.get(a).then((function(e){e&&e.data?n.setState({data:e.data,SpinFlag:!1,pr_status:e.data.pull_request&&e.data.pull_request.status,pull_request:e.data.pull_request,conflict_files:e.data.conflict_files}):n.setState({SpinFlag:!1})})).catch((function(e){n.setState({SpinFlag:!1}),console.log(e)}))},n.closedetail=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.mergeId,a="/"+e.owner+"/"+t+"/pulls/"+r+"/refuse_merge.json";b.default.post(a).then((function(e){if(e){n.setState({isSpin:!1,pr_status:2});var t=n.props.getDetail;t&&t()}else n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.prmerge=function(){n.setState({SpinMerge:!0});var e=n.props.match.params,t=e.projectsId,r=e.owner,a=n.state,o=a.data,i=a.title,l=a.body,s=a.mergekey,c=(a.pr_status,"/"+r+"/"+t+"/pulls/"+o.pull_request.id+"/pr_merge.json");b.default.post(c,{project_id:t,id:o.pull_request.id,do:s,body:l,title:i}).then((function(e){if(e){n.setState({SpinMerge:!1,pr_status:1});var t=n.props.getDetail;t&&t()}else n.setState({SpinMerge:!1})})).catch((function(e){n.setState({SpinMerge:!1}),console.log(e)}))},n.changtitlepr=function(e){n.setState({title:e.target.value})},n.changbodypr=function(e){n.setState({body:e.target.value})},n.submitmerge=function(){"rebase"===n.state.mergekey?n.setState({buttonshow:"block",ismesrge:!0}):n.setState({ismesrge:"block",buttonshow:!1})},n.nonemerge=function(){n.setState({ismesrge:!1,buttonshow:"none"})},n.getOption=function(e){"rebase"===e.key?n.setState({mergename:e.item.props.value,mergekey:e.key,title:"",body:"",buttonshow:"block"}):n.setState({mergename:e.item.props.value,mergekey:e.key,title:"",body:"",ismesrge:!0,buttonshow:"block"})},n.cancelSubmit=function(){n.setState({editMerge:!1})},n.commentCtx=function(e){return v.default.createElement(w.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.setCopyVisible=function(e){e.stopPropagation(),n.setState({copyVisible:!0})},n.copyItem=function(){return v.default.createElement("div",{className:"copyTab notHide"},v.default.createElement(f.default,{defaultActiveKey:"1",className:"notHide",animated:!1,size:"small"},v.default.createElement(f.default.TabPane,{key:"1",tab:v.default.createElement("span",{className:"notHide"},"HTTPS")},n.returnCopyUrl("https://gitee.com/44886/polhttp.git")),v.default.createElement(f.default.TabPane,{key:"2",tab:v.default.createElement("span",{className:"notHide"},"SSH")},n.returnCopyUrl("https://gitee.com/44886/polssh.git"))))},n.returnCopyUrl=function(e){return v.default.createElement("div",{className:"df notHide"},v.default.createElement(p.default,{value:e,className:"notHide",disabled:!0}),v.default.createElement(u.default,{type:"primary",ghost:!0,className:"ml15 notHide"},"复制"))},n.jsCopy=function(){var e=document.querySelector("#descContent"),t=document.createRange();window.getSelection().removeAllRanges(),t.selectNode(e),window.getSelection().addRange(t),document.execCommand("Copy")},n.mergeabledMes=function(){return v.default.createElement("div",{className:"clearfix"},v.default.createElement("p",{className:"fl"},"该分支存在冲突,无法自动合并,你可以尝试通过如下命令手动合并"),v.default.createElement("i",{className:"iconfont icon-fuzhi font-16 fr",onClick:function(){return n.jsCopy()}}))},n.mergeabledDesc=function(e,t,n){return v.default.createElement("div",null,v.default.createElement("ul",{id:"descContent"},v.default.createElement("li",null,"git fetch origin"),v.default.createElement("li",null,"git checkout -b ",""+e," origin/",""+e),v.default.createElement("li",null,"git merge ",""+t)),n&&n.length>0&&v.default.createElement("div",null,v.default.createElement("p",{className:"mt10 font-16 pt10",style:{borderTop:"1px solid #f9d7d5"}},"如下文件有代码冲突:"),v.default.createElement("p",null,n.map((function(e,t){return v.default.createElement("p",null,e)})))))},n.state={data:void 0,isSpin:!1,ismesrge:!1,buttonshow:"none",mergename:"合并请求",mergekey:"merge",title:"",body:"",SpinFlag:!0,SpinMerge:!1,edit_spin:!1,pr_status:void 0,pull_request:void 0,conflict_files:[],copyVisible:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),h(t,[{key:"render",value:function(){var e,t=this,n=this.props.match.params,r=n.projectsId,f=n.mergeId,d=n.owner,h=this.state,y=h.data,b=h.SpinMerge,w=h.pr_status,C=h.isSpin,x=h.ismesrge,O=h.SpinFlag,N=(h.copyVisible,h.pull_request),k=h.conflict_files,P=this.props,j=P.current_user,T=P.projectDetail,R=v.default.createElement(c.default,{onClick:function(e){return t.getOption(e)}},v.default.createElement(c.default.Item,{key:"merge",value:"合并请求"},"合并请求"),v.default.createElement(c.default.Item,{key:"rebase",value:"变基并合并"},"变基并合并"),v.default.createElement(c.default.Item,{key:"rebase-merge",value:"变基合并 --no-ff"},"变基合并 --no-ff"),v.default.createElement(c.default.Item,{key:"squash",value:"压缩提交并合并"},"压缩提交并合并")),A=T&&("Admin"===T.permission||"Owner"===T.permission||"Manager"===T.permission),D=j&&j.login&&T&&0===w&&A;return v.default.createElement("div",null,y?v.default.createElement("div",null,v.default.createElement("div",{className:"main"},v.default.createElement("div",null,v.default.createElement("div",{className:"grid-item-top pb20 border-1f"},v.default.createElement("div",null,v.default.createElement("div",{className:"ver-middle"},v.default.createElement("span",{className:"mr10 ver-middle"},v.default.createElement("span",{className:"font-18 fwb"},y.issue.subject)),y.pull_request&&v.default.createElement(s.default,{className:"pr_tags_"+y.pull_request.pull_request_staus},1===w?"已合并":2===w?"已拒绝":"开启的")),v.default.createElement("div",{className:"mt15"},v.default.createElement(s.default,{className:"pr-branch-tag"},v.default.createElement(g.Link,{to:"/"+(y.pull_request.is_original?y.pull_request.fork_project_user:y.issue.project_author_name)+"/"+(y.pull_request.is_original?y.project_identifier:r)+"/tree/"+(e=y.pull_request&&y.pull_request.head,e&&e.length>0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e),className:"ver-middle"},y.pull_request.is_original?y.pull_request.fork_project_user:y.issue.project_author_name,": ",y.pull_request&&y.pull_request.head)),v.default.createElement("span",{className:"mr8 ver-middle"},v.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-16"})),v.default.createElement(s.default,{className:"pr-branch-tag"},v.default.createElement(g.Link,{to:"/"+d+"/"+r+"/tree/"+y.pull_request.base,className:"ver-middle"},y.issue.project_author_name,":",y.pull_request.base))),v.default.createElement("div",{className:"mt15"},v.default.createElement(g.Link,{to:"/"+y.issue.author_login,className:"show-user-link"},v.default.createElement("img",{className:"mr5",src:(0,E.getImageUrl)("/"+y.issue.author_picture),alt:"",width:"24",height:"24",style:{borderRadius:"50%"}})),v.default.createElement("span",{className:"ver-middle"},v.default.createElement("span",{className:"color-grey-8 mr5"},"由"),v.default.createElement(g.Link,{to:"/"+y.issue.author_login,className:"show-user-link color-blue"},y.issue.author_name),v.default.createElement("span",{className:"ml5 color-grey-8"},0===w?"创建于":1===w?"合并于":"更新于"),v.default.createElement("span",{className:"color-grey-8 ml5"},y.pr_time),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"审查人员:"),y.issue.assign_user_name?v.default.createElement(g.Link,{to:"/"+y.issue.assign_user_login,className:"show-user-link color-blue"},y.issue.assign_user_name):"--"),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"里程碑:"),v.default.createElement("span",{className:"color-grey-3"},y.issue.version?y.issue.version:"--")),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"标记:"),v.default.createElement("span",{className:"color-grey-3"},y.issue.issue_tags&&y.issue.issue_tags.length>0?y.issue.issue_tags[0].name:"--")),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"优先级:"),v.default.createElement("span",{className:"color-grey-3"},y.issue.priority?y.issue.priority:"--"))))),v.default.createElement("div",{className:"ml10"},v.default.createElement("div",{className:"mt15 text-right",style:{display:"flex",justifyContent:"flex-end"}},D&&v.default.createElement(u.default,{type:"green",ghost:!0,className:"ml20",onClick:function(){t.props.history.push("/"+d+"/"+r+"/pulls/"+f+"/UpdateMerge")}},"编辑"),D&&v.default.createElement(u.default,{type:"danger",ghost:!0,onClick:function(){return t.closedetail()},className:"ml20",loading:C},"拒绝")))),y.issue.description?v.default.createElement("div",{className:"mt15"},this.commentCtx(y.issue.description)):v.default.createElement("p",{className:"color-grey-9 ml3 mr3 mt15"},"没有描述")),v.default.createElement("div",{className:"mt15"},2===w&&v.default.createElement(l.default,{message:"提示",description:"该合并请求已被拒绝",type:"error"}),1===w&&v.default.createElement(l.default,{message:"提示",description:"该合并请求已被合并",type:"success"}),D&&v.default.createElement(a.default,{spinning:O},v.default.createElement("div",{style:{display:"rebase"===this.state.mergekey?"none"===this.state.buttonshow?"block":"none":x?"none":"block"}},v.default.createElement(o.default.Button,{overlay:R,type:"primary",onClick:this.submitmerge,className:"mb15",icon:v.default.createElement(i.default,{type:"caret-down"}),disabled:!N||N&&!N.mergeable},this.state.mergename),N&&N.mergeable?v.default.createElement(l.default,{message:"该合并请求可以进行自动合并操作",type:"success",showIcon:!0}):v.default.createElement(l.default,{message:this.mergeabledMes(),type:"error",description:this.mergeabledDesc(N.base,N.head,k),showIcon:!0})),v.default.createElement("div",null,v.default.createElement("div",{style:{display:x?"block":"none",marginTop:15}},v.default.createElement(p.default,{placeholder:"标题",value:this.state.title,onChange:this.changtitlepr}),v.default.createElement(S,{placeholder:"请输入合并描述...",style:{height:"170px",marginTop:20},value:this.state.body,onChange:this.changbodypr})),v.default.createElement("p",{className:"clearfix mt15",style:{display:this.state.buttonshow}},v.default.createElement(a.default,{spinning:b},v.default.createElement(u.default,{type:"primary",onClick:function(){return t.prmerge()}},"确认合并"),v.default.createElement(u.default,{onClick:function(){return t.nonemerge()},className:"ml15"},"取消"))))))),v.default.createElement(_.default,m({footer_type:!0,order_id:y&&y.issue.id},this.props,this.state))):"")}}]),t}(y.Component),O=r.default.create({name:"MessageCountForm"})(x);t.default=O},UQ5L:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n("q1tI"),o=l(a),i=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,a.useState)(null),n=r(t,2),l=n[0],s=n[1];return(0,a.useEffect)((function(){s(e.video_url)}),[]),o.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),a=n("ut/Y"),o=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:o(n);return s<0&&(s=i(l+s,0)),r(e,a(t,3),s)}},VPG4:function(e,t,n){},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return M}));var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),i=n.n(o),l=n("BGR+"),s=n("W9HT"),c=n("H84U"),u=n("NUBc"),f=n("qrJ5"),p=n("/kpp");function d(e){if(!r.isValidElement(e))return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return r.cloneElement.apply(r,[e].concat(n))}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var a=w(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function S(e,t){return e[t]&&Math.floor(24/e[t])}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(l,e);var t,n,a,o=b(l);function l(){var e;return y(this,l),(e=o.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,a=e.context,o=a.grid,l=a.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=C(s,["prefixCls","children","actions","extra","className"]),g=n("list",c),b=f&&f.length>0&&r.createElement("ul",{className:"".concat(g,"-item-action"),key:"actions"},f.map((function(e,t){return r.createElement("li",{key:"".concat(g,"-item-action-").concat(t)},e,t!==f.length-1&&r.createElement("em",{className:"".concat(g,"-item-action-split")}))}))),E=o?"div":"li",w=r.createElement(E,_({},v,{className:i()("".concat(g,"-item"),y,h({},"".concat(g,"-item-no-flex"),!e.isFlexMode()))}),"vertical"===l&&m?[r.createElement("div",{className:"".concat(g,"-item-main"),key:"content"},u,b),r.createElement("div",{className:"".concat(g,"-item-extra"),key:"extra"},m)]:[u,b,d(m,{key:"extra"})]);return o?r.createElement(p.a,{span:S(o,"column"),xs:S(o,"xs"),sm:S(o,"sm"),md:S(o,"md"),lg:S(o,"lg"),xl:S(o,"xl"),xxl:S(o,"xxl")},w):w},e}return t=l,(n=[{key:"isItemContainsTextNodeAndNotSingular",value:function(){var e,t=this.props.children;return r.Children.forEach(t,(function(t){"string"==typeof t&&(e=!0)})),e&&r.Children.count(t)>1}},{key:"isFlexMode",value:function(){var e=this.props.extra;return"vertical"===this.context.itemLayout?!!e:!this.isItemContainsTextNodeAndNotSingular()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderItem)}}])&&v(t.prototype,n),a&&v(t,a),l}(r.Component);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I(e);if(t){var a=I(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return D(this,n)}}function D(e,t){return!t||"object"!==O(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}x.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,a=e.prefixCls,o=e.className,l=e.avatar,s=e.title,c=e.description,u=C(e,["prefixCls","className","avatar","title","description"]),f=n("list",a),p=i()("".concat(f,"-item-meta"),o),d=r.createElement("div",{className:"".concat(f,"-item-meta-content")},s&&r.createElement("h4",{className:"".concat(f,"-item-meta-title")},s),c&&r.createElement("div",{className:"".concat(f,"-item-meta-description")},c));return r.createElement("div",_({},u,{className:p}),l&&r.createElement("div",{className:"".concat(f,"-item-meta-avatar")},l),(s||c)&&d)}))},x.contextTypes={grid:a.any,itemLayout:a.string};var L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(p,e);var t,n,a,o=A(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=o.call(this,e)).defaultPaginationProps={current:1,total:0},t.keys={},t.onPaginationChange=t.triggerPaginationEvent("onChange"),t.onPaginationShowSizeChange=t.triggerPaginationEvent("onShowSizeChange"),t.renderItem=function(e,n){var r,a=t.props,o=a.renderItem,i=a.rowKey;return o?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,o(e,n)):null},t.renderEmpty=function(e,n){var a=t.props.locale;return r.createElement("div",{className:"".concat(e,"-empty-text")},a&&a.emptyText||n("List"))},t.renderList=function(e){var n,a=e.getPrefixCls,o=e.renderEmpty,c=t.state,p=c.paginationCurrent,d=c.paginationSize,m=t.props,h=m.prefixCls,y=m.bordered,v=m.split,g=m.className,b=m.children,E=m.itemLayout,w=m.loadMore,_=m.pagination,C=m.grid,S=m.dataSource,x=void 0===S?[]:S,O=m.size,k=m.header,T=m.footer,R=m.loading,A=L(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),D=a("list",h),I=R;"boolean"==typeof I&&(I={spinning:I});var M=I&&I.spinning,F="";switch(O){case"large":F="lg";break;case"small":F="sm"}var U=i()(D,g,(j(n={},"".concat(D,"-vertical"),"vertical"===E),j(n,"".concat(D,"-").concat(F),F),j(n,"".concat(D,"-split"),v),j(n,"".concat(D,"-bordered"),y),j(n,"".concat(D,"-loading"),M),j(n,"".concat(D,"-grid"),C),j(n,"".concat(D,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),B=P(P(P({},t.defaultPaginationProps),{total:x.length,current:p,pageSize:d}),_||{}),H=Math.ceil(B.total/B.pageSize);B.current>H&&(B.current=H);var z,q=_?r.createElement("div",{className:"".concat(D,"-pagination")},r.createElement(u.default,P({},B,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,K=N(x);if(_&&x.length>(B.current-1)*B.pageSize&&(K=N(x).splice((B.current-1)*B.pageSize,B.pageSize)),z=M&&r.createElement("div",{style:{minHeight:53}}),K.length>0){var V=K.map((function(e,n){return t.renderItem(e,n)})),W=[];r.Children.forEach(V,(function(e,n){W.push(r.cloneElement(e,{key:t.keys[n]}))})),z=C?r.createElement(f.a,{gutter:C.gutter},W):r.createElement("ul",{className:"".concat(D,"-items")},W)}else b||M||(z=t.renderEmpty(D,o));var Y=B.position||"bottom";return r.createElement("div",P({className:U},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===Y||"both"===Y)&&q,k&&r.createElement("div",{className:"".concat(D,"-header")},k),r.createElement(s.default,I,z,b),T&&r.createElement("div",{className:"".concat(D,"-footer")},T),w||("bottom"===Y||"both"===Y)&&q)};var n=e.pagination,a=n&&"object"===O(n)?n:{};return t.state={paginationCurrent:a.defaultCurrent||1,paginationSize:a.defaultPageSize||10},t}return t=p,(n=[{key:"getChildContext",value:function(){return{grid:this.props.grid,itemLayout:this.props.itemLayout}}},{key:"triggerPaginationEvent",value:function(e){var t=this;return function(n,r){var a=t.props.pagination;t.setState({paginationCurrent:n,paginationSize:r}),a&&a[e]&&a[e](n,r)}}},{key:"isSomethingAfterLastItem",value:function(){var e=this.props,t=e.loadMore,n=e.pagination,r=e.footer;return!!(t||n||r)}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderList)}}])&&T(t.prototype,n),a&&T(t,a),p}(r.Component);M.Item=x,M.childContextTypes={grid:a.any,itemLayout:a.string},M.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},"Xt/L":function(e,t){e.exports=function(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}},ZCgT:function(e,t,n){var r=n("tLB3");e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return We}));var r=n("q1tI"),a=n.n(r),o=n("i8i4"),i=n("QbLZ"),l=n.n(i),s=n("YEIV"),c=n.n(s),u=n("jo6Y"),f=n.n(u),p=n("iCc5"),d=n.n(p),m=n("V7oC"),h=n.n(m),y=n("FYw3"),v=n.n(y),g=n("mRg0"),b=n.n(g),E=n("17x9"),w=n.n(E),_=n("TSYQ"),C=n.n(_),S=n("n1GQ"),x=n.n(S),O=n("VCL8"),N=37,k=38,P=39,j=40;function T(e){var t=[];return a.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function R(e,t){for(var n=T(e),r=0;r<n.length;r++)if(n[r].key===t)return r;return-1}function A(e,t){e.transform=t,e.webkitTransform=t,e.mozTransform=t}function D(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function I(e){return"left"===e||"right"===e}function L(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function M(e){return Object.keys(e).reduce((function(t,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})}function F(e,t){return+e.getPropertyValue(t).replace("px","")}function U(e,t,n,r,a){var o=L(a,"padding-"+e);if(!r||!r.parentNode)return o;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(a){var i=window.getComputedStyle(a);return a!==r?(o+=F(i,"margin-"+e),o+=a[t],o+=F(i,"margin-"+n),"content-box"===i.boxSizing&&(o+=F(i,"border-"+e+"-width")+F(i,"border-"+n+"-width")),!1):(o+=F(i,"margin-"+e),!0)})),o}var B=n("4IlW"),H=n("foW8"),z=n.n(H)()({}),q=z.Provider,K=z.Consumer,V={width:0,height:0,overflow:"hidden",position:"absolute"},W=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=v()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.onKeyDown=function(e){var t=e.target,n=e.which,a=e.shiftKey,o=r.props,i=o.nextElement,l=o.prevElement;n===B.a.TAB&&document.activeElement===t&&(!a&&i&&i.focus(),a&&l&&l.focus())},a=n,v()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props.setRef;return a.a.createElement("div",{tabIndex:0,ref:e,style:V,onKeyDown:this.onKeyDown,role:"presentation"})}}]),t}(a.a.Component);W.propTypes={setRef:w.a.func,prevElement:w.a.object,nextElement:w.a.object};var Y=W,Q=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e,t=this.props,n=t.id,r=t.className,o=t.destroyInactiveTabPane,i=t.active,s=t.forceRender,u=t.rootPrefixCls,p=t.style,d=t.children,m=t.placeholder,h=f()(t,["id","className","destroyInactiveTabPane","active","forceRender","rootPrefixCls","style","children","placeholder"]);this._isActived=this._isActived||i;var y=u+"-tabpane",v=C()((e={},c()(e,y,1),c()(e,y+"-inactive",!i),c()(e,y+"-active",i),c()(e,r,r),e)),g=(o?i:this._isActived)||s;return a.a.createElement(K,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,o=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=a.a.createElement(Y,{setRef:o,prevElement:t}),u=a.a.createElement(Y,{setRef:s,nextElement:r})),a.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:v,id:n},M(h)),c,g?d:m,u)}))}}]),t}(a.a.Component),G=Q;function J(e){var t=void 0;return a.a.Children.forEach(e.children,(function(e){!e||t||e.props.disabled||(t=e.key)})),t}Q.propTypes={className:w.a.string,active:w.a.bool,style:w.a.any,destroyInactiveTabPane:w.a.bool,forceRender:w.a.bool,placeholder:w.a.node,rootPrefixCls:w.a.string,children:w.a.node,id:w.a.string},Q.defaultProps={placeholder:null};var X=function(e){function t(e){d()(this,t);var n=v()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));Z.call(n);var r=void 0;return r="activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:J(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,x.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(x.a.cancel(this.sentinelId),this.sentinelId=x()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,o=t.tabBarPosition,i=t.className,s=t.renderTabContent,u=t.renderTabBar,p=t.destroyInactiveTabPane,d=t.direction,m=f()(t,["prefixCls","navWrapper","tabBarPosition","className","renderTabContent","renderTabBar","destroyInactiveTabPane","direction"]),h=C()((e={},c()(e,n,1),c()(e,n+"-"+o,1),c()(e,i,!!i),c()(e,n+"-rtl","rtl"===d),e));this.tabBar=u();var y=a.a.cloneElement(this.tabBar,{prefixCls:n,navWrapper:r,key:"tabBar",onKeyDown:this.onNavKeyDown,tabBarPosition:o,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=a.a.cloneElement(s(),{prefixCls:n,tabBarPosition:o,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=a.a.createElement(Y,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=a.a.createElement(Y,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),E=[];return"bottom"===o?E.push(g,v,b,y):E.push(y,g,v,b),a.a.createElement(q,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},a.a.createElement("div",l()({className:h,style:t.style},M(m),{onScroll:this.onScroll}),E))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"activeKey"in e?n.activeKey=e.activeKey:function(e,t){return a.a.Children.map(e.children,(function(e){return e&&e.key})).indexOf(t)>=0}(e,t.activeKey)||(n.activeKey=J(e)),Object.keys(n).length>0?n:null}}]),t}(a.a.Component),Z=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===P||n===j){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===N||n===k){t.preventDefault();var a=e.getNextActiveKey(!1);e.onTabClick(a)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];a.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var o=r.length,i=o&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===o-1?r[0].key:r[t+1].key)})),i}};X.propTypes={destroyInactiveTabPane:w.a.bool,renderTabBar:w.a.func.isRequired,renderTabContent:w.a.func.isRequired,navWrapper:w.a.func,onChange:w.a.func,children:w.a.node,prefixCls:w.a.string,className:w.a.string,tabBarPosition:w.a.string,style:w.a.object,activeKey:w.a.string,defaultActiveKey:w.a.string,direction:w.a.string},X.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},X.TabPane=G,Object(O.polyfill)(X);var $=X,ee=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return a.a.Children.forEach(n,(function(n){if(n){var o=n.key,i=t===o;r.push(a.a.cloneElement(n,{active:i,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,o=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=C()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=R(o,i);if(-1!==y){var v=p?function(e,t){var n=I(t)?"marginTop":"marginLeft";return c()({},n,100*-e+"%")}(y,u):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=I(t)?"translateY":"translateX";return I(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(y,u,d),WebkitTransform:t,MozTransform:t};m=l()({},m,v)}else m=l()({},m,{display:"none"})}return a.a.createElement("div",{className:h,style:m},this.getTabPanes())}}]),t}(a.a.Component),te=ee;ee.propTypes={animated:w.a.bool,animatedWithMargin:w.a.bool,prefixCls:w.a.string,children:w.a.node,activeKey:w.a.string,style:w.a.any,tabBarPosition:w.a.string,className:w.a.string,destroyInactiveTabPane:w.a.bool,direction:w.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("BGR+");function ae(e,t){var n=e.props,r=n.styles,a=n.panels,o=n.activeKey,i=n.direction,l=e.props.getRef("root"),s=e.props.getRef("nav")||l,c=e.props.getRef("inkBar"),u=e.props.getRef("activeTab"),f=c.style,p=e.props.tabBarPosition,d=R(a,o);if(t&&(f.display="none"),u){var m=u,h=D(f);if(A(f,""),f.width="",f.height="",f.left="",f.top="",f.bottom="",f.right="","top"===p||"bottom"===p){var y=function(e,t){return U("left","offsetWidth","right",e,t)}(m,s),v=m.offsetWidth;v===l.offsetWidth?v=0:r.inkBar&&void 0!==r.inkBar.width&&(v=parseFloat(r.inkBar.width,10))&&(y+=(m.offsetWidth-v)/2),"rtl"===i&&(y=L(m,"margin-left")-y),h?A(f,"translate3d("+y+"px,0,0)"):f.left=y+"px",f.width=v+"px"}else{var g=function(e,t){return U("top","offsetHeight","bottom",e,t)}(m,s),b=m.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(b=parseFloat(r.inkBar.height,10))&&(g+=(m.offsetHeight-b)/2),h?(A(f,"translate3d(0,"+g+"px,0)"),f.top="0"):f.top=g+"px",f.height=b+"px"}}f.display=-1!==d?"block":"none"}var oe=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){ae(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){ae(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,o=t.inkBarAnimated,i=n+"-ink-bar",l=C()((e={},c()(e,i,!0),c()(e,o?i+"-animated":i+"-no-animated",!0),e));return a.a.createElement("div",{style:r.inkBar,className:l,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(a.a.Component),ie=oe;oe.propTypes={prefixCls:w.a.string,styles:w.a.object,inkBarAnimated:w.a.bool,saveRef:w.a.func,direction:w.a.string},oe.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),se=n.n(le),ce=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,o=t.prefixCls,i=t.tabBarGutter,s=t.saveRef,u=t.tabBarPosition,f=t.renderTabBarNode,p=t.direction,d=[];return a.a.Children.forEach(n,(function(t,m){if(t){var h=t.key,y=r===h?o+"-tab-active":"";y+=" "+o+"-tab";var v={};t.props.disabled?y+=" "+o+"-tab-disabled":v={onClick:e.props.onTabClick.bind(e,h)};var g={};r===h&&(g.ref=s("activeTab"));var b=i&&m===n.length-1?0:i,E="rtl"===p?"marginLeft":"marginRight",w=c()({},I(u)?"marginBottom":E,b);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var _=a.a.createElement("div",l()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},v,{className:y,key:h,style:w},g),t.props.tab);f&&(_=f(_)),d.push(_)}})),a.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(a.a.Component),ue=ce;ce.propTypes={activeKey:w.a.string,panels:w.a.node,prefixCls:w.a.string,tabBarGutter:w.a.number,onTabClick:w.a.func,saveRef:w.a.func,renderTabBarNode:w.a.func,tabBarPosition:w.a.string,direction:w.a.string},ce.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var fe=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,o=e.className,i=e.extraContent,s=e.style,u=e.tabBarPosition,p=e.children,d=f()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),m=C()(t+"-bar",c()({},o,!!o)),h="top"===u||"bottom"===u,y=h?{float:"right"}:{},v=i&&i.props?i.props.style:{},g=p;return i&&(g=[Object(r.cloneElement)(i,{key:"extra",style:l()({},y,v)}),Object(r.cloneElement)(p,{key:"content"})],g=h?g:g.reverse()),a.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},M(d)),g)}}]),t}(a.a.Component),pe=fe;fe.propTypes={prefixCls:w.a.string,className:w.a.string,style:w.a.object,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),children:w.a.node,extraContent:w.a.node,onKeyDown:w.a.func,saveRef:w.a.func},fe.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var de=n("sEfC"),me=n.n(de),he=n("bdgK"),ye=function(e){function t(e){d()(this,t);var n=v()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var a=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),a){var o=n.getScrollWH(t),i=n.getOffsetWH(r),l=n.offset,s=n.getOffsetLT(r),c=n.getOffsetLT(t);s>c?(l+=s-c,n.setOffset(l)):s+i<c+o&&(l-=c+o-(s+i),n.setOffset(l))}}},n.prev=function(e){n.props.onPrevClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a+r)},n.next=function(e){n.props.onNextClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a-r)},n.offset=0,n.state={next:!1,prev:!1},n}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),this.debouncedResize=me()((function(){e.setNextPrev(),e.scrollToActiveTab()}),200),this.resizeObserver=new he.default(this.debouncedResize),this.resizeObserver.observe(this.props.getRef("container"))}},{key:"componentDidUpdate",value:function(e){var t=this.props;if(e&&e.tabBarPosition!==t.tabBarPosition)this.setOffset(0);else{var n=this.setNextPrev();this.isNextPrevShown(this.state)!==this.isNextPrevShown(n)?this.setState({},this.scrollToActiveTab):e&&t.activeKey===e.activeKey||this.scrollToActiveTab()}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()}},{key:"setNextPrev",value:function(){var e=this.props.getRef("nav"),t=this.props.getRef("navTabsContainer"),n=this.getScrollWH(t||e),r=this.getOffsetWH(this.props.getRef("container"))+1,a=this.getOffsetWH(this.props.getRef("navWrap")),o=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),o=0;else if(i<o)s=!0;else{s=!1;var u=a-n;this.setOffset(u,!1),o=u}return c=o<0,this.setNext(s),this.setPrev(c),{next:s,prev:c}}},{key:"getOffsetWH",value:function(e){var t=this.props.tabBarPosition,n="offsetWidth";return"left"!==t&&"right"!==t||(n="offsetHeight"),e[n]}},{key:"getScrollWH",value:function(e){var t=this.props.tabBarPosition,n="scrollWidth";return"left"!==t&&"right"!==t||(n="scrollHeight"),e[n]}},{key:"getOffsetLT",value:function(e){var t=this.props.tabBarPosition,n="left";return"left"!==t&&"right"!==t||(n="top"),e.getBoundingClientRect()[n]}},{key:"setOffset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},a=this.props.tabBarPosition,o=this.props.getRef("nav").style,i=D(o);"left"===a||"right"===a?r=i?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:i?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},i?A(o,r.value):o[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,o=this.state,i=o.next,l=o.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,y=a.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:C()((e={},c()(e,u+"-tab-prev",1),c()(e,u+"-tab-btn-disabled",!l),c()(e,u+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||a.a.createElement("span",{className:u+"-tab-prev-icon"})),v=a.a.createElement("span",{onClick:i?this.next:null,unselectable:"unselectable",className:C()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||a.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=C()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return a.a.createElement("div",{className:C()((r={},c()(r,u+"-nav-container",1),c()(r,u+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},y,v,a.a.createElement("div",{className:u+"-nav-wrap",ref:this.props.saveRef("navWrap")},a.a.createElement("div",{className:u+"-nav-scroll"},a.a.createElement("div",{className:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(a.a.Component),ve=ye;ye.propTypes={activeKey:w.a.string,getRef:w.a.func.isRequired,saveRef:w.a.func.isRequired,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),prefixCls:w.a.string,scrollAnimated:w.a.bool,onPrevClick:w.a.func,onNextClick:w.a.func,navWrapper:w.a.func,children:w.a.node,prevIcon:w.a.node,nextIcon:w.a.node,direction:w.a.node},ye.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var ge=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=v()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.getRef=function(e){return r[e]},r.saveRef=function(e){return function(t){t&&(r[e]=t)}},a=n,v()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(a.a.Component),be=ge;ge.propTypes={children:w.a.func},ge.defaultProps={children:function(){return null}};var Ee=function(e){function t(){return d()(this,t),v()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return a.a.createElement(be,null,(function(e,r){return a.a.createElement(pe,l()({saveRef:e},n),a.a.createElement(ve,l()({saveRef:e,getRef:r},n),a.a.createElement(ue,l()({saveRef:e,renderTabBarNode:t},n)),a.a.createElement(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(a.a.Component),we=Ee;Ee.propTypes={children:w.a.func};var _e=n("CtXQ");function Ce(){return(Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){return(xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return je(this,n)}}function je(e,t){return!t||"object"!==xe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e,t,n=this.props,a=n.tabBarStyle,o=n.animated,i=n.renderTabBar,l=n.tabBarExtraContent,s=n.tabPosition,c=n.prefixCls,u=n.className,f=n.size,p=n.type,d="object"===xe(o)?o.inkBar:o,m="left"===s||"right"===s,h=m?"up":"left",y=m?"down":"right",v=r.createElement("span",{className:"".concat(c,"-tab-prev-icon")},r.createElement(_e.default,{type:h,className:"".concat(c,"-tab-prev-icon-target")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(_e.default,{type:y,className:"".concat(c,"-tab-next-icon-target")})),b=C()("".concat(c,"-").concat(s,"-bar"),(Se(e={},"".concat(c,"-").concat(f,"-bar"),!!f),Se(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),E=Ce(Ce({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:a,prevIcon:v,nextIcon:g,className:b});return t=i?i(E,we):r.createElement(we,E),r.cloneElement(t)}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Re.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),De=n("6CfX"),Ie=n("R3zJ");function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function He(e,t){return(He=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ke(e);if(t){var a=Ke(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return qe(this,n)}}function qe(e,t){return!t||"object"!==Fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ke(e){return(Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},We=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&He(e,t)}(l,e);var t,n,a,i=ze(l);function l(){var e;return Ue(this,l),(e=i.apply(this,arguments)).removeTab=function(t,n){if(n.stopPropagation(),t){var r=e.props.onEdit;r&&r(t,"remove")}},e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e.createNewTab=function(t){var n=e.props.onEdit;n&&n(t,"add")},e.renderTabs=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.className,s=void 0===l?"":l,c=o.size,u=o.type,f=void 0===u?"line":u,p=o.tabPosition,d=o.children,m=o.animated,h=void 0===m||m,y=o.hideAdd,v=e.props.tabBarExtraContent,g="object"===Fe(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(De.a)(!(f.indexOf("card")>=0&&("small"===c||"large"===c)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var b=a("tabs",i),E=C()(s,(Me(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Me(n,"".concat(b,"-").concat(c),!!c),Me(n,"".concat(b,"-card"),f.indexOf("card")>=0),Me(n,"".concat(b,"-").concat(f),!0),Me(n,"".concat(b,"-no-animation"),!g),n)),w=[];"editable-card"===f&&(w=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var a=t.props.closable,o=(a=void 0===a||a)?r.createElement(_e.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;w.push(r.cloneElement(t,{tab:r.createElement("div",{className:a?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,o),key:t.key||n}))})),y||(v=r.createElement("span",null,r.createElement(_e.default,{type:"plus",className:"".concat(b,"-new-tab"),onClick:e.createNewTab}),v))),v=v?r.createElement("div",{className:"".concat(b,"-extra-content")},v):null;var _=Ve(e.props,[]),S=C()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Le({},e.props,{prefixCls:b,className:E,tabBarPosition:p,renderTabBar:function(){return r.createElement(Re,Le({},Object(re.a)(_,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:S,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),w.length>0?w:d)},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=o.findDOMNode(this);e&&!Ie.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&Be(t.prototype,n),a&&Be(t,a),l}(r.Component);We.TabPane=G,We.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("3S7+")),a=u(n("CFYs")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ"),n("D8SU");var i=n("q1tI"),l=u(i),s=n("PhNK"),c=n("spEH");function u(e){return e&&e.__esModule?e:{default:e}}n("js5m"),n("VPG4"),t.default=function(e){var t=e.data,n=e.history,u=e.owner,f=e.projectsId,p=e.parentsSha,d=(0,i.useState)(t&&t.files),m=o(d,2),h=m[0],y=m[1],v=(0,i.useState)("复制文件路径"),g=o(v,2),b=g[0],E=g[1],w=(0,i.useState)(!1),_=o(w,2),C=_[0],S=_[1];function x(e,t,n){if(!n){var r=h.concat();r[t].flag=!e,r.splice(),y(r)}}(0,i.useEffect)((function(){t&&y(t.files)}),[t]),(0,i.useEffect)((function(){document.addEventListener("click",(function(){S(!1)}))}));var O=l.default.createElement("div",{className:"folders"},l.default.createElement("div",{className:"folderList"},h&&h.map((function(e,t){return l.default.createElement("a",{href:"#value"+t},l.default.createElement(c.FlexAJ,{className:"filesInfo",key:t,onClick:function(){e.flag&&x(e.flag,t,e.isBin),S(!1)}},l.default.createElement(c.AlignCenter,null,l.default.createElement("i",{className:"iconfont icon-wenjianicon mr4"}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name},e.name)),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0?":":"")+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),e.addition>0&&l.default.createElement("span",{className:"color-green ml10"},"+",e.addition),e.deletion>0&&l.default.createElement("span",{className:"color-red ml10"},"-",e.deletion)))))}))));return l.default.createElement("div",{onClick:function(e){e.nativeEvent.stopImmediatePropagation()}},l.default.createElement(c.AlignCenter,{className:"color-grey-9",style:{position:"relative"}},l.default.createElement("div",{onClick:function(){S(!C)}},l.default.createElement("i",{className:"iconfont mr5 "+(C?"font-18 icon-sanjiaoxing-down":"font-16 icon-triangle")}),l.default.createElement("span",{className:"color-grey-6 update-file-count"},"共有",l.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件 "),"被更改,包括",t&&t.total_addition?l.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?l.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),C&&O),h&&h.length>0&&l.default.createElement("div",{className:"fileList"},h.map((function(e,t){return l.default.createElement("div",{className:"files",key:t},l.default.createElement("a",{id:"value"+t,className:"anchorPoint"}),l.default.createElement(c.FlexAJ,{className:"filesInfo"},l.default.createElement(c.AlignCenter,null,e.isBin?"":l.default.createElement("i",{className:e.flag?"iconfont icon-triangle font-15 color-grey-9":"iconfont icon-sanjiaoxing-down color-grey-9 mt4",onClick:function(){return x(e.flag,t,e.isBin)}}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name,onClick:function(){return x(e.flag,t,e.isBin)}},e.name),l.default.createElement(r.default,{title:b,onVisibleChange:function(){return E("复制文件路径")}},l.default.createElement("i",{className:"iconfont icon-fuzhiicon ml6",onClick:function(){return t=e.name,(n=document.createElement("input")).defaultValue=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="copyCont",n.style.display="none",void E("复制成功");var t,n}}))),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0?":":"")+" "+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),l.default.createElement("span",{className:"ml10"},e.addition+e.deletion,"处")),!e.isSubmodule&&l.default.createElement("span",{className:"see-file-btn",onClick:function(){n.push("/"+u+"/"+f+(e.isDeleted?"/commits/"+(0,s.truncateCommitId)(p):"/tree/"+(0,s.truncateCommitId)(e.sha)+"/"+e.name))}},"查看文件"))),e.sections&&e.sections.length>=1&&!e.flag&&l.default.createElement("div",{className:"filesContent"},e.sections.map((function(e,t){return e.lines&&e.lines.length>0&&e.lines.map((function(e,n){return l.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},l.default.createElement("span",{className:"lines"},l.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),l.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),l.default.createElement("p",null,e.content))}))}))))}))))}},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),a=c(r);n("vg9a");var o=n("ud8/"),i=c(o);n("SJMd");var l=c(n("wMS7")),s=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,p=void 0===f?{}:f,d=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,i.default)(m),t=(0,o.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],a=r.type,o=r.expression;return(0,s.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===a,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(d&&d.hash&&h){var e=d.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[d,h]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(y.current&&h&&h.match(u)&&window.PR.prettyPrint(),y.current)return y.current.addEventListener("click",v),function(){y.current.removeEventListener("click",v),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[h,y.current,v]),a.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("VXEj")),a=w(n("NJEC")),o=w(n("2/Rp")),i=w(n("NUBc")),l=w(n("ZTPi")),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV"),n("AUBz");var u=n("q1tI"),f=w(u),p=n("eO8H"),d=w(n("vDqi")),m=w(n("AySf")),h=w(n("bIax")),y=n("sYIF"),v=w(n("LZ3y")),g=w(n("p7gc")),b=w(n("bjH3")),E=w(n("oYoh"));function w(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var _=l.default.TabPane,C=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getjournalslist()},n.addjournals=function(){var e=n.state,t=e.content,r=e.reply_content;n.setState({journal_spin:!0}),t||r?n.props.form.validateFieldsAndScroll((function(e,a){if(e)n.setState({journal_spin:!1});else{var o=n.state,i=o.page,l=o.limit,c=o.fileList,u=o.orderId,f=o.reply_id,p=o.is_reply,m="/issues/"+u+"/journals.json";d.default.post(m,s({},a,{content:p?r:t,issue_id:u,attachment_ids:c,parent_id:f})).then((function(e){e&&0===e.data.status&&(n.props.form.setFieldsValue({content:"",reply_content:void 0}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l),n.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1})),n.setState({journal_spin:!1}),e&&411!==e.data.status&&n.props.showNotification(e.data.message)})).catch((function(e){n.setState({journal_spin:!1}),console.log(e)}))}})):n.setState({journal_spin:!1})},n.add_reply=function(e){!1!==n.props.checkIfLogin()?n.setState({is_reply:!0,success_journal:!1,reply_id:e}):n.props.showLoginDialog()},n.cancel_reply=function(){n.setState({is_reply:!1,reply_id:void 0,success_journal:!1,reply_content:void 0})},n.getjournalslist=function(e,t){var r=n.state.orderId,a="/issues/"+r+"/journals.json",o=r;d.default.get(a,{params:{id:o,page:e,limit:t}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1,fileList:void 0})})).catch((function(e){console.log(e)}))},n.UploadFunc=function(e){n.setState({fileList:e,attachment_clean:!0})},n.deleteorder=function(e){var t=n.state,r=t.page,a=t.limit,o=t.orderId,i="/issues/"+o+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:o,id:e}}).then((function(e){e&&n.getjournalslist(r,a)})).catch((function(e){console.log(e)}))},n.renderJournalList=function(e){return e&&e.length>0?e.map((function(e,t){return f.default.createElement("div",{key:t+1,className:"journal-list-item"},f.default.createElement("span",{className:"fwb mr3"},e.detail,":"),f.default.createElement("span",{className:"mr5 color-grey-9"},e.old_value&&e.old_value.length>0?"更新为":"新增"),f.default.createElement("span",null,e.value&&e.value.length>0?"标记"===e.detail?f.default.createElement("span",{className:"issue-tag-show",style:{background:e.value[0].color}},e.value[0].name):e.value:"无"))})):f.default.createElement("div",null,f.default.createElement("span",null,"没有评论~"))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.onContentChange=function(e){e&&n.setState({content:e,quillFlag:!1})},n.replyContentChange=function(e){e&&n.setState({reply_content:e,quillFlag:!1})},n.onRef=function(e){n.child=e},n.commentCtx=function(e){return f.default.createElement(b.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.state={content:void 0,journalsdata:void 0,isedit:void 0,fileList:void 0,limit:10,page:1,journal_spin:!1,edit_spin:!1,attachment_clean:!0,orderId:n.props.order_id,is_reply:!1,reply_id:void 0,reply_content:void 0,new_journal_id:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"loginModal",value:function(){this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,w=t.attachment_clean,C=t.is_reply,S=t.reply_id,x=t.reply_content,O=t.orderId,N=t.new_journal_id,k=this.props,P=k.current_user,j=k.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("/"+(P&&P.image_url)),alt:"",width:"30",height:"30"})),f.default.createElement("div",null,f.default.createElement(g.default,{placeholder:"添加评论...",height:300,mdID:n?"orderdetail-add-descriptions"+n:"orderdetail-add-descriptions",initValue:t?x:u,onChange:t?e.replyContentChange:e.onContentChange}),f.default.createElement("p",{className:"quillFlag"},d&&f.default.createElement("span",{className:""},"请输入评论内容")),f.default.createElement(m.default,{className:"commentStyle",isComplete:w,load:e.UploadFunc,icon:f.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.props.showNotification}),f.default.createElement("p",{className:"clearfix mt20"},f.default.createElement(o.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(o.default,{onClick:e.cancel_reply},"取消"))))},R=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link color-black ml10 fwb"},t&&t.user_name)),f.default.createElement("div",{className:"ml40"},t.content?e.commentCtx(t.content):f.default.createElement("div",null,e.renderJournalList(t.journal_details)),t&&t.attachments&&t.attachments.length>0?f.default.createElement(v.default,{attachments:t.attachments,showNotification:e.props.showNotification,canDelete:P&&(P.admin||P.login===t.user_login)}):"",f.default.createElement("div",{className:"grid-item mt5"},f.default.createElement("span",{className:"color-grey-8"},t.created_at),f.default.createElement("span",{className:"text-right"},P&&(P.admin||P.login===t.user_login)?f.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(o.default,{type:"link"},f.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):"",f.default.createElement(o.default,{type:"link",className:"ml-10",onClick:function(){return e.add_reply(t.id)}},f.default.createElement("i",{className:"iconfont icon-huifu1 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"回复")))),P&&f.default.createElement("div",null,C&&S&&S===t.id?f.default.createElement("div",{className:"pt20"},T(C,t.id)):""),f.default.createElement(E.default,s({order_id:O,parent_id:t.id,onRef:e.onRef,children_comment_id:N},e.props))))};return f.default.createElement("div",null,j?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},C&&!S?f.default.createElement("div",{className:"pd20"},T(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,y.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}),this.Paginations()):f.default.createElement("div",{className:"mt20"},f.default.createElement("div",{className:"comment-background"},f.default.createElement(l.default,{defaultActiveKey:"1",className:"custom-comment-tabs"},f.default.createElement(_,{tab:f.default.createElement("span",{className:"ml-3 font-16"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},C&&!S?f.default.createElement("div",{className:"pd20"},T(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item mb20"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,y.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=C},dQpi:function(e,t,n){var r=n("yGk4"),a=n("vN+2"),o=n("rEGp"),i=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:a;e.exports=i},"jbM+":function(e,t,n){var r=n("R/W3");e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},js5m:function(e,t,n){},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),i=n("BGR+"),l=n("VCL8"),s=n("CtXQ"),c=n("H84U");function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,a,i=y(l);function l(){var e;return d(this,l),(e=i.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,r=t.onChange;r&&r(!n)},e.renderCheckableTag=function(t){var n,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=a("tag",l),m=o()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,r.createElement("span",f({},u,{className:m,onClick:e.handleClick}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(t.prototype,n),a&&m(t,a),l}(r.Component),w=n("09Wf"),_=n("6CfX"),C=n("g0mS");function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=T(e);if(t){var a=T(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},A=new RegExp("^(".concat(w.a.join("|"),")(-inverse)?$")),D=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(u,e);var t,n,a,l=P(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,a=n.children,o=R(n,["children"]),l="onClick"in o||a&&"a"===a.type,s=Object(i.a)(o,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(C.a,null,r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())):r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())},Object(_.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return t=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(n=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return O({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,a=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",a);return o()(u,(x(t={},"".concat(u,"-").concat(l),c),x(t,"".concat(u,"-has-color"),l&&!c),x(t,"".concat(u,"-hidden"),!s),t),i)}},{key:"setVisible",value:function(e,t){var n=this.props,r=n.onClose,a=n.afterClose;r&&r(t),a&&!r&&a(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&A.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderTag)}}])&&N(t.prototype,n),a&&N(t,a),u}(r.Component);D.CheckableTag=E,D.defaultProps={closable:!1},Object(l.polyfill)(D);t.default=D},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),a="undefined"==typeof window?t:window,o=["moz","webkit"],i="AnimationFrame",l=a["request"+i],s=a["cancel"+i]||a["cancelRequest"+i],c=0;!l&&c<o.length;c++)l=a[o[c]+"Request"+i],s=a[o[c]+"Cancel"+i]||a[o[c]+"CancelRequest"+i];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(a,e)},e.exports.cancel=function(){s.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},n5Yh:function(e,t,n){},oYoh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("VXEj")),a=h(n("NJEC")),o=h(n("2/Rp")),i=h(n("NUBc")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV");var s=n("q1tI"),c=h(s),u=n("eO8H"),f=h(n("vDqi")),p=n("sYIF"),d=h(n("LZ3y")),m=h(n("bjH3"));function h(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getChildrenJournals=function(e,t){var r=n.props,a=r.order_id,o=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||a)+"/journals/"+(t||o)+"/get_children_journals.json";f.default.get(c,{params:{page:l,limit:s}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.deleteorder=function(e){var t=n.props.order_id,r="/issues/"+t+"/journals/"+e+".json";f.default.delete(r,{data:{issue_id:t,id:e}}).then((function(e){e&&n.getChildrenJournals()})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.state.page=e,n.state.isSpin=!0,n.getChildrenJournals()},n.commentCtx=function(e){return c.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return c.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},c.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.renderList=function(e){var t=n.props.current_user;return c.default.createElement("div",{className:"width100"},c.default.createElement("div",{className:"grid-item pb5"},c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link color-black ml10 fwb"},e&&e.user_name)),c.default.createElement("div",{className:"ml40"},n.commentCtx(e.content),e&&e.attachments&&e.attachments.length>0?c.default.createElement(d.default,{attachments:e.attachments,showNotification:n.props.showNotification,canDelete:t&&(t.admin||t.login===e.user_login)}):"",c.default.createElement("div",{className:"mt5"},c.default.createElement("span",{className:"color-grey-8"},e.created_at),c.default.createElement("span",{className:"ml20"},t&&(t.admin||t.login===e.user_login)?c.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return n.deleteorder(e.id)}},c.default.createElement(o.default,{type:"link"},c.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),c.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):""))))},n.state={journalsdata:void 0,limit:10,page:1,journal_spin:!1,search_count:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.getChildrenJournals()}},{key:"componentDidUpdate",value:function(e,t){this.props.children_comment_id&&e.children_comment_id!==this.props.children_comment_id&&this.getChildrenJournals()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,a=t.search_count,o=t.isSpin;return c.default.createElement("div",null,a>0&&c.default.createElement("div",{className:"children-comment-bg mt10"},c.default.createElement(r.default,{size:"large",loading:o,dataSource:n.issue_journals,renderItem:function(t){return c.default.createElement(r.default.Item,null,e.renderList(t))}}),this.Paginations()))}}]),t}(s.Component);t.default=y},qPyV:function(e,t,n){var r=n("ut/Y"),a=n("LGYb");e.exports=function(e,t){return e&&e.length?a(e,r(t,2)):[]}},u3En:function(e,t,n){},"vN+2":function(e,t){e.exports=function(){}},vg9a:function(e,t,n){},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,a=Object.freeze,o=Object.seal,i=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),a||(a=function(e){return e}),o||(o=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=S(Array.prototype.forEach),f=S(Array.prototype.indexOf),p=S(Array.prototype.join),d=S(Array.prototype.pop),m=S(Array.prototype.push),h=S(Array.prototype.slice),y=S(String.prototype.toLowerCase),v=S(String.prototype.match),g=S(String.prototype.replace),b=S(String.prototype.indexOf),E=S(String.prototype.trim),w=S(RegExp.prototype.test),_=x(RegExp),C=x(TypeError);function S(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return s(e,t,r)}}function x(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function O(e,r){t&&t(e,null);for(var a=r.length;a--;){var o=r[a];if("string"==typeof o){var i=y(o);i!==o&&(n(r)||(r[a]=i),o=i)}e[o]=!0}return e}function N(t){var n=i(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var k=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),j=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),R=a(["#text"]),A=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),D=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),I=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),M=o(/\{\{[\s\S]*|[\s\S]*\}\}/gm),F=o(/<%[\s\S]*|[\s\S]*%>/gm),U=o(/^data-[\-\w.\u00B7-\uFFFF]/),B=o(/^aria-[\-\w]+$/),H=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=o(/^(?:\w+script|data):/i),q=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function V(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var W=function(){return"undefined"==typeof window?null:window},Y=function(e,t){if("object"!==(void 0===e?"undefined":K(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var o=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,S=t.Node,x=t.NodeFilter,Q=t.NamedNodeMap,G=void 0===Q?t.NamedNodeMap||t.MozNamedAttrMap:Q,J=t.Text,X=t.Comment,Z=t.DOMParser,$=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=Y($,o),ne=te&&Ie?te.createHTML(""):"",re=l,ae=re.implementation,oe=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=o.importNode,ce=N(l).documentMode?l.documentMode:{},ue={};n.isSupported=ae&&void 0!==ae.createHTMLDocument&&9!==ce;var fe=M,pe=F,de=U,me=B,he=z,ye=q,ve=H,ge=null,be=O({},[].concat(V(k),V(P),V(j),V(T),V(R))),Ee=null,we=O({},[].concat(V(A),V(D),V(I),V(L))),_e=null,Ce=null,Se=!0,xe=!0,Oe=!1,Ne=!1,ke=!1,Pe=!1,je=!1,Te=!1,Re=!1,Ae=!1,De=!1,Ie=!1,Le=!0,Me=!0,Fe=!1,Ue={},Be=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),He=null,ze=O({},["audio","video","img","source","image","track"]),qe=null,Ke=O({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ve=null,We=l.createElement("form"),Ye=function(e){Ve&&Ve===e||(e&&"object"===(void 0===e?"undefined":K(e))||(e={}),e=N(e),ge="ALLOWED_TAGS"in e?O({},e.ALLOWED_TAGS):be,Ee="ALLOWED_ATTR"in e?O({},e.ALLOWED_ATTR):we,qe="ADD_URI_SAFE_ATTR"in e?O(N(Ke),e.ADD_URI_SAFE_ATTR):Ke,He="ADD_DATA_URI_TAGS"in e?O(N(ze),e.ADD_DATA_URI_TAGS):ze,_e="FORBID_TAGS"in e?O({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?O({},e.FORBID_ATTR):{},Ue="USE_PROFILES"in e&&e.USE_PROFILES,Se=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,De=e.RETURN_DOM_IMPORT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Le=!1!==e.SANITIZE_DOM,Me=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,ke&&(xe=!1),Ae&&(Re=!0),Ue&&(ge=O({},[].concat(V(R))),Ee=[],!0===Ue.html&&(O(ge,k),O(Ee,A)),!0===Ue.svg&&(O(ge,P),O(Ee,D),O(Ee,L)),!0===Ue.svgFilters&&(O(ge,j),O(Ee,D),O(Ee,L)),!0===Ue.mathMl&&(O(ge,T),O(Ee,I),O(Ee,L))),e.ADD_TAGS&&(ge===be&&(ge=N(ge)),O(ge,e.ADD_TAGS)),e.ADD_ATTR&&(Ee===we&&(Ee=N(Ee)),O(Ee,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&O(qe,e.ADD_URI_SAFE_ATTR),Me&&(ge["#text"]=!0),Pe&&O(ge,["html","head","body"]),ge.table&&(O(ge,["tbody"]),delete _e.tbody),a&&a(e),Ve=e)},Qe=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ge=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(Te)e="<remove></remove>"+e;else{var r=v(e,/^[\r\n\t ]+/);n=r&&r[0]}var a=te?te.createHTML(e):e;try{t=(new Z).parseFromString(a,"text/html")}catch(e){}if(i&&O(_e,["title"]),!t||!t.documentElement){var o=(t=ae.createHTMLDocument("")).body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=a}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ie.call(t,Pe?"html":"body")[0]};n.isSupported&&function(){try{var e=Je("<x/><title></title><img>");w(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return oe.call(e.ownerDocument||e,e,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT,(function(){return x.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof J||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof G&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===S?"undefined":K(S))?e instanceof S:e&&"object"===(void 0===e?"undefined":K(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,Ve)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ze(e))return Qe(e),!0;if(v(e.nodeName,/[\u0080-\uFFFF]/))return Qe(e),!0;var r=y(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Qe(e),!0;if(!ge[r]||_e[r]){if(Me&&!Be[r]&&"function"==typeof e.insertAdjacentHTML)try{var a=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(a):a)}catch(e){}return Qe(e),!0}return"noscript"===r&&w(/<\/noscript/i,e.innerHTML)||"noembed"===r&&w(/<\/noembed/i,e.innerHTML)?(Qe(e),!0):(!Ne||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!w(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=g(e.innerHTML,/</g,"<"):e.innerHTML=g(e.textContent,/</g,"<")),ke&&3===e.nodeType&&(t=e.textContent,t=g(t,fe," "),t=g(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(Le&&("id"===t||"name"===t)&&(n in l||n in We))return!1;if(xe&&w(de,t));else if(Se&&w(me,t));else{if(!Ee[t]||Ce[t])return!1;if(qe[t]);else if(w(ve,g(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!He[e])if(Oe&&!w(he,g(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,a=void 0,o=void 0,i=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(a=E(t.value),o=y(m),c.attrName=o,c.attrValue=a,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),a=c.attrValue,!c.forceKeepAttr){if("name"===o&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ge("id",e),Ge(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===o&&"file"===a&&c.keepAttr&&(Ee[o]||!Ce[o]))continue;"id"===m&&e.setAttribute(m,""),Ge(m,e)}if(c.keepAttr)if(Ne&&w(/\/>/i,a))Ge(m,e);else if(w(/svg|math/i,e.namespaceURI)&&w(_("</("+p(r(Be),"|")+")","i"),a))Ge(m,e);else{ke&&(a=g(a,fe," "),a=g(a,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,o,a))try{v?e.setAttributeNS(v,m,a):e.setAttribute(m,a),d(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},at=function e(t){var n=void 0,r=Xe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var a=void 0,i=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!$e(e)){if("function"!=typeof e.toString)throw C("toString is not a function");if("string"!=typeof(e=e.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===K(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if($e(e))return t.toStaticHTML(e.outerHTML)}return e}if(je||Ye(r),n.removed=[],"string"==typeof e&&(Fe=!1),Fe);else if(e instanceof S)1===(i=(a=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?a=i:a.appendChild(i);else{if(!Re&&!ke&&!Pe&&-1===e.indexOf("<"))return te&&Ie?te.createHTML(e):e;if(!(a=Je(e)))return Re?null:ne}a&&Te&&Qe(a.firstChild);for(var f=Xe(Fe?e:a);l=f.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&at(l.content),rt(l),c=l);if(c=null,Fe)return e;if(Re){if(Ae)for(u=le.call(a.ownerDocument);a.firstChild;)u.appendChild(a.firstChild);else u=a;return De&&(u=se.call(o,u,!0)),u}var p=Pe?a.outerHTML:a.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&Ie?te.createHTML(p):p},n.setConfig=function(e){Ye(e),je=!0},n.clearConfig=function(){Ve=null,je=!1},n.isValidAttribute=function(e,t,n){Ve||Ye({});var r=y(e),a=y(t);return nt(r,a,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&d(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()}}]); \ No newline at end of file diff --git a/static/js/34.daead028.chunk.js.LICENSE.txt b/static/js/34.a97f8cd6.chunk.js.LICENSE.txt similarity index 100% rename from static/js/34.daead028.chunk.js.LICENSE.txt rename to static/js/34.a97f8cd6.chunk.js.LICENSE.txt diff --git a/static/js/35.04e6ad13.chunk.js b/static/js/35.f6d4c52a.chunk.js similarity index 69% rename from static/js/35.04e6ad13.chunk.js rename to static/js/35.f6d4c52a.chunk.js index d1e0468f5..b2becd5e1 100644 --- a/static/js/35.04e6ad13.chunk.js +++ b/static/js/35.f6d4c52a.chunk.js @@ -1,2 +1,2 @@ -/*! For license information please see 35.04e6ad13.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[35,9,14,23],{"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"13Tz":function(e,t,n){},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"6JOy":function(e,t,n){},"74dF":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("D8SU"),n("TfFZ")},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("VCL8"),i=n("QbLZ"),l=n.n(i),s=n("iCc5"),c=n.n(s),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),m=n("mRg0"),h=n.n(m),v=n("17x9"),y=n.n(v),g=n("YEIV"),b=n.n(g),E=n("TSYQ"),_=n.n(E);function w(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function C(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(function(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),w(t));e.onSuccess(w(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var a in null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),r)r.hasOwnProperty(a)&&null!==r[a]&&t.setRequestHeader(a,r[a]);return t.send(n),{abort:function(){t.abort()}}}var S=+new Date,x=0;function O(){return"rc-upload-"+S+"-"+ ++x}var N=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",o=a.replace(/\/.*$/,"");return n.some((function(e){var t,n,i=e.trim();return"."===i.charAt(0)?(t=r.toLowerCase(),n=i.toLowerCase(),-1!==t.indexOf(n,t.length-n.length)):/\/\*$/.test(i)?o===i.replace(/\/.*$/,""):a===i}))}return!0};var k=function(e,t,n){var r=function e(r,a){a=a||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var a=Array.prototype.slice.apply(n);r=r.concat(a),!a.length?t(r):e()}))}()}(r,(function(t){t.forEach((function(t){e(t,""+a+r.name+"/")}))}))},a=!0,o=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){r(l.value.webkitGetAsEntry())}}catch(e){o=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(o)throw i}}},P=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uid:O()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(){var e=r.fileInput;e&&e.click()},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)k(e.dataTransfer.items,r.uploadFiles,(function(e){return N(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return N(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=O(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var a=r.beforeUpload(e,t);a&&a.then?a.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)})).catch((function(e){console&&console.log(e)})):!1!==a&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.data,a=n.onStart,o=n.onProgress,i=n.transformFile,l=void 0===i?function(e){return e}:i;new Promise((function(t){var r=n.action;if("function"==typeof r)return t(r(e));t(r)})).then((function(i){var s=e.uid,c=n.customRequest||C;Promise.resolve(l(e)).catch((function(e){console.error(e)})).then((function(l){"function"==typeof r&&(r=r(e));var u={action:i,filename:n.name,data:r,file:l,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:o?function(t){o(t,e)}:null,onSuccess:function(r,a){delete t.reqs[s],n.onSuccess(r,e,a)},onError:function(r,a){delete t.reqs[s],n.onError(r,a,e)}};t.reqs[s]=c(u),a(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:O()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,o=t.className,i=t.disabled,s=t.id,c=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,m=t.openFileDialogOnClick,h=_()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,o,o),e)),v=i?{}:{onClick:m?this.onClick:function(){},onKeyDown:m?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(n,l()({},v,{className:h,role:"button",style:c}),a.a.createElement("input",{id:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:f,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:u,onChange:this.onChange}),p)}}]),t}(r.Component);P.propTypes={id:y.a.string,component:y.a.string,style:y.a.object,prefixCls:y.a.string,className:y.a.string,multiple:y.a.bool,directory:y.a.bool,disabled:y.a.bool,accept:y.a.string,children:y.a.any,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),headers:y.a.object,beforeUpload:y.a.func,customRequest:y.a.func,onProgress:y.a.func,withCredentials:y.a.bool,openFileDialogOnClick:y.a.bool,transformFile:y.a.func};var j=P,T=n("i8i4"),R=n.n(T),A=n("2W6z"),I=n.n(A),D={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},L=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uploading:!1},r.file={},r.onLoad=function(){if(r.state.uploading){var e=r,t=e.props,n=e.file,a=void 0;try{var o=r.getIframeDocument(),i=o.getElementsByTagName("script")[0];i&&i.parentNode===o.body&&o.body.removeChild(i),a=o.body.innerHTML,t.onSuccess(a,n)}catch(e){I()(!1,"cross domain error for Upload. Maybe server should return document.domain script. see Note from https://github.com/react-component/upload"),a="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:O(),name:e.value&&e.value.substring(e.value.lastIndexOf("\\")+1,e.value.length)};r.startUpload();var n=r.props;if(!n.beforeUpload)return r.post(t);var a=n.beforeUpload(t);a&&a.then?a.then((function(){r.post(t)}),(function(){r.endUpload()})):!1!==a?r.post(t):r.endUpload()},r.saveIframe=function(e){r.iframe=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.updateIframeWH(),this.initIframe()}},{key:"componentDidUpdate",value:function(){this.updateIframeWH()}},{key:"getIframeNode",value:function(){return this.iframe}},{key:"getIframeDocument",value:function(){return this.getIframeNode().contentDocument}},{key:"getFormNode",value:function(){return this.getIframeDocument().getElementById("form")}},{key:"getFormInputNode",value:function(){return this.getIframeDocument().getElementById("input")}},{key:"getFormDataNode",value:function(){return this.getIframeDocument().getElementById("data")}},{key:"getFileForMultiple",value:function(e){return this.props.multiple?[e]:e}},{key:"getIframeHTML",value:function(e){var t="",n="";if(e){t='<script>document.domain="'+e+'";<\/script>',n='<input name="_documentDomain" value="'+e+'" />'}return'\n <!DOCTYPE html>\n <html>\n <head>\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n <style>\n body,html {padding:0;margin:0;border:0;overflow:hidden;}\n </style>\n '+t+'\n </head>\n <body>\n <form method="post"\n encType="multipart/form-data"\n action="" id="form"\n style="display:block;height:9999px;position:relative;overflow:hidden;">\n <input id="input" type="file"\n name="'+this.props.name+'"\n style="position:absolute;top:0;right:0;height:9999px;font-size:9999px;cursor:pointer;"/>\n '+n+'\n <span id="data"></span>\n </form>\n </body>\n </html>\n '}},{key:"initIframeSrc",value:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")}},{key:"initIframe",value:function(){var e=this.getIframeNode(),t=e.contentWindow,n=void 0;this.domain=this.domain||"",this.initIframeSrc();try{n=t.document}catch(r){this.domain=document.domain,this.initIframeSrc(),n=(t=e.contentWindow).document}n.open("text/html","replace"),n.write(this.getIframeHTML(this.domain)),n.close(),this.getFormInputNode().onchange=this.onChange}},{key:"endUpload",value:function(){this.state.uploading&&(this.file={},this.state.uploading=!1,this.setState({uploading:!1}),this.initIframe())}},{key:"startUpload",value:function(){this.state.uploading||(this.state.uploading=!0,this.setState({uploading:!0}))}},{key:"updateIframeWH",value:function(){var e=R.a.findDOMNode(this),t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"}},{key:"abort",value:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()}},{key:"post",value:function(e){var t=this,n=this.getFormNode(),r=this.getFormDataNode(),a=this.props.data,o=this.props.onStart;"function"==typeof a&&(a=a(e));var i=document.createDocumentFragment();for(var l in a)if(a.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=a[l],i.appendChild(s)}r.appendChild(i),new Promise((function(n){var r=t.props.action;if("function"==typeof r)return n(r(e));n(r)})).then((function(t){n.setAttribute("action",t),n.submit(),r.innerHTML="",o(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,o=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},D,{display:this.state.uploading||r?"none":""}),f=_()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,o,o),e));return a.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},c)},a.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),s)}}]),t}(r.Component);L.propTypes={component:y.a.string,style:y.a.object,disabled:y.a.bool,prefixCls:y.a.string,className:y.a.string,accept:y.a.string,onStart:y.a.func,multiple:y.a.bool,children:y.a.any,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string};var M=L;function F(){}var U=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={Component:null},r.saveUploader=function(e){r.uploader=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.supportServerRender&&this.setState({Component:this.getComponent()},this.props.onReady)}},{key:"getComponent",value:function(){return"undefined"!=typeof File?j:M}},{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){if(this.props.supportServerRender){var e=this.state.Component;return e?a.a.createElement(e,l()({},this.props,{ref:this.saveUploader})):null}var t=this.getComponent();return a.a.createElement(t,l()({},this.props,{ref:this.saveUploader}))}}]),t}(r.Component);U.propTypes={component:y.a.string,style:y.a.object,prefixCls:y.a.string,action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string,multipart:y.a.bool,directory:y.a.bool,onError:y.a.func,onSuccess:y.a.func,onProgress:y.a.func,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),headers:y.a.object,accept:y.a.string,multiple:y.a.bool,disabled:y.a.bool,beforeUpload:y.a.func,customRequest:y.a.func,onReady:y.a.func,withCredentials:y.a.bool,supportServerRender:y.a.bool,openFileDialogOnClick:y.a.bool},U.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:F,onStart:F,onError:F,onSuccess:F,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var B=U,z=n("qPyV"),H=n.n(z),K=n("UfWW"),W=n.n(K),V=n("MFj2");function q(){return(q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function G(e){return q(q({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Q(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Y=function(e){return!!e&&0===e.indexOf("image/")},J=function(e){if(Y(e.type))return!0;var t=e.thumbUrl||e.url,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n};var X=n("CtXQ"),Z=n("3S7+"),$=n("CFYs"),ee=n("H84U");function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var a=ce(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}(i,e);var t,n,a,o=le(i);function i(){var e;return ae(this,i),(e=o.apply(this,arguments)).handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e.handleDownload=function(t){var n=e.props.onDownload;"function"==typeof n?n(t):t.url&&window.open(t.url)},e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.renderUploadList=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.items,s=void 0===l?[]:l,c=o.listType,u=o.showPreviewIcon,f=o.showRemoveIcon,p=o.showDownloadIcon,d=o.locale,m=o.progressAttr,h=a("upload",i),v=s.map((function(t){var n,a,o,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===c||"picture-card"===c)if("picture-card"===c&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(h,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=J(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(h,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(h,"-list-item-thumbnail"),onClick:function(n){return e.handlePreview(t,n)},href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},l)}else i=r.createElement(X.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement($.default,re({type:"line"},m,{percent:t.percent})):null;o=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var v,y=_()((ne(n={},"".concat(h,"-list-item"),!0),ne(n,"".concat(h,"-list-item-").concat(t.status),!0),ne(n,"".concat(h,"-list-item-list-type-").concat(c),!0),n)),g="string"==typeof t.linkProps?JSON.parse(t.linkProps):t.linkProps,b=f?r.createElement(X.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,E=p&&"done"===t.status?r.createElement(X.default,{type:"download",title:d.downloadFile,onClick:function(){return e.handleDownload(t)}}):null,w="picture-card"!==c&&r.createElement("span",{key:"download-delete",className:"".concat(h,"-list-item-card-actions ").concat("picture"===c?"picture":"")},E&&r.createElement("a",{title:d.downloadFile},E),b&&r.createElement("a",{title:d.removeFile},b)),C=_()((ne(a={},"".concat(h,"-list-item-name"),!0),ne(a,"".concat(h,"-list-item-name-icon-count-").concat([E,b].filter((function(e){return e})).length),!0),a)),S=t.url?[r.createElement("a",re({key:"view",target:"_blank",rel:"noopener noreferrer",className:C,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),w]:[r.createElement("span",{key:"view",className:C,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),w],x=u?r.createElement("a",{href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:t.url||t.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(n){return e.handlePreview(t,n)},title:d.previewFile},r.createElement(X.default,{type:"eye-o"})):null,O="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},x,"done"===t.status&&E,b);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var N=r.createElement("span",null,i,S),k=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(h,"-list-item-info")},N),O,r.createElement(V.a,{transitionName:"fade",component:""},o)),P=_()(ne({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(Z.default,{title:v},k):r.createElement("span",null,k))})),y=_()((ne(n={},"".concat(h,"-list"),!0),ne(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(V.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:y},v)},e}return t=i,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.listType,r=t.items,a=t.previewFile;"picture"!==n&&"picture-card"!==n||(r||[]).forEach((function(t){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",a&&a(t.originFileObj).then((function(n){t.thumbUrl=n||"",e.forceUpdate()})))}))}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUploadList)}}])&&oe(t.prototype,n),a&&oe(t,a),i}(r.Component);ue.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Y(e.type)){var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),a=new Image;a.onload=function(){var e=a.width,o=a.height,i=200,l=200,s=0,c=0;e<o?c=-((l=o*(200/e))-i)/2:s=-((i=e*(200/o))-l)/2,r.drawImage(a,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},a.src=window.URL.createObjectURL(e)}else t("")}))}};var fe=n("YMnH"),pe=n("ZvpZ"),de=n("6CfX");function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(){return(ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_e(e);if(t){var a=_e(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ee(this,n)}}function Ee(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var we=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(i,e);var t,n,a,o=be(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=G(e);r.status="uploading";var a=n.concat(),o=W()(a,(function(e){return e.uid===r.uid}));-1===o?a.push(r):a[o]=r,t.onChange({file:r,fileList:a}),window.File&&!Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).TEST_IE||t.autoUpdateProgress(0,r)},t.onSuccess=function(e,n,r){t.clearProgressTimer();try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var a=t.state.fileList,o=Q(n,a);o&&(o.status="done",o.response=e,o.xhr=r,t.onChange({file:ve({},o),fileList:a}))},t.onProgress=function(e,n){var r=t.state.fileList,a=Q(n,r);a&&(a.percent=e.percent,t.onChange({event:e,file:ve({},a),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var a=t.state.fileList,o=Q(r,a);o&&(o.error=e,o.response=n,o.status="error",t.onChange({file:ve({},o),fileList:a}))},t.handleRemove=function(e){var n=t.props.onRemove,r=t.state.fileList;Promise.resolve("function"==typeof n?n(e):n).then((function(n){if(!1!==n){var a=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,r);a&&(e.status="removed",t.upload&&t.upload.abort(e),t.onChange({file:e,fileList:a}))}}))},t.onChange=function(e){"fileList"in t.props||t.setState({fileList:e.fileList});var n=t.props.onChange;n&&n(e)},t.onFileDrop=function(e){t.setState({dragState:e.type})},t.beforeUpload=function(e,n){var r=t.props.beforeUpload,a=t.state.fileList;if(!r)return!0;var o=r(e,n);return!1===o?(t.onChange({file:e,fileList:H()(a.concat(n.map(G)),(function(e){return e.uid}))}),!1):!o||!o.then||o},t.renderUploadList=function(e){var n=t.props,a=n.showUploadList,o=n.listType,i=n.onPreview,l=n.onDownload,s=n.previewFile,c=n.disabled,u=n.locale,f=a.showRemoveIcon,p=a.showPreviewIcon,d=a.showDownloadIcon,m=t.state.fileList;return r.createElement(ue,{listType:o,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:ve(ve({},e),u)})},t.renderUpload=function(e){var n,a=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.className,s=o.showUploadList,c=o.listType,u=o.type,f=o.disabled,p=o.children,d=o.style,m=t.state,h=m.fileList,v=m.dragState,y=a("upload",i),g=ve(ve({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete g.className,delete g.style,p&&!f||delete g.id;var b=s?r.createElement(fe.a,{componentName:"Upload",defaultLocale:pe.a.Upload},t.renderUploadList):null;if("drag"===u){var E,w=_()(y,(he(E={},"".concat(y,"-drag"),!0),he(E,"".concat(y,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),he(E,"".concat(y,"-drag-hover"),"dragover"===v),he(E,"".concat(y,"-disabled"),f),E),l);return r.createElement("span",null,r.createElement("div",{className:w,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(B,ve({},g,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),b)}var C=_()(y,(he(n={},"".concat(y,"-select"),!0),he(n,"".concat(y,"-select-").concat(c),!0),he(n,"".concat(y,"-disabled"),f),n)),S=r.createElement("div",{className:C,style:p?void 0:{display:"none"}},r.createElement(B,ve({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:_()(l,"".concat(y,"-picture-card-wrapper"))},b,S):r.createElement("span",{className:l},S,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(de.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return t=i,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(n=[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"autoUpdateProgress",value:function(e,t){var n,r=this,a=(n=.1,function(e){var t=e;return t>=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),o=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){o=a(o),r.onProgress({percent:100*o},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&ye(t.prototype,n),a&&ye(t,a),i}(r.Component);we.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(o.polyfill)(we);var Ce=we;function Se(e){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return je(this,n)}}function je(e,t){return!t||"object"!==Se(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Ae=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.style,n=e.height,a=Re(e,["style","height"]);return r.createElement(Ce,xe({},a,{type:"drag",style:xe(xe({},t),{height:n})}))}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Ce.Dragger=Ae;t.default=Ce},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),a=n("spEH"),o=c(n("Rs/d")),i=n("PhNK"),l=n("sYIF"),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.commits,n=e.projectsId,c=e.owner;return r.default.createElement("div",{className:"pb20"},t.map((function(e,t){return r.default.createElement("div",{className:"prCommits"},r.default.createElement("p",{className:"prCreate"},e.created_at),r.default.createElement("div",{className:"prInfo"},r.default.createElement(a.FlexAJ,null,r.default.createElement(a.AlignCenter,null,r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(""+e.sha),className:"commitKey",style:{marginLeft:0}},(0,i.truncateCommitId)(""+e.sha)),r.default.createElement("p",{className:"ml15 font-16 color-grey-3 task-hide",style:{maxWidth:"700px"}},e.message)),r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(a.AlignCenter,{className:"mt15"},r.default.createElement(o.default,{url:(0,l.getImageUrl)("/"+(e.committer&&e.committer.image_url)),name:""+(e.committer&&e.committer.name)}),r.default.createElement("span",null,":提交于",e.time_from_now))))})))}},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("CtXQ")),a=p(n("2/Rp")),o=p(n("8z0m")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("2oDE"),n("L/Qf"),n("7W5+");var s=n("q1tI"),c=p(s),u=n("sYIF"),f=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Dragger,m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.checkInitFile()},n.componentDidUpdate=function(e){e&&e.fileList!==n.props.fileList&&n.checkInitFile()},n.checkInitFile=function(){var e=n.props.fileList;e&&e.length>0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";f.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&(e.response.id||e.response.data&&e.response.data.id))})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024<t;return r||n.props.showNotification("文件大小必须小于"+t+"MB!"),r},n.state={fileList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,l=e.btn,s=e.className,f=e.size,p=e.actionUrl,m=this.state.fileList,h={name:"file",fileList:!0===t?m:void 0,action:p||""+(0,u.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return l?c.default.createElement(o.default,i({},h,{className:s}),c.default.createElement(a.default,{type:"default"},"上传文件"),c.default.createElement("span",{className:"ml10 color-grey-9"},"(你可以上传小于",c.default.createElement("span",{className:"color-red"},f,"MB"),"的文件)")):c.default.createElement(d,i({},h,{className:s}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-16 color-grey-3"},"拖动文件或点击此处上传"))}}]),t}(s.Component);t.default=m},CZoQ:function(e,t){e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},Fyak:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(n("ZTPi")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("AUBz");var l=n("q1tI"),s=d(l);n("6JOy"),n("js5m");var c=d(n("AubP")),u=d(n("dIAb")),f=d(n("aABL")),p=d(n("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}var m=a.default.TabPane,h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props,t=e.footer_type,r=e.data;if(t){var a=n.props.match.params,o=a.projectsId,i=a.owner,l=a.mergeId;n.getCommit(i,o,l),n.getFile(i,o,l)}n.setState({activeKey:t?"1":"2",commitCount:r&&r.commits_count,filesCount:r&&r.files_count})},n.componentDidUpdate=function(e){var t=n.props.comparesData,r=n.props.footer_type;if(r){var a=n.props.data;a!==e.data&&n.setState({commitCount:a&&a.commits_count,filesCount:a&&a.files_count})}t!==e.comparesData&&(n.setState({activeKey:r?"1":"2"}),n.changeTab(r?"1":"2"))},n.changeTab=function(e){n.setState({isSpin:!0}),n.setState({activeKey:e});var t=n.props,r=t.footer_type,a=t.comparesData,o=n.props.match.params,i=o.projectsId,l=o.owner,s=o.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,s):n.setState({isSpin:!1}):n.setState({commitsData:a.commits,filesData:a.diff,commitCount:a.commits_count,filesCount:a.diff&&a.diff.files_count,isSpin:!1})},n.getCommit=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/commits.json";p.default.get(a).then((function(e){e&&n.setState({commitsData:e.data.commits,isSpin:!1,commitCount:e.data.commits_count})})).catch((function(e){}))},n.getFile=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/files.json";p.default.get(a).then((function(e){e&&n.setState({filesData:e.data,isSpin:!1,filesCount:e.data.files_count})})).catch((function(e){}))},n.state={pageData:void 0,commitsData:void 0,filesData:void 0,isSpin:!1,activeKey:"1",commitCount:0,filesCount:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner,i=this.props,l=i.footer_type,p=i.order_id,d=i.data,h=i.comparesData,v=this.state,y=v.isSpin,g=v.activeKey,b=v.filesCount,E=v.commitCount,_=v.filesData,w=v.commitsData;return!l&&!h||h&&(h.commits&&0===h.commits.length||h&&!h.diff)?"":s.default.createElement("div",{className:"main mergeRequest",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:y},s.default.createElement(a.default,{activeKey:g,className:"custom-commit-tabs",animated:!1,onChange:this.changeTab},l&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"评论"),d&&parseInt(d.comments_count)>0&&s.default.createElement("span",{className:"tabNum"},d.comments_count)),key:"1"},s.default.createElement(u.default,o({order_id:p,showNotification:this.props.showNotification,only_show_content:!0},this.props))),w&&w.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"提交"),E>0&&s.default.createElement("span",{className:"tabNum"},E)),key:"2"},s.default.createElement(c.default,o({},this.props,{commits:w,projectsId:t,owner:n}))),_&&_.files&&_.files.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"文件"),b>0&&s.default.createElement("span",{className:"tabNum"},b)),key:"3"},s.default.createElement(f.default,o({},this.props,{data:_,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}},LGYb:function(e,t,n){var r=n("1hJj"),a=n("jbM+"),o=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),s=n("rEGp");e.exports=function(e,t,n){var c=-1,u=a,f=e.length,p=!0,d=[],m=d;if(n)p=!1,u=o;else if(f>=200){var h=t?null:l(e);if(h)return s(h);p=!1,u=i,m=new r}else m=t?[]:d;e:for(;++c<f;){var v=e[c],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var g=m.length;g--;)if(m[g]===y)continue e;t&&m.push(y),d.push(v)}else u(m,y,n)||(m!==d&&m.push(y),d.push(v))}return d}},LXko:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("74dF"),n("vAZS"),n("04bd"),n("YQTV"),n("4t1q")},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),a=p(n("W9HT")),o=p(n("NJEC")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),s=p(l),c=n("eO8H"),u=p(n("vDqi")),f=p(n("UQ5L"));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){n.setState({canDelete:n.props.canDelete})},n.show_video_modal=function(e){n.setState({video_title:e.title,move_spin:!0,video_id:e.id}),n.move_attachment(e.id,"preview")},n.hide_video_modal=function(){var e=n.state.video_id;n.setState({video_title:void 0}),n.move_attachment(e,"close")},n.move_attachment=function(e,t){u.default.post("/attachments/"+e+"/preview_attachment",{status:t}).then((function(e){e?n.setState({show_video:"preview"===t,video_url:"preview"===t?"https://forgeplus.trustie.net"+e.data.url:void 0,move_spin:!1}):n.setState({move_spin:!1})})).catch((function(e){n.setState({move_spin:!1}),console.log(e)}))},n.is_video=function(e){return["mp4","flv","mkv","3gp"].indexOf(e.split(".").pop())>-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,i=t.canDelete,l=t.show_video,u=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return s.default.createElement("div",null,m?s.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return s.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},s.default.createElement(a.default,{spinning:d},e.is_video(t.title)?s.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)):s.default.createElement(c.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)),i?s.default.createElement(o.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},s.default.createElement("span",{className:"attachment-list-delete fr"},s.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?s.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},s.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("VCL8"),o=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(f,e);var t,n,a,i=h(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=i.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(y(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(y(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,n){var a=t.props,o=a.okButtonProps,i=a.cancelButtonProps,s=a.title,c=a.cancelText,u=a.okText,f=a.okType,d=a.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},d,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},o),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.placement,u=b(a,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(o.default,p({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return t=f,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(n=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var n=this.props;"visible"in n||this.setState({visible:e});var r=n.onVisibleChange;r&&r(e,t)}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderConfirm)}}])&&d(t.prototype,n),a&&d(t,a),f}(r.Component);E.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(a.polyfill)(E),t.default=E},OQrj:function(e,t,n){},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},QCvN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("W9HT")),a=v(n("2/Rp")),o=v(n("Vl3Y")),i=v(n("5rEg")),l=v(n("mr32")),s=v(n("BvKs")),c=v(n("2fM7")),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("L/Qf"),n("tULf"),n("1vPl"),n("0lcf"),n("2WkQ"),n("8QGh");var p=n("q1tI"),d=v(p),m=v(n("vDqi"));n("6JOy"),n("js5m");var h=v(n("p7gc"));function v(e){return e&&e.__esModule?e:{default:e}}var y=c.default.Option,g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.get_default_selects(),n.set_defatul()},n.componentDidUpdate=function(e){var t=n.props.match.params,r=t.projectsId,a=t.owner,o=e.match.params.projectsId,i=e.match.params.owner;o===r&&i===a||n.get_default_selects(),e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.get_default_selects=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner;n.setState({isSpin:!0}),m.default.get("/"+r+"/"+t+"/pulls/create_merge_infos.json").then((function(e){e&&n.setState({members:e.data.members,issue_tags:e.data.issue_tags,issue_versions:e.data.issue_versions,issue_priories:e.data.issue_priories}),n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.set_defatul=function(){var e=n.props,t=e.data,r=e.merge_type;t&&"edit"===r&&n.setState({desc:t.body,issue_tag_ids:t.issue_tag_ids?t.issue_tag_ids[0]:void 0,fixed_version_id:t.fixed_version_id?String(t.fixed_version_id):void 0,assigned_to_id:t.assigned_to_id?String(t.assigned_to_id):void 0,priority_id:t.priority_id?String(t.priority_id):void 0,title:t.title}),n.InitData()},n.InitData=function(){setTimeout((function(){n.props.form.setFieldsValue(u({},n.state))}),100)},n.onPanelChange=function(e,t){n.setState({value:e})},n.onSelect=function(e){n.setState({value:e,selectedValue:e})},n.renderMenu=function(e,t){return d.default.createElement(s.default,null,e&&e.length>0&&e.map((function(e,r){return d.default.createElement(s.default.Item,{key:e,onClick:function(){return n.getOption(e,t)}},e)})))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return d.default.createElement(y,{key:t+1,value:e.id+""},e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var r=n.props.match.params,a=r.projectsId,o=r.mergeId,i=r.owner,l=n.props,s=l.merge,c=l.pull,f=l.merge_type,p=l.data,d=l.commits_count,h=l.files_count;t.issue_tag_ids&&t.issue_tag_ids.length>0?t.issue_tag_ids=[parseInt(t.issue_tag_ids)]:t.issue_tag_ids=[];var v=n.state.desc;if("new"===f){var y="/"+i+"/"+a+"/pulls.json";m.default.post(y,u({},t,{body:v,head:c,base:s,is_original:p&&p.is_original,fork_project_id:p&&p.fork_project_id,merge_user_login:p&&p.merge_user_login,files_count:h,commits_count:d})).then((function(e){if(e){n.setState({isSpin:!1}),n.props.history.push("/"+i+"/"+a+"/pulls");var t=n.props.getDetail;t&&t()}else n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var g="/"+i+"/"+a+"/pulls/"+o+".json";m.default.put(g,u({},t,{body:v,head:c,base:s})).then((function(e){e?(n.setState({isSpin:!1}),n.props.history.push("/"+i+"/"+a+"/pulls/"+o+"/Messagecount")):n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}}))},n.onContentChange=function(e){n.setState({desc:e})},n.state={desc:void 0,issue_tag_ids:void 0,fixed_version_id:void 0,assigned_to_id:void 0,titledata:void 0,isSpin:!1,mergedata:void 0,priority_id:void 0,title:void 0,members:void 0,issue_tags:void 0,issue_versions:void 0,issue_priories:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),f(t,[{key:"render",value:function(){var e=this,t=this.props.merge_type,n=this.props.form.getFieldDecorator,s=this.props.match.params,u=s.projectsId,f=s.mergeId,p=s.owner,m=this.state,v=m.issue_tag_ids,g=m.fixed_version_id,b=m.assigned_to_id,E=m.priority_id,_=m.desc,w=m.isSpin,C=m.title,S=m.members,x=m.issue_tags,O=m.issue_versions,N=m.issue_priories;return d.default.createElement("div",null,d.default.createElement(r.default,{spinning:w},d.default.createElement("div",{className:"mb20"},d.default.createElement("span",{className:"font-16 fwb mr10 ver-middle"},"new"===t?"新建":"编辑","合并请求:"),d.default.createElement(l.default,{color:"#28BD6C",className:"ver-middle"},"可合并的")),d.default.createElement(o.default,null,d.default.createElement("div",{className:"width100 inline-block"},d.default.createElement("div",{className:"width70 pull-left"},d.default.createElement(o.default.Item,null,n("title",{rules:[{required:!0,message:"请填写请求标题"}],initialValue:C})(d.default.createElement(i.default,{placeholder:"标题",maxLength:50}))),d.default.createElement(h.default,{placeholder:"请输入合并请求的描述...",height:450,mdID:"merge-new-description",initValue:_,onChange:this.onContentChange}),d.default.createElement("p",{className:"clearfix mt20"},d.default.createElement(a.default,{type:"primary",loading:w,onClick:this.handleSubmit},d.default.createElement("span",{className:"plr10"},"new"===t?"创建":"提交")),d.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){e.props.history.push("new"===t?"/"+p+"/"+u+"/pulls":"/"+p+"/"+u+"/pulls/"+f+"/detail")}},d.default.createElement("span",{className:"plr10"},"取消")))),d.default.createElement("div",{className:"width30 pull-left"},d.default.createElement("div",{className:"pl30"},d.default.createElement(o.default.Item,null,n("assigned_to_id",{initialValue:b})(d.default.createElement(c.default,{placeholder:"未选择审查人员",showSearch:!0},d.default.createElement(y,{key:0,value:""},"未选择审查人员"),this.renderSelect(S)))),d.default.createElement(o.default.Item,null,n("fixed_version_id",{initialValue:g})(d.default.createElement(c.default,{placeholder:O&&O.length>0?"未选择里程碑":"请添加里程碑",showSearch:!0},d.default.createElement(y,{key:0,value:""},O&&O.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(O)))),d.default.createElement(o.default.Item,null,n("issue_tag_ids",{initialValue:v})(d.default.createElement(c.default,{placeholder:x&&x.length>0?"未选择标记":"请在仓库设置里添加标记",showSearch:!0},d.default.createElement(y,{key:0,value:""},x&&x.length>0?"未选择标记":"请在仓库设置里添加标记"),this.renderSelect(x)))),d.default.createElement(o.default.Item,null,n("priority_id",{initialValue:E})(d.default.createElement(c.default,{placeholder:"优先级",showSearch:!0},this.renderSelect(N))))))))))}}]),t}(p.Component),b=o.default.create({name:"NewMergeForm"})(g);t.default=b},"R/W3":function(e,t,n){var r=n("KwMD"),a=n("2ajD"),o=n("CZoQ");e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,a,n)}},R3zJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=function(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},a=r(["flex","webkitFlex","Flex","msFlex"]);t.a=r},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),i=c(n("q1tI")),l=c(n("vOnD")),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,a=e.id,c=e.login,u=l.default.span(o,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return a?i.default.createElement(s.Link,{to:"/"+c},i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))):i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],a=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],o=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],i=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],f=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,a){if(n){var o={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(o),a.push.apply(a,o.decorations)}}var d=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&d.test(n.nodeValue)?e:t}return t===e?void 0:t}function h(e,t){var n,r={};!function(){for(var a=e.concat(t),o=[],i={},l=0,s=a.length;l<s;++l){var c=a[l],u=c[3];if(u)for(var f=u.length;--f>=0;)r[u.charAt(f)]=c;var p=c[1],d=""+p;i.hasOwnProperty(d)||(o.push(p),i[d]=null)}o.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,a=0,o=e.length;a<o;++a){if((p=e[a]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var i={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=i[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],a=["["];r&&a.push("^");for(var o=r?1:0,i=t.length;o<i;++o){var c=t[o];if(/\\[bdsw]/i.test(c))a.push(c);else{var u,f=l(c);o+2<i&&"-"===t[o+1]?(u=l(t[o+2]),o+=2):u=f,n.push([f,u]),u<65||f>122||(u<65||f>90||n.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||n.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],d=[];for(o=0;o<n.length;++o){(m=n[o])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(o=0;o<p.length;++o){var m=p[o];a.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&a.push("-"),a.push(s(m[1])))}return a.push("]"),a.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),a=r.length,o=[],i=0,l=0;i<a;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?o[u]=-1:r[i]=s(u))}}for(i=1;i<o.length;++i)-1===o[i]&&(o[i]=++t);for(i=0,l=0;i<a;++i){if("("===(f=r[i]))o[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+o[u])}}for(i=0;i<a;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<a;++i){var f,p=(f=r[i]).charAt(0);f.length>=2&&"["===p?r[i]=c(f):"\\"!==p&&(r[i]=f.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var f=[];for(a=0,o=e.length;a<o;++a){var p;if((p=e[a]).global||p.multiline)throw new Error(""+p);f.push("(?:"+u(p)+")")}return new RegExp(f.join("|"),r?"gi":"g")}(o)}();var a=t.length,o=function(e){for(var i=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,f=i.match(n)||[],d={},m=0,h=f.length;m<h;++m){var v,y=f[m],g=d[y],b=void 0;if("string"==typeof g)v=!1;else{var E=r[y.charAt(0)];if(E)b=y.match(E[1]),g=E[0];else{for(var w=0;w<a;++w)if(E=t[w],b=y.match(E[1])){g=E[0];break}b||(g="pln")}!(v=g.length>=5&&"lang-"===g.substring(0,5))||b&&"string"==typeof b[1]||(v=!1,g="src"),v||(d[y]=g)}var C=u;if(u+=y.length,v){var S=b[1],x=y.indexOf(S),O=x+S.length;b[2]&&(x=(O=y.length-b[2].length)-S.length);var N=g.substring(5);p(s,l+C,y.substring(0,x),o,c),p(s,l+C+x,S,_(N,S),c),p(s,l+C+O,y.substring(O),o,c)}else c.push(l+C,g)}e.decorations=c};return o}function v(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var a=e.regexLiterals;if(a){var o=a>1?"":"\n\r",i=o?".":"[\\S\\s]",l="/(?=[^/*"+o+"])(?:[^/\\x5B\\x5C"+o+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+o+"]|\\x5C"+i+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),h(t,n)}var y=v({keywords:[r,o,a,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,a=/\r\n?|\n/,o=e.ownerDocument,i=o.createElement("li");e.firstChild;)i.appendChild(e.firstChild);var l=[i];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var i=e.nodeValue,l=i.match(a);if(l){var u=i.substring(0,l.index);e.nodeValue=u;var f=i.substring(l.index+l[0].length);if(f)e.parentNode.insertBefore(o.createTextNode(f),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,a=t.parentNode;if(a){var o=e(a,1),i=t.nextSibling;o.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,o.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var f=o.createElement("ol");f.className="linenums";for(var p=Math.max(0,t-1|0)||0,d=(u=0,l.length);u<d;++u)(i=l[u]).className="L"+(u+p)%10,i.firstChild||i.appendChild(o.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function E(t,n){for(var r=n.length;--r>=0;){var a=n[r];b.hasOwnProperty(a)?e.console&&console.warn("cannot override language handler %s",a):b[a]=t}}function _(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function w(t){var n,r,a,o,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,a=/(?:^|\s)nocode(?:\s|$)/,o=[],i=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(a.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(o[s]="\n",l[s<<1]=i++,l[s++<<1|1]=t)}else if(3==n||4==n){var f=t.nodeValue;f.length&&(f=r?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),o[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:o.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,_(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,a=/\n/g,o=e.sourceCode,i=o.length,l=0,s=e.spans,c=s.length,u=0,f=e.decorations,p=f.length,d=0;for(f[p]=i,r=n=0;r<p;)f[r]!==f[r+2]?(f[n++]=f[r++],f[n++]=f[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=f[r],h=f[r+1],v=r+2;v+2<=p&&f[v+1]===h;)v+=2;f[n++]=m,f[n++]=h,r=v}p=f.length=n;var y=e.sourceNode,g="";y&&(g=y.style.display,y.style.display="none");try{for(;u<c;){s[u];var b,E=s[u+2]||i,_=f[d+2]||i,w=(v=Math.min(E,_),s[u+1]);if(1!==w.nodeType&&(b=o.substring(l,v))){t&&(b=b.replace(a,"\r")),w.nodeValue=b;var C=w.ownerDocument,S=C.createElement("span");S.className=f[d+1];var x=w.parentNode;x.replaceChild(S,w),S.appendChild(w),l<E&&(s[u+1]=w=C.createTextNode(o.substring(v,E)),x.insertBefore(w,S.nextSibling))}(l=v)>=E&&(u+=2),l>=_&&(d+=2)}}finally{y&&(y.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function C(e,t,n){var r=n||!1,a=t||null,o=document.createElement("div");return o.innerHTML="<pre>"+e+"</pre>",o=o.firstChild,r&&g(o,r,!0),w({langExtension:a,numberLines:r,sourceNode:o,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),o.innerHTML}function S(t,n){var r=n||document.body,a=r.ownerDocument||document;function o(e){return r.getElementsByTagName(e)}for(var i=[o("pre"),o("code"),o("xmp")],l=[],s=0;s<i.length;++s)for(var c=0,u=i[s].length;c<u;++c)l.push(i[s][c]);i=null;var f=Date;f.now||(f={now:function(){return+new Date}});var p=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,v=/\bprettyprinted\b/,y=/pre|xmp/i,b=/^code$/i,E=/^(?:pre|code|xmp)$/i,_={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var o=l[p],i=_,s=o;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){i={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){i[t]=n}));break}}var C=o.className;if((i!==_||h.test(C))&&!v.test(C)){for(var S=!1,x=o.parentNode;x;x=x.parentNode){var O=x.tagName;if(E.test(O)&&x.className&&h.test(x.className)){S=!0;break}}if(!S){o.className+=" prettyprinted";var N,k,P=i.lang;if(!P)!(P=C.match(d))&&(N=m(o))&&b.test(N.tagName)&&(P=N.className.match(d)),P&&(P=P[1]);if(y.test(o.tagName))k=1;else{var j=o.currentStyle,T=a.defaultView,R=j?j.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(o,null).getPropertyValue("white-space"):0;k=R&&"pre"===R.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=C.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(o,A,k),w({langExtension:P,sourceNode:o,numberLines:A,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}E(y,["default-code"]),E(h([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),E(h([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),E(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),E(v({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),E(v({keywords:"null,true,false"}),["json"]),E(v({keywords:o,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),E(v({keywords:a,cStyleComments:!0}),["java"]),E(v({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),E(v({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),E(v({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),E(v({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),E(v({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),E(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),E(h([],[["str",/^[\s\S]+/]]),["regex"]);var x=e.PR={createSimpleLexer:h,registerLangHandler:E,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:C,prettyPrint:S},O=e.define;"function"==typeof O&&O.amd&&O("google-code-prettify",[],(function(){return x}))}()},Sxd8:function(e,t,n){var r=n("ZCgT");e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},UQ5L:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n("q1tI"),o=l(a),i=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,a.useState)(null),n=r(t,2),l=n[0],s=n[1];return(0,a.useEffect)((function(){s(e.video_url)}),[]),o.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),a=n("ut/Y"),o=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:o(n);return s<0&&(s=i(l+s,0)),r(e,a(t,3),s)}},VPG4:function(e,t,n){},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return M}));var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),i=n.n(o),l=n("BGR+"),s=n("W9HT"),c=n("H84U"),u=n("NUBc"),f=n("qrJ5"),p=n("/kpp");function d(e){if(!r.isValidElement(e))return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return r.cloneElement.apply(r,[e].concat(n))}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var a=_(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function S(e,t){return e[t]&&Math.floor(24/e[t])}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(l,e);var t,n,a,o=b(l);function l(){var e;return v(this,l),(e=o.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,a=e.context,o=a.grid,l=a.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,v=s.className,y=C(s,["prefixCls","children","actions","extra","className"]),g=n("list",c),b=f&&f.length>0&&r.createElement("ul",{className:"".concat(g,"-item-action"),key:"actions"},f.map((function(e,t){return r.createElement("li",{key:"".concat(g,"-item-action-").concat(t)},e,t!==f.length-1&&r.createElement("em",{className:"".concat(g,"-item-action-split")}))}))),E=o?"div":"li",_=r.createElement(E,w({},y,{className:i()("".concat(g,"-item"),v,h({},"".concat(g,"-item-no-flex"),!e.isFlexMode()))}),"vertical"===l&&m?[r.createElement("div",{className:"".concat(g,"-item-main"),key:"content"},u,b),r.createElement("div",{className:"".concat(g,"-item-extra"),key:"extra"},m)]:[u,b,d(m,{key:"extra"})]);return o?r.createElement(p.a,{span:S(o,"column"),xs:S(o,"xs"),sm:S(o,"sm"),md:S(o,"md"),lg:S(o,"lg"),xl:S(o,"xl"),xxl:S(o,"xxl")},_):_},e}return t=l,(n=[{key:"isItemContainsTextNodeAndNotSingular",value:function(){var e,t=this.props.children;return r.Children.forEach(t,(function(t){"string"==typeof t&&(e=!0)})),e&&r.Children.count(t)>1}},{key:"isFlexMode",value:function(){var e=this.props.extra;return"vertical"===this.context.itemLayout?!!e:!this.isItemContainsTextNodeAndNotSingular()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderItem)}}])&&y(t.prototype,n),a&&y(t,a),l}(r.Component);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=D(e);if(t){var a=D(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==O(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}x.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,a=e.prefixCls,o=e.className,l=e.avatar,s=e.title,c=e.description,u=C(e,["prefixCls","className","avatar","title","description"]),f=n("list",a),p=i()("".concat(f,"-item-meta"),o),d=r.createElement("div",{className:"".concat(f,"-item-meta-content")},s&&r.createElement("h4",{className:"".concat(f,"-item-meta-title")},s),c&&r.createElement("div",{className:"".concat(f,"-item-meta-description")},c));return r.createElement("div",w({},u,{className:p}),l&&r.createElement("div",{className:"".concat(f,"-item-meta-avatar")},l),(s||c)&&d)}))},x.contextTypes={grid:a.any,itemLayout:a.string};var L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(p,e);var t,n,a,o=A(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=o.call(this,e)).defaultPaginationProps={current:1,total:0},t.keys={},t.onPaginationChange=t.triggerPaginationEvent("onChange"),t.onPaginationShowSizeChange=t.triggerPaginationEvent("onShowSizeChange"),t.renderItem=function(e,n){var r,a=t.props,o=a.renderItem,i=a.rowKey;return o?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,o(e,n)):null},t.renderEmpty=function(e,n){var a=t.props.locale;return r.createElement("div",{className:"".concat(e,"-empty-text")},a&&a.emptyText||n("List"))},t.renderList=function(e){var n,a=e.getPrefixCls,o=e.renderEmpty,c=t.state,p=c.paginationCurrent,d=c.paginationSize,m=t.props,h=m.prefixCls,v=m.bordered,y=m.split,g=m.className,b=m.children,E=m.itemLayout,_=m.loadMore,w=m.pagination,C=m.grid,S=m.dataSource,x=void 0===S?[]:S,O=m.size,k=m.header,T=m.footer,R=m.loading,A=L(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),I=a("list",h),D=R;"boolean"==typeof D&&(D={spinning:D});var M=D&&D.spinning,F="";switch(O){case"large":F="lg";break;case"small":F="sm"}var U=i()(I,g,(j(n={},"".concat(I,"-vertical"),"vertical"===E),j(n,"".concat(I,"-").concat(F),F),j(n,"".concat(I,"-split"),y),j(n,"".concat(I,"-bordered"),v),j(n,"".concat(I,"-loading"),M),j(n,"".concat(I,"-grid"),C),j(n,"".concat(I,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),B=P(P(P({},t.defaultPaginationProps),{total:x.length,current:p,pageSize:d}),w||{}),z=Math.ceil(B.total/B.pageSize);B.current>z&&(B.current=z);var H,K=w?r.createElement("div",{className:"".concat(I,"-pagination")},r.createElement(u.default,P({},B,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,W=N(x);if(w&&x.length>(B.current-1)*B.pageSize&&(W=N(x).splice((B.current-1)*B.pageSize,B.pageSize)),H=M&&r.createElement("div",{style:{minHeight:53}}),W.length>0){var V=W.map((function(e,n){return t.renderItem(e,n)})),q=[];r.Children.forEach(V,(function(e,n){q.push(r.cloneElement(e,{key:t.keys[n]}))})),H=C?r.createElement(f.a,{gutter:C.gutter},q):r.createElement("ul",{className:"".concat(I,"-items")},q)}else b||M||(H=t.renderEmpty(I,o));var G=B.position||"bottom";return r.createElement("div",P({className:U},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&K,k&&r.createElement("div",{className:"".concat(I,"-header")},k),r.createElement(s.default,D,H,b),T&&r.createElement("div",{className:"".concat(I,"-footer")},T),_||("bottom"===G||"both"===G)&&K)};var n=e.pagination,a=n&&"object"===O(n)?n:{};return t.state={paginationCurrent:a.defaultCurrent||1,paginationSize:a.defaultPageSize||10},t}return t=p,(n=[{key:"getChildContext",value:function(){return{grid:this.props.grid,itemLayout:this.props.itemLayout}}},{key:"triggerPaginationEvent",value:function(e){var t=this;return function(n,r){var a=t.props.pagination;t.setState({paginationCurrent:n,paginationSize:r}),a&&a[e]&&a[e](n,r)}}},{key:"isSomethingAfterLastItem",value:function(){var e=this.props,t=e.loadMore,n=e.pagination,r=e.footer;return!!(t||n||r)}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderList)}}])&&T(t.prototype,n),a&&T(t,a),p}(r.Component);M.Item=x,M.childContextTypes={grid:a.any,itemLayout:a.string},M.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},"Xt/L":function(e,t){e.exports=function(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}},ZCgT:function(e,t,n){var r=n("tLB3");e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return qe}));var r=n("q1tI"),a=n.n(r),o=n("i8i4"),i=n("QbLZ"),l=n.n(i),s=n("YEIV"),c=n.n(s),u=n("jo6Y"),f=n.n(u),p=n("iCc5"),d=n.n(p),m=n("V7oC"),h=n.n(m),v=n("FYw3"),y=n.n(v),g=n("mRg0"),b=n.n(g),E=n("17x9"),_=n.n(E),w=n("TSYQ"),C=n.n(w),S=n("n1GQ"),x=n.n(S),O=n("VCL8"),N=37,k=38,P=39,j=40;function T(e){var t=[];return a.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function R(e,t){for(var n=T(e),r=0;r<n.length;r++)if(n[r].key===t)return r;return-1}function A(e,t){e.transform=t,e.webkitTransform=t,e.mozTransform=t}function I(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function D(e){return"left"===e||"right"===e}function L(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function M(e){return Object.keys(e).reduce((function(t,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})}function F(e,t){return+e.getPropertyValue(t).replace("px","")}function U(e,t,n,r,a){var o=L(a,"padding-"+e);if(!r||!r.parentNode)return o;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(a){var i=window.getComputedStyle(a);return a!==r?(o+=F(i,"margin-"+e),o+=a[t],o+=F(i,"margin-"+n),"content-box"===i.boxSizing&&(o+=F(i,"border-"+e+"-width")+F(i,"border-"+n+"-width")),!1):(o+=F(i,"margin-"+e),!0)})),o}var B=n("4IlW"),z=n("foW8"),H=n.n(z)()({}),K=H.Provider,W=H.Consumer,V={width:0,height:0,overflow:"hidden",position:"absolute"},q=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.onKeyDown=function(e){var t=e.target,n=e.which,a=e.shiftKey,o=r.props,i=o.nextElement,l=o.prevElement;n===B.a.TAB&&document.activeElement===t&&(!a&&i&&i.focus(),a&&l&&l.focus())},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props.setRef;return a.a.createElement("div",{tabIndex:0,ref:e,style:V,onKeyDown:this.onKeyDown,role:"presentation"})}}]),t}(a.a.Component);q.propTypes={setRef:_.a.func,prevElement:_.a.object,nextElement:_.a.object};var G=q,Q=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e,t=this.props,n=t.id,r=t.className,o=t.destroyInactiveTabPane,i=t.active,s=t.forceRender,u=t.rootPrefixCls,p=t.style,d=t.children,m=t.placeholder,h=f()(t,["id","className","destroyInactiveTabPane","active","forceRender","rootPrefixCls","style","children","placeholder"]);this._isActived=this._isActived||i;var v=u+"-tabpane",y=C()((e={},c()(e,v,1),c()(e,v+"-inactive",!i),c()(e,v+"-active",i),c()(e,r,r),e)),g=(o?i:this._isActived)||s;return a.a.createElement(W,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,o=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=a.a.createElement(G,{setRef:o,prevElement:t}),u=a.a.createElement(G,{setRef:s,nextElement:r})),a.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:y,id:n},M(h)),c,g?d:m,u)}))}}]),t}(a.a.Component),Y=Q;function J(e){var t=void 0;return a.a.Children.forEach(e.children,(function(e){!e||t||e.props.disabled||(t=e.key)})),t}Q.propTypes={className:_.a.string,active:_.a.bool,style:_.a.any,destroyInactiveTabPane:_.a.bool,forceRender:_.a.bool,placeholder:_.a.node,rootPrefixCls:_.a.string,children:_.a.node,id:_.a.string},Q.defaultProps={placeholder:null};var X=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));Z.call(n);var r=void 0;return r="activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:J(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,x.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(x.a.cancel(this.sentinelId),this.sentinelId=x()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,o=t.tabBarPosition,i=t.className,s=t.renderTabContent,u=t.renderTabBar,p=t.destroyInactiveTabPane,d=t.direction,m=f()(t,["prefixCls","navWrapper","tabBarPosition","className","renderTabContent","renderTabBar","destroyInactiveTabPane","direction"]),h=C()((e={},c()(e,n,1),c()(e,n+"-"+o,1),c()(e,i,!!i),c()(e,n+"-rtl","rtl"===d),e));this.tabBar=u();var v=a.a.cloneElement(this.tabBar,{prefixCls:n,navWrapper:r,key:"tabBar",onKeyDown:this.onNavKeyDown,tabBarPosition:o,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),y=a.a.cloneElement(s(),{prefixCls:n,tabBarPosition:o,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=a.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=a.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),E=[];return"bottom"===o?E.push(g,y,b,v):E.push(v,g,y,b),a.a.createElement(K,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},a.a.createElement("div",l()({className:h,style:t.style},M(m),{onScroll:this.onScroll}),E))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"activeKey"in e?n.activeKey=e.activeKey:function(e,t){return a.a.Children.map(e.children,(function(e){return e&&e.key})).indexOf(t)>=0}(e,t.activeKey)||(n.activeKey=J(e)),Object.keys(n).length>0?n:null}}]),t}(a.a.Component),Z=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===P||n===j){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===N||n===k){t.preventDefault();var a=e.getNextActiveKey(!1);e.onTabClick(a)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];a.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var o=r.length,i=o&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===o-1?r[0].key:r[t+1].key)})),i}};X.propTypes={destroyInactiveTabPane:_.a.bool,renderTabBar:_.a.func.isRequired,renderTabContent:_.a.func.isRequired,navWrapper:_.a.func,onChange:_.a.func,children:_.a.node,prefixCls:_.a.string,className:_.a.string,tabBarPosition:_.a.string,style:_.a.object,activeKey:_.a.string,defaultActiveKey:_.a.string,direction:_.a.string},X.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},X.TabPane=Y,Object(O.polyfill)(X);var $=X,ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return a.a.Children.forEach(n,(function(n){if(n){var o=n.key,i=t===o;r.push(a.a.cloneElement(n,{active:i,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,o=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=C()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var v=R(o,i);if(-1!==v){var y=p?function(e,t){var n=D(t)?"marginTop":"marginLeft";return c()({},n,100*-e+"%")}(v,u):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=D(t)?"translateY":"translateX";return D(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(v,u,d),WebkitTransform:t,MozTransform:t};m=l()({},m,y)}else m=l()({},m,{display:"none"})}return a.a.createElement("div",{className:h,style:m},this.getTabPanes())}}]),t}(a.a.Component),te=ee;ee.propTypes={animated:_.a.bool,animatedWithMargin:_.a.bool,prefixCls:_.a.string,children:_.a.node,activeKey:_.a.string,style:_.a.any,tabBarPosition:_.a.string,className:_.a.string,destroyInactiveTabPane:_.a.bool,direction:_.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("BGR+");function ae(e,t){var n=e.props,r=n.styles,a=n.panels,o=n.activeKey,i=n.direction,l=e.props.getRef("root"),s=e.props.getRef("nav")||l,c=e.props.getRef("inkBar"),u=e.props.getRef("activeTab"),f=c.style,p=e.props.tabBarPosition,d=R(a,o);if(t&&(f.display="none"),u){var m=u,h=I(f);if(A(f,""),f.width="",f.height="",f.left="",f.top="",f.bottom="",f.right="","top"===p||"bottom"===p){var v=function(e,t){return U("left","offsetWidth","right",e,t)}(m,s),y=m.offsetWidth;y===l.offsetWidth?y=0:r.inkBar&&void 0!==r.inkBar.width&&(y=parseFloat(r.inkBar.width,10))&&(v+=(m.offsetWidth-y)/2),"rtl"===i&&(v=L(m,"margin-left")-v),h?A(f,"translate3d("+v+"px,0,0)"):f.left=v+"px",f.width=y+"px"}else{var g=function(e,t){return U("top","offsetHeight","bottom",e,t)}(m,s),b=m.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(b=parseFloat(r.inkBar.height,10))&&(g+=(m.offsetHeight-b)/2),h?(A(f,"translate3d(0,"+g+"px,0)"),f.top="0"):f.top=g+"px",f.height=b+"px"}}f.display=-1!==d?"block":"none"}var oe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){ae(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){ae(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,o=t.inkBarAnimated,i=n+"-ink-bar",l=C()((e={},c()(e,i,!0),c()(e,o?i+"-animated":i+"-no-animated",!0),e));return a.a.createElement("div",{style:r.inkBar,className:l,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(a.a.Component),ie=oe;oe.propTypes={prefixCls:_.a.string,styles:_.a.object,inkBarAnimated:_.a.bool,saveRef:_.a.func,direction:_.a.string},oe.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),se=n.n(le),ce=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,o=t.prefixCls,i=t.tabBarGutter,s=t.saveRef,u=t.tabBarPosition,f=t.renderTabBarNode,p=t.direction,d=[];return a.a.Children.forEach(n,(function(t,m){if(t){var h=t.key,v=r===h?o+"-tab-active":"";v+=" "+o+"-tab";var y={};t.props.disabled?v+=" "+o+"-tab-disabled":y={onClick:e.props.onTabClick.bind(e,h)};var g={};r===h&&(g.ref=s("activeTab"));var b=i&&m===n.length-1?0:i,E="rtl"===p?"marginLeft":"marginRight",_=c()({},D(u)?"marginBottom":E,b);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var w=a.a.createElement("div",l()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},y,{className:v,key:h,style:_},g),t.props.tab);f&&(w=f(w)),d.push(w)}})),a.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(a.a.Component),ue=ce;ce.propTypes={activeKey:_.a.string,panels:_.a.node,prefixCls:_.a.string,tabBarGutter:_.a.number,onTabClick:_.a.func,saveRef:_.a.func,renderTabBarNode:_.a.func,tabBarPosition:_.a.string,direction:_.a.string},ce.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var fe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,o=e.className,i=e.extraContent,s=e.style,u=e.tabBarPosition,p=e.children,d=f()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),m=C()(t+"-bar",c()({},o,!!o)),h="top"===u||"bottom"===u,v=h?{float:"right"}:{},y=i&&i.props?i.props.style:{},g=p;return i&&(g=[Object(r.cloneElement)(i,{key:"extra",style:l()({},v,y)}),Object(r.cloneElement)(p,{key:"content"})],g=h?g:g.reverse()),a.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},M(d)),g)}}]),t}(a.a.Component),pe=fe;fe.propTypes={prefixCls:_.a.string,className:_.a.string,style:_.a.object,tabBarPosition:_.a.oneOf(["left","right","top","bottom"]),children:_.a.node,extraContent:_.a.node,onKeyDown:_.a.func,saveRef:_.a.func},fe.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var de=n("sEfC"),me=n.n(de),he=n("bdgK"),ve=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var a=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),a){var o=n.getScrollWH(t),i=n.getOffsetWH(r),l=n.offset,s=n.getOffsetLT(r),c=n.getOffsetLT(t);s>c?(l+=s-c,n.setOffset(l)):s+i<c+o&&(l-=c+o-(s+i),n.setOffset(l))}}},n.prev=function(e){n.props.onPrevClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a+r)},n.next=function(e){n.props.onNextClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a-r)},n.offset=0,n.state={next:!1,prev:!1},n}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),this.debouncedResize=me()((function(){e.setNextPrev(),e.scrollToActiveTab()}),200),this.resizeObserver=new he.default(this.debouncedResize),this.resizeObserver.observe(this.props.getRef("container"))}},{key:"componentDidUpdate",value:function(e){var t=this.props;if(e&&e.tabBarPosition!==t.tabBarPosition)this.setOffset(0);else{var n=this.setNextPrev();this.isNextPrevShown(this.state)!==this.isNextPrevShown(n)?this.setState({},this.scrollToActiveTab):e&&t.activeKey===e.activeKey||this.scrollToActiveTab()}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()}},{key:"setNextPrev",value:function(){var e=this.props.getRef("nav"),t=this.props.getRef("navTabsContainer"),n=this.getScrollWH(t||e),r=this.getOffsetWH(this.props.getRef("container"))+1,a=this.getOffsetWH(this.props.getRef("navWrap")),o=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),o=0;else if(i<o)s=!0;else{s=!1;var u=a-n;this.setOffset(u,!1),o=u}return c=o<0,this.setNext(s),this.setPrev(c),{next:s,prev:c}}},{key:"getOffsetWH",value:function(e){var t=this.props.tabBarPosition,n="offsetWidth";return"left"!==t&&"right"!==t||(n="offsetHeight"),e[n]}},{key:"getScrollWH",value:function(e){var t=this.props.tabBarPosition,n="scrollWidth";return"left"!==t&&"right"!==t||(n="scrollHeight"),e[n]}},{key:"getOffsetLT",value:function(e){var t=this.props.tabBarPosition,n="left";return"left"!==t&&"right"!==t||(n="top"),e.getBoundingClientRect()[n]}},{key:"setOffset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},a=this.props.tabBarPosition,o=this.props.getRef("nav").style,i=I(o);"left"===a||"right"===a?r=i?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:i?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},i?A(o,r.value):o[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,o=this.state,i=o.next,l=o.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,v=a.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:C()((e={},c()(e,u+"-tab-prev",1),c()(e,u+"-tab-btn-disabled",!l),c()(e,u+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||a.a.createElement("span",{className:u+"-tab-prev-icon"})),y=a.a.createElement("span",{onClick:i?this.next:null,unselectable:"unselectable",className:C()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||a.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=C()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return a.a.createElement("div",{className:C()((r={},c()(r,u+"-nav-container",1),c()(r,u+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},v,y,a.a.createElement("div",{className:u+"-nav-wrap",ref:this.props.saveRef("navWrap")},a.a.createElement("div",{className:u+"-nav-scroll"},a.a.createElement("div",{className:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(a.a.Component),ye=ve;ve.propTypes={activeKey:_.a.string,getRef:_.a.func.isRequired,saveRef:_.a.func.isRequired,tabBarPosition:_.a.oneOf(["left","right","top","bottom"]),prefixCls:_.a.string,scrollAnimated:_.a.bool,onPrevClick:_.a.func,onNextClick:_.a.func,navWrapper:_.a.func,children:_.a.node,prevIcon:_.a.node,nextIcon:_.a.node,direction:_.a.node},ve.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var ge=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.getRef=function(e){return r[e]},r.saveRef=function(e){return function(t){t&&(r[e]=t)}},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(a.a.Component),be=ge;ge.propTypes={children:_.a.func},ge.defaultProps={children:function(){return null}};var Ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return a.a.createElement(be,null,(function(e,r){return a.a.createElement(pe,l()({saveRef:e},n),a.a.createElement(ye,l()({saveRef:e,getRef:r},n),a.a.createElement(ue,l()({saveRef:e,renderTabBarNode:t},n)),a.a.createElement(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(a.a.Component),_e=Ee;Ee.propTypes={children:_.a.func};var we=n("CtXQ");function Ce(){return(Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){return(xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return je(this,n)}}function je(e,t){return!t||"object"!==xe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e,t,n=this.props,a=n.tabBarStyle,o=n.animated,i=n.renderTabBar,l=n.tabBarExtraContent,s=n.tabPosition,c=n.prefixCls,u=n.className,f=n.size,p=n.type,d="object"===xe(o)?o.inkBar:o,m="left"===s||"right"===s,h=m?"up":"left",v=m?"down":"right",y=r.createElement("span",{className:"".concat(c,"-tab-prev-icon")},r.createElement(we.default,{type:h,className:"".concat(c,"-tab-prev-icon-target")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(we.default,{type:v,className:"".concat(c,"-tab-next-icon-target")})),b=C()("".concat(c,"-").concat(s,"-bar"),(Se(e={},"".concat(c,"-").concat(f,"-bar"),!!f),Se(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),E=Ce(Ce({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:a,prevIcon:y,nextIcon:g,className:b});return t=i?i(E,_e):r.createElement(_e,E),r.cloneElement(t)}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Re.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Ie=n("6CfX"),De=n("R3zJ");function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ze(e,t){return(ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function He(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=We(e);if(t){var a=We(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ke(this,n)}}function Ke(e,t){return!t||"object"!==Fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},qe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ze(e,t)}(l,e);var t,n,a,i=He(l);function l(){var e;return Ue(this,l),(e=i.apply(this,arguments)).removeTab=function(t,n){if(n.stopPropagation(),t){var r=e.props.onEdit;r&&r(t,"remove")}},e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e.createNewTab=function(t){var n=e.props.onEdit;n&&n(t,"add")},e.renderTabs=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.className,s=void 0===l?"":l,c=o.size,u=o.type,f=void 0===u?"line":u,p=o.tabPosition,d=o.children,m=o.animated,h=void 0===m||m,v=o.hideAdd,y=e.props.tabBarExtraContent,g="object"===Fe(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Ie.a)(!(f.indexOf("card")>=0&&("small"===c||"large"===c)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var b=a("tabs",i),E=C()(s,(Me(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Me(n,"".concat(b,"-").concat(c),!!c),Me(n,"".concat(b,"-card"),f.indexOf("card")>=0),Me(n,"".concat(b,"-").concat(f),!0),Me(n,"".concat(b,"-no-animation"),!g),n)),_=[];"editable-card"===f&&(_=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var a=t.props.closable,o=(a=void 0===a||a)?r.createElement(we.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;_.push(r.cloneElement(t,{tab:r.createElement("div",{className:a?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,o),key:t.key||n}))})),v||(y=r.createElement("span",null,r.createElement(we.default,{type:"plus",className:"".concat(b,"-new-tab"),onClick:e.createNewTab}),y))),y=y?r.createElement("div",{className:"".concat(b,"-extra-content")},y):null;var w=Ve(e.props,[]),S=C()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Le({},e.props,{prefixCls:b,className:E,tabBarPosition:p,renderTabBar:function(){return r.createElement(Re,Le({},Object(re.a)(w,["className"]),{tabBarExtraContent:y}))},renderTabContent:function(){return r.createElement(te,{className:S,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),_.length>0?_:d)},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=o.findDOMNode(this);e&&!De.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&Be(t.prototype,n),a&&Be(t,a),l}(r.Component);qe.TabPane=Y,qe.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("3S7+")),a=u(n("CFYs")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ"),n("D8SU");var i=n("q1tI"),l=u(i),s=n("PhNK"),c=n("spEH");function u(e){return e&&e.__esModule?e:{default:e}}n("js5m"),n("VPG4"),t.default=function(e){var t=e.data,n=e.history,u=e.owner,f=e.projectsId,p=e.parentsSha,d=(0,i.useState)(t&&t.files),m=o(d,2),h=m[0],v=m[1],y=(0,i.useState)("复制文件路径"),g=o(y,2),b=g[0],E=g[1],_=(0,i.useState)(!1),w=o(_,2),C=w[0],S=w[1];function x(e,t,n){if(!n){var r=h.concat();r[t].flag=!e,r.splice(),v(r)}}(0,i.useEffect)((function(){t&&v(t.files)}),[t]);var O=l.default.createElement("div",{className:"folders"},l.default.createElement("div",{className:"folderList"},h&&h.map((function(e,t){return l.default.createElement("a",{href:"#value"+t},l.default.createElement(c.FlexAJ,{className:"filesInfo",key:t,onClick:function(){e.flag&&x(e.flag,t,e.isBin),S(!1)}},l.default.createElement(c.AlignCenter,null,l.default.createElement("i",{className:"iconfont icon-wenjianicon mr4"}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name},e.name)),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0&&":")+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),e.addition>0&&l.default.createElement("span",{className:"color-green ml10"},"+",e.addition),e.deletion>0&&l.default.createElement("span",{className:"color-red ml10"},"-",e.deletion)))))}))));return l.default.createElement("div",null,l.default.createElement(c.AlignCenter,{className:"color-grey-9",style:{position:"relative"}},l.default.createElement("div",{onClick:function(){S(!C)}},l.default.createElement("i",{className:"iconfont mr5 "+(C?"font-18 icon-sanjiaoxing-down":"font-16 icon-triangle")}),l.default.createElement("span",{className:"color-grey-6 update-file-count"},"共有",l.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件 "),"被更改,包括",t&&t.total_addition?l.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?l.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),C&&O),h&&h.length>0&&l.default.createElement("div",{className:"fileList"},h.map((function(e,t){return l.default.createElement("div",{className:"files",key:t},l.default.createElement("a",{id:"value"+t,className:"anchorPoint"}),l.default.createElement(c.FlexAJ,{className:"filesInfo"},l.default.createElement(c.AlignCenter,null,e.isBin?"":l.default.createElement("i",{className:e.flag?"iconfont icon-triangle font-15 color-grey-9":"iconfont icon-sanjiaoxing-down color-grey-9 mt4",onClick:function(){return x(e.flag,t,e.isBin)}}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name,onClick:function(){return x(e.flag,t,e.isBin)}},e.name),l.default.createElement(r.default,{title:b,onVisibleChange:function(){return E("复制文件路径")}},l.default.createElement("i",{className:"iconfont icon-fuzhiicon ml6",onClick:function(){return t=e.name,(n=document.createElement("input")).defaultValue=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="copyCont",n.style.display="none",void E("复制成功");var t,n}}))),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0&&":")+" "+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),l.default.createElement("span",{className:"ml10"},e.addition+e.deletion,"处")),!e.isSubmodule&&l.default.createElement("span",{className:"see-file-btn",onClick:function(){n.push("/"+u+"/"+f+(e.isDeleted?"/commits/"+(0,s.truncateCommitId)(p):"/tree/"+(0,s.truncateCommitId)(e.sha)+"/"+e.name))}},"查看文件"))),e.sections&&e.sections.length>=1&&!e.flag&&l.default.createElement("div",{className:"filesContent"},e.sections.map((function(e,t){return e.lines&&e.lines.length>0&&e.lines.map((function(e,n){return l.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},l.default.createElement("span",{className:"lines"},l.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),l.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),l.default.createElement("p",null,e.content))}))}))))}))))}},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),a=c(r);n("vg9a");var o=n("ud8/"),i=c(o);n("SJMd");var l=c(n("wMS7")),s=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,p=void 0===f?{}:f,d=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,i.default)(m),t=(0,o.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],a=r.type,o=r.expression;return(0,s.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===a,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(d&&d.hash&&h){var e=d.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[d,h]);var v=(0,r.useRef)();function y(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(v.current&&h&&h.match(u)&&window.PR.prettyPrint(),v.current)return v.current.addEventListener("click",y),function(){v.current.removeEventListener("click",y),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[h,v.current,y]),a.default.createElement("div",{ref:v,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=_(n("VXEj")),a=_(n("NJEC")),o=_(n("2/Rp")),i=_(n("NUBc")),l=_(n("ZTPi")),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV"),n("AUBz");var u=n("q1tI"),f=_(u),p=n("eO8H"),d=_(n("vDqi")),m=_(n("AySf")),h=_(n("bIax")),v=n("sYIF"),y=_(n("LZ3y")),g=_(n("p7gc")),b=_(n("bjH3")),E=_(n("oYoh"));function _(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var w=l.default.TabPane,C=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getjournalslist()},n.addjournals=function(){var e=n.state,t=e.content,r=e.reply_content;n.setState({journal_spin:!0}),t||r?n.props.form.validateFieldsAndScroll((function(e,a){if(e)n.setState({journal_spin:!1});else{var o=n.state,i=o.page,l=o.limit,c=o.fileList,u=o.orderId,f=o.reply_id,p=o.is_reply,m="/issues/"+u+"/journals.json";d.default.post(m,s({},a,{content:p?r:t,issue_id:u,attachment_ids:c,parent_id:f})).then((function(e){e&&0===e.data.status&&(n.props.form.setFieldsValue({content:"",reply_content:void 0}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l),n.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1})),n.setState({journal_spin:!1}),e&&411!==e.data.status&&n.props.showNotification(e.data.message)})).catch((function(e){n.setState({journal_spin:!1}),console.log(e)}))}})):n.setState({journal_spin:!1})},n.add_reply=function(e){!1!==n.props.checkIfLogin()?n.setState({is_reply:!0,success_journal:!1,reply_id:e}):n.props.showLoginDialog()},n.cancel_reply=function(){n.setState({is_reply:!1,reply_id:void 0,success_journal:!1,reply_content:void 0})},n.getjournalslist=function(e,t){var r=n.state.orderId,a="/issues/"+r+"/journals.json",o=r;d.default.get(a,{params:{id:o,page:e,limit:t}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1,fileList:void 0})})).catch((function(e){console.log(e)}))},n.UploadFunc=function(e){n.setState({fileList:e,attachment_clean:!0})},n.deleteorder=function(e){var t=n.state,r=t.page,a=t.limit,o=t.orderId,i="/issues/"+o+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:o,id:e}}).then((function(e){e&&n.getjournalslist(r,a)})).catch((function(e){console.log(e)}))},n.renderJournalList=function(e){return e&&e.length>0?e.map((function(e,t){return f.default.createElement("div",{key:t+1,className:"journal-list-item"},f.default.createElement("span",{className:"fwb mr3"},e.detail,":"),f.default.createElement("span",{className:"mr5 color-grey-9"},e.old_value&&e.old_value.length>0?"更新为":"新增"),f.default.createElement("span",null,e.value&&e.value.length>0?"标记"===e.detail?f.default.createElement("span",{className:"issue-tag-show",style:{background:e.value[0].color}},e.value[0].name):e.value:"无"))})):f.default.createElement("div",null,f.default.createElement("span",null,"没有评论~"))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.onContentChange=function(e){e&&n.setState({content:e,quillFlag:!1})},n.replyContentChange=function(e){e&&n.setState({reply_content:e,quillFlag:!1})},n.onRef=function(e){n.child=e},n.commentCtx=function(e){return f.default.createElement(b.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.state={content:void 0,journalsdata:void 0,isedit:void 0,fileList:void 0,limit:10,page:1,journal_spin:!1,edit_spin:!1,attachment_clean:!0,orderId:n.props.order_id,is_reply:!1,reply_id:void 0,reply_content:void 0,new_journal_id:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"loginModal",value:function(){this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,_=t.attachment_clean,C=t.is_reply,S=t.reply_id,x=t.reply_content,O=t.orderId,N=t.new_journal_id,k=this.props,P=k.current_user,j=k.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(P&&P.image_url)),alt:"",width:"30",height:"30"})),f.default.createElement("div",null,f.default.createElement(g.default,{placeholder:"添加评论...",height:300,mdID:n?"orderdetail-add-descriptions"+n:"orderdetail-add-descriptions",initValue:t?x:u,onChange:t?e.replyContentChange:e.onContentChange}),f.default.createElement("p",{className:"quillFlag"},d&&f.default.createElement("span",{className:""},"请输入评论内容")),f.default.createElement(m.default,{className:"commentStyle",isComplete:_,load:e.UploadFunc,icon:f.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.props.showNotification}),f.default.createElement("p",{className:"clearfix mt20"},f.default.createElement(o.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(o.default,{onClick:e.cancel_reply},"取消"))))},R=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link color-black ml10 fwb"},t&&t.user_name)),f.default.createElement("div",{className:"ml40"},t.content?e.commentCtx(t.content):f.default.createElement("div",null,e.renderJournalList(t.journal_details)),t&&t.attachments&&t.attachments.length>0?f.default.createElement(y.default,{attachments:t.attachments,showNotification:e.props.showNotification,canDelete:P&&(P.admin||P.login===t.user_login)}):"",f.default.createElement("div",{className:"grid-item mt5"},f.default.createElement("span",{className:"color-grey-8"},t.created_at),f.default.createElement("span",{className:"text-right"},P&&(P.admin||P.login===t.user_login)?f.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(o.default,{type:"link"},f.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):"",f.default.createElement(o.default,{type:"link",className:"ml-10",onClick:function(){return e.add_reply(t.id)}},f.default.createElement("i",{className:"iconfont icon-huifu1 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"回复")))),P&&f.default.createElement("div",null,C&&S&&S===t.id?f.default.createElement("div",{className:"pt20"},T(C,t.id)):""),f.default.createElement(E.default,s({order_id:O,parent_id:t.id,onRef:e.onRef,children_comment_id:N},e.props))))};return f.default.createElement("div",null,j?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},C&&!S?f.default.createElement("div",{className:"pd20"},T(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,v.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}),this.Paginations()):f.default.createElement("div",{className:"mt20"},f.default.createElement("div",{className:"comment-background"},f.default.createElement(l.default,{defaultActiveKey:"1",className:"custom-comment-tabs"},f.default.createElement(w,{tab:f.default.createElement("span",{className:"ml-3 font-16"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},C&&!S?f.default.createElement("div",{className:"pd20"},T(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item mb20"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,v.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=C},dQpi:function(e,t,n){var r=n("yGk4"),a=n("vN+2"),o=n("rEGp"),i=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:a;e.exports=i},"jbM+":function(e,t,n){var r=n("R/W3");e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},js5m:function(e,t,n){},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),i=n("BGR+"),l=n("VCL8"),s=n("CtXQ"),c=n("H84U");function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,a,i=v(l);function l(){var e;return d(this,l),(e=i.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,r=t.onChange;r&&r(!n)},e.renderCheckableTag=function(t){var n,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=a("tag",l),m=o()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,r.createElement("span",f({},u,{className:m,onClick:e.handleClick}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(t.prototype,n),a&&m(t,a),l}(r.Component),_=n("09Wf"),w=n("6CfX"),C=n("g0mS");function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=T(e);if(t){var a=T(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},A=new RegExp("^(".concat(_.a.join("|"),")(-inverse)?$")),I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(u,e);var t,n,a,l=P(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,a=n.children,o=R(n,["children"]),l="onClick"in o||a&&"a"===a.type,s=Object(i.a)(o,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(C.a,null,r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())):r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())},Object(w.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return t=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(n=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return O({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,a=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",a);return o()(u,(x(t={},"".concat(u,"-").concat(l),c),x(t,"".concat(u,"-has-color"),l&&!c),x(t,"".concat(u,"-hidden"),!s),t),i)}},{key:"setVisible",value:function(e,t){var n=this.props,r=n.onClose,a=n.afterClose;r&&r(t),a&&!r&&a(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&A.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderTag)}}])&&N(t.prototype,n),a&&N(t,a),u}(r.Component);I.CheckableTag=E,I.defaultProps={closable:!1},Object(l.polyfill)(I);t.default=I},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),a="undefined"==typeof window?t:window,o=["moz","webkit"],i="AnimationFrame",l=a["request"+i],s=a["cancel"+i]||a["cancelRequest"+i],c=0;!l&&c<o.length;c++)l=a[o[c]+"Request"+i],s=a[o[c]+"Cancel"+i]||a[o[c]+"CancelRequest"+i];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(a,e)},e.exports.cancel=function(){s.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},oYoh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("VXEj")),a=h(n("NJEC")),o=h(n("2/Rp")),i=h(n("NUBc")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV");var s=n("q1tI"),c=h(s),u=n("eO8H"),f=h(n("vDqi")),p=n("sYIF"),d=h(n("LZ3y")),m=h(n("bjH3"));function h(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getChildrenJournals=function(e,t){var r=n.props,a=r.order_id,o=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||a)+"/journals/"+(t||o)+"/get_children_journals.json";f.default.get(c,{params:{page:l,limit:s}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.deleteorder=function(e){var t=n.props.order_id,r="/issues/"+t+"/journals/"+e+".json";f.default.delete(r,{data:{issue_id:t,id:e}}).then((function(e){e&&n.getChildrenJournals()})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.state.page=e,n.state.isSpin=!0,n.getChildrenJournals()},n.commentCtx=function(e){return c.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return c.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},c.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.renderList=function(e){var t=n.props.current_user;return c.default.createElement("div",{className:"width100"},c.default.createElement("div",{className:"grid-item pb5"},c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link color-black ml10 fwb"},e&&e.user_name)),c.default.createElement("div",{className:"ml40"},n.commentCtx(e.content),e&&e.attachments&&e.attachments.length>0?c.default.createElement(d.default,{attachments:e.attachments,showNotification:n.props.showNotification,canDelete:t&&(t.admin||t.login===e.user_login)}):"",c.default.createElement("div",{className:"mt5"},c.default.createElement("span",{className:"color-grey-8"},e.created_at),c.default.createElement("span",{className:"ml20"},t&&(t.admin||t.login===e.user_login)?c.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return n.deleteorder(e.id)}},c.default.createElement(o.default,{type:"link"},c.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),c.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):""))))},n.state={journalsdata:void 0,limit:10,page:1,journal_spin:!1,search_count:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.getChildrenJournals()}},{key:"componentDidUpdate",value:function(e,t){this.props.children_comment_id&&e.children_comment_id!==this.props.children_comment_id&&this.getChildrenJournals()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,a=t.search_count,o=t.isSpin;return c.default.createElement("div",null,a>0&&c.default.createElement("div",{className:"children-comment-bg mt10"},c.default.createElement(r.default,{size:"large",loading:o,dataSource:n.issue_journals,renderItem:function(t){return c.default.createElement(r.default.Item,null,e.renderList(t))}}),this.Paginations()))}}]),t}(s.Component);t.default=v},qPyV:function(e,t,n){var r=n("ut/Y"),a=n("LGYb");e.exports=function(e,t){return e&&e.length?a(e,r(t,2)):[]}},u3En:function(e,t,n){},"vN+2":function(e,t){e.exports=function(){}},vg9a:function(e,t,n){},vhIH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(n("5rEg")),o=d(n("2/Rp")),i=d(n("2fM7")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("1vPl"),n("L/Qf"),n("8QGh");var c=n("q1tI"),u=d(c),f=d(n("vDqi"));n("6JOy"),n("js5m");var p=d(n("QCvN"));d(n("Fyak"));function d(e){return e&&e.__esModule?e:{default:e}}i.default.Option;var m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getmergelist()},n.getmergelist=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.mergeId,a="/"+e.owner+"/"+t+"/pulls/"+r+"/edit.json";f.default.get(a).then((function(e){e?n.setState({isSpin:!1,data:e.data,pull:e.data.head,merge:e.data.base}):n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.state={data:void 0,merge:void 0,pull:void 0,isSpin:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this.state,t=e.data,n=e.isSpin,s=e.pull,c=e.merge;return u.default.createElement("div",null,u.default.createElement("div",{className:"main"},u.default.createElement(r.default,{spinning:n}," ",t?u.default.createElement("div",null,u.default.createElement("div",{className:"merge-header width100 inline-block"},u.default.createElement("div",{className:"width45 pull-left"},u.default.createElement("div",{className:"color-grey-3 mb10 fwb"},"源分支:"),u.default.createElement(a.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(o.default,{className:"merge-header-button maxW50 hide-1 task-hide"},t.is_original?t.fork_project_user_name+"/"+t.fork_project_identifier:t.project_author+"/"+t.project_name),u.default.createElement(i.default,{defaultValue:t.is_original?t.fork_project_user+":"+s:""+s,className:"minW50 merge-flex1",disabled:!0})," ")," ")," ",u.default.createElement("div",{className:"width10 pull-left text-center mt25"},u.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-32"})," ")," ",u.default.createElement("div",{className:"width45 pull-left"},u.default.createElement("div",null,u.default.createElement("div",{className:"color-grey-3 mb10 fwb"}," 目标分支 : ")," ",u.default.createElement(a.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(o.default,{className:"merge-header-button maxW50 hide-1 task-hide"},t.project_author+"/"+t.project_name),u.default.createElement(i.default,{defaultValue:t.is_original?t.project_login+":"+c:""+c,className:"minW50 merge-flex1",disabled:!0})," ")," ")," ")," "),u.default.createElement(p.default,l({},this.props,{merge_type:"edit",data:t,merge:c,pull:s}))," "):"")))}}]),t}(c.Component);t.default=m},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,a=Object.freeze,o=Object.seal,i=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),a||(a=function(e){return e}),o||(o=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=S(Array.prototype.forEach),f=S(Array.prototype.indexOf),p=S(Array.prototype.join),d=S(Array.prototype.pop),m=S(Array.prototype.push),h=S(Array.prototype.slice),v=S(String.prototype.toLowerCase),y=S(String.prototype.match),g=S(String.prototype.replace),b=S(String.prototype.indexOf),E=S(String.prototype.trim),_=S(RegExp.prototype.test),w=x(RegExp),C=x(TypeError);function S(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return s(e,t,r)}}function x(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function O(e,r){t&&t(e,null);for(var a=r.length;a--;){var o=r[a];if("string"==typeof o){var i=v(o);i!==o&&(n(r)||(r[a]=i),o=i)}e[o]=!0}return e}function N(t){var n=i(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var k=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),j=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),R=a(["#text"]),A=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),I=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),D=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),M=o(/\{\{[\s\S]*|[\s\S]*\}\}/gm),F=o(/<%[\s\S]*|[\s\S]*%>/gm),U=o(/^data-[\-\w.\u00B7-\uFFFF]/),B=o(/^aria-[\-\w]+$/),z=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=o(/^(?:\w+script|data):/i),K=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function V(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var q=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":W(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var o=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,S=t.Node,x=t.NodeFilter,Q=t.NamedNodeMap,Y=void 0===Q?t.NamedNodeMap||t.MozNamedAttrMap:Q,J=t.Text,X=t.Comment,Z=t.DOMParser,$=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=G($,o),ne=te&&De?te.createHTML(""):"",re=l,ae=re.implementation,oe=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=o.importNode,ce=N(l).documentMode?l.documentMode:{},ue={};n.isSupported=ae&&void 0!==ae.createHTMLDocument&&9!==ce;var fe=M,pe=F,de=U,me=B,he=H,ve=K,ye=z,ge=null,be=O({},[].concat(V(k),V(P),V(j),V(T),V(R))),Ee=null,_e=O({},[].concat(V(A),V(I),V(D),V(L))),we=null,Ce=null,Se=!0,xe=!0,Oe=!1,Ne=!1,ke=!1,Pe=!1,je=!1,Te=!1,Re=!1,Ae=!1,Ie=!1,De=!1,Le=!0,Me=!0,Fe=!1,Ue={},Be=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),ze=null,He=O({},["audio","video","img","source","image","track"]),Ke=null,We=O({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ve=null,qe=l.createElement("form"),Ge=function(e){Ve&&Ve===e||(e&&"object"===(void 0===e?"undefined":W(e))||(e={}),e=N(e),ge="ALLOWED_TAGS"in e?O({},e.ALLOWED_TAGS):be,Ee="ALLOWED_ATTR"in e?O({},e.ALLOWED_ATTR):_e,Ke="ADD_URI_SAFE_ATTR"in e?O(N(We),e.ADD_URI_SAFE_ATTR):We,ze="ADD_DATA_URI_TAGS"in e?O(N(He),e.ADD_DATA_URI_TAGS):He,we="FORBID_TAGS"in e?O({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?O({},e.FORBID_ATTR):{},Ue="USE_PROFILES"in e&&e.USE_PROFILES,Se=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_DOM_IMPORT||!1,De=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Le=!1!==e.SANITIZE_DOM,Me=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,ke&&(xe=!1),Ae&&(Re=!0),Ue&&(ge=O({},[].concat(V(R))),Ee=[],!0===Ue.html&&(O(ge,k),O(Ee,A)),!0===Ue.svg&&(O(ge,P),O(Ee,I),O(Ee,L)),!0===Ue.svgFilters&&(O(ge,j),O(Ee,I),O(Ee,L)),!0===Ue.mathMl&&(O(ge,T),O(Ee,D),O(Ee,L))),e.ADD_TAGS&&(ge===be&&(ge=N(ge)),O(ge,e.ADD_TAGS)),e.ADD_ATTR&&(Ee===_e&&(Ee=N(Ee)),O(Ee,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&O(Ke,e.ADD_URI_SAFE_ATTR),Me&&(ge["#text"]=!0),Pe&&O(ge,["html","head","body"]),ge.table&&(O(ge,["tbody"]),delete we.tbody),a&&a(e),Ve=e)},Qe=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ye=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(Te)e="<remove></remove>"+e;else{var r=y(e,/^[\r\n\t ]+/);n=r&&r[0]}var a=te?te.createHTML(e):e;try{t=(new Z).parseFromString(a,"text/html")}catch(e){}if(i&&O(we,["title"]),!t||!t.documentElement){var o=(t=ae.createHTMLDocument("")).body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=a}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ie.call(t,Pe?"html":"body")[0]};n.isSupported&&function(){try{var e=Je("<x/><title></title><img>");_(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return oe.call(e.ownerDocument||e,e,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT,(function(){return x.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof J||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Y&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===S?"undefined":W(S))?e instanceof S:e&&"object"===(void 0===e?"undefined":W(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,Ve)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ze(e))return Qe(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return Qe(e),!0;var r=v(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Qe(e),!0;if(!ge[r]||we[r]){if(Me&&!Be[r]&&"function"==typeof e.insertAdjacentHTML)try{var a=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(a):a)}catch(e){}return Qe(e),!0}return"noscript"===r&&_(/<\/noscript/i,e.innerHTML)||"noembed"===r&&_(/<\/noembed/i,e.innerHTML)?(Qe(e),!0):(!Ne||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!_(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=g(e.innerHTML,/</g,"<"):e.innerHTML=g(e.textContent,/</g,"<")),ke&&3===e.nodeType&&(t=e.textContent,t=g(t,fe," "),t=g(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(Le&&("id"===t||"name"===t)&&(n in l||n in qe))return!1;if(xe&&_(de,t));else if(Se&&_(me,t));else{if(!Ee[t]||Ce[t])return!1;if(Ke[t]);else if(_(ye,g(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!ze[e])if(Oe&&!_(he,g(n,ve,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,a=void 0,o=void 0,i=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee};for(l=s.length;l--;){var u=t=s[l],m=u.name,y=u.namespaceURI;if(a=E(t.value),o=v(m),c.attrName=o,c.attrValue=a,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),a=c.attrValue,!c.forceKeepAttr){if("name"===o&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ye("id",e),Ye(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===o&&"file"===a&&c.keepAttr&&(Ee[o]||!Ce[o]))continue;"id"===m&&e.setAttribute(m,""),Ye(m,e)}if(c.keepAttr)if(Ne&&_(/\/>/i,a))Ye(m,e);else if(_(/svg|math/i,e.namespaceURI)&&_(w("</("+p(r(Be),"|")+")","i"),a))Ye(m,e);else{ke&&(a=g(a,fe," "),a=g(a,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,o,a))try{y?e.setAttributeNS(y,m,a):e.setAttribute(m,a),d(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},at=function e(t){var n=void 0,r=Xe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var a=void 0,i=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!$e(e)){if("function"!=typeof e.toString)throw C("toString is not a function");if("string"!=typeof(e=e.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===W(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if($e(e))return t.toStaticHTML(e.outerHTML)}return e}if(je||Ge(r),n.removed=[],"string"==typeof e&&(Fe=!1),Fe);else if(e instanceof S)1===(i=(a=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?a=i:a.appendChild(i);else{if(!Re&&!ke&&!Pe&&-1===e.indexOf("<"))return te&&De?te.createHTML(e):e;if(!(a=Je(e)))return Re?null:ne}a&&Te&&Qe(a.firstChild);for(var f=Xe(Fe?e:a);l=f.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&at(l.content),rt(l),c=l);if(c=null,Fe)return e;if(Re){if(Ae)for(u=le.call(a.ownerDocument);a.firstChild;)u.appendChild(a.firstChild);else u=a;return Ie&&(u=se.call(o,u,!0)),u}var p=Pe?a.outerHTML:a.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&De?te.createHTML(p):p},n.setConfig=function(e){Ge(e),je=!0},n.clearConfig=function(){Ve=null,je=!1},n.isValidAttribute=function(e,t,n){Ve||Ge({});var r=v(e),a=v(t);return nt(r,a,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&d(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()}}]); \ No newline at end of file +/*! For license information please see 35.f6d4c52a.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[35,9,11,23],{"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"13Tz":function(e,t,n){},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"6JOy":function(e,t,n){},"74dF":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("D8SU"),n("TfFZ")},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("VCL8"),i=n("QbLZ"),l=n.n(i),s=n("iCc5"),c=n.n(s),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),m=n("mRg0"),h=n.n(m),v=n("17x9"),y=n.n(v),g=n("YEIV"),b=n.n(g),E=n("TSYQ"),_=n.n(E);function w(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function C(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(function(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),w(t));e.onSuccess(w(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var a in null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),r)r.hasOwnProperty(a)&&null!==r[a]&&t.setRequestHeader(a,r[a]);return t.send(n),{abort:function(){t.abort()}}}var S=+new Date,x=0;function O(){return"rc-upload-"+S+"-"+ ++x}var N=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",o=a.replace(/\/.*$/,"");return n.some((function(e){var t,n,i=e.trim();return"."===i.charAt(0)?(t=r.toLowerCase(),n=i.toLowerCase(),-1!==t.indexOf(n,t.length-n.length)):/\/\*$/.test(i)?o===i.replace(/\/.*$/,""):a===i}))}return!0};var k=function(e,t,n){var r=function e(r,a){a=a||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var a=Array.prototype.slice.apply(n);r=r.concat(a),!a.length?t(r):e()}))}()}(r,(function(t){t.forEach((function(t){e(t,""+a+r.name+"/")}))}))},a=!0,o=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){r(l.value.webkitGetAsEntry())}}catch(e){o=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(o)throw i}}},P=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uid:O()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(){var e=r.fileInput;e&&e.click()},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)k(e.dataTransfer.items,r.uploadFiles,(function(e){return N(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return N(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=O(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var a=r.beforeUpload(e,t);a&&a.then?a.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)})).catch((function(e){console&&console.log(e)})):!1!==a&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.data,a=n.onStart,o=n.onProgress,i=n.transformFile,l=void 0===i?function(e){return e}:i;new Promise((function(t){var r=n.action;if("function"==typeof r)return t(r(e));t(r)})).then((function(i){var s=e.uid,c=n.customRequest||C;Promise.resolve(l(e)).catch((function(e){console.error(e)})).then((function(l){"function"==typeof r&&(r=r(e));var u={action:i,filename:n.name,data:r,file:l,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:o?function(t){o(t,e)}:null,onSuccess:function(r,a){delete t.reqs[s],n.onSuccess(r,e,a)},onError:function(r,a){delete t.reqs[s],n.onError(r,a,e)}};t.reqs[s]=c(u),a(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:O()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,o=t.className,i=t.disabled,s=t.id,c=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,m=t.openFileDialogOnClick,h=_()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,o,o),e)),v=i?{}:{onClick:m?this.onClick:function(){},onKeyDown:m?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(n,l()({},v,{className:h,role:"button",style:c}),a.a.createElement("input",{id:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:f,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:u,onChange:this.onChange}),p)}}]),t}(r.Component);P.propTypes={id:y.a.string,component:y.a.string,style:y.a.object,prefixCls:y.a.string,className:y.a.string,multiple:y.a.bool,directory:y.a.bool,disabled:y.a.bool,accept:y.a.string,children:y.a.any,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),headers:y.a.object,beforeUpload:y.a.func,customRequest:y.a.func,onProgress:y.a.func,withCredentials:y.a.bool,openFileDialogOnClick:y.a.bool,transformFile:y.a.func};var j=P,T=n("i8i4"),R=n.n(T),A=n("2W6z"),I=n.n(A),D={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},L=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uploading:!1},r.file={},r.onLoad=function(){if(r.state.uploading){var e=r,t=e.props,n=e.file,a=void 0;try{var o=r.getIframeDocument(),i=o.getElementsByTagName("script")[0];i&&i.parentNode===o.body&&o.body.removeChild(i),a=o.body.innerHTML,t.onSuccess(a,n)}catch(e){I()(!1,"cross domain error for Upload. Maybe server should return document.domain script. see Note from https://github.com/react-component/upload"),a="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:O(),name:e.value&&e.value.substring(e.value.lastIndexOf("\\")+1,e.value.length)};r.startUpload();var n=r.props;if(!n.beforeUpload)return r.post(t);var a=n.beforeUpload(t);a&&a.then?a.then((function(){r.post(t)}),(function(){r.endUpload()})):!1!==a?r.post(t):r.endUpload()},r.saveIframe=function(e){r.iframe=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.updateIframeWH(),this.initIframe()}},{key:"componentDidUpdate",value:function(){this.updateIframeWH()}},{key:"getIframeNode",value:function(){return this.iframe}},{key:"getIframeDocument",value:function(){return this.getIframeNode().contentDocument}},{key:"getFormNode",value:function(){return this.getIframeDocument().getElementById("form")}},{key:"getFormInputNode",value:function(){return this.getIframeDocument().getElementById("input")}},{key:"getFormDataNode",value:function(){return this.getIframeDocument().getElementById("data")}},{key:"getFileForMultiple",value:function(e){return this.props.multiple?[e]:e}},{key:"getIframeHTML",value:function(e){var t="",n="";if(e){t='<script>document.domain="'+e+'";<\/script>',n='<input name="_documentDomain" value="'+e+'" />'}return'\n <!DOCTYPE html>\n <html>\n <head>\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n <style>\n body,html {padding:0;margin:0;border:0;overflow:hidden;}\n </style>\n '+t+'\n </head>\n <body>\n <form method="post"\n encType="multipart/form-data"\n action="" id="form"\n style="display:block;height:9999px;position:relative;overflow:hidden;">\n <input id="input" type="file"\n name="'+this.props.name+'"\n style="position:absolute;top:0;right:0;height:9999px;font-size:9999px;cursor:pointer;"/>\n '+n+'\n <span id="data"></span>\n </form>\n </body>\n </html>\n '}},{key:"initIframeSrc",value:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")}},{key:"initIframe",value:function(){var e=this.getIframeNode(),t=e.contentWindow,n=void 0;this.domain=this.domain||"",this.initIframeSrc();try{n=t.document}catch(r){this.domain=document.domain,this.initIframeSrc(),n=(t=e.contentWindow).document}n.open("text/html","replace"),n.write(this.getIframeHTML(this.domain)),n.close(),this.getFormInputNode().onchange=this.onChange}},{key:"endUpload",value:function(){this.state.uploading&&(this.file={},this.state.uploading=!1,this.setState({uploading:!1}),this.initIframe())}},{key:"startUpload",value:function(){this.state.uploading||(this.state.uploading=!0,this.setState({uploading:!0}))}},{key:"updateIframeWH",value:function(){var e=R.a.findDOMNode(this),t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"}},{key:"abort",value:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()}},{key:"post",value:function(e){var t=this,n=this.getFormNode(),r=this.getFormDataNode(),a=this.props.data,o=this.props.onStart;"function"==typeof a&&(a=a(e));var i=document.createDocumentFragment();for(var l in a)if(a.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=a[l],i.appendChild(s)}r.appendChild(i),new Promise((function(n){var r=t.props.action;if("function"==typeof r)return n(r(e));n(r)})).then((function(t){n.setAttribute("action",t),n.submit(),r.innerHTML="",o(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,o=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},D,{display:this.state.uploading||r?"none":""}),f=_()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,o,o),e));return a.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},c)},a.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),s)}}]),t}(r.Component);L.propTypes={component:y.a.string,style:y.a.object,disabled:y.a.bool,prefixCls:y.a.string,className:y.a.string,accept:y.a.string,onStart:y.a.func,multiple:y.a.bool,children:y.a.any,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string};var M=L;function F(){}var U=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={Component:null},r.saveUploader=function(e){r.uploader=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.supportServerRender&&this.setState({Component:this.getComponent()},this.props.onReady)}},{key:"getComponent",value:function(){return"undefined"!=typeof File?j:M}},{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){if(this.props.supportServerRender){var e=this.state.Component;return e?a.a.createElement(e,l()({},this.props,{ref:this.saveUploader})):null}var t=this.getComponent();return a.a.createElement(t,l()({},this.props,{ref:this.saveUploader}))}}]),t}(r.Component);U.propTypes={component:y.a.string,style:y.a.object,prefixCls:y.a.string,action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string,multipart:y.a.bool,directory:y.a.bool,onError:y.a.func,onSuccess:y.a.func,onProgress:y.a.func,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),headers:y.a.object,accept:y.a.string,multiple:y.a.bool,disabled:y.a.bool,beforeUpload:y.a.func,customRequest:y.a.func,onReady:y.a.func,withCredentials:y.a.bool,supportServerRender:y.a.bool,openFileDialogOnClick:y.a.bool},U.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:F,onStart:F,onError:F,onSuccess:F,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var B=U,z=n("qPyV"),H=n.n(z),K=n("UfWW"),W=n.n(K),V=n("MFj2");function q(){return(q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function G(e){return q(q({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Q(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Y=function(e){return!!e&&0===e.indexOf("image/")},J=function(e){if(Y(e.type))return!0;var t=e.thumbUrl||e.url,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n};var X=n("CtXQ"),Z=n("3S7+"),$=n("CFYs"),ee=n("H84U");function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var a=ce(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}(i,e);var t,n,a,o=le(i);function i(){var e;return ae(this,i),(e=o.apply(this,arguments)).handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e.handleDownload=function(t){var n=e.props.onDownload;"function"==typeof n?n(t):t.url&&window.open(t.url)},e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.renderUploadList=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.items,s=void 0===l?[]:l,c=o.listType,u=o.showPreviewIcon,f=o.showRemoveIcon,p=o.showDownloadIcon,d=o.locale,m=o.progressAttr,h=a("upload",i),v=s.map((function(t){var n,a,o,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===c||"picture-card"===c)if("picture-card"===c&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(h,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=J(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(h,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(h,"-list-item-thumbnail"),onClick:function(n){return e.handlePreview(t,n)},href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},l)}else i=r.createElement(X.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement($.default,re({type:"line"},m,{percent:t.percent})):null;o=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var v,y=_()((ne(n={},"".concat(h,"-list-item"),!0),ne(n,"".concat(h,"-list-item-").concat(t.status),!0),ne(n,"".concat(h,"-list-item-list-type-").concat(c),!0),n)),g="string"==typeof t.linkProps?JSON.parse(t.linkProps):t.linkProps,b=f?r.createElement(X.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,E=p&&"done"===t.status?r.createElement(X.default,{type:"download",title:d.downloadFile,onClick:function(){return e.handleDownload(t)}}):null,w="picture-card"!==c&&r.createElement("span",{key:"download-delete",className:"".concat(h,"-list-item-card-actions ").concat("picture"===c?"picture":"")},E&&r.createElement("a",{title:d.downloadFile},E),b&&r.createElement("a",{title:d.removeFile},b)),C=_()((ne(a={},"".concat(h,"-list-item-name"),!0),ne(a,"".concat(h,"-list-item-name-icon-count-").concat([E,b].filter((function(e){return e})).length),!0),a)),S=t.url?[r.createElement("a",re({key:"view",target:"_blank",rel:"noopener noreferrer",className:C,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),w]:[r.createElement("span",{key:"view",className:C,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),w],x=u?r.createElement("a",{href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:t.url||t.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(n){return e.handlePreview(t,n)},title:d.previewFile},r.createElement(X.default,{type:"eye-o"})):null,O="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},x,"done"===t.status&&E,b);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var N=r.createElement("span",null,i,S),k=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(h,"-list-item-info")},N),O,r.createElement(V.a,{transitionName:"fade",component:""},o)),P=_()(ne({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(Z.default,{title:v},k):r.createElement("span",null,k))})),y=_()((ne(n={},"".concat(h,"-list"),!0),ne(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(V.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:y},v)},e}return t=i,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.listType,r=t.items,a=t.previewFile;"picture"!==n&&"picture-card"!==n||(r||[]).forEach((function(t){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",a&&a(t.originFileObj).then((function(n){t.thumbUrl=n||"",e.forceUpdate()})))}))}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUploadList)}}])&&oe(t.prototype,n),a&&oe(t,a),i}(r.Component);ue.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Y(e.type)){var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),a=new Image;a.onload=function(){var e=a.width,o=a.height,i=200,l=200,s=0,c=0;e<o?c=-((l=o*(200/e))-i)/2:s=-((i=e*(200/o))-l)/2,r.drawImage(a,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},a.src=window.URL.createObjectURL(e)}else t("")}))}};var fe=n("YMnH"),pe=n("ZvpZ"),de=n("6CfX");function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(){return(ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_e(e);if(t){var a=_e(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ee(this,n)}}function Ee(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var we=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(i,e);var t,n,a,o=be(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=G(e);r.status="uploading";var a=n.concat(),o=W()(a,(function(e){return e.uid===r.uid}));-1===o?a.push(r):a[o]=r,t.onChange({file:r,fileList:a}),window.File&&!Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).TEST_IE||t.autoUpdateProgress(0,r)},t.onSuccess=function(e,n,r){t.clearProgressTimer();try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var a=t.state.fileList,o=Q(n,a);o&&(o.status="done",o.response=e,o.xhr=r,t.onChange({file:ve({},o),fileList:a}))},t.onProgress=function(e,n){var r=t.state.fileList,a=Q(n,r);a&&(a.percent=e.percent,t.onChange({event:e,file:ve({},a),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var a=t.state.fileList,o=Q(r,a);o&&(o.error=e,o.response=n,o.status="error",t.onChange({file:ve({},o),fileList:a}))},t.handleRemove=function(e){var n=t.props.onRemove,r=t.state.fileList;Promise.resolve("function"==typeof n?n(e):n).then((function(n){if(!1!==n){var a=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,r);a&&(e.status="removed",t.upload&&t.upload.abort(e),t.onChange({file:e,fileList:a}))}}))},t.onChange=function(e){"fileList"in t.props||t.setState({fileList:e.fileList});var n=t.props.onChange;n&&n(e)},t.onFileDrop=function(e){t.setState({dragState:e.type})},t.beforeUpload=function(e,n){var r=t.props.beforeUpload,a=t.state.fileList;if(!r)return!0;var o=r(e,n);return!1===o?(t.onChange({file:e,fileList:H()(a.concat(n.map(G)),(function(e){return e.uid}))}),!1):!o||!o.then||o},t.renderUploadList=function(e){var n=t.props,a=n.showUploadList,o=n.listType,i=n.onPreview,l=n.onDownload,s=n.previewFile,c=n.disabled,u=n.locale,f=a.showRemoveIcon,p=a.showPreviewIcon,d=a.showDownloadIcon,m=t.state.fileList;return r.createElement(ue,{listType:o,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:ve(ve({},e),u)})},t.renderUpload=function(e){var n,a=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.className,s=o.showUploadList,c=o.listType,u=o.type,f=o.disabled,p=o.children,d=o.style,m=t.state,h=m.fileList,v=m.dragState,y=a("upload",i),g=ve(ve({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete g.className,delete g.style,p&&!f||delete g.id;var b=s?r.createElement(fe.a,{componentName:"Upload",defaultLocale:pe.a.Upload},t.renderUploadList):null;if("drag"===u){var E,w=_()(y,(he(E={},"".concat(y,"-drag"),!0),he(E,"".concat(y,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),he(E,"".concat(y,"-drag-hover"),"dragover"===v),he(E,"".concat(y,"-disabled"),f),E),l);return r.createElement("span",null,r.createElement("div",{className:w,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(B,ve({},g,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),b)}var C=_()(y,(he(n={},"".concat(y,"-select"),!0),he(n,"".concat(y,"-select-").concat(c),!0),he(n,"".concat(y,"-disabled"),f),n)),S=r.createElement("div",{className:C,style:p?void 0:{display:"none"}},r.createElement(B,ve({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:_()(l,"".concat(y,"-picture-card-wrapper"))},b,S):r.createElement("span",{className:l},S,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(de.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return t=i,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(n=[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"autoUpdateProgress",value:function(e,t){var n,r=this,a=(n=.1,function(e){var t=e;return t>=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),o=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){o=a(o),r.onProgress({percent:100*o},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&ye(t.prototype,n),a&&ye(t,a),i}(r.Component);we.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(o.polyfill)(we);var Ce=we;function Se(e){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return je(this,n)}}function je(e,t){return!t||"object"!==Se(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Ae=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.style,n=e.height,a=Re(e,["style","height"]);return r.createElement(Ce,xe({},a,{type:"drag",style:xe(xe({},t),{height:n})}))}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Ce.Dragger=Ae;t.default=Ce},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),a=n("spEH"),o=c(n("Rs/d")),i=n("PhNK"),l=n("sYIF"),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.commits,n=e.projectsId,c=e.owner;return r.default.createElement("div",{className:"pb20"},t.map((function(e,t){return r.default.createElement("div",{className:"prCommits"},r.default.createElement("p",{className:"prCreate"},e.created_at),r.default.createElement("div",{className:"prInfo"},r.default.createElement(a.FlexAJ,null,r.default.createElement(a.AlignCenter,null,r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(""+e.sha),className:"commitKey",style:{marginLeft:0}},(0,i.truncateCommitId)(""+e.sha)),r.default.createElement("p",{className:"ml15 font-16 color-grey-3 task-hide",style:{maxWidth:"700px"}},e.message)),r.default.createElement(s.Link,{to:"/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(a.AlignCenter,{className:"mt15"},r.default.createElement(o.default,{url:(0,l.getImageUrl)("/"+(e.committer&&e.committer.image_url)),name:""+(e.committer&&e.committer.name)}),r.default.createElement("span",null,":提交于",e.time_from_now))))})))}},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("CtXQ")),a=p(n("2/Rp")),o=p(n("8z0m")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("2oDE"),n("L/Qf"),n("7W5+");var s=n("q1tI"),c=p(s),u=n("sYIF"),f=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Dragger,m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.checkInitFile()},n.componentDidUpdate=function(e){e&&e.fileList!==n.props.fileList&&n.checkInitFile()},n.checkInitFile=function(){var e=n.props.fileList;e&&e.length>0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";f.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&(e.response.id||e.response.data&&e.response.data.id))})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024<t;return r||n.props.showNotification("文件大小必须小于"+t+"MB!"),r},n.state={fileList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,l=e.btn,s=e.className,f=e.size,p=e.actionUrl,m=this.state.fileList,h={name:"file",fileList:!0===t?m:void 0,action:p||""+(0,u.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return l?c.default.createElement(o.default,i({},h,{className:s}),c.default.createElement(a.default,{type:"default"},"上传文件"),c.default.createElement("span",{className:"ml10 color-grey-9"},"(你可以上传小于",c.default.createElement("span",{className:"color-red"},f,"MB"),"的文件)")):c.default.createElement(d,i({},h,{className:s}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-16 color-grey-3"},"拖动文件或点击此处上传"))}}]),t}(s.Component);t.default=m},CZoQ:function(e,t){e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},Fyak:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(n("ZTPi")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("AUBz");var l=n("q1tI"),s=d(l);n("6JOy"),n("js5m");var c=d(n("AubP")),u=d(n("dIAb")),f=d(n("aABL")),p=d(n("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}var m=a.default.TabPane,h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props,t=e.footer_type,r=e.data;if(t){var a=n.props.match.params,o=a.projectsId,i=a.owner,l=a.mergeId;n.getCommit(i,o,l),n.getFile(i,o,l)}n.setState({activeKey:t?"1":"2",commitCount:r&&r.commits_count,filesCount:r&&r.files_count})},n.componentDidUpdate=function(e){var t=n.props.comparesData,r=n.props.footer_type;if(r){var a=n.props.data;a!==e.data&&n.setState({commitCount:a&&a.commits_count,filesCount:a&&a.files_count})}t!==e.comparesData&&(n.setState({activeKey:r?"1":"2"}),n.changeTab(r?"1":"2"))},n.changeTab=function(e){n.setState({isSpin:!0}),n.setState({activeKey:e});var t=n.props,r=t.footer_type,a=t.comparesData,o=n.props.match.params,i=o.projectsId,l=o.owner,s=o.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,s):n.setState({isSpin:!1}):n.setState({commitsData:a.commits,filesData:a.diff,commitCount:a.commits_count,filesCount:a.diff&&a.diff.files_count,isSpin:!1})},n.getCommit=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/commits.json";p.default.get(a).then((function(e){e&&n.setState({commitsData:e.data.commits,isSpin:!1,commitCount:e.data.commits_count})})).catch((function(e){}))},n.getFile=function(e,t,r){var a="/"+e+"/"+t+"/pulls/"+r+"/files.json";p.default.get(a).then((function(e){e&&n.setState({filesData:e.data,isSpin:!1,filesCount:e.data.files_count})})).catch((function(e){}))},n.state={pageData:void 0,commitsData:void 0,filesData:void 0,isSpin:!1,activeKey:"1",commitCount:0,filesCount:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner,i=this.props,l=i.footer_type,p=i.order_id,d=i.data,h=i.comparesData,v=this.state,y=v.isSpin,g=v.activeKey,b=v.filesCount,E=v.commitCount,_=v.filesData,w=v.commitsData;return!l&&!h||h&&(h.commits&&0===h.commits.length||h&&!h.diff)?"":s.default.createElement("div",{className:"main mergeRequest",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:y},s.default.createElement(a.default,{activeKey:g,className:"custom-commit-tabs",animated:!1,onChange:this.changeTab},l&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"评论"),d&&parseInt(d.comments_count)>0&&s.default.createElement("span",{className:"tabNum"},d.comments_count)),key:"1"},s.default.createElement(u.default,o({order_id:p,showNotification:this.props.showNotification,only_show_content:!0},this.props))),w&&w.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"提交"),E>0&&s.default.createElement("span",{className:"tabNum"},E)),key:"2"},s.default.createElement(c.default,o({},this.props,{commits:w,projectsId:t,owner:n}))),_&&_.files&&_.files.length>0&&s.default.createElement(m,{tab:s.default.createElement("span",null,s.default.createElement("span",{className:"font-16"},"文件"),b>0&&s.default.createElement("span",{className:"tabNum"},b)),key:"3"},s.default.createElement(f.default,o({},this.props,{data:_,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}},LGYb:function(e,t,n){var r=n("1hJj"),a=n("jbM+"),o=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),s=n("rEGp");e.exports=function(e,t,n){var c=-1,u=a,f=e.length,p=!0,d=[],m=d;if(n)p=!1,u=o;else if(f>=200){var h=t?null:l(e);if(h)return s(h);p=!1,u=i,m=new r}else m=t?[]:d;e:for(;++c<f;){var v=e[c],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var g=m.length;g--;)if(m[g]===y)continue e;t&&m.push(y),d.push(v)}else u(m,y,n)||(m!==d&&m.push(y),d.push(v))}return d}},LXko:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("74dF"),n("vAZS"),n("04bd"),n("YQTV"),n("4t1q")},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),a=p(n("W9HT")),o=p(n("NJEC")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),s=p(l),c=n("eO8H"),u=p(n("vDqi")),f=p(n("UQ5L"));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){n.setState({canDelete:n.props.canDelete})},n.show_video_modal=function(e){n.setState({video_title:e.title,move_spin:!0,video_id:e.id}),n.move_attachment(e.id,"preview")},n.hide_video_modal=function(){var e=n.state.video_id;n.setState({video_title:void 0}),n.move_attachment(e,"close")},n.move_attachment=function(e,t){u.default.post("/attachments/"+e+"/preview_attachment",{status:t}).then((function(e){e?n.setState({show_video:"preview"===t,video_url:"preview"===t?"https://forgeplus.trustie.net"+e.data.url:void 0,move_spin:!1}):n.setState({move_spin:!1})})).catch((function(e){n.setState({move_spin:!1}),console.log(e)}))},n.is_video=function(e){return["mp4","flv","mkv","3gp"].indexOf(e.split(".").pop())>-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,i=t.canDelete,l=t.show_video,u=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return s.default.createElement("div",null,m?s.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return s.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},s.default.createElement(a.default,{spinning:d},e.is_video(t.title)?s.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)):s.default.createElement(c.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)),i?s.default.createElement(o.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},s.default.createElement("span",{className:"attachment-list-delete fr"},s.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?s.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},s.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("VCL8"),o=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(f,e);var t,n,a,i=h(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=i.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(y(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(y(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,n){var a=t.props,o=a.okButtonProps,i=a.cancelButtonProps,s=a.title,c=a.cancelText,u=a.okText,f=a.okType,d=a.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},d,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},o),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.placement,u=b(a,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(o.default,p({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return t=f,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(n=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var n=this.props;"visible"in n||this.setState({visible:e});var r=n.onVisibleChange;r&&r(e,t)}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderConfirm)}}])&&d(t.prototype,n),a&&d(t,a),f}(r.Component);E.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(a.polyfill)(E),t.default=E},OQrj:function(e,t,n){},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},QCvN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("W9HT")),a=v(n("2/Rp")),o=v(n("Vl3Y")),i=v(n("5rEg")),l=v(n("mr32")),s=v(n("BvKs")),c=v(n("2fM7")),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("L/Qf"),n("tULf"),n("1vPl"),n("0lcf"),n("2WkQ"),n("8QGh");var p=n("q1tI"),d=v(p),m=v(n("vDqi"));n("6JOy"),n("js5m");var h=v(n("p7gc"));function v(e){return e&&e.__esModule?e:{default:e}}var y=c.default.Option,g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.get_default_selects(),n.set_defatul()},n.componentDidUpdate=function(e){var t=n.props.match.params,r=t.projectsId,a=t.owner,o=e.match.params.projectsId,i=e.match.params.owner;o===r&&i===a||n.get_default_selects(),e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.get_default_selects=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner;n.setState({isSpin:!0}),m.default.get("/"+r+"/"+t+"/pulls/create_merge_infos.json").then((function(e){e&&n.setState({members:e.data.members,issue_tags:e.data.issue_tags,issue_versions:e.data.issue_versions,issue_priories:e.data.issue_priories}),n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.set_defatul=function(){var e=n.props,t=e.data,r=e.merge_type;t&&"edit"===r&&n.setState({desc:t.body,issue_tag_ids:t.issue_tag_ids?t.issue_tag_ids[0]:void 0,fixed_version_id:t.fixed_version_id?String(t.fixed_version_id):void 0,assigned_to_id:t.assigned_to_id?String(t.assigned_to_id):void 0,priority_id:t.priority_id?String(t.priority_id):void 0,title:t.title}),n.InitData()},n.InitData=function(){setTimeout((function(){n.props.form.setFieldsValue(u({},n.state))}),100)},n.onPanelChange=function(e,t){n.setState({value:e})},n.onSelect=function(e){n.setState({value:e,selectedValue:e})},n.renderMenu=function(e,t){return d.default.createElement(s.default,null,e&&e.length>0&&e.map((function(e,r){return d.default.createElement(s.default.Item,{key:e,onClick:function(){return n.getOption(e,t)}},e)})))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return d.default.createElement(y,{key:t+1,value:e.id+""},e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var r=n.props.match.params,a=r.projectsId,o=r.mergeId,i=r.owner,l=n.props,s=l.merge,c=l.pull,f=l.merge_type,p=l.data,d=l.commits_count,h=l.files_count;t.issue_tag_ids&&t.issue_tag_ids.length>0?t.issue_tag_ids=[parseInt(t.issue_tag_ids)]:t.issue_tag_ids=[];var v=n.state.desc;if("new"===f){var y="/"+i+"/"+a+"/pulls.json";m.default.post(y,u({},t,{body:v,head:c,base:s,is_original:p&&p.is_original,fork_project_id:p&&p.fork_project_id,merge_user_login:p&&p.merge_user_login,files_count:h,commits_count:d})).then((function(e){if(e){n.setState({isSpin:!1}),n.props.history.push("/"+i+"/"+a+"/pulls");var t=n.props.getDetail;t&&t()}else n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var g="/"+i+"/"+a+"/pulls/"+o+".json";m.default.put(g,u({},t,{body:v,head:c,base:s})).then((function(e){e?(n.setState({isSpin:!1}),n.props.history.push("/"+i+"/"+a+"/pulls/"+o+"/Messagecount")):n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}}))},n.onContentChange=function(e){n.setState({desc:e})},n.state={desc:void 0,issue_tag_ids:void 0,fixed_version_id:void 0,assigned_to_id:void 0,titledata:void 0,isSpin:!1,mergedata:void 0,priority_id:void 0,title:void 0,members:void 0,issue_tags:void 0,issue_versions:void 0,issue_priories:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),f(t,[{key:"render",value:function(){var e=this,t=this.props.merge_type,n=this.props.form.getFieldDecorator,s=this.props.match.params,u=s.projectsId,f=s.mergeId,p=s.owner,m=this.state,v=m.issue_tag_ids,g=m.fixed_version_id,b=m.assigned_to_id,E=m.priority_id,_=m.desc,w=m.isSpin,C=m.title,S=m.members,x=m.issue_tags,O=m.issue_versions,N=m.issue_priories;return d.default.createElement("div",null,d.default.createElement(r.default,{spinning:w},d.default.createElement("div",{className:"mb20"},d.default.createElement("span",{className:"font-16 fwb mr10 ver-middle"},"new"===t?"新建":"编辑","合并请求:"),d.default.createElement(l.default,{color:"#28BD6C",className:"ver-middle"},"可合并的")),d.default.createElement(o.default,null,d.default.createElement("div",{className:"width100 inline-block"},d.default.createElement("div",{className:"width70 pull-left"},d.default.createElement(o.default.Item,null,n("title",{rules:[{required:!0,message:"请填写请求标题"}],initialValue:C})(d.default.createElement(i.default,{placeholder:"标题",maxLength:50}))),d.default.createElement(h.default,{placeholder:"请输入合并请求的描述...",height:450,mdID:"merge-new-description",initValue:_,onChange:this.onContentChange}),d.default.createElement("p",{className:"clearfix mt20"},d.default.createElement(a.default,{type:"primary",loading:w,onClick:this.handleSubmit},d.default.createElement("span",{className:"plr10"},"new"===t?"创建":"提交")),d.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){e.props.history.push("new"===t?"/"+p+"/"+u+"/pulls":"/"+p+"/"+u+"/pulls/"+f+"/detail")}},d.default.createElement("span",{className:"plr10"},"取消")))),d.default.createElement("div",{className:"width30 pull-left"},d.default.createElement("div",{className:"pl30"},d.default.createElement(o.default.Item,null,n("assigned_to_id",{initialValue:b})(d.default.createElement(c.default,{placeholder:"未选择审查人员",showSearch:!0},d.default.createElement(y,{key:0,value:""},"未选择审查人员"),this.renderSelect(S)))),d.default.createElement(o.default.Item,null,n("fixed_version_id",{initialValue:g})(d.default.createElement(c.default,{placeholder:O&&O.length>0?"未选择里程碑":"请添加里程碑",showSearch:!0},d.default.createElement(y,{key:0,value:""},O&&O.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(O)))),d.default.createElement(o.default.Item,null,n("issue_tag_ids",{initialValue:v})(d.default.createElement(c.default,{placeholder:x&&x.length>0?"未选择标记":"请在仓库设置里添加标记",showSearch:!0},d.default.createElement(y,{key:0,value:""},x&&x.length>0?"未选择标记":"请在仓库设置里添加标记"),this.renderSelect(x)))),d.default.createElement(o.default.Item,null,n("priority_id",{initialValue:E})(d.default.createElement(c.default,{placeholder:"优先级",showSearch:!0},this.renderSelect(N))))))))))}}]),t}(p.Component),b=o.default.create({name:"NewMergeForm"})(g);t.default=b},"R/W3":function(e,t,n){var r=n("KwMD"),a=n("2ajD"),o=n("CZoQ");e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,a,n)}},R3zJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=function(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},a=r(["flex","webkitFlex","Flex","msFlex"]);t.a=r},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),i=c(n("q1tI")),l=c(n("vOnD")),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,a=e.id,c=e.login,u=l.default.span(o,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return a?i.default.createElement(s.Link,{to:"/"+c},i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))):i.default.createElement(u,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],a=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],o=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],i=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],f=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,a){if(n){var o={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(o),a.push.apply(a,o.decorations)}}var d=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&d.test(n.nodeValue)?e:t}return t===e?void 0:t}function h(e,t){var n,r={};!function(){for(var a=e.concat(t),o=[],i={},l=0,s=a.length;l<s;++l){var c=a[l],u=c[3];if(u)for(var f=u.length;--f>=0;)r[u.charAt(f)]=c;var p=c[1],d=""+p;i.hasOwnProperty(d)||(o.push(p),i[d]=null)}o.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,a=0,o=e.length;a<o;++a){if((p=e[a]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var i={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=i[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],a=["["];r&&a.push("^");for(var o=r?1:0,i=t.length;o<i;++o){var c=t[o];if(/\\[bdsw]/i.test(c))a.push(c);else{var u,f=l(c);o+2<i&&"-"===t[o+1]?(u=l(t[o+2]),o+=2):u=f,n.push([f,u]),u<65||f>122||(u<65||f>90||n.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||n.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],d=[];for(o=0;o<n.length;++o){(m=n[o])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(o=0;o<p.length;++o){var m=p[o];a.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&a.push("-"),a.push(s(m[1])))}return a.push("]"),a.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),a=r.length,o=[],i=0,l=0;i<a;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?o[u]=-1:r[i]=s(u))}}for(i=1;i<o.length;++i)-1===o[i]&&(o[i]=++t);for(i=0,l=0;i<a;++i){if("("===(f=r[i]))o[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+o[u])}}for(i=0;i<a;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<a;++i){var f,p=(f=r[i]).charAt(0);f.length>=2&&"["===p?r[i]=c(f):"\\"!==p&&(r[i]=f.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var f=[];for(a=0,o=e.length;a<o;++a){var p;if((p=e[a]).global||p.multiline)throw new Error(""+p);f.push("(?:"+u(p)+")")}return new RegExp(f.join("|"),r?"gi":"g")}(o)}();var a=t.length,o=function(e){for(var i=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,f=i.match(n)||[],d={},m=0,h=f.length;m<h;++m){var v,y=f[m],g=d[y],b=void 0;if("string"==typeof g)v=!1;else{var E=r[y.charAt(0)];if(E)b=y.match(E[1]),g=E[0];else{for(var w=0;w<a;++w)if(E=t[w],b=y.match(E[1])){g=E[0];break}b||(g="pln")}!(v=g.length>=5&&"lang-"===g.substring(0,5))||b&&"string"==typeof b[1]||(v=!1,g="src"),v||(d[y]=g)}var C=u;if(u+=y.length,v){var S=b[1],x=y.indexOf(S),O=x+S.length;b[2]&&(x=(O=y.length-b[2].length)-S.length);var N=g.substring(5);p(s,l+C,y.substring(0,x),o,c),p(s,l+C+x,S,_(N,S),c),p(s,l+C+O,y.substring(O),o,c)}else c.push(l+C,g)}e.decorations=c};return o}function v(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var a=e.regexLiterals;if(a){var o=a>1?"":"\n\r",i=o?".":"[\\S\\s]",l="/(?=[^/*"+o+"])(?:[^/\\x5B\\x5C"+o+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+o+"]|\\x5C"+i+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),h(t,n)}var y=v({keywords:[r,o,a,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,a=/\r\n?|\n/,o=e.ownerDocument,i=o.createElement("li");e.firstChild;)i.appendChild(e.firstChild);var l=[i];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var i=e.nodeValue,l=i.match(a);if(l){var u=i.substring(0,l.index);e.nodeValue=u;var f=i.substring(l.index+l[0].length);if(f)e.parentNode.insertBefore(o.createTextNode(f),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,a=t.parentNode;if(a){var o=e(a,1),i=t.nextSibling;o.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,o.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var f=o.createElement("ol");f.className="linenums";for(var p=Math.max(0,t-1|0)||0,d=(u=0,l.length);u<d;++u)(i=l[u]).className="L"+(u+p)%10,i.firstChild||i.appendChild(o.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function E(t,n){for(var r=n.length;--r>=0;){var a=n[r];b.hasOwnProperty(a)?e.console&&console.warn("cannot override language handler %s",a):b[a]=t}}function _(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function w(t){var n,r,a,o,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,a=/(?:^|\s)nocode(?:\s|$)/,o=[],i=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(a.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(o[s]="\n",l[s<<1]=i++,l[s++<<1|1]=t)}else if(3==n||4==n){var f=t.nodeValue;f.length&&(f=r?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),o[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:o.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,_(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,a=/\n/g,o=e.sourceCode,i=o.length,l=0,s=e.spans,c=s.length,u=0,f=e.decorations,p=f.length,d=0;for(f[p]=i,r=n=0;r<p;)f[r]!==f[r+2]?(f[n++]=f[r++],f[n++]=f[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=f[r],h=f[r+1],v=r+2;v+2<=p&&f[v+1]===h;)v+=2;f[n++]=m,f[n++]=h,r=v}p=f.length=n;var y=e.sourceNode,g="";y&&(g=y.style.display,y.style.display="none");try{for(;u<c;){s[u];var b,E=s[u+2]||i,_=f[d+2]||i,w=(v=Math.min(E,_),s[u+1]);if(1!==w.nodeType&&(b=o.substring(l,v))){t&&(b=b.replace(a,"\r")),w.nodeValue=b;var C=w.ownerDocument,S=C.createElement("span");S.className=f[d+1];var x=w.parentNode;x.replaceChild(S,w),S.appendChild(w),l<E&&(s[u+1]=w=C.createTextNode(o.substring(v,E)),x.insertBefore(w,S.nextSibling))}(l=v)>=E&&(u+=2),l>=_&&(d+=2)}}finally{y&&(y.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function C(e,t,n){var r=n||!1,a=t||null,o=document.createElement("div");return o.innerHTML="<pre>"+e+"</pre>",o=o.firstChild,r&&g(o,r,!0),w({langExtension:a,numberLines:r,sourceNode:o,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),o.innerHTML}function S(t,n){var r=n||document.body,a=r.ownerDocument||document;function o(e){return r.getElementsByTagName(e)}for(var i=[o("pre"),o("code"),o("xmp")],l=[],s=0;s<i.length;++s)for(var c=0,u=i[s].length;c<u;++c)l.push(i[s][c]);i=null;var f=Date;f.now||(f={now:function(){return+new Date}});var p=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,v=/\bprettyprinted\b/,y=/pre|xmp/i,b=/^code$/i,E=/^(?:pre|code|xmp)$/i,_={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var o=l[p],i=_,s=o;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){i={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){i[t]=n}));break}}var C=o.className;if((i!==_||h.test(C))&&!v.test(C)){for(var S=!1,x=o.parentNode;x;x=x.parentNode){var O=x.tagName;if(E.test(O)&&x.className&&h.test(x.className)){S=!0;break}}if(!S){o.className+=" prettyprinted";var N,k,P=i.lang;if(!P)!(P=C.match(d))&&(N=m(o))&&b.test(N.tagName)&&(P=N.className.match(d)),P&&(P=P[1]);if(y.test(o.tagName))k=1;else{var j=o.currentStyle,T=a.defaultView,R=j?j.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(o,null).getPropertyValue("white-space"):0;k=R&&"pre"===R.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=C.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(o,A,k),w({langExtension:P,sourceNode:o,numberLines:A,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}E(y,["default-code"]),E(h([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),E(h([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),E(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),E(v({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),E(v({keywords:"null,true,false"}),["json"]),E(v({keywords:o,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),E(v({keywords:a,cStyleComments:!0}),["java"]),E(v({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),E(v({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),E(v({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),E(v({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),E(v({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),E(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),E(h([],[["str",/^[\s\S]+/]]),["regex"]);var x=e.PR={createSimpleLexer:h,registerLangHandler:E,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:C,prettyPrint:S},O=e.define;"function"==typeof O&&O.amd&&O("google-code-prettify",[],(function(){return x}))}()},Sxd8:function(e,t,n){var r=n("ZCgT");e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},UQ5L:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n("q1tI"),o=l(a),i=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,a.useState)(null),n=r(t,2),l=n[0],s=n[1];return(0,a.useEffect)((function(){s(e.video_url)}),[]),o.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),a=n("ut/Y"),o=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:o(n);return s<0&&(s=i(l+s,0)),r(e,a(t,3),s)}},VPG4:function(e,t,n){},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return M}));var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),i=n.n(o),l=n("BGR+"),s=n("W9HT"),c=n("H84U"),u=n("NUBc"),f=n("qrJ5"),p=n("/kpp");function d(e){if(!r.isValidElement(e))return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return r.cloneElement.apply(r,[e].concat(n))}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var a=_(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function S(e,t){return e[t]&&Math.floor(24/e[t])}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(l,e);var t,n,a,o=b(l);function l(){var e;return v(this,l),(e=o.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,a=e.context,o=a.grid,l=a.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,v=s.className,y=C(s,["prefixCls","children","actions","extra","className"]),g=n("list",c),b=f&&f.length>0&&r.createElement("ul",{className:"".concat(g,"-item-action"),key:"actions"},f.map((function(e,t){return r.createElement("li",{key:"".concat(g,"-item-action-").concat(t)},e,t!==f.length-1&&r.createElement("em",{className:"".concat(g,"-item-action-split")}))}))),E=o?"div":"li",_=r.createElement(E,w({},y,{className:i()("".concat(g,"-item"),v,h({},"".concat(g,"-item-no-flex"),!e.isFlexMode()))}),"vertical"===l&&m?[r.createElement("div",{className:"".concat(g,"-item-main"),key:"content"},u,b),r.createElement("div",{className:"".concat(g,"-item-extra"),key:"extra"},m)]:[u,b,d(m,{key:"extra"})]);return o?r.createElement(p.a,{span:S(o,"column"),xs:S(o,"xs"),sm:S(o,"sm"),md:S(o,"md"),lg:S(o,"lg"),xl:S(o,"xl"),xxl:S(o,"xxl")},_):_},e}return t=l,(n=[{key:"isItemContainsTextNodeAndNotSingular",value:function(){var e,t=this.props.children;return r.Children.forEach(t,(function(t){"string"==typeof t&&(e=!0)})),e&&r.Children.count(t)>1}},{key:"isFlexMode",value:function(){var e=this.props.extra;return"vertical"===this.context.itemLayout?!!e:!this.isItemContainsTextNodeAndNotSingular()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderItem)}}])&&y(t.prototype,n),a&&y(t,a),l}(r.Component);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=D(e);if(t){var a=D(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==O(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}x.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,a=e.prefixCls,o=e.className,l=e.avatar,s=e.title,c=e.description,u=C(e,["prefixCls","className","avatar","title","description"]),f=n("list",a),p=i()("".concat(f,"-item-meta"),o),d=r.createElement("div",{className:"".concat(f,"-item-meta-content")},s&&r.createElement("h4",{className:"".concat(f,"-item-meta-title")},s),c&&r.createElement("div",{className:"".concat(f,"-item-meta-description")},c));return r.createElement("div",w({},u,{className:p}),l&&r.createElement("div",{className:"".concat(f,"-item-meta-avatar")},l),(s||c)&&d)}))},x.contextTypes={grid:a.any,itemLayout:a.string};var L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(p,e);var t,n,a,o=A(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=o.call(this,e)).defaultPaginationProps={current:1,total:0},t.keys={},t.onPaginationChange=t.triggerPaginationEvent("onChange"),t.onPaginationShowSizeChange=t.triggerPaginationEvent("onShowSizeChange"),t.renderItem=function(e,n){var r,a=t.props,o=a.renderItem,i=a.rowKey;return o?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,o(e,n)):null},t.renderEmpty=function(e,n){var a=t.props.locale;return r.createElement("div",{className:"".concat(e,"-empty-text")},a&&a.emptyText||n("List"))},t.renderList=function(e){var n,a=e.getPrefixCls,o=e.renderEmpty,c=t.state,p=c.paginationCurrent,d=c.paginationSize,m=t.props,h=m.prefixCls,v=m.bordered,y=m.split,g=m.className,b=m.children,E=m.itemLayout,_=m.loadMore,w=m.pagination,C=m.grid,S=m.dataSource,x=void 0===S?[]:S,O=m.size,k=m.header,T=m.footer,R=m.loading,A=L(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),I=a("list",h),D=R;"boolean"==typeof D&&(D={spinning:D});var M=D&&D.spinning,F="";switch(O){case"large":F="lg";break;case"small":F="sm"}var U=i()(I,g,(j(n={},"".concat(I,"-vertical"),"vertical"===E),j(n,"".concat(I,"-").concat(F),F),j(n,"".concat(I,"-split"),y),j(n,"".concat(I,"-bordered"),v),j(n,"".concat(I,"-loading"),M),j(n,"".concat(I,"-grid"),C),j(n,"".concat(I,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),B=P(P(P({},t.defaultPaginationProps),{total:x.length,current:p,pageSize:d}),w||{}),z=Math.ceil(B.total/B.pageSize);B.current>z&&(B.current=z);var H,K=w?r.createElement("div",{className:"".concat(I,"-pagination")},r.createElement(u.default,P({},B,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,W=N(x);if(w&&x.length>(B.current-1)*B.pageSize&&(W=N(x).splice((B.current-1)*B.pageSize,B.pageSize)),H=M&&r.createElement("div",{style:{minHeight:53}}),W.length>0){var V=W.map((function(e,n){return t.renderItem(e,n)})),q=[];r.Children.forEach(V,(function(e,n){q.push(r.cloneElement(e,{key:t.keys[n]}))})),H=C?r.createElement(f.a,{gutter:C.gutter},q):r.createElement("ul",{className:"".concat(I,"-items")},q)}else b||M||(H=t.renderEmpty(I,o));var G=B.position||"bottom";return r.createElement("div",P({className:U},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&K,k&&r.createElement("div",{className:"".concat(I,"-header")},k),r.createElement(s.default,D,H,b),T&&r.createElement("div",{className:"".concat(I,"-footer")},T),_||("bottom"===G||"both"===G)&&K)};var n=e.pagination,a=n&&"object"===O(n)?n:{};return t.state={paginationCurrent:a.defaultCurrent||1,paginationSize:a.defaultPageSize||10},t}return t=p,(n=[{key:"getChildContext",value:function(){return{grid:this.props.grid,itemLayout:this.props.itemLayout}}},{key:"triggerPaginationEvent",value:function(e){var t=this;return function(n,r){var a=t.props.pagination;t.setState({paginationCurrent:n,paginationSize:r}),a&&a[e]&&a[e](n,r)}}},{key:"isSomethingAfterLastItem",value:function(){var e=this.props,t=e.loadMore,n=e.pagination,r=e.footer;return!!(t||n||r)}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderList)}}])&&T(t.prototype,n),a&&T(t,a),p}(r.Component);M.Item=x,M.childContextTypes={grid:a.any,itemLayout:a.string},M.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},"Xt/L":function(e,t){e.exports=function(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}},ZCgT:function(e,t,n){var r=n("tLB3");e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return qe}));var r=n("q1tI"),a=n.n(r),o=n("i8i4"),i=n("QbLZ"),l=n.n(i),s=n("YEIV"),c=n.n(s),u=n("jo6Y"),f=n.n(u),p=n("iCc5"),d=n.n(p),m=n("V7oC"),h=n.n(m),v=n("FYw3"),y=n.n(v),g=n("mRg0"),b=n.n(g),E=n("17x9"),_=n.n(E),w=n("TSYQ"),C=n.n(w),S=n("n1GQ"),x=n.n(S),O=n("VCL8"),N=37,k=38,P=39,j=40;function T(e){var t=[];return a.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function R(e,t){for(var n=T(e),r=0;r<n.length;r++)if(n[r].key===t)return r;return-1}function A(e,t){e.transform=t,e.webkitTransform=t,e.mozTransform=t}function I(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function D(e){return"left"===e||"right"===e}function L(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function M(e){return Object.keys(e).reduce((function(t,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})}function F(e,t){return+e.getPropertyValue(t).replace("px","")}function U(e,t,n,r,a){var o=L(a,"padding-"+e);if(!r||!r.parentNode)return o;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(a){var i=window.getComputedStyle(a);return a!==r?(o+=F(i,"margin-"+e),o+=a[t],o+=F(i,"margin-"+n),"content-box"===i.boxSizing&&(o+=F(i,"border-"+e+"-width")+F(i,"border-"+n+"-width")),!1):(o+=F(i,"margin-"+e),!0)})),o}var B=n("4IlW"),z=n("foW8"),H=n.n(z)()({}),K=H.Provider,W=H.Consumer,V={width:0,height:0,overflow:"hidden",position:"absolute"},q=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.onKeyDown=function(e){var t=e.target,n=e.which,a=e.shiftKey,o=r.props,i=o.nextElement,l=o.prevElement;n===B.a.TAB&&document.activeElement===t&&(!a&&i&&i.focus(),a&&l&&l.focus())},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props.setRef;return a.a.createElement("div",{tabIndex:0,ref:e,style:V,onKeyDown:this.onKeyDown,role:"presentation"})}}]),t}(a.a.Component);q.propTypes={setRef:_.a.func,prevElement:_.a.object,nextElement:_.a.object};var G=q,Q=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e,t=this.props,n=t.id,r=t.className,o=t.destroyInactiveTabPane,i=t.active,s=t.forceRender,u=t.rootPrefixCls,p=t.style,d=t.children,m=t.placeholder,h=f()(t,["id","className","destroyInactiveTabPane","active","forceRender","rootPrefixCls","style","children","placeholder"]);this._isActived=this._isActived||i;var v=u+"-tabpane",y=C()((e={},c()(e,v,1),c()(e,v+"-inactive",!i),c()(e,v+"-active",i),c()(e,r,r),e)),g=(o?i:this._isActived)||s;return a.a.createElement(W,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,o=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=a.a.createElement(G,{setRef:o,prevElement:t}),u=a.a.createElement(G,{setRef:s,nextElement:r})),a.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:y,id:n},M(h)),c,g?d:m,u)}))}}]),t}(a.a.Component),Y=Q;function J(e){var t=void 0;return a.a.Children.forEach(e.children,(function(e){!e||t||e.props.disabled||(t=e.key)})),t}Q.propTypes={className:_.a.string,active:_.a.bool,style:_.a.any,destroyInactiveTabPane:_.a.bool,forceRender:_.a.bool,placeholder:_.a.node,rootPrefixCls:_.a.string,children:_.a.node,id:_.a.string},Q.defaultProps={placeholder:null};var X=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));Z.call(n);var r=void 0;return r="activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:J(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,x.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(x.a.cancel(this.sentinelId),this.sentinelId=x()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,o=t.tabBarPosition,i=t.className,s=t.renderTabContent,u=t.renderTabBar,p=t.destroyInactiveTabPane,d=t.direction,m=f()(t,["prefixCls","navWrapper","tabBarPosition","className","renderTabContent","renderTabBar","destroyInactiveTabPane","direction"]),h=C()((e={},c()(e,n,1),c()(e,n+"-"+o,1),c()(e,i,!!i),c()(e,n+"-rtl","rtl"===d),e));this.tabBar=u();var v=a.a.cloneElement(this.tabBar,{prefixCls:n,navWrapper:r,key:"tabBar",onKeyDown:this.onNavKeyDown,tabBarPosition:o,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),y=a.a.cloneElement(s(),{prefixCls:n,tabBarPosition:o,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=a.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=a.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),E=[];return"bottom"===o?E.push(g,y,b,v):E.push(v,g,y,b),a.a.createElement(K,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},a.a.createElement("div",l()({className:h,style:t.style},M(m),{onScroll:this.onScroll}),E))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"activeKey"in e?n.activeKey=e.activeKey:function(e,t){return a.a.Children.map(e.children,(function(e){return e&&e.key})).indexOf(t)>=0}(e,t.activeKey)||(n.activeKey=J(e)),Object.keys(n).length>0?n:null}}]),t}(a.a.Component),Z=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===P||n===j){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===N||n===k){t.preventDefault();var a=e.getNextActiveKey(!1);e.onTabClick(a)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];a.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var o=r.length,i=o&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===o-1?r[0].key:r[t+1].key)})),i}};X.propTypes={destroyInactiveTabPane:_.a.bool,renderTabBar:_.a.func.isRequired,renderTabContent:_.a.func.isRequired,navWrapper:_.a.func,onChange:_.a.func,children:_.a.node,prefixCls:_.a.string,className:_.a.string,tabBarPosition:_.a.string,style:_.a.object,activeKey:_.a.string,defaultActiveKey:_.a.string,direction:_.a.string},X.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},X.TabPane=Y,Object(O.polyfill)(X);var $=X,ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return a.a.Children.forEach(n,(function(n){if(n){var o=n.key,i=t===o;r.push(a.a.cloneElement(n,{active:i,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,o=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=C()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var v=R(o,i);if(-1!==v){var y=p?function(e,t){var n=D(t)?"marginTop":"marginLeft";return c()({},n,100*-e+"%")}(v,u):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=D(t)?"translateY":"translateX";return D(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(v,u,d),WebkitTransform:t,MozTransform:t};m=l()({},m,y)}else m=l()({},m,{display:"none"})}return a.a.createElement("div",{className:h,style:m},this.getTabPanes())}}]),t}(a.a.Component),te=ee;ee.propTypes={animated:_.a.bool,animatedWithMargin:_.a.bool,prefixCls:_.a.string,children:_.a.node,activeKey:_.a.string,style:_.a.any,tabBarPosition:_.a.string,className:_.a.string,destroyInactiveTabPane:_.a.bool,direction:_.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("BGR+");function ae(e,t){var n=e.props,r=n.styles,a=n.panels,o=n.activeKey,i=n.direction,l=e.props.getRef("root"),s=e.props.getRef("nav")||l,c=e.props.getRef("inkBar"),u=e.props.getRef("activeTab"),f=c.style,p=e.props.tabBarPosition,d=R(a,o);if(t&&(f.display="none"),u){var m=u,h=I(f);if(A(f,""),f.width="",f.height="",f.left="",f.top="",f.bottom="",f.right="","top"===p||"bottom"===p){var v=function(e,t){return U("left","offsetWidth","right",e,t)}(m,s),y=m.offsetWidth;y===l.offsetWidth?y=0:r.inkBar&&void 0!==r.inkBar.width&&(y=parseFloat(r.inkBar.width,10))&&(v+=(m.offsetWidth-y)/2),"rtl"===i&&(v=L(m,"margin-left")-v),h?A(f,"translate3d("+v+"px,0,0)"):f.left=v+"px",f.width=y+"px"}else{var g=function(e,t){return U("top","offsetHeight","bottom",e,t)}(m,s),b=m.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(b=parseFloat(r.inkBar.height,10))&&(g+=(m.offsetHeight-b)/2),h?(A(f,"translate3d(0,"+g+"px,0)"),f.top="0"):f.top=g+"px",f.height=b+"px"}}f.display=-1!==d?"block":"none"}var oe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){ae(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){ae(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,o=t.inkBarAnimated,i=n+"-ink-bar",l=C()((e={},c()(e,i,!0),c()(e,o?i+"-animated":i+"-no-animated",!0),e));return a.a.createElement("div",{style:r.inkBar,className:l,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(a.a.Component),ie=oe;oe.propTypes={prefixCls:_.a.string,styles:_.a.object,inkBarAnimated:_.a.bool,saveRef:_.a.func,direction:_.a.string},oe.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),se=n.n(le),ce=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,o=t.prefixCls,i=t.tabBarGutter,s=t.saveRef,u=t.tabBarPosition,f=t.renderTabBarNode,p=t.direction,d=[];return a.a.Children.forEach(n,(function(t,m){if(t){var h=t.key,v=r===h?o+"-tab-active":"";v+=" "+o+"-tab";var y={};t.props.disabled?v+=" "+o+"-tab-disabled":y={onClick:e.props.onTabClick.bind(e,h)};var g={};r===h&&(g.ref=s("activeTab"));var b=i&&m===n.length-1?0:i,E="rtl"===p?"marginLeft":"marginRight",_=c()({},D(u)?"marginBottom":E,b);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var w=a.a.createElement("div",l()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},y,{className:v,key:h,style:_},g),t.props.tab);f&&(w=f(w)),d.push(w)}})),a.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(a.a.Component),ue=ce;ce.propTypes={activeKey:_.a.string,panels:_.a.node,prefixCls:_.a.string,tabBarGutter:_.a.number,onTabClick:_.a.func,saveRef:_.a.func,renderTabBarNode:_.a.func,tabBarPosition:_.a.string,direction:_.a.string},ce.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var fe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,o=e.className,i=e.extraContent,s=e.style,u=e.tabBarPosition,p=e.children,d=f()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),m=C()(t+"-bar",c()({},o,!!o)),h="top"===u||"bottom"===u,v=h?{float:"right"}:{},y=i&&i.props?i.props.style:{},g=p;return i&&(g=[Object(r.cloneElement)(i,{key:"extra",style:l()({},v,y)}),Object(r.cloneElement)(p,{key:"content"})],g=h?g:g.reverse()),a.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},M(d)),g)}}]),t}(a.a.Component),pe=fe;fe.propTypes={prefixCls:_.a.string,className:_.a.string,style:_.a.object,tabBarPosition:_.a.oneOf(["left","right","top","bottom"]),children:_.a.node,extraContent:_.a.node,onKeyDown:_.a.func,saveRef:_.a.func},fe.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var de=n("sEfC"),me=n.n(de),he=n("bdgK"),ve=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var a=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),a){var o=n.getScrollWH(t),i=n.getOffsetWH(r),l=n.offset,s=n.getOffsetLT(r),c=n.getOffsetLT(t);s>c?(l+=s-c,n.setOffset(l)):s+i<c+o&&(l-=c+o-(s+i),n.setOffset(l))}}},n.prev=function(e){n.props.onPrevClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a+r)},n.next=function(e){n.props.onNextClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a-r)},n.offset=0,n.state={next:!1,prev:!1},n}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),this.debouncedResize=me()((function(){e.setNextPrev(),e.scrollToActiveTab()}),200),this.resizeObserver=new he.default(this.debouncedResize),this.resizeObserver.observe(this.props.getRef("container"))}},{key:"componentDidUpdate",value:function(e){var t=this.props;if(e&&e.tabBarPosition!==t.tabBarPosition)this.setOffset(0);else{var n=this.setNextPrev();this.isNextPrevShown(this.state)!==this.isNextPrevShown(n)?this.setState({},this.scrollToActiveTab):e&&t.activeKey===e.activeKey||this.scrollToActiveTab()}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()}},{key:"setNextPrev",value:function(){var e=this.props.getRef("nav"),t=this.props.getRef("navTabsContainer"),n=this.getScrollWH(t||e),r=this.getOffsetWH(this.props.getRef("container"))+1,a=this.getOffsetWH(this.props.getRef("navWrap")),o=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),o=0;else if(i<o)s=!0;else{s=!1;var u=a-n;this.setOffset(u,!1),o=u}return c=o<0,this.setNext(s),this.setPrev(c),{next:s,prev:c}}},{key:"getOffsetWH",value:function(e){var t=this.props.tabBarPosition,n="offsetWidth";return"left"!==t&&"right"!==t||(n="offsetHeight"),e[n]}},{key:"getScrollWH",value:function(e){var t=this.props.tabBarPosition,n="scrollWidth";return"left"!==t&&"right"!==t||(n="scrollHeight"),e[n]}},{key:"getOffsetLT",value:function(e){var t=this.props.tabBarPosition,n="left";return"left"!==t&&"right"!==t||(n="top"),e.getBoundingClientRect()[n]}},{key:"setOffset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},a=this.props.tabBarPosition,o=this.props.getRef("nav").style,i=I(o);"left"===a||"right"===a?r=i?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:i?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},i?A(o,r.value):o[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,o=this.state,i=o.next,l=o.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,v=a.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:C()((e={},c()(e,u+"-tab-prev",1),c()(e,u+"-tab-btn-disabled",!l),c()(e,u+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||a.a.createElement("span",{className:u+"-tab-prev-icon"})),y=a.a.createElement("span",{onClick:i?this.next:null,unselectable:"unselectable",className:C()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||a.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=C()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return a.a.createElement("div",{className:C()((r={},c()(r,u+"-nav-container",1),c()(r,u+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},v,y,a.a.createElement("div",{className:u+"-nav-wrap",ref:this.props.saveRef("navWrap")},a.a.createElement("div",{className:u+"-nav-scroll"},a.a.createElement("div",{className:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(a.a.Component),ye=ve;ve.propTypes={activeKey:_.a.string,getRef:_.a.func.isRequired,saveRef:_.a.func.isRequired,tabBarPosition:_.a.oneOf(["left","right","top","bottom"]),prefixCls:_.a.string,scrollAnimated:_.a.bool,onPrevClick:_.a.func,onNextClick:_.a.func,navWrapper:_.a.func,children:_.a.node,prevIcon:_.a.node,nextIcon:_.a.node,direction:_.a.node},ve.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var ge=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.getRef=function(e){return r[e]},r.saveRef=function(e){return function(t){t&&(r[e]=t)}},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(a.a.Component),be=ge;ge.propTypes={children:_.a.func},ge.defaultProps={children:function(){return null}};var Ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return a.a.createElement(be,null,(function(e,r){return a.a.createElement(pe,l()({saveRef:e},n),a.a.createElement(ye,l()({saveRef:e,getRef:r},n),a.a.createElement(ue,l()({saveRef:e,renderTabBarNode:t},n)),a.a.createElement(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(a.a.Component),_e=Ee;Ee.propTypes={children:_.a.func};var we=n("CtXQ");function Ce(){return(Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){return(xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Te(e);if(t){var a=Te(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return je(this,n)}}function je(e,t){return!t||"object"!==xe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Oe(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e,t,n=this.props,a=n.tabBarStyle,o=n.animated,i=n.renderTabBar,l=n.tabBarExtraContent,s=n.tabPosition,c=n.prefixCls,u=n.className,f=n.size,p=n.type,d="object"===xe(o)?o.inkBar:o,m="left"===s||"right"===s,h=m?"up":"left",v=m?"down":"right",y=r.createElement("span",{className:"".concat(c,"-tab-prev-icon")},r.createElement(we.default,{type:h,className:"".concat(c,"-tab-prev-icon-target")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(we.default,{type:v,className:"".concat(c,"-tab-next-icon-target")})),b=C()("".concat(c,"-").concat(s,"-bar"),(Se(e={},"".concat(c,"-").concat(f,"-bar"),!!f),Se(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),E=Ce(Ce({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:a,prevIcon:y,nextIcon:g,className:b});return t=i?i(E,_e):r.createElement(_e,E),r.cloneElement(t)}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Re.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Ie=n("6CfX"),De=n("R3zJ");function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ze(e,t){return(ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function He(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=We(e);if(t){var a=We(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ke(this,n)}}function Ke(e,t){return!t||"object"!==Fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},qe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ze(e,t)}(l,e);var t,n,a,i=He(l);function l(){var e;return Ue(this,l),(e=i.apply(this,arguments)).removeTab=function(t,n){if(n.stopPropagation(),t){var r=e.props.onEdit;r&&r(t,"remove")}},e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e.createNewTab=function(t){var n=e.props.onEdit;n&&n(t,"add")},e.renderTabs=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.className,s=void 0===l?"":l,c=o.size,u=o.type,f=void 0===u?"line":u,p=o.tabPosition,d=o.children,m=o.animated,h=void 0===m||m,v=o.hideAdd,y=e.props.tabBarExtraContent,g="object"===Fe(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Ie.a)(!(f.indexOf("card")>=0&&("small"===c||"large"===c)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var b=a("tabs",i),E=C()(s,(Me(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Me(n,"".concat(b,"-").concat(c),!!c),Me(n,"".concat(b,"-card"),f.indexOf("card")>=0),Me(n,"".concat(b,"-").concat(f),!0),Me(n,"".concat(b,"-no-animation"),!g),n)),_=[];"editable-card"===f&&(_=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var a=t.props.closable,o=(a=void 0===a||a)?r.createElement(we.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;_.push(r.cloneElement(t,{tab:r.createElement("div",{className:a?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,o),key:t.key||n}))})),v||(y=r.createElement("span",null,r.createElement(we.default,{type:"plus",className:"".concat(b,"-new-tab"),onClick:e.createNewTab}),y))),y=y?r.createElement("div",{className:"".concat(b,"-extra-content")},y):null;var w=Ve(e.props,[]),S=C()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Le({},e.props,{prefixCls:b,className:E,tabBarPosition:p,renderTabBar:function(){return r.createElement(Re,Le({},Object(re.a)(w,["className"]),{tabBarExtraContent:y}))},renderTabContent:function(){return r.createElement(te,{className:S,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),_.length>0?_:d)},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=o.findDOMNode(this);e&&!De.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&Be(t.prototype,n),a&&Be(t,a),l}(r.Component);qe.TabPane=Y,qe.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("3S7+")),a=u(n("CFYs")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ"),n("D8SU");var i=n("q1tI"),l=u(i),s=n("PhNK"),c=n("spEH");function u(e){return e&&e.__esModule?e:{default:e}}n("js5m"),n("VPG4"),t.default=function(e){var t=e.data,n=e.history,u=e.owner,f=e.projectsId,p=e.parentsSha,d=(0,i.useState)(t&&t.files),m=o(d,2),h=m[0],v=m[1],y=(0,i.useState)("复制文件路径"),g=o(y,2),b=g[0],E=g[1],_=(0,i.useState)(!1),w=o(_,2),C=w[0],S=w[1];function x(e,t,n){if(!n){var r=h.concat();r[t].flag=!e,r.splice(),v(r)}}(0,i.useEffect)((function(){t&&v(t.files)}),[t]),(0,i.useEffect)((function(){document.addEventListener("click",(function(){S(!1)}))}));var O=l.default.createElement("div",{className:"folders"},l.default.createElement("div",{className:"folderList"},h&&h.map((function(e,t){return l.default.createElement("a",{href:"#value"+t},l.default.createElement(c.FlexAJ,{className:"filesInfo",key:t,onClick:function(){e.flag&&x(e.flag,t,e.isBin),S(!1)}},l.default.createElement(c.AlignCenter,null,l.default.createElement("i",{className:"iconfont icon-wenjianicon mr4"}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name},e.name)),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0?":":"")+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),e.addition>0&&l.default.createElement("span",{className:"color-green ml10"},"+",e.addition),e.deletion>0&&l.default.createElement("span",{className:"color-red ml10"},"-",e.deletion)))))}))));return l.default.createElement("div",{onClick:function(e){e.nativeEvent.stopImmediatePropagation()}},l.default.createElement(c.AlignCenter,{className:"color-grey-9",style:{position:"relative"}},l.default.createElement("div",{onClick:function(){S(!C)}},l.default.createElement("i",{className:"iconfont mr5 "+(C?"font-18 icon-sanjiaoxing-down":"font-16 icon-triangle")}),l.default.createElement("span",{className:"color-grey-6 update-file-count"},"共有",l.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件 "),"被更改,包括",t&&t.total_addition?l.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?l.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),C&&O),h&&h.length>0&&l.default.createElement("div",{className:"fileList"},h.map((function(e,t){return l.default.createElement("div",{className:"files",key:t},l.default.createElement("a",{id:"value"+t,className:"anchorPoint"}),l.default.createElement(c.FlexAJ,{className:"filesInfo"},l.default.createElement(c.AlignCenter,null,e.isBin?"":l.default.createElement("i",{className:e.flag?"iconfont icon-triangle font-15 color-grey-9":"iconfont icon-sanjiaoxing-down color-grey-9 mt4",onClick:function(){return x(e.flag,t,e.isBin)}}),l.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name,onClick:function(){return x(e.flag,t,e.isBin)}},e.name),l.default.createElement(r.default,{title:b,onVisibleChange:function(){return E("复制文件路径")}},l.default.createElement("i",{className:"iconfont icon-fuzhiicon ml6",onClick:function(){return t=e.name,(n=document.createElement("input")).defaultValue=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="copyCont",n.style.display="none",void E("复制成功");var t,n}}))),l.default.createElement("div",{className:"see-file"},l.default.createElement(r.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0?":":"")+" "+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},l.default.createElement(a.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),l.default.createElement("span",{className:"ml10"},e.addition+e.deletion,"处")),!e.isSubmodule&&l.default.createElement("span",{className:"see-file-btn",onClick:function(){n.push("/"+u+"/"+f+(e.isDeleted?"/commits/"+(0,s.truncateCommitId)(p):"/tree/"+(0,s.truncateCommitId)(e.sha)+"/"+e.name))}},"查看文件"))),e.sections&&e.sections.length>=1&&!e.flag&&l.default.createElement("div",{className:"filesContent"},e.sections.map((function(e,t){return e.lines&&e.lines.length>0&&e.lines.map((function(e,n){return l.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},l.default.createElement("span",{className:"lines"},l.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),l.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),l.default.createElement("p",null,e.content))}))}))))}))))}},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),a=c(r);n("vg9a");var o=n("ud8/"),i=c(o);n("SJMd");var l=c(n("wMS7")),s=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,p=void 0===f?{}:f,d=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,i.default)(m),t=(0,o.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],a=r.type,o=r.expression;return(0,s.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===a,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(d&&d.hash&&h){var e=d.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[d,h]);var v=(0,r.useRef)();function y(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(v.current&&h&&h.match(u)&&window.PR.prettyPrint(),v.current)return v.current.addEventListener("click",y),function(){v.current.removeEventListener("click",y),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[h,v.current,y]),a.default.createElement("div",{ref:v,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=_(n("VXEj")),a=_(n("NJEC")),o=_(n("2/Rp")),i=_(n("NUBc")),l=_(n("ZTPi")),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV"),n("AUBz");var u=n("q1tI"),f=_(u),p=n("eO8H"),d=_(n("vDqi")),m=_(n("AySf")),h=_(n("bIax")),v=n("sYIF"),y=_(n("LZ3y")),g=_(n("p7gc")),b=_(n("bjH3")),E=_(n("oYoh"));function _(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var w=l.default.TabPane,C=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getjournalslist()},n.addjournals=function(){var e=n.state,t=e.content,r=e.reply_content;n.setState({journal_spin:!0}),t||r?n.props.form.validateFieldsAndScroll((function(e,a){if(e)n.setState({journal_spin:!1});else{var o=n.state,i=o.page,l=o.limit,c=o.fileList,u=o.orderId,f=o.reply_id,p=o.is_reply,m="/issues/"+u+"/journals.json";d.default.post(m,s({},a,{content:p?r:t,issue_id:u,attachment_ids:c,parent_id:f})).then((function(e){e&&0===e.data.status&&(n.props.form.setFieldsValue({content:"",reply_content:void 0}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l),n.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1})),n.setState({journal_spin:!1}),e&&411!==e.data.status&&n.props.showNotification(e.data.message)})).catch((function(e){n.setState({journal_spin:!1}),console.log(e)}))}})):n.setState({journal_spin:!1})},n.add_reply=function(e){!1!==n.props.checkIfLogin()?n.setState({is_reply:!0,success_journal:!1,reply_id:e}):n.props.showLoginDialog()},n.cancel_reply=function(){n.setState({is_reply:!1,reply_id:void 0,success_journal:!1,reply_content:void 0})},n.getjournalslist=function(e,t){var r=n.state.orderId,a="/issues/"+r+"/journals.json",o=r;d.default.get(a,{params:{id:o,page:e,limit:t}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1,fileList:void 0})})).catch((function(e){console.log(e)}))},n.UploadFunc=function(e){n.setState({fileList:e,attachment_clean:!0})},n.deleteorder=function(e){var t=n.state,r=t.page,a=t.limit,o=t.orderId,i="/issues/"+o+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:o,id:e}}).then((function(e){e&&n.getjournalslist(r,a)})).catch((function(e){console.log(e)}))},n.renderJournalList=function(e){return e&&e.length>0?e.map((function(e,t){return f.default.createElement("div",{key:t+1,className:"journal-list-item"},f.default.createElement("span",{className:"fwb mr3"},e.detail,":"),f.default.createElement("span",{className:"mr5 color-grey-9"},e.old_value&&e.old_value.length>0?"更新为":"新增"),f.default.createElement("span",null,e.value&&e.value.length>0?"标记"===e.detail?f.default.createElement("span",{className:"issue-tag-show",style:{background:e.value[0].color}},e.value[0].name):e.value:"无"))})):f.default.createElement("div",null,f.default.createElement("span",null,"没有评论~"))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.onContentChange=function(e){e&&n.setState({content:e,quillFlag:!1})},n.replyContentChange=function(e){e&&n.setState({reply_content:e,quillFlag:!1})},n.onRef=function(e){n.child=e},n.commentCtx=function(e){return f.default.createElement(b.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.state={content:void 0,journalsdata:void 0,isedit:void 0,fileList:void 0,limit:10,page:1,journal_spin:!1,edit_spin:!1,attachment_clean:!0,orderId:n.props.order_id,is_reply:!1,reply_id:void 0,reply_content:void 0,new_journal_id:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"loginModal",value:function(){this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,_=t.attachment_clean,C=t.is_reply,S=t.reply_id,x=t.reply_content,O=t.orderId,N=t.new_journal_id,k=this.props,P=k.current_user,j=k.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(P&&P.image_url)),alt:"",width:"30",height:"30"})),f.default.createElement("div",null,f.default.createElement(g.default,{placeholder:"添加评论...",height:300,mdID:n?"orderdetail-add-descriptions"+n:"orderdetail-add-descriptions",initValue:t?x:u,onChange:t?e.replyContentChange:e.onContentChange}),f.default.createElement("p",{className:"quillFlag"},d&&f.default.createElement("span",{className:""},"请输入评论内容")),f.default.createElement(m.default,{className:"commentStyle",isComplete:_,load:e.UploadFunc,icon:f.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.props.showNotification}),f.default.createElement("p",{className:"clearfix mt20"},f.default.createElement(o.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(o.default,{onClick:e.cancel_reply},"取消"))))},R=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link color-black ml10 fwb"},t&&t.user_name)),f.default.createElement("div",{className:"ml40"},t.content?e.commentCtx(t.content):f.default.createElement("div",null,e.renderJournalList(t.journal_details)),t&&t.attachments&&t.attachments.length>0?f.default.createElement(y.default,{attachments:t.attachments,showNotification:e.props.showNotification,canDelete:P&&(P.admin||P.login===t.user_login)}):"",f.default.createElement("div",{className:"grid-item mt5"},f.default.createElement("span",{className:"color-grey-8"},t.created_at),f.default.createElement("span",{className:"text-right"},P&&(P.admin||P.login===t.user_login)?f.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(o.default,{type:"link"},f.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):"",f.default.createElement(o.default,{type:"link",className:"ml-10",onClick:function(){return e.add_reply(t.id)}},f.default.createElement("i",{className:"iconfont icon-huifu1 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"回复")))),P&&f.default.createElement("div",null,C&&S&&S===t.id?f.default.createElement("div",{className:"pt20"},T(C,t.id)):""),f.default.createElement(E.default,s({order_id:O,parent_id:t.id,onRef:e.onRef,children_comment_id:N},e.props))))};return f.default.createElement("div",null,j?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},C&&!S?f.default.createElement("div",{className:"pd20"},T(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,v.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}),this.Paginations()):f.default.createElement("div",{className:"mt20"},f.default.createElement("div",{className:"comment-background"},f.default.createElement(l.default,{defaultActiveKey:"1",className:"custom-comment-tabs"},f.default.createElement(w,{tab:f.default.createElement("span",{className:"ml-3 font-16"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},C&&!S?f.default.createElement("div",{className:"pd20"},T(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item mb20"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,v.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=C},dQpi:function(e,t,n){var r=n("yGk4"),a=n("vN+2"),o=n("rEGp"),i=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:a;e.exports=i},"jbM+":function(e,t,n){var r=n("R/W3");e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},js5m:function(e,t,n){},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),i=n("BGR+"),l=n("VCL8"),s=n("CtXQ"),c=n("H84U");function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,a,i=v(l);function l(){var e;return d(this,l),(e=i.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,r=t.onChange;r&&r(!n)},e.renderCheckableTag=function(t){var n,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=a("tag",l),m=o()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,r.createElement("span",f({},u,{className:m,onClick:e.handleClick}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(t.prototype,n),a&&m(t,a),l}(r.Component),_=n("09Wf"),w=n("6CfX"),C=n("g0mS");function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=T(e);if(t){var a=T(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},A=new RegExp("^(".concat(_.a.join("|"),")(-inverse)?$")),I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(u,e);var t,n,a,l=P(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,a=n.children,o=R(n,["children"]),l="onClick"in o||a&&"a"===a.type,s=Object(i.a)(o,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(C.a,null,r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())):r.createElement("span",O({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())},Object(w.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return t=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(n=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return O({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,a=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",a);return o()(u,(x(t={},"".concat(u,"-").concat(l),c),x(t,"".concat(u,"-has-color"),l&&!c),x(t,"".concat(u,"-hidden"),!s),t),i)}},{key:"setVisible",value:function(e,t){var n=this.props,r=n.onClose,a=n.afterClose;r&&r(t),a&&!r&&a(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&A.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderTag)}}])&&N(t.prototype,n),a&&N(t,a),u}(r.Component);I.CheckableTag=E,I.defaultProps={closable:!1},Object(l.polyfill)(I);t.default=I},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),a="undefined"==typeof window?t:window,o=["moz","webkit"],i="AnimationFrame",l=a["request"+i],s=a["cancel"+i]||a["cancelRequest"+i],c=0;!l&&c<o.length;c++)l=a[o[c]+"Request"+i],s=a[o[c]+"Cancel"+i]||a[o[c]+"CancelRequest"+i];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(a,e)},e.exports.cancel=function(){s.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},oYoh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("VXEj")),a=h(n("NJEC")),o=h(n("2/Rp")),i=h(n("NUBc")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV");var s=n("q1tI"),c=h(s),u=n("eO8H"),f=h(n("vDqi")),p=n("sYIF"),d=h(n("LZ3y")),m=h(n("bjH3"));function h(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getChildrenJournals=function(e,t){var r=n.props,a=r.order_id,o=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||a)+"/journals/"+(t||o)+"/get_children_journals.json";f.default.get(c,{params:{page:l,limit:s}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.deleteorder=function(e){var t=n.props.order_id,r="/issues/"+t+"/journals/"+e+".json";f.default.delete(r,{data:{issue_id:t,id:e}}).then((function(e){e&&n.getChildrenJournals()})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.state.page=e,n.state.isSpin=!0,n.getChildrenJournals()},n.commentCtx=function(e){return c.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return c.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},c.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.renderList=function(e){var t=n.props.current_user;return c.default.createElement("div",{className:"width100"},c.default.createElement("div",{className:"grid-item pb5"},c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link color-black ml10 fwb"},e&&e.user_name)),c.default.createElement("div",{className:"ml40"},n.commentCtx(e.content),e&&e.attachments&&e.attachments.length>0?c.default.createElement(d.default,{attachments:e.attachments,showNotification:n.props.showNotification,canDelete:t&&(t.admin||t.login===e.user_login)}):"",c.default.createElement("div",{className:"mt5"},c.default.createElement("span",{className:"color-grey-8"},e.created_at),c.default.createElement("span",{className:"ml20"},t&&(t.admin||t.login===e.user_login)?c.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return n.deleteorder(e.id)}},c.default.createElement(o.default,{type:"link"},c.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),c.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):""))))},n.state={journalsdata:void 0,limit:10,page:1,journal_spin:!1,search_count:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.getChildrenJournals()}},{key:"componentDidUpdate",value:function(e,t){this.props.children_comment_id&&e.children_comment_id!==this.props.children_comment_id&&this.getChildrenJournals()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,a=t.search_count,o=t.isSpin;return c.default.createElement("div",null,a>0&&c.default.createElement("div",{className:"children-comment-bg mt10"},c.default.createElement(r.default,{size:"large",loading:o,dataSource:n.issue_journals,renderItem:function(t){return c.default.createElement(r.default.Item,null,e.renderList(t))}}),this.Paginations()))}}]),t}(s.Component);t.default=v},qPyV:function(e,t,n){var r=n("ut/Y"),a=n("LGYb");e.exports=function(e,t){return e&&e.length?a(e,r(t,2)):[]}},u3En:function(e,t,n){},"vN+2":function(e,t){e.exports=function(){}},vg9a:function(e,t,n){},vhIH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(n("5rEg")),o=d(n("2/Rp")),i=d(n("2fM7")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("1vPl"),n("L/Qf"),n("8QGh");var c=n("q1tI"),u=d(c),f=d(n("vDqi"));n("6JOy"),n("js5m");var p=d(n("QCvN"));d(n("Fyak"));function d(e){return e&&e.__esModule?e:{default:e}}i.default.Option;var m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getmergelist()},n.getmergelist=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.mergeId,a="/"+e.owner+"/"+t+"/pulls/"+r+"/edit.json";f.default.get(a).then((function(e){e?n.setState({isSpin:!1,data:e.data,pull:e.data.head,merge:e.data.base}):n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.state={data:void 0,merge:void 0,pull:void 0,isSpin:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this.state,t=e.data,n=e.isSpin,s=e.pull,c=e.merge;return u.default.createElement("div",null,u.default.createElement("div",{className:"main"},u.default.createElement(r.default,{spinning:n}," ",t?u.default.createElement("div",null,u.default.createElement("div",{className:"merge-header width100 inline-block"},u.default.createElement("div",{className:"width45 pull-left"},u.default.createElement("div",{className:"color-grey-3 mb10 fwb"},"源分支:"),u.default.createElement(a.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(o.default,{className:"merge-header-button maxW50 hide-1 task-hide"},t.is_original?t.fork_project_user_name+"/"+t.fork_project_identifier:t.project_author+"/"+t.project_name),u.default.createElement(i.default,{defaultValue:t.is_original?t.fork_project_user+":"+s:""+s,className:"minW50 merge-flex1",disabled:!0})," ")," ")," ",u.default.createElement("div",{className:"width10 pull-left text-center mt25"},u.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-32"})," ")," ",u.default.createElement("div",{className:"width45 pull-left"},u.default.createElement("div",null,u.default.createElement("div",{className:"color-grey-3 mb10 fwb"}," 目标分支 : ")," ",u.default.createElement(a.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(o.default,{className:"merge-header-button maxW50 hide-1 task-hide"},t.project_author+"/"+t.project_name),u.default.createElement(i.default,{defaultValue:t.is_original?t.project_login+":"+c:""+c,className:"minW50 merge-flex1",disabled:!0})," ")," ")," ")," "),u.default.createElement(p.default,l({},this.props,{merge_type:"edit",data:t,merge:c,pull:s}))," "):"")))}}]),t}(c.Component);t.default=m},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,a=Object.freeze,o=Object.seal,i=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),a||(a=function(e){return e}),o||(o=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=S(Array.prototype.forEach),f=S(Array.prototype.indexOf),p=S(Array.prototype.join),d=S(Array.prototype.pop),m=S(Array.prototype.push),h=S(Array.prototype.slice),v=S(String.prototype.toLowerCase),y=S(String.prototype.match),g=S(String.prototype.replace),b=S(String.prototype.indexOf),E=S(String.prototype.trim),_=S(RegExp.prototype.test),w=x(RegExp),C=x(TypeError);function S(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return s(e,t,r)}}function x(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function O(e,r){t&&t(e,null);for(var a=r.length;a--;){var o=r[a];if("string"==typeof o){var i=v(o);i!==o&&(n(r)||(r[a]=i),o=i)}e[o]=!0}return e}function N(t){var n=i(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var k=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),j=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),R=a(["#text"]),A=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),I=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),D=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),M=o(/\{\{[\s\S]*|[\s\S]*\}\}/gm),F=o(/<%[\s\S]*|[\s\S]*%>/gm),U=o(/^data-[\-\w.\u00B7-\uFFFF]/),B=o(/^aria-[\-\w]+$/),z=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=o(/^(?:\w+script|data):/i),K=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function V(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var q=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":W(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var o=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,S=t.Node,x=t.NodeFilter,Q=t.NamedNodeMap,Y=void 0===Q?t.NamedNodeMap||t.MozNamedAttrMap:Q,J=t.Text,X=t.Comment,Z=t.DOMParser,$=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=G($,o),ne=te&&De?te.createHTML(""):"",re=l,ae=re.implementation,oe=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=o.importNode,ce=N(l).documentMode?l.documentMode:{},ue={};n.isSupported=ae&&void 0!==ae.createHTMLDocument&&9!==ce;var fe=M,pe=F,de=U,me=B,he=H,ve=K,ye=z,ge=null,be=O({},[].concat(V(k),V(P),V(j),V(T),V(R))),Ee=null,_e=O({},[].concat(V(A),V(I),V(D),V(L))),we=null,Ce=null,Se=!0,xe=!0,Oe=!1,Ne=!1,ke=!1,Pe=!1,je=!1,Te=!1,Re=!1,Ae=!1,Ie=!1,De=!1,Le=!0,Me=!0,Fe=!1,Ue={},Be=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),ze=null,He=O({},["audio","video","img","source","image","track"]),Ke=null,We=O({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ve=null,qe=l.createElement("form"),Ge=function(e){Ve&&Ve===e||(e&&"object"===(void 0===e?"undefined":W(e))||(e={}),e=N(e),ge="ALLOWED_TAGS"in e?O({},e.ALLOWED_TAGS):be,Ee="ALLOWED_ATTR"in e?O({},e.ALLOWED_ATTR):_e,Ke="ADD_URI_SAFE_ATTR"in e?O(N(We),e.ADD_URI_SAFE_ATTR):We,ze="ADD_DATA_URI_TAGS"in e?O(N(He),e.ADD_DATA_URI_TAGS):He,we="FORBID_TAGS"in e?O({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?O({},e.FORBID_ATTR):{},Ue="USE_PROFILES"in e&&e.USE_PROFILES,Se=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_DOM_IMPORT||!1,De=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Le=!1!==e.SANITIZE_DOM,Me=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,ke&&(xe=!1),Ae&&(Re=!0),Ue&&(ge=O({},[].concat(V(R))),Ee=[],!0===Ue.html&&(O(ge,k),O(Ee,A)),!0===Ue.svg&&(O(ge,P),O(Ee,I),O(Ee,L)),!0===Ue.svgFilters&&(O(ge,j),O(Ee,I),O(Ee,L)),!0===Ue.mathMl&&(O(ge,T),O(Ee,D),O(Ee,L))),e.ADD_TAGS&&(ge===be&&(ge=N(ge)),O(ge,e.ADD_TAGS)),e.ADD_ATTR&&(Ee===_e&&(Ee=N(Ee)),O(Ee,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&O(Ke,e.ADD_URI_SAFE_ATTR),Me&&(ge["#text"]=!0),Pe&&O(ge,["html","head","body"]),ge.table&&(O(ge,["tbody"]),delete we.tbody),a&&a(e),Ve=e)},Qe=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ye=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(Te)e="<remove></remove>"+e;else{var r=y(e,/^[\r\n\t ]+/);n=r&&r[0]}var a=te?te.createHTML(e):e;try{t=(new Z).parseFromString(a,"text/html")}catch(e){}if(i&&O(we,["title"]),!t||!t.documentElement){var o=(t=ae.createHTMLDocument("")).body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=a}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ie.call(t,Pe?"html":"body")[0]};n.isSupported&&function(){try{var e=Je("<x/><title></title><img>");_(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return oe.call(e.ownerDocument||e,e,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT,(function(){return x.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof J||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Y&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===S?"undefined":W(S))?e instanceof S:e&&"object"===(void 0===e?"undefined":W(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,Ve)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ze(e))return Qe(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return Qe(e),!0;var r=v(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Qe(e),!0;if(!ge[r]||we[r]){if(Me&&!Be[r]&&"function"==typeof e.insertAdjacentHTML)try{var a=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(a):a)}catch(e){}return Qe(e),!0}return"noscript"===r&&_(/<\/noscript/i,e.innerHTML)||"noembed"===r&&_(/<\/noembed/i,e.innerHTML)?(Qe(e),!0):(!Ne||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!_(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=g(e.innerHTML,/</g,"<"):e.innerHTML=g(e.textContent,/</g,"<")),ke&&3===e.nodeType&&(t=e.textContent,t=g(t,fe," "),t=g(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(Le&&("id"===t||"name"===t)&&(n in l||n in qe))return!1;if(xe&&_(de,t));else if(Se&&_(me,t));else{if(!Ee[t]||Ce[t])return!1;if(Ke[t]);else if(_(ye,g(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!ze[e])if(Oe&&!_(he,g(n,ve,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,a=void 0,o=void 0,i=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee};for(l=s.length;l--;){var u=t=s[l],m=u.name,y=u.namespaceURI;if(a=E(t.value),o=v(m),c.attrName=o,c.attrValue=a,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),a=c.attrValue,!c.forceKeepAttr){if("name"===o&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ye("id",e),Ye(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===o&&"file"===a&&c.keepAttr&&(Ee[o]||!Ce[o]))continue;"id"===m&&e.setAttribute(m,""),Ye(m,e)}if(c.keepAttr)if(Ne&&_(/\/>/i,a))Ye(m,e);else if(_(/svg|math/i,e.namespaceURI)&&_(w("</("+p(r(Be),"|")+")","i"),a))Ye(m,e);else{ke&&(a=g(a,fe," "),a=g(a,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,o,a))try{y?e.setAttributeNS(y,m,a):e.setAttribute(m,a),d(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},at=function e(t){var n=void 0,r=Xe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var a=void 0,i=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!$e(e)){if("function"!=typeof e.toString)throw C("toString is not a function");if("string"!=typeof(e=e.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===W(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if($e(e))return t.toStaticHTML(e.outerHTML)}return e}if(je||Ge(r),n.removed=[],"string"==typeof e&&(Fe=!1),Fe);else if(e instanceof S)1===(i=(a=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?a=i:a.appendChild(i);else{if(!Re&&!ke&&!Pe&&-1===e.indexOf("<"))return te&&De?te.createHTML(e):e;if(!(a=Je(e)))return Re?null:ne}a&&Te&&Qe(a.firstChild);for(var f=Xe(Fe?e:a);l=f.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&at(l.content),rt(l),c=l);if(c=null,Fe)return e;if(Re){if(Ae)for(u=le.call(a.ownerDocument);a.firstChild;)u.appendChild(a.firstChild);else u=a;return Ie&&(u=se.call(o,u,!0)),u}var p=Pe?a.outerHTML:a.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&De?te.createHTML(p):p},n.setConfig=function(e){Ge(e),je=!0},n.clearConfig=function(){Ve=null,je=!1},n.isValidAttribute=function(e,t,n){Ve||Ge({});var r=v(e),a=v(t);return nt(r,a,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&d(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()}}]); \ No newline at end of file diff --git a/static/js/35.04e6ad13.chunk.js.LICENSE.txt b/static/js/35.f6d4c52a.chunk.js.LICENSE.txt similarity index 100% rename from static/js/35.04e6ad13.chunk.js.LICENSE.txt rename to static/js/35.f6d4c52a.chunk.js.LICENSE.txt diff --git a/static/js/36.1969f13e.chunk.js b/static/js/36.1969f13e.chunk.js deleted file mode 100644 index bf0612ecd..000000000 --- a/static/js/36.1969f13e.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[36],{"/oTB":function(e,t,n){},"/wGt":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("1W/9"),a=n("VCL8"),i=n("TSYQ"),l=n.n(i),c=n("qx4F"),u=n("4IlW");var s={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},f=Object.keys(s).filter((function(e){if("undefined"==typeof document)return!1;var t=document.getElementsByTagName("html")[0];return e in(t?t.style:{})}))[0],d=s[f];function p(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),n)}function m(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.attachEvent&&e.detachEvent("on".concat(t),n)}var h=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},y=!("undefined"!=typeof window&&window.document&&window.document.createElement);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var x={},S=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=w(t).call(this,e),(n=!o||"object"!==v(o)&&"function"!=typeof o?O(r):o).domFocus=function(){n.dom&&n.dom.focus()},n.removeStartHandler=function(e){e.touches.length>1||(n.startPos={x:e.touches[0].clientX,y:e.touches[0].clientY})},n.removeMoveHandler=function(e){if(!(e.changedTouches.length>1)){var t=e.currentTarget,r=e.changedTouches[0].clientX-n.startPos.x,o=e.changedTouches[0].clientY-n.startPos.y;(t===n.maskDom||t===n.handlerDom||t===n.contentDom&&function e(t,n,r,o){if(!n||n===document||n instanceof Document)return!1;if(n===t.parentNode)return!0;var a=Math.max(Math.abs(r),Math.abs(o))===Math.abs(o),i=Math.max(Math.abs(r),Math.abs(o))===Math.abs(r),l=n.scrollHeight-n.clientHeight,c=n.scrollWidth-n.clientWidth,u=document.defaultView.getComputedStyle(n),s="auto"===u.overflowY||"scroll"===u.overflowY,f="auto"===u.overflowX||"scroll"===u.overflowX,d=l&&s,p=c&&f;return!!(a&&(!d||d&&(n.scrollTop>=l&&o<0||n.scrollTop<=0&&o>0))||i&&(!p||p&&(n.scrollLeft>=c&&c<0||n.scrollLeft<=0&&c>0)))&&e(t,n.parentNode,r,o)}(t,e.target,r,o))&&e.preventDefault()}},n.transitionEnd=function(e){var t=e.target;m(t,d,n.transitionEnd),t.style.transition=""},n.onKeyDown=function(e){if(e.keyCode===u.a.ESC){var t=n.props.onClose;e.stopPropagation(),t&&t(e)}},n.onWrapperTransitionEnd=function(e){var t=n.props,r=t.open,o=t.afterVisibleChange;e.target===n.contentWrapper&&e.propertyName.match(/transform$/)&&(n.dom.style.transition="",!r&&n.getCurrentDrawerSome()&&(document.body.style.overflowX="",n.maskDom&&(n.maskDom.style.left="",n.maskDom.style.width="")),o&&o(!!r))},n.openLevelTransition=function(){var e=n.props,t=e.open,r=e.width,o=e.height,a=n.getHorizontalBoolAndPlacementName(),i=a.isHorizontal,l=a.placementName,c=n.contentDom?n.contentDom.getBoundingClientRect()[i?"width":"height"]:0,u=(i?r:o)||c;n.setLevelAndScrolling(t,l,u)},n.setLevelTransform=function(e,t,r,o){var a=n.props,i=a.placement,l=a.levelMove,c=a.duration,u=a.ease,s=a.showMask;n.levelDom.forEach((function(a){a.style.transition="transform ".concat(c," ").concat(u),p(a,d,n.transitionEnd);var f,m,h,y=e?r:0;if(l){var v=(m={target:a,open:e},h="function"==typeof(f=l)?f(m):f,Array.isArray(h)?2===h.length?h:[h[0],h[1]]:[h]);y=e?v[0]:v[1]||0}var g="number"==typeof y?"".concat(y,"px"):y,b="left"===i||"top"===i?g:"-".concat(g);b=s&&"right"===i&&o?"calc(".concat(b," + ").concat(o,"px)"):b,a.style.transform=y?"".concat(t,"(").concat(b,")"):""}))},n.setLevelAndScrolling=function(e,t,r){var o=n.props.onChange;if(!y){var a=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(c.a)(!0):0;n.setLevelTransform(e,t,r,a),n.toggleScrollingToDrawerAndBody(a)}o&&o(e)},n.toggleScrollingToDrawerAndBody=function(e){var t=n.props,r=t.getOpenCount,o=t.getContainer,a=t.showMask,i=t.open,l=o&&o(),c=r&&r();if(l&&l.parentNode===document.body&&a){var u=["touchstart"],s=[document.body,n.maskDom,n.handlerDom,n.contentDom];i&&"hidden"!==document.body.style.overflow?(e&&n.addScrollingEffect(e),1===c&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",s.forEach((function(e,t){e&&p(e,u[t]||"touchmove",t?n.removeMoveHandler:n.removeStartHandler,n.passive)}))):n.getCurrentDrawerSome()&&(c||(document.body.style.overflow=""),document.body.style.touchAction="",e&&n.remScrollingEffect(e),s.forEach((function(e,t){e&&m(e,u[t]||"touchmove",t?n.removeMoveHandler:n.removeStartHandler,n.passive)})))}},n.addScrollingEffect=function(e){var t=n.props,r=t.placement,o=t.duration,a=t.ease,i=t.getOpenCount,l=t.switchScrollingEffect;1===(i&&i())&&l();var c="width ".concat(o," ").concat(a),u="transform ".concat(o," ").concat(a);switch(n.dom.style.transition="none",r){case"right":n.dom.style.transform="translateX(-".concat(e,"px)");break;case"top":case"bottom":n.dom.style.width="calc(100% - ".concat(e,"px)"),n.dom.style.transform="translateZ(0)"}clearTimeout(n.timeout),n.timeout=setTimeout((function(){n.dom&&(n.dom.style.transition="".concat(u,",").concat(c),n.dom.style.width="",n.dom.style.transform="")}))},n.remScrollingEffect=function(e){var t,r=n.props,o=r.placement,a=r.duration,i=r.ease,l=r.getOpenCount,c=r.switchScrollingEffect;l&&l()||c(!0),f&&(document.body.style.overflowX="hidden"),n.dom.style.transition="none";var u="width ".concat(a," ").concat(i),s="transform ".concat(a," ").concat(i);switch(o){case"left":n.dom.style.width="100%",u="width 0s ".concat(i," ").concat(a);break;case"right":n.dom.style.transform="translateX(".concat(e,"px)"),n.dom.style.width="100%",u="width 0s ".concat(i," ").concat(a),n.maskDom&&(n.maskDom.style.left="-".concat(e,"px"),n.maskDom.style.width="calc(100% + ".concat(e,"px)"));break;case"top":case"bottom":n.dom.style.width="calc(100% + ".concat(e,"px)"),n.dom.style.height="100%",n.dom.style.transform="translateZ(0)",t="height 0s ".concat(i," ").concat(a)}clearTimeout(n.timeout),n.timeout=setTimeout((function(){n.dom&&(n.dom.style.transition="".concat(s,",").concat(t?"".concat(t,","):"").concat(u),n.dom.style.transform="",n.dom.style.width="",n.dom.style.height="")}))},n.getCurrentDrawerSome=function(){return!Object.keys(x).some((function(e){return x[e]}))},n.getLevelDom=function(e){var t=e.level,r=e.getContainer;if(!y){var o,a=r&&r(),i=a?a.parentNode:null;if(n.levelDom=[],"all"===t)(i?Array.prototype.slice.call(i.children):[]).forEach((function(e){"SCRIPT"!==e.nodeName&&"STYLE"!==e.nodeName&&"LINK"!==e.nodeName&&e!==a&&n.levelDom.push(e)}));else t&&(o=t,Array.isArray(o)?o:[o]).forEach((function(e){document.querySelectorAll(e).forEach((function(e){n.levelDom.push(e)}))}))}},n.getHorizontalBoolAndPlacementName=function(){var e=n.props.placement,t="left"===e||"right"===e;return{isHorizontal:t,placementName:"translate".concat(t?"X":"Y")}},n.state={_self:O(n)},n}var n,o,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(t,e),n=t,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t._self,o={prevProps:e};if(void 0!==n){var a=e.placement,i=e.level;a!==n.placement&&(r.contentDom=null),i!==n.level&&r.getLevelDom(e)}return o}}],(o=[{key:"componentDidMount",value:function(){var e=this;if(!y){var t=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return t=!0,null}}))}catch(e){}this.passive=!!t&&{passive:!1}}var n=this.props.open;this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(9*Math.random()).toString())).toString(16)),this.getLevelDom(this.props),n&&(x[this.drawerId]=n,this.openLevelTransition(),this.forceUpdate((function(){e.domFocus()})))}},{key:"componentDidUpdate",value:function(e){var t=this.props.open;t!==e.open&&(t&&this.domFocus(),x[this.drawerId]=!!t,this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.getOpenCount,n=e.open,r=e.switchScrollingEffect,o="function"==typeof t&&t();delete x[this.drawerId],n&&(this.setLevelTransform(!1),document.body.style.touchAction=""),o||(document.body.style.overflow="",r(!0))}},{key:"render",value:function(){var e,t=this,n=this.props,o=n.className,a=n.children,i=n.style,c=n.width,u=n.height,s=(n.defaultOpen,n.open),f=n.prefixCls,d=n.placement,p=(n.level,n.levelMove,n.ease,n.duration,n.getContainer,n.handler),m=(n.onChange,n.afterVisibleChange,n.showMask),y=n.maskClosable,v=n.maskStyle,E=n.onClose,w=n.onHandleClick,O=n.keyboard,k=(n.getOpenCount,n.switchScrollingEffect,b(n,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"])),x=!!this.dom&&s,S=l()(f,(g(e={},"".concat(f,"-").concat(d),!0),g(e,"".concat(f,"-open"),x),g(e,o||"",!!o),g(e,"no-mask",!m),e)),N=this.getHorizontalBoolAndPlacementName().placementName,C="left"===d||"top"===d?"-100%":"100%",j=x?"":"".concat(N,"(").concat(C,")"),_=p&&r.cloneElement(p,{onClick:function(e){p.props.onClick&&p.props.onClick(),w&&w(e)},ref:function(e){t.handlerDom=e}});return r.createElement("div",Object.assign({},k,{tabIndex:-1,className:S,style:i,ref:function(e){t.dom=e},onKeyDown:x&&O?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),m&&r.createElement("div",{className:"".concat(f,"-mask"),onClick:y?E:void 0,style:v,ref:function(e){t.maskDom=e}}),r.createElement("div",{className:"".concat(f,"-content-wrapper"),style:{transform:j,msTransform:j,width:h(c)?"".concat(c,"px"):c,height:h(u)?"".concat(u,"px"):u},ref:function(e){t.contentWrapper=e}},r.createElement("div",{className:"".concat(f,"-content"),ref:function(e){t.contentDom=e},onTouchStart:x&&m?this.removeStartHandler:void 0,onTouchMove:x&&m?this.removeMoveHandler:void 0},a),_))}}])&&E(n.prototype,o),a&&E(n,a),t}(r.Component);S.defaultProps={switchScrollingEffect:function(){}};var N=Object(a.polyfill)(S);function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P(e,t){return!t||"object"!==C(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var M=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=P(this,D(t).call(this,e))).onHandleClick=function(e){var t=n.props,r=t.onHandleClick,o=t.open;if(r&&r(e),void 0===o){var a=n.state.open;n.setState({open:!a})}},n.onClose=function(e){var t=n.props,r=t.onClose,o=t.open;r&&r(e),void 0===o&&n.setState({open:!1})};var r=void 0!==e.open?e.open:!!e.defaultOpen;return n.state={open:r},"onMaskClick"in e&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}(t,e),n=t,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};return void 0!==n&&e.open!==n.open&&(r.open=e.open),r}}],(a=[{key:"render",value:function(){var e=this,t=this.props,n=(t.defaultOpen,t.getContainer),a=t.wrapperClassName,i=t.forceRender,l=t.handler,c=j(t,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),u=this.state.open;if(!n)return r.createElement("div",{className:a,ref:function(t){e.dom=t}},r.createElement(N,Object.assign({},c,{open:u,handler:l,getContainer:function(){return e.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var s=!!l||i;return r.createElement(o.a,{visible:u,forceRender:s,getContainer:n,wrapperClassName:a},(function(t){var n=t.visible,o=t.afterClose,a=j(t,["visible","afterClose"]);return r.createElement(N,Object.assign({},c,a,{open:void 0!==n?n:u,afterVisibleChange:void 0!==o?o:c.afterVisibleChange,handler:l,onClose:e.onClose,onHandleClick:e.onHandleClick}))}))}}])&&_(n.prototype,a),i&&_(n,i),t}(r.Component);M.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:r.createElement("div",{className:"drawer-handle"},r.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var K=Object(a.polyfill)(M),L=n("foW8"),I=n.n(L),A=n("BGR+"),R=n("6CfX"),B=n("CtXQ"),H=n("H84U"),F=n("CWQg");function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Z(e);if(t){var o=Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return J(this,n)}}function J(e,t){return!t||"object"!==U(t)&&"function"!=typeof t?Y(e):t}function Y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var G=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Q=I()(null),$=(Object(F.a)("top","right","bottom","left"),function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V(e,t)}(i,e);var t,n,o,a=X(i);function i(){var e;return z(this,i),(e=a.apply(this,arguments)).state={push:!1},e.push=function(){e.setState({push:!0})},e.pull=function(){e.setState({push:!1})},e.onDestroyTransitionEnd=function(){e.getDestroyOnClose()&&(e.props.visible||(e.destroyClose=!0,e.forceUpdate()))},e.getDestroyOnClose=function(){return e.props.destroyOnClose&&!e.props.visible},e.getPushTransform=function(e){return"left"===e||"right"===e?"translateX(".concat("left"===e?180:-180,"px)"):"top"===e||"bottom"===e?"translateY(".concat("top"===e?180:-180,"px)"):void 0},e.getRcDrawerStyle=function(){var t=e.props,n=t.zIndex,r=t.placement,o=t.style;return W({zIndex:n,transform:e.state.push?e.getPushTransform(r):void 0},o)},e.renderBody=function(){var t=e.props,n=t.bodyStyle,o=t.drawerStyle,a=t.prefixCls,i=t.visible;if(e.destroyClose&&!i)return null;e.destroyClose=!1;var l={};return e.getDestroyOnClose()&&(l.opacity=0,l.transition="opacity .3s"),r.createElement("div",{className:"".concat(a,"-wrapper-body"),style:W(W({},l),o),onTransitionEnd:e.onDestroyTransitionEnd},e.renderHeader(),r.createElement("div",{className:"".concat(a,"-body"),style:n},e.props.children))},e.renderProvider=function(t){var n=e.props,o=n.prefixCls,a=n.placement,i=n.className,c=n.wrapClassName,u=n.width,s=n.height,f=n.mask,d=G(n,["prefixCls","placement","className","wrapClassName","width","height","mask"]);Object(R.a)(void 0===c,"Drawer","wrapClassName is deprecated, please use className instead.");var p=f?"":"no-mask";e.parentDrawer=t;var m={};return"left"===a||"right"===a?m.width=u:m.height=s,r.createElement(Q.Provider,{value:Y(e)},r.createElement(K,W({handler:!1},Object(A.a)(d,["zIndex","style","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton"]),m,{prefixCls:o,open:e.props.visible,showMask:f,placement:a,style:e.getRcDrawerStyle(),className:l()(c,i,p)}),e.renderBody()))},e}return t=i,(n=[{key:"componentDidMount",value:function(){this.props.visible&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(e){var t=this.props.visible;e.visible!==t&&this.parentDrawer&&(t?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"renderHeader",value:function(){var e=this.props,t=e.title,n=e.prefixCls,o=e.closable,a=e.headerStyle;if(!t&&!o)return null;var i="".concat(n,t?"-header":"-header-no-title");return r.createElement("div",{className:i,style:a},t&&r.createElement("div",{className:"".concat(n,"-title")},t),o&&this.renderCloseIcon())}},{key:"renderCloseIcon",value:function(){var e=this.props,t=e.closable,n=e.prefixCls,o=e.onClose;return t&&r.createElement("button",{onClick:o,"aria-label":"Close",className:"".concat(n,"-close")},r.createElement(B.default,{type:"close"}))}},{key:"render",value:function(){return r.createElement(Q.Consumer,null,this.renderProvider)}}])&&q(t.prototype,n),o&&q(t,o),i}(r.Component));$.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0};t.default=Object(H.c)({prefixCls:"drawer"})($)},"3Diz":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("jsC+")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("aIZi");var a=n("q1tI"),i=u(a);n("MN5C");var l=u(n("cJAJ")),c=n("i8i4");function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.projectsId,n=e.branch,u=e.owner,s=e.changeBranch,f=e.branchList,d=e.tagflag,p=void 0===d||d,m=(0,a.useState)(n),h=o(m,2),y=h[0],v=h[1],g=(0,a.useState)(!1),b=o(g,2),E=b[0],w=b[1],O=(0,a.useRef)(null),k=(0,a.useRef)(null);(0,a.useEffect)((function(){document.addEventListener("click",x,!1)}),[]);var x=function(e){var t=e.target,n=(0,c.findDOMNode)(O.current),r=(0,c.findDOMNode)(k.current);if(n&&r){var o=n.contains(t),a=r.contains(t);o||a||w(!1)}};(0,a.useEffect)((function(){v(n)}),[n]);var S=i.default.createElement("div",{ref:O},i.default.createElement(l.default,{visible:E,changeBranch:function(e){w(!1),s(e)},tagflag:p,projectsId:t,owner:u,branchList:f}));return i.default.createElement(r.default,{placement:"bottomLeft",visible:E,overlay:S,overlayClassName:"branch-tagBox-list",trigger:["click"]},i.default.createElement("div",{className:"branch-tagBox",ref:k,onClick:function(){return w(!E)}},i.default.createElement("span",{className:"color-grey-9 mr3 ml8"},i.default.createElement("i",{className:"iconfont icon-fenzhi2 font-18"})),i.default.createElement("span",{className:"ant-dropdown-link task-hide",style:{fontWeight:"500",minWidth:"45px",maxWidth:"270px"}},y),i.default.createElement("i",{className:"showtag iconfont icon-sanjiaoxing-down font-15 color-grey-9 mr5 ml5 mt1"})))}},"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=l(n("17x9")),a=l(n("q1tI")),i=n("JwdM");function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(c,e);var t,n,o,l=m(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),g(y(t=l.call(this,e)),"assignRef",(function(e){t.containerElement=e})),t.containerElement=void 0,t}return t=c,(n=[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.language,o=t.theme,a=t.height,i=t.options,l=t.width,c=this.editor.getModel(),u=c.original,s=c.modified;this.props.original!==u.getValue()&&u.setValue(this.props.original),null!=this.props.value&&this.props.value!==s.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.modifiedEditor.pushUndoStop(),s.pushEditOperations([],[{range:s.getFullModelRange(),text:this.props.value}]),this.editor.modifiedEditor.pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==n&&(r.editor.setModelLanguage(u,n),r.editor.setModelLanguage(s,n)),e.theme!==o&&r.editor.setTheme(o),!this.editor||l===e.width&&a===e.height||this.editor.layout(),e.options!==i&&this.editor.updateOptions(i)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(r)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,r);var n=e.getModel().modified;this._subscription=n.onDidChangeContent((function(e){t.__prevent_trigger_change_event||t.props.onChange(n.getValue(),e)}))}},{key:"initModels",value:function(e,t){var n=this.props.language,o=r.editor.createModel(t,n),a=r.editor.createModel(e,n);this.editor.setModel({original:o,modified:a})}},{key:"initMonaco",value:function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.original,o=t.theme,a=t.options,i=t.overrideServices;this.containerElement&&(this.editorWillMount(),this.editor=r.editor.createDiffEditor(this.containerElement,f(f({},a),o?{theme:o}:{}),i),this.initModels(e,n),this.editorDidMount(this.editor))}},{key:"destroyMonaco",value:function(){if(this.editor){this.editor.dispose();var e=this.editor.getModel(),t=e.original,n=e.modified;t&&t.dispose(),n&&n.dispose()}this._subscription&&this._subscription.dispose()}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r={width:(0,i.processSize)(t),height:(0,i.processSize)(n)};return a.default.createElement("div",{ref:this.assignRef,style:r,className:"react-monaco-editor-container"})}}])&&d(t.prototype,n),o&&d(t,o),c}(a.default.Component);b.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),original:o.default.string,value:o.default.string,defaultValue:o.default.string,language:o.default.string,theme:o.default.string,options:o.default.object,overrideServices:o.default.object,editorDidMount:o.default.func,editorWillMount:o.default.func,onChange:o.default.func},b.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:i.noop,editorWillMount:i.noop,onChange:i.noop};var E=b;t.default=E},"5UXo":function(e,t,n){},"760K":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n("LvDl");var r,o=n("q1tI"),a=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.treeValuePath,n=e.returnUlr,r=e.returnMain,o=e.getPathUrl,i=e.identifier;return a.default.createElement("li",{className:"listtablepath"},a.default.createElement("p",null,a.default.createElement("a",{onClick:r,className:"color-blue"},i),t.map((function(e,r){return a.default.createElement(a.default.Fragment,null,r===t.length-1?a.default.createElement("span",{className:"color-grey-6 subFileName",key:r},e):a.default.createElement("a",{onClick:function(){return n(""+o(t,r+1))},className:"color-blue subFileName"},e))}))))}},BtkW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("W9HT")),o=h(n("2/Rp")),a=h(n("CtXQ")),i=h(n("9yH6")),l=h(n("Vl3Y")),c=h(n("5rEg")),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("L/Qf"),n("2oDE"),n("K4yd"),n("tULf"),n("1vPl");var s=n("q1tI"),f=h(s),d=n("sYIF"),p=n("eO8H");n("XmZk");var m=h(n("vDqi"));function h(e){return e&&e.__esModule?e:{default:e}}var y=c.default.TextArea;function v(e){return e&&e.length>0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e}function g(e){return e&&e.length>0&&e.indexOf("%2F")>-1?e.replaceAll("%2F","/"):e}var b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props.descName;e&&n.props.form.setFieldsValue({desc:e})},n.componentDidUpdate=function(e){var t=n.props.descName;e&&t&&e.descName!==t&&n.props.form.setFieldsValue({desc:t})},n.changeSubmittype=function(e){n.setState({submitType:e.target.value})},n.changeFileName=function(e){n.setState({filename:e.target.value})},n.subMitFrom=function(){var e=n.props,t=e.filepath,r=e.content,o=e.editor_type,a=n.props.match.params,i=a.branch,l=a.projectsId,c=a.owner,u=n.state,s=u.submitType,f=u.filename;n.setState({isSpin:!0});var d="upload"===o?t:t.substr(1);n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var o="/"+c+"/"+l+"/create_file.json";m.default.post(o,{filepath:f||d,branch:g(i),new_branch:"1"===s?t.branchname:void 0,content:r,message:t.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&e.data.name){if(n.props.showNotification("文件新建成功!"),"1"===s){var r=n.props,o=r.getTopCount,a=r.getDetail;o&&o(t.branchname),a&&a()}var u="/"+c+"/"+l+(t.branchname?"/tree/"+v(t.branchname):i?"/tree/"+v(i):"");n.props.history.push(u)}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}))},n.UpdateFile=function(){n.setState({isSpin:!0});var e=n.props,t=e.branch,r=e.detail,o=e.content,a=e.currentBranch,i=n.props.match.params,l=i.projectsId,c=i.owner,u=n.state.submitType,s="/"+c+"/"+l+"/update_file.json",f=a||t;n.props.form.validateFieldsAndScroll((function(e,i){e?n.setState({isSpin:!1}):m.default.put(s,{filepath:r.path,branch:"1"===u?void 0:g(f),new_branch:"1"===u?i.branchname:void 0,content:o,sha:r.sha,message:i.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&1===e.data.status){var r=a||t,o="/"+c+"/"+l+(i.branchname?"/tree/"+v(i.branchname):r?"/tree/"+v(r):"");n.props.history.push(o),n.props.showNotification("文件修改成功!")}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}))},n.state={submitType:"0",filename:"",isSpin:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.submitType,u=t.filename,s=t.isSpin,m=this.props.form.getFieldDecorator,h=this.props.match.params,v=h.branch,b=h.projectsId,E=h.owner,w=this.props,O=w.current_user,k=w.filepath,x=w.projectDetail,S=w.currentBranch,N=this.props.editor_type,C=S||v;return f.default.createElement("div",null,f.default.createElement("span",{className:"df",style:{alignItems:"center"}},f.default.createElement(p.Link,{to:"/"+(O&&O.login),className:"show-user-link"},f.default.createElement("img",{src:(0,d.getImageUrl)("/"+(O&&O.image_url)),alt:"",className:"screwImg"}),f.default.createElement("span",{className:"color-grey-3 ver-middle"},O&&O.username,":")),f.default.createElement("span",{className:"color-grey-8"},"提交变更")),f.default.createElement(r.default,{spinning:s},f.default.createElement("div",{className:"userScrew"},f.default.createElement("div",{className:"screwPanel"},f.default.createElement(l.default,null,f.default.createElement(l.default.Item,{style:{display:"upload"===N?"block":"none"}},m("path",{rules:[]})(f.default.createElement("div",{className:"setInputAddon"},f.default.createElement(c.default,{addonBefore:"/"+(x&&x.identifier)+"/",value:u||k,onChange:this.changeFileName,placeholder:"文件路径..."})))),f.default.createElement(l.default.Item,null,m("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(f.default.createElement(y,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),f.default.createElement(i.default.Group,{value:n,onChange:this.changeSubmittype},f.default.createElement(i.default,{value:"0",className:"mb10"},f.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",f.default.createElement("span",{className:"color-orange"},g(C)),"分支"),f.default.createElement(i.default,{value:"1"},f.default.createElement(a.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",f.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===n?f.default.createElement("div",{className:"mt15"},f.default.createElement(l.default.Item,{style:{paddingLeft:"24px"}},m("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(f.default.createElement(c.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),f.default.createElement("div",{className:"mt20"},f.default.createElement(o.default,{type:"primary",onClick:"update"===N?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),f.default.createElement(o.default,{type:"primary grey",onClick:function(){e.props.history.push("/"+E+"/"+b)},className:"mr20"},"取消"))))}}]),t}(s.Component),E=l.default.create({name:"UserSubmitForm"})(b);t.default=E},Eitf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n("JsLm")),o=y(n("NJEC")),a=y(n("jsC+")),i=y(n("2fM7")),l=y(n("W9HT")),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("mJp1"),n("k994"),n("aIZi"),n("8QGh"),n("04bd");var s=n("q1tI"),f=y(s);n("85A0");var d=y(n("vDqi")),p=y(n("R/Rt")),m=y(n("bjH3")),h=y(n("mJXK"));function y(e){return e&&e.__esModule?e:{default:e}}var v=window.$;var g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props,t=e.detail;e.mdFlag;n.setState({value:t.content}),n.languages_total()},n.componentDidUpdate=function(e){var t=(n.props&&n.props.detail).content,r=e.detail&&e.detail.content;t&&r&&r!==t&&n.setState({description:t})},n.languages_total=function(){var e=n.props.detail.path.split("/").pop().split(".").pop(),t=[],r="javascript",o={apex:["apex","apxc"],azcli:["azcli"],bat:["bat"],clojure:["clj"],coffee:["coffee"],cpp:["cpp"],csharp:["cs"],csp:["csp"],css:["css"],dockerfile:["dockerfile","docker","yml"],fsharp:["fs"],go:["go"],html:["html","htm","erb"],ini:["ini"],java:["java","class"],javascript:["js"],json:["json"],less:["less"],lua:["lua"],markdown:["markdown","md","rmd"],msdax:["dax"],mysql:["sql"],objective:["m","mm","o","out"],perl:["perl"],pgsql:["sql"],php:["php"],postiats:["postiats"],powerquery:[""],powershell:["ps1"],pug:["pug"],python:["py"],r:["r"],razor:["cshtml"],redis:["rdb"],ruby:["rb"],rust:["rs"],sb:["sb"],scheme:["scm","ss"],scss:["scss"],shell:["sh"],solidity:["sol"],sql:["sql"],st:["st"],swift:["swift"],typescript:["ts"],vb:["vbp","frm","frx","bas","cls"],xml:["xml"],yaml:["yml"]};for(var a in o){t.push(a),-1!==o[a].indexOf(e)&&(r=a)}n.setState({languages:t,language:r})},n.select_language=function(e){n.setState({language:e})},n.EditFile=function(e){var t=n.props.onEdit;t&&t(e)},n.DownLoadFile=function(e){var t="/attachments/entries/get_file?download_url="+e;window.open(t)},n.changeMmirror=function(e,t,r){n.setState({value:r})},n.deleteFile=function(){var e=n.props,t=e.branch,r=e.detail,o=n.props.match.params,a=o.projectsId,i=o.owner,l="/"+i+"/"+a+"/delete_file.json";d.default.delete(l,{params:{filepath:r.path,branch:t,sha:r.sha}}).then((function(e){e&&(n.props.showNotification("删除成功!"),n.props.history.push("/"+i+"/"+a))})).catch((function(e){console.log(e)}))},n.updateCode=function(e){n.setState({value:e})},n.onContentChange=function(e){n.setState({description:e})},n.renderMenulist=function(){return n.state.description?v.map(v("#files-md").find("h1,h2,h3,h4,h5,h6"),(function(e,t){var n=e.id,r=e.tagName.replace("H","");return{href:""+("#"+n),text:e.textContent,level:r}})):[]},n.menu=function(){var e=n.renderMenulist();return e&&e.length>0?f.default.createElement(h.default,{menuList:e,hash:n.props.history.location.hash}):f.default.createElement(l.default,null)},n.state={value:void 0,language:void 0,languages:void 0,description:e.detail.content,menuList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.readOnly,l=t.detail,u=t.current_user,s=t.isManager,d=t.isDeveloper,h=t.currentBranch,y=t.platform,v=t.md,g=t.type,b=this.state,E=b.language,w=b.languages,O=b.description,k=u&&u.login&&(s||d),x=i.default.Option;return f.default.createElement(f.default.Fragment,null,f.default.createElement(r.default,{className:"griditemAnchor",offsetTop:70,targetOffset:160},f.default.createElement("div",{className:"griditemCate"},v&&n&&f.default.createElement(a.default,{overlay:this.menu(),trigger:["hover"],overlayClassName:"menuslist"},f.default.createElement("span",{className:"catelogue mr20"},f.default.createElement("i",{className:"iconfont icon-muluicon font-12 mr5"}),f.default.createElement("span",null,"目录"))),f.default.createElement("span",{className:"color-grey-6 font-16"},function(e){if(0===e)return"0 B";var t=Math.floor(Math.log(e)/Math.log(1024));return(e/Math.pow(1024,t)).toFixed(2)+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][t]}(l&&l.size))),f.default.createElement("p",{className:"text-right"},k&&y&&f.default.createElement("div",null,n?f.default.createElement("span",null,l.direct_download?"":f.default.createElement("span",null,f.default.createElement("a",{onClick:function(){return e.DownLoadFile(l.download_url)},className:"ml20"},f.default.createElement("i",{className:"iconfont icon-xiazai1 font-15 color-grey-6"})),2!==g&&f.default.createElement("a",{onClick:function(){return e.EditFile(!1)},className:"ml20"},f.default.createElement("i",{className:"iconfont icon-bianji1 font-15 color-grey-6"})))):f.default.createElement(f.default.Fragment,null,f.default.createElement(i.default,{showSearch:!0,placeholder:"请选择文本语言",style:{width:200},value:E,onChange:this.select_language},f.default.createElement(x,{value:void 0},"请选择文本语言"),w&&w.map((function(e,t){return f.default.createElement(x,{value:e,key:t},e)}))),f.default.createElement("button",{type:"button",className:"ant-btn ant-btn-sm ml20",onClick:function(){return e.EditFile(!0)}},f.default.createElement("span",null,"取 消"))),2!==g&&f.default.createElement(o.default,{title:"确认删除这个文件?",className:"ml20",okText:"确定",cancelText:"取消",onConfirm:this.deleteFile},f.default.createElement("a",null,f.default.createElement("i",{className:"iconfont icon-shanchu font-15 color-grey-6"})))))),f.default.createElement("div",null,l.image_type?f.default.createElement("div",{className:"edu-txt-center pt20 pb20"},f.default.createElement("img",{alt:"",src:l.download_url,style:{maxWidth:"80%"}})):l.direct_download?f.default.createElement("div",{className:"mt20 text-center"},f.default.createElement("a",{href:l.download_url,className:"color-blue font-15"},"下载原始文件")):v&&n?f.default.createElement("div",{className:"files-md",id:"files-md"},f.default.createElement(m.default,{className:"file-md imageLayerParent",value:O,url:this.props.history.location})):f.default.createElement(p.default,c({},this.props,this.state,{language:E||"javascript",filepath:"/"+l.path,content:O,readOnly:n,editorType:"update",currentBranch:h,descName:l&&"Update "+l.name}))))}}]),t}(s.Component);t.default=g},FRFo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n("3S7+")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ");var a=n("q1tI"),i=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=e.beforeText,n=e.afterText,l=e.className,c=e.inputId,u=e.timeOut,s=(0,a.useState)((function(){return t})),f=o(s,2),d=f[0],p=f[1],m=(0,a.useCallback)((function(){var e=document.querySelector("#"+c);e?(e.select(),document.execCommand("copy")&&document.execCommand("copy"),document.getSelection().removeAllRanges(),p(n),u&&setTimeout((function(){p(t)}),1500)):console.error("您的CopyTool未设置正确的inputId")}),[]);return i.default.createElement(r.default,{placement:"top",title:d,onVisibleChange:function(){p(t)}},i.default.createElement("i",{className:"iconfont icon-fuzhiicon "+l,style:{color:"#466aff"},onClick:m}))}c.defaultProps={beforeText:"复制链接",afterText:"复制成功",className:"",inputId:"copyText",timeOut:!0},t.default=(0,a.memo)(c)},JsLm:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("i8i4"),a=n("17x9"),i=n("TSYQ"),l=n.n(i),c=n("zT1h"),u=n("VCL8"),s=n("BGR+"),f=n("t23M"),d=n.n(f),p=n("H84U"),m=n("61SU"),h=n.n(m);function y(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(){return function(e,t,n){var r=n.value,o=!1;return{configurable:!0,get:function(){if(o||this===e.prototype||this.hasOwnProperty(t))return r;var n=function(e){var t,n=function(n){return function(){t=null,e.apply(void 0,y(n))}},r=function(){if(null==t){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];t=h()(n(r))}};return r.cancel=function(){return h.a.cancel(t)},r}(r.bind(this));return o=!0,Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),o=!1,n}}}}var b=n("6CfX");function E(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function w(e,t,n){if(void 0!==n&&t.top>e.top-n)return n+t.top}function O(e,t,n){if(void 0!==n&&t.bottom<e.bottom+n)return n+(window.innerHeight-t.bottom)}var k=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],x=[];function S(e,t){if(e){var n=x.find((function(t){return t.target===e}));n?n.affixList.push(t):(n={target:e,affixList:[t],eventHandlers:{}},x.push(n),k.forEach((function(t){n.eventHandlers[t]=Object(c.a)(e,t,(function(){n.affixList.forEach((function(e){e.lazyUpdatePosition()}))}))})))}}function N(e){var t=x.find((function(t){var n=t.affixList.some((function(t){return t===e}));return n&&(t.affixList=t.affixList.filter((function(t){return t!==e}))),n}));t&&0===t.affixList.length&&(x=x.filter((function(e){return e!==t})),k.forEach((function(e){var n=t.eventHandlers[e];n&&n.remove&&n.remove()})))}function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var o=K(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return M(this,n)}}function M(e,t){return!t||"object"!==L(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var I,A=function(e,t,n,r){var o,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":L(Reflect))&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(i=(a<3?o(i):a>3?o(t,n,i):o(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i};!function(e){e[e.None=0]="None",e[e.Prepare=1]="Prepare"}(I||(I={}));var R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(i,e);var t,n,o,a=T(i);function i(){var e;return _(this,i),(e=a.apply(this,arguments)).state={status:I.None,lastAffix:!1,prevTarget:null},e.getOffsetTop=function(){var t=e.props,n=t.offset,r=t.offsetBottom,o=e.props.offsetTop;return void 0===o&&(o=n,Object(b.a)(void 0===n,"Affix","`offset` is deprecated. Please use `offsetTop` instead.")),void 0===r&&void 0===o&&(o=0),o},e.getOffsetBottom=function(){return e.props.offsetBottom},e.savePlaceholderNode=function(t){e.placeholderNode=t},e.saveFixedNode=function(t){e.fixedNode=t},e.measure=function(){var t=e.state,n=t.status,r=t.lastAffix,o=e.props,a=o.target,i=o.onChange;if(n===I.Prepare&&e.fixedNode&&e.placeholderNode&&a){var l=e.getOffsetTop(),c=e.getOffsetBottom(),u=a();if(u){var s={status:I.None},f=E(u),d=E(e.placeholderNode),p=w(d,f,l),m=O(d,f,c);void 0!==p?(s.affixStyle={position:"fixed",top:p,width:d.width,height:d.height},s.placeholderStyle={width:d.width,height:d.height}):void 0!==m&&(s.affixStyle={position:"fixed",bottom:m,width:d.width,height:d.height},s.placeholderStyle={width:d.width,height:d.height}),s.lastAffix=!!s.affixStyle,i&&r!==s.lastAffix&&i(s.lastAffix),e.setState(s)}}},e.prepareMeasure=function(){e.setState({status:I.Prepare,affixStyle:void 0,placeholderStyle:void 0})},e.renderAffix=function(t){var n=t.getPrefixCls,o=e.state,a=o.affixStyle,i=o.placeholderStyle,c=e.props,u=c.prefixCls,f=c.children,p=l()(j({},n("affix",u),a)),m=Object(s.a)(e.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return r.createElement(d.a,{onResize:function(){e.updatePosition()}},r.createElement("div",C({},m,{ref:e.savePlaceholderNode}),a&&r.createElement("div",{style:i,"aria-hidden":"true"}),r.createElement("div",{className:p,ref:e.saveFixedNode,style:a},r.createElement(d.a,{onResize:function(){e.updatePosition()}},f))))},e}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this,t=this.props.target;t&&(this.timeout=setTimeout((function(){S(t(),e),e.updatePosition()})))}},{key:"componentDidUpdate",value:function(e){var t=this.state.prevTarget,n=this.props.target,r=null;n&&(r=n()||null),t!==r&&(N(this),r&&(S(r,this),this.updatePosition()),this.setState({prevTarget:r})),e.offsetTop===this.props.offsetTop&&e.offsetBottom===this.props.offsetBottom||this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),N(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var e=this.props.target,t=this.state.affixStyle;if(e&&t){var n=this.getOffsetTop(),r=this.getOffsetBottom(),o=e();if(o&&this.placeholderNode){var a=E(o),i=E(this.placeholderNode),l=w(i,a,n),c=O(i,a,r);if(void 0!==l&&t.top===l||void 0!==c&&t.bottom===c)return}}this.prepareMeasure()}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderAffix)}}])&&P(t.prototype,n),o&&P(t,o),i}(r.Component);R.defaultProps={target:function(){return"undefined"!=typeof window?window:null}},A([g()],R.prototype,"updatePosition",null),A([g()],R.prototype,"lazyUpdatePosition",null),Object(u.polyfill)(R);var B=R,H=n("zAh6"),F=n("i6bk");function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Z(e);if(t){var o=Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return J(this,n)}}function J(e,t){return!t||"object"!==U(t)&&"function"!=typeof t?Y(e):t}function Y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function G(e,t){if(!e)return 0;if(!e.getClientRects().length)return 0;var n=e.getBoundingClientRect();return n.width||n.height?t===window?(t=e.ownerDocument.documentElement,n.top-t.clientTop):n.top-t.getBoundingClientRect().top:n.top}var Q=/#([^#]+)$/,$=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V(e,t)}(u,e);var t,n,a,i=X(u);function u(){var e;return z(this,u),(e=i.apply(this,arguments)).state={activeLink:null},e.links=[],e.handleScrollTo=function(t){var n=e.props,r=n.offsetTop,o=n.getContainer,a=n.targetOffset;e.setCurrentActiveLink(t);var i=o(),l=Object(F.a)(i,!0),c=Q.exec(t);if(c){var u=document.getElementById(c[1]);if(u){var s=l+G(u,i);s-=void 0!==a?a:r||0,e.animating=!0,Object(H.a)(s,{callback:function(){e.animating=!1},getContainer:o})}}},e.saveInkNode=function(t){e.inkNode=t},e.setCurrentActiveLink=function(t){var n=e.state.activeLink,r=e.props.onChange;n!==t&&(e.setState({activeLink:t}),r&&r(t))},e.handleScroll=function(){if(!e.animating){var t=e.props,n=t.offsetTop,r=t.bounds,o=t.targetOffset,a=e.getCurrentAnchor(void 0!==o?o:n||0,r);e.setCurrentActiveLink(a)}},e.updateInk=function(){if("undefined"!=typeof document){var t=Y(e).prefixCls,n=o.findDOMNode(Y(e)).getElementsByClassName("".concat(t,"-link-title-active"))[0];n&&(e.inkNode.style.top="".concat(n.offsetTop+n.clientHeight/2-4.5,"px"))}},e.renderAnchor=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,i=o.className,c=void 0===i?"":i,u=o.style,s=o.offsetTop,f=o.affix,d=o.showInkInFixed,p=o.children,m=o.getContainer,h=e.state.activeLink,y=n("anchor",a);e.prefixCls=y;var v=l()("".concat(y,"-ink-ball"),{visible:h}),g=l()(c,"".concat(y,"-wrapper")),b=l()(y,{fixed:!f&&!d}),E=W({maxHeight:s?"calc(100vh - ".concat(s,"px)"):"100vh"},u),w=r.createElement("div",{className:g,style:E},r.createElement("div",{className:b},r.createElement("div",{className:"".concat(y,"-ink")},r.createElement("span",{className:v,ref:e.saveInkNode})),p));return f?r.createElement(B,{offsetTop:s,target:m},w):w},e}return t=u,(n=[{key:"getChildContext",value:function(){var e=this;return{antAnchor:{registerLink:function(t){e.links.includes(t)||e.links.push(t)},unregisterLink:function(t){var n=e.links.indexOf(t);-1!==n&&e.links.splice(n,1)},activeLink:this.state.activeLink,scrollTo:this.handleScrollTo,onClick:this.props.onClick}}}},{key:"componentDidMount",value:function(){var e=this.props.getContainer;this.scrollContainer=e(),this.scrollEvent=Object(c.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var e=(0,this.props.getContainer)();this.scrollContainer!==e&&(this.scrollContainer=e,this.scrollEvent.remove(),this.scrollEvent=Object(c.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=this.props.getCurrentAnchor;if("function"==typeof n)return n();var r="";if("undefined"==typeof document)return r;var o=[],a=this.props.getContainer,i=a();if(this.links.forEach((function(n){var r=Q.exec(n.toString());if(r){var a=document.getElementById(r[1]);if(a){var l=G(a,i);l<e+t&&o.push({link:n,top:l})}}})),o.length){var l=o.reduce((function(e,t){return t.top>e.top?t:e}));return l.link}return""}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderAnchor)}}])&&q(t.prototype,n),a&&q(t,a),u}(r.Component);function ee(e){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=le(e);if(t){var o=le(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ie(this,n)}}function ie(e,t){return!t||"object"!==ee(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}$.defaultProps={affix:!0,showInkInFixed:!1,getContainer:function(){return window}},$.childContextTypes={antAnchor:a.object};var ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oe(e,t)}(i,e);var t,n,o,a=ae(i);function i(){var e;return ne(this,i),(e=a.apply(this,arguments)).handleClick=function(t){var n=e.context.antAnchor,r=n.scrollTo,o=n.onClick,a=e.props,i=a.href,l=a.title;o&&o(t,{title:l,href:i}),r(i)},e.renderAnchorLink=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,i=o.href,c=o.title,u=o.children,s=o.className,f=o.target,d=n("anchor",a),p=e.context.antAnchor.activeLink===i,m=l()(s,"".concat(d,"-link"),te({},"".concat(d,"-link-active"),p)),h=l()("".concat(d,"-link-title"),te({},"".concat(d,"-link-title-active"),p));return r.createElement("div",{className:m},r.createElement("a",{className:h,href:i,title:"string"==typeof c?c:"",target:f,onClick:e.handleClick},c),u)},e}return t=i,(n=[{key:"componentDidMount",value:function(){this.context.antAnchor.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(e){var t=e.href,n=this.props.href;t!==n&&(this.context.antAnchor.unregisterLink(t),this.context.antAnchor.registerLink(n))}},{key:"componentWillUnmount",value:function(){this.context.antAnchor.unregisterLink(this.props.href)}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderAnchorLink)}}])&&re(t.prototype,n),o&&re(t,o),i}(r.Component);ce.defaultProps={href:"#"},ce.contextTypes={antAnchor:a.object},Object(u.polyfill)(ce);var ue=ce;$.Link=ue;t.default=$},JwdM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.processSize=function(e){return/^\d+$/.test(e)?"".concat(e,"px"):e},t.noop=function(){}},KhU6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("/wGt")),o=s(n("W9HT")),a=s(n("MJZm")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("Re5i"),n("04bd"),n("dlhN");var l=n("q1tI"),c=s(l);n("KkuB");var u=s(n("vDqi"));function s(e){return e&&e.__esModule?e:{default:e}}var f=a.default.TreeNode,d=a.default.DirectoryTree;t.default=function(e){var t=e.visible,n=e.onClose,a=e.branch,s=e.owner,p=e.projectsId,m=e.history,h=e.name,y=e.list,v=(0,l.useState)(void 0),g=i(v,2),b=g[0],E=g[1],w=(0,l.useState)(!0),O=i(w,2),k=O[0],x=O[1],S=(0,l.useState)(!0),N=i(S,2),C=N[0],j=N[1];return(0,l.useEffect)((function(){var e;t&&C&&(y?(E(y),x(!1)):(e="/"+s+"/"+p+"/entries.json",u.default.get(e,{params:{ref:a}}).then((function(e){e&&E(e.data.entries),x(!1)})).catch((function(e){}))),j(!1))}),[t]),c.default.createElement(r.default,{placement:"left",visible:t,closable:!1,onClose:n,width:"320px",maskStyle:{backgroundColor:"rgba(0,0,0,0.09)"}},c.default.createElement(o.default,{spinning:k},c.default.createElement("div",{className:"drawerHead"},c.default.createElement("p",{className:"font-20"},h),c.default.createElement("p",null,c.default.createElement("i",{class:"iconfont icon-fenzhi2 font-18 color-grey-9 mr3"}),a)),c.default.createElement(d,{loadData:function(e){return new Promise((function(t){if(e.props.children)t();else{var n=[],r="/"+s+"/"+p+"/sub_entries.json";u.default.get(r,{params:{filepath:e.props.dataRef.path,ref:a,type:"dir"}}).then((function(e){e&&(n=e.data.entries)})).catch((function(e){})),setTimeout((function(){e.props.dataRef.children=n,E([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(b))),t()}),2e3)}}))},onSelect:function(e,t){var r,o=t.node.props.dataRef;if("file"===o.type){n();var i=(r=a)&&r.length>0&&r.indexOf("/")>-1?r.replaceAll("/","%2F"):r;m.push("/"+s+"/"+p+"/tree/"+i+"/"+o.path)}}},b&&function e(t){return t&&t.length>0&&t.map((function(t){return c.default.createElement(f,{title:t.name,key:t.key,dataRef:t,isLeaf:"file"===t.type},e(t.children))}))}(b))))}},KusB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("q1tI"),a=(r=o)&&r.__esModule?r:{default:r},i=n("eO8H"),l=n("PhNK");var c={submodule:"icon-file-submodule font-17",file:"icon-wenjian6 font-15 color-blue-file",dir:"icon-wenjianjia4 font-15 color-blue_4C"};t.default=function(e){var t=e.item,n=e.goToSubRoot,r=e.owner,o=e.projectsId;return a.default.createElement("li",null,a.default.createElement("span",null,a.default.createElement("a",{onClick:function(){return n(t.path,t.type,t.name)},className:"submodule"===t.type&&"submoduleStyle"},a.default.createElement("i",{className:"iconfont "+c[""+t.type]+" mr8"}),t.name)),a.default.createElement("span",{title:"init project"},a.default.createElement(i.Link,{to:"/"+r+"/"+o+"/commits/"+(0,l.truncateCommitId)(""+(t.commit&&t.commit.sha)),title:t.commit&&t.commit.message},t.commit&&t.commit.message)),a.default.createElement("span",{title:t.commit&&t.commit.created_at},t.commit&&t.commit.time_from_now))}},MJZm:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n.n(a),l=n("TSYQ"),c=n.n(l),u=n("2W6z"),s=n.n(u),f=n("Zm9Q"),d=n("VCL8"),p=n("foW8"),m=n.n(p)()(null),h=n("lCnp");function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?S(e):t}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=C(t);if(N()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return x(this,e)});function l(){var e;return w(this,l),(e=i.apply(this,arguments)).state={dragNodeHighlight:!1},e.onSelectorClick=function(t){(0,e.props.context.onNodeClick)(t,S(e)),e.isSelectable()?e.onSelect(t):e.onCheck(t)},e.onSelectorDoubleClick=function(t){(0,e.props.context.onNodeDoubleClick)(t,S(e))},e.onSelect=function(t){if(!e.isDisabled()){var n=e.props.context.onNodeSelect;t.preventDefault(),n(t,S(e))}},e.onCheck=function(t){if(!e.isDisabled()){var n=e.props,r=n.disableCheckbox,o=n.checked,a=e.props.context.onNodeCheck;if(e.isCheckable()&&!r){t.preventDefault();var i=!o;a(t,S(e),i)}}},e.onMouseEnter=function(t){(0,e.props.context.onNodeMouseEnter)(t,S(e))},e.onMouseLeave=function(t){(0,e.props.context.onNodeMouseLeave)(t,S(e))},e.onContextMenu=function(t){(0,e.props.context.onNodeContextMenu)(t,S(e))},e.onDragStart=function(t){var n=e.props.context.onNodeDragStart;t.stopPropagation(),e.setState({dragNodeHighlight:!0}),n(t,S(e));try{t.dataTransfer.setData("text/plain","")}catch(e){}},e.onDragEnter=function(t){var n=e.props.context.onNodeDragEnter;t.preventDefault(),t.stopPropagation(),n(t,S(e))},e.onDragOver=function(t){var n=e.props.context.onNodeDragOver;t.preventDefault(),t.stopPropagation(),n(t,S(e))},e.onDragLeave=function(t){var n=e.props.context.onNodeDragLeave;t.stopPropagation(),n(t,S(e))},e.onDragEnd=function(t){var n=e.props.context.onNodeDragEnd;t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,S(e))},e.onDrop=function(t){var n=e.props.context.onNodeDrop;t.preventDefault(),t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,S(e))},e.onExpand=function(t){(0,e.props.context.onNodeExpand)(t,S(e))},e.setSelectHandle=function(t){e.selectHandle=t},e.getNodeChildren=function(){var t=e.props.children,n=Object(f.a)(t).filter((function(e){return e})),r=H(n);return n.length!==r.length&&K(),r},e.getNodeState=function(){var t=e.props.expanded;return e.isLeaf()?null:t?"open":"close"},e.isLeaf=function(){var t=e.props,n=t.isLeaf,r=t.loaded,o=e.props.context.loadData,a=0!==e.getNodeChildren().length;return!1!==n&&(n||!o&&!a||o&&r&&!a)},e.isDisabled=function(){var t=e.props.disabled,n=e.props.context.disabled;return!1!==t&&!(!n&&!t)},e.isCheckable=function(){var t=e.props.checkable,n=e.props.context.checkable;return!(!n||!1===t)&&n},e.syncLoadData=function(t){var n=t.expanded,r=t.loading,o=t.loaded,a=e.props.context,i=a.loadData,l=a.onNodeLoad;r||i&&n&&!e.isLeaf()&&(0!==e.getNodeChildren().length||o||l(S(e)))},e.renderSwitcher=function(){var t=e.props,n=t.expanded,o=t.switcherIcon,a=e.props.context,i=a.prefixCls,l=a.switcherIcon,u=o||l;if(e.isLeaf())return r.createElement("span",{className:c()("".concat(i,"-switcher"),"".concat(i,"-switcher-noop"))},"function"==typeof u?u(b({},e.props,{isLeaf:!0})):u);var s=c()("".concat(i,"-switcher"),"".concat(i,"-switcher_").concat(n?"open":"close"));return r.createElement("span",{onClick:e.onExpand,className:s},"function"==typeof u?u(b({},e.props,{isLeaf:!1})):u)},e.renderCheckbox=function(){var t=e.props,n=t.checked,o=t.halfChecked,a=t.disableCheckbox,i=e.props.context.prefixCls,l=e.isDisabled(),u=e.isCheckable();if(!u)return null;var s="boolean"!=typeof u?u:null;return r.createElement("span",{className:c()("".concat(i,"-checkbox"),n&&"".concat(i,"-checkbox-checked"),!n&&o&&"".concat(i,"-checkbox-indeterminate"),(l||a)&&"".concat(i,"-checkbox-disabled")),onClick:e.onCheck},s)},e.renderIcon=function(){var t=e.props.loading,n=e.props.context.prefixCls;return r.createElement("span",{className:c()("".concat(n,"-iconEle"),"".concat(n,"-icon__").concat(e.getNodeState()||"docu"),t&&"".concat(n,"-icon_loading"))})},e.renderSelector=function(){var t,n=e.state.dragNodeHighlight,o=e.props,a=o.title,i=o.selected,l=o.icon,u=o.loading,s=e.props.context,f=s.prefixCls,d=s.showIcon,p=s.icon,m=s.draggable,h=s.loadData,y=e.isDisabled(),v="".concat(f,"-node-content-wrapper");if(d){var g=l||p;t=g?r.createElement("span",{className:c()("".concat(f,"-iconEle"),"".concat(f,"-icon__customize"))},"function"==typeof g?g(e.props):g):e.renderIcon()}else h&&u&&(t=e.renderIcon());var b=r.createElement("span",{className:"".concat(f,"-title")},a);return r.createElement("span",{ref:e.setSelectHandle,title:"string"==typeof a?a:"",className:c()("".concat(v),"".concat(v,"-").concat(e.getNodeState()||"normal"),!y&&(i||n)&&"".concat(f,"-node-selected"),!y&&m&&"draggable"),draggable:!y&&m||void 0,"aria-grabbed":!y&&m||void 0,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onContextMenu:e.onContextMenu,onClick:e.onSelectorClick,onDoubleClick:e.onSelectorDoubleClick,onDragStart:m?e.onDragStart:void 0},t,b)},e.renderChildren=function(){var t=e.props,n=t.expanded,o=t.pos,a=e.props.context,i=a.prefixCls,l=a.motion,u=a.renderTreeNode,s=e.getNodeChildren();return 0===s.length?null:r.createElement(h.a,Object.assign({visible:n},l),(function(e){var t=e.style,a=e.className;return r.createElement("ul",{className:c()(a,"".concat(i,"-child-tree"),n&&"".concat(i,"-child-tree-open")),style:t,"data-expanded":n,role:"group"},W(s,(function(e,t){return u(e,t,o)})))}))},e}return n=l,(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.eventKey,n=e.context.registerTreeNode;this.syncLoadData(this.props),n(t,this)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.eventKey;(0,e.context.registerTreeNode)(t,null)}},{key:"isSelectable",value:function(){var e=this.props.selectable,t=this.props.context.selectable;return"boolean"==typeof e?e:t}},{key:"render",value:function(){var e,t=this.props.loading,n=this.props,o=n.className,a=n.style,i=n.dragOver,l=n.dragOverGapTop,u=n.dragOverGapBottom,s=n.isLeaf,f=n.expanded,d=n.selected,p=n.checked,m=n.halfChecked,h=v(n,["className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","expanded","selected","checked","halfChecked"]),y=this.props.context,g=y.prefixCls,b=y.filterTreeNode,w=y.draggable,O=this.isDisabled(),k=$(h);return r.createElement("li",Object.assign({className:c()(o,(e={},E(e,"".concat(g,"-treenode-disabled"),O),E(e,"".concat(g,"-treenode-switcher-").concat(f?"open":"close"),!s),E(e,"".concat(g,"-treenode-checkbox-checked"),p),E(e,"".concat(g,"-treenode-checkbox-indeterminate"),m),E(e,"".concat(g,"-treenode-selected"),d),E(e,"".concat(g,"-treenode-loading"),t),E(e,"drag-over",!O&&i),E(e,"drag-over-gap-top",!O&&l),E(e,"drag-over-gap-bottom",!O&&u),E(e,"filter-node",b&&b(this)),e)),style:a,role:"treeitem",onDragEnter:w?this.onDragEnter:void 0,onDragOver:w?this.onDragOver:void 0,onDragLeave:w?this.onDragLeave:void 0,onDrop:w?this.onDrop:void 0,onDragEnd:w?this.onDragEnd:void 0},k),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector(),this.renderChildren())}}])&&O(n.prototype,o),a&&O(n,a),l}(r.Component);j.propTypes={eventKey:i.a.string,prefixCls:i.a.string,className:i.a.string,style:i.a.object,onSelect:i.a.func,expanded:i.a.bool,selected:i.a.bool,checked:i.a.bool,loaded:i.a.bool,loading:i.a.bool,halfChecked:i.a.bool,children:i.a.node,title:i.a.node,pos:i.a.string,dragOver:i.a.bool,dragOverGapTop:i.a.bool,dragOverGapBottom:i.a.bool,isLeaf:i.a.bool,checkable:i.a.bool,selectable:i.a.bool,disabled:i.a.bool,disableCheckbox:i.a.bool,icon:i.a.oneOfType([i.a.node,i.a.func]),switcherIcon:i.a.oneOfType([i.a.node,i.a.func])},Object(d.polyfill)(j);var _=function(e){return r.createElement(m.Consumer,null,(function(t){return r.createElement(j,Object.assign({},e,{context:t}))}))};_.defaultProps={title:"---"},_.isTreeNode=1;var P=_;function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var M=!1;function K(){M||(M=!0,s()(!1,"Tree only accept TreeNode as children."))}function L(e,t){var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function I(e,t){var n=e.slice();return-1===n.indexOf(t)&&n.push(t),n}function A(e){return e.split("-")}function R(e,t){return"".concat(e,"-").concat(t)}function B(e){return e&&e.type&&e.type.isTreeNode}function H(e){return Object(f.a)(e).filter(B)}function F(e){var t=e.props||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!(!n&&!r)||!1===o}function U(e,t){!function n(o,a,i){var l=o?o.props.children:e,c=o?R(i.pos,a):0,u=H(l);if(o){var s={node:o,index:a,pos:c,key:o.key||c,parentPos:i.node?i.pos:null};t(s)}r.Children.forEach(u,(function(e,t){n(e,t,{node:o,pos:c})}))}(null)}function W(e,t){var n=Object(f.a)(e).map(t);return 1===n.length?n[0]:n}function z(e,t){var n=t.props,r=n.eventKey,o=n.pos,a=[];return U(e,(function(e){var t=e.key;a.push(t)})),a.push(r||o),a}function q(e,t){var n=e.clientY,r=t.selectHandle.getBoundingClientRect(),o=r.top,a=r.bottom,i=r.height,l=Math.max(.25*i,2);return n<=o+l?-1:n>=a-l?1:0}function V(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function X(e){return e?e.map((function(e){return String(e)})):e}var J=function(e){return e};function Y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,a={},i={},l={posEntities:a,keyEntities:i};return n&&(l=n(l)||l),U(e,(function(e){var t=e.node,n=e.index,o=e.pos,c=e.key,u=e.parentPos,s={node:t,index:n,key:c,pos:o};a[o]=s,i[c]=s,s.parent=a[u],s.parent&&(s.parent.children=s.parent.children||[],s.parent.children.push(s)),r&&r(s,l)})),o&&o(l),l}function Z(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==D(e))return s()(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t.checkedKeys=X(t.checkedKeys),t.halfCheckedKeys=X(t.halfCheckedKeys),t}function G(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={},a={};function i(e){if(o[e]!==t){var r=n[e];if(r){var l=r.children,c=r.parent;if(!F(r.node)){var u=!0,s=!1;(l||[]).filter((function(e){return!F(e.node)})).forEach((function(e){var t=e.key,n=o[t],r=a[t];(n||r)&&(s=!0),n||(u=!1)})),o[e]=!!t&&u,a[e]=s,c&&i(c.key)}}}}function l(e){if(o[e]!==t){var r=n[e];if(r){var a=r.children;F(r.node)||(o[e]=t,(a||[]).forEach((function(e){l(e.key)})))}}}function c(e){var r=n[e];if(r){var a=r.children,c=r.parent,u=r.node;o[e]=t,F(u)||((a||[]).filter((function(e){return!F(e.node)})).forEach((function(e){l(e.key)})),c&&i(c.key))}else s()(!1,"'".concat(e,"' does not exist in the tree."))}(r.checkedKeys||[]).forEach((function(e){o[e]=!0})),(r.halfCheckedKeys||[]).forEach((function(e){a[e]=!0})),(e||[]).forEach((function(e){c(e)}));var u=[],f=[];return Object.keys(o).forEach((function(e){o[e]&&u.push(e)})),Object.keys(a).forEach((function(e){!o[e]&&a[e]&&f.push(e)})),{checkedKeys:u,halfCheckedKeys:f}}function Q(e,t){var n={};return(e||[]).forEach((function(e){!function e(r){if(!n[r]){var o=t[r];if(o){n[r]=!0;var a=o.parent,i=o.node;i.props&&i.props.disabled||a&&e(a.key)}}}(e)})),Object.keys(n)}function $(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)||(t[n]=e[n]),t}),{})}function ee(e){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function re(e,t){return(re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oe(e,t){return!t||"object"!==ee(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ae(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var le=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&re(e,t)}(u,e);var t,n,a,i,l=(t=u,function(){var e,n=ie(t);if(ae()){var r=ie(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return oe(this,e)});function u(){var e;return te(this,u),(e=l.apply(this,arguments)).domTreeNodes={},e.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeNode:[],prevProps:null},e.onNodeDragStart=function(t,n){var r=e.state.expandedKeys,o=e.props.onDragStart,a=n.props,i=a.eventKey,l=a.children;e.dragNode=n,e.setState({dragNodesKeys:z(l,n),expandedKeys:L(r,i)}),o&&o({event:t,node:n})},e.onNodeDragEnter=function(t,n){var r=e.state,o=r.expandedKeys,a=r.dragNodesKeys,i=e.props.onDragEnter,l=n.props,c=l.pos,u=l.eventKey;if(e.dragNode&&-1===a.indexOf(u)){var s=q(t,n);e.dragNode.props.eventKey!==u||0!==s?setTimeout((function(){e.setState({dragOverNodeKey:u,dropPosition:s}),e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach((function(t){clearTimeout(e.delayedDragEnterLogic[t])})),e.delayedDragEnterLogic[c]=window.setTimeout((function(){var r=I(o,u);"expandedKeys"in e.props||e.setState({expandedKeys:r}),i&&i({event:t,node:n,expandedKeys:r})}),400)}),0):e.setState({dragOverNodeKey:"",dropPosition:null})}},e.onNodeDragOver=function(t,n){var r=e.state.dragNodesKeys,o=e.props.onDragOver,a=n.props.eventKey;if(-1===r.indexOf(a)){if(e.dragNode&&a===e.state.dragOverNodeKey){var i=q(t,n);if(i===e.state.dropPosition)return;e.setState({dropPosition:i})}o&&o({event:t,node:n})}},e.onNodeDragLeave=function(t,n){var r=e.props.onDragLeave;e.setState({dragOverNodeKey:""}),r&&r({event:t,node:n})},e.onNodeDragEnd=function(t,n){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:""}),r&&r({event:t,node:n}),e.dragNode=null},e.onNodeDrop=function(t,n){var r=e.state,o=r.dragNodesKeys,a=void 0===o?[]:o,i=r.dropPosition,l=e.props.onDrop,c=n.props,u=c.eventKey,f=c.pos;if(e.setState({dragOverNodeKey:""}),-1===a.indexOf(u)){var d=A(f),p={event:t,node:n,dragNode:e.dragNode,dragNodesKeys:a.slice(),dropPosition:i+Number(d[d.length-1]),dropToGap:!1};0!==i&&(p.dropToGap=!0),l&&l(p),e.dragNode=null}else s()(!1,"Can not drop to dragNode(include it's children node)")},e.onNodeClick=function(t,n){var r=e.props.onClick;r&&r(t,n)},e.onNodeDoubleClick=function(t,n){var r=e.props.onDoubleClick;r&&r(t,n)},e.onNodeSelect=function(t,n){var r=e.state.selectedKeys,o=e.state.keyEntities,a=e.props,i=a.onSelect,l=a.multiple,c=n.props,u=c.selected,s=c.eventKey,f=!u,d=(r=f?l?I(r,s):[s]:L(r,s)).map((function(e){var t=o[e];return t?t.node:null})).filter((function(e){return e}));e.setUncontrolledState({selectedKeys:r}),i&&i(r,{event:"select",selected:f,node:n,selectedNodes:d,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,r){var o,a=e.state,i=a.keyEntities,l=a.checkedKeys,c=a.halfCheckedKeys,u=e.props,s=u.checkStrictly,f=u.onCheck,d=n.props.eventKey,p={event:"check",node:n,checked:r,nativeEvent:t.nativeEvent};if(s){var m=r?I(l,d):L(l,d);o={checked:m,halfChecked:L(c,d)},p.checkedNodes=m.map((function(e){return i[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:m})}else{var h=G([d],r,i,{checkedKeys:l,halfCheckedKeys:c}),y=h.checkedKeys,v=h.halfCheckedKeys;o=y,p.checkedNodes=[],p.checkedNodesPositions=[],p.halfCheckedKeys=v,y.forEach((function(e){var t=i[e];if(t){var n=t.node,r=t.pos;p.checkedNodes.push(n),p.checkedNodesPositions.push({node:n,pos:r})}})),e.setUncontrolledState({checkedKeys:y,halfCheckedKeys:v})}f&&f(o,p)},e.onNodeLoad=function(t){return new Promise((function(n){e.setState((function(r){var o=r.loadedKeys,a=void 0===o?[]:o,i=r.loadingKeys,l=void 0===i?[]:i,c=e.props,u=c.loadData,s=c.onLoad,f=t.props.eventKey;return u&&-1===a.indexOf(f)&&-1===l.indexOf(f)?(u(t).then((function(){var r=e.state,o=r.loadedKeys,a=r.loadingKeys,i=I(o,f),l=L(a,f);s&&s(i,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:i}),e.setState({loadingKeys:l}),n()})),{loadingKeys:I(l,f)}):{}}))}))},e.onNodeExpand=function(t,n){var r=e.state.expandedKeys,o=e.props,a=o.onExpand,i=o.loadData,l=n.props,c=l.eventKey,u=l.expanded,f=r.indexOf(c),d=!u;if(s()(u&&-1!==f||!u&&-1===f,"Expand state not sync with index check"),r=d?I(r,c):L(r,c),e.setUncontrolledState({expandedKeys:r}),a&&a(r,{node:n,expanded:d,nativeEvent:t.nativeEvent}),d&&i){var p=e.onNodeLoad(n);return p?p.then((function(){e.setUncontrolledState({expandedKeys:r})})):null}return null},e.onNodeMouseEnter=function(t,n){var r=e.props.onMouseEnter;r&&r({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var r=e.props.onMouseLeave;r&&r({event:t,node:n})},e.onNodeContextMenu=function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))},e.setUncontrolledState=function(t){var n=!1,r={};Object.keys(t).forEach((function(o){o in e.props||(n=!0,r[o]=t[o])})),n&&e.setState(r)},e.registerTreeNode=function(t,n){n?e.domTreeNodes[t]=n:delete e.domTreeNodes[t]},e.isKeyChecked=function(t){var n=e.state.checkedKeys;return-1!==(void 0===n?[]:n).indexOf(t)},e.renderTreeNode=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=e.state,i=a.keyEntities,l=a.expandedKeys,c=void 0===l?[]:l,u=a.selectedKeys,s=void 0===u?[]:u,f=a.halfCheckedKeys,d=void 0===f?[]:f,p=a.loadedKeys,m=void 0===p?[]:p,h=a.loadingKeys,y=void 0===h?[]:h,v=a.dragOverNodeKey,g=a.dropPosition,b=R(o,n),E=t.key||b;return i[E]?r.cloneElement(t,{key:E,eventKey:E,expanded:-1!==c.indexOf(E),selected:-1!==s.indexOf(E),loaded:-1!==m.indexOf(E),loading:-1!==y.indexOf(E),checked:e.isKeyChecked(E),halfChecked:-1!==d.indexOf(E),pos:b,dragOver:v===E&&0===g,dragOverGapTop:v===E&&-1===g,dragOverGapBottom:v===E&&1===g}):(K(),null)},e}return n=u,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};function a(t){return!n&&t in e||n&&n[t]!==e[t]}var i=null;if(a("treeData")?i=function e(t,n){if(!t)return[];var r=(n||{}).processProps,a=void 0===r?J:r;return(Array.isArray(t)?t:[t]).map((function(t){var r=t.children,i=T(t,["children"]),l=e(r,n);return o.a.createElement(P,Object.assign({},a(i)),l)}))}(e.treeData):a("children")&&(i=Object(f.a)(e.children)),i){r.treeNode=i;var l=Y(i);r.keyEntities=l.keyEntities}var c,u=r.keyEntities||t.keyEntities;if(a("expandedKeys")||n&&a("autoExpandParent")?r.expandedKeys=e.autoExpandParent||!n&&e.defaultExpandParent?Q(e.expandedKeys,u):e.expandedKeys:!n&&e.defaultExpandAll?r.expandedKeys=Object.keys(u):!n&&e.defaultExpandedKeys&&(r.expandedKeys=e.autoExpandParent||e.defaultExpandParent?Q(e.defaultExpandedKeys,u):e.defaultExpandedKeys),e.selectable&&(a("selectedKeys")?r.selectedKeys=V(e.selectedKeys,e):!n&&e.defaultSelectedKeys&&(r.selectedKeys=V(e.defaultSelectedKeys,e))),e.checkable&&(a("checkedKeys")?c=Z(e.checkedKeys)||{}:!n&&e.defaultCheckedKeys?c=Z(e.defaultCheckedKeys)||{}:i&&(c=Z(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),c)){var s=c,d=s.checkedKeys,p=void 0===d?[]:d,m=s.halfCheckedKeys,h=void 0===m?[]:m;if(!e.checkStrictly){var y=G(p,!0,u);p=y.checkedKeys,h=y.halfCheckedKeys}r.checkedKeys=p,r.halfCheckedKeys=h}return a("loadedKeys")&&(r.loadedKeys=e.loadedKeys),r}}],(a=[{key:"render",value:function(){var e,t,n,o=this,a=this.state.treeNode,i=this.props,l=i.prefixCls,u=i.className,s=i.focusable,f=i.style,d=i.showLine,p=i.tabIndex,h=void 0===p?0:p,y=i.selectable,v=i.showIcon,g=i.icon,b=i.switcherIcon,E=i.draggable,w=i.checkable,O=i.checkStrictly,k=i.disabled,x=i.motion,S=i.loadData,N=i.filterTreeNode,C=$(this.props);return s&&(C.tabIndex=h),r.createElement(m.Provider,{value:{prefixCls:l,selectable:y,showIcon:v,icon:g,switcherIcon:b,draggable:E,checkable:w,checkStrictly:O,disabled:k,motion:x,loadData:S,filterTreeNode:N,renderTreeNode:this.renderTreeNode,isKeyChecked:this.isKeyChecked,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop,registerTreeNode:this.registerTreeNode}},r.createElement("ul",Object.assign({},C,{className:c()(l,u,(e={},t="".concat(l,"-show-line"),n=d,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),style:f,role:"tree",unselectable:"on"}),W(a,(function(e,t){return o.renderTreeNode(e,t)}))))}}])&&ne(n.prototype,a),i&&ne(n,i),u}(r.Component);le.propTypes={prefixCls:i.a.string,className:i.a.string,style:i.a.object,tabIndex:i.a.oneOfType([i.a.string,i.a.number]),children:i.a.any,treeData:i.a.array,showLine:i.a.bool,showIcon:i.a.bool,icon:i.a.oneOfType([i.a.node,i.a.func]),focusable:i.a.bool,selectable:i.a.bool,disabled:i.a.bool,multiple:i.a.bool,checkable:i.a.oneOfType([i.a.bool,i.a.node]),checkStrictly:i.a.bool,draggable:i.a.bool,defaultExpandParent:i.a.bool,autoExpandParent:i.a.bool,defaultExpandAll:i.a.bool,defaultExpandedKeys:i.a.arrayOf(i.a.string),expandedKeys:i.a.arrayOf(i.a.string),defaultCheckedKeys:i.a.arrayOf(i.a.string),checkedKeys:i.a.oneOfType([i.a.arrayOf(i.a.oneOfType([i.a.string,i.a.number])),i.a.object]),defaultSelectedKeys:i.a.arrayOf(i.a.string),selectedKeys:i.a.arrayOf(i.a.string),onClick:i.a.func,onDoubleClick:i.a.func,onExpand:i.a.func,onCheck:i.a.func,onSelect:i.a.func,onLoad:i.a.func,loadData:i.a.func,loadedKeys:i.a.arrayOf(i.a.string),onMouseEnter:i.a.func,onMouseLeave:i.a.func,onRightClick:i.a.func,onDragStart:i.a.func,onDragEnter:i.a.func,onDragOver:i.a.func,onDragLeave:i.a.func,onDragEnd:i.a.func,onDrop:i.a.func,filterTreeNode:i.a.func,motion:i.a.object,switcherIcon:i.a.oneOfType([i.a.node,i.a.func])},le.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},Object(d.polyfill)(le);var ce=le;ce.TreeNode=P;var ue,se=ce,fe=n("BGR+"),de=n("sEfC"),pe=n.n(de),me=n("H84U");function he(e){return function(e){if(Array.isArray(e))return ye(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ye(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ve(e,t){(H(e)||[]).forEach((function(e){var n=e.key,r=e.props.children;!1!==t(n,e)&&ve(r,t)}))}function ge(e,t,n,r){var o=[],a=ue.None;if(n&&n===r)return[n];if(!n||!r)return[];return ve(e,(function(e){if(a===ue.End)return!1;if(function(e){return e===n||e===r}(e)){if(o.push(e),a===ue.None)a=ue.Start;else if(a===ue.Start)return a=ue.End,!1}else a===ue.Start&&o.push(e);return-1!==t.indexOf(e)})),o}function be(e,t){var n=he(t),r=[];return ve(e,(function(e,t){var o=n.indexOf(e);return-1!==o&&(r.push(t),n.splice(o,1)),!!n.length})),r}!function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"}(ue||(ue={}));var Ee=n("CtXQ");function we(e){return(we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(e){return function(e){if(Array.isArray(e))return ke(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ke(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ke(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ne(e,t){return(Ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ce(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_e(e);if(t){var o=_e(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return je(this,n)}}function je(e,t){return!t||"object"!==we(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Pe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function De(e){var t=e.isLeaf,n=e.expanded;return t?r.createElement(Ee.default,{type:"file"}):r.createElement(Ee.default,{type:n?"folder-open":"folder"})}var Te=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ne(e,t)}(i,e);var t,n,o,a=Ce(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=a.call(this,e)).onExpand=function(e,n){var r=t.props.onExpand;if(t.setUncontrolledState({expandedKeys:e}),r)return r(e,n)},t.onClick=function(e,n){var r=t.props,o=r.onClick;"click"===r.expandAction&&t.onDebounceExpand(e,n),o&&o(e,n)},t.onDoubleClick=function(e,n){var r=t.props,o=r.onDoubleClick;"doubleClick"===r.expandAction&&t.onDebounceExpand(e,n),o&&o(e,n)},t.onSelect=function(e,n){var r,o=t.props,a=o.onSelect,i=o.multiple,l=o.children,c=t.state.expandedKeys,u=void 0===c?[]:c,s=n.node,f=n.nativeEvent,d=s.props.eventKey,p=void 0===d?"":d,m={},h=xe(xe({},n),{selected:!0}),y=f.ctrlKey||f.metaKey,v=f.shiftKey;i&&y?(r=e,t.lastSelectedKey=p,t.cachedSelectedKeys=r,h.selectedNodes=be(l,r)):i&&v?(r=Array.from(new Set([].concat(Oe(t.cachedSelectedKeys||[]),Oe(ge(l,u,p,t.lastSelectedKey))))),h.selectedNodes=be(l,r)):(r=[p],t.lastSelectedKey=p,t.cachedSelectedKeys=r,h.selectedNodes=[n.node]),m.selectedKeys=r,a&&a(r,h),t.setUncontrolledState(m)},t.setTreeRef=function(e){t.tree=e},t.expandFolderNode=function(e,n){n.props.isLeaf||e.shiftKey||e.metaKey||e.ctrlKey||t.tree.tree.onNodeExpand(e,n)},t.setUncontrolledState=function(e){var n=Object(fe.a)(e,Object.keys(t.props));Object.keys(n).length&&t.setState(n)},t.renderDirectoryTree=function(e){var n=e.getPrefixCls,o=t.props,a=o.prefixCls,i=o.className,l=Pe(o,["prefixCls","className"]),u=t.state,s=u.expandedKeys,f=u.selectedKeys,d=n("tree",a),p=c()("".concat(d,"-directory"),i);return r.createElement(qe,xe({icon:De,ref:t.setTreeRef},l,{prefixCls:d,className:p,expandedKeys:s,selectedKeys:f,onSelect:t.onSelect,onClick:t.onClick,onDoubleClick:t.onDoubleClick,onExpand:t.onExpand}))};var n=e.defaultExpandAll,o=e.defaultExpandParent,l=e.expandedKeys,u=e.defaultExpandedKeys,s=Y(e.children).keyEntities;return t.state={selectedKeys:e.selectedKeys||e.defaultSelectedKeys||[]},n?e.treeData?t.state.expandedKeys=function e(t){var n=[];return(t||[]).forEach((function(t){n.push(t.key),t.children&&(n=[].concat(he(n),he(e(t.children))))})),n}(e.treeData):t.state.expandedKeys=function(e){var t=Y(e).keyEntities;return Object.keys(t)}(e.children):t.state.expandedKeys=o?Q(l||u,s):l||u,t.onDebounceExpand=pe()(t.expandFolderNode,200,{leading:!0}),t}return t=i,o=[{key:"getDerivedStateFromProps",value:function(e){var t={};return"expandedKeys"in e&&(t.expandedKeys=e.expandedKeys),"selectedKeys"in e&&(t.selectedKeys=e.selectedKeys),t}}],(n=[{key:"render",value:function(){return r.createElement(me.a,null,this.renderDirectoryTree)}}])&&Se(t.prototype,n),o&&Se(t,o),i}(r.Component);Te.defaultProps={showIcon:!0,expandAction:"click"},Object(d.polyfill)(Te);var Me=Te,Ke=n("EXcs");function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ie(){return(Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function He(e,t){return(He=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ze(e);if(t){var o=ze(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ue(this,n)}}function Ue(e,t){return!t||"object"!==Le(t)&&"function"!=typeof t?We(e):t}function We(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&He(e,t)}(i,e);var t,n,o,a=Fe(i);function i(){var e;return Re(this,i),(e=a.apply(this,arguments)).renderSwitcherIcon=function(t,n,o){var a=o.isLeaf,i=o.expanded,l=o.loading,u=e.props.showLine;if(l)return r.createElement(Ee.default,{type:"loading",className:"".concat(t,"-switcher-loading-icon")});if(a)return u?r.createElement(Ee.default,{type:"file",className:"".concat(t,"-switcher-line-icon")}):null;var s="".concat(t,"-switcher-icon");return n?r.cloneElement(n,{className:c()(n.props.className||"",s)}):u?r.createElement(Ee.default,{type:i?"minus-square":"plus-square",className:"".concat(t,"-switcher-line-icon"),theme:"outlined"}):r.createElement(Ee.default,{type:"caret-down",className:s,theme:"filled"})},e.setTreeRef=function(t){e.tree=t},e.renderTree=function(t){var n,o=t.getPrefixCls,a=We(e).props,i=a.prefixCls,l=a.className,u=a.showIcon,s=a.switcherIcon,f=a.blockNode,d=a.children,p=a.checkable,m=o("tree",i);return r.createElement(se,Ie({ref:e.setTreeRef},a,{prefixCls:m,className:c()(l,(n={},Ae(n,"".concat(m,"-icon-hide"),!u),Ae(n,"".concat(m,"-block-node"),f),n)),checkable:p?r.createElement("span",{className:"".concat(m,"-checkbox-inner")}):p,switcherIcon:function(t){return e.renderSwitcherIcon(m,s,t)}}),d)},e}return t=i,(n=[{key:"render",value:function(){return r.createElement(me.a,null,this.renderTree)}}])&&Be(t.prototype,n),o&&Be(t,o),i}(r.Component);qe.TreeNode=P,qe.DirectoryTree=Me,qe.defaultProps={checkable:!1,showIcon:!1,motion:Ie(Ie({},Ke.a),{motionAppear:!1}),blockNode:!1};t.default=qe},MN5C:function(e,t,n){},NAAl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("kLXV")),o=c(n("Vl3Y")),a=c(n("5rEg"));n("k3Gp"),n("tULf"),n("1vPl");var i=n("q1tI"),l=c(i);function c(e){return e&&e.__esModule?e:{default:e}}n("dEUZ");var u=a.default.TextArea;t.default=o.default.create()((0,i.forwardRef)((function(e){var t=e.form,n=e.visible,c=e.onCancel,s=e.onOk,f=e.desc,d=e.website,p=e.lesson_url,m=t.getFieldDecorator,h=t.validateFields,y=t.setFieldsValue;return(0,i.useEffect)((function(){(f||d)&&y({website:d,desc:f,lesson_url:p})}),[f,d]),l.default.createElement(r.default,{title:"修改信息",closable:!1,visible:n,centered:!0,onCancel:c,onOk:function(){h((function(e,t){e||(c(),s(t.desc,t.website,t.lesson_url))}))},okText:"确定",cancelText:"取消",width:"400px",className:"descmodal"},l.default.createElement(o.default,null,l.default.createElement(o.default.Item,{label:"项目简介"},m("desc",{rules:[]})(l.default.createElement(u,{placeholder:"请输入项目简介",rows:4,maxLength:200}))),l.default.createElement(o.default.Item,{label:"website"},m("website",{rules:[]})(l.default.createElement(a.default,{placeholder:"website链接"}))),l.default.createElement(o.default.Item,{label:"实践课程"},m("lesson_url",{rules:[]})(l.default.createElement(a.default,{placeholder:"实践课程链接"})))))})))},OZBj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("JsLm")),o=d(n("jsC+")),a=d(n("W9HT")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("mJp1"),n("aIZi"),n("04bd");var l=n("q1tI"),c=d(l),u=d(n("bjH3")),s=n("spEH"),f=d(n("mJXK"));function d(e){return e&&e.__esModule?e:{default:e}}var p=window.$;t.default=function(e){var t=e.operate,n=e.history,d=e.readme,m=e.ChangeFile,h=(0,l.useState)(void 0),y=i(h,2),v=y[0],g=y[1],b=(0,l.useState)(void 0),E=i(b,2),w=E[0],O=E[1];return(0,l.useEffect)((function(){d&&d.content?O(d.content):O(void 0)}),[d]),(0,l.useEffect)((function(){n.location.pathname;var e=p.map(p("#readme").find("h1,h2,h3,h4,h5,h6"),(function(e,t){var n=e.id,r=e.tagName.replace("H","");return{href:""+("#"+n),text:e.textContent,level:r}}));g(e)}),[w]),c.default.createElement("div",{className:"commonBox readBox",id:"readme"},c.default.createElement(r.default,{offsetTop:70,targetOffset:160},c.default.createElement("div",{className:"commonBox-title boxTitle"},c.default.createElement(s.AlignCenter,null,c.default.createElement(o.default,{overlay:v&&v.length>0?c.default.createElement(f.default,{menuList:v,hash:n.location.hash}):c.default.createElement(a.default,null),trigger:["hover"],overlayClassName:"menuslist"},c.default.createElement("span",{className:"catelogue"},c.default.createElement("i",{className:"iconfont icon-muluicon font-12 mr5"}),c.default.createElement("span",null,"目录"))),c.default.createElement("span",{className:"commonBox-title-read"},c.default.createElement("a",{href:"#readme "},"README.md"))),t?c.default.createElement("a",{className:"ml20 pull-right",onClick:function(){return m(d&&d.path,!1)}},c.default.createElement("i",{className:"iconfont icon-a-bianji font-17 color-grey-6"})):"")),w&&c.default.createElement("div",{className:"commonBox-info"},c.default.createElement(u.default,{className:"break_word_comments imageLayerParent",value:w,url:n.location})))}},PArb:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),a=n.n(o),i=n("H84U");function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};t.default=function(e){return r.createElement(i.a,null,(function(t){var n,o=t.getPrefixCls,i=e.prefixCls,s=e.type,f=void 0===s?"horizontal":s,d=e.orientation,p=void 0===d?"center":d,m=e.className,h=e.children,y=e.dashed,v=u(e,["prefixCls","type","orientation","className","children","dashed"]),g=o("divider",i),b=p.length>0?"-".concat(p):p,E=a()(m,g,"".concat(g,"-").concat(f),(c(n={},"".concat(g,"-with-text").concat(b),h),c(n,"".concat(g,"-dashed"),!!y),n));return r.createElement("div",l({className:E},v,{role:"separator"}),h&&r.createElement("span",{className:"".concat(g,"-inner-text")},h))}))}},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},"R/Rt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n("q1tI"),i=u(a),l=u(n("gL5p")),c=u(n("BtkW"));function u(e){return e&&e.__esModule?e:{default:e}}n("XmZk"),n("lr0e");var s=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidUpdate=function(e){e&&n.props&&n.props.content!==e.content&&n.setState({editorValue:n.props.content})},n.changeEditor=function(e){n.setState({editorValue:e})},n.state={editorValue:n.props.content,prevHeight:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=this,t=this.state.editorValue,n=this.props,o=n.readOnly,a=n.editorType,u=n.language,s=n.currentBranch,f=n.descName,d={lineNumbers:"on",wordWrap:!0,selectOnLineNumbers:!0,lineHeight:24,renderLineHighlight:"line",revealHorizontalRightPadding:5,placeholder:"请输入内容",readOnly:o,cursorStyle:o?"underline-thin":"line",folding:!0,foldingStrategy:"indentation",automaticLayout:!0,overviewRulerBorder:!1,scrollBeyondLastLine:!1,minimap:{enabled:!1}};return i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"editorBorderBox"},i.default.createElement(l.default,{language:u||"plaintext",theme:"vs-grey",placeholder:"请输入内容",value:t,options:d,onChange:this.changeEditor,editorWillMount:this.editorWillMount,editorDidMount:function(t,n){t.onDidChangeModelDecorations((function(){requestAnimationFrame(r)}));var r=function(){var r=t.getDomNode();if(r){var o=t.getOption(n.editor.EditorOption.lineHeight),a=t.getModel().getLineCount()||1,i=t.getTopForLineNumber(a+1)+o+40;i<400&&(i=400),e.state.prevHeight!==i&&(e.setState({prevHeight:i}),r.style.height=i+"px",t.layout())}};r()}})),!o&&i.default.createElement("div",{className:"editorBorderSubmitBox",style:{marginTop:"20px",padding:"20px"}},i.default.createElement(c.default,r({},this.props,this.state,{filepath:""+this.props.filepath,content:t,editor_type:a,currentBranch:s,descName:f}))))}}]),t}(a.Component);t.default=s},Re5i:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("5UXo")},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],o=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),i=u(n("q1tI")),l=u(n("vOnD")),c=n("eO8H");function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,o=e.id,u=e.login,s=l.default.span(a,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return o?i.default.createElement(c.Link,{to:"/"+u},i.default.createElement(s,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))):i.default.createElement(s,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},"S+ru":function(e,t,n){},XmZk:function(e,t,n){},YDKw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("q1tI"),a=(r=o)&&r.__esModule?r:{default:r},i=n("spEH"),l=n("eO8H");t.default=function(e){var t=e.owner,n=e.projectsId,r=e.releaseVersions,o=e.distribution;return a.default.createElement("div",null,a.default.createElement(l.Link,{to:"/"+t+"/"+n+"/releases",className:"font-16 color-ooo hoverA"},a.default.createElement("span",null,"发行版"),r&&r.total_count>0&&a.default.createElement("span",{className:"infoCount"},r.total_count)),r&&r.total_count>0?r.list.map((function(e,r){return 0===r&&a.default.createElement(i.AlignTop,{className:"mt10"},a.default.createElement("div",null,a.default.createElement("p",{className:"font-16 color-grey-6",style:{display:"flex",alignItems:"center"}},a.default.createElement(l.Link,{to:{pathname:"/"+t+"/"+n+"/releases",query:{turnFromNew:!0}},style:{maxWidth:"200px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},e.name),a.default.createElement("span",{className:"font-12 laterest ml5"},"最新")),a.default.createElement("p",{className:"color-grey-3 font-12"},e.created_at)))})):a.default.createElement("div",{className:"mt8"},"您暂未发布任何版本",o&&a.default.createElement(l.Link,{className:"color-blue ml20",to:{pathname:"/"+t+"/"+n+"/releases/new",state:{stable:!0}}},"创建新版本")))}},YIv0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r},l=n("spEH");t.default=function(e){var t=e.languages,n=(0,a.useState)(void 0),r=o(n,2),c=r[0],u=r[1];function s(){for(var e="#",t=["1","2","3","4","4","5","6","7","8","9","a","b","c","d","e","f"],n=0;n<6;n++){e+=t[parseInt(16*Math.random())]}return e}return(0,a.useEffect)((function(){if(t){var e=[];Object.keys(t).map((function(n,r){e.push({name:n,percent:t[n],color:s()})})),u(e)}}),[t]),i.default.createElement("div",null,i.default.createElement("p",{className:"font-16 color-ooo aboutSubTitle"},"开发语言"),i.default.createElement("div",{className:"progress"},c&&c.map((function(e,t){return i.default.createElement("span",{style:{width:e.percent,backgroundColor:e.color}})}))),c&&c.length>0&&i.default.createElement(l.FlexAJ,{className:"progresstip"},c.map((function(e,t){return i.default.createElement("span",null,i.default.createElement("i",{className:"zero",style:{backgroundColor:""+e.color}}),i.default.createElement("span",null,e.name),i.default.createElement("span",null,e.percent))}))))}},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),o=u(r);n("vg9a");var a=n("ud8/"),i=u(a);n("SJMd");var l=u(n("wMS7")),c=n("Oy/b");function u(e){return e&&e.__esModule?e:{default:e}}var s=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,u=e.className,f=e.style,d=void 0===f?{}:f,p=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,i.default)(m),t=(0,a.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,a.getTocContent)()),(0,a.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],o=r.type,a=r.expression;return(0,c.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(a)||"",{displayMode:"block"===o,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,a.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(p&&p.hash&&h){var e=p.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[p,h]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(y.current&&h&&h.match(s)&&window.PR.prettyPrint(),y.current)return y.current.addEventListener("click",v),function(){y.current.removeEventListener("click",v),(0,a.resetMathExpressions)(),(0,a.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:d,className:(u||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},cJAJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("W9HT")),o=f(n("BvKs")),a=f(n("5rEg")),i=f(n("14Xm")),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd"),n("2WkQ"),n("1vPl");var c=n("q1tI"),u=f(c),s=n("tnhM");function f(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(o,a){try{var i=t[o](a),l=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(l).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(l)}("next")}))}}t.default=function(e){var t,n,f=(t=d(i.default.mark((function e(t,n){var r;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getBranch)(t,n);case 2:r=e.sent,M(r),A(r),_(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)}),p=(n=d(i.default.mark((function e(t,n){var r;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getTag)(t,n);case 2:r=e.sent,M(r),A(r),_(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)}),m=e.changeBranch,h=e.tagflag,y=e.branchList,v=e.projectsId,g=e.owner,b=(e.visible,(0,c.useState)(void 0)),E=l(b,2),w=E[0],O=E[1],k=(0,c.useState)(0),x=l(k,2),S=x[0],N=(x[1],(0,c.useState)(!0)),C=l(N,2),j=C[0],_=C[1],P=(0,c.useState)(void 0),D=l(P,2),T=D[0],M=D[1],K=(0,c.useState)(void 0),L=l(K,2),I=L[0],A=L[1],R=(0,c.useState)("branch"),B=l(R,2),H=B[0],F=B[1];return(0,c.useEffect)((function(){y&&(M(y),A(y),_(!1))}),[y]),u.default.createElement("div",{className:"overlayBranch"},u.default.createElement("div",{className:"padding15",style:{paddingBottom:"0px"}},u.default.createElement(a.default,{prefix:u.default.createElement("i",{className:"iconfont icon-sousuo_icon1 font-14"}),placeholder:"请输入分支"+(h?"或标签":"")+"名称搜索",autocomplete:"off",className:"OptionsInput",value:w,onChange:function(e){O(e.target.value);var t=e.target.value?T&&T.length>0&&T.filter((function(t){return t.name.indexOf(e.target.value)>-1})):T;A(t)}})),u.default.createElement(o.default,{mode:"horizontal",className:"navUl",selectedKeys:[H],onClick:function(e){F(e.key),_(!0),"branch"===e.key?f(v,g):p(v,g)}},u.default.createElement(o.default.Item,{key:"branch"},"分支"),h&&u.default.createElement(o.default.Item,{key:"tag"},"标签")),u.default.createElement(r.default,{spinning:j},u.default.createElement("ul",{className:"OptionsUl",id:"ul-btn"},I&&I.length>0&&I.map((function(e,t){return u.default.createElement("li",{key:t,onClick:function(){return t=e.name,void m(t);var t}},u.default.createElement("a",{className:"task-hide ulALink"},e.name))})),I&&0===I.length&&u.default.createElement("p",{className:"listTips"},"暂无",w,0===S?"分支":"标签","~"))))}},dEUZ:function(e,t,n){},dlhN:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("h5qY")},eIPa:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n("diRs")),o=y(n("W9HT")),a=y(n("2/Rp")),i=y(n("14Xm")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("Aosp"),n("04bd"),n("L/Qf");var u=n("q1tI"),s=y(u),f=n("spEH"),d=n("eO8H"),p=n("sYIF");n("KkuB");var m=n("tnhM"),h=y(n("vDqi"));function y(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t,n,y=(t=i.default.mark((function e(t){var n,r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(z(!0),0!==(n=k&&k.filter((function(e){return e.login===t}))).length){e.next=13;break}return e.next=5,(0,m.getUser)(t);case 5:r=e.sent,(o=k).push(l({},r)),x(o),q(r),z(!1),e.next=15;break;case 13:q(n[0]),z(!1);case 15:case"end":return e.stop()}}),e,this)})),n=function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),l=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(l).then((function(e){r("next",e)}),(function(e){r("throw",e)}));t(l)}("next")}))},function(e){return n.apply(this,arguments)}),v=e.contributors,g=e.owner,b=e.projectsId,E=e.currentLogin,w=(0,u.useState)([]),O=c(w,2),k=O[0],x=O[1],S=(0,u.useState)(void 0),N=c(S,2),C=N[0],j=N[1],_=(0,u.useState)(0),P=c(_,2),D=P[0],T=P[1],M=(0,u.useState)(""),K=c(M,2),L=K[0],I=K[1],A=(0,u.useState)(void 0),R=c(A,2),B=R[0],H=R[1],F=(0,u.useState)(!1),U=c(F,2),W=U[0],z=U[1];function q(e){if(e){var t=s.default.createElement(o.default,{spinning:W},s.default.createElement(f.FlexAJ,{className:"menuMaininfos"},s.default.createElement(f.AlignCenter,null,s.default.createElement(d.Link,{to:"/"+e.login},s.default.createElement("img",{src:(0,p.getImageUrl)("/"+e.image_url),alt:"",className:"radius",width:"38px",height:"38px"})),s.default.createElement("div",{className:"ml10"},s.default.createElement(d.Link,{to:"/"+e.login},e.name),e.location&&s.default.createElement("span",{className:"leftline"},e.location),e.organizations&&e.organizations.length>0&&s.default.createElement("p",{className:"task-hide",style:{maxWidth:"215px"}},"所属组织:",function(e){var t="";return e.map((function(e){t=t+e.name+"、"})),t&&t.substr(0,t.length-1)}(e.organizations))))),s.default.createElement(f.AlignCenter,{className:"menuinfos"},s.default.createElement(d.Link,{to:"/"+e.login+"/projects"},s.default.createElement("span",null,e.projects_count),s.default.createElement("span",null,"项目数")),s.default.createElement(d.Link,{to:"/"+e.login+"/followers"},s.default.createElement("span",null,e.followers_count),s.default.createElement("span",null,"粉丝数")),s.default.createElement(d.Link,{to:"/"+e.login+"/following"},s.default.createElement("span",null,e.following_count),s.default.createElement("span",null,"关注数"))),s.default.createElement("div",{className:"pb20",style:{display:"flex",justifyContent:"center"}},E&&E===e.login?s.default.createElement(a.default,{className:"currentBtn"},"当前用户"):e.is_watch?s.default.createElement(a.default,{type:"default",onClick:function(){return V(!1,e.login)}},"已关注"):s.default.createElement(a.default,{type:"primary",onClick:function(){return V(!0,e.login)}},"关注TA")));I(t)}}function V(e,t){(0,h.default)({method:e?"post":"delete",url:"/watchers/"+(e?"follow":"unfollow")+".json",params:{target_type:"user",id:t}}).then((function(n){if(n&&(0===n.data.status||2===n.data.status)){var r=k&&k.filter((function(e){return e.login===t}));r&&(r[0].is_watch=e),q(r[0])}})).catch((function(e){console.log(e)}))}function X(e,t,n){t!==B&&H(t);var r=C.concat();r.map((function(e){return e.visible=!1})),e&&(r[n].visible=e),r.splice(),j(r)}return(0,u.useEffect)((function(){v&&v.total_count>0&&(T(v.total_count),j(v.list))}),[v]),(0,u.useEffect)((function(){B?y(B):I(void 0)}),[B]),s.default.createElement("div",{className:"halfs"},s.default.createElement(d.Link,{to:"/"+g+"/"+b+"/contribute",className:"font-16 color-ooo hoverA"},s.default.createElement("span",null,"贡献者"),v&&v.total_count>0&&s.default.createElement("span",{className:"infoCount"},v.total_count)),s.default.createElement("div",{className:"attrPerson",onMouseLeave:function(){return X(!1)}},D>0?C.map((function(e,t){return s.default.createElement(r.default,{content:L,visible:e.visible,overlayClassName:"menuPanels",placement:"top"},s.default.createElement(d.Link,{key:t,to:"/"+e.login},s.default.createElement("img",{src:(0,p.getImageUrl)("/"+e.image_url),alt:"",onMouseOver:function(){return X(!0,e.login,t)}})))})):""))}},gL5p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"MonacoDiffEditor",{enumerable:!0,get:function(){return o.default}});var r=a(n("j6EG")),o=a(n("4oKn"));function a(e){return e&&e.__esModule?e:{default:e}}},gUMM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=M(n("W9HT")),o=M(n("PArb")),a=M(n("2/Rp")),i=M(n("jsC+")),l=M(n("BvKs")),c=M(n("wFql")),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd"),n("qNb/"),n("L/Qf"),n("aIZi"),n("2WkQ"),n("O+5t");var f=n("q1tI"),d=M(f),p=n("spEH"),m=n("sYIF"),h=n("eO8H"),y=n("PhNK"),v=M(n("lH0x")),g=M(n("3Diz")),b=M(n("Rs/d")),E=M(n("vDqi")),w=M(n("760K")),O=M(n("KusB")),k=M(n("OZBj")),x=M(n("Eitf"));n("/oTB");var S=M(n("YDKw")),N=M(n("eIPa")),C=M(n("YIv0")),j=M(n("KhU6")),_=M(n("NAAl")),P=M(n("2CTR")),D=M(n("z2sw")),T=M(n("aqs5"));function M(e){return e&&e.__esModule?e:{default:e}}c.default.Paragraph;function K(e){return e&&e.length>0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e}t.default=function(e){var t,n=(0,f.useState)(void 0),c=s(n,2),M=c[0],L=c[1],I=(0,f.useState)(void 0),A=s(I,2),R=A[0],B=A[1],H=(0,f.useState)(void 0),F=s(H,2),U=F[0],W=F[1],z=(0,f.useState)(void 0),q=s(z,2),V=q[0],X=q[1],J=(0,f.useState)(void 0),Y=s(J,2),Z=Y[0],G=Y[1],Q=(0,f.useState)(void 0),$=s(Q,2),ee=$[0],te=$[1],ne=(0,f.useState)("dir"),re=s(ne,2),oe=re[0],ae=re[1],ie=(0,f.useState)(!0),le=s(ie,2),ce=le[0],ue=le[1],se=(0,f.useState)(!1),fe=s(se,2),de=fe[0],pe=fe[1],me=(0,f.useState)(0),he=s(me,2),ye=he[0],ve=he[1],ge=(0,f.useState)(void 0),be=s(ge,2),Ee=be[0],we=be[1],Oe=(0,f.useState)(void 0),ke=s(Oe,2),xe=ke[0],Se=ke[1],Ne=(0,f.useState)(void 0),Ce=s(Ne,2),je=Ce[0],_e=Ce[1],Pe=(0,f.useState)(void 0),De=s(Pe,2),Te=De[0],Me=De[1],Ke=(0,f.useState)(!0),Le=s(Ke,2),Ie=Le[0],Ae=Le[1],Re=(0,f.useState)(!0),Be=s(Re,2),He=Be[0],Fe=Be[1],Ue=(0,f.useState)(!1),We=s(Ue,2),ze=We[0],qe=We[1],Ve=(0,f.useState)(!1),Xe=s(Ve,2),Je=Xe[0],Ye=Xe[1],Ze=(0,f.useState)(!1),Ge=s(Ze,2),Qe=Ge[0],$e=Ge[1],et=(0,f.useState)(void 0),tt=s(et,2),nt=tt[0],rt=tt[1],ot=(0,f.useState)(void 0),at=s(ot,2),it=at[0],lt=at[1],ct=(0,f.useState)(void 0),ut=s(ct,2),st=ut[0],ft=ut[1],dt=(0,f.useState)(void 0),pt=s(dt,2),mt=pt[0],ht=pt[1],yt=(0,f.useState)(void 0),vt=s(yt,2),gt=vt[0],bt=vt[1],Et=(0,f.useState)(!1),wt=s(Et,2),Ot=wt[0],kt=wt[1],xt=(0,f.useState)(!0),St=s(xt,2),Nt=St[0],Ct=St[1],jt=(0,f.useState)(!0),_t=s(jt,2),Pt=_t[0],Dt=_t[1],Tt=(0,f.useState)(void 0),Mt=s(Tt,2),Kt=Mt[0],Lt=Mt[1],It=e.match.params.owner,At=e.match.params.projectsId,Rt=e.match.params.branchName;Rt=(t=Rt)&&t.length>0&&t.indexOf("%2F")>-1?t.replaceAll("%2F","/"):t;var Bt=e.projectDetail,Ht=e.history.location.pathname,Ft=Bt&&2!=Bt.type&&("Admin"===Bt.permission||"Owner"===Bt.permission||"Manager"===Bt.permission),Ut=e.bannerList;function Wt(e,t){E.default.get("/"+It+"/"+At+"/readme.json",{params:{owner:It,repo:At,filepath:e,ref:t||Rt}}).then((function(e){ht(e?e.data:void 0)}))}function zt(t,n,r){if("submodule"!==n){var o=K(Rt||gt);ae(n),e.history.push("/"+It+"/"+At+"/tree/"+o+(t?"/"+t:""))}}function qt(t){if(!1===e.checkIfLogin())return e.showLoginDialog(),!1;e.history.push(t)}(0,f.useEffect)((function(){if(Ut&&Ut.length>0){var e=Ut.filter((function(e){return"pulls"===e.menu_name})),t=Ut.filter((function(e){return"issues"===e.menu_name}));e&&0===e.length&&Ct(!1),t&&0===t.length&&Dt(!1)}}),[Ut]),(0,f.useEffect)((function(){Bt&&(L(Bt),rt(Bt.description),lt(Bt.website),ft(Bt.lesson_url),bt(Bt.default_branch),B(Bt.invite_code))}),[Bt]),(0,f.useEffect)((function(){X(U?U.split("/"):void 0)}),[U]),(0,f.useEffect)((function(){if(At&&It&>){var e=K(Rt);if(Ht.indexOf("/"+It+"/"+At)>-1&&Ht.indexOf("/tree/"+e+"/")>-1){var t=Ht.split("/tree/"+e+"/")[1];W(t),function(e,t){Fe(!0);var n="/"+It+"/"+At+"/sub_entries.json";E.default.get(n,{params:{filepath:e,ref:t||Rt,type:oe}}).then((function(t){if(t){var n=t.data.entries;n.type?(we(void 0),Se(n),ae(n.type),ht(void 0)):(Se(void 0),we(n),ae("dir"),Wt(e,Rt||gt));var r=t.data.last_commit;G(r&&r.commit),te(r&&r.committer),Ye(!1),Ae(!0),Ae(!Ot),ue(!0)}setTimeout((function(){Fe(!1)}),500)})).catch((function(e){Fe(!1)}))}(t,Rt),ae("file")}else W(void 0),function(e){Fe(!0);var t="/"+It+"/"+At+"/entries.json";E.default.get(t,{params:{ref:e}}).then((function(e){if(e){ve(e.data.commits_count),we(e.data.entries),Se(void 0),Me(e.data.tar_url),_e(e.data.zip_url);var t=e.data.last_commit;G(t&&t.commit),te(t&&t.committer),Ye(!0),Ae(!0),kt(!1),ue(!0),Wt("",Rt||gt)}setTimeout((function(){Fe(!1)}),500)})).catch((function(e){Fe(!1)}))}(Rt||gt),ae("dir")}}),[At,It,Ht,gt]),(0,f.useEffect)((function(){E.default.get("/"+It+"/"+At+"/releases.json").then((function(e){if(e&&e.data){var t={list:e.data.releases,total_count:e.data.releases.length};Lt(t)}}))}),[]),(0,f.useEffect)((function(){if(M&&Z){var e=document.getElementById("ptxt");if(e)e.offsetHeight>18&&pe(!0)}}),[M,Z]);var Vt,Xt=d.default.createElement(v.default,{http_url:M&&M.clone_url,ssh_url:M&&M.ssh_url,zip_url:je,tar_url:Te,showNotification:e.showNotification}),Jt=xe&&xe.name,Yt=Jt&&".md"===Jt.substring(Jt.length-3,Jt.length),Zt=e.current_user,Gt=Zt&&Zt.login&&Pt,Qt=M&&M.permission&&"Reporter"!==M.permission&&2!==M.type&&Nt,$t="dir"===oe&&M&&2!==M.type&&(M.permission&&"Reporter"!==M.permission||Zt&&Zt.admin);return d.default.createElement(p.WhiteBack,null,d.default.createElement(_.default,{desc:nt,website:it,lesson_url:st,visible:Qe,onCancel:function(){return $e(!1)},onOk:function(e,t,n){var r="/"+It+"/"+At+".json";E.default.put(r,{description:e,website:t,lesson_url:n}).then((function(e){e&&e.data&&e.data.id&&(rt(e.data.description),lt(e.data.website),ft(e.data.lesson_url))}))}}),d.default.createElement(r.default,{spinning:He},(Ee||xe)&&d.default.createElement(d.default.Fragment,null,d.default.createElement(j.default,{history:e.history,owner:It,projectsId:At,name:M&&M.name,branch:Rt||gt,visible:ze,onClose:function(){return qe(!1)},list:Je?Ee:void 0}),d.default.createElement("div",{className:"drawerBtn",onClick:function(){return qe(!0)}},d.default.createElement("i",{className:"iconfont icon-zuohuaicon font-14"}),d.default.createElement("span",null,"目录"))),d.default.createElement("div",{style:{minHeight:"500px"}},M&&d.default.createElement(p.Box,{className:"Panels"},d.default.createElement(p.LongWidth,null,d.default.createElement("div",{className:"panelmenu"},d.default.createElement(p.FlexAJ,null,d.default.createElement(p.AlignCenter,null,d.default.createElement("div",{className:"mr30"},e&&e.platform?d.default.createElement(g.default,{repo_id:M&&M.repo_id,projectsId:At,branch:Rt||gt,changeBranch:function(t){var n=K(t),r="/"+It+"/"+At+(t&&"/tree/"+n)+(U?"/"+U:"");e.history.push(r)},owner:It,history:e.history,branchList:M&&M.branches&&M.branches.list}):d.default.createElement("span",null,"分支:",d.default.createElement("span",{className:"color-grey-6"},Rt||gt))),V&&V.length>0?d.default.createElement(w.default,{identifier:M&&M.identifier,treeValuePath:V,returnUlr:function(t){var n=K(Rt);e.history.push("/"+It+"/"+At+"/tree"+(n?"/"+n:"")+"/"+t)},returnMain:function(){W(void 0);var t=K(Rt||gt);e.history.push("/"+It+"/"+At+"/tree/"+t)},getPathUrl:function(e,t){if(e&&e.length>0&&t){for(var n="",r=0;r<t;r++)n+="/"+e[r];return n.substr(1)}}}):d.default.createElement("div",null,d.default.createElement(p.AlignCenter,{className:"mr20"},d.default.createElement(h.Link,{to:"/"+It+"/"+At+"/branches",className:"iconBtn"},d.default.createElement("i",{className:"iconfont icon-master_icon font-16"}),d.default.createElement("span",null,"分支"),d.default.createElement("span",null,M&&M.branches&&M.branches.total_count))),d.default.createElement(p.AlignCenter,{className:"mr20"},d.default.createElement(h.Link,{to:"/"+It+"/"+At+"/tags",className:"iconBtn"},d.default.createElement("i",{className:"iconfont icon-biaoqianicon font-16"}),d.default.createElement("span",null,"标签"),d.default.createElement("span",null,M&&M.tags&&M.tags.total_count))))),d.default.createElement(p.AlignCenter,{className:"depotBtn"},(Qt||Gt)&&d.default.createElement("div",{className:"addOptionBtn"},Qt&&d.default.createElement(T.default,u({},e,{sureFunc:function(){return qt("/"+It+"/"+At+"/pulls/new/"+(Rt||gt))}}),"+ 合并请求"),Gt&&d.default.createElement(T.default,u({},e,{sureFunc:function(){return qt("/"+It+"/"+At+"/issues/new")}}),"+ 易修")),$t&&d.default.createElement(i.default,{overlay:(Vt=K(Rt||gt),d.default.createElement(l.default,{className:"fileMenu"},d.default.createElement(l.default.Item,null,d.default.createElement(T.default,u({},e,{sureFunc:function(){return qt("/"+It+"/"+At+"/"+Vt+"/uploadfile"+(void 0===U?"":"/"+U))}}),"上传文件")),d.default.createElement(l.default.Item,null,d.default.createElement(T.default,u({},e,{sureFunc:function(){return qt("/"+It+"/"+At+"/"+Vt+"/newfile"+(void 0===U?"":"/"+U))}}),"新建文件")))),className:"mr10",trigger:["click"],getPopupContainer:document.parentNode},d.default.createElement("a",null,"文件 ",d.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14 color-grey-6 mr-5"}))),d.default.createElement(i.default,{overlay:Xt,placement:"bottomRight",trigger:["click"]},d.default.createElement(a.default,{type:"primary"},"下载 ",d.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14 color-white mr-3"}))))),Ee&&Ee.length>0||xe?d.default.createElement("div",{className:"listtable"},Z&&d.default.createElement("div",{className:"listtablehead"},d.default.createElement(b.default,{url:(0,m.getImageUrl)("/"+(ee&&ee.image_url)),name:ee&&ee.name,id:ee&&ee.id,login:ee&&ee.login}),d.default.createElement("div",{className:de&&ce?"ellipsistxt hidetxt":"ellipsistxt"},d.default.createElement("pre",{id:"ptxt"},d.default.createElement(h.Link,{to:"/"+It+"/"+At+"/commits/"+(0,y.truncateCommitId)(Z.sha)},Z.message))),de&&d.default.createElement("span",{className:"ellipsis",onClick:function(){return function(e){ue(!e)}(ce)}},d.default.createElement("i",{className:"iconfont icon-shenglvehao"})),d.default.createElement("span",{className:"ml20 color-grey-6 font-12 mt3"},Z.time_from_now),ye?d.default.createElement(h.Link,{to:"/"+It+"/"+At+"/commits/branch/"+K(Rt||gt),className:"ml20 color-grey-3",style:{height:"28px",lineHeight:"28px"}},d.default.createElement("i",{className:"iconfont icon-tijiaoicon mr3 font-16"}),d.default.createElement("span",{style:{fontWeight:"500"}},ye,"次提交")):""),d.default.createElement("ul",{className:"listtablebody"},Ee&&Ee.length>0&&Ee.map((function(e,t){return d.default.createElement(O.default,{owner:It,item:e,projectsId:At,goToSubRoot:zt})})),xe&&d.default.createElement(x.default,u({},e,{detail:xe,readOnly:Ie,md:Yt,onEdit:function(e){Ae(e),kt(!1)},currentBranch:Rt||gt,type:M.type})))):"",Ee&&0===Ee.length&&!xe?d.default.createElement(P.default,{_html:"暂未发现文件"}):"",mt&&mt.content?d.default.createElement(k.default,{ChangeFile:function(t,n){var r=K(Rt||gt);e.history.push("/"+It+"/"+At+"/tree/"+r+"/"+t),ae("file"),kt(!0)},readme:mt,operate:e&&(e.isManager||e.isDeveloper)&&2!==M.type,history:e.history}):"")),!(V&&V.length>0)&&!xe&&d.default.createElement(p.ShortWidth,null,d.default.createElement(p.Gap,{style:{paddingLeft:"30px"}},d.default.createElement("div",{className:"panelmenu"},d.default.createElement(p.FlexAJ,{className:"font-18 color-ooo mb20",style:{lineHeight:"28px"}},"关于",M.permission&&("Admin"===M.permission||"Owner"===M.permission||"Manager"===M.permission)&&d.default.createElement("i",{onClick:function(){return $e(!0)},className:"iconfont icon-a-shezhi color-grey-9 font-15"})),nt&&d.default.createElement("p",{className:"font-14 color-grey-3 mb15 task-hide-2",style:{lineHeight:"24px",WebkitLineClamp:"4",textAlign:"justify",wordBreak:"break-all"}},nt),it&&d.default.createElement("div",{className:"color-grey-6 df pinfos mb5"},d.default.createElement("i",{className:"iconfont icon-lianjie2 font-15 mr10"}),d.default.createElement("a",{href:it,target:"_blank",style:{wordBreak:"break-all",lineHeight:"20px",marginTop:"5px",textDecoration:"underline"}},it)),d.default.createElement("div",{className:"pinfos mb5"},d.default.createElement("i",{className:"iconfont icon-zishuwenjian_icon font-15 mr10"}),d.default.createElement("a",{href:"#readme"},"README.md")),d.default.createElement("div",{className:"color-grey-6 mb5"},d.default.createElement("i",{className:"iconfont icon-neicunicon font-15 mr10"}),d.default.createElement("span",null,M&&M.size)),M&&M.license_name&&d.default.createElement("div",{className:"pinfos"},d.default.createElement("i",{className:"iconfont icon-xieyiicon font-16 mr10"}),d.default.createElement(h.Link,{to:"/"+It+"/"+At+"/tree/"+(Rt||gt)+"/LICENSE",className:"color-grey-6"},M.license_name))),R&&d.default.createElement("div",null,d.default.createElement(o.default,null),d.default.createElement(D.default,{code:R})),st&&d.default.createElement("div",null,d.default.createElement(o.default,null),d.default.createElement("p",{className:"font-16 color-ooo"},"实践课程"),d.default.createElement("a",{href:st,target:"_blank",className:"color-grey-6",style:{textDecoration:"underline",wordBreak:"break-all"}},st)),Kt&&d.default.createElement(d.default.Fragment,null,d.default.createElement(o.default,null),d.default.createElement(S.default,{owner:It,projectsId:At,releaseVersions:Kt,history:e.history,distribution:Ft})),M&&M.contributors&&M.contributors.total_count>0&&d.default.createElement(N.default,{contributors:M.contributors,owner:It,projectsId:At}),M&&M.languages&&d.default.createElement(d.default.Fragment,null,d.default.createElement(o.default,null),d.default.createElement(C.default,{languages:M.languages}))))))))}},h5qY:function(e,t,n){},i6bk:function(e,t,n){"use strict";function r(e,t){if("undefined"==typeof window)return 0;var n=t?"scrollTop":"scrollLeft",r=e===window,o=r?e[t?"pageYOffset":"pageXOffset"]:e[n];return r&&"number"!=typeof o&&(o=document.documentElement[n]),o}n.d(t,"a",(function(){return r}))},j6EG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=l(n("17x9")),a=l(n("q1tI")),i=n("JwdM");function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(c,e);var t,n,o,l=h(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),b(v(t=l.call(this,e)),"assignRef",(function(e){t.containerElement=e})),t.containerElement=void 0,t}return t=c,(n=[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,o=t.language,a=t.theme,i=t.height,l=t.options,c=t.width,u=this.editor,s=u.getModel();if(null!=this.props.value&&this.props.value!==s.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.pushUndoStop(),s.pushEditOperations([],[{range:s.getFullModelRange(),text:n}]),this.editor.pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==o&&r.editor.setModelLanguage(s,o),e.theme!==a&&r.editor.setTheme(a),!u||c===e.width&&i===e.height||u.layout(),e.options!==l){l.model;var f=d(l,["model"]);u.updateOptions(f)}}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"destroyMonaco",value:function(){if(this.editor){this.editor.dispose();var e=this.editor.getModel();e&&e.dispose()}this._subscription&&this._subscription.dispose()}},{key:"initMonaco",value:function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.language,o=t.theme,a=t.options,i=t.overrideServices;this.containerElement&&(Object.assign(a,this.editorWillMount()),this.editor=r.editor.create(this.containerElement,f(f({value:e,language:n},a),o?{theme:o}:{}),i),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(r)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,r),this._subscription=e.onDidChangeModelContent((function(n){t.__prevent_trigger_change_event||t.props.onChange(e.getValue(),n)}))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r={width:(0,i.processSize)(t),height:(0,i.processSize)(n)};return a.default.createElement("div",{ref:this.assignRef,style:r,className:"react-monaco-editor-container"})}}])&&p(t.prototype,n),o&&p(t,o),c}(a.default.Component);E.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),value:o.default.string,defaultValue:o.default.string,language:o.default.string,theme:o.default.string,options:o.default.object,overrideServices:o.default.object,editorDidMount:o.default.func,editorWillMount:o.default.func,onChange:o.default.func},E.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:i.noop,editorWillMount:i.noop,onChange:i.noop};var w=E;t.default=w},lH0x:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("BvKs")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("2WkQ");var a=n("q1tI"),i=c(a);n("MN5C");var l=c(n("FRFo"));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.http_url,n=e.ssh_url,c=e.zip_url,u=e.tar_url,s=(0,a.useState)("HTTP"),f=o(s,2),d=f[0],p=f[1];return i.default.createElement("div",{className:"downMenu"},i.default.createElement("div",{style:{borderBottom:"1px solid #eee"}},i.default.createElement(r.default,{className:"urlMenu",selectedKeys:[d],mode:"horizontal"},i.default.createElement(r.default.Item,{key:"HTTP",onClick:function(e){p(e.key)}},"HTTP"),i.default.createElement(r.default.Item,{key:"SSH",onClick:function(e){p(e.key)}},"SSH")),i.default.createElement("div",{className:"gitAddressClone"},i.default.createElement("input",{type:"text",id:"copy_rep_content",value:"HTTP"===d?t:n}),i.default.createElement(l.default,{inputId:"copy_rep_content",className:"copytool"}))),i.default.createElement(r.default,{className:"edu-txt-center"},i.default.createElement(r.default.Item,null,i.default.createElement("a",{href:c},"下载 ZIP")),i.default.createElement(r.default.Item,null,i.default.createElement("a",{href:u},"下载 TAR.GZ"))))}},lr0e:function(e,t,n){},mJXK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("5rEg")),o=c(n("JsLm")),a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("1vPl"),n("mJp1");var i=n("q1tI"),l=c(i);function c(e){return e&&e.__esModule?e:{default:e}}n("dEUZ");var u=o.default.Link;t.default=function(e){var t=e.menuList,n=(e.hash,(0,i.useState)("")),c=a(n,2),s=c[0],f=c[1],d=(0,i.useState)(""),p=a(d,2),m=p[0],h=p[1],y=(0,i.useState)(t),v=a(y,2),g=v[0],b=v[1];return l.default.createElement("div",null,l.default.createElement("div",{className:"searchBox"},l.default.createElement(r.default,{placeholder:"请输入关键字",value:m,onChange:function(e){if(h(e.target.value),e.target.value){var n=t.filter((function(t){return t.text.toLowerCase().indexOf(e.target.value.toLowerCase())>-1}));b(n)}else b(t)},prefix:l.default.createElement("i",{className:"iconfont icon-sousuo_icon1 font-14"})})),g&&g.length>0?l.default.createElement("div",{className:"anchorBox"},l.default.createElement(o.default,{affix:!1,onChange:function(e){f(e)}},g.map((function(e,t){return l.default.createElement("div",{style:{paddingLeft:10*e.level+"px"},className:s===e.href?"items active":"items"},l.default.createElement(u,{href:"#"+e.text,title:e.text}))})))):"")}},mJp1:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("S+ru"),n("rSSF")},"qNb/":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("txnC")},rSSF:function(e,t,n){},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUser=t.getSubEntries=t.getHooks=t.getTag=t.getBranch=void 0;var r=a(n("14Xm")),o=a(n("vDqi"));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(o,a){try{var i=t[o](a),l=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(l).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(l)}("next")}))}}var l,c,u,s,f;t.getBranch=(l=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.get("/"+n+"/"+t+"/branches.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return l.apply(this,arguments)}),t.getTag=(c=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.get("/"+n+"/"+t+"/tags.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return c.apply(this,arguments)}),t.getHooks=(u=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.get("/projects/"+t+"/hooks.json",{params:n});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return u.apply(this,arguments)}),t.getSubEntries=(s=i(r.default.mark((function e(t,n,a){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.get("/"+t+"/"+n+"/sub_entries.json",{params:a});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t,n){return s.apply(this,arguments)}),t.getUser=(f=i(r.default.mark((function e(t){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.get("/users/"+t+"/hovercard.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e){return f.apply(this,arguments)})},txnC:function(e,t,n){},z2sw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("q1tI"));n("dEUZ");var o=a(n("FRFo"));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.code,n=e.className;return r.default.createElement("div",{className:n},r.default.createElement("span",{className:"font-16 color-ooo"},"邀请码"),r.default.createElement("div",null,r.default.createElement("input",{value:t,id:"devitecode",style:{width:"62px",border:"none",cursor:"default"},readOnly:!0}),r.default.createElement(o.default,{timeOut:!0,beforeText:r.default.createElement("p",{className:"edu-txt-center"},"可以通过邀请码邀请成员加入项目",r.default.createElement("br",null),"点击复制邀请码。"),className:"ml8 font-16",inputId:"devitecode"})))}},zAh6:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("61SU"),o=n.n(r),a=n("i6bk");function i(e,t,n,r){var o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,l=t.callback,c=t.duration,u=void 0===c?450:c,s=r(),f=Object(a.a)(s,!0),d=Date.now(),p=function t(){var n=Date.now()-d,r=i(n>u?u:n,f,e,u);s===window?window.scrollTo(window.pageXOffset,r):s.scrollTop=r,n<u?o()(t):"function"==typeof l&&l()};o()(p)}}}]); \ No newline at end of file diff --git a/static/js/36.1af5cff9.chunk.js b/static/js/36.1af5cff9.chunk.js new file mode 100644 index 000000000..089893da2 --- /dev/null +++ b/static/js/36.1af5cff9.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[36],{"/oTB":function(e,t,n){},"/wGt":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("1W/9"),a=n("VCL8"),i=n("TSYQ"),l=n.n(i),c=n("qx4F"),u=n("4IlW");var s={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},f=Object.keys(s).filter((function(e){if("undefined"==typeof document)return!1;var t=document.getElementsByTagName("html")[0];return e in(t?t.style:{})}))[0],d=s[f];function p(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),n)}function m(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.attachEvent&&e.detachEvent("on".concat(t),n)}var h=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},y=!("undefined"!=typeof window&&window.document&&window.document.createElement);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var x={},S=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=w(t).call(this,e),(n=!o||"object"!==v(o)&&"function"!=typeof o?O(r):o).domFocus=function(){n.dom&&n.dom.focus()},n.removeStartHandler=function(e){e.touches.length>1||(n.startPos={x:e.touches[0].clientX,y:e.touches[0].clientY})},n.removeMoveHandler=function(e){if(!(e.changedTouches.length>1)){var t=e.currentTarget,r=e.changedTouches[0].clientX-n.startPos.x,o=e.changedTouches[0].clientY-n.startPos.y;(t===n.maskDom||t===n.handlerDom||t===n.contentDom&&function e(t,n,r,o){if(!n||n===document||n instanceof Document)return!1;if(n===t.parentNode)return!0;var a=Math.max(Math.abs(r),Math.abs(o))===Math.abs(o),i=Math.max(Math.abs(r),Math.abs(o))===Math.abs(r),l=n.scrollHeight-n.clientHeight,c=n.scrollWidth-n.clientWidth,u=document.defaultView.getComputedStyle(n),s="auto"===u.overflowY||"scroll"===u.overflowY,f="auto"===u.overflowX||"scroll"===u.overflowX,d=l&&s,p=c&&f;return!!(a&&(!d||d&&(n.scrollTop>=l&&o<0||n.scrollTop<=0&&o>0))||i&&(!p||p&&(n.scrollLeft>=c&&c<0||n.scrollLeft<=0&&c>0)))&&e(t,n.parentNode,r,o)}(t,e.target,r,o))&&e.preventDefault()}},n.transitionEnd=function(e){var t=e.target;m(t,d,n.transitionEnd),t.style.transition=""},n.onKeyDown=function(e){if(e.keyCode===u.a.ESC){var t=n.props.onClose;e.stopPropagation(),t&&t(e)}},n.onWrapperTransitionEnd=function(e){var t=n.props,r=t.open,o=t.afterVisibleChange;e.target===n.contentWrapper&&e.propertyName.match(/transform$/)&&(n.dom.style.transition="",!r&&n.getCurrentDrawerSome()&&(document.body.style.overflowX="",n.maskDom&&(n.maskDom.style.left="",n.maskDom.style.width="")),o&&o(!!r))},n.openLevelTransition=function(){var e=n.props,t=e.open,r=e.width,o=e.height,a=n.getHorizontalBoolAndPlacementName(),i=a.isHorizontal,l=a.placementName,c=n.contentDom?n.contentDom.getBoundingClientRect()[i?"width":"height"]:0,u=(i?r:o)||c;n.setLevelAndScrolling(t,l,u)},n.setLevelTransform=function(e,t,r,o){var a=n.props,i=a.placement,l=a.levelMove,c=a.duration,u=a.ease,s=a.showMask;n.levelDom.forEach((function(a){a.style.transition="transform ".concat(c," ").concat(u),p(a,d,n.transitionEnd);var f,m,h,y=e?r:0;if(l){var v=(m={target:a,open:e},h="function"==typeof(f=l)?f(m):f,Array.isArray(h)?2===h.length?h:[h[0],h[1]]:[h]);y=e?v[0]:v[1]||0}var g="number"==typeof y?"".concat(y,"px"):y,b="left"===i||"top"===i?g:"-".concat(g);b=s&&"right"===i&&o?"calc(".concat(b," + ").concat(o,"px)"):b,a.style.transform=y?"".concat(t,"(").concat(b,")"):""}))},n.setLevelAndScrolling=function(e,t,r){var o=n.props.onChange;if(!y){var a=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(c.a)(!0):0;n.setLevelTransform(e,t,r,a),n.toggleScrollingToDrawerAndBody(a)}o&&o(e)},n.toggleScrollingToDrawerAndBody=function(e){var t=n.props,r=t.getOpenCount,o=t.getContainer,a=t.showMask,i=t.open,l=o&&o(),c=r&&r();if(l&&l.parentNode===document.body&&a){var u=["touchstart"],s=[document.body,n.maskDom,n.handlerDom,n.contentDom];i&&"hidden"!==document.body.style.overflow?(e&&n.addScrollingEffect(e),1===c&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",s.forEach((function(e,t){e&&p(e,u[t]||"touchmove",t?n.removeMoveHandler:n.removeStartHandler,n.passive)}))):n.getCurrentDrawerSome()&&(c||(document.body.style.overflow=""),document.body.style.touchAction="",e&&n.remScrollingEffect(e),s.forEach((function(e,t){e&&m(e,u[t]||"touchmove",t?n.removeMoveHandler:n.removeStartHandler,n.passive)})))}},n.addScrollingEffect=function(e){var t=n.props,r=t.placement,o=t.duration,a=t.ease,i=t.getOpenCount,l=t.switchScrollingEffect;1===(i&&i())&&l();var c="width ".concat(o," ").concat(a),u="transform ".concat(o," ").concat(a);switch(n.dom.style.transition="none",r){case"right":n.dom.style.transform="translateX(-".concat(e,"px)");break;case"top":case"bottom":n.dom.style.width="calc(100% - ".concat(e,"px)"),n.dom.style.transform="translateZ(0)"}clearTimeout(n.timeout),n.timeout=setTimeout((function(){n.dom&&(n.dom.style.transition="".concat(u,",").concat(c),n.dom.style.width="",n.dom.style.transform="")}))},n.remScrollingEffect=function(e){var t,r=n.props,o=r.placement,a=r.duration,i=r.ease,l=r.getOpenCount,c=r.switchScrollingEffect;l&&l()||c(!0),f&&(document.body.style.overflowX="hidden"),n.dom.style.transition="none";var u="width ".concat(a," ").concat(i),s="transform ".concat(a," ").concat(i);switch(o){case"left":n.dom.style.width="100%",u="width 0s ".concat(i," ").concat(a);break;case"right":n.dom.style.transform="translateX(".concat(e,"px)"),n.dom.style.width="100%",u="width 0s ".concat(i," ").concat(a),n.maskDom&&(n.maskDom.style.left="-".concat(e,"px"),n.maskDom.style.width="calc(100% + ".concat(e,"px)"));break;case"top":case"bottom":n.dom.style.width="calc(100% + ".concat(e,"px)"),n.dom.style.height="100%",n.dom.style.transform="translateZ(0)",t="height 0s ".concat(i," ").concat(a)}clearTimeout(n.timeout),n.timeout=setTimeout((function(){n.dom&&(n.dom.style.transition="".concat(s,",").concat(t?"".concat(t,","):"").concat(u),n.dom.style.transform="",n.dom.style.width="",n.dom.style.height="")}))},n.getCurrentDrawerSome=function(){return!Object.keys(x).some((function(e){return x[e]}))},n.getLevelDom=function(e){var t=e.level,r=e.getContainer;if(!y){var o,a=r&&r(),i=a?a.parentNode:null;if(n.levelDom=[],"all"===t)(i?Array.prototype.slice.call(i.children):[]).forEach((function(e){"SCRIPT"!==e.nodeName&&"STYLE"!==e.nodeName&&"LINK"!==e.nodeName&&e!==a&&n.levelDom.push(e)}));else t&&(o=t,Array.isArray(o)?o:[o]).forEach((function(e){document.querySelectorAll(e).forEach((function(e){n.levelDom.push(e)}))}))}},n.getHorizontalBoolAndPlacementName=function(){var e=n.props.placement,t="left"===e||"right"===e;return{isHorizontal:t,placementName:"translate".concat(t?"X":"Y")}},n.state={_self:O(n)},n}var n,o,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(t,e),n=t,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t._self,o={prevProps:e};if(void 0!==n){var a=e.placement,i=e.level;a!==n.placement&&(r.contentDom=null),i!==n.level&&r.getLevelDom(e)}return o}}],(o=[{key:"componentDidMount",value:function(){var e=this;if(!y){var t=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return t=!0,null}}))}catch(e){}this.passive=!!t&&{passive:!1}}var n=this.props.open;this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(9*Math.random()).toString())).toString(16)),this.getLevelDom(this.props),n&&(x[this.drawerId]=n,this.openLevelTransition(),this.forceUpdate((function(){e.domFocus()})))}},{key:"componentDidUpdate",value:function(e){var t=this.props.open;t!==e.open&&(t&&this.domFocus(),x[this.drawerId]=!!t,this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.getOpenCount,n=e.open,r=e.switchScrollingEffect,o="function"==typeof t&&t();delete x[this.drawerId],n&&(this.setLevelTransform(!1),document.body.style.touchAction=""),o||(document.body.style.overflow="",r(!0))}},{key:"render",value:function(){var e,t=this,n=this.props,o=n.className,a=n.children,i=n.style,c=n.width,u=n.height,s=(n.defaultOpen,n.open),f=n.prefixCls,d=n.placement,p=(n.level,n.levelMove,n.ease,n.duration,n.getContainer,n.handler),m=(n.onChange,n.afterVisibleChange,n.showMask),y=n.maskClosable,v=n.maskStyle,E=n.onClose,w=n.onHandleClick,O=n.keyboard,k=(n.getOpenCount,n.switchScrollingEffect,b(n,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"])),x=!!this.dom&&s,S=l()(f,(g(e={},"".concat(f,"-").concat(d),!0),g(e,"".concat(f,"-open"),x),g(e,o||"",!!o),g(e,"no-mask",!m),e)),N=this.getHorizontalBoolAndPlacementName().placementName,C="left"===d||"top"===d?"-100%":"100%",j=x?"":"".concat(N,"(").concat(C,")"),_=p&&r.cloneElement(p,{onClick:function(e){p.props.onClick&&p.props.onClick(),w&&w(e)},ref:function(e){t.handlerDom=e}});return r.createElement("div",Object.assign({},k,{tabIndex:-1,className:S,style:i,ref:function(e){t.dom=e},onKeyDown:x&&O?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),m&&r.createElement("div",{className:"".concat(f,"-mask"),onClick:y?E:void 0,style:v,ref:function(e){t.maskDom=e}}),r.createElement("div",{className:"".concat(f,"-content-wrapper"),style:{transform:j,msTransform:j,width:h(c)?"".concat(c,"px"):c,height:h(u)?"".concat(u,"px"):u},ref:function(e){t.contentWrapper=e}},r.createElement("div",{className:"".concat(f,"-content"),ref:function(e){t.contentDom=e},onTouchStart:x&&m?this.removeStartHandler:void 0,onTouchMove:x&&m?this.removeMoveHandler:void 0},a),_))}}])&&E(n.prototype,o),a&&E(n,a),t}(r.Component);S.defaultProps={switchScrollingEffect:function(){}};var N=Object(a.polyfill)(S);function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P(e,t){return!t||"object"!==C(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var M=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=P(this,D(t).call(this,e))).onHandleClick=function(e){var t=n.props,r=t.onHandleClick,o=t.open;if(r&&r(e),void 0===o){var a=n.state.open;n.setState({open:!a})}},n.onClose=function(e){var t=n.props,r=t.onClose,o=t.open;r&&r(e),void 0===o&&n.setState({open:!1})};var r=void 0!==e.open?e.open:!!e.defaultOpen;return n.state={open:r},"onMaskClick"in e&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}(t,e),n=t,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};return void 0!==n&&e.open!==n.open&&(r.open=e.open),r}}],(a=[{key:"render",value:function(){var e=this,t=this.props,n=(t.defaultOpen,t.getContainer),a=t.wrapperClassName,i=t.forceRender,l=t.handler,c=j(t,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),u=this.state.open;if(!n)return r.createElement("div",{className:a,ref:function(t){e.dom=t}},r.createElement(N,Object.assign({},c,{open:u,handler:l,getContainer:function(){return e.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var s=!!l||i;return r.createElement(o.a,{visible:u,forceRender:s,getContainer:n,wrapperClassName:a},(function(t){var n=t.visible,o=t.afterClose,a=j(t,["visible","afterClose"]);return r.createElement(N,Object.assign({},c,a,{open:void 0!==n?n:u,afterVisibleChange:void 0!==o?o:c.afterVisibleChange,handler:l,onClose:e.onClose,onHandleClick:e.onHandleClick}))}))}}])&&_(n.prototype,a),i&&_(n,i),t}(r.Component);M.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:r.createElement("div",{className:"drawer-handle"},r.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var K=Object(a.polyfill)(M),L=n("foW8"),I=n.n(L),A=n("BGR+"),R=n("6CfX"),H=n("CtXQ"),B=n("H84U"),F=n("CWQg");function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Z(e);if(t){var o=Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return J(this,n)}}function J(e,t){return!t||"object"!==U(t)&&"function"!=typeof t?Y(e):t}function Y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var G=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Q=I()(null),$=(Object(F.a)("top","right","bottom","left"),function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V(e,t)}(i,e);var t,n,o,a=X(i);function i(){var e;return z(this,i),(e=a.apply(this,arguments)).state={push:!1},e.push=function(){e.setState({push:!0})},e.pull=function(){e.setState({push:!1})},e.onDestroyTransitionEnd=function(){e.getDestroyOnClose()&&(e.props.visible||(e.destroyClose=!0,e.forceUpdate()))},e.getDestroyOnClose=function(){return e.props.destroyOnClose&&!e.props.visible},e.getPushTransform=function(e){return"left"===e||"right"===e?"translateX(".concat("left"===e?180:-180,"px)"):"top"===e||"bottom"===e?"translateY(".concat("top"===e?180:-180,"px)"):void 0},e.getRcDrawerStyle=function(){var t=e.props,n=t.zIndex,r=t.placement,o=t.style;return W({zIndex:n,transform:e.state.push?e.getPushTransform(r):void 0},o)},e.renderBody=function(){var t=e.props,n=t.bodyStyle,o=t.drawerStyle,a=t.prefixCls,i=t.visible;if(e.destroyClose&&!i)return null;e.destroyClose=!1;var l={};return e.getDestroyOnClose()&&(l.opacity=0,l.transition="opacity .3s"),r.createElement("div",{className:"".concat(a,"-wrapper-body"),style:W(W({},l),o),onTransitionEnd:e.onDestroyTransitionEnd},e.renderHeader(),r.createElement("div",{className:"".concat(a,"-body"),style:n},e.props.children))},e.renderProvider=function(t){var n=e.props,o=n.prefixCls,a=n.placement,i=n.className,c=n.wrapClassName,u=n.width,s=n.height,f=n.mask,d=G(n,["prefixCls","placement","className","wrapClassName","width","height","mask"]);Object(R.a)(void 0===c,"Drawer","wrapClassName is deprecated, please use className instead.");var p=f?"":"no-mask";e.parentDrawer=t;var m={};return"left"===a||"right"===a?m.width=u:m.height=s,r.createElement(Q.Provider,{value:Y(e)},r.createElement(K,W({handler:!1},Object(A.a)(d,["zIndex","style","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton"]),m,{prefixCls:o,open:e.props.visible,showMask:f,placement:a,style:e.getRcDrawerStyle(),className:l()(c,i,p)}),e.renderBody()))},e}return t=i,(n=[{key:"componentDidMount",value:function(){this.props.visible&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(e){var t=this.props.visible;e.visible!==t&&this.parentDrawer&&(t?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"renderHeader",value:function(){var e=this.props,t=e.title,n=e.prefixCls,o=e.closable,a=e.headerStyle;if(!t&&!o)return null;var i="".concat(n,t?"-header":"-header-no-title");return r.createElement("div",{className:i,style:a},t&&r.createElement("div",{className:"".concat(n,"-title")},t),o&&this.renderCloseIcon())}},{key:"renderCloseIcon",value:function(){var e=this.props,t=e.closable,n=e.prefixCls,o=e.onClose;return t&&r.createElement("button",{onClick:o,"aria-label":"Close",className:"".concat(n,"-close")},r.createElement(H.default,{type:"close"}))}},{key:"render",value:function(){return r.createElement(Q.Consumer,null,this.renderProvider)}}])&&q(t.prototype,n),o&&q(t,o),i}(r.Component));$.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0};t.default=Object(B.c)({prefixCls:"drawer"})($)},"3Diz":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("jsC+")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("aIZi");var a=n("q1tI"),i=u(a);n("MN5C");var l=u(n("cJAJ")),c=n("i8i4");function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.projectsId,n=e.branch,u=e.owner,s=e.changeBranch,f=e.branchList,d=e.tagflag,p=void 0===d||d,m=(0,a.useState)(n),h=o(m,2),y=h[0],v=h[1],g=(0,a.useState)(!1),b=o(g,2),E=b[0],w=b[1],O=(0,a.useRef)(null),k=(0,a.useRef)(null);(0,a.useEffect)((function(){document.addEventListener("click",x,!1)}),[]);var x=function(e){var t=e.target,n=(0,c.findDOMNode)(O.current),r=(0,c.findDOMNode)(k.current);if(n&&r){var o=n.contains(t),a=r.contains(t);o||a||w(!1)}};(0,a.useEffect)((function(){v(n)}),[n]);var S=i.default.createElement("div",{ref:O},i.default.createElement(l.default,{visible:E,changeBranch:function(e){w(!1),s(e)},tagflag:p,projectsId:t,owner:u,branchList:f}));return i.default.createElement(r.default,{placement:"bottomLeft",visible:E,overlay:S,overlayClassName:"branch-tagBox-list",trigger:["click"]},i.default.createElement("div",{className:"branch-tagBox",ref:k,onClick:function(){return w(!E)}},i.default.createElement("span",{className:"color-grey-9 mr3 ml8"},i.default.createElement("i",{className:"iconfont icon-fenzhi2 font-18"})),i.default.createElement("span",{className:"ant-dropdown-link task-hide",style:{fontWeight:"500",minWidth:"45px",maxWidth:"270px"}},y),i.default.createElement("i",{className:"showtag iconfont icon-sanjiaoxing-down font-15 color-grey-9 mr5 ml5 mt1"})))}},"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=l(n("17x9")),a=l(n("q1tI")),i=n("JwdM");function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(c,e);var t,n,o,l=m(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),g(y(t=l.call(this,e)),"assignRef",(function(e){t.containerElement=e})),t.containerElement=void 0,t}return t=c,(n=[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.language,o=t.theme,a=t.height,i=t.options,l=t.width,c=this.editor.getModel(),u=c.original,s=c.modified;this.props.original!==u.getValue()&&u.setValue(this.props.original),null!=this.props.value&&this.props.value!==s.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.modifiedEditor.pushUndoStop(),s.pushEditOperations([],[{range:s.getFullModelRange(),text:this.props.value}]),this.editor.modifiedEditor.pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==n&&(r.editor.setModelLanguage(u,n),r.editor.setModelLanguage(s,n)),e.theme!==o&&r.editor.setTheme(o),!this.editor||l===e.width&&a===e.height||this.editor.layout(),e.options!==i&&this.editor.updateOptions(i)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(r)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,r);var n=e.getModel().modified;this._subscription=n.onDidChangeContent((function(e){t.__prevent_trigger_change_event||t.props.onChange(n.getValue(),e)}))}},{key:"initModels",value:function(e,t){var n=this.props.language,o=r.editor.createModel(t,n),a=r.editor.createModel(e,n);this.editor.setModel({original:o,modified:a})}},{key:"initMonaco",value:function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.original,o=t.theme,a=t.options,i=t.overrideServices;this.containerElement&&(this.editorWillMount(),this.editor=r.editor.createDiffEditor(this.containerElement,f(f({},a),o?{theme:o}:{}),i),this.initModels(e,n),this.editorDidMount(this.editor))}},{key:"destroyMonaco",value:function(){if(this.editor){this.editor.dispose();var e=this.editor.getModel(),t=e.original,n=e.modified;t&&t.dispose(),n&&n.dispose()}this._subscription&&this._subscription.dispose()}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r={width:(0,i.processSize)(t),height:(0,i.processSize)(n)};return a.default.createElement("div",{ref:this.assignRef,style:r,className:"react-monaco-editor-container"})}}])&&d(t.prototype,n),o&&d(t,o),c}(a.default.Component);b.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),original:o.default.string,value:o.default.string,defaultValue:o.default.string,language:o.default.string,theme:o.default.string,options:o.default.object,overrideServices:o.default.object,editorDidMount:o.default.func,editorWillMount:o.default.func,onChange:o.default.func},b.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:i.noop,editorWillMount:i.noop,onChange:i.noop};var E=b;t.default=E},"5UXo":function(e,t,n){},"760K":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n("LvDl");var r,o=n("q1tI"),a=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.treeValuePath,n=e.returnUlr,r=e.returnMain,o=e.getPathUrl,i=e.identifier;return a.default.createElement("li",{className:"listtablepath"},a.default.createElement("p",null,a.default.createElement("a",{onClick:r,className:"color-blue"},i),t.map((function(e,r){return a.default.createElement(a.default.Fragment,null,r===t.length-1?a.default.createElement("span",{className:"color-grey-6 subFileName",key:r},e):a.default.createElement("a",{onClick:function(){return n(""+o(t,r+1))},className:"color-blue subFileName"},e))}))))}},BtkW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("W9HT")),o=h(n("2/Rp")),a=h(n("CtXQ")),i=h(n("9yH6")),l=h(n("Vl3Y")),c=h(n("5rEg")),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("L/Qf"),n("2oDE"),n("K4yd"),n("tULf"),n("1vPl");var s=n("q1tI"),f=h(s),d=n("sYIF"),p=n("eO8H");n("XmZk");var m=h(n("vDqi"));function h(e){return e&&e.__esModule?e:{default:e}}var y=c.default.TextArea;function v(e){return e&&e.length>0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e}function g(e){return e&&e.length>0&&e.indexOf("%2F")>-1?e.replaceAll("%2F","/"):e}var b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props.descName;e&&n.props.form.setFieldsValue({desc:e})},n.componentDidUpdate=function(e){var t=n.props.descName;e&&t&&e.descName!==t&&n.props.form.setFieldsValue({desc:t})},n.changeSubmittype=function(e){n.setState({submitType:e.target.value})},n.changeFileName=function(e){n.setState({filename:e.target.value})},n.subMitFrom=function(){var e=n.props,t=e.filepath,r=e.content,o=e.editor_type,a=n.props.match.params,i=a.branch,l=a.projectsId,c=a.owner,u=n.state,s=u.submitType,f=u.filename;n.setState({isSpin:!0});var d="upload"===o?t:t.substr(1);n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var o="/"+c+"/"+l+"/create_file.json";m.default.post(o,{filepath:f||d,branch:g(i),new_branch:"1"===s?t.branchname:void 0,content:r,message:t.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&e.data.name){if(n.props.showNotification("文件新建成功!"),"1"===s){var r=n.props.getDetail;r&&r()}var o="/"+c+"/"+l+(t.branchname?"/tree/"+v(t.branchname):i?"/tree/"+v(i):"");n.props.history.push(o)}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}))},n.UpdateFile=function(){n.setState({isSpin:!0});var e=n.props,t=e.branch,r=e.detail,o=e.content,a=e.currentBranch,i=n.props.match.params,l=i.projectsId,c=i.owner,u=n.state.submitType,s="/"+c+"/"+l+"/update_file.json",f=a||t;n.props.form.validateFieldsAndScroll((function(e,i){e?n.setState({isSpin:!1}):m.default.put(s,{filepath:r.path,branch:"1"===u?void 0:g(f),new_branch:"1"===u?i.branchname:void 0,content:o,sha:r.sha,message:i.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&1===e.data.status){var r=a||t,o="/"+c+"/"+l+(i.branchname?"/tree/"+v(i.branchname):r?"/tree/"+v(r):"");n.props.history.push(o),n.props.showNotification("文件修改成功!")}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}))},n.state={submitType:"0",filename:"",isSpin:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.submitType,u=t.filename,s=t.isSpin,m=this.props.form.getFieldDecorator,h=this.props.match.params,v=h.branch,b=h.projectsId,E=h.owner,w=this.props,O=w.current_user,k=w.filepath,x=w.projectDetail,S=w.currentBranch,N=this.props.editor_type,C=S||v;return f.default.createElement("div",null,f.default.createElement("span",{className:"df",style:{alignItems:"center"}},f.default.createElement(p.Link,{to:"/"+(O&&O.login),className:"show-user-link"},f.default.createElement("img",{src:(0,d.getImageUrl)("/"+(O&&O.image_url)),alt:"",className:"screwImg"}),f.default.createElement("span",{className:"color-grey-3 ver-middle"},O&&O.username,":")),f.default.createElement("span",{className:"color-grey-8"},"提交变更")),f.default.createElement(r.default,{spinning:s},f.default.createElement("div",{className:"userScrew"},f.default.createElement("div",{className:"screwPanel"},f.default.createElement(l.default,null,f.default.createElement(l.default.Item,{style:{display:"upload"===N?"block":"none"}},m("path",{rules:[]})(f.default.createElement("div",{className:"setInputAddon"},f.default.createElement(c.default,{addonBefore:"/"+(x&&x.identifier)+"/",value:u||k,onChange:this.changeFileName,placeholder:"文件路径..."})))),f.default.createElement(l.default.Item,null,m("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(f.default.createElement(y,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),f.default.createElement(i.default.Group,{value:n,onChange:this.changeSubmittype},f.default.createElement(i.default,{value:"0",className:"mb10"},f.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",f.default.createElement("span",{className:"color-orange"},g(C)),"分支"),f.default.createElement(i.default,{value:"1"},f.default.createElement(a.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",f.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===n?f.default.createElement("div",{className:"mt15"},f.default.createElement(l.default.Item,{style:{paddingLeft:"24px"}},m("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(f.default.createElement(c.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),f.default.createElement("div",{className:"mt20"},f.default.createElement(o.default,{type:"primary",onClick:"update"===N?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),f.default.createElement(o.default,{type:"primary grey",onClick:function(){e.props.history.push("/"+E+"/"+b)},className:"mr20"},"取消"))))}}]),t}(s.Component),E=l.default.create({name:"UserSubmitForm"})(b);t.default=E},Eitf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n("JsLm")),o=y(n("NJEC")),a=y(n("jsC+")),i=y(n("2fM7")),l=y(n("W9HT")),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("mJp1"),n("k994"),n("aIZi"),n("8QGh"),n("04bd");var s=n("q1tI"),f=y(s);n("85A0");var d=y(n("vDqi")),p=y(n("R/Rt")),m=y(n("bjH3")),h=y(n("mJXK"));function y(e){return e&&e.__esModule?e:{default:e}}var v=window.$;var g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){window.scrollTo(0,0);var e=n.props,t=e.detail;e.mdFlag;n.setState({value:t.content}),n.languages_total()},n.componentDidUpdate=function(e){var t=(n.props&&n.props.detail).content,r=e.detail&&e.detail.content;t&&r&&r!==t&&n.setState({description:t})},n.languages_total=function(){var e=n.props.detail.path.split("/").pop().split(".").pop(),t=[],r="javascript",o={apex:["apex","apxc"],azcli:["azcli"],bat:["bat"],clojure:["clj"],coffee:["coffee"],cpp:["cpp"],csharp:["cs"],csp:["csp"],css:["css"],dockerfile:["dockerfile","docker","yml"],fsharp:["fs"],go:["go"],html:["html","htm","erb"],ini:["ini"],java:["java","class"],javascript:["js"],json:["json"],less:["less"],lua:["lua"],markdown:["markdown","md","rmd"],msdax:["dax"],mysql:["sql"],objective:["m","mm","o","out"],perl:["perl"],pgsql:["sql"],php:["php"],postiats:["postiats"],powerquery:[""],powershell:["ps1"],pug:["pug"],python:["py"],r:["r"],razor:["cshtml"],redis:["rdb"],ruby:["rb"],rust:["rs"],sb:["sb"],scheme:["scm","ss"],scss:["scss"],shell:["sh"],solidity:["sol"],sql:["sql"],st:["st"],swift:["swift"],typescript:["ts"],vb:["vbp","frm","frx","bas","cls"],xml:["xml"],yaml:["yml"]};for(var a in o){t.push(a),-1!==o[a].indexOf(e)&&(r=a)}n.setState({languages:t,language:r})},n.select_language=function(e){n.setState({language:e})},n.EditFile=function(e){var t=n.props.onEdit;t&&t(e)},n.DownLoadFile=function(e){var t="/attachments/entries/get_file?download_url="+e;window.open(t)},n.changeMmirror=function(e,t,r){n.setState({value:r})},n.deleteFile=function(){var e=n.props,t=e.branch,r=e.detail,o=n.props.match.params,a=o.projectsId,i=o.owner,l="/"+i+"/"+a+"/delete_file.json";d.default.delete(l,{params:{filepath:r.path,branch:t,sha:r.sha}}).then((function(e){e&&(n.props.showNotification("删除成功!"),n.props.history.push("/"+i+"/"+a))})).catch((function(e){console.log(e)}))},n.updateCode=function(e){n.setState({value:e})},n.onContentChange=function(e){n.setState({description:e})},n.renderMenulist=function(){return n.state.description?v.map(v("#files-md").find("h1,h2,h3,h4,h5,h6"),(function(e,t){var n=e.id,r=e.tagName.replace("H","");return{href:""+("#"+n),text:e.textContent,level:r}})):[]},n.menu=function(){var e=n.renderMenulist();return e&&e.length>0?f.default.createElement(h.default,{menuList:e,hash:n.props.history.location.hash}):f.default.createElement(l.default,null)},n.state={value:void 0,language:void 0,languages:void 0,description:e.detail.content,menuList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.readOnly,l=t.detail,u=t.current_user,s=t.isManager,d=t.isDeveloper,h=t.currentBranch,y=t.platform,v=t.md,g=t.type,b=this.state,E=b.language,w=b.languages,O=b.description,k=u&&u.login&&(s||d),x=i.default.Option;return f.default.createElement(f.default.Fragment,null,f.default.createElement(r.default,{className:"griditemAnchor",offsetTop:70},f.default.createElement("div",{className:"griditemCate"},v&&n&&f.default.createElement(a.default,{overlay:this.menu(),trigger:["hover"],overlayClassName:"menuslist"},f.default.createElement("span",{className:"catelogue mr20"},f.default.createElement("i",{className:"iconfont icon-muluicon font-12 mr5"}),f.default.createElement("span",null,"目录"))),f.default.createElement("span",{className:"color-grey-6 font-16"},function(e){if(0===e)return"0 B";var t=Math.floor(Math.log(e)/Math.log(1024));return(e/Math.pow(1024,t)).toFixed(2)+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][t]}(l&&l.size))),f.default.createElement("p",{className:"text-right"},k&&y&&f.default.createElement("div",null,n?f.default.createElement("span",null,l.direct_download?"":f.default.createElement("span",null,f.default.createElement("a",{onClick:function(){return e.DownLoadFile(l.download_url)},className:"ml20"},f.default.createElement("i",{className:"iconfont icon-xiazai1 font-15 color-grey-6"})),2!==g&&f.default.createElement("a",{onClick:function(){return e.EditFile(!1)},className:"ml20"},f.default.createElement("i",{className:"iconfont icon-bianji1 font-15 color-grey-6"})))):f.default.createElement(f.default.Fragment,null,f.default.createElement(i.default,{showSearch:!0,placeholder:"请选择文本语言",style:{width:200},value:E,onChange:this.select_language},f.default.createElement(x,{value:void 0},"请选择文本语言"),w&&w.map((function(e,t){return f.default.createElement(x,{value:e,key:t},e)}))),f.default.createElement("button",{type:"button",className:"ant-btn ant-btn-sm ml20",onClick:function(){return e.EditFile(!0)}},f.default.createElement("span",null,"取 消"))),2!==g&&f.default.createElement(o.default,{title:"确认删除这个文件?",className:"ml20",okText:"确定",cancelText:"取消",onConfirm:this.deleteFile},f.default.createElement("a",null,f.default.createElement("i",{className:"iconfont icon-shanchu font-15 color-grey-6"})))))),f.default.createElement("div",null,l.image_type?f.default.createElement("div",{className:"edu-txt-center pt20 pb20"},f.default.createElement("img",{alt:"",src:l.download_url,style:{maxWidth:"80%"}})):l.direct_download?f.default.createElement("div",{className:"mt20 text-center"},f.default.createElement("a",{href:l.download_url,className:"color-blue font-15"},"下载原始文件")):v&&n?f.default.createElement("div",{className:"files-md",id:"files-md"},f.default.createElement(m.default,{className:"file-md imageLayerParent",value:O,url:this.props.history.location})):f.default.createElement(p.default,c({},this.props,this.state,{language:E||"javascript",filepath:"/"+l.path,content:O,readOnly:n,editorType:"update",currentBranch:h,descName:l&&"Update "+l.name}))))}}]),t}(s.Component);t.default=g},FRFo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n("3S7+")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ");var a=n("q1tI"),i=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=e.beforeText,n=e.afterText,l=e.className,c=e.inputId,u=e.timeOut,s=(0,a.useState)((function(){return t})),f=o(s,2),d=f[0],p=f[1],m=(0,a.useCallback)((function(){var e=document.querySelector("#"+c);e?(e.select(),document.execCommand("copy")&&document.execCommand("copy"),document.getSelection().removeAllRanges(),p(n),u&&setTimeout((function(){p(t)}),1500)):console.error("您的CopyTool未设置正确的inputId")}),[]);return i.default.createElement(r.default,{placement:"top",title:d,onVisibleChange:function(){p(t)}},i.default.createElement("i",{className:"iconfont icon-fuzhiicon "+l,style:{color:"#466aff"},onClick:m}))}c.defaultProps={beforeText:"复制链接",afterText:"复制成功",className:"",inputId:"copyText",timeOut:!0},t.default=(0,a.memo)(c)},JsLm:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("i8i4"),a=n("17x9"),i=n("TSYQ"),l=n.n(i),c=n("zT1h"),u=n("VCL8"),s=n("BGR+"),f=n("t23M"),d=n.n(f),p=n("H84U"),m=n("61SU"),h=n.n(m);function y(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(){return function(e,t,n){var r=n.value,o=!1;return{configurable:!0,get:function(){if(o||this===e.prototype||this.hasOwnProperty(t))return r;var n=function(e){var t,n=function(n){return function(){t=null,e.apply(void 0,y(n))}},r=function(){if(null==t){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];t=h()(n(r))}};return r.cancel=function(){return h.a.cancel(t)},r}(r.bind(this));return o=!0,Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),o=!1,n}}}}var b=n("6CfX");function E(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function w(e,t,n){if(void 0!==n&&t.top>e.top-n)return n+t.top}function O(e,t,n){if(void 0!==n&&t.bottom<e.bottom+n)return n+(window.innerHeight-t.bottom)}var k=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],x=[];function S(e,t){if(e){var n=x.find((function(t){return t.target===e}));n?n.affixList.push(t):(n={target:e,affixList:[t],eventHandlers:{}},x.push(n),k.forEach((function(t){n.eventHandlers[t]=Object(c.a)(e,t,(function(){n.affixList.forEach((function(e){e.lazyUpdatePosition()}))}))})))}}function N(e){var t=x.find((function(t){var n=t.affixList.some((function(t){return t===e}));return n&&(t.affixList=t.affixList.filter((function(t){return t!==e}))),n}));t&&0===t.affixList.length&&(x=x.filter((function(e){return e!==t})),k.forEach((function(e){var n=t.eventHandlers[e];n&&n.remove&&n.remove()})))}function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var o=K(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return M(this,n)}}function M(e,t){return!t||"object"!==L(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var I,A=function(e,t,n,r){var o,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":L(Reflect))&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(i=(a<3?o(i):a>3?o(t,n,i):o(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i};!function(e){e[e.None=0]="None",e[e.Prepare=1]="Prepare"}(I||(I={}));var R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(i,e);var t,n,o,a=T(i);function i(){var e;return _(this,i),(e=a.apply(this,arguments)).state={status:I.None,lastAffix:!1,prevTarget:null},e.getOffsetTop=function(){var t=e.props,n=t.offset,r=t.offsetBottom,o=e.props.offsetTop;return void 0===o&&(o=n,Object(b.a)(void 0===n,"Affix","`offset` is deprecated. Please use `offsetTop` instead.")),void 0===r&&void 0===o&&(o=0),o},e.getOffsetBottom=function(){return e.props.offsetBottom},e.savePlaceholderNode=function(t){e.placeholderNode=t},e.saveFixedNode=function(t){e.fixedNode=t},e.measure=function(){var t=e.state,n=t.status,r=t.lastAffix,o=e.props,a=o.target,i=o.onChange;if(n===I.Prepare&&e.fixedNode&&e.placeholderNode&&a){var l=e.getOffsetTop(),c=e.getOffsetBottom(),u=a();if(u){var s={status:I.None},f=E(u),d=E(e.placeholderNode),p=w(d,f,l),m=O(d,f,c);void 0!==p?(s.affixStyle={position:"fixed",top:p,width:d.width,height:d.height},s.placeholderStyle={width:d.width,height:d.height}):void 0!==m&&(s.affixStyle={position:"fixed",bottom:m,width:d.width,height:d.height},s.placeholderStyle={width:d.width,height:d.height}),s.lastAffix=!!s.affixStyle,i&&r!==s.lastAffix&&i(s.lastAffix),e.setState(s)}}},e.prepareMeasure=function(){e.setState({status:I.Prepare,affixStyle:void 0,placeholderStyle:void 0})},e.renderAffix=function(t){var n=t.getPrefixCls,o=e.state,a=o.affixStyle,i=o.placeholderStyle,c=e.props,u=c.prefixCls,f=c.children,p=l()(j({},n("affix",u),a)),m=Object(s.a)(e.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return r.createElement(d.a,{onResize:function(){e.updatePosition()}},r.createElement("div",C({},m,{ref:e.savePlaceholderNode}),a&&r.createElement("div",{style:i,"aria-hidden":"true"}),r.createElement("div",{className:p,ref:e.saveFixedNode,style:a},r.createElement(d.a,{onResize:function(){e.updatePosition()}},f))))},e}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this,t=this.props.target;t&&(this.timeout=setTimeout((function(){S(t(),e),e.updatePosition()})))}},{key:"componentDidUpdate",value:function(e){var t=this.state.prevTarget,n=this.props.target,r=null;n&&(r=n()||null),t!==r&&(N(this),r&&(S(r,this),this.updatePosition()),this.setState({prevTarget:r})),e.offsetTop===this.props.offsetTop&&e.offsetBottom===this.props.offsetBottom||this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),N(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var e=this.props.target,t=this.state.affixStyle;if(e&&t){var n=this.getOffsetTop(),r=this.getOffsetBottom(),o=e();if(o&&this.placeholderNode){var a=E(o),i=E(this.placeholderNode),l=w(i,a,n),c=O(i,a,r);if(void 0!==l&&t.top===l||void 0!==c&&t.bottom===c)return}}this.prepareMeasure()}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderAffix)}}])&&P(t.prototype,n),o&&P(t,o),i}(r.Component);R.defaultProps={target:function(){return"undefined"!=typeof window?window:null}},A([g()],R.prototype,"updatePosition",null),A([g()],R.prototype,"lazyUpdatePosition",null),Object(u.polyfill)(R);var H=R,B=n("zAh6"),F=n("i6bk");function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Z(e);if(t){var o=Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return J(this,n)}}function J(e,t){return!t||"object"!==U(t)&&"function"!=typeof t?Y(e):t}function Y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function G(e,t){if(!e)return 0;if(!e.getClientRects().length)return 0;var n=e.getBoundingClientRect();return n.width||n.height?t===window?(t=e.ownerDocument.documentElement,n.top-t.clientTop):n.top-t.getBoundingClientRect().top:n.top}var Q=/#([^#]+)$/,$=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V(e,t)}(u,e);var t,n,a,i=X(u);function u(){var e;return z(this,u),(e=i.apply(this,arguments)).state={activeLink:null},e.links=[],e.handleScrollTo=function(t){var n=e.props,r=n.offsetTop,o=n.getContainer,a=n.targetOffset;e.setCurrentActiveLink(t);var i=o(),l=Object(F.a)(i,!0),c=Q.exec(t);if(c){var u=document.getElementById(c[1]);if(u){var s=l+G(u,i);s-=void 0!==a?a:r||0,e.animating=!0,Object(B.a)(s,{callback:function(){e.animating=!1},getContainer:o})}}},e.saveInkNode=function(t){e.inkNode=t},e.setCurrentActiveLink=function(t){var n=e.state.activeLink,r=e.props.onChange;n!==t&&(e.setState({activeLink:t}),r&&r(t))},e.handleScroll=function(){if(!e.animating){var t=e.props,n=t.offsetTop,r=t.bounds,o=t.targetOffset,a=e.getCurrentAnchor(void 0!==o?o:n||0,r);e.setCurrentActiveLink(a)}},e.updateInk=function(){if("undefined"!=typeof document){var t=Y(e).prefixCls,n=o.findDOMNode(Y(e)).getElementsByClassName("".concat(t,"-link-title-active"))[0];n&&(e.inkNode.style.top="".concat(n.offsetTop+n.clientHeight/2-4.5,"px"))}},e.renderAnchor=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,i=o.className,c=void 0===i?"":i,u=o.style,s=o.offsetTop,f=o.affix,d=o.showInkInFixed,p=o.children,m=o.getContainer,h=e.state.activeLink,y=n("anchor",a);e.prefixCls=y;var v=l()("".concat(y,"-ink-ball"),{visible:h}),g=l()(c,"".concat(y,"-wrapper")),b=l()(y,{fixed:!f&&!d}),E=W({maxHeight:s?"calc(100vh - ".concat(s,"px)"):"100vh"},u),w=r.createElement("div",{className:g,style:E},r.createElement("div",{className:b},r.createElement("div",{className:"".concat(y,"-ink")},r.createElement("span",{className:v,ref:e.saveInkNode})),p));return f?r.createElement(H,{offsetTop:s,target:m},w):w},e}return t=u,(n=[{key:"getChildContext",value:function(){var e=this;return{antAnchor:{registerLink:function(t){e.links.includes(t)||e.links.push(t)},unregisterLink:function(t){var n=e.links.indexOf(t);-1!==n&&e.links.splice(n,1)},activeLink:this.state.activeLink,scrollTo:this.handleScrollTo,onClick:this.props.onClick}}}},{key:"componentDidMount",value:function(){var e=this.props.getContainer;this.scrollContainer=e(),this.scrollEvent=Object(c.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var e=(0,this.props.getContainer)();this.scrollContainer!==e&&(this.scrollContainer=e,this.scrollEvent.remove(),this.scrollEvent=Object(c.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=this.props.getCurrentAnchor;if("function"==typeof n)return n();var r="";if("undefined"==typeof document)return r;var o=[],a=this.props.getContainer,i=a();if(this.links.forEach((function(n){var r=Q.exec(n.toString());if(r){var a=document.getElementById(r[1]);if(a){var l=G(a,i);l<e+t&&o.push({link:n,top:l})}}})),o.length){var l=o.reduce((function(e,t){return t.top>e.top?t:e}));return l.link}return""}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderAnchor)}}])&&q(t.prototype,n),a&&q(t,a),u}(r.Component);function ee(e){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=le(e);if(t){var o=le(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ie(this,n)}}function ie(e,t){return!t||"object"!==ee(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}$.defaultProps={affix:!0,showInkInFixed:!1,getContainer:function(){return window}},$.childContextTypes={antAnchor:a.object};var ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oe(e,t)}(i,e);var t,n,o,a=ae(i);function i(){var e;return ne(this,i),(e=a.apply(this,arguments)).handleClick=function(t){var n=e.context.antAnchor,r=n.scrollTo,o=n.onClick,a=e.props,i=a.href,l=a.title;o&&o(t,{title:l,href:i}),r(i)},e.renderAnchorLink=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,i=o.href,c=o.title,u=o.children,s=o.className,f=o.target,d=n("anchor",a),p=e.context.antAnchor.activeLink===i,m=l()(s,"".concat(d,"-link"),te({},"".concat(d,"-link-active"),p)),h=l()("".concat(d,"-link-title"),te({},"".concat(d,"-link-title-active"),p));return r.createElement("div",{className:m},r.createElement("a",{className:h,href:i,title:"string"==typeof c?c:"",target:f,onClick:e.handleClick},c),u)},e}return t=i,(n=[{key:"componentDidMount",value:function(){this.context.antAnchor.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(e){var t=e.href,n=this.props.href;t!==n&&(this.context.antAnchor.unregisterLink(t),this.context.antAnchor.registerLink(n))}},{key:"componentWillUnmount",value:function(){this.context.antAnchor.unregisterLink(this.props.href)}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderAnchorLink)}}])&&re(t.prototype,n),o&&re(t,o),i}(r.Component);ce.defaultProps={href:"#"},ce.contextTypes={antAnchor:a.object},Object(u.polyfill)(ce);var ue=ce;$.Link=ue;t.default=$},JwdM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.processSize=function(e){return/^\d+$/.test(e)?"".concat(e,"px"):e},t.noop=function(){}},KhU6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("/wGt")),o=s(n("W9HT")),a=s(n("MJZm")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("Re5i"),n("04bd"),n("dlhN");var l=n("q1tI"),c=s(l);n("KkuB");var u=s(n("vDqi"));function s(e){return e&&e.__esModule?e:{default:e}}var f=a.default.TreeNode,d=a.default.DirectoryTree;t.default=function(e){var t=e.visible,n=e.onClose,a=e.branch,s=e.owner,p=e.projectsId,m=e.history,h=e.name,y=e.list,v=(0,l.useState)(void 0),g=i(v,2),b=g[0],E=g[1],w=(0,l.useState)(!0),O=i(w,2),k=O[0],x=O[1],S=(0,l.useState)(!0),N=i(S,2),C=N[0],j=N[1];return(0,l.useEffect)((function(){var e;t&&C&&(y?(E(y),x(!1)):(e="/"+s+"/"+p+"/entries.json",u.default.get(e,{params:{ref:a}}).then((function(e){e&&E(e.data.entries),x(!1)})).catch((function(e){}))),j(!1))}),[t]),c.default.createElement(r.default,{placement:"left",visible:t,closable:!1,onClose:n,width:"320px",maskStyle:{backgroundColor:"rgba(0,0,0,0.09)"}},c.default.createElement(o.default,{spinning:k},c.default.createElement("div",{className:"drawerHead"},c.default.createElement("p",{className:"font-20"},h),c.default.createElement("p",null,c.default.createElement("i",{class:"iconfont icon-fenzhi2 font-18 color-grey-9 mr3"}),a)),c.default.createElement(d,{loadData:function(e){return new Promise((function(t){if(e.props.children)t();else{var n=[],r="/"+s+"/"+p+"/sub_entries.json";u.default.get(r,{params:{filepath:e.props.dataRef.path,ref:a,type:"dir"}}).then((function(e){e&&(n=e.data.entries)})).catch((function(e){})),setTimeout((function(){e.props.dataRef.children=n,E([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(b))),t()}),2e3)}}))},onSelect:function(e,t){var r,o=t.node.props.dataRef;if("file"===o.type){n();var i=(r=a)&&r.length>0&&r.indexOf("/")>-1?r.replaceAll("/","%2F"):r;m.push("/"+s+"/"+p+"/tree/"+i+"/"+o.path)}}},b&&function e(t){return t&&t.length>0&&t.map((function(t){return c.default.createElement(f,{title:t.name,key:t.key,dataRef:t,isLeaf:"file"===t.type},e(t.children))}))}(b))))}},KusB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("q1tI"),a=(r=o)&&r.__esModule?r:{default:r},i=n("eO8H"),l=n("PhNK");var c={submodule:"icon-file-submodule font-17",file:"icon-wenjian6 font-15 color-blue-file",dir:"icon-wenjianjia4 font-15 color-blue_4C"};t.default=function(e){var t=e.item,n=e.goToSubRoot,r=e.owner,o=e.projectsId;return a.default.createElement("li",null,a.default.createElement("span",null,a.default.createElement("a",{onClick:function(){return n(t.path,t.type,t.name)},className:"submodule"===t.type&&"submoduleStyle"},a.default.createElement("i",{className:"iconfont "+c[""+t.type]+" mr8"}),t.name)),a.default.createElement("span",{title:"init project"},a.default.createElement(i.Link,{to:"/"+r+"/"+o+"/commits/"+(0,l.truncateCommitId)(""+(t.commit&&t.commit.sha)),title:t.commit&&t.commit.message},t.commit&&t.commit.message)),a.default.createElement("span",{title:t.commit&&t.commit.created_at},t.commit&&t.commit.time_from_now))}},MJZm:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n.n(a),l=n("TSYQ"),c=n.n(l),u=n("2W6z"),s=n.n(u),f=n("Zm9Q"),d=n("VCL8"),p=n("foW8"),m=n.n(p)()(null),h=n("lCnp");function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?S(e):t}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=C(t);if(N()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return x(this,e)});function l(){var e;return w(this,l),(e=i.apply(this,arguments)).state={dragNodeHighlight:!1},e.onSelectorClick=function(t){(0,e.props.context.onNodeClick)(t,S(e)),e.isSelectable()?e.onSelect(t):e.onCheck(t)},e.onSelectorDoubleClick=function(t){(0,e.props.context.onNodeDoubleClick)(t,S(e))},e.onSelect=function(t){if(!e.isDisabled()){var n=e.props.context.onNodeSelect;t.preventDefault(),n(t,S(e))}},e.onCheck=function(t){if(!e.isDisabled()){var n=e.props,r=n.disableCheckbox,o=n.checked,a=e.props.context.onNodeCheck;if(e.isCheckable()&&!r){t.preventDefault();var i=!o;a(t,S(e),i)}}},e.onMouseEnter=function(t){(0,e.props.context.onNodeMouseEnter)(t,S(e))},e.onMouseLeave=function(t){(0,e.props.context.onNodeMouseLeave)(t,S(e))},e.onContextMenu=function(t){(0,e.props.context.onNodeContextMenu)(t,S(e))},e.onDragStart=function(t){var n=e.props.context.onNodeDragStart;t.stopPropagation(),e.setState({dragNodeHighlight:!0}),n(t,S(e));try{t.dataTransfer.setData("text/plain","")}catch(e){}},e.onDragEnter=function(t){var n=e.props.context.onNodeDragEnter;t.preventDefault(),t.stopPropagation(),n(t,S(e))},e.onDragOver=function(t){var n=e.props.context.onNodeDragOver;t.preventDefault(),t.stopPropagation(),n(t,S(e))},e.onDragLeave=function(t){var n=e.props.context.onNodeDragLeave;t.stopPropagation(),n(t,S(e))},e.onDragEnd=function(t){var n=e.props.context.onNodeDragEnd;t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,S(e))},e.onDrop=function(t){var n=e.props.context.onNodeDrop;t.preventDefault(),t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,S(e))},e.onExpand=function(t){(0,e.props.context.onNodeExpand)(t,S(e))},e.setSelectHandle=function(t){e.selectHandle=t},e.getNodeChildren=function(){var t=e.props.children,n=Object(f.a)(t).filter((function(e){return e})),r=B(n);return n.length!==r.length&&K(),r},e.getNodeState=function(){var t=e.props.expanded;return e.isLeaf()?null:t?"open":"close"},e.isLeaf=function(){var t=e.props,n=t.isLeaf,r=t.loaded,o=e.props.context.loadData,a=0!==e.getNodeChildren().length;return!1!==n&&(n||!o&&!a||o&&r&&!a)},e.isDisabled=function(){var t=e.props.disabled,n=e.props.context.disabled;return!1!==t&&!(!n&&!t)},e.isCheckable=function(){var t=e.props.checkable,n=e.props.context.checkable;return!(!n||!1===t)&&n},e.syncLoadData=function(t){var n=t.expanded,r=t.loading,o=t.loaded,a=e.props.context,i=a.loadData,l=a.onNodeLoad;r||i&&n&&!e.isLeaf()&&(0!==e.getNodeChildren().length||o||l(S(e)))},e.renderSwitcher=function(){var t=e.props,n=t.expanded,o=t.switcherIcon,a=e.props.context,i=a.prefixCls,l=a.switcherIcon,u=o||l;if(e.isLeaf())return r.createElement("span",{className:c()("".concat(i,"-switcher"),"".concat(i,"-switcher-noop"))},"function"==typeof u?u(b({},e.props,{isLeaf:!0})):u);var s=c()("".concat(i,"-switcher"),"".concat(i,"-switcher_").concat(n?"open":"close"));return r.createElement("span",{onClick:e.onExpand,className:s},"function"==typeof u?u(b({},e.props,{isLeaf:!1})):u)},e.renderCheckbox=function(){var t=e.props,n=t.checked,o=t.halfChecked,a=t.disableCheckbox,i=e.props.context.prefixCls,l=e.isDisabled(),u=e.isCheckable();if(!u)return null;var s="boolean"!=typeof u?u:null;return r.createElement("span",{className:c()("".concat(i,"-checkbox"),n&&"".concat(i,"-checkbox-checked"),!n&&o&&"".concat(i,"-checkbox-indeterminate"),(l||a)&&"".concat(i,"-checkbox-disabled")),onClick:e.onCheck},s)},e.renderIcon=function(){var t=e.props.loading,n=e.props.context.prefixCls;return r.createElement("span",{className:c()("".concat(n,"-iconEle"),"".concat(n,"-icon__").concat(e.getNodeState()||"docu"),t&&"".concat(n,"-icon_loading"))})},e.renderSelector=function(){var t,n=e.state.dragNodeHighlight,o=e.props,a=o.title,i=o.selected,l=o.icon,u=o.loading,s=e.props.context,f=s.prefixCls,d=s.showIcon,p=s.icon,m=s.draggable,h=s.loadData,y=e.isDisabled(),v="".concat(f,"-node-content-wrapper");if(d){var g=l||p;t=g?r.createElement("span",{className:c()("".concat(f,"-iconEle"),"".concat(f,"-icon__customize"))},"function"==typeof g?g(e.props):g):e.renderIcon()}else h&&u&&(t=e.renderIcon());var b=r.createElement("span",{className:"".concat(f,"-title")},a);return r.createElement("span",{ref:e.setSelectHandle,title:"string"==typeof a?a:"",className:c()("".concat(v),"".concat(v,"-").concat(e.getNodeState()||"normal"),!y&&(i||n)&&"".concat(f,"-node-selected"),!y&&m&&"draggable"),draggable:!y&&m||void 0,"aria-grabbed":!y&&m||void 0,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onContextMenu:e.onContextMenu,onClick:e.onSelectorClick,onDoubleClick:e.onSelectorDoubleClick,onDragStart:m?e.onDragStart:void 0},t,b)},e.renderChildren=function(){var t=e.props,n=t.expanded,o=t.pos,a=e.props.context,i=a.prefixCls,l=a.motion,u=a.renderTreeNode,s=e.getNodeChildren();return 0===s.length?null:r.createElement(h.a,Object.assign({visible:n},l),(function(e){var t=e.style,a=e.className;return r.createElement("ul",{className:c()(a,"".concat(i,"-child-tree"),n&&"".concat(i,"-child-tree-open")),style:t,"data-expanded":n,role:"group"},W(s,(function(e,t){return u(e,t,o)})))}))},e}return n=l,(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.eventKey,n=e.context.registerTreeNode;this.syncLoadData(this.props),n(t,this)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.eventKey;(0,e.context.registerTreeNode)(t,null)}},{key:"isSelectable",value:function(){var e=this.props.selectable,t=this.props.context.selectable;return"boolean"==typeof e?e:t}},{key:"render",value:function(){var e,t=this.props.loading,n=this.props,o=n.className,a=n.style,i=n.dragOver,l=n.dragOverGapTop,u=n.dragOverGapBottom,s=n.isLeaf,f=n.expanded,d=n.selected,p=n.checked,m=n.halfChecked,h=v(n,["className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","expanded","selected","checked","halfChecked"]),y=this.props.context,g=y.prefixCls,b=y.filterTreeNode,w=y.draggable,O=this.isDisabled(),k=$(h);return r.createElement("li",Object.assign({className:c()(o,(e={},E(e,"".concat(g,"-treenode-disabled"),O),E(e,"".concat(g,"-treenode-switcher-").concat(f?"open":"close"),!s),E(e,"".concat(g,"-treenode-checkbox-checked"),p),E(e,"".concat(g,"-treenode-checkbox-indeterminate"),m),E(e,"".concat(g,"-treenode-selected"),d),E(e,"".concat(g,"-treenode-loading"),t),E(e,"drag-over",!O&&i),E(e,"drag-over-gap-top",!O&&l),E(e,"drag-over-gap-bottom",!O&&u),E(e,"filter-node",b&&b(this)),e)),style:a,role:"treeitem",onDragEnter:w?this.onDragEnter:void 0,onDragOver:w?this.onDragOver:void 0,onDragLeave:w?this.onDragLeave:void 0,onDrop:w?this.onDrop:void 0,onDragEnd:w?this.onDragEnd:void 0},k),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector(),this.renderChildren())}}])&&O(n.prototype,o),a&&O(n,a),l}(r.Component);j.propTypes={eventKey:i.a.string,prefixCls:i.a.string,className:i.a.string,style:i.a.object,onSelect:i.a.func,expanded:i.a.bool,selected:i.a.bool,checked:i.a.bool,loaded:i.a.bool,loading:i.a.bool,halfChecked:i.a.bool,children:i.a.node,title:i.a.node,pos:i.a.string,dragOver:i.a.bool,dragOverGapTop:i.a.bool,dragOverGapBottom:i.a.bool,isLeaf:i.a.bool,checkable:i.a.bool,selectable:i.a.bool,disabled:i.a.bool,disableCheckbox:i.a.bool,icon:i.a.oneOfType([i.a.node,i.a.func]),switcherIcon:i.a.oneOfType([i.a.node,i.a.func])},Object(d.polyfill)(j);var _=function(e){return r.createElement(m.Consumer,null,(function(t){return r.createElement(j,Object.assign({},e,{context:t}))}))};_.defaultProps={title:"---"},_.isTreeNode=1;var P=_;function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var M=!1;function K(){M||(M=!0,s()(!1,"Tree only accept TreeNode as children."))}function L(e,t){var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function I(e,t){var n=e.slice();return-1===n.indexOf(t)&&n.push(t),n}function A(e){return e.split("-")}function R(e,t){return"".concat(e,"-").concat(t)}function H(e){return e&&e.type&&e.type.isTreeNode}function B(e){return Object(f.a)(e).filter(H)}function F(e){var t=e.props||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!(!n&&!r)||!1===o}function U(e,t){!function n(o,a,i){var l=o?o.props.children:e,c=o?R(i.pos,a):0,u=B(l);if(o){var s={node:o,index:a,pos:c,key:o.key||c,parentPos:i.node?i.pos:null};t(s)}r.Children.forEach(u,(function(e,t){n(e,t,{node:o,pos:c})}))}(null)}function W(e,t){var n=Object(f.a)(e).map(t);return 1===n.length?n[0]:n}function z(e,t){var n=t.props,r=n.eventKey,o=n.pos,a=[];return U(e,(function(e){var t=e.key;a.push(t)})),a.push(r||o),a}function q(e,t){var n=e.clientY,r=t.selectHandle.getBoundingClientRect(),o=r.top,a=r.bottom,i=r.height,l=Math.max(.25*i,2);return n<=o+l?-1:n>=a-l?1:0}function V(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function X(e){return e?e.map((function(e){return String(e)})):e}var J=function(e){return e};function Y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,a={},i={},l={posEntities:a,keyEntities:i};return n&&(l=n(l)||l),U(e,(function(e){var t=e.node,n=e.index,o=e.pos,c=e.key,u=e.parentPos,s={node:t,index:n,key:c,pos:o};a[o]=s,i[c]=s,s.parent=a[u],s.parent&&(s.parent.children=s.parent.children||[],s.parent.children.push(s)),r&&r(s,l)})),o&&o(l),l}function Z(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==D(e))return s()(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t.checkedKeys=X(t.checkedKeys),t.halfCheckedKeys=X(t.halfCheckedKeys),t}function G(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={},a={};function i(e){if(o[e]!==t){var r=n[e];if(r){var l=r.children,c=r.parent;if(!F(r.node)){var u=!0,s=!1;(l||[]).filter((function(e){return!F(e.node)})).forEach((function(e){var t=e.key,n=o[t],r=a[t];(n||r)&&(s=!0),n||(u=!1)})),o[e]=!!t&&u,a[e]=s,c&&i(c.key)}}}}function l(e){if(o[e]!==t){var r=n[e];if(r){var a=r.children;F(r.node)||(o[e]=t,(a||[]).forEach((function(e){l(e.key)})))}}}function c(e){var r=n[e];if(r){var a=r.children,c=r.parent,u=r.node;o[e]=t,F(u)||((a||[]).filter((function(e){return!F(e.node)})).forEach((function(e){l(e.key)})),c&&i(c.key))}else s()(!1,"'".concat(e,"' does not exist in the tree."))}(r.checkedKeys||[]).forEach((function(e){o[e]=!0})),(r.halfCheckedKeys||[]).forEach((function(e){a[e]=!0})),(e||[]).forEach((function(e){c(e)}));var u=[],f=[];return Object.keys(o).forEach((function(e){o[e]&&u.push(e)})),Object.keys(a).forEach((function(e){!o[e]&&a[e]&&f.push(e)})),{checkedKeys:u,halfCheckedKeys:f}}function Q(e,t){var n={};return(e||[]).forEach((function(e){!function e(r){if(!n[r]){var o=t[r];if(o){n[r]=!0;var a=o.parent,i=o.node;i.props&&i.props.disabled||a&&e(a.key)}}}(e)})),Object.keys(n)}function $(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)||(t[n]=e[n]),t}),{})}function ee(e){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function re(e,t){return(re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oe(e,t){return!t||"object"!==ee(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ae(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var le=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&re(e,t)}(u,e);var t,n,a,i,l=(t=u,function(){var e,n=ie(t);if(ae()){var r=ie(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return oe(this,e)});function u(){var e;return te(this,u),(e=l.apply(this,arguments)).domTreeNodes={},e.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeNode:[],prevProps:null},e.onNodeDragStart=function(t,n){var r=e.state.expandedKeys,o=e.props.onDragStart,a=n.props,i=a.eventKey,l=a.children;e.dragNode=n,e.setState({dragNodesKeys:z(l,n),expandedKeys:L(r,i)}),o&&o({event:t,node:n})},e.onNodeDragEnter=function(t,n){var r=e.state,o=r.expandedKeys,a=r.dragNodesKeys,i=e.props.onDragEnter,l=n.props,c=l.pos,u=l.eventKey;if(e.dragNode&&-1===a.indexOf(u)){var s=q(t,n);e.dragNode.props.eventKey!==u||0!==s?setTimeout((function(){e.setState({dragOverNodeKey:u,dropPosition:s}),e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach((function(t){clearTimeout(e.delayedDragEnterLogic[t])})),e.delayedDragEnterLogic[c]=window.setTimeout((function(){var r=I(o,u);"expandedKeys"in e.props||e.setState({expandedKeys:r}),i&&i({event:t,node:n,expandedKeys:r})}),400)}),0):e.setState({dragOverNodeKey:"",dropPosition:null})}},e.onNodeDragOver=function(t,n){var r=e.state.dragNodesKeys,o=e.props.onDragOver,a=n.props.eventKey;if(-1===r.indexOf(a)){if(e.dragNode&&a===e.state.dragOverNodeKey){var i=q(t,n);if(i===e.state.dropPosition)return;e.setState({dropPosition:i})}o&&o({event:t,node:n})}},e.onNodeDragLeave=function(t,n){var r=e.props.onDragLeave;e.setState({dragOverNodeKey:""}),r&&r({event:t,node:n})},e.onNodeDragEnd=function(t,n){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:""}),r&&r({event:t,node:n}),e.dragNode=null},e.onNodeDrop=function(t,n){var r=e.state,o=r.dragNodesKeys,a=void 0===o?[]:o,i=r.dropPosition,l=e.props.onDrop,c=n.props,u=c.eventKey,f=c.pos;if(e.setState({dragOverNodeKey:""}),-1===a.indexOf(u)){var d=A(f),p={event:t,node:n,dragNode:e.dragNode,dragNodesKeys:a.slice(),dropPosition:i+Number(d[d.length-1]),dropToGap:!1};0!==i&&(p.dropToGap=!0),l&&l(p),e.dragNode=null}else s()(!1,"Can not drop to dragNode(include it's children node)")},e.onNodeClick=function(t,n){var r=e.props.onClick;r&&r(t,n)},e.onNodeDoubleClick=function(t,n){var r=e.props.onDoubleClick;r&&r(t,n)},e.onNodeSelect=function(t,n){var r=e.state.selectedKeys,o=e.state.keyEntities,a=e.props,i=a.onSelect,l=a.multiple,c=n.props,u=c.selected,s=c.eventKey,f=!u,d=(r=f?l?I(r,s):[s]:L(r,s)).map((function(e){var t=o[e];return t?t.node:null})).filter((function(e){return e}));e.setUncontrolledState({selectedKeys:r}),i&&i(r,{event:"select",selected:f,node:n,selectedNodes:d,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,r){var o,a=e.state,i=a.keyEntities,l=a.checkedKeys,c=a.halfCheckedKeys,u=e.props,s=u.checkStrictly,f=u.onCheck,d=n.props.eventKey,p={event:"check",node:n,checked:r,nativeEvent:t.nativeEvent};if(s){var m=r?I(l,d):L(l,d);o={checked:m,halfChecked:L(c,d)},p.checkedNodes=m.map((function(e){return i[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:m})}else{var h=G([d],r,i,{checkedKeys:l,halfCheckedKeys:c}),y=h.checkedKeys,v=h.halfCheckedKeys;o=y,p.checkedNodes=[],p.checkedNodesPositions=[],p.halfCheckedKeys=v,y.forEach((function(e){var t=i[e];if(t){var n=t.node,r=t.pos;p.checkedNodes.push(n),p.checkedNodesPositions.push({node:n,pos:r})}})),e.setUncontrolledState({checkedKeys:y,halfCheckedKeys:v})}f&&f(o,p)},e.onNodeLoad=function(t){return new Promise((function(n){e.setState((function(r){var o=r.loadedKeys,a=void 0===o?[]:o,i=r.loadingKeys,l=void 0===i?[]:i,c=e.props,u=c.loadData,s=c.onLoad,f=t.props.eventKey;return u&&-1===a.indexOf(f)&&-1===l.indexOf(f)?(u(t).then((function(){var r=e.state,o=r.loadedKeys,a=r.loadingKeys,i=I(o,f),l=L(a,f);s&&s(i,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:i}),e.setState({loadingKeys:l}),n()})),{loadingKeys:I(l,f)}):{}}))}))},e.onNodeExpand=function(t,n){var r=e.state.expandedKeys,o=e.props,a=o.onExpand,i=o.loadData,l=n.props,c=l.eventKey,u=l.expanded,f=r.indexOf(c),d=!u;if(s()(u&&-1!==f||!u&&-1===f,"Expand state not sync with index check"),r=d?I(r,c):L(r,c),e.setUncontrolledState({expandedKeys:r}),a&&a(r,{node:n,expanded:d,nativeEvent:t.nativeEvent}),d&&i){var p=e.onNodeLoad(n);return p?p.then((function(){e.setUncontrolledState({expandedKeys:r})})):null}return null},e.onNodeMouseEnter=function(t,n){var r=e.props.onMouseEnter;r&&r({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var r=e.props.onMouseLeave;r&&r({event:t,node:n})},e.onNodeContextMenu=function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))},e.setUncontrolledState=function(t){var n=!1,r={};Object.keys(t).forEach((function(o){o in e.props||(n=!0,r[o]=t[o])})),n&&e.setState(r)},e.registerTreeNode=function(t,n){n?e.domTreeNodes[t]=n:delete e.domTreeNodes[t]},e.isKeyChecked=function(t){var n=e.state.checkedKeys;return-1!==(void 0===n?[]:n).indexOf(t)},e.renderTreeNode=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=e.state,i=a.keyEntities,l=a.expandedKeys,c=void 0===l?[]:l,u=a.selectedKeys,s=void 0===u?[]:u,f=a.halfCheckedKeys,d=void 0===f?[]:f,p=a.loadedKeys,m=void 0===p?[]:p,h=a.loadingKeys,y=void 0===h?[]:h,v=a.dragOverNodeKey,g=a.dropPosition,b=R(o,n),E=t.key||b;return i[E]?r.cloneElement(t,{key:E,eventKey:E,expanded:-1!==c.indexOf(E),selected:-1!==s.indexOf(E),loaded:-1!==m.indexOf(E),loading:-1!==y.indexOf(E),checked:e.isKeyChecked(E),halfChecked:-1!==d.indexOf(E),pos:b,dragOver:v===E&&0===g,dragOverGapTop:v===E&&-1===g,dragOverGapBottom:v===E&&1===g}):(K(),null)},e}return n=u,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};function a(t){return!n&&t in e||n&&n[t]!==e[t]}var i=null;if(a("treeData")?i=function e(t,n){if(!t)return[];var r=(n||{}).processProps,a=void 0===r?J:r;return(Array.isArray(t)?t:[t]).map((function(t){var r=t.children,i=T(t,["children"]),l=e(r,n);return o.a.createElement(P,Object.assign({},a(i)),l)}))}(e.treeData):a("children")&&(i=Object(f.a)(e.children)),i){r.treeNode=i;var l=Y(i);r.keyEntities=l.keyEntities}var c,u=r.keyEntities||t.keyEntities;if(a("expandedKeys")||n&&a("autoExpandParent")?r.expandedKeys=e.autoExpandParent||!n&&e.defaultExpandParent?Q(e.expandedKeys,u):e.expandedKeys:!n&&e.defaultExpandAll?r.expandedKeys=Object.keys(u):!n&&e.defaultExpandedKeys&&(r.expandedKeys=e.autoExpandParent||e.defaultExpandParent?Q(e.defaultExpandedKeys,u):e.defaultExpandedKeys),e.selectable&&(a("selectedKeys")?r.selectedKeys=V(e.selectedKeys,e):!n&&e.defaultSelectedKeys&&(r.selectedKeys=V(e.defaultSelectedKeys,e))),e.checkable&&(a("checkedKeys")?c=Z(e.checkedKeys)||{}:!n&&e.defaultCheckedKeys?c=Z(e.defaultCheckedKeys)||{}:i&&(c=Z(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),c)){var s=c,d=s.checkedKeys,p=void 0===d?[]:d,m=s.halfCheckedKeys,h=void 0===m?[]:m;if(!e.checkStrictly){var y=G(p,!0,u);p=y.checkedKeys,h=y.halfCheckedKeys}r.checkedKeys=p,r.halfCheckedKeys=h}return a("loadedKeys")&&(r.loadedKeys=e.loadedKeys),r}}],(a=[{key:"render",value:function(){var e,t,n,o=this,a=this.state.treeNode,i=this.props,l=i.prefixCls,u=i.className,s=i.focusable,f=i.style,d=i.showLine,p=i.tabIndex,h=void 0===p?0:p,y=i.selectable,v=i.showIcon,g=i.icon,b=i.switcherIcon,E=i.draggable,w=i.checkable,O=i.checkStrictly,k=i.disabled,x=i.motion,S=i.loadData,N=i.filterTreeNode,C=$(this.props);return s&&(C.tabIndex=h),r.createElement(m.Provider,{value:{prefixCls:l,selectable:y,showIcon:v,icon:g,switcherIcon:b,draggable:E,checkable:w,checkStrictly:O,disabled:k,motion:x,loadData:S,filterTreeNode:N,renderTreeNode:this.renderTreeNode,isKeyChecked:this.isKeyChecked,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop,registerTreeNode:this.registerTreeNode}},r.createElement("ul",Object.assign({},C,{className:c()(l,u,(e={},t="".concat(l,"-show-line"),n=d,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),style:f,role:"tree",unselectable:"on"}),W(a,(function(e,t){return o.renderTreeNode(e,t)}))))}}])&&ne(n.prototype,a),i&&ne(n,i),u}(r.Component);le.propTypes={prefixCls:i.a.string,className:i.a.string,style:i.a.object,tabIndex:i.a.oneOfType([i.a.string,i.a.number]),children:i.a.any,treeData:i.a.array,showLine:i.a.bool,showIcon:i.a.bool,icon:i.a.oneOfType([i.a.node,i.a.func]),focusable:i.a.bool,selectable:i.a.bool,disabled:i.a.bool,multiple:i.a.bool,checkable:i.a.oneOfType([i.a.bool,i.a.node]),checkStrictly:i.a.bool,draggable:i.a.bool,defaultExpandParent:i.a.bool,autoExpandParent:i.a.bool,defaultExpandAll:i.a.bool,defaultExpandedKeys:i.a.arrayOf(i.a.string),expandedKeys:i.a.arrayOf(i.a.string),defaultCheckedKeys:i.a.arrayOf(i.a.string),checkedKeys:i.a.oneOfType([i.a.arrayOf(i.a.oneOfType([i.a.string,i.a.number])),i.a.object]),defaultSelectedKeys:i.a.arrayOf(i.a.string),selectedKeys:i.a.arrayOf(i.a.string),onClick:i.a.func,onDoubleClick:i.a.func,onExpand:i.a.func,onCheck:i.a.func,onSelect:i.a.func,onLoad:i.a.func,loadData:i.a.func,loadedKeys:i.a.arrayOf(i.a.string),onMouseEnter:i.a.func,onMouseLeave:i.a.func,onRightClick:i.a.func,onDragStart:i.a.func,onDragEnter:i.a.func,onDragOver:i.a.func,onDragLeave:i.a.func,onDragEnd:i.a.func,onDrop:i.a.func,filterTreeNode:i.a.func,motion:i.a.object,switcherIcon:i.a.oneOfType([i.a.node,i.a.func])},le.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},Object(d.polyfill)(le);var ce=le;ce.TreeNode=P;var ue,se=ce,fe=n("BGR+"),de=n("sEfC"),pe=n.n(de),me=n("H84U");function he(e){return function(e){if(Array.isArray(e))return ye(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ye(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ve(e,t){(B(e)||[]).forEach((function(e){var n=e.key,r=e.props.children;!1!==t(n,e)&&ve(r,t)}))}function ge(e,t,n,r){var o=[],a=ue.None;if(n&&n===r)return[n];if(!n||!r)return[];return ve(e,(function(e){if(a===ue.End)return!1;if(function(e){return e===n||e===r}(e)){if(o.push(e),a===ue.None)a=ue.Start;else if(a===ue.Start)return a=ue.End,!1}else a===ue.Start&&o.push(e);return-1!==t.indexOf(e)})),o}function be(e,t){var n=he(t),r=[];return ve(e,(function(e,t){var o=n.indexOf(e);return-1!==o&&(r.push(t),n.splice(o,1)),!!n.length})),r}!function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"}(ue||(ue={}));var Ee=n("CtXQ");function we(e){return(we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(e){return function(e){if(Array.isArray(e))return ke(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ke(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ke(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ne(e,t){return(Ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ce(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_e(e);if(t){var o=_e(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return je(this,n)}}function je(e,t){return!t||"object"!==we(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Pe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function De(e){var t=e.isLeaf,n=e.expanded;return t?r.createElement(Ee.default,{type:"file"}):r.createElement(Ee.default,{type:n?"folder-open":"folder"})}var Te=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ne(e,t)}(i,e);var t,n,o,a=Ce(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=a.call(this,e)).onExpand=function(e,n){var r=t.props.onExpand;if(t.setUncontrolledState({expandedKeys:e}),r)return r(e,n)},t.onClick=function(e,n){var r=t.props,o=r.onClick;"click"===r.expandAction&&t.onDebounceExpand(e,n),o&&o(e,n)},t.onDoubleClick=function(e,n){var r=t.props,o=r.onDoubleClick;"doubleClick"===r.expandAction&&t.onDebounceExpand(e,n),o&&o(e,n)},t.onSelect=function(e,n){var r,o=t.props,a=o.onSelect,i=o.multiple,l=o.children,c=t.state.expandedKeys,u=void 0===c?[]:c,s=n.node,f=n.nativeEvent,d=s.props.eventKey,p=void 0===d?"":d,m={},h=xe(xe({},n),{selected:!0}),y=f.ctrlKey||f.metaKey,v=f.shiftKey;i&&y?(r=e,t.lastSelectedKey=p,t.cachedSelectedKeys=r,h.selectedNodes=be(l,r)):i&&v?(r=Array.from(new Set([].concat(Oe(t.cachedSelectedKeys||[]),Oe(ge(l,u,p,t.lastSelectedKey))))),h.selectedNodes=be(l,r)):(r=[p],t.lastSelectedKey=p,t.cachedSelectedKeys=r,h.selectedNodes=[n.node]),m.selectedKeys=r,a&&a(r,h),t.setUncontrolledState(m)},t.setTreeRef=function(e){t.tree=e},t.expandFolderNode=function(e,n){n.props.isLeaf||e.shiftKey||e.metaKey||e.ctrlKey||t.tree.tree.onNodeExpand(e,n)},t.setUncontrolledState=function(e){var n=Object(fe.a)(e,Object.keys(t.props));Object.keys(n).length&&t.setState(n)},t.renderDirectoryTree=function(e){var n=e.getPrefixCls,o=t.props,a=o.prefixCls,i=o.className,l=Pe(o,["prefixCls","className"]),u=t.state,s=u.expandedKeys,f=u.selectedKeys,d=n("tree",a),p=c()("".concat(d,"-directory"),i);return r.createElement(qe,xe({icon:De,ref:t.setTreeRef},l,{prefixCls:d,className:p,expandedKeys:s,selectedKeys:f,onSelect:t.onSelect,onClick:t.onClick,onDoubleClick:t.onDoubleClick,onExpand:t.onExpand}))};var n=e.defaultExpandAll,o=e.defaultExpandParent,l=e.expandedKeys,u=e.defaultExpandedKeys,s=Y(e.children).keyEntities;return t.state={selectedKeys:e.selectedKeys||e.defaultSelectedKeys||[]},n?e.treeData?t.state.expandedKeys=function e(t){var n=[];return(t||[]).forEach((function(t){n.push(t.key),t.children&&(n=[].concat(he(n),he(e(t.children))))})),n}(e.treeData):t.state.expandedKeys=function(e){var t=Y(e).keyEntities;return Object.keys(t)}(e.children):t.state.expandedKeys=o?Q(l||u,s):l||u,t.onDebounceExpand=pe()(t.expandFolderNode,200,{leading:!0}),t}return t=i,o=[{key:"getDerivedStateFromProps",value:function(e){var t={};return"expandedKeys"in e&&(t.expandedKeys=e.expandedKeys),"selectedKeys"in e&&(t.selectedKeys=e.selectedKeys),t}}],(n=[{key:"render",value:function(){return r.createElement(me.a,null,this.renderDirectoryTree)}}])&&Se(t.prototype,n),o&&Se(t,o),i}(r.Component);Te.defaultProps={showIcon:!0,expandAction:"click"},Object(d.polyfill)(Te);var Me=Te,Ke=n("EXcs");function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ie(){return(Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Be(e,t){return(Be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ze(e);if(t){var o=ze(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ue(this,n)}}function Ue(e,t){return!t||"object"!==Le(t)&&"function"!=typeof t?We(e):t}function We(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Be(e,t)}(i,e);var t,n,o,a=Fe(i);function i(){var e;return Re(this,i),(e=a.apply(this,arguments)).renderSwitcherIcon=function(t,n,o){var a=o.isLeaf,i=o.expanded,l=o.loading,u=e.props.showLine;if(l)return r.createElement(Ee.default,{type:"loading",className:"".concat(t,"-switcher-loading-icon")});if(a)return u?r.createElement(Ee.default,{type:"file",className:"".concat(t,"-switcher-line-icon")}):null;var s="".concat(t,"-switcher-icon");return n?r.cloneElement(n,{className:c()(n.props.className||"",s)}):u?r.createElement(Ee.default,{type:i?"minus-square":"plus-square",className:"".concat(t,"-switcher-line-icon"),theme:"outlined"}):r.createElement(Ee.default,{type:"caret-down",className:s,theme:"filled"})},e.setTreeRef=function(t){e.tree=t},e.renderTree=function(t){var n,o=t.getPrefixCls,a=We(e).props,i=a.prefixCls,l=a.className,u=a.showIcon,s=a.switcherIcon,f=a.blockNode,d=a.children,p=a.checkable,m=o("tree",i);return r.createElement(se,Ie({ref:e.setTreeRef},a,{prefixCls:m,className:c()(l,(n={},Ae(n,"".concat(m,"-icon-hide"),!u),Ae(n,"".concat(m,"-block-node"),f),n)),checkable:p?r.createElement("span",{className:"".concat(m,"-checkbox-inner")}):p,switcherIcon:function(t){return e.renderSwitcherIcon(m,s,t)}}),d)},e}return t=i,(n=[{key:"render",value:function(){return r.createElement(me.a,null,this.renderTree)}}])&&He(t.prototype,n),o&&He(t,o),i}(r.Component);qe.TreeNode=P,qe.DirectoryTree=Me,qe.defaultProps={checkable:!1,showIcon:!1,motion:Ie(Ie({},Ke.a),{motionAppear:!1}),blockNode:!1};t.default=qe},MN5C:function(e,t,n){},NAAl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("kLXV")),o=c(n("Vl3Y")),a=c(n("5rEg"));n("k3Gp"),n("tULf"),n("1vPl");var i=n("q1tI"),l=c(i);function c(e){return e&&e.__esModule?e:{default:e}}n("dEUZ");var u=a.default.TextArea;t.default=o.default.create()((0,i.forwardRef)((function(e){var t=e.form,n=e.visible,c=e.onCancel,s=e.onOk,f=e.desc,d=e.website,p=e.lesson_url,m=t.getFieldDecorator,h=t.validateFields,y=t.setFieldsValue;return(0,i.useEffect)((function(){(f||d)&&y({website:d,desc:f,lesson_url:p})}),[f,d]),l.default.createElement(r.default,{title:"修改信息",closable:!1,visible:n,centered:!0,onCancel:c,onOk:function(){h((function(e,t){e||(c(),s(t.desc,t.website,t.lesson_url))}))},okText:"确定",cancelText:"取消",width:"400px",className:"descmodal"},l.default.createElement(o.default,null,l.default.createElement(o.default.Item,{label:"项目简介"},m("desc",{rules:[]})(l.default.createElement(u,{placeholder:"请输入项目简介",rows:4,maxLength:200}))),l.default.createElement(o.default.Item,{label:"website"},m("website",{rules:[]})(l.default.createElement(a.default,{placeholder:"website链接"}))),l.default.createElement(o.default.Item,{label:"实践课程"},m("lesson_url",{rules:[]})(l.default.createElement(a.default,{placeholder:"实践课程链接"})))))})))},OZBj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("JsLm")),o=d(n("jsC+")),a=d(n("W9HT")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("mJp1"),n("aIZi"),n("04bd");var l=n("q1tI"),c=d(l),u=d(n("bjH3")),s=n("spEH"),f=d(n("mJXK"));function d(e){return e&&e.__esModule?e:{default:e}}var p=window.$;t.default=function(e){var t=e.operate,n=e.history,d=e.readme,m=e.ChangeFile,h=(0,l.useState)(void 0),y=i(h,2),v=y[0],g=y[1],b=(0,l.useState)(void 0),E=i(b,2),w=E[0],O=E[1];return(0,l.useEffect)((function(){d&&d.content?O(d.content):O(void 0)}),[d]),(0,l.useEffect)((function(){n.location.pathname;var e=p.map(p("#readme").find("h1,h2,h3,h4,h5,h6"),(function(e,t){var n=e.id,r=e.tagName.replace("H","");return{href:""+("#"+n),text:e.textContent,level:r}}));g(e)}),[w]),c.default.createElement("div",{className:"commonBox readBox",id:"readme"},c.default.createElement(r.default,{offsetTop:70,targetOffset:160},c.default.createElement("div",{className:"commonBox-title boxTitle"},c.default.createElement(s.AlignCenter,null,c.default.createElement(o.default,{overlay:v&&v.length>0?c.default.createElement(f.default,{menuList:v,hash:n.location.hash}):c.default.createElement(a.default,null),trigger:["hover"],overlayClassName:"menuslist"},c.default.createElement("span",{className:"catelogue"},c.default.createElement("i",{className:"iconfont icon-muluicon font-12 mr5"}),c.default.createElement("span",null,"目录"))),c.default.createElement("span",{className:"commonBox-title-read"},c.default.createElement("a",{href:"#readme "},"README.md"))),t?c.default.createElement("a",{className:"ml20 pull-right",onClick:function(){return m(d&&d.path,!1)}},c.default.createElement("i",{className:"iconfont icon-a-bianji font-17 color-grey-6"})):"")),w&&c.default.createElement("div",{className:"commonBox-info"},c.default.createElement(u.default,{className:"break_word_comments imageLayerParent",value:w,url:n.location})))}},PArb:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),a=n.n(o),i=n("H84U");function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};t.default=function(e){return r.createElement(i.a,null,(function(t){var n,o=t.getPrefixCls,i=e.prefixCls,s=e.type,f=void 0===s?"horizontal":s,d=e.orientation,p=void 0===d?"center":d,m=e.className,h=e.children,y=e.dashed,v=u(e,["prefixCls","type","orientation","className","children","dashed"]),g=o("divider",i),b=p.length>0?"-".concat(p):p,E=a()(m,g,"".concat(g,"-").concat(f),(c(n={},"".concat(g,"-with-text").concat(b),h),c(n,"".concat(g,"-dashed"),!!y),n));return r.createElement("div",l({className:E},v,{role:"separator"}),h&&r.createElement("span",{className:"".concat(g,"-inner-text")},h))}))}},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+r}},"R/Rt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n("q1tI"),i=u(a),l=u(n("gL5p")),c=u(n("BtkW"));function u(e){return e&&e.__esModule?e:{default:e}}n("XmZk"),n("lr0e");var s=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidUpdate=function(e){e&&n.props&&n.props.content!==e.content&&n.setState({editorValue:n.props.content})},n.changeEditor=function(e){n.setState({editorValue:e})},n.state={editorValue:n.props.content,prevHeight:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=this,t=this.state.editorValue,n=this.props,o=n.readOnly,a=n.editorType,u=n.language,s=n.currentBranch,f=n.descName,d={lineNumbers:"on",wordWrap:!0,selectOnLineNumbers:!0,lineHeight:24,renderLineHighlight:"line",revealHorizontalRightPadding:5,placeholder:"请输入内容",readOnly:o,cursorStyle:o?"underline-thin":"line",folding:!0,foldingStrategy:"indentation",automaticLayout:!0,overviewRulerBorder:!1,scrollBeyondLastLine:!1,minimap:{enabled:!1}};return i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"editorBorderBox"},i.default.createElement(l.default,{language:u||"plaintext",theme:"vs-grey",placeholder:"请输入内容",value:t,options:d,onChange:this.changeEditor,editorWillMount:this.editorWillMount,editorDidMount:function(t,n){t.onDidChangeModelDecorations((function(){requestAnimationFrame(r)}));var r=function(){var r=t.getDomNode();if(r){var o=t.getOption(n.editor.EditorOption.lineHeight),a=t.getModel().getLineCount()||1,i=t.getTopForLineNumber(a+1)+o+40;i<400&&(i=400),e.state.prevHeight!==i&&(e.setState({prevHeight:i}),r.style.height=i+"px",t.layout())}};r()}})),!o&&i.default.createElement("div",{className:"editorBorderSubmitBox",style:{marginTop:"20px",padding:"20px"}},i.default.createElement(c.default,r({},this.props,this.state,{filepath:""+this.props.filepath,content:t,editor_type:a,currentBranch:s,descName:f}))))}}]),t}(a.Component);t.default=s},Re5i:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("5UXo")},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=(r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],o=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),i=u(n("q1tI")),l=u(n("vOnD")),c=n("eO8H");function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,o=e.id,u=e.login,s=l.default.span(a,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return o?i.default.createElement(c.Link,{to:"/"+u},i.default.createElement(s,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))):i.default.createElement(s,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},"S+ru":function(e,t,n){},XmZk:function(e,t,n){},YDKw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("q1tI"),a=(r=o)&&r.__esModule?r:{default:r},i=n("spEH"),l=n("eO8H");t.default=function(e){var t=e.owner,n=e.projectsId,r=e.releaseVersions,o=e.distribution;return a.default.createElement("div",null,a.default.createElement(l.Link,{to:"/"+t+"/"+n+"/releases",className:"font-16 color-ooo hoverA"},a.default.createElement("span",null,"发行版"),r&&r.total_count>0&&a.default.createElement("span",{className:"infoCount"},r.total_count)),r&&r.total_count>0?r.list.map((function(e,r){return 0===r&&a.default.createElement(i.AlignTop,{className:"mt10"},a.default.createElement("div",null,a.default.createElement("p",{className:"font-16 color-grey-6",style:{display:"flex",alignItems:"center"}},a.default.createElement(l.Link,{to:{pathname:"/"+t+"/"+n+"/releases",query:{turnFromNew:!0}},style:{maxWidth:"200px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},e.name),a.default.createElement("span",{className:"font-12 laterest ml5"},"最新")),a.default.createElement("p",{className:"color-grey-3 font-12"},e.created_at)))})):a.default.createElement("div",{className:"mt8"},"您暂未发布任何版本",o&&a.default.createElement(l.Link,{className:"color-blue ml20",to:{pathname:"/"+t+"/"+n+"/releases/new",state:{stable:!0}}},"创建新版本")))}},YIv0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r},l=n("spEH");t.default=function(e){var t=e.languages,n=(0,a.useState)(void 0),r=o(n,2),c=r[0],u=r[1];function s(){for(var e="#",t=["1","2","3","4","4","5","6","7","8","9","a","b","c","d","e","f"],n=0;n<6;n++){e+=t[parseInt(16*Math.random())]}return e}return(0,a.useEffect)((function(){if(t){var e=[];Object.keys(t).map((function(n,r){e.push({name:n,percent:t[n],color:s()})})),u(e)}}),[t]),i.default.createElement("div",null,i.default.createElement("p",{className:"font-16 color-ooo aboutSubTitle"},"开发语言"),i.default.createElement("div",{className:"progress"},c&&c.map((function(e,t){return i.default.createElement("span",{style:{width:e.percent,backgroundColor:e.color}})}))),c&&c.length>0&&i.default.createElement(l.FlexAJ,{className:"progresstip"},c.map((function(e,t){return i.default.createElement("span",null,i.default.createElement("i",{className:"zero",style:{backgroundColor:""+e.color}}),i.default.createElement("span",null,e.name),i.default.createElement("span",null,e.percent))}))))}},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),o=u(r);n("vg9a");var a=n("ud8/"),i=u(a);n("SJMd");var l=u(n("wMS7")),c=n("Oy/b");function u(e){return e&&e.__esModule?e:{default:e}}var s=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,u=e.className,f=e.style,d=void 0===f?{}:f,p=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,i.default)(m),t=(0,a.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,a.getTocContent)()),(0,a.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],o=r.type,a=r.expression;return(0,c.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(a)||"",{displayMode:"block"===o,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,a.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(p&&p.hash&&h){var e=p.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[p,h]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(y.current&&h&&h.match(s)&&window.PR.prettyPrint(),y.current)return y.current.addEventListener("click",v),function(){y.current.removeEventListener("click",v),(0,a.resetMathExpressions)(),(0,a.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:d,className:(u||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},cJAJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("W9HT")),o=f(n("BvKs")),a=f(n("5rEg")),i=f(n("14Xm")),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd"),n("2WkQ"),n("1vPl");var c=n("q1tI"),u=f(c),s=n("tnhM");function f(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(o,a){try{var i=t[o](a),l=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(l).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(l)}("next")}))}}t.default=function(e){var t,n,f=(t=d(i.default.mark((function e(t,n){var r;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getBranch)(t,n);case 2:r=e.sent,M(r),A(r),_(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)}),p=(n=d(i.default.mark((function e(t,n){var r;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getTag)(t,n);case 2:r=e.sent,M(r),A(r),_(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)}),m=e.changeBranch,h=e.tagflag,y=e.branchList,v=e.projectsId,g=e.owner,b=(e.visible,(0,c.useState)(void 0)),E=l(b,2),w=E[0],O=E[1],k=(0,c.useState)(0),x=l(k,2),S=x[0],N=(x[1],(0,c.useState)(!0)),C=l(N,2),j=C[0],_=C[1],P=(0,c.useState)(void 0),D=l(P,2),T=D[0],M=D[1],K=(0,c.useState)(void 0),L=l(K,2),I=L[0],A=L[1],R=(0,c.useState)("branch"),H=l(R,2),B=H[0],F=H[1];return(0,c.useEffect)((function(){y&&(M(y),A(y),_(!1))}),[y]),u.default.createElement("div",{className:"overlayBranch"},u.default.createElement("div",{className:"padding15",style:{paddingBottom:"0px"}},u.default.createElement(a.default,{prefix:u.default.createElement("i",{className:"iconfont icon-sousuo_icon1 font-14"}),placeholder:"请输入分支"+(h?"或标签":"")+"名称搜索",autocomplete:"off",className:"OptionsInput",value:w,onChange:function(e){O(e.target.value);var t=e.target.value?T&&T.length>0&&T.filter((function(t){return t.name.indexOf(e.target.value)>-1})):T;A(t)}})),u.default.createElement(o.default,{mode:"horizontal",className:"navUl",selectedKeys:[B],onClick:function(e){F(e.key),_(!0),"branch"===e.key?f(v,g):p(v,g)}},u.default.createElement(o.default.Item,{key:"branch"},"分支"),h&&u.default.createElement(o.default.Item,{key:"tag"},"标签")),u.default.createElement(r.default,{spinning:j},u.default.createElement("ul",{className:"OptionsUl",id:"ul-btn"},I&&I.length>0&&I.map((function(e,t){return u.default.createElement("li",{key:t,onClick:function(){return t=e.name,void m(t);var t}},u.default.createElement("a",{className:"task-hide ulALink"},e.name))})),I&&0===I.length&&u.default.createElement("p",{className:"listTips"},"暂无",w,0===S?"分支":"标签","~"))))}},dEUZ:function(e,t,n){},dlhN:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("h5qY")},eIPa:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n("diRs")),o=y(n("W9HT")),a=y(n("2/Rp")),i=y(n("14Xm")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("Aosp"),n("04bd"),n("L/Qf");var u=n("q1tI"),s=y(u),f=n("spEH"),d=n("eO8H"),p=n("sYIF");n("KkuB");var m=n("tnhM"),h=y(n("vDqi"));function y(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t,n,y=(t=i.default.mark((function e(t){var n,r,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(z(!0),0!==(n=k&&k.filter((function(e){return e.login===t}))).length){e.next=13;break}return e.next=5,(0,m.getUser)(t);case 5:r=e.sent,(o=k).push(l({},r)),x(o),q(r),z(!1),e.next=15;break;case 13:q(n[0]),z(!1);case 15:case"end":return e.stop()}}),e,this)})),n=function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(o,a){try{var i=e[o](a),l=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(l).then((function(e){r("next",e)}),(function(e){r("throw",e)}));t(l)}("next")}))},function(e){return n.apply(this,arguments)}),v=e.contributors,g=e.owner,b=e.projectsId,E=e.currentLogin,w=(0,u.useState)([]),O=c(w,2),k=O[0],x=O[1],S=(0,u.useState)(void 0),N=c(S,2),C=N[0],j=N[1],_=(0,u.useState)(0),P=c(_,2),D=P[0],T=P[1],M=(0,u.useState)(""),K=c(M,2),L=K[0],I=K[1],A=(0,u.useState)(void 0),R=c(A,2),H=R[0],B=R[1],F=(0,u.useState)(!1),U=c(F,2),W=U[0],z=U[1];function q(e){if(e){var t=s.default.createElement(o.default,{spinning:W},s.default.createElement(f.FlexAJ,{className:"menuMaininfos"},s.default.createElement(f.AlignCenter,null,s.default.createElement(d.Link,{to:"/"+e.login},s.default.createElement("img",{src:(0,p.getImageUrl)("/"+e.image_url),alt:"",className:"radius",width:"38px",height:"38px"})),s.default.createElement("div",{className:"ml10"},s.default.createElement(d.Link,{to:"/"+e.login},e.name),e.location&&s.default.createElement("span",{className:"leftline"},e.location),e.organizations&&e.organizations.length>0&&s.default.createElement("p",{className:"task-hide",style:{maxWidth:"215px"}},"所属组织:",function(e){var t="";return e.map((function(e){t=t+e.name+"、"})),t&&t.substr(0,t.length-1)}(e.organizations))))),s.default.createElement(f.AlignCenter,{className:"menuinfos"},s.default.createElement(d.Link,{to:"/"+e.login+"/projects"},s.default.createElement("span",null,e.projects_count),s.default.createElement("span",null,"项目数")),s.default.createElement(d.Link,{to:"/"+e.login+"/followers"},s.default.createElement("span",null,e.followers_count),s.default.createElement("span",null,"粉丝数")),s.default.createElement(d.Link,{to:"/"+e.login+"/following"},s.default.createElement("span",null,e.following_count),s.default.createElement("span",null,"关注数"))),s.default.createElement("div",{className:"pb20",style:{display:"flex",justifyContent:"center"}},E&&E===e.login?s.default.createElement(a.default,{className:"currentBtn"},"当前用户"):e.is_watch?s.default.createElement(a.default,{type:"default",onClick:function(){return V(!1,e.login)}},"已关注"):s.default.createElement(a.default,{type:"primary",onClick:function(){return V(!0,e.login)}},"关注TA")));I(t)}}function V(e,t){(0,h.default)({method:e?"post":"delete",url:"/watchers/"+(e?"follow":"unfollow")+".json",params:{target_type:"user",id:t}}).then((function(n){if(n&&(0===n.data.status||2===n.data.status)){var r=k&&k.filter((function(e){return e.login===t}));r&&(r[0].is_watch=e),q(r[0])}})).catch((function(e){console.log(e)}))}function X(e,t,n){t!==H&&B(t);var r=C.concat();r.map((function(e){return e.visible=!1})),e&&(r[n].visible=e),r.splice(),j(r)}return(0,u.useEffect)((function(){v&&v.total_count>0&&(T(v.total_count),j(v.list))}),[v]),(0,u.useEffect)((function(){H?y(H):I(void 0)}),[H]),s.default.createElement("div",{className:"halfs"},s.default.createElement(d.Link,{to:"/"+g+"/"+b+"/contribute",className:"font-16 color-ooo hoverA"},s.default.createElement("span",null,"贡献者"),v&&v.total_count>0&&s.default.createElement("span",{className:"infoCount"},v.total_count)),s.default.createElement("div",{className:"attrPerson",onMouseLeave:function(){return X(!1)}},D>0?C.map((function(e,t){return s.default.createElement(r.default,{content:L,visible:e.visible,overlayClassName:"menuPanels",placement:"top"},s.default.createElement(d.Link,{key:t,to:"/"+e.login},s.default.createElement("img",{src:(0,p.getImageUrl)("/"+e.image_url),alt:"",onMouseOver:function(){return X(!0,e.login,t)}})))})):""))}},gL5p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"MonacoDiffEditor",{enumerable:!0,get:function(){return o.default}});var r=a(n("j6EG")),o=a(n("4oKn"));function a(e){return e&&e.__esModule?e:{default:e}}},gUMM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=K(n("W9HT")),o=K(n("PArb")),a=K(n("2/Rp")),i=K(n("jsC+")),l=K(n("BvKs")),c=K(n("wFql")),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd"),n("qNb/"),n("L/Qf"),n("aIZi"),n("2WkQ"),n("O+5t");var f=n("q1tI"),d=K(f),p=n("spEH"),m=n("sYIF"),h=n("eO8H"),y=n("PhNK"),v=K(n("lH0x")),g=K(n("3Diz")),b=K(n("Rs/d")),E=K(n("vDqi")),w=K(n("760K")),O=K(n("KusB")),k=K(n("OZBj")),x=K(n("Eitf"));n("/oTB");var S=K(n("YDKw")),N=K(n("eIPa")),C=K(n("YIv0")),j=K(n("KhU6")),_=K(n("NAAl")),P=K(n("2CTR")),D=K(n("z2sw")),T=K(n("aqs5")),M=K(n("bjH3"));function K(e){return e&&e.__esModule?e:{default:e}}c.default.Paragraph;function L(e){return e&&e.length>0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e}t.default=function(e){var t,n=(0,f.useState)(void 0),c=s(n,2),K=c[0],I=c[1],A=(0,f.useState)(void 0),R=s(A,2),H=R[0],B=R[1],F=(0,f.useState)(void 0),U=s(F,2),W=U[0],z=U[1],q=(0,f.useState)(void 0),V=s(q,2),X=V[0],J=V[1],Y=(0,f.useState)(void 0),Z=s(Y,2),G=Z[0],Q=Z[1],$=(0,f.useState)(void 0),ee=s($,2),te=ee[0],ne=ee[1],re=(0,f.useState)("dir"),oe=s(re,2),ae=oe[0],ie=oe[1],le=(0,f.useState)(!0),ce=s(le,2),ue=ce[0],se=ce[1],fe=(0,f.useState)(!1),de=s(fe,2),pe=de[0],me=de[1],he=(0,f.useState)(0),ye=s(he,2),ve=ye[0],ge=ye[1],be=(0,f.useState)(void 0),Ee=s(be,2),we=Ee[0],Oe=Ee[1],ke=(0,f.useState)(void 0),xe=s(ke,2),Se=xe[0],Ne=xe[1],Ce=(0,f.useState)(void 0),je=s(Ce,2),_e=je[0],Pe=je[1],De=(0,f.useState)(void 0),Te=s(De,2),Me=Te[0],Ke=Te[1],Le=(0,f.useState)(!0),Ie=s(Le,2),Ae=Ie[0],Re=Ie[1],He=(0,f.useState)(!0),Be=s(He,2),Fe=Be[0],Ue=Be[1],We=(0,f.useState)(!1),ze=s(We,2),qe=ze[0],Ve=ze[1],Xe=(0,f.useState)(!1),Je=s(Xe,2),Ye=Je[0],Ze=Je[1],Ge=(0,f.useState)(!1),Qe=s(Ge,2),$e=Qe[0],et=Qe[1],tt=(0,f.useState)(void 0),nt=s(tt,2),rt=nt[0],ot=nt[1],at=(0,f.useState)(void 0),it=s(at,2),lt=it[0],ct=it[1],ut=(0,f.useState)(void 0),st=s(ut,2),ft=st[0],dt=st[1],pt=(0,f.useState)(void 0),mt=s(pt,2),ht=mt[0],yt=mt[1],vt=(0,f.useState)(void 0),gt=s(vt,2),bt=gt[0],Et=gt[1],wt=(0,f.useState)(!1),Ot=s(wt,2),kt=Ot[0],xt=Ot[1],St=(0,f.useState)(!0),Nt=s(St,2),Ct=Nt[0],jt=Nt[1],_t=(0,f.useState)(!0),Pt=s(_t,2),Dt=Pt[0],Tt=Pt[1],Mt=(0,f.useState)(void 0),Kt=s(Mt,2),Lt=Kt[0],It=Kt[1],At=e.match.params.owner,Rt=e.match.params.projectsId,Ht=e.match.params.branchName;Ht=(t=Ht)&&t.length>0&&t.indexOf("%2F")>-1?t.replaceAll("%2F","/"):t;var Bt=e.projectDetail,Ft=e.history.location.pathname,Ut=Bt&&2!=Bt.type&&("Admin"===Bt.permission||"Owner"===Bt.permission||"Manager"===Bt.permission),Wt=e.bannerList;function zt(e,t){E.default.get("/"+At+"/"+Rt+"/readme.json",{params:{owner:At,repo:Rt,filepath:e,ref:t||Ht}}).then((function(e){yt(e?e.data:void 0)}))}function qt(t,n,r){if("submodule"!==n){var o=L(Ht||bt);ie(n),e.history.push("/"+At+"/"+Rt+"/tree/"+o+(t?"/"+t:""))}}function Vt(t){if(!1===e.checkIfLogin())return e.showLoginDialog(),!1;e.history.push(t)}(0,f.useEffect)((function(){if(Wt&&Wt.length>0){var e=Wt.filter((function(e){return"pulls"===e.menu_name})),t=Wt.filter((function(e){return"issues"===e.menu_name}));e&&0===e.length&&jt(!1),t&&0===t.length&&Tt(!1)}}),[Wt]),(0,f.useEffect)((function(){Bt&&(I(Bt),ot(Bt.description),ct(Bt.website),dt(Bt.lesson_url),Et(Bt.default_branch),B(Bt.invite_code))}),[Bt]),(0,f.useEffect)((function(){J(W?W.split("/"):void 0)}),[W]),(0,f.useEffect)((function(){if(Rt&&At&&bt){var e=L(Ht);if(Ft.indexOf("/"+At+"/"+Rt)>-1&&Ft.indexOf("/tree/"+e+"/")>-1){var t=Ft.split("/tree/"+e+"/")[1];z(t),function(e,t){Ue(!0);var n="/"+At+"/"+Rt+"/sub_entries.json";E.default.get(n,{params:{filepath:e,ref:t||Ht,type:ae}}).then((function(t){if(t){var n=t.data.entries;n.type?(Oe(void 0),Ne(n),ie(n.type),yt(void 0)):(Ne(void 0),Oe(n),ie("dir"),zt(e,Ht||bt));var r=t.data.last_commit;Q(r&&r.commit),ne(r&&r.committer),Ze(!1),Re(!0),Re(!kt),se(!0)}setTimeout((function(){Ue(!1)}),500)})).catch((function(e){Ue(!1)}))}(t,Ht),ie("file")}else z(void 0),function(e){Ue(!0);var t="/"+At+"/"+Rt+"/entries.json";E.default.get(t,{params:{ref:e}}).then((function(e){if(e){ge(e.data.commits_count),Oe(e.data.entries),Ne(void 0),Ke(e.data.tar_url),Pe(e.data.zip_url);var t=e.data.last_commit;Q(t&&t.commit),ne(t&&t.committer),Ze(!0),Re(!0),xt(!1),se(!0),zt("",Ht||bt)}setTimeout((function(){Ue(!1)}),500)})).catch((function(e){Ue(!1)}))}(Ht||bt),ie("dir")}}),[Rt,At,Ft,bt]),(0,f.useEffect)((function(){E.default.get("/"+At+"/"+Rt+"/releases.json").then((function(e){if(e&&e.data){var t={list:e.data.releases,total_count:e.data.releases.length};It(t)}}))}),[]),(0,f.useEffect)((function(){if(K&&G){var e=document.getElementById("ptxt");if(e)e.offsetHeight>35&&me(!0)}}),[K,G]);var Xt,Jt=d.default.createElement(v.default,{http_url:K&&K.clone_url,ssh_url:K&&K.ssh_url,zip_url:_e,tar_url:Me,showNotification:e.showNotification}),Yt=Se&&Se.name,Zt=Yt&&".md"===Yt.substring(Yt.length-3,Yt.length),Gt=e.current_user,Qt=Gt&&Gt.login&&Dt,$t=K&&K.permission&&"Reporter"!==K.permission&&2!==K.type&&Ct,en="dir"===ae&&K&&2!==K.type&&(K.permission&&"Reporter"!==K.permission||Gt&&Gt.admin);return d.default.createElement(p.WhiteBack,null,d.default.createElement(_.default,{desc:rt,website:lt,lesson_url:ft,visible:$e,onCancel:function(){return et(!1)},onOk:function(e,t,n){var r="/"+At+"/"+Rt+".json";E.default.put(r,{description:e,website:t,lesson_url:n}).then((function(e){e&&e.data&&e.data.id&&(ot(e.data.description),ct(e.data.website),dt(e.data.lesson_url))}))}}),d.default.createElement(r.default,{spinning:Fe},(we||Se)&&d.default.createElement(d.default.Fragment,null,d.default.createElement(j.default,{history:e.history,owner:At,projectsId:Rt,name:K&&K.name,branch:Ht||bt,visible:qe,onClose:function(){return Ve(!1)},list:Ye?we:void 0}),d.default.createElement("div",{className:"drawerBtn",onClick:function(){return Ve(!0)}},d.default.createElement("i",{className:"iconfont icon-zuohuaicon font-14"}),d.default.createElement("span",null,"目录"))),d.default.createElement("div",{style:{minHeight:"500px"}},K&&d.default.createElement(p.Box,{className:"Panels"},d.default.createElement(p.LongWidth,null,d.default.createElement("div",{className:"panelmenu"},d.default.createElement(p.FlexAJ,null,d.default.createElement(p.AlignCenter,null,d.default.createElement("div",{className:"mr30"},e&&e.platform?d.default.createElement(g.default,{repo_id:K&&K.repo_id,projectsId:Rt,branch:Ht||bt,changeBranch:function(t){var n=L(t),r="/"+At+"/"+Rt+(t&&"/tree/"+n)+(W?"/"+W:"");e.history.push(r)},owner:At,history:e.history,branchList:K&&K.branches&&K.branches.list}):d.default.createElement("span",null,"分支:",d.default.createElement("span",{className:"color-grey-6"},Ht||bt))),X&&X.length>0?d.default.createElement(w.default,{identifier:K&&K.identifier,treeValuePath:X,returnUlr:function(t){var n=L(Ht);e.history.push("/"+At+"/"+Rt+"/tree"+(n?"/"+n:"")+"/"+t)},returnMain:function(){z(void 0);var t=L(Ht||bt);e.history.push("/"+At+"/"+Rt+"/tree/"+t)},getPathUrl:function(e,t){if(e&&e.length>0&&t){for(var n="",r=0;r<t;r++)n+="/"+e[r];return n.substr(1)}}}):d.default.createElement("div",null,d.default.createElement(p.AlignCenter,{className:"mr20"},d.default.createElement(h.Link,{to:"/"+At+"/"+Rt+"/branches",className:"iconBtn"},d.default.createElement("i",{className:"iconfont icon-master_icon font-16"}),d.default.createElement("span",null,"分支"),d.default.createElement("span",null,K&&K.branches&&K.branches.total_count))),d.default.createElement(p.AlignCenter,{className:"mr20"},d.default.createElement(h.Link,{to:"/"+At+"/"+Rt+"/tags",className:"iconBtn"},d.default.createElement("i",{className:"iconfont icon-biaoqianicon font-16"}),d.default.createElement("span",null,"标签"),d.default.createElement("span",null,K&&K.tags&&K.tags.total_count))))),d.default.createElement(p.AlignCenter,{className:"depotBtn"},($t||Qt)&&d.default.createElement("div",{className:"addOptionBtn"},$t&&d.default.createElement(T.default,u({},e,{sureFunc:function(){return Vt("/"+At+"/"+Rt+"/pulls/new/"+(Ht||bt))}}),"+ 合并请求"),Qt&&d.default.createElement(T.default,u({},e,{sureFunc:function(){return Vt("/"+At+"/"+Rt+"/issues/new")}}),"+ 易修")),en&&d.default.createElement(i.default,{overlay:(Xt=L(Ht||bt),d.default.createElement(l.default,{className:"fileMenu"},d.default.createElement(l.default.Item,null,d.default.createElement(T.default,u({},e,{sureFunc:function(){return Vt("/"+At+"/"+Rt+"/"+Xt+"/uploadfile"+(void 0===W?"":"/"+W))}}),"上传文件")),d.default.createElement(l.default.Item,null,d.default.createElement(T.default,u({},e,{sureFunc:function(){return Vt("/"+At+"/"+Rt+"/"+Xt+"/newfile"+(void 0===W?"":"/"+W))}}),"新建文件")))),className:"mr10",trigger:["click"],getPopupContainer:document.parentNode},d.default.createElement("a",null,"文件 ",d.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14 color-grey-6 mr-5"}))),d.default.createElement(i.default,{overlay:Jt,placement:"bottomRight",trigger:["click"]},d.default.createElement(a.default,{type:"primary"},"下载 ",d.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14 color-white mr-3"}))))),we&&we.length>0||Se?d.default.createElement("div",{className:"listtable"},G&&d.default.createElement("div",{className:"listtablehead"},d.default.createElement(b.default,{url:(0,m.getImageUrl)("/"+(te&&te.image_url)),name:te&&te.name,id:te&&te.id,login:te&&te.login}),d.default.createElement("div",{className:pe&&ue?"ellipsistxt hidetxt":"ellipsistxt"},d.default.createElement("pre",{id:"ptxt"},d.default.createElement(h.Link,{to:"/"+At+"/"+Rt+"/commits/"+(0,y.truncateCommitId)(G.sha)},d.default.createElement(M.default,{value:G.message})))),pe&&d.default.createElement("span",{className:"ellipsis",onClick:function(){return function(e){se(!e)}(ue)}},d.default.createElement("i",{className:"iconfont icon-shenglvehao"})),d.default.createElement("span",{className:"ml20 color-grey-6 font-12 mt3"},G.time_from_now),ve?d.default.createElement(h.Link,{to:"/"+At+"/"+Rt+"/commits/branch/"+L(Ht||bt),className:"ml20 color-grey-3",style:{height:"28px",lineHeight:"28px"}},d.default.createElement("i",{className:"iconfont icon-tijiaoicon mr3 font-16"}),d.default.createElement("span",{style:{fontWeight:"500"}},ve,"次提交")):""),d.default.createElement("ul",{className:"listtablebody"},we&&we.length>0&&we.map((function(e,t){return d.default.createElement(O.default,{owner:At,item:e,projectsId:Rt,goToSubRoot:qt})})),Se&&d.default.createElement(x.default,u({},e,{detail:Se,readOnly:Ae,md:Zt,onEdit:function(e){Re(e),xt(!1)},currentBranch:Ht||bt,type:K.type})))):"",we&&0===we.length&&!Se?d.default.createElement(P.default,{_html:"暂未发现文件"}):"",ht&&ht.content?d.default.createElement(k.default,{ChangeFile:function(t,n){var r=L(Ht||bt);e.history.push("/"+At+"/"+Rt+"/tree/"+r+"/"+t),ie("file"),xt(!0)},readme:ht,operate:e&&(e.isManager||e.isDeveloper)&&2!==K.type,history:e.history}):"")),!(X&&X.length>0)&&!Se&&d.default.createElement(p.ShortWidth,null,d.default.createElement(p.Gap,{style:{paddingLeft:"30px"}},d.default.createElement("div",{className:"panelmenu"},d.default.createElement(p.FlexAJ,{className:"font-18 color-ooo mb20",style:{lineHeight:"28px"}},"关于",K.permission&&("Admin"===K.permission||"Owner"===K.permission||"Manager"===K.permission)&&d.default.createElement("i",{onClick:function(){return et(!0)},className:"iconfont icon-a-shezhi color-grey-9 font-15"})),rt&&d.default.createElement("p",{className:"font-14 color-grey-3 mb15 task-hide-2",style:{lineHeight:"24px",WebkitLineClamp:"4",textAlign:"justify",wordBreak:"break-all"}},rt),lt&&d.default.createElement("div",{className:"color-grey-6 df pinfos mb5"},d.default.createElement("i",{className:"iconfont icon-lianjie2 font-15 mr10"}),d.default.createElement("a",{href:lt,target:"_blank",style:{wordBreak:"break-all",lineHeight:"20px",marginTop:"5px",textDecoration:"underline"}},lt)),d.default.createElement("div",{className:"pinfos mb5"},d.default.createElement("i",{className:"iconfont icon-zishuwenjian_icon font-15 mr10"}),d.default.createElement("a",{href:"#readme"},"README.md")),d.default.createElement("div",{className:"color-grey-6 mb5"},d.default.createElement("i",{className:"iconfont icon-neicunicon font-15 mr10"}),d.default.createElement("span",null,K&&K.size)),K&&K.license_name&&d.default.createElement("div",{className:"pinfos"},d.default.createElement("i",{className:"iconfont icon-xieyiicon font-16 mr10"}),d.default.createElement(h.Link,{to:"/"+At+"/"+Rt+"/tree/"+(Ht||bt)+"/LICENSE",className:"color-grey-6"},K.license_name))),H&&d.default.createElement("div",null,d.default.createElement(o.default,null),d.default.createElement(D.default,{code:H})),ft&&d.default.createElement("div",null,d.default.createElement(o.default,null),d.default.createElement("p",{className:"font-16 color-ooo"},"实践课程"),d.default.createElement("a",{href:ft,target:"_blank",className:"color-grey-6",style:{textDecoration:"underline",wordBreak:"break-all"}},ft)),Lt&&d.default.createElement(d.default.Fragment,null,d.default.createElement(o.default,null),d.default.createElement(S.default,{owner:At,projectsId:Rt,releaseVersions:Lt,history:e.history,distribution:Ut})),K&&K.contributors&&K.contributors.total_count>0&&d.default.createElement(N.default,{contributors:K.contributors,owner:At,projectsId:Rt}),K&&K.languages&&d.default.createElement(d.default.Fragment,null,d.default.createElement(o.default,null),d.default.createElement(C.default,{languages:K.languages}))))))))}},h5qY:function(e,t,n){},i6bk:function(e,t,n){"use strict";function r(e,t){if("undefined"==typeof window)return 0;var n=t?"scrollTop":"scrollLeft",r=e===window,o=r?e[t?"pageYOffset":"pageXOffset"]:e[n];return r&&"number"!=typeof o&&(o=document.documentElement[n]),o}n.d(t,"a",(function(){return r}))},j6EG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=l(n("17x9")),a=l(n("q1tI")),i=n("JwdM");function l(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(c,e);var t,n,o,l=h(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),b(v(t=l.call(this,e)),"assignRef",(function(e){t.containerElement=e})),t.containerElement=void 0,t}return t=c,(n=[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,o=t.language,a=t.theme,i=t.height,l=t.options,c=t.width,u=this.editor,s=u.getModel();if(null!=this.props.value&&this.props.value!==s.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.pushUndoStop(),s.pushEditOperations([],[{range:s.getFullModelRange(),text:n}]),this.editor.pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==o&&r.editor.setModelLanguage(s,o),e.theme!==a&&r.editor.setTheme(a),!u||c===e.width&&i===e.height||u.layout(),e.options!==l){l.model;var f=d(l,["model"]);u.updateOptions(f)}}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"destroyMonaco",value:function(){if(this.editor){this.editor.dispose();var e=this.editor.getModel();e&&e.dispose()}this._subscription&&this._subscription.dispose()}},{key:"initMonaco",value:function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.language,o=t.theme,a=t.options,i=t.overrideServices;this.containerElement&&(Object.assign(a,this.editorWillMount()),this.editor=r.editor.create(this.containerElement,f(f({value:e,language:n},a),o?{theme:o}:{}),i),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(r)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,r),this._subscription=e.onDidChangeModelContent((function(n){t.__prevent_trigger_change_event||t.props.onChange(e.getValue(),n)}))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r={width:(0,i.processSize)(t),height:(0,i.processSize)(n)};return a.default.createElement("div",{ref:this.assignRef,style:r,className:"react-monaco-editor-container"})}}])&&p(t.prototype,n),o&&p(t,o),c}(a.default.Component);E.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),value:o.default.string,defaultValue:o.default.string,language:o.default.string,theme:o.default.string,options:o.default.object,overrideServices:o.default.object,editorDidMount:o.default.func,editorWillMount:o.default.func,onChange:o.default.func},E.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:i.noop,editorWillMount:i.noop,onChange:i.noop};var w=E;t.default=w},lH0x:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("BvKs")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("2WkQ");var a=n("q1tI"),i=c(a);n("MN5C");var l=c(n("FRFo"));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.http_url,n=e.ssh_url,c=e.zip_url,u=e.tar_url,s=(0,a.useState)("HTTP"),f=o(s,2),d=f[0],p=f[1];return i.default.createElement("div",{className:"downMenu"},i.default.createElement("div",{style:{borderBottom:"1px solid #eee"}},i.default.createElement(r.default,{className:"urlMenu",selectedKeys:[d],mode:"horizontal"},i.default.createElement(r.default.Item,{key:"HTTP",onClick:function(e){p(e.key)}},"HTTP"),i.default.createElement(r.default.Item,{key:"SSH",onClick:function(e){p(e.key)}},"SSH")),i.default.createElement("div",{className:"gitAddressClone"},i.default.createElement("input",{type:"text",id:"copy_rep_content",value:"HTTP"===d?t:n}),i.default.createElement(l.default,{inputId:"copy_rep_content",className:"copytool"}))),i.default.createElement(r.default,{className:"edu-txt-center"},i.default.createElement(r.default.Item,null,i.default.createElement("a",{href:c},"下载 ZIP")),i.default.createElement(r.default.Item,null,i.default.createElement("a",{href:u},"下载 TAR.GZ"))))}},lr0e:function(e,t,n){},mJXK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("5rEg")),o=c(n("JsLm")),a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("1vPl"),n("mJp1");var i=n("q1tI"),l=c(i);function c(e){return e&&e.__esModule?e:{default:e}}n("dEUZ");var u=o.default.Link;t.default=function(e){var t=e.menuList,n=(e.hash,(0,i.useState)("")),c=a(n,2),s=c[0],f=c[1],d=(0,i.useState)(""),p=a(d,2),m=p[0],h=p[1],y=(0,i.useState)(t),v=a(y,2),g=v[0],b=v[1];return l.default.createElement("div",null,l.default.createElement("div",{className:"searchBox"},l.default.createElement(r.default,{placeholder:"请输入关键字",value:m,onChange:function(e){if(h(e.target.value),e.target.value){var n=t.filter((function(t){return t.text.toLowerCase().indexOf(e.target.value.toLowerCase())>-1}));b(n)}else b(t)},prefix:l.default.createElement("i",{className:"iconfont icon-sousuo_icon1 font-14"})})),g&&g.length>0?l.default.createElement("div",{className:"anchorBox"},l.default.createElement(o.default,{affix:!1,onChange:function(e){f(e)}},g.map((function(e,t){return l.default.createElement("div",{style:{paddingLeft:10*e.level+"px"},className:s===e.href?"items active":"items"},l.default.createElement(u,{href:"#"+e.text,title:e.text}))})))):"")}},mJp1:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("S+ru"),n("rSSF")},"qNb/":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("txnC")},rSSF:function(e,t,n){},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUser=t.getSubEntries=t.getHooks=t.getTag=t.getBranch=void 0;var r=a(n("14Xm")),o=a(n("vDqi"));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(o,a){try{var i=t[o](a),l=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(l).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(l)}("next")}))}}var l,c,u,s,f;t.getBranch=(l=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.get("/"+n+"/"+t+"/branches.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return l.apply(this,arguments)}),t.getTag=(c=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.get("/"+n+"/"+t+"/tags.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return c.apply(this,arguments)}),t.getHooks=(u=i(r.default.mark((function e(t,n){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.get("/projects/"+t+"/hooks.json",{params:n});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return u.apply(this,arguments)}),t.getSubEntries=(s=i(r.default.mark((function e(t,n,a){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.get("/"+t+"/"+n+"/sub_entries.json",{params:a});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t,n){return s.apply(this,arguments)}),t.getUser=(f=i(r.default.mark((function e(t){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.default.get("/users/"+t+"/hovercard.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e){return f.apply(this,arguments)})},txnC:function(e,t,n){},z2sw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("q1tI"));n("dEUZ");var o=a(n("FRFo"));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.code,n=e.className;return r.default.createElement("div",{className:n},r.default.createElement("span",{className:"font-16 color-ooo"},"邀请码"),r.default.createElement("div",null,r.default.createElement("input",{value:t,id:"devitecode",style:{width:"62px",border:"none",cursor:"default"},readOnly:!0}),r.default.createElement(o.default,{timeOut:!0,beforeText:r.default.createElement("p",{className:"edu-txt-center"},"可以通过邀请码邀请成员加入项目",r.default.createElement("br",null),"点击复制邀请码。"),className:"ml8 font-16",inputId:"devitecode"})))}},zAh6:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("61SU"),o=n.n(r),a=n("i6bk");function i(e,t,n,r){var o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,l=t.callback,c=t.duration,u=void 0===c?450:c,s=r(),f=Object(a.a)(s,!0),d=Date.now(),p=function t(){var n=Date.now()-d,r=i(n>u?u:n,f,e,u);s===window?window.scrollTo(window.pageXOffset,r):s.scrollTop=r,n<u?o()(t):"function"==typeof l&&l()};o()(p)}}}]); \ No newline at end of file diff --git a/static/js/37.1015f157.chunk.js b/static/js/37.f3a26abd.chunk.js similarity index 99% rename from static/js/37.1015f157.chunk.js rename to static/js/37.f3a26abd.chunk.js index 1710cdbd0..2e3c56015 100644 --- a/static/js/37.1015f157.chunk.js +++ b/static/js/37.f3a26abd.chunk.js @@ -1,2 +1,2 @@ -/*! For license information please see 37.1015f157.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[37,9,14,23],{"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"13Tz":function(e,t,n){},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"6JOy":function(e,t,n){},"74dF":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("D8SU"),n("TfFZ")},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("VCL8"),i=n("QbLZ"),l=n.n(i),s=n("iCc5"),c=n.n(s),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),m=n("mRg0"),h=n.n(m),v=n("17x9"),y=n.n(v),g=n("YEIV"),b=n.n(g),E=n("TSYQ"),w=n.n(E);function _(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function C(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(function(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),_(t));e.onSuccess(_(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var a in null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),r)r.hasOwnProperty(a)&&null!==r[a]&&t.setRequestHeader(a,r[a]);return t.send(n),{abort:function(){t.abort()}}}var x=+new Date,O=0;function S(){return"rc-upload-"+x+"-"+ ++O}var N=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",o=a.replace(/\/.*$/,"");return n.some((function(e){var t,n,i=e.trim();return"."===i.charAt(0)?(t=r.toLowerCase(),n=i.toLowerCase(),-1!==t.indexOf(n,t.length-n.length)):/\/\*$/.test(i)?o===i.replace(/\/.*$/,""):a===i}))}return!0};var k=function(e,t,n){var r=function e(r,a){a=a||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var a=Array.prototype.slice.apply(n);r=r.concat(a),!a.length?t(r):e()}))}()}(r,(function(t){t.forEach((function(t){e(t,""+a+r.name+"/")}))}))},a=!0,o=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){r(l.value.webkitGetAsEntry())}}catch(e){o=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(o)throw i}}},P=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uid:S()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(){var e=r.fileInput;e&&e.click()},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)k(e.dataTransfer.items,r.uploadFiles,(function(e){return N(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return N(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=S(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var a=r.beforeUpload(e,t);a&&a.then?a.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)})).catch((function(e){console&&console.log(e)})):!1!==a&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.data,a=n.onStart,o=n.onProgress,i=n.transformFile,l=void 0===i?function(e){return e}:i;new Promise((function(t){var r=n.action;if("function"==typeof r)return t(r(e));t(r)})).then((function(i){var s=e.uid,c=n.customRequest||C;Promise.resolve(l(e)).catch((function(e){console.error(e)})).then((function(l){"function"==typeof r&&(r=r(e));var u={action:i,filename:n.name,data:r,file:l,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:o?function(t){o(t,e)}:null,onSuccess:function(r,a){delete t.reqs[s],n.onSuccess(r,e,a)},onError:function(r,a){delete t.reqs[s],n.onError(r,a,e)}};t.reqs[s]=c(u),a(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:S()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,o=t.className,i=t.disabled,s=t.id,c=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,m=t.openFileDialogOnClick,h=w()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,o,o),e)),v=i?{}:{onClick:m?this.onClick:function(){},onKeyDown:m?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(n,l()({},v,{className:h,role:"button",style:c}),a.a.createElement("input",{id:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:f,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:u,onChange:this.onChange}),p)}}]),t}(r.Component);P.propTypes={id:y.a.string,component:y.a.string,style:y.a.object,prefixCls:y.a.string,className:y.a.string,multiple:y.a.bool,directory:y.a.bool,disabled:y.a.bool,accept:y.a.string,children:y.a.any,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),headers:y.a.object,beforeUpload:y.a.func,customRequest:y.a.func,onProgress:y.a.func,withCredentials:y.a.bool,openFileDialogOnClick:y.a.bool,transformFile:y.a.func};var T=P,j=n("i8i4"),R=n.n(j),A=n("2W6z"),L=n.n(A),D={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},I=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uploading:!1},r.file={},r.onLoad=function(){if(r.state.uploading){var e=r,t=e.props,n=e.file,a=void 0;try{var o=r.getIframeDocument(),i=o.getElementsByTagName("script")[0];i&&i.parentNode===o.body&&o.body.removeChild(i),a=o.body.innerHTML,t.onSuccess(a,n)}catch(e){L()(!1,"cross domain error for Upload. Maybe server should return document.domain script. see Note from https://github.com/react-component/upload"),a="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:S(),name:e.value&&e.value.substring(e.value.lastIndexOf("\\")+1,e.value.length)};r.startUpload();var n=r.props;if(!n.beforeUpload)return r.post(t);var a=n.beforeUpload(t);a&&a.then?a.then((function(){r.post(t)}),(function(){r.endUpload()})):!1!==a?r.post(t):r.endUpload()},r.saveIframe=function(e){r.iframe=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.updateIframeWH(),this.initIframe()}},{key:"componentDidUpdate",value:function(){this.updateIframeWH()}},{key:"getIframeNode",value:function(){return this.iframe}},{key:"getIframeDocument",value:function(){return this.getIframeNode().contentDocument}},{key:"getFormNode",value:function(){return this.getIframeDocument().getElementById("form")}},{key:"getFormInputNode",value:function(){return this.getIframeDocument().getElementById("input")}},{key:"getFormDataNode",value:function(){return this.getIframeDocument().getElementById("data")}},{key:"getFileForMultiple",value:function(e){return this.props.multiple?[e]:e}},{key:"getIframeHTML",value:function(e){var t="",n="";if(e){t='<script>document.domain="'+e+'";<\/script>',n='<input name="_documentDomain" value="'+e+'" />'}return'\n <!DOCTYPE html>\n <html>\n <head>\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n <style>\n body,html {padding:0;margin:0;border:0;overflow:hidden;}\n </style>\n '+t+'\n </head>\n <body>\n <form method="post"\n encType="multipart/form-data"\n action="" id="form"\n style="display:block;height:9999px;position:relative;overflow:hidden;">\n <input id="input" type="file"\n name="'+this.props.name+'"\n style="position:absolute;top:0;right:0;height:9999px;font-size:9999px;cursor:pointer;"/>\n '+n+'\n <span id="data"></span>\n </form>\n </body>\n </html>\n '}},{key:"initIframeSrc",value:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")}},{key:"initIframe",value:function(){var e=this.getIframeNode(),t=e.contentWindow,n=void 0;this.domain=this.domain||"",this.initIframeSrc();try{n=t.document}catch(r){this.domain=document.domain,this.initIframeSrc(),n=(t=e.contentWindow).document}n.open("text/html","replace"),n.write(this.getIframeHTML(this.domain)),n.close(),this.getFormInputNode().onchange=this.onChange}},{key:"endUpload",value:function(){this.state.uploading&&(this.file={},this.state.uploading=!1,this.setState({uploading:!1}),this.initIframe())}},{key:"startUpload",value:function(){this.state.uploading||(this.state.uploading=!0,this.setState({uploading:!0}))}},{key:"updateIframeWH",value:function(){var e=R.a.findDOMNode(this),t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"}},{key:"abort",value:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()}},{key:"post",value:function(e){var t=this,n=this.getFormNode(),r=this.getFormDataNode(),a=this.props.data,o=this.props.onStart;"function"==typeof a&&(a=a(e));var i=document.createDocumentFragment();for(var l in a)if(a.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=a[l],i.appendChild(s)}r.appendChild(i),new Promise((function(n){var r=t.props.action;if("function"==typeof r)return n(r(e));n(r)})).then((function(t){n.setAttribute("action",t),n.submit(),r.innerHTML="",o(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,o=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},D,{display:this.state.uploading||r?"none":""}),f=w()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,o,o),e));return a.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},c)},a.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),s)}}]),t}(r.Component);I.propTypes={component:y.a.string,style:y.a.object,disabled:y.a.bool,prefixCls:y.a.string,className:y.a.string,accept:y.a.string,onStart:y.a.func,multiple:y.a.bool,children:y.a.any,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string};var M=I;function F(){}var U=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={Component:null},r.saveUploader=function(e){r.uploader=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.supportServerRender&&this.setState({Component:this.getComponent()},this.props.onReady)}},{key:"getComponent",value:function(){return"undefined"!=typeof File?T:M}},{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){if(this.props.supportServerRender){var e=this.state.Component;return e?a.a.createElement(e,l()({},this.props,{ref:this.saveUploader})):null}var t=this.getComponent();return a.a.createElement(t,l()({},this.props,{ref:this.saveUploader}))}}]),t}(r.Component);U.propTypes={component:y.a.string,style:y.a.object,prefixCls:y.a.string,action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string,multipart:y.a.bool,directory:y.a.bool,onError:y.a.func,onSuccess:y.a.func,onProgress:y.a.func,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),headers:y.a.object,accept:y.a.string,multiple:y.a.bool,disabled:y.a.bool,beforeUpload:y.a.func,customRequest:y.a.func,onReady:y.a.func,withCredentials:y.a.bool,supportServerRender:y.a.bool,openFileDialogOnClick:y.a.bool},U.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:F,onStart:F,onError:F,onSuccess:F,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var B=U,z=n("qPyV"),H=n.n(z),W=n("UfWW"),K=n.n(W),q=n("MFj2");function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function G(e){return V(V({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Q(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Y=function(e){return!!e&&0===e.indexOf("image/")},J=function(e){if(Y(e.type))return!0;var t=e.thumbUrl||e.url,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n};var X=n("CtXQ"),Z=n("3S7+"),$=n("CFYs"),ee=n("H84U");function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var a=ce(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}(i,e);var t,n,a,o=le(i);function i(){var e;return ae(this,i),(e=o.apply(this,arguments)).handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e.handleDownload=function(t){var n=e.props.onDownload;"function"==typeof n?n(t):t.url&&window.open(t.url)},e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.renderUploadList=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.items,s=void 0===l?[]:l,c=o.listType,u=o.showPreviewIcon,f=o.showRemoveIcon,p=o.showDownloadIcon,d=o.locale,m=o.progressAttr,h=a("upload",i),v=s.map((function(t){var n,a,o,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===c||"picture-card"===c)if("picture-card"===c&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(h,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=J(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(h,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(h,"-list-item-thumbnail"),onClick:function(n){return e.handlePreview(t,n)},href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},l)}else i=r.createElement(X.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement($.default,re({type:"line"},m,{percent:t.percent})):null;o=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var v,y=w()((ne(n={},"".concat(h,"-list-item"),!0),ne(n,"".concat(h,"-list-item-").concat(t.status),!0),ne(n,"".concat(h,"-list-item-list-type-").concat(c),!0),n)),g="string"==typeof t.linkProps?JSON.parse(t.linkProps):t.linkProps,b=f?r.createElement(X.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,E=p&&"done"===t.status?r.createElement(X.default,{type:"download",title:d.downloadFile,onClick:function(){return e.handleDownload(t)}}):null,_="picture-card"!==c&&r.createElement("span",{key:"download-delete",className:"".concat(h,"-list-item-card-actions ").concat("picture"===c?"picture":"")},E&&r.createElement("a",{title:d.downloadFile},E),b&&r.createElement("a",{title:d.removeFile},b)),C=w()((ne(a={},"".concat(h,"-list-item-name"),!0),ne(a,"".concat(h,"-list-item-name-icon-count-").concat([E,b].filter((function(e){return e})).length),!0),a)),x=t.url?[r.createElement("a",re({key:"view",target:"_blank",rel:"noopener noreferrer",className:C,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),_]:[r.createElement("span",{key:"view",className:C,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),_],O=u?r.createElement("a",{href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:t.url||t.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(n){return e.handlePreview(t,n)},title:d.previewFile},r.createElement(X.default,{type:"eye-o"})):null,S="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},O,"done"===t.status&&E,b);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var N=r.createElement("span",null,i,x),k=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(h,"-list-item-info")},N),S,r.createElement(q.a,{transitionName:"fade",component:""},o)),P=w()(ne({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(Z.default,{title:v},k):r.createElement("span",null,k))})),y=w()((ne(n={},"".concat(h,"-list"),!0),ne(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(q.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:y},v)},e}return t=i,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.listType,r=t.items,a=t.previewFile;"picture"!==n&&"picture-card"!==n||(r||[]).forEach((function(t){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",a&&a(t.originFileObj).then((function(n){t.thumbUrl=n||"",e.forceUpdate()})))}))}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUploadList)}}])&&oe(t.prototype,n),a&&oe(t,a),i}(r.Component);ue.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Y(e.type)){var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),a=new Image;a.onload=function(){var e=a.width,o=a.height,i=200,l=200,s=0,c=0;e<o?c=-((l=o*(200/e))-i)/2:s=-((i=e*(200/o))-l)/2,r.drawImage(a,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},a.src=window.URL.createObjectURL(e)}else t("")}))}};var fe=n("YMnH"),pe=n("ZvpZ"),de=n("6CfX");function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(){return(ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=we(e);if(t){var a=we(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ee(this,n)}}function Ee(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(i,e);var t,n,a,o=be(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=G(e);r.status="uploading";var a=n.concat(),o=K()(a,(function(e){return e.uid===r.uid}));-1===o?a.push(r):a[o]=r,t.onChange({file:r,fileList:a}),window.File&&!Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).TEST_IE||t.autoUpdateProgress(0,r)},t.onSuccess=function(e,n,r){t.clearProgressTimer();try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var a=t.state.fileList,o=Q(n,a);o&&(o.status="done",o.response=e,o.xhr=r,t.onChange({file:ve({},o),fileList:a}))},t.onProgress=function(e,n){var r=t.state.fileList,a=Q(n,r);a&&(a.percent=e.percent,t.onChange({event:e,file:ve({},a),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var a=t.state.fileList,o=Q(r,a);o&&(o.error=e,o.response=n,o.status="error",t.onChange({file:ve({},o),fileList:a}))},t.handleRemove=function(e){var n=t.props.onRemove,r=t.state.fileList;Promise.resolve("function"==typeof n?n(e):n).then((function(n){if(!1!==n){var a=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,r);a&&(e.status="removed",t.upload&&t.upload.abort(e),t.onChange({file:e,fileList:a}))}}))},t.onChange=function(e){"fileList"in t.props||t.setState({fileList:e.fileList});var n=t.props.onChange;n&&n(e)},t.onFileDrop=function(e){t.setState({dragState:e.type})},t.beforeUpload=function(e,n){var r=t.props.beforeUpload,a=t.state.fileList;if(!r)return!0;var o=r(e,n);return!1===o?(t.onChange({file:e,fileList:H()(a.concat(n.map(G)),(function(e){return e.uid}))}),!1):!o||!o.then||o},t.renderUploadList=function(e){var n=t.props,a=n.showUploadList,o=n.listType,i=n.onPreview,l=n.onDownload,s=n.previewFile,c=n.disabled,u=n.locale,f=a.showRemoveIcon,p=a.showPreviewIcon,d=a.showDownloadIcon,m=t.state.fileList;return r.createElement(ue,{listType:o,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:ve(ve({},e),u)})},t.renderUpload=function(e){var n,a=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.className,s=o.showUploadList,c=o.listType,u=o.type,f=o.disabled,p=o.children,d=o.style,m=t.state,h=m.fileList,v=m.dragState,y=a("upload",i),g=ve(ve({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete g.className,delete g.style,p&&!f||delete g.id;var b=s?r.createElement(fe.a,{componentName:"Upload",defaultLocale:pe.a.Upload},t.renderUploadList):null;if("drag"===u){var E,_=w()(y,(he(E={},"".concat(y,"-drag"),!0),he(E,"".concat(y,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),he(E,"".concat(y,"-drag-hover"),"dragover"===v),he(E,"".concat(y,"-disabled"),f),E),l);return r.createElement("span",null,r.createElement("div",{className:_,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(B,ve({},g,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),b)}var C=w()(y,(he(n={},"".concat(y,"-select"),!0),he(n,"".concat(y,"-select-").concat(c),!0),he(n,"".concat(y,"-disabled"),f),n)),x=r.createElement("div",{className:C,style:p?void 0:{display:"none"}},r.createElement(B,ve({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:w()(l,"".concat(y,"-picture-card-wrapper"))},b,x):r.createElement("span",{className:l},x,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(de.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return t=i,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(n=[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"autoUpdateProgress",value:function(e,t){var n,r=this,a=(n=.1,function(e){var t=e;return t>=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),o=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){o=a(o),r.onProgress({percent:100*o},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&ye(t.prototype,n),a&&ye(t,a),i}(r.Component);_e.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(o.polyfill)(_e);var Ce=_e;function xe(e){return(xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(){return(Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=je(e);if(t){var a=je(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Te(this,n)}}function Te(e,t){return!t||"object"!==xe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function je(e){return(je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Ae=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Se(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.style,n=e.height,a=Re(e,["style","height"]);return r.createElement(Ce,Oe({},a,{type:"drag",style:Oe(Oe({},t),{height:n})}))}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Ce.Dragger=Ae;t.default=Ce},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("CtXQ")),a=p(n("2/Rp")),o=p(n("8z0m")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("2oDE"),n("L/Qf"),n("7W5+");var s=n("q1tI"),c=p(s),u=n("sYIF"),f=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Dragger,m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.checkInitFile()},n.componentDidUpdate=function(e){e&&e.fileList!==n.props.fileList&&n.checkInitFile()},n.checkInitFile=function(){var e=n.props.fileList;e&&e.length>0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";f.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&(e.response.id||e.response.data&&e.response.data.id))})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024<t;return r||n.props.showNotification("文件大小必须小于"+t+"MB!"),r},n.state={fileList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,l=e.btn,s=e.className,f=e.size,p=e.actionUrl,m=this.state.fileList,h={name:"file",fileList:!0===t?m:void 0,action:p||""+(0,u.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return l?c.default.createElement(o.default,i({},h,{className:s}),c.default.createElement(a.default,{type:"default"},"上传文件"),c.default.createElement("span",{className:"ml10 color-grey-9"},"(你可以上传小于",c.default.createElement("span",{className:"color-red"},f,"MB"),"的文件)")):c.default.createElement(d,i({},h,{className:s}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-16 color-grey-3"},"拖动文件或点击此处上传"))}}]),t}(s.Component);t.default=m},CZoQ:function(e,t){e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}},LGYb:function(e,t,n){var r=n("1hJj"),a=n("jbM+"),o=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),s=n("rEGp");e.exports=function(e,t,n){var c=-1,u=a,f=e.length,p=!0,d=[],m=d;if(n)p=!1,u=o;else if(f>=200){var h=t?null:l(e);if(h)return s(h);p=!1,u=i,m=new r}else m=t?[]:d;e:for(;++c<f;){var v=e[c],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var g=m.length;g--;)if(m[g]===y)continue e;t&&m.push(y),d.push(v)}else u(m,y,n)||(m!==d&&m.push(y),d.push(v))}return d}},LXko:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("74dF"),n("vAZS"),n("04bd"),n("YQTV"),n("4t1q")},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),a=p(n("W9HT")),o=p(n("NJEC")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),s=p(l),c=n("eO8H"),u=p(n("vDqi")),f=p(n("UQ5L"));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){n.setState({canDelete:n.props.canDelete})},n.show_video_modal=function(e){n.setState({video_title:e.title,move_spin:!0,video_id:e.id}),n.move_attachment(e.id,"preview")},n.hide_video_modal=function(){var e=n.state.video_id;n.setState({video_title:void 0}),n.move_attachment(e,"close")},n.move_attachment=function(e,t){u.default.post("/attachments/"+e+"/preview_attachment",{status:t}).then((function(e){e?n.setState({show_video:"preview"===t,video_url:"preview"===t?"https://forgeplus.trustie.net"+e.data.url:void 0,move_spin:!1}):n.setState({move_spin:!1})})).catch((function(e){n.setState({move_spin:!1}),console.log(e)}))},n.is_video=function(e){return["mp4","flv","mkv","3gp"].indexOf(e.split(".").pop())>-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,i=t.canDelete,l=t.show_video,u=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return s.default.createElement("div",null,m?s.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return s.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},s.default.createElement(a.default,{spinning:d},e.is_video(t.title)?s.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)):s.default.createElement(c.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)),i?s.default.createElement(o.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},s.default.createElement("span",{className:"attachment-list-delete fr"},s.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?s.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},s.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("VCL8"),o=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(f,e);var t,n,a,i=h(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=i.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(y(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(y(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,n){var a=t.props,o=a.okButtonProps,i=a.cancelButtonProps,s=a.title,c=a.cancelText,u=a.okText,f=a.okType,d=a.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},d,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},o),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.placement,u=b(a,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(o.default,p({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return t=f,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(n=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var n=this.props;"visible"in n||this.setState({visible:e});var r=n.onVisibleChange;r&&r(e,t)}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderConfirm)}}])&&d(t.prototype,n),a&&d(t,a),f}(r.Component);E.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(a.polyfill)(E),t.default=E},OQrj:function(e,t,n){},"R/W3":function(e,t,n){var r=n("KwMD"),a=n("2ajD"),o=n("CZoQ");e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,a,n)}},R3zJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=function(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},a=r(["flex","webkitFlex","Flex","msFlex"]);t.a=r},SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],a=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],o=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],i=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],f=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,a){if(n){var o={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(o),a.push.apply(a,o.decorations)}}var d=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&d.test(n.nodeValue)?e:t}return t===e?void 0:t}function h(e,t){var n,r={};!function(){for(var a=e.concat(t),o=[],i={},l=0,s=a.length;l<s;++l){var c=a[l],u=c[3];if(u)for(var f=u.length;--f>=0;)r[u.charAt(f)]=c;var p=c[1],d=""+p;i.hasOwnProperty(d)||(o.push(p),i[d]=null)}o.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,a=0,o=e.length;a<o;++a){if((p=e[a]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var i={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=i[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],a=["["];r&&a.push("^");for(var o=r?1:0,i=t.length;o<i;++o){var c=t[o];if(/\\[bdsw]/i.test(c))a.push(c);else{var u,f=l(c);o+2<i&&"-"===t[o+1]?(u=l(t[o+2]),o+=2):u=f,n.push([f,u]),u<65||f>122||(u<65||f>90||n.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||n.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],d=[];for(o=0;o<n.length;++o){(m=n[o])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(o=0;o<p.length;++o){var m=p[o];a.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&a.push("-"),a.push(s(m[1])))}return a.push("]"),a.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),a=r.length,o=[],i=0,l=0;i<a;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?o[u]=-1:r[i]=s(u))}}for(i=1;i<o.length;++i)-1===o[i]&&(o[i]=++t);for(i=0,l=0;i<a;++i){if("("===(f=r[i]))o[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+o[u])}}for(i=0;i<a;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<a;++i){var f,p=(f=r[i]).charAt(0);f.length>=2&&"["===p?r[i]=c(f):"\\"!==p&&(r[i]=f.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var f=[];for(a=0,o=e.length;a<o;++a){var p;if((p=e[a]).global||p.multiline)throw new Error(""+p);f.push("(?:"+u(p)+")")}return new RegExp(f.join("|"),r?"gi":"g")}(o)}();var a=t.length,o=function(e){for(var i=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,f=i.match(n)||[],d={},m=0,h=f.length;m<h;++m){var v,y=f[m],g=d[y],b=void 0;if("string"==typeof g)v=!1;else{var E=r[y.charAt(0)];if(E)b=y.match(E[1]),g=E[0];else{for(var _=0;_<a;++_)if(E=t[_],b=y.match(E[1])){g=E[0];break}b||(g="pln")}!(v=g.length>=5&&"lang-"===g.substring(0,5))||b&&"string"==typeof b[1]||(v=!1,g="src"),v||(d[y]=g)}var C=u;if(u+=y.length,v){var x=b[1],O=y.indexOf(x),S=O+x.length;b[2]&&(O=(S=y.length-b[2].length)-x.length);var N=g.substring(5);p(s,l+C,y.substring(0,O),o,c),p(s,l+C+O,x,w(N,x),c),p(s,l+C+S,y.substring(S),o,c)}else c.push(l+C,g)}e.decorations=c};return o}function v(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var a=e.regexLiterals;if(a){var o=a>1?"":"\n\r",i=o?".":"[\\S\\s]",l="/(?=[^/*"+o+"])(?:[^/\\x5B\\x5C"+o+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+o+"]|\\x5C"+i+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),h(t,n)}var y=v({keywords:[r,o,a,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,a=/\r\n?|\n/,o=e.ownerDocument,i=o.createElement("li");e.firstChild;)i.appendChild(e.firstChild);var l=[i];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var i=e.nodeValue,l=i.match(a);if(l){var u=i.substring(0,l.index);e.nodeValue=u;var f=i.substring(l.index+l[0].length);if(f)e.parentNode.insertBefore(o.createTextNode(f),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,a=t.parentNode;if(a){var o=e(a,1),i=t.nextSibling;o.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,o.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var f=o.createElement("ol");f.className="linenums";for(var p=Math.max(0,t-1|0)||0,d=(u=0,l.length);u<d;++u)(i=l[u]).className="L"+(u+p)%10,i.firstChild||i.appendChild(o.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function E(t,n){for(var r=n.length;--r>=0;){var a=n[r];b.hasOwnProperty(a)?e.console&&console.warn("cannot override language handler %s",a):b[a]=t}}function w(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function _(t){var n,r,a,o,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,a=/(?:^|\s)nocode(?:\s|$)/,o=[],i=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(a.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(o[s]="\n",l[s<<1]=i++,l[s++<<1|1]=t)}else if(3==n||4==n){var f=t.nodeValue;f.length&&(f=r?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),o[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:o.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,w(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,a=/\n/g,o=e.sourceCode,i=o.length,l=0,s=e.spans,c=s.length,u=0,f=e.decorations,p=f.length,d=0;for(f[p]=i,r=n=0;r<p;)f[r]!==f[r+2]?(f[n++]=f[r++],f[n++]=f[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=f[r],h=f[r+1],v=r+2;v+2<=p&&f[v+1]===h;)v+=2;f[n++]=m,f[n++]=h,r=v}p=f.length=n;var y=e.sourceNode,g="";y&&(g=y.style.display,y.style.display="none");try{for(;u<c;){s[u];var b,E=s[u+2]||i,w=f[d+2]||i,_=(v=Math.min(E,w),s[u+1]);if(1!==_.nodeType&&(b=o.substring(l,v))){t&&(b=b.replace(a,"\r")),_.nodeValue=b;var C=_.ownerDocument,x=C.createElement("span");x.className=f[d+1];var O=_.parentNode;O.replaceChild(x,_),x.appendChild(_),l<E&&(s[u+1]=_=C.createTextNode(o.substring(v,E)),O.insertBefore(_,x.nextSibling))}(l=v)>=E&&(u+=2),l>=w&&(d+=2)}}finally{y&&(y.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function C(e,t,n){var r=n||!1,a=t||null,o=document.createElement("div");return o.innerHTML="<pre>"+e+"</pre>",o=o.firstChild,r&&g(o,r,!0),_({langExtension:a,numberLines:r,sourceNode:o,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),o.innerHTML}function x(t,n){var r=n||document.body,a=r.ownerDocument||document;function o(e){return r.getElementsByTagName(e)}for(var i=[o("pre"),o("code"),o("xmp")],l=[],s=0;s<i.length;++s)for(var c=0,u=i[s].length;c<u;++c)l.push(i[s][c]);i=null;var f=Date;f.now||(f={now:function(){return+new Date}});var p=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,v=/\bprettyprinted\b/,y=/pre|xmp/i,b=/^code$/i,E=/^(?:pre|code|xmp)$/i,w={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var o=l[p],i=w,s=o;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){i={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){i[t]=n}));break}}var C=o.className;if((i!==w||h.test(C))&&!v.test(C)){for(var x=!1,O=o.parentNode;O;O=O.parentNode){var S=O.tagName;if(E.test(S)&&O.className&&h.test(O.className)){x=!0;break}}if(!x){o.className+=" prettyprinted";var N,k,P=i.lang;if(!P)!(P=C.match(d))&&(N=m(o))&&b.test(N.tagName)&&(P=N.className.match(d)),P&&(P=P[1]);if(y.test(o.tagName))k=1;else{var T=o.currentStyle,j=a.defaultView,R=T?T.whiteSpace:j&&j.getComputedStyle?j.getComputedStyle(o,null).getPropertyValue("white-space"):0;k=R&&"pre"===R.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=C.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(o,A,k),_({langExtension:P,sourceNode:o,numberLines:A,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}E(y,["default-code"]),E(h([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),E(h([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),E(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),E(v({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),E(v({keywords:"null,true,false"}),["json"]),E(v({keywords:o,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),E(v({keywords:a,cStyleComments:!0}),["java"]),E(v({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),E(v({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),E(v({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),E(v({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),E(v({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),E(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),E(h([],[["str",/^[\s\S]+/]]),["regex"]);var O=e.PR={createSimpleLexer:h,registerLangHandler:E,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:C,prettyPrint:x},S=e.define;"function"==typeof S&&S.amd&&S("google-code-prettify",[],(function(){return O}))}()},SqvK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n("Vl3Y")),a=y(n("W9HT")),o=y(n("NJEC")),i=y(n("mr32")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("tULf"),n("04bd"),n("k994"),n("0lcf");var c=n("q1tI"),u=y(c),f=n("eO8H"),p=y(n("vDqi")),d=n("sYIF"),m=y(n("LZ3y")),h=y(n("bjH3")),v=y(n("dIAb"));function y(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){var e=n.props.match.params,t=e.projectsId,r=e.orderId,a="/"+e.owner+"/"+t+"/issues/"+r+".json";p.default.get(a).then((function(e){e&&n.setState({data:e.data,isSpins:!1})})).catch((function(e){console.log(e)}))},n.handleok=function(){n.setState({isShow:!1})},n.handleCancel=function(){n.setState({isShow:!1})},n.deletedetail=function(e){var t=n.props.match.params,r=t.projectsId,a=t.orderId,o=t.owner,i="/"+o+"/"+r+"/issues/"+a+".json";p.default.delete(i,{data:{project_id:r,id:e}}).then((function(e){e&&n.props.history.push("/"+o+"/"+r+"/issues")})).catch((function(e){console.log(e)}))},n.closedetail=function(e){var t=n.props.match.params,r=t.projectsId,a=t.orderId,o="/"+t.owner+"/"+r+"/issues/"+a+"/close_issue.json";p.default.post(o,{project_id:r,id:a,status_id:e}).then((function(e){e&&n.getDetail()})).catch((function(e){console.log(e)}))},n.editdetail=function(e,t){n.setState({countvalue:n.stringJson(e),isedit:t})},n.copydetail=function(){var e=n.props.match.params,t=e.projectsId,r=e.orderId,a=e.owner;n.props.history.push("/"+a+"/"+t+"/issues/"+r+"/copyetail")},n.ChangePage=function(e){n.setState({page:e,isSpins:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.handleShowImage=function(e){n.setState({imageUrl:e,visible:!0})},n.setVisible=function(e){n.setState({visible:e})},n.stringJson=function(e){var t=null;try{t=JSON.parse(e)}catch(n){t=e}return t},n.commentCtx=function(e){return u.default.createElement(h.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.state={data:void 0,isShow:!1,imgsrc:"",journalsdata:void 0,display:"none",titledisplay:"none",countvalue:"",isedit:void 0,fileList:void 0,limit:10,page:1,search_count:void 0,isSpins:!0,showFiles:!0,quillValue:"",quillFlag:!1,imageUrl:void 0,visible:!1,journal_spin:!1,edit_spin:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e,t=this,n=this.props.match.params,r=n.projectsId,s=n.orderId,c=n.owner,p=this.state,h=p.data,y=p.isSpins;return u.default.createElement(a.default,{spinning:y},u.default.createElement("div",{className:"ProjectListIndex"},u.default.createElement("div",{className:"item-list-right"},u.default.createElement("div",{className:"background-f boder-4"},u.default.createElement("div",{className:"grid-item border-1f pd20 "},u.default.createElement(f.Link,{to:"/"+(h&&h.author_login),className:"show-user-link"},u.default.createElement("img",{className:"user_img",src:(0,d.getImageUrl)("/"+(h&&h.author_picture)),alt:"",width:"50",height:"50"})),u.default.createElement("div",{className:"ml10"},u.default.createElement("div",{className:"ver-middle"},u.default.createElement("span",{className:"mr10 ver-middle"},u.default.createElement("span",{className:"font-16"},"【",h&&"issue"===h.issue_classify?h.tracker?h.tracker:"缺陷":"合并请求","】"),u.default.createElement("span",{className:"font-16 fwb"},h&&h.subject)),h&&h.priority&&u.default.createElement(i.default,{color:(e=h.priority,"高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c")},h.priority)),u.default.createElement("div",{className:"mt10"},u.default.createElement("span",{className:"color-grey-9 mr5"},"由"),u.default.createElement(f.Link,{to:"/"+(h&&h.author_login),className:"show-user-link color-blue"},h&&h.author_name),u.default.createElement("span",{className:"color-grey-9 ml5"},"添加于 ",h&&h.created_at),h&&h.user_permission?u.default.createElement("span",{className:"pull-right 123123"},u.default.createElement("a",{className:"color-blue fr",onClick:this.copydetail},"复制"),u.default.createElement(o.default,{placement:"bottom",title:"您确定要删除吗",okText:"是",cancelText:"否",onConfirm:function(){return t.deletedetail(s)}},u.default.createElement("a",{className:"color-blue fr",style:{marginLeft:20,marginRight:20}},"删除")),u.default.createElement(f.Link,{to:"/"+c+"/"+r+"/issues/"+s+"/updatedetail",className:"color-blue fr"},"编辑")):""))),u.default.createElement("div",{className:"pd20"},u.default.createElement("div",{className:"detail_p"},h&&h.description&&h.description.length>0?this.commentCtx(h.description):u.default.createElement("span",{className:"color-grey-9 ml3 mr3"},"暂无描述")),h&&h.attachments&&h.attachments.length>0?u.default.createElement(m.default,{attachments:h.attachments,showNotification:this.props.showNotification}):"")),u.default.createElement(v.default,l({order_id:s,showNotification:this.props.showNotification},this.props))),u.default.createElement("div",{className:"list-left list-left-padding"},u.default.createElement("div",{className:"list-right-item-padding background-f boder-4"},u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"负责人:"),u.default.createElement("span",null,h&&h.assign_user_name?h.assign_user_name:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"标记:"),u.default.createElement("span",null,h&&h.issue_tags?u.default.createElement("span",{className:"grid-item"},u.default.createElement("span",{className:"tagColor",style:{background:h.issue_tags[0].color}}),h.issue_tags[0].name):"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"里程碑:"),u.default.createElement("span",{className:"title_overflow"},h&&h.version?h.version:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"状态:"),u.default.createElement("span",null,h&&h.issue_status?h.issue_status:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"分类:"),u.default.createElement("span",null,h&&h.tracker?h.tracker:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"开始日期:"),u.default.createElement("span",null,h&&h.start_date?h.start_date:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"结束日期:"),u.default.createElement("span",null,h&&h.due_date?h.due_date:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"完成度:"),u.default.createElement("span",null,h&&h.done_ratio?h.done_ratio:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"分支:"),u.default.createElement("span",null,h&&h.branch_name?h.branch_name:"--"))))))}}]),t}(c.Component),b=r.default.create({name:"DetailOrderForm"})(g);t.default=b},Sxd8:function(e,t,n){var r=n("ZCgT");e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},UQ5L:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n("q1tI"),o=l(a),i=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,a.useState)(null),n=r(t,2),l=n[0],s=n[1];return(0,a.useEffect)((function(){s(e.video_url)}),[]),o.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),a=n("ut/Y"),o=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:o(n);return s<0&&(s=i(l+s,0)),r(e,a(t,3),s)}},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return M}));var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),i=n.n(o),l=n("BGR+"),s=n("W9HT"),c=n("H84U"),u=n("NUBc"),f=n("qrJ5"),p=n("/kpp");function d(e){if(!r.isValidElement(e))return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return r.cloneElement.apply(r,[e].concat(n))}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var a=w(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function x(e,t){return e[t]&&Math.floor(24/e[t])}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(l,e);var t,n,a,o=b(l);function l(){var e;return v(this,l),(e=o.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,a=e.context,o=a.grid,l=a.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,v=s.className,y=C(s,["prefixCls","children","actions","extra","className"]),g=n("list",c),b=f&&f.length>0&&r.createElement("ul",{className:"".concat(g,"-item-action"),key:"actions"},f.map((function(e,t){return r.createElement("li",{key:"".concat(g,"-item-action-").concat(t)},e,t!==f.length-1&&r.createElement("em",{className:"".concat(g,"-item-action-split")}))}))),E=o?"div":"li",w=r.createElement(E,_({},y,{className:i()("".concat(g,"-item"),v,h({},"".concat(g,"-item-no-flex"),!e.isFlexMode()))}),"vertical"===l&&m?[r.createElement("div",{className:"".concat(g,"-item-main"),key:"content"},u,b),r.createElement("div",{className:"".concat(g,"-item-extra"),key:"extra"},m)]:[u,b,d(m,{key:"extra"})]);return o?r.createElement(p.a,{span:x(o,"column"),xs:x(o,"xs"),sm:x(o,"sm"),md:x(o,"md"),lg:x(o,"lg"),xl:x(o,"xl"),xxl:x(o,"xxl")},w):w},e}return t=l,(n=[{key:"isItemContainsTextNodeAndNotSingular",value:function(){var e,t=this.props.children;return r.Children.forEach(t,(function(t){"string"==typeof t&&(e=!0)})),e&&r.Children.count(t)>1}},{key:"isFlexMode",value:function(){var e=this.props.extra;return"vertical"===this.context.itemLayout?!!e:!this.isItemContainsTextNodeAndNotSingular()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderItem)}}])&&y(t.prototype,n),a&&y(t,a),l}(r.Component);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=D(e);if(t){var a=D(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return L(this,n)}}function L(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}O.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,a=e.prefixCls,o=e.className,l=e.avatar,s=e.title,c=e.description,u=C(e,["prefixCls","className","avatar","title","description"]),f=n("list",a),p=i()("".concat(f,"-item-meta"),o),d=r.createElement("div",{className:"".concat(f,"-item-meta-content")},s&&r.createElement("h4",{className:"".concat(f,"-item-meta-title")},s),c&&r.createElement("div",{className:"".concat(f,"-item-meta-description")},c));return r.createElement("div",_({},u,{className:p}),l&&r.createElement("div",{className:"".concat(f,"-item-meta-avatar")},l),(s||c)&&d)}))},O.contextTypes={grid:a.any,itemLayout:a.string};var I=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(p,e);var t,n,a,o=A(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=o.call(this,e)).defaultPaginationProps={current:1,total:0},t.keys={},t.onPaginationChange=t.triggerPaginationEvent("onChange"),t.onPaginationShowSizeChange=t.triggerPaginationEvent("onShowSizeChange"),t.renderItem=function(e,n){var r,a=t.props,o=a.renderItem,i=a.rowKey;return o?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,o(e,n)):null},t.renderEmpty=function(e,n){var a=t.props.locale;return r.createElement("div",{className:"".concat(e,"-empty-text")},a&&a.emptyText||n("List"))},t.renderList=function(e){var n,a=e.getPrefixCls,o=e.renderEmpty,c=t.state,p=c.paginationCurrent,d=c.paginationSize,m=t.props,h=m.prefixCls,v=m.bordered,y=m.split,g=m.className,b=m.children,E=m.itemLayout,w=m.loadMore,_=m.pagination,C=m.grid,x=m.dataSource,O=void 0===x?[]:x,S=m.size,k=m.header,j=m.footer,R=m.loading,A=I(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),L=a("list",h),D=R;"boolean"==typeof D&&(D={spinning:D});var M=D&&D.spinning,F="";switch(S){case"large":F="lg";break;case"small":F="sm"}var U=i()(L,g,(T(n={},"".concat(L,"-vertical"),"vertical"===E),T(n,"".concat(L,"-").concat(F),F),T(n,"".concat(L,"-split"),y),T(n,"".concat(L,"-bordered"),v),T(n,"".concat(L,"-loading"),M),T(n,"".concat(L,"-grid"),C),T(n,"".concat(L,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),B=P(P(P({},t.defaultPaginationProps),{total:O.length,current:p,pageSize:d}),_||{}),z=Math.ceil(B.total/B.pageSize);B.current>z&&(B.current=z);var H,W=_?r.createElement("div",{className:"".concat(L,"-pagination")},r.createElement(u.default,P({},B,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,K=N(O);if(_&&O.length>(B.current-1)*B.pageSize&&(K=N(O).splice((B.current-1)*B.pageSize,B.pageSize)),H=M&&r.createElement("div",{style:{minHeight:53}}),K.length>0){var q=K.map((function(e,n){return t.renderItem(e,n)})),V=[];r.Children.forEach(q,(function(e,n){V.push(r.cloneElement(e,{key:t.keys[n]}))})),H=C?r.createElement(f.a,{gutter:C.gutter},V):r.createElement("ul",{className:"".concat(L,"-items")},V)}else b||M||(H=t.renderEmpty(L,o));var G=B.position||"bottom";return r.createElement("div",P({className:U},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&W,k&&r.createElement("div",{className:"".concat(L,"-header")},k),r.createElement(s.default,D,H,b),j&&r.createElement("div",{className:"".concat(L,"-footer")},j),w||("bottom"===G||"both"===G)&&W)};var n=e.pagination,a=n&&"object"===S(n)?n:{};return t.state={paginationCurrent:a.defaultCurrent||1,paginationSize:a.defaultPageSize||10},t}return t=p,(n=[{key:"getChildContext",value:function(){return{grid:this.props.grid,itemLayout:this.props.itemLayout}}},{key:"triggerPaginationEvent",value:function(e){var t=this;return function(n,r){var a=t.props.pagination;t.setState({paginationCurrent:n,paginationSize:r}),a&&a[e]&&a[e](n,r)}}},{key:"isSomethingAfterLastItem",value:function(){var e=this.props,t=e.loadMore,n=e.pagination,r=e.footer;return!!(t||n||r)}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderList)}}])&&j(t.prototype,n),a&&j(t,a),p}(r.Component);M.Item=O,M.childContextTypes={grid:a.any,itemLayout:a.string},M.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},"Xt/L":function(e,t){e.exports=function(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}},ZCgT:function(e,t,n){var r=n("tLB3");e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ve}));var r=n("q1tI"),a=n.n(r),o=n("i8i4"),i=n("QbLZ"),l=n.n(i),s=n("YEIV"),c=n.n(s),u=n("jo6Y"),f=n.n(u),p=n("iCc5"),d=n.n(p),m=n("V7oC"),h=n.n(m),v=n("FYw3"),y=n.n(v),g=n("mRg0"),b=n.n(g),E=n("17x9"),w=n.n(E),_=n("TSYQ"),C=n.n(_),x=n("n1GQ"),O=n.n(x),S=n("VCL8"),N=37,k=38,P=39,T=40;function j(e){var t=[];return a.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function R(e,t){for(var n=j(e),r=0;r<n.length;r++)if(n[r].key===t)return r;return-1}function A(e,t){e.transform=t,e.webkitTransform=t,e.mozTransform=t}function L(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function D(e){return"left"===e||"right"===e}function I(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function M(e){return Object.keys(e).reduce((function(t,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})}function F(e,t){return+e.getPropertyValue(t).replace("px","")}function U(e,t,n,r,a){var o=I(a,"padding-"+e);if(!r||!r.parentNode)return o;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(a){var i=window.getComputedStyle(a);return a!==r?(o+=F(i,"margin-"+e),o+=a[t],o+=F(i,"margin-"+n),"content-box"===i.boxSizing&&(o+=F(i,"border-"+e+"-width")+F(i,"border-"+n+"-width")),!1):(o+=F(i,"margin-"+e),!0)})),o}var B=n("4IlW"),z=n("foW8"),H=n.n(z)()({}),W=H.Provider,K=H.Consumer,q={width:0,height:0,overflow:"hidden",position:"absolute"},V=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.onKeyDown=function(e){var t=e.target,n=e.which,a=e.shiftKey,o=r.props,i=o.nextElement,l=o.prevElement;n===B.a.TAB&&document.activeElement===t&&(!a&&i&&i.focus(),a&&l&&l.focus())},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props.setRef;return a.a.createElement("div",{tabIndex:0,ref:e,style:q,onKeyDown:this.onKeyDown,role:"presentation"})}}]),t}(a.a.Component);V.propTypes={setRef:w.a.func,prevElement:w.a.object,nextElement:w.a.object};var G=V,Q=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e,t=this.props,n=t.id,r=t.className,o=t.destroyInactiveTabPane,i=t.active,s=t.forceRender,u=t.rootPrefixCls,p=t.style,d=t.children,m=t.placeholder,h=f()(t,["id","className","destroyInactiveTabPane","active","forceRender","rootPrefixCls","style","children","placeholder"]);this._isActived=this._isActived||i;var v=u+"-tabpane",y=C()((e={},c()(e,v,1),c()(e,v+"-inactive",!i),c()(e,v+"-active",i),c()(e,r,r),e)),g=(o?i:this._isActived)||s;return a.a.createElement(K,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,o=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=a.a.createElement(G,{setRef:o,prevElement:t}),u=a.a.createElement(G,{setRef:s,nextElement:r})),a.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:y,id:n},M(h)),c,g?d:m,u)}))}}]),t}(a.a.Component),Y=Q;function J(e){var t=void 0;return a.a.Children.forEach(e.children,(function(e){!e||t||e.props.disabled||(t=e.key)})),t}Q.propTypes={className:w.a.string,active:w.a.bool,style:w.a.any,destroyInactiveTabPane:w.a.bool,forceRender:w.a.bool,placeholder:w.a.node,rootPrefixCls:w.a.string,children:w.a.node,id:w.a.string},Q.defaultProps={placeholder:null};var X=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));Z.call(n);var r=void 0;return r="activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:J(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,O.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(O.a.cancel(this.sentinelId),this.sentinelId=O()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,o=t.tabBarPosition,i=t.className,s=t.renderTabContent,u=t.renderTabBar,p=t.destroyInactiveTabPane,d=t.direction,m=f()(t,["prefixCls","navWrapper","tabBarPosition","className","renderTabContent","renderTabBar","destroyInactiveTabPane","direction"]),h=C()((e={},c()(e,n,1),c()(e,n+"-"+o,1),c()(e,i,!!i),c()(e,n+"-rtl","rtl"===d),e));this.tabBar=u();var v=a.a.cloneElement(this.tabBar,{prefixCls:n,navWrapper:r,key:"tabBar",onKeyDown:this.onNavKeyDown,tabBarPosition:o,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),y=a.a.cloneElement(s(),{prefixCls:n,tabBarPosition:o,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=a.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=a.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),E=[];return"bottom"===o?E.push(g,y,b,v):E.push(v,g,y,b),a.a.createElement(W,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},a.a.createElement("div",l()({className:h,style:t.style},M(m),{onScroll:this.onScroll}),E))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"activeKey"in e?n.activeKey=e.activeKey:function(e,t){return a.a.Children.map(e.children,(function(e){return e&&e.key})).indexOf(t)>=0}(e,t.activeKey)||(n.activeKey=J(e)),Object.keys(n).length>0?n:null}}]),t}(a.a.Component),Z=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===P||n===T){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===N||n===k){t.preventDefault();var a=e.getNextActiveKey(!1);e.onTabClick(a)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];a.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var o=r.length,i=o&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===o-1?r[0].key:r[t+1].key)})),i}};X.propTypes={destroyInactiveTabPane:w.a.bool,renderTabBar:w.a.func.isRequired,renderTabContent:w.a.func.isRequired,navWrapper:w.a.func,onChange:w.a.func,children:w.a.node,prefixCls:w.a.string,className:w.a.string,tabBarPosition:w.a.string,style:w.a.object,activeKey:w.a.string,defaultActiveKey:w.a.string,direction:w.a.string},X.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},X.TabPane=Y,Object(S.polyfill)(X);var $=X,ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return a.a.Children.forEach(n,(function(n){if(n){var o=n.key,i=t===o;r.push(a.a.cloneElement(n,{active:i,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,o=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=C()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var v=R(o,i);if(-1!==v){var y=p?function(e,t){var n=D(t)?"marginTop":"marginLeft";return c()({},n,100*-e+"%")}(v,u):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=D(t)?"translateY":"translateX";return D(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(v,u,d),WebkitTransform:t,MozTransform:t};m=l()({},m,y)}else m=l()({},m,{display:"none"})}return a.a.createElement("div",{className:h,style:m},this.getTabPanes())}}]),t}(a.a.Component),te=ee;ee.propTypes={animated:w.a.bool,animatedWithMargin:w.a.bool,prefixCls:w.a.string,children:w.a.node,activeKey:w.a.string,style:w.a.any,tabBarPosition:w.a.string,className:w.a.string,destroyInactiveTabPane:w.a.bool,direction:w.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("BGR+");function ae(e,t){var n=e.props,r=n.styles,a=n.panels,o=n.activeKey,i=n.direction,l=e.props.getRef("root"),s=e.props.getRef("nav")||l,c=e.props.getRef("inkBar"),u=e.props.getRef("activeTab"),f=c.style,p=e.props.tabBarPosition,d=R(a,o);if(t&&(f.display="none"),u){var m=u,h=L(f);if(A(f,""),f.width="",f.height="",f.left="",f.top="",f.bottom="",f.right="","top"===p||"bottom"===p){var v=function(e,t){return U("left","offsetWidth","right",e,t)}(m,s),y=m.offsetWidth;y===l.offsetWidth?y=0:r.inkBar&&void 0!==r.inkBar.width&&(y=parseFloat(r.inkBar.width,10))&&(v+=(m.offsetWidth-y)/2),"rtl"===i&&(v=I(m,"margin-left")-v),h?A(f,"translate3d("+v+"px,0,0)"):f.left=v+"px",f.width=y+"px"}else{var g=function(e,t){return U("top","offsetHeight","bottom",e,t)}(m,s),b=m.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(b=parseFloat(r.inkBar.height,10))&&(g+=(m.offsetHeight-b)/2),h?(A(f,"translate3d(0,"+g+"px,0)"),f.top="0"):f.top=g+"px",f.height=b+"px"}}f.display=-1!==d?"block":"none"}var oe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){ae(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){ae(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,o=t.inkBarAnimated,i=n+"-ink-bar",l=C()((e={},c()(e,i,!0),c()(e,o?i+"-animated":i+"-no-animated",!0),e));return a.a.createElement("div",{style:r.inkBar,className:l,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(a.a.Component),ie=oe;oe.propTypes={prefixCls:w.a.string,styles:w.a.object,inkBarAnimated:w.a.bool,saveRef:w.a.func,direction:w.a.string},oe.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),se=n.n(le),ce=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,o=t.prefixCls,i=t.tabBarGutter,s=t.saveRef,u=t.tabBarPosition,f=t.renderTabBarNode,p=t.direction,d=[];return a.a.Children.forEach(n,(function(t,m){if(t){var h=t.key,v=r===h?o+"-tab-active":"";v+=" "+o+"-tab";var y={};t.props.disabled?v+=" "+o+"-tab-disabled":y={onClick:e.props.onTabClick.bind(e,h)};var g={};r===h&&(g.ref=s("activeTab"));var b=i&&m===n.length-1?0:i,E="rtl"===p?"marginLeft":"marginRight",w=c()({},D(u)?"marginBottom":E,b);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var _=a.a.createElement("div",l()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},y,{className:v,key:h,style:w},g),t.props.tab);f&&(_=f(_)),d.push(_)}})),a.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(a.a.Component),ue=ce;ce.propTypes={activeKey:w.a.string,panels:w.a.node,prefixCls:w.a.string,tabBarGutter:w.a.number,onTabClick:w.a.func,saveRef:w.a.func,renderTabBarNode:w.a.func,tabBarPosition:w.a.string,direction:w.a.string},ce.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var fe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,o=e.className,i=e.extraContent,s=e.style,u=e.tabBarPosition,p=e.children,d=f()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),m=C()(t+"-bar",c()({},o,!!o)),h="top"===u||"bottom"===u,v=h?{float:"right"}:{},y=i&&i.props?i.props.style:{},g=p;return i&&(g=[Object(r.cloneElement)(i,{key:"extra",style:l()({},v,y)}),Object(r.cloneElement)(p,{key:"content"})],g=h?g:g.reverse()),a.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},M(d)),g)}}]),t}(a.a.Component),pe=fe;fe.propTypes={prefixCls:w.a.string,className:w.a.string,style:w.a.object,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),children:w.a.node,extraContent:w.a.node,onKeyDown:w.a.func,saveRef:w.a.func},fe.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var de=n("sEfC"),me=n.n(de),he=n("bdgK"),ve=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var a=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),a){var o=n.getScrollWH(t),i=n.getOffsetWH(r),l=n.offset,s=n.getOffsetLT(r),c=n.getOffsetLT(t);s>c?(l+=s-c,n.setOffset(l)):s+i<c+o&&(l-=c+o-(s+i),n.setOffset(l))}}},n.prev=function(e){n.props.onPrevClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a+r)},n.next=function(e){n.props.onNextClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a-r)},n.offset=0,n.state={next:!1,prev:!1},n}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),this.debouncedResize=me()((function(){e.setNextPrev(),e.scrollToActiveTab()}),200),this.resizeObserver=new he.default(this.debouncedResize),this.resizeObserver.observe(this.props.getRef("container"))}},{key:"componentDidUpdate",value:function(e){var t=this.props;if(e&&e.tabBarPosition!==t.tabBarPosition)this.setOffset(0);else{var n=this.setNextPrev();this.isNextPrevShown(this.state)!==this.isNextPrevShown(n)?this.setState({},this.scrollToActiveTab):e&&t.activeKey===e.activeKey||this.scrollToActiveTab()}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()}},{key:"setNextPrev",value:function(){var e=this.props.getRef("nav"),t=this.props.getRef("navTabsContainer"),n=this.getScrollWH(t||e),r=this.getOffsetWH(this.props.getRef("container"))+1,a=this.getOffsetWH(this.props.getRef("navWrap")),o=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),o=0;else if(i<o)s=!0;else{s=!1;var u=a-n;this.setOffset(u,!1),o=u}return c=o<0,this.setNext(s),this.setPrev(c),{next:s,prev:c}}},{key:"getOffsetWH",value:function(e){var t=this.props.tabBarPosition,n="offsetWidth";return"left"!==t&&"right"!==t||(n="offsetHeight"),e[n]}},{key:"getScrollWH",value:function(e){var t=this.props.tabBarPosition,n="scrollWidth";return"left"!==t&&"right"!==t||(n="scrollHeight"),e[n]}},{key:"getOffsetLT",value:function(e){var t=this.props.tabBarPosition,n="left";return"left"!==t&&"right"!==t||(n="top"),e.getBoundingClientRect()[n]}},{key:"setOffset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},a=this.props.tabBarPosition,o=this.props.getRef("nav").style,i=L(o);"left"===a||"right"===a?r=i?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:i?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},i?A(o,r.value):o[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,o=this.state,i=o.next,l=o.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,v=a.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:C()((e={},c()(e,u+"-tab-prev",1),c()(e,u+"-tab-btn-disabled",!l),c()(e,u+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||a.a.createElement("span",{className:u+"-tab-prev-icon"})),y=a.a.createElement("span",{onClick:i?this.next:null,unselectable:"unselectable",className:C()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||a.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=C()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return a.a.createElement("div",{className:C()((r={},c()(r,u+"-nav-container",1),c()(r,u+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},v,y,a.a.createElement("div",{className:u+"-nav-wrap",ref:this.props.saveRef("navWrap")},a.a.createElement("div",{className:u+"-nav-scroll"},a.a.createElement("div",{className:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(a.a.Component),ye=ve;ve.propTypes={activeKey:w.a.string,getRef:w.a.func.isRequired,saveRef:w.a.func.isRequired,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),prefixCls:w.a.string,scrollAnimated:w.a.bool,onPrevClick:w.a.func,onNextClick:w.a.func,navWrapper:w.a.func,children:w.a.node,prevIcon:w.a.node,nextIcon:w.a.node,direction:w.a.node},ve.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var ge=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.getRef=function(e){return r[e]},r.saveRef=function(e){return function(t){t&&(r[e]=t)}},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(a.a.Component),be=ge;ge.propTypes={children:w.a.func},ge.defaultProps={children:function(){return null}};var Ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return a.a.createElement(be,null,(function(e,r){return a.a.createElement(pe,l()({saveRef:e},n),a.a.createElement(ye,l()({saveRef:e,getRef:r},n),a.a.createElement(ue,l()({saveRef:e,renderTabBarNode:t},n)),a.a.createElement(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(a.a.Component),we=Ee;Ee.propTypes={children:w.a.func};var _e=n("CtXQ");function Ce(){return(Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oe(e){return(Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=je(e);if(t){var a=je(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Te(this,n)}}function Te(e,t){return!t||"object"!==Oe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function je(e){return(je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Se(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e,t,n=this.props,a=n.tabBarStyle,o=n.animated,i=n.renderTabBar,l=n.tabBarExtraContent,s=n.tabPosition,c=n.prefixCls,u=n.className,f=n.size,p=n.type,d="object"===Oe(o)?o.inkBar:o,m="left"===s||"right"===s,h=m?"up":"left",v=m?"down":"right",y=r.createElement("span",{className:"".concat(c,"-tab-prev-icon")},r.createElement(_e.default,{type:h,className:"".concat(c,"-tab-prev-icon-target")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(_e.default,{type:v,className:"".concat(c,"-tab-next-icon-target")})),b=C()("".concat(c,"-").concat(s,"-bar"),(xe(e={},"".concat(c,"-").concat(f,"-bar"),!!f),xe(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),E=Ce(Ce({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:a,prevIcon:y,nextIcon:g,className:b});return t=i?i(E,we):r.createElement(we,E),r.cloneElement(t)}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Re.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Le=n("6CfX"),De=n("R3zJ");function Ie(){return(Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ze(e,t){return(ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function He(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ke(e);if(t){var a=Ke(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return We(this,n)}}function We(e,t){return!t||"object"!==Fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ke(e){return(Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Ve=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ze(e,t)}(l,e);var t,n,a,i=He(l);function l(){var e;return Ue(this,l),(e=i.apply(this,arguments)).removeTab=function(t,n){if(n.stopPropagation(),t){var r=e.props.onEdit;r&&r(t,"remove")}},e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e.createNewTab=function(t){var n=e.props.onEdit;n&&n(t,"add")},e.renderTabs=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.className,s=void 0===l?"":l,c=o.size,u=o.type,f=void 0===u?"line":u,p=o.tabPosition,d=o.children,m=o.animated,h=void 0===m||m,v=o.hideAdd,y=e.props.tabBarExtraContent,g="object"===Fe(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Le.a)(!(f.indexOf("card")>=0&&("small"===c||"large"===c)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var b=a("tabs",i),E=C()(s,(Me(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Me(n,"".concat(b,"-").concat(c),!!c),Me(n,"".concat(b,"-card"),f.indexOf("card")>=0),Me(n,"".concat(b,"-").concat(f),!0),Me(n,"".concat(b,"-no-animation"),!g),n)),w=[];"editable-card"===f&&(w=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var a=t.props.closable,o=(a=void 0===a||a)?r.createElement(_e.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;w.push(r.cloneElement(t,{tab:r.createElement("div",{className:a?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,o),key:t.key||n}))})),v||(y=r.createElement("span",null,r.createElement(_e.default,{type:"plus",className:"".concat(b,"-new-tab"),onClick:e.createNewTab}),y))),y=y?r.createElement("div",{className:"".concat(b,"-extra-content")},y):null;var _=qe(e.props,[]),x=C()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Ie({},e.props,{prefixCls:b,className:E,tabBarPosition:p,renderTabBar:function(){return r.createElement(Re,Ie({},Object(re.a)(_,["className"]),{tabBarExtraContent:y}))},renderTabContent:function(){return r.createElement(te,{className:x,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),w.length>0?w:d)},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=o.findDOMNode(this);e&&!De.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&Be(t.prototype,n),a&&Be(t,a),l}(r.Component);Ve.TabPane=Y,Ve.defaultProps={hideAdd:!1,tabPosition:"top"}},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),a=c(r);n("vg9a");var o=n("ud8/"),i=c(o);n("SJMd");var l=c(n("wMS7")),s=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,p=void 0===f?{}:f,d=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,i.default)(m),t=(0,o.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],a=r.type,o=r.expression;return(0,s.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===a,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(d&&d.hash&&h){var e=d.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[d,h]);var v=(0,r.useRef)();function y(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(v.current&&h&&h.match(u)&&window.PR.prettyPrint(),v.current)return v.current.addEventListener("click",y),function(){v.current.removeEventListener("click",y),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[h,v.current,y]),a.default.createElement("div",{ref:v,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("VXEj")),a=w(n("NJEC")),o=w(n("2/Rp")),i=w(n("NUBc")),l=w(n("ZTPi")),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV"),n("AUBz");var u=n("q1tI"),f=w(u),p=n("eO8H"),d=w(n("vDqi")),m=w(n("AySf")),h=w(n("bIax")),v=n("sYIF"),y=w(n("LZ3y")),g=w(n("p7gc")),b=w(n("bjH3")),E=w(n("oYoh"));function w(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var _=l.default.TabPane,C=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getjournalslist()},n.addjournals=function(){var e=n.state,t=e.content,r=e.reply_content;n.setState({journal_spin:!0}),t||r?n.props.form.validateFieldsAndScroll((function(e,a){if(e)n.setState({journal_spin:!1});else{var o=n.state,i=o.page,l=o.limit,c=o.fileList,u=o.orderId,f=o.reply_id,p=o.is_reply,m="/issues/"+u+"/journals.json";d.default.post(m,s({},a,{content:p?r:t,issue_id:u,attachment_ids:c,parent_id:f})).then((function(e){e&&0===e.data.status&&(n.props.form.setFieldsValue({content:"",reply_content:void 0}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l),n.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1})),n.setState({journal_spin:!1}),e&&411!==e.data.status&&n.props.showNotification(e.data.message)})).catch((function(e){n.setState({journal_spin:!1}),console.log(e)}))}})):n.setState({journal_spin:!1})},n.add_reply=function(e){!1!==n.props.checkIfLogin()?n.setState({is_reply:!0,success_journal:!1,reply_id:e}):n.props.showLoginDialog()},n.cancel_reply=function(){n.setState({is_reply:!1,reply_id:void 0,success_journal:!1,reply_content:void 0})},n.getjournalslist=function(e,t){var r=n.state.orderId,a="/issues/"+r+"/journals.json",o=r;d.default.get(a,{params:{id:o,page:e,limit:t}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1,fileList:void 0})})).catch((function(e){console.log(e)}))},n.UploadFunc=function(e){n.setState({fileList:e,attachment_clean:!0})},n.deleteorder=function(e){var t=n.state,r=t.page,a=t.limit,o=t.orderId,i="/issues/"+o+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:o,id:e}}).then((function(e){e&&n.getjournalslist(r,a)})).catch((function(e){console.log(e)}))},n.renderJournalList=function(e){return e&&e.length>0?e.map((function(e,t){return f.default.createElement("div",{key:t+1,className:"journal-list-item"},f.default.createElement("span",{className:"fwb mr3"},e.detail,":"),f.default.createElement("span",{className:"mr5 color-grey-9"},e.old_value&&e.old_value.length>0?"更新为":"新增"),f.default.createElement("span",null,e.value&&e.value.length>0?"标记"===e.detail?f.default.createElement("span",{className:"issue-tag-show",style:{background:e.value[0].color}},e.value[0].name):e.value:"无"))})):f.default.createElement("div",null,f.default.createElement("span",null,"没有评论~"))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.onContentChange=function(e){e&&n.setState({content:e,quillFlag:!1})},n.replyContentChange=function(e){e&&n.setState({reply_content:e,quillFlag:!1})},n.onRef=function(e){n.child=e},n.commentCtx=function(e){return f.default.createElement(b.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.state={content:void 0,journalsdata:void 0,isedit:void 0,fileList:void 0,limit:10,page:1,journal_spin:!1,edit_spin:!1,attachment_clean:!0,orderId:n.props.order_id,is_reply:!1,reply_id:void 0,reply_content:void 0,new_journal_id:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"loginModal",value:function(){this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,w=t.attachment_clean,C=t.is_reply,x=t.reply_id,O=t.reply_content,S=t.orderId,N=t.new_journal_id,k=this.props,P=k.current_user,T=k.only_show_content,j=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(P&&P.image_url)),alt:"",width:"30",height:"30"})),f.default.createElement("div",null,f.default.createElement(g.default,{placeholder:"添加评论...",height:300,mdID:n?"orderdetail-add-descriptions"+n:"orderdetail-add-descriptions",initValue:t?O:u,onChange:t?e.replyContentChange:e.onContentChange}),f.default.createElement("p",{className:"quillFlag"},d&&f.default.createElement("span",{className:""},"请输入评论内容")),f.default.createElement(m.default,{className:"commentStyle",isComplete:w,load:e.UploadFunc,icon:f.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.props.showNotification}),f.default.createElement("p",{className:"clearfix mt20"},f.default.createElement(o.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(o.default,{onClick:e.cancel_reply},"取消"))))},R=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link color-black ml10 fwb"},t&&t.user_name)),f.default.createElement("div",{className:"ml40"},t.content?e.commentCtx(t.content):f.default.createElement("div",null,e.renderJournalList(t.journal_details)),t&&t.attachments&&t.attachments.length>0?f.default.createElement(y.default,{attachments:t.attachments,showNotification:e.props.showNotification,canDelete:P&&(P.admin||P.login===t.user_login)}):"",f.default.createElement("div",{className:"grid-item mt5"},f.default.createElement("span",{className:"color-grey-8"},t.created_at),f.default.createElement("span",{className:"text-right"},P&&(P.admin||P.login===t.user_login)?f.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(o.default,{type:"link"},f.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):"",f.default.createElement(o.default,{type:"link",className:"ml-10",onClick:function(){return e.add_reply(t.id)}},f.default.createElement("i",{className:"iconfont icon-huifu1 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"回复")))),P&&f.default.createElement("div",null,C&&x&&x===t.id?f.default.createElement("div",{className:"pt20"},j(C,t.id)):""),f.default.createElement(E.default,s({order_id:S,parent_id:t.id,onRef:e.onRef,children_comment_id:N},e.props))))};return f.default.createElement("div",null,T?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},C&&!x?f.default.createElement("div",{className:"pd20"},j(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,v.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}),this.Paginations()):f.default.createElement("div",{className:"mt20"},f.default.createElement("div",{className:"comment-background"},f.default.createElement(l.default,{defaultActiveKey:"1",className:"custom-comment-tabs"},f.default.createElement(_,{tab:f.default.createElement("span",{className:"ml-3 font-16"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},C&&!x?f.default.createElement("div",{className:"pd20"},j(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item mb20"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,v.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=C},dQpi:function(e,t,n){var r=n("yGk4"),a=n("vN+2"),o=n("rEGp"),i=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:a;e.exports=i},"jbM+":function(e,t,n){var r=n("R/W3");e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),i=n("BGR+"),l=n("VCL8"),s=n("CtXQ"),c=n("H84U");function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,a,i=v(l);function l(){var e;return d(this,l),(e=i.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,r=t.onChange;r&&r(!n)},e.renderCheckableTag=function(t){var n,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=a("tag",l),m=o()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,r.createElement("span",f({},u,{className:m,onClick:e.handleClick}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(t.prototype,n),a&&m(t,a),l}(r.Component),w=n("09Wf"),_=n("6CfX"),C=n("g0mS");function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=j(e);if(t){var a=j(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return T(this,n)}}function T(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},A=new RegExp("^(".concat(w.a.join("|"),")(-inverse)?$")),L=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(u,e);var t,n,a,l=P(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,a=n.children,o=R(n,["children"]),l="onClick"in o||a&&"a"===a.type,s=Object(i.a)(o,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(C.a,null,r.createElement("span",S({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())):r.createElement("span",S({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())},Object(_.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return t=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(n=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return S({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,a=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",a);return o()(u,(O(t={},"".concat(u,"-").concat(l),c),O(t,"".concat(u,"-has-color"),l&&!c),O(t,"".concat(u,"-hidden"),!s),t),i)}},{key:"setVisible",value:function(e,t){var n=this.props,r=n.onClose,a=n.afterClose;r&&r(t),a&&!r&&a(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&A.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderTag)}}])&&N(t.prototype,n),a&&N(t,a),u}(r.Component);L.CheckableTag=E,L.defaultProps={closable:!1},Object(l.polyfill)(L);t.default=L},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),a="undefined"==typeof window?t:window,o=["moz","webkit"],i="AnimationFrame",l=a["request"+i],s=a["cancel"+i]||a["cancelRequest"+i],c=0;!l&&c<o.length;c++)l=a[o[c]+"Request"+i],s=a[o[c]+"Cancel"+i]||a[o[c]+"CancelRequest"+i];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(a,e)},e.exports.cancel=function(){s.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},oYoh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("VXEj")),a=h(n("NJEC")),o=h(n("2/Rp")),i=h(n("NUBc")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV");var s=n("q1tI"),c=h(s),u=n("eO8H"),f=h(n("vDqi")),p=n("sYIF"),d=h(n("LZ3y")),m=h(n("bjH3"));function h(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getChildrenJournals=function(e,t){var r=n.props,a=r.order_id,o=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||a)+"/journals/"+(t||o)+"/get_children_journals.json";f.default.get(c,{params:{page:l,limit:s}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.deleteorder=function(e){var t=n.props.order_id,r="/issues/"+t+"/journals/"+e+".json";f.default.delete(r,{data:{issue_id:t,id:e}}).then((function(e){e&&n.getChildrenJournals()})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.state.page=e,n.state.isSpin=!0,n.getChildrenJournals()},n.commentCtx=function(e){return c.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return c.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},c.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.renderList=function(e){var t=n.props.current_user;return c.default.createElement("div",{className:"width100"},c.default.createElement("div",{className:"grid-item pb5"},c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link color-black ml10 fwb"},e&&e.user_name)),c.default.createElement("div",{className:"ml40"},n.commentCtx(e.content),e&&e.attachments&&e.attachments.length>0?c.default.createElement(d.default,{attachments:e.attachments,showNotification:n.props.showNotification,canDelete:t&&(t.admin||t.login===e.user_login)}):"",c.default.createElement("div",{className:"mt5"},c.default.createElement("span",{className:"color-grey-8"},e.created_at),c.default.createElement("span",{className:"ml20"},t&&(t.admin||t.login===e.user_login)?c.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return n.deleteorder(e.id)}},c.default.createElement(o.default,{type:"link"},c.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),c.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):""))))},n.state={journalsdata:void 0,limit:10,page:1,journal_spin:!1,search_count:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.getChildrenJournals()}},{key:"componentDidUpdate",value:function(e,t){this.props.children_comment_id&&e.children_comment_id!==this.props.children_comment_id&&this.getChildrenJournals()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,a=t.search_count,o=t.isSpin;return c.default.createElement("div",null,a>0&&c.default.createElement("div",{className:"children-comment-bg mt10"},c.default.createElement(r.default,{size:"large",loading:o,dataSource:n.issue_journals,renderItem:function(t){return c.default.createElement(r.default.Item,null,e.renderList(t))}}),this.Paginations()))}}]),t}(s.Component);t.default=v},qPyV:function(e,t,n){var r=n("ut/Y"),a=n("LGYb");e.exports=function(e,t){return e&&e.length?a(e,r(t,2)):[]}},u3En:function(e,t,n){},"vN+2":function(e,t){e.exports=function(){}},vg9a:function(e,t,n){},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,a=Object.freeze,o=Object.seal,i=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),a||(a=function(e){return e}),o||(o=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=x(Array.prototype.forEach),f=x(Array.prototype.indexOf),p=x(Array.prototype.join),d=x(Array.prototype.pop),m=x(Array.prototype.push),h=x(Array.prototype.slice),v=x(String.prototype.toLowerCase),y=x(String.prototype.match),g=x(String.prototype.replace),b=x(String.prototype.indexOf),E=x(String.prototype.trim),w=x(RegExp.prototype.test),_=O(RegExp),C=O(TypeError);function x(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return s(e,t,r)}}function O(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function S(e,r){t&&t(e,null);for(var a=r.length;a--;){var o=r[a];if("string"==typeof o){var i=v(o);i!==o&&(n(r)||(r[a]=i),o=i)}e[o]=!0}return e}function N(t){var n=i(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var k=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),T=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),j=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),R=a(["#text"]),A=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),L=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),D=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),I=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),M=o(/\{\{[\s\S]*|[\s\S]*\}\}/gm),F=o(/<%[\s\S]*|[\s\S]*%>/gm),U=o(/^data-[\-\w.\u00B7-\uFFFF]/),B=o(/^aria-[\-\w]+$/),z=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=o(/^(?:\w+script|data):/i),W=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var V=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":K(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var o=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,x=t.Node,O=t.NodeFilter,Q=t.NamedNodeMap,Y=void 0===Q?t.NamedNodeMap||t.MozNamedAttrMap:Q,J=t.Text,X=t.Comment,Z=t.DOMParser,$=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=G($,o),ne=te&&De?te.createHTML(""):"",re=l,ae=re.implementation,oe=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=o.importNode,ce=N(l).documentMode?l.documentMode:{},ue={};n.isSupported=ae&&void 0!==ae.createHTMLDocument&&9!==ce;var fe=M,pe=F,de=U,me=B,he=H,ve=W,ye=z,ge=null,be=S({},[].concat(q(k),q(P),q(T),q(j),q(R))),Ee=null,we=S({},[].concat(q(A),q(L),q(D),q(I))),_e=null,Ce=null,xe=!0,Oe=!0,Se=!1,Ne=!1,ke=!1,Pe=!1,Te=!1,je=!1,Re=!1,Ae=!1,Le=!1,De=!1,Ie=!0,Me=!0,Fe=!1,Ue={},Be=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),ze=null,He=S({},["audio","video","img","source","image","track"]),We=null,Ke=S({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),qe=null,Ve=l.createElement("form"),Ge=function(e){qe&&qe===e||(e&&"object"===(void 0===e?"undefined":K(e))||(e={}),e=N(e),ge="ALLOWED_TAGS"in e?S({},e.ALLOWED_TAGS):be,Ee="ALLOWED_ATTR"in e?S({},e.ALLOWED_ATTR):we,We="ADD_URI_SAFE_ATTR"in e?S(N(Ke),e.ADD_URI_SAFE_ATTR):Ke,ze="ADD_DATA_URI_TAGS"in e?S(N(He),e.ADD_DATA_URI_TAGS):He,_e="FORBID_TAGS"in e?S({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?S({},e.FORBID_ATTR):{},Ue="USE_PROFILES"in e&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Le=e.RETURN_DOM_IMPORT||!1,De=e.RETURN_TRUSTED_TYPE||!1,je=e.FORCE_BODY||!1,Ie=!1!==e.SANITIZE_DOM,Me=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,ke&&(Oe=!1),Ae&&(Re=!0),Ue&&(ge=S({},[].concat(q(R))),Ee=[],!0===Ue.html&&(S(ge,k),S(Ee,A)),!0===Ue.svg&&(S(ge,P),S(Ee,L),S(Ee,I)),!0===Ue.svgFilters&&(S(ge,T),S(Ee,L),S(Ee,I)),!0===Ue.mathMl&&(S(ge,j),S(Ee,D),S(Ee,I))),e.ADD_TAGS&&(ge===be&&(ge=N(ge)),S(ge,e.ADD_TAGS)),e.ADD_ATTR&&(Ee===we&&(Ee=N(Ee)),S(Ee,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&S(We,e.ADD_URI_SAFE_ATTR),Me&&(ge["#text"]=!0),Pe&&S(ge,["html","head","body"]),ge.table&&(S(ge,["tbody"]),delete _e.tbody),a&&a(e),qe=e)},Qe=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ye=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(je)e="<remove></remove>"+e;else{var r=y(e,/^[\r\n\t ]+/);n=r&&r[0]}var a=te?te.createHTML(e):e;try{t=(new Z).parseFromString(a,"text/html")}catch(e){}if(i&&S(_e,["title"]),!t||!t.documentElement){var o=(t=ae.createHTMLDocument("")).body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=a}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ie.call(t,Pe?"html":"body")[0]};n.isSupported&&function(){try{var e=Je("<x/><title></title><img>");w(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return oe.call(e.ownerDocument||e,e,O.SHOW_ELEMENT|O.SHOW_COMMENT|O.SHOW_TEXT,(function(){return O.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof J||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Y&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===x?"undefined":K(x))?e instanceof x:e&&"object"===(void 0===e?"undefined":K(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,qe)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ze(e))return Qe(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return Qe(e),!0;var r=v(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Qe(e),!0;if(!ge[r]||_e[r]){if(Me&&!Be[r]&&"function"==typeof e.insertAdjacentHTML)try{var a=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(a):a)}catch(e){}return Qe(e),!0}return"noscript"===r&&w(/<\/noscript/i,e.innerHTML)||"noembed"===r&&w(/<\/noembed/i,e.innerHTML)?(Qe(e),!0):(!Ne||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!w(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=g(e.innerHTML,/</g,"<"):e.innerHTML=g(e.textContent,/</g,"<")),ke&&3===e.nodeType&&(t=e.textContent,t=g(t,fe," "),t=g(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(Ie&&("id"===t||"name"===t)&&(n in l||n in Ve))return!1;if(Oe&&w(de,t));else if(xe&&w(me,t));else{if(!Ee[t]||Ce[t])return!1;if(We[t]);else if(w(ye,g(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!ze[e])if(Se&&!w(he,g(n,ve,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,a=void 0,o=void 0,i=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee};for(l=s.length;l--;){var u=t=s[l],m=u.name,y=u.namespaceURI;if(a=E(t.value),o=v(m),c.attrName=o,c.attrValue=a,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),a=c.attrValue,!c.forceKeepAttr){if("name"===o&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ye("id",e),Ye(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===o&&"file"===a&&c.keepAttr&&(Ee[o]||!Ce[o]))continue;"id"===m&&e.setAttribute(m,""),Ye(m,e)}if(c.keepAttr)if(Ne&&w(/\/>/i,a))Ye(m,e);else if(w(/svg|math/i,e.namespaceURI)&&w(_("</("+p(r(Be),"|")+")","i"),a))Ye(m,e);else{ke&&(a=g(a,fe," "),a=g(a,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,o,a))try{y?e.setAttributeNS(y,m,a):e.setAttribute(m,a),d(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},at=function e(t){var n=void 0,r=Xe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var a=void 0,i=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!$e(e)){if("function"!=typeof e.toString)throw C("toString is not a function");if("string"!=typeof(e=e.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===K(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if($e(e))return t.toStaticHTML(e.outerHTML)}return e}if(Te||Ge(r),n.removed=[],"string"==typeof e&&(Fe=!1),Fe);else if(e instanceof x)1===(i=(a=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?a=i:a.appendChild(i);else{if(!Re&&!ke&&!Pe&&-1===e.indexOf("<"))return te&&De?te.createHTML(e):e;if(!(a=Je(e)))return Re?null:ne}a&&je&&Qe(a.firstChild);for(var f=Xe(Fe?e:a);l=f.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&at(l.content),rt(l),c=l);if(c=null,Fe)return e;if(Re){if(Ae)for(u=le.call(a.ownerDocument);a.firstChild;)u.appendChild(a.firstChild);else u=a;return Le&&(u=se.call(o,u,!0)),u}var p=Pe?a.outerHTML:a.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&De?te.createHTML(p):p},n.setConfig=function(e){Ge(e),Te=!0},n.clearConfig=function(){qe=null,Te=!1},n.isValidAttribute=function(e,t,n){qe||Ge({});var r=v(e),a=v(t);return nt(r,a,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&d(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()}}]); \ No newline at end of file +/*! For license information please see 37.f3a26abd.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[37,9,11,23],{"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"13Tz":function(e,t,n){},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"6JOy":function(e,t,n){},"74dF":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("D8SU"),n("TfFZ")},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("VCL8"),i=n("QbLZ"),l=n.n(i),s=n("iCc5"),c=n.n(s),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),m=n("mRg0"),h=n.n(m),v=n("17x9"),y=n.n(v),g=n("YEIV"),b=n.n(g),E=n("TSYQ"),w=n.n(E);function _(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function C(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(function(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),_(t));e.onSuccess(_(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var a in null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),r)r.hasOwnProperty(a)&&null!==r[a]&&t.setRequestHeader(a,r[a]);return t.send(n),{abort:function(){t.abort()}}}var x=+new Date,O=0;function S(){return"rc-upload-"+x+"-"+ ++O}var N=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",o=a.replace(/\/.*$/,"");return n.some((function(e){var t,n,i=e.trim();return"."===i.charAt(0)?(t=r.toLowerCase(),n=i.toLowerCase(),-1!==t.indexOf(n,t.length-n.length)):/\/\*$/.test(i)?o===i.replace(/\/.*$/,""):a===i}))}return!0};var k=function(e,t,n){var r=function e(r,a){a=a||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var a=Array.prototype.slice.apply(n);r=r.concat(a),!a.length?t(r):e()}))}()}(r,(function(t){t.forEach((function(t){e(t,""+a+r.name+"/")}))}))},a=!0,o=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){r(l.value.webkitGetAsEntry())}}catch(e){o=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(o)throw i}}},P=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uid:S()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(){var e=r.fileInput;e&&e.click()},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)k(e.dataTransfer.items,r.uploadFiles,(function(e){return N(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return N(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=S(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var a=r.beforeUpload(e,t);a&&a.then?a.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)})).catch((function(e){console&&console.log(e)})):!1!==a&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.data,a=n.onStart,o=n.onProgress,i=n.transformFile,l=void 0===i?function(e){return e}:i;new Promise((function(t){var r=n.action;if("function"==typeof r)return t(r(e));t(r)})).then((function(i){var s=e.uid,c=n.customRequest||C;Promise.resolve(l(e)).catch((function(e){console.error(e)})).then((function(l){"function"==typeof r&&(r=r(e));var u={action:i,filename:n.name,data:r,file:l,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:o?function(t){o(t,e)}:null,onSuccess:function(r,a){delete t.reqs[s],n.onSuccess(r,e,a)},onError:function(r,a){delete t.reqs[s],n.onError(r,a,e)}};t.reqs[s]=c(u),a(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:S()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,o=t.className,i=t.disabled,s=t.id,c=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,m=t.openFileDialogOnClick,h=w()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,o,o),e)),v=i?{}:{onClick:m?this.onClick:function(){},onKeyDown:m?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return a.a.createElement(n,l()({},v,{className:h,role:"button",style:c}),a.a.createElement("input",{id:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:f,directory:d?"directory":null,webkitdirectory:d?"webkitdirectory":null,multiple:u,onChange:this.onChange}),p)}}]),t}(r.Component);P.propTypes={id:y.a.string,component:y.a.string,style:y.a.object,prefixCls:y.a.string,className:y.a.string,multiple:y.a.bool,directory:y.a.bool,disabled:y.a.bool,accept:y.a.string,children:y.a.any,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),headers:y.a.object,beforeUpload:y.a.func,customRequest:y.a.func,onProgress:y.a.func,withCredentials:y.a.bool,openFileDialogOnClick:y.a.bool,transformFile:y.a.func};var T=P,j=n("i8i4"),R=n.n(j),A=n("2W6z"),L=n.n(A),D={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},I=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={uploading:!1},r.file={},r.onLoad=function(){if(r.state.uploading){var e=r,t=e.props,n=e.file,a=void 0;try{var o=r.getIframeDocument(),i=o.getElementsByTagName("script")[0];i&&i.parentNode===o.body&&o.body.removeChild(i),a=o.body.innerHTML,t.onSuccess(a,n)}catch(e){L()(!1,"cross domain error for Upload. Maybe server should return document.domain script. see Note from https://github.com/react-component/upload"),a="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:S(),name:e.value&&e.value.substring(e.value.lastIndexOf("\\")+1,e.value.length)};r.startUpload();var n=r.props;if(!n.beforeUpload)return r.post(t);var a=n.beforeUpload(t);a&&a.then?a.then((function(){r.post(t)}),(function(){r.endUpload()})):!1!==a?r.post(t):r.endUpload()},r.saveIframe=function(e){r.iframe=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.updateIframeWH(),this.initIframe()}},{key:"componentDidUpdate",value:function(){this.updateIframeWH()}},{key:"getIframeNode",value:function(){return this.iframe}},{key:"getIframeDocument",value:function(){return this.getIframeNode().contentDocument}},{key:"getFormNode",value:function(){return this.getIframeDocument().getElementById("form")}},{key:"getFormInputNode",value:function(){return this.getIframeDocument().getElementById("input")}},{key:"getFormDataNode",value:function(){return this.getIframeDocument().getElementById("data")}},{key:"getFileForMultiple",value:function(e){return this.props.multiple?[e]:e}},{key:"getIframeHTML",value:function(e){var t="",n="";if(e){t='<script>document.domain="'+e+'";<\/script>',n='<input name="_documentDomain" value="'+e+'" />'}return'\n <!DOCTYPE html>\n <html>\n <head>\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n <style>\n body,html {padding:0;margin:0;border:0;overflow:hidden;}\n </style>\n '+t+'\n </head>\n <body>\n <form method="post"\n encType="multipart/form-data"\n action="" id="form"\n style="display:block;height:9999px;position:relative;overflow:hidden;">\n <input id="input" type="file"\n name="'+this.props.name+'"\n style="position:absolute;top:0;right:0;height:9999px;font-size:9999px;cursor:pointer;"/>\n '+n+'\n <span id="data"></span>\n </form>\n </body>\n </html>\n '}},{key:"initIframeSrc",value:function(){this.domain&&(this.getIframeNode().src="javascript:void((function(){\n var d = document;\n d.open();\n d.domain='"+this.domain+"';\n d.write('');\n d.close();\n })())")}},{key:"initIframe",value:function(){var e=this.getIframeNode(),t=e.contentWindow,n=void 0;this.domain=this.domain||"",this.initIframeSrc();try{n=t.document}catch(r){this.domain=document.domain,this.initIframeSrc(),n=(t=e.contentWindow).document}n.open("text/html","replace"),n.write(this.getIframeHTML(this.domain)),n.close(),this.getFormInputNode().onchange=this.onChange}},{key:"endUpload",value:function(){this.state.uploading&&(this.file={},this.state.uploading=!1,this.setState({uploading:!1}),this.initIframe())}},{key:"startUpload",value:function(){this.state.uploading||(this.state.uploading=!0,this.setState({uploading:!0}))}},{key:"updateIframeWH",value:function(){var e=R.a.findDOMNode(this),t=this.getIframeNode();t.style.height=e.offsetHeight+"px",t.style.width=e.offsetWidth+"px"}},{key:"abort",value:function(e){if(e){var t=e;e&&e.uid&&(t=e.uid),t===this.file.uid&&this.endUpload()}else this.endUpload()}},{key:"post",value:function(e){var t=this,n=this.getFormNode(),r=this.getFormDataNode(),a=this.props.data,o=this.props.onStart;"function"==typeof a&&(a=a(e));var i=document.createDocumentFragment();for(var l in a)if(a.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=a[l],i.appendChild(s)}r.appendChild(i),new Promise((function(n){var r=t.props.action;if("function"==typeof r)return n(r(e));n(r)})).then((function(t){n.setAttribute("action",t),n.submit(),r.innerHTML="",o(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,o=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},D,{display:this.state.uploading||r?"none":""}),f=w()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,o,o),e));return a.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},c)},a.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),s)}}]),t}(r.Component);I.propTypes={component:y.a.string,style:y.a.object,disabled:y.a.bool,prefixCls:y.a.string,className:y.a.string,accept:y.a.string,onStart:y.a.func,multiple:y.a.bool,children:y.a.any,data:y.a.oneOfType([y.a.object,y.a.func]),action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string};var M=I;function F(){}var U=function(e){function t(){var e,n,r,a;c()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=d()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={Component:null},r.saveUploader=function(e){r.uploader=e},a=n,d()(r,a)}return h()(t,e),f()(t,[{key:"componentDidMount",value:function(){this.props.supportServerRender&&this.setState({Component:this.getComponent()},this.props.onReady)}},{key:"getComponent",value:function(){return"undefined"!=typeof File?T:M}},{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){if(this.props.supportServerRender){var e=this.state.Component;return e?a.a.createElement(e,l()({},this.props,{ref:this.saveUploader})):null}var t=this.getComponent();return a.a.createElement(t,l()({},this.props,{ref:this.saveUploader}))}}]),t}(r.Component);U.propTypes={component:y.a.string,style:y.a.object,prefixCls:y.a.string,action:y.a.oneOfType([y.a.string,y.a.func]),name:y.a.string,multipart:y.a.bool,directory:y.a.bool,onError:y.a.func,onSuccess:y.a.func,onProgress:y.a.func,onStart:y.a.func,data:y.a.oneOfType([y.a.object,y.a.func]),headers:y.a.object,accept:y.a.string,multiple:y.a.bool,disabled:y.a.bool,beforeUpload:y.a.func,customRequest:y.a.func,onReady:y.a.func,withCredentials:y.a.bool,supportServerRender:y.a.bool,openFileDialogOnClick:y.a.bool},U.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:F,onStart:F,onError:F,onSuccess:F,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var B=U,z=n("qPyV"),H=n.n(z),W=n("UfWW"),K=n.n(W),q=n("MFj2");function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function G(e){return V(V({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Q(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Y=function(e){return!!e&&0===e.indexOf("image/")},J=function(e){if(Y(e.type))return!0;var t=e.thumbUrl||e.url,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n};var X=n("CtXQ"),Z=n("3S7+"),$=n("CFYs"),ee=n("H84U");function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var a=ce(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}(i,e);var t,n,a,o=le(i);function i(){var e;return ae(this,i),(e=o.apply(this,arguments)).handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e.handleDownload=function(t){var n=e.props.onDownload;"function"==typeof n?n(t):t.url&&window.open(t.url)},e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.renderUploadList=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.items,s=void 0===l?[]:l,c=o.listType,u=o.showPreviewIcon,f=o.showRemoveIcon,p=o.showDownloadIcon,d=o.locale,m=o.progressAttr,h=a("upload",i),v=s.map((function(t){var n,a,o,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===c||"picture-card"===c)if("picture-card"===c&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(h,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=J(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(h,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(h,"-list-item-thumbnail"),onClick:function(n){return e.handlePreview(t,n)},href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},l)}else i=r.createElement(X.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement($.default,re({type:"line"},m,{percent:t.percent})):null;o=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var v,y=w()((ne(n={},"".concat(h,"-list-item"),!0),ne(n,"".concat(h,"-list-item-").concat(t.status),!0),ne(n,"".concat(h,"-list-item-list-type-").concat(c),!0),n)),g="string"==typeof t.linkProps?JSON.parse(t.linkProps):t.linkProps,b=f?r.createElement(X.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,E=p&&"done"===t.status?r.createElement(X.default,{type:"download",title:d.downloadFile,onClick:function(){return e.handleDownload(t)}}):null,_="picture-card"!==c&&r.createElement("span",{key:"download-delete",className:"".concat(h,"-list-item-card-actions ").concat("picture"===c?"picture":"")},E&&r.createElement("a",{title:d.downloadFile},E),b&&r.createElement("a",{title:d.removeFile},b)),C=w()((ne(a={},"".concat(h,"-list-item-name"),!0),ne(a,"".concat(h,"-list-item-name-icon-count-").concat([E,b].filter((function(e){return e})).length),!0),a)),x=t.url?[r.createElement("a",re({key:"view",target:"_blank",rel:"noopener noreferrer",className:C,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),_]:[r.createElement("span",{key:"view",className:C,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),_],O=u?r.createElement("a",{href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:t.url||t.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(n){return e.handlePreview(t,n)},title:d.previewFile},r.createElement(X.default,{type:"eye-o"})):null,S="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},O,"done"===t.status&&E,b);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var N=r.createElement("span",null,i,x),k=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(h,"-list-item-info")},N),S,r.createElement(q.a,{transitionName:"fade",component:""},o)),P=w()(ne({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(Z.default,{title:v},k):r.createElement("span",null,k))})),y=w()((ne(n={},"".concat(h,"-list"),!0),ne(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(q.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:y},v)},e}return t=i,(n=[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.listType,r=t.items,a=t.previewFile;"picture"!==n&&"picture-card"!==n||(r||[]).forEach((function(t){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",a&&a(t.originFileObj).then((function(n){t.thumbUrl=n||"",e.forceUpdate()})))}))}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUploadList)}}])&&oe(t.prototype,n),a&&oe(t,a),i}(r.Component);ue.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Y(e.type)){var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),a=new Image;a.onload=function(){var e=a.width,o=a.height,i=200,l=200,s=0,c=0;e<o?c=-((l=o*(200/e))-i)/2:s=-((i=e*(200/o))-l)/2,r.drawImage(a,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},a.src=window.URL.createObjectURL(e)}else t("")}))}};var fe=n("YMnH"),pe=n("ZvpZ"),de=n("6CfX");function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(){return(ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=we(e);if(t){var a=we(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ee(this,n)}}function Ee(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _e=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(i,e);var t,n,a,o=be(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=G(e);r.status="uploading";var a=n.concat(),o=K()(a,(function(e){return e.uid===r.uid}));-1===o?a.push(r):a[o]=r,t.onChange({file:r,fileList:a}),window.File&&!Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).TEST_IE||t.autoUpdateProgress(0,r)},t.onSuccess=function(e,n,r){t.clearProgressTimer();try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var a=t.state.fileList,o=Q(n,a);o&&(o.status="done",o.response=e,o.xhr=r,t.onChange({file:ve({},o),fileList:a}))},t.onProgress=function(e,n){var r=t.state.fileList,a=Q(n,r);a&&(a.percent=e.percent,t.onChange({event:e,file:ve({},a),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var a=t.state.fileList,o=Q(r,a);o&&(o.error=e,o.response=n,o.status="error",t.onChange({file:ve({},o),fileList:a}))},t.handleRemove=function(e){var n=t.props.onRemove,r=t.state.fileList;Promise.resolve("function"==typeof n?n(e):n).then((function(n){if(!1!==n){var a=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,r);a&&(e.status="removed",t.upload&&t.upload.abort(e),t.onChange({file:e,fileList:a}))}}))},t.onChange=function(e){"fileList"in t.props||t.setState({fileList:e.fileList});var n=t.props.onChange;n&&n(e)},t.onFileDrop=function(e){t.setState({dragState:e.type})},t.beforeUpload=function(e,n){var r=t.props.beforeUpload,a=t.state.fileList;if(!r)return!0;var o=r(e,n);return!1===o?(t.onChange({file:e,fileList:H()(a.concat(n.map(G)),(function(e){return e.uid}))}),!1):!o||!o.then||o},t.renderUploadList=function(e){var n=t.props,a=n.showUploadList,o=n.listType,i=n.onPreview,l=n.onDownload,s=n.previewFile,c=n.disabled,u=n.locale,f=a.showRemoveIcon,p=a.showPreviewIcon,d=a.showDownloadIcon,m=t.state.fileList;return r.createElement(ue,{listType:o,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:ve(ve({},e),u)})},t.renderUpload=function(e){var n,a=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.className,s=o.showUploadList,c=o.listType,u=o.type,f=o.disabled,p=o.children,d=o.style,m=t.state,h=m.fileList,v=m.dragState,y=a("upload",i),g=ve(ve({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete g.className,delete g.style,p&&!f||delete g.id;var b=s?r.createElement(fe.a,{componentName:"Upload",defaultLocale:pe.a.Upload},t.renderUploadList):null;if("drag"===u){var E,_=w()(y,(he(E={},"".concat(y,"-drag"),!0),he(E,"".concat(y,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),he(E,"".concat(y,"-drag-hover"),"dragover"===v),he(E,"".concat(y,"-disabled"),f),E),l);return r.createElement("span",null,r.createElement("div",{className:_,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(B,ve({},g,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),b)}var C=w()(y,(he(n={},"".concat(y,"-select"),!0),he(n,"".concat(y,"-select-").concat(c),!0),he(n,"".concat(y,"-disabled"),f),n)),x=r.createElement("div",{className:C,style:p?void 0:{display:"none"}},r.createElement(B,ve({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:w()(l,"".concat(y,"-picture-card-wrapper"))},b,x):r.createElement("span",{className:l},x,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(de.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return t=i,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(n=[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"autoUpdateProgress",value:function(e,t){var n,r=this,a=(n=.1,function(e){var t=e;return t>=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),o=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){o=a(o),r.onProgress({percent:100*o},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&ye(t.prototype,n),a&&ye(t,a),i}(r.Component);_e.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(o.polyfill)(_e);var Ce=_e;function xe(e){return(xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(){return(Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=je(e);if(t){var a=je(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Te(this,n)}}function Te(e,t){return!t||"object"!==xe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function je(e){return(je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Ae=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Se(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.style,n=e.height,a=Re(e,["style","height"]);return r.createElement(Ce,Oe({},a,{type:"drag",style:Oe(Oe({},t),{height:n})}))}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Ce.Dragger=Ae;t.default=Ce},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("CtXQ")),a=p(n("2/Rp")),o=p(n("8z0m")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("2oDE"),n("L/Qf"),n("7W5+");var s=n("q1tI"),c=p(s),u=n("sYIF"),f=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Dragger,m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.checkInitFile()},n.componentDidUpdate=function(e){e&&e.fileList!==n.props.fileList&&n.checkInitFile()},n.checkInitFile=function(){var e=n.props.fileList;e&&e.length>0&&n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(e)})},n.onAttachmentRemove=function(e){if(!e.percent||100===e.percent)return n.deleteAttachment(e),!1},n.deleteAttachment=function(e){var t="/attachments/"+(e.response?e.response.id:e.uid)+".json";f.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),r=t.fileList.slice();return r.splice(n,1),{fileList:r}})),n.fileIdList(n.state.fileList)):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.handleChange=function(e){var t=n.props.changeIsComplete;if(t&&t(!0),"uploading"===e.file.status||"done"===e.file.status||"removed"===e.file.status){var r=e.fileList;n.setState({fileList:(0,u.appendFileSizeToUploadFileAll)(r)}),n.fileIdList(r)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&(e.response.id||e.response.data&&e.response.data.id))})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024<t;return r||n.props.showNotification("文件大小必须小于"+t+"MB!"),r},n.state={fileList:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,l=e.btn,s=e.className,f=e.size,p=e.actionUrl,m=this.state.fileList,h={name:"file",fileList:!0===t?m:void 0,action:p||""+(0,u.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return l?c.default.createElement(o.default,i({},h,{className:s}),c.default.createElement(a.default,{type:"default"},"上传文件"),c.default.createElement("span",{className:"ml10 color-grey-9"},"(你可以上传小于",c.default.createElement("span",{className:"color-red"},f,"MB"),"的文件)")):c.default.createElement(d,i({},h,{className:s}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-16 color-grey-3"},"拖动文件或点击此处上传"))}}]),t}(s.Component);t.default=m},CZoQ:function(e,t){e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}},LGYb:function(e,t,n){var r=n("1hJj"),a=n("jbM+"),o=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),s=n("rEGp");e.exports=function(e,t,n){var c=-1,u=a,f=e.length,p=!0,d=[],m=d;if(n)p=!1,u=o;else if(f>=200){var h=t?null:l(e);if(h)return s(h);p=!1,u=i,m=new r}else m=t?[]:d;e:for(;++c<f;){var v=e[c],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var g=m.length;g--;)if(m[g]===y)continue e;t&&m.push(y),d.push(v)}else u(m,y,n)||(m!==d&&m.push(y),d.push(v))}return d}},LXko:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("74dF"),n("vAZS"),n("04bd"),n("YQTV"),n("4t1q")},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),a=p(n("W9HT")),o=p(n("NJEC")),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),s=p(l),c=n("eO8H"),u=p(n("vDqi")),f=p(n("UQ5L"));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){n.setState({canDelete:n.props.canDelete})},n.show_video_modal=function(e){n.setState({video_title:e.title,move_spin:!0,video_id:e.id}),n.move_attachment(e.id,"preview")},n.hide_video_modal=function(){var e=n.state.video_id;n.setState({video_title:void 0}),n.move_attachment(e,"close")},n.move_attachment=function(e,t){u.default.post("/attachments/"+e+"/preview_attachment",{status:t}).then((function(e){e?n.setState({show_video:"preview"===t,video_url:"preview"===t?"https://forgeplus.trustie.net"+e.data.url:void 0,move_spin:!1}):n.setState({move_spin:!1})})).catch((function(e){n.setState({move_spin:!1}),console.log(e)}))},n.is_video=function(e){return["mp4","flv","mkv","3gp"].indexOf(e.split(".").pop())>-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState({Deleted:n.state.Deleted.concat(e)}),n.props.showNotification("附件删除成功")):n.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))},n.state={canDelete:!1,show_video:!1,video_url:void 0,video_title:void 0,video_id:void 0,move_spin:!1,Deleted:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,i=t.canDelete,l=t.show_video,u=t.video_url,p=t.video_title,d=t.move_spin,m=this.props.attachments;return s.default.createElement("div",null,m?s.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,r){return s.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},s.default.createElement(a.default,{spinning:d},e.is_video(t.title)?s.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)):s.default.createElement(c.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},s.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),s.default.createElement("span",null,t.title),s.default.createElement("span",{className:"ml20"},t.filesize)),i?s.default.createElement(o.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},s.default.createElement("span",{className:"attachment-list-delete fr"},s.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?s.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},s.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("VCL8"),o=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(f,e);var t,n,a,i=h(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=i.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(y(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(y(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,n){var a=t.props,o=a.okButtonProps,i=a.cancelButtonProps,s=a.title,c=a.cancelText,u=a.okText,f=a.okType,d=a.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},d,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},o),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.placement,u=b(a,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(o.default,p({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return t=f,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(n=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var n=this.props;"visible"in n||this.setState({visible:e});var r=n.onVisibleChange;r&&r(e,t)}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderConfirm)}}])&&d(t.prototype,n),a&&d(t,a),f}(r.Component);E.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(a.polyfill)(E),t.default=E},OQrj:function(e,t,n){},"R/W3":function(e,t,n){var r=n("KwMD"),a=n("2ajD"),o=n("CZoQ");e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,a,n)}},R3zJ:function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=function(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},a=r(["flex","webkitFlex","Flex","msFlex"]);t.a=r},SJMd:function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],r=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],a=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],o=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],i=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",s=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],f=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,r,a){if(n){var o={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(o),a.push.apply(a,o.decorations)}}var d=/\S/;function m(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&d.test(n.nodeValue)?e:t}return t===e?void 0:t}function h(e,t){var n,r={};!function(){for(var a=e.concat(t),o=[],i={},l=0,s=a.length;l<s;++l){var c=a[l],u=c[3];if(u)for(var f=u.length;--f>=0;)r[u.charAt(f)]=c;var p=c[1],d=""+p;i.hasOwnProperty(d)||(o.push(p),i[d]=null)}o.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,a=0,o=e.length;a<o;++a){if((p=e[a]).ignoreCase)r=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var i={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=i[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function s(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],a=["["];r&&a.push("^");for(var o=r?1:0,i=t.length;o<i;++o){var c=t[o];if(/\\[bdsw]/i.test(c))a.push(c);else{var u,f=l(c);o+2<i&&"-"===t[o+1]?(u=l(t[o+2]),o+=2):u=f,n.push([f,u]),u<65||f>122||(u<65||f>90||n.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||n.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],d=[];for(o=0;o<n.length;++o){(m=n[o])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(o=0;o<p.length;++o){var m=p[o];a.push(s(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&a.push("-"),a.push(s(m[1])))}return a.push("]"),a.join("")}function u(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),a=r.length,o=[],i=0,l=0;i<a;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?o[u]=-1:r[i]=s(u))}}for(i=1;i<o.length;++i)-1===o[i]&&(o[i]=++t);for(i=0,l=0;i<a;++i){if("("===(f=r[i]))o[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+o[u])}}for(i=0;i<a;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<a;++i){var f,p=(f=r[i]).charAt(0);f.length>=2&&"["===p?r[i]=c(f):"\\"!==p&&(r[i]=f.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var f=[];for(a=0,o=e.length;a<o;++a){var p;if((p=e[a]).global||p.multiline)throw new Error(""+p);f.push("(?:"+u(p)+")")}return new RegExp(f.join("|"),r?"gi":"g")}(o)}();var a=t.length,o=function(e){for(var i=e.sourceCode,l=e.basePos,s=e.sourceNode,c=[l,"pln"],u=0,f=i.match(n)||[],d={},m=0,h=f.length;m<h;++m){var v,y=f[m],g=d[y],b=void 0;if("string"==typeof g)v=!1;else{var E=r[y.charAt(0)];if(E)b=y.match(E[1]),g=E[0];else{for(var _=0;_<a;++_)if(E=t[_],b=y.match(E[1])){g=E[0];break}b||(g="pln")}!(v=g.length>=5&&"lang-"===g.substring(0,5))||b&&"string"==typeof b[1]||(v=!1,g="src"),v||(d[y]=g)}var C=u;if(u+=y.length,v){var x=b[1],O=y.indexOf(x),S=O+x.length;b[2]&&(O=(S=y.length-b[2].length)-x.length);var N=g.substring(5);p(s,l+C,y.substring(0,O),o,c),p(s,l+C+O,x,w(N,x),c),p(s,l+C+S,y.substring(S),o,c)}else c.push(l+C,g)}e.decorations=c};return o}function v(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e.hashComments;r&&(e.cStyleComments?(r>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var a=e.regexLiterals;if(a){var o=a>1?"":"\n\r",i=o?".":"[\\S\\s]",l="/(?=[^/*"+o+"])(?:[^/\\x5B\\x5C"+o+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+o+"]|\\x5C"+i+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var s=e.types;s&&n.push(["typ",s]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(u+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(u),null]),h(t,n)}var y=v({keywords:[r,o,a,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,a=/\r\n?|\n/,o=e.ownerDocument,i=o.createElement("li");e.firstChild;)i.appendChild(e.firstChild);var l=[i];function s(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var i=e.nodeValue,l=i.match(a);if(l){var u=i.substring(0,l.index);e.nodeValue=u;var f=i.substring(l.index+l[0].length);if(f)e.parentNode.insertBefore(o.createTextNode(f),e.nextSibling);c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)s(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var r=n?t.cloneNode(!1):t,a=t.parentNode;if(a){var o=e(a,1),i=t.nextSibling;o.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,o.appendChild(l)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var u=0;u<l.length;++u)s(l[u]);t===(0|t)&&l[0].setAttribute("value",t);var f=o.createElement("ol");f.className="linenums";for(var p=Math.max(0,t-1|0)||0,d=(u=0,l.length);u<d;++u)(i=l[u]).className="L"+(u+p)%10,i.firstChild||i.appendChild(o.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function E(t,n){for(var r=n.length;--r>=0;){var a=n[r];b.hasOwnProperty(a)?e.console&&console.warn("cannot override language handler %s",a):b[a]=t}}function w(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function _(t){var n,r,a,o,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,a=/(?:^|\s)nocode(?:\s|$)/,o=[],i=0,l=[],s=0,function e(t){var n=t.nodeType;if(1==n){if(a.test(t.className))return;for(var c=t.firstChild;c;c=c.nextSibling)e(c);var u=t.nodeName.toLowerCase();"br"!==u&&"li"!==u||(o[s]="\n",l[s<<1]=i++,l[s++<<1|1]=t)}else if(3==n||4==n){var f=t.nodeValue;f.length&&(f=r?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),o[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:o.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,w(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,a=/\n/g,o=e.sourceCode,i=o.length,l=0,s=e.spans,c=s.length,u=0,f=e.decorations,p=f.length,d=0;for(f[p]=i,r=n=0;r<p;)f[r]!==f[r+2]?(f[n++]=f[r++],f[n++]=f[r++]):r+=2;for(p=n,r=n=0;r<p;){for(var m=f[r],h=f[r+1],v=r+2;v+2<=p&&f[v+1]===h;)v+=2;f[n++]=m,f[n++]=h,r=v}p=f.length=n;var y=e.sourceNode,g="";y&&(g=y.style.display,y.style.display="none");try{for(;u<c;){s[u];var b,E=s[u+2]||i,w=f[d+2]||i,_=(v=Math.min(E,w),s[u+1]);if(1!==_.nodeType&&(b=o.substring(l,v))){t&&(b=b.replace(a,"\r")),_.nodeValue=b;var C=_.ownerDocument,x=C.createElement("span");x.className=f[d+1];var O=_.parentNode;O.replaceChild(x,_),x.appendChild(_),l<E&&(s[u+1]=_=C.createTextNode(o.substring(v,E)),O.insertBefore(_,x.nextSibling))}(l=v)>=E&&(u+=2),l>=w&&(d+=2)}}finally{y&&(y.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function C(e,t,n){var r=n||!1,a=t||null,o=document.createElement("div");return o.innerHTML="<pre>"+e+"</pre>",o=o.firstChild,r&&g(o,r,!0),_({langExtension:a,numberLines:r,sourceNode:o,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),o.innerHTML}function x(t,n){var r=n||document.body,a=r.ownerDocument||document;function o(e){return r.getElementsByTagName(e)}for(var i=[o("pre"),o("code"),o("xmp")],l=[],s=0;s<i.length;++s)for(var c=0,u=i[s].length;c<u;++c)l.push(i[s][c]);i=null;var f=Date;f.now||(f={now:function(){return+new Date}});var p=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,v=/\bprettyprinted\b/,y=/pre|xmp/i,b=/^code$/i,E=/^(?:pre|code|xmp)$/i,w={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var o=l[p],i=w,s=o;s=s.previousSibling;){var c=s.nodeType,u=(7===c||8===c)&&s.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(s.nodeValue))break;if(u){i={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){i[t]=n}));break}}var C=o.className;if((i!==w||h.test(C))&&!v.test(C)){for(var x=!1,O=o.parentNode;O;O=O.parentNode){var S=O.tagName;if(E.test(S)&&O.className&&h.test(O.className)){x=!0;break}}if(!x){o.className+=" prettyprinted";var N,k,P=i.lang;if(!P)!(P=C.match(d))&&(N=m(o))&&b.test(N.tagName)&&(P=N.className.match(d)),P&&(P=P[1]);if(y.test(o.tagName))k=1;else{var T=o.currentStyle,j=a.defaultView,R=T?T.whiteSpace:j&&j.getComputedStyle?j.getComputedStyle(o,null).getPropertyValue("white-space"):0;k=R&&"pre"===R.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=C.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(o,A,k),_({langExtension:P,sourceNode:o,numberLines:A,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}E(y,["default-code"]),E(h([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),E(h([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),E(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),E(v({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),E(v({keywords:"null,true,false"}),["json"]),E(v({keywords:o,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),E(v({keywords:a,cStyleComments:!0}),["java"]),E(v({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),E(v({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),E(v({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),E(v({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),E(v({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),E(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),E(h([],[["str",/^[\s\S]+/]]),["regex"]);var O=e.PR={createSimpleLexer:h,registerLangHandler:E,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:C,prettyPrint:x},S=e.define;"function"==typeof S&&S.amd&&S("google-code-prettify",[],(function(){return O}))}()},SqvK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n("Vl3Y")),a=y(n("W9HT")),o=y(n("NJEC")),i=y(n("mr32")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("tULf"),n("04bd"),n("k994"),n("0lcf");var c=n("q1tI"),u=y(c),f=n("eO8H"),p=y(n("vDqi")),d=n("sYIF"),m=y(n("LZ3y")),h=y(n("bjH3")),v=y(n("dIAb"));function y(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getDetail()},n.getDetail=function(){var e=n.props.match.params,t=e.projectsId,r=e.orderId,a="/"+e.owner+"/"+t+"/issues/"+r+".json";p.default.get(a).then((function(e){e&&n.setState({data:e.data,isSpins:!1})})).catch((function(e){console.log(e)}))},n.handleok=function(){n.setState({isShow:!1})},n.handleCancel=function(){n.setState({isShow:!1})},n.deletedetail=function(e){var t=n.props.match.params,r=t.projectsId,a=t.orderId,o=t.owner,i="/"+o+"/"+r+"/issues/"+a+".json";p.default.delete(i,{data:{project_id:r,id:e}}).then((function(e){e&&n.props.history.push("/"+o+"/"+r+"/issues")})).catch((function(e){console.log(e)}))},n.closedetail=function(e){var t=n.props.match.params,r=t.projectsId,a=t.orderId,o="/"+t.owner+"/"+r+"/issues/"+a+"/close_issue.json";p.default.post(o,{project_id:r,id:a,status_id:e}).then((function(e){e&&n.getDetail()})).catch((function(e){console.log(e)}))},n.editdetail=function(e,t){n.setState({countvalue:n.stringJson(e),isedit:t})},n.copydetail=function(){var e=n.props.match.params,t=e.projectsId,r=e.orderId,a=e.owner;n.props.history.push("/"+a+"/"+t+"/issues/"+r+"/copyetail")},n.ChangePage=function(e){n.setState({page:e,isSpins:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.handleShowImage=function(e){n.setState({imageUrl:e,visible:!0})},n.setVisible=function(e){n.setState({visible:e})},n.stringJson=function(e){var t=null;try{t=JSON.parse(e)}catch(n){t=e}return t},n.commentCtx=function(e){return u.default.createElement(h.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.state={data:void 0,isShow:!1,imgsrc:"",journalsdata:void 0,display:"none",titledisplay:"none",countvalue:"",isedit:void 0,fileList:void 0,limit:10,page:1,search_count:void 0,isSpins:!0,showFiles:!0,quillValue:"",quillFlag:!1,imageUrl:void 0,visible:!1,journal_spin:!1,edit_spin:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e,t=this,n=this.props.match.params,r=n.projectsId,s=n.orderId,c=n.owner,p=this.state,h=p.data,y=p.isSpins;return u.default.createElement(a.default,{spinning:y},u.default.createElement("div",{className:"ProjectListIndex"},u.default.createElement("div",{className:"item-list-right"},u.default.createElement("div",{className:"background-f boder-4"},u.default.createElement("div",{className:"grid-item border-1f pd20 "},u.default.createElement(f.Link,{to:"/"+(h&&h.author_login),className:"show-user-link"},u.default.createElement("img",{className:"user_img",src:(0,d.getImageUrl)("/"+(h&&h.author_picture)),alt:"",width:"50",height:"50"})),u.default.createElement("div",{className:"ml10"},u.default.createElement("div",{className:"ver-middle"},u.default.createElement("span",{className:"mr10 ver-middle"},u.default.createElement("span",{className:"font-16"},"【",h&&"issue"===h.issue_classify?h.tracker?h.tracker:"缺陷":"合并请求","】"),u.default.createElement("span",{className:"font-16 fwb"},h&&h.subject)),h&&h.priority&&u.default.createElement(i.default,{color:(e=h.priority,"高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c")},h.priority)),u.default.createElement("div",{className:"mt10"},u.default.createElement("span",{className:"color-grey-9 mr5"},"由"),u.default.createElement(f.Link,{to:"/"+(h&&h.author_login),className:"show-user-link color-blue"},h&&h.author_name),u.default.createElement("span",{className:"color-grey-9 ml5"},"添加于 ",h&&h.created_at),h&&h.user_permission?u.default.createElement("span",{className:"pull-right 123123"},u.default.createElement("a",{className:"color-blue fr",onClick:this.copydetail},"复制"),u.default.createElement(o.default,{placement:"bottom",title:"您确定要删除吗",okText:"是",cancelText:"否",onConfirm:function(){return t.deletedetail(s)}},u.default.createElement("a",{className:"color-blue fr",style:{marginLeft:20,marginRight:20}},"删除")),u.default.createElement(f.Link,{to:"/"+c+"/"+r+"/issues/"+s+"/updatedetail",className:"color-blue fr"},"编辑")):""))),u.default.createElement("div",{className:"pd20"},u.default.createElement("div",{className:"detail_p"},h&&h.description&&h.description.length>0?this.commentCtx(h.description):u.default.createElement("span",{className:"color-grey-9 ml3 mr3"},"暂无描述")),h&&h.attachments&&h.attachments.length>0?u.default.createElement(m.default,{attachments:h.attachments,showNotification:this.props.showNotification}):"")),u.default.createElement(v.default,l({order_id:s,showNotification:this.props.showNotification},this.props))),u.default.createElement("div",{className:"list-left list-left-padding"},u.default.createElement("div",{className:"list-right-item-padding background-f boder-4"},u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"负责人:"),u.default.createElement("span",null,h&&h.assign_user_name?h.assign_user_name:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"标记:"),u.default.createElement("span",null,h&&h.issue_tags?u.default.createElement("span",{className:"grid-item"},u.default.createElement("span",{className:"tagColor",style:{background:h.issue_tags[0].color}}),h.issue_tags[0].name):"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"里程碑:"),u.default.createElement("span",{className:"title_overflow"},h&&h.version?h.version:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"状态:"),u.default.createElement("span",null,h&&h.issue_status?h.issue_status:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"分类:"),u.default.createElement("span",null,h&&h.tracker?h.tracker:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"开始日期:"),u.default.createElement("span",null,h&&h.start_date?h.start_date:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"结束日期:"),u.default.createElement("span",null,h&&h.due_date?h.due_date:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"完成度:"),u.default.createElement("span",null,h&&h.done_ratio?h.done_ratio:"--")),u.default.createElement("p",{className:"grid-item-left pb15"},u.default.createElement("span",{className:"issue_detail_info"},"分支:"),u.default.createElement("span",null,h&&h.branch_name?h.branch_name:"--"))))))}}]),t}(c.Component),b=r.default.create({name:"DetailOrderForm"})(g);t.default=b},Sxd8:function(e,t,n){var r=n("ZCgT");e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},UQ5L:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n("q1tI"),o=l(a),i=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,a.useState)(null),n=r(t,2),l=n[0],s=n[1];return(0,a.useEffect)((function(){s(e.video_url)}),[]),o.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),a=n("ut/Y"),o=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:o(n);return s<0&&(s=i(l+s,0)),r(e,a(t,3),s)}},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return M}));var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),i=n.n(o),l=n("BGR+"),s=n("W9HT"),c=n("H84U"),u=n("NUBc"),f=n("qrJ5"),p=n("/kpp");function d(e){if(!r.isValidElement(e))return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return r.cloneElement.apply(r,[e].concat(n))}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var a=w(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function x(e,t){return e[t]&&Math.floor(24/e[t])}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(l,e);var t,n,a,o=b(l);function l(){var e;return v(this,l),(e=o.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,a=e.context,o=a.grid,l=a.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,v=s.className,y=C(s,["prefixCls","children","actions","extra","className"]),g=n("list",c),b=f&&f.length>0&&r.createElement("ul",{className:"".concat(g,"-item-action"),key:"actions"},f.map((function(e,t){return r.createElement("li",{key:"".concat(g,"-item-action-").concat(t)},e,t!==f.length-1&&r.createElement("em",{className:"".concat(g,"-item-action-split")}))}))),E=o?"div":"li",w=r.createElement(E,_({},y,{className:i()("".concat(g,"-item"),v,h({},"".concat(g,"-item-no-flex"),!e.isFlexMode()))}),"vertical"===l&&m?[r.createElement("div",{className:"".concat(g,"-item-main"),key:"content"},u,b),r.createElement("div",{className:"".concat(g,"-item-extra"),key:"extra"},m)]:[u,b,d(m,{key:"extra"})]);return o?r.createElement(p.a,{span:x(o,"column"),xs:x(o,"xs"),sm:x(o,"sm"),md:x(o,"md"),lg:x(o,"lg"),xl:x(o,"xl"),xxl:x(o,"xxl")},w):w},e}return t=l,(n=[{key:"isItemContainsTextNodeAndNotSingular",value:function(){var e,t=this.props.children;return r.Children.forEach(t,(function(t){"string"==typeof t&&(e=!0)})),e&&r.Children.count(t)>1}},{key:"isFlexMode",value:function(){var e=this.props.extra;return"vertical"===this.context.itemLayout?!!e:!this.isItemContainsTextNodeAndNotSingular()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderItem)}}])&&y(t.prototype,n),a&&y(t,a),l}(r.Component);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=D(e);if(t){var a=D(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return L(this,n)}}function L(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}O.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,a=e.prefixCls,o=e.className,l=e.avatar,s=e.title,c=e.description,u=C(e,["prefixCls","className","avatar","title","description"]),f=n("list",a),p=i()("".concat(f,"-item-meta"),o),d=r.createElement("div",{className:"".concat(f,"-item-meta-content")},s&&r.createElement("h4",{className:"".concat(f,"-item-meta-title")},s),c&&r.createElement("div",{className:"".concat(f,"-item-meta-description")},c));return r.createElement("div",_({},u,{className:p}),l&&r.createElement("div",{className:"".concat(f,"-item-meta-avatar")},l),(s||c)&&d)}))},O.contextTypes={grid:a.any,itemLayout:a.string};var I=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(p,e);var t,n,a,o=A(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=o.call(this,e)).defaultPaginationProps={current:1,total:0},t.keys={},t.onPaginationChange=t.triggerPaginationEvent("onChange"),t.onPaginationShowSizeChange=t.triggerPaginationEvent("onShowSizeChange"),t.renderItem=function(e,n){var r,a=t.props,o=a.renderItem,i=a.rowKey;return o?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,o(e,n)):null},t.renderEmpty=function(e,n){var a=t.props.locale;return r.createElement("div",{className:"".concat(e,"-empty-text")},a&&a.emptyText||n("List"))},t.renderList=function(e){var n,a=e.getPrefixCls,o=e.renderEmpty,c=t.state,p=c.paginationCurrent,d=c.paginationSize,m=t.props,h=m.prefixCls,v=m.bordered,y=m.split,g=m.className,b=m.children,E=m.itemLayout,w=m.loadMore,_=m.pagination,C=m.grid,x=m.dataSource,O=void 0===x?[]:x,S=m.size,k=m.header,j=m.footer,R=m.loading,A=I(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),L=a("list",h),D=R;"boolean"==typeof D&&(D={spinning:D});var M=D&&D.spinning,F="";switch(S){case"large":F="lg";break;case"small":F="sm"}var U=i()(L,g,(T(n={},"".concat(L,"-vertical"),"vertical"===E),T(n,"".concat(L,"-").concat(F),F),T(n,"".concat(L,"-split"),y),T(n,"".concat(L,"-bordered"),v),T(n,"".concat(L,"-loading"),M),T(n,"".concat(L,"-grid"),C),T(n,"".concat(L,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),B=P(P(P({},t.defaultPaginationProps),{total:O.length,current:p,pageSize:d}),_||{}),z=Math.ceil(B.total/B.pageSize);B.current>z&&(B.current=z);var H,W=_?r.createElement("div",{className:"".concat(L,"-pagination")},r.createElement(u.default,P({},B,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,K=N(O);if(_&&O.length>(B.current-1)*B.pageSize&&(K=N(O).splice((B.current-1)*B.pageSize,B.pageSize)),H=M&&r.createElement("div",{style:{minHeight:53}}),K.length>0){var q=K.map((function(e,n){return t.renderItem(e,n)})),V=[];r.Children.forEach(q,(function(e,n){V.push(r.cloneElement(e,{key:t.keys[n]}))})),H=C?r.createElement(f.a,{gutter:C.gutter},V):r.createElement("ul",{className:"".concat(L,"-items")},V)}else b||M||(H=t.renderEmpty(L,o));var G=B.position||"bottom";return r.createElement("div",P({className:U},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&W,k&&r.createElement("div",{className:"".concat(L,"-header")},k),r.createElement(s.default,D,H,b),j&&r.createElement("div",{className:"".concat(L,"-footer")},j),w||("bottom"===G||"both"===G)&&W)};var n=e.pagination,a=n&&"object"===S(n)?n:{};return t.state={paginationCurrent:a.defaultCurrent||1,paginationSize:a.defaultPageSize||10},t}return t=p,(n=[{key:"getChildContext",value:function(){return{grid:this.props.grid,itemLayout:this.props.itemLayout}}},{key:"triggerPaginationEvent",value:function(e){var t=this;return function(n,r){var a=t.props.pagination;t.setState({paginationCurrent:n,paginationSize:r}),a&&a[e]&&a[e](n,r)}}},{key:"isSomethingAfterLastItem",value:function(){var e=this.props,t=e.loadMore,n=e.pagination,r=e.footer;return!!(t||n||r)}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderList)}}])&&j(t.prototype,n),a&&j(t,a),p}(r.Component);M.Item=O,M.childContextTypes={grid:a.any,itemLayout:a.string},M.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},"Xt/L":function(e,t){e.exports=function(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}},ZCgT:function(e,t,n){var r=n("tLB3");e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ve}));var r=n("q1tI"),a=n.n(r),o=n("i8i4"),i=n("QbLZ"),l=n.n(i),s=n("YEIV"),c=n.n(s),u=n("jo6Y"),f=n.n(u),p=n("iCc5"),d=n.n(p),m=n("V7oC"),h=n.n(m),v=n("FYw3"),y=n.n(v),g=n("mRg0"),b=n.n(g),E=n("17x9"),w=n.n(E),_=n("TSYQ"),C=n.n(_),x=n("n1GQ"),O=n.n(x),S=n("VCL8"),N=37,k=38,P=39,T=40;function j(e){var t=[];return a.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function R(e,t){for(var n=j(e),r=0;r<n.length;r++)if(n[r].key===t)return r;return-1}function A(e,t){e.transform=t,e.webkitTransform=t,e.mozTransform=t}function L(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function D(e){return"left"===e||"right"===e}function I(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function M(e){return Object.keys(e).reduce((function(t,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})}function F(e,t){return+e.getPropertyValue(t).replace("px","")}function U(e,t,n,r,a){var o=I(a,"padding-"+e);if(!r||!r.parentNode)return o;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(a){var i=window.getComputedStyle(a);return a!==r?(o+=F(i,"margin-"+e),o+=a[t],o+=F(i,"margin-"+n),"content-box"===i.boxSizing&&(o+=F(i,"border-"+e+"-width")+F(i,"border-"+n+"-width")),!1):(o+=F(i,"margin-"+e),!0)})),o}var B=n("4IlW"),z=n("foW8"),H=n.n(z)()({}),W=H.Provider,K=H.Consumer,q={width:0,height:0,overflow:"hidden",position:"absolute"},V=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.onKeyDown=function(e){var t=e.target,n=e.which,a=e.shiftKey,o=r.props,i=o.nextElement,l=o.prevElement;n===B.a.TAB&&document.activeElement===t&&(!a&&i&&i.focus(),a&&l&&l.focus())},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props.setRef;return a.a.createElement("div",{tabIndex:0,ref:e,style:q,onKeyDown:this.onKeyDown,role:"presentation"})}}]),t}(a.a.Component);V.propTypes={setRef:w.a.func,prevElement:w.a.object,nextElement:w.a.object};var G=V,Q=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e,t=this.props,n=t.id,r=t.className,o=t.destroyInactiveTabPane,i=t.active,s=t.forceRender,u=t.rootPrefixCls,p=t.style,d=t.children,m=t.placeholder,h=f()(t,["id","className","destroyInactiveTabPane","active","forceRender","rootPrefixCls","style","children","placeholder"]);this._isActived=this._isActived||i;var v=u+"-tabpane",y=C()((e={},c()(e,v,1),c()(e,v+"-inactive",!i),c()(e,v+"-active",i),c()(e,r,r),e)),g=(o?i:this._isActived)||s;return a.a.createElement(K,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,o=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=a.a.createElement(G,{setRef:o,prevElement:t}),u=a.a.createElement(G,{setRef:s,nextElement:r})),a.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:y,id:n},M(h)),c,g?d:m,u)}))}}]),t}(a.a.Component),Y=Q;function J(e){var t=void 0;return a.a.Children.forEach(e.children,(function(e){!e||t||e.props.disabled||(t=e.key)})),t}Q.propTypes={className:w.a.string,active:w.a.bool,style:w.a.any,destroyInactiveTabPane:w.a.bool,forceRender:w.a.bool,placeholder:w.a.node,rootPrefixCls:w.a.string,children:w.a.node,id:w.a.string},Q.defaultProps={placeholder:null};var X=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));Z.call(n);var r=void 0;return r="activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:J(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,O.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(O.a.cancel(this.sentinelId),this.sentinelId=O()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,o=t.tabBarPosition,i=t.className,s=t.renderTabContent,u=t.renderTabBar,p=t.destroyInactiveTabPane,d=t.direction,m=f()(t,["prefixCls","navWrapper","tabBarPosition","className","renderTabContent","renderTabBar","destroyInactiveTabPane","direction"]),h=C()((e={},c()(e,n,1),c()(e,n+"-"+o,1),c()(e,i,!!i),c()(e,n+"-rtl","rtl"===d),e));this.tabBar=u();var v=a.a.cloneElement(this.tabBar,{prefixCls:n,navWrapper:r,key:"tabBar",onKeyDown:this.onNavKeyDown,tabBarPosition:o,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),y=a.a.cloneElement(s(),{prefixCls:n,tabBarPosition:o,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=a.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=a.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),E=[];return"bottom"===o?E.push(g,y,b,v):E.push(v,g,y,b),a.a.createElement(W,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},a.a.createElement("div",l()({className:h,style:t.style},M(m),{onScroll:this.onScroll}),E))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"activeKey"in e?n.activeKey=e.activeKey:function(e,t){return a.a.Children.map(e.children,(function(e){return e&&e.key})).indexOf(t)>=0}(e,t.activeKey)||(n.activeKey=J(e)),Object.keys(n).length>0?n:null}}]),t}(a.a.Component),Z=function(){var e=this;this.onTabClick=function(t,n){e.tabBar.props.onTabClick&&e.tabBar.props.onTabClick(t,n),e.setActiveKey(t)},this.onNavKeyDown=function(t){var n=t.keyCode;if(n===P||n===T){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===N||n===k){t.preventDefault();var a=e.getNextActiveKey(!1);e.onTabClick(a)}},this.onScroll=function(e){var t=e.target;t===e.currentTarget&&t.scrollLeft>0&&(t.scrollLeft=0)},this.setSentinelStart=function(t){e.sentinelStart=t},this.setSentinelEnd=function(t){e.sentinelEnd=t},this.setPanelSentinelStart=function(t){t!==e.panelSentinelStart&&e.updateSentinelContext(),e.panelSentinelStart=t},this.setPanelSentinelEnd=function(t){t!==e.panelSentinelEnd&&e.updateSentinelContext(),e.panelSentinelEnd=t},this.setActiveKey=function(t){e.state.activeKey!==t&&("activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(t))},this.getNextActiveKey=function(t){var n=e.state.activeKey,r=[];a.a.Children.forEach(e.props.children,(function(e){e&&!e.props.disabled&&(t?r.push(e):r.unshift(e))}));var o=r.length,i=o&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===o-1?r[0].key:r[t+1].key)})),i}};X.propTypes={destroyInactiveTabPane:w.a.bool,renderTabBar:w.a.func.isRequired,renderTabContent:w.a.func.isRequired,navWrapper:w.a.func,onChange:w.a.func,children:w.a.node,prefixCls:w.a.string,className:w.a.string,tabBarPosition:w.a.string,style:w.a.object,activeKey:w.a.string,defaultActiveKey:w.a.string,direction:w.a.string},X.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},X.TabPane=Y,Object(S.polyfill)(X);var $=X,ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"getTabPanes",value:function(){var e=this.props,t=e.activeKey,n=e.children,r=[];return a.a.Children.forEach(n,(function(n){if(n){var o=n.key,i=t===o;r.push(a.a.cloneElement(n,{active:i,destroyInactiveTabPane:e.destroyInactiveTabPane,rootPrefixCls:e.prefixCls}))}})),r}},{key:"render",value:function(){var e,t,n=this.props,r=n.prefixCls,o=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=C()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var v=R(o,i);if(-1!==v){var y=p?function(e,t){var n=D(t)?"marginTop":"marginLeft";return c()({},n,100*-e+"%")}(v,u):{transform:t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=D(t)?"translateY":"translateX";return D(t)||"rtl"!==n?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(v,u,d),WebkitTransform:t,MozTransform:t};m=l()({},m,y)}else m=l()({},m,{display:"none"})}return a.a.createElement("div",{className:h,style:m},this.getTabPanes())}}]),t}(a.a.Component),te=ee;ee.propTypes={animated:w.a.bool,animatedWithMargin:w.a.bool,prefixCls:w.a.string,children:w.a.node,activeKey:w.a.string,style:w.a.any,tabBarPosition:w.a.string,className:w.a.string,destroyInactiveTabPane:w.a.bool,direction:w.a.string},ee.defaultProps={animated:!0};var ne=$,re=n("BGR+");function ae(e,t){var n=e.props,r=n.styles,a=n.panels,o=n.activeKey,i=n.direction,l=e.props.getRef("root"),s=e.props.getRef("nav")||l,c=e.props.getRef("inkBar"),u=e.props.getRef("activeTab"),f=c.style,p=e.props.tabBarPosition,d=R(a,o);if(t&&(f.display="none"),u){var m=u,h=L(f);if(A(f,""),f.width="",f.height="",f.left="",f.top="",f.bottom="",f.right="","top"===p||"bottom"===p){var v=function(e,t){return U("left","offsetWidth","right",e,t)}(m,s),y=m.offsetWidth;y===l.offsetWidth?y=0:r.inkBar&&void 0!==r.inkBar.width&&(y=parseFloat(r.inkBar.width,10))&&(v+=(m.offsetWidth-y)/2),"rtl"===i&&(v=I(m,"margin-left")-v),h?A(f,"translate3d("+v+"px,0,0)"):f.left=v+"px",f.width=y+"px"}else{var g=function(e,t){return U("top","offsetHeight","bottom",e,t)}(m,s),b=m.offsetHeight;r.inkBar&&void 0!==r.inkBar.height&&(b=parseFloat(r.inkBar.height,10))&&(g+=(m.offsetHeight-b)/2),h?(A(f,"translate3d(0,"+g+"px,0)"),f.top="0"):f.top=g+"px",f.height=b+"px"}}f.display=-1!==d?"block":"none"}var oe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.timeout=setTimeout((function(){ae(e,!0)}),0)}},{key:"componentDidUpdate",value:function(){ae(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.styles,o=t.inkBarAnimated,i=n+"-ink-bar",l=C()((e={},c()(e,i,!0),c()(e,o?i+"-animated":i+"-no-animated",!0),e));return a.a.createElement("div",{style:r.inkBar,className:l,key:"inkBar",ref:this.props.saveRef("inkBar")})}}]),t}(a.a.Component),ie=oe;oe.propTypes={prefixCls:w.a.string,styles:w.a.object,inkBarAnimated:w.a.bool,saveRef:w.a.func,direction:w.a.string},oe.defaultProps={prefixCls:"",inkBarAnimated:!0,styles:{},saveRef:function(){}};var le=n("2W6z"),se=n.n(le),ce=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.panels,r=t.activeKey,o=t.prefixCls,i=t.tabBarGutter,s=t.saveRef,u=t.tabBarPosition,f=t.renderTabBarNode,p=t.direction,d=[];return a.a.Children.forEach(n,(function(t,m){if(t){var h=t.key,v=r===h?o+"-tab-active":"";v+=" "+o+"-tab";var y={};t.props.disabled?v+=" "+o+"-tab-disabled":y={onClick:e.props.onTabClick.bind(e,h)};var g={};r===h&&(g.ref=s("activeTab"));var b=i&&m===n.length-1?0:i,E="rtl"===p?"marginLeft":"marginRight",w=c()({},D(u)?"marginBottom":E,b);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var _=a.a.createElement("div",l()({role:"tab","aria-disabled":t.props.disabled?"true":"false","aria-selected":r===h?"true":"false"},y,{className:v,key:h,style:w},g),t.props.tab);f&&(_=f(_)),d.push(_)}})),a.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(a.a.Component),ue=ce;ce.propTypes={activeKey:w.a.string,panels:w.a.node,prefixCls:w.a.string,tabBarGutter:w.a.number,onTabClick:w.a.func,saveRef:w.a.func,renderTabBarNode:w.a.func,tabBarPosition:w.a.string,direction:w.a.string},ce.defaultProps={panels:[],prefixCls:[],tabBarGutter:null,onTabClick:function(){},saveRef:function(){}};var fe=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,o=e.className,i=e.extraContent,s=e.style,u=e.tabBarPosition,p=e.children,d=f()(e,["prefixCls","onKeyDown","className","extraContent","style","tabBarPosition","children"]),m=C()(t+"-bar",c()({},o,!!o)),h="top"===u||"bottom"===u,v=h?{float:"right"}:{},y=i&&i.props?i.props.style:{},g=p;return i&&(g=[Object(r.cloneElement)(i,{key:"extra",style:l()({},v,y)}),Object(r.cloneElement)(p,{key:"content"})],g=h?g:g.reverse()),a.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},M(d)),g)}}]),t}(a.a.Component),pe=fe;fe.propTypes={prefixCls:w.a.string,className:w.a.string,style:w.a.object,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),children:w.a.node,extraContent:w.a.node,onKeyDown:w.a.func,saveRef:w.a.func},fe.defaultProps={prefixCls:"",className:"",style:{},tabBarPosition:"top",extraContent:null,children:null,onKeyDown:function(){},saveRef:function(){}};var de=n("sEfC"),me=n.n(de),he=n("bdgK"),ve=function(e){function t(e){d()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.prevTransitionEnd=function(e){if("opacity"===e.propertyName){var t=n.props.getRef("container");n.scrollToActiveTab({target:t,currentTarget:t})}},n.scrollToActiveTab=function(e){var t=n.props.getRef("activeTab"),r=n.props.getRef("navWrap");if((!e||e.target===e.currentTarget)&&t){var a=n.isNextPrevShown()&&n.lastNextPrevShown;if(n.lastNextPrevShown=n.isNextPrevShown(),a){var o=n.getScrollWH(t),i=n.getOffsetWH(r),l=n.offset,s=n.getOffsetLT(r),c=n.getOffsetLT(t);s>c?(l+=s-c,n.setOffset(l)):s+i<c+o&&(l-=c+o-(s+i),n.setOffset(l))}}},n.prev=function(e){n.props.onPrevClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a+r)},n.next=function(e){n.props.onNextClick(e);var t=n.props.getRef("navWrap"),r=n.getOffsetWH(t),a=n.offset;n.setOffset(a-r)},n.offset=0,n.state={next:!1,prev:!1},n}return b()(t,e),h()(t,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),this.debouncedResize=me()((function(){e.setNextPrev(),e.scrollToActiveTab()}),200),this.resizeObserver=new he.default(this.debouncedResize),this.resizeObserver.observe(this.props.getRef("container"))}},{key:"componentDidUpdate",value:function(e){var t=this.props;if(e&&e.tabBarPosition!==t.tabBarPosition)this.setOffset(0);else{var n=this.setNextPrev();this.isNextPrevShown(this.state)!==this.isNextPrevShown(n)?this.setState({},this.scrollToActiveTab):e&&t.activeKey===e.activeKey||this.scrollToActiveTab()}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()}},{key:"setNextPrev",value:function(){var e=this.props.getRef("nav"),t=this.props.getRef("navTabsContainer"),n=this.getScrollWH(t||e),r=this.getOffsetWH(this.props.getRef("container"))+1,a=this.getOffsetWH(this.props.getRef("navWrap")),o=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),o=0;else if(i<o)s=!0;else{s=!1;var u=a-n;this.setOffset(u,!1),o=u}return c=o<0,this.setNext(s),this.setPrev(c),{next:s,prev:c}}},{key:"getOffsetWH",value:function(e){var t=this.props.tabBarPosition,n="offsetWidth";return"left"!==t&&"right"!==t||(n="offsetHeight"),e[n]}},{key:"getScrollWH",value:function(e){var t=this.props.tabBarPosition,n="scrollWidth";return"left"!==t&&"right"!==t||(n="scrollHeight"),e[n]}},{key:"getOffsetLT",value:function(e){var t=this.props.tabBarPosition,n="left";return"left"!==t&&"right"!==t||(n="top"),e.getBoundingClientRect()[n]}},{key:"setOffset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.min(0,e);if(this.offset!==n){this.offset=n;var r={},a=this.props.tabBarPosition,o=this.props.getRef("nav").style,i=L(o);"left"===a||"right"===a?r=i?{value:"translate3d(0,"+n+"px,0)"}:{name:"top",value:n+"px"}:i?("rtl"===this.props.direction&&(n=-n),r={value:"translate3d("+n+"px,0,0)"}):r={name:"left",value:n+"px"},i?A(o,r.value):o[r.name]=r.value,t&&this.setNextPrev()}}},{key:"setPrev",value:function(e){this.state.prev!==e&&this.setState({prev:e})}},{key:"setNext",value:function(e){this.state.next!==e&&this.setState({next:e})}},{key:"isNextPrevShown",value:function(e){return e?e.next||e.prev:this.state.next||this.state.prev}},{key:"render",value:function(){var e,t,n,r,o=this.state,i=o.next,l=o.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,v=a.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:C()((e={},c()(e,u+"-tab-prev",1),c()(e,u+"-tab-btn-disabled",!l),c()(e,u+"-tab-arrow-show",h),e)),onTransitionEnd:this.prevTransitionEnd},d||a.a.createElement("span",{className:u+"-tab-prev-icon"})),y=a.a.createElement("span",{onClick:i?this.next:null,unselectable:"unselectable",className:C()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||a.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=C()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return a.a.createElement("div",{className:C()((r={},c()(r,u+"-nav-container",1),c()(r,u+"-nav-container-scrolling",h),r)),key:"container",ref:this.props.saveRef("container")},v,y,a.a.createElement("div",{className:u+"-nav-wrap",ref:this.props.saveRef("navWrap")},a.a.createElement("div",{className:u+"-nav-scroll"},a.a.createElement("div",{className:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(a.a.Component),ye=ve;ve.propTypes={activeKey:w.a.string,getRef:w.a.func.isRequired,saveRef:w.a.func.isRequired,tabBarPosition:w.a.oneOf(["left","right","top","bottom"]),prefixCls:w.a.string,scrollAnimated:w.a.bool,onPrevClick:w.a.func,onNextClick:w.a.func,navWrapper:w.a.func,children:w.a.node,prevIcon:w.a.node,nextIcon:w.a.node,direction:w.a.node},ve.defaultProps={tabBarPosition:"left",prefixCls:"",scrollAnimated:!0,onPrevClick:function(){},onNextClick:function(){},navWrapper:function(e){return e}};var ge=function(e){function t(){var e,n,r,a;d()(this,t);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n=r=y()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.getRef=function(e){return r[e]},r.saveRef=function(e){return function(t){t&&(r[e]=t)}},a=n,y()(r,a)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(a.a.Component),be=ge;ge.propTypes={children:w.a.func},ge.defaultProps={children:function(){return null}};var Ee=function(e){function t(){return d()(this,t),y()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return a.a.createElement(be,null,(function(e,r){return a.a.createElement(pe,l()({saveRef:e},n),a.a.createElement(ye,l()({saveRef:e,getRef:r},n),a.a.createElement(ue,l()({saveRef:e,renderTabBarNode:t},n)),a.a.createElement(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(a.a.Component),we=Ee;Ee.propTypes={children:w.a.func};var _e=n("CtXQ");function Ce(){return(Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oe(e){return(Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=je(e);if(t){var a=je(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Te(this,n)}}function Te(e,t){return!t||"object"!==Oe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function je(e){return(je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ke(e,t)}(i,e);var t,n,a,o=Pe(i);function i(){return Se(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e,t,n=this.props,a=n.tabBarStyle,o=n.animated,i=n.renderTabBar,l=n.tabBarExtraContent,s=n.tabPosition,c=n.prefixCls,u=n.className,f=n.size,p=n.type,d="object"===Oe(o)?o.inkBar:o,m="left"===s||"right"===s,h=m?"up":"left",v=m?"down":"right",y=r.createElement("span",{className:"".concat(c,"-tab-prev-icon")},r.createElement(_e.default,{type:h,className:"".concat(c,"-tab-prev-icon-target")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(_e.default,{type:v,className:"".concat(c,"-tab-next-icon-target")})),b=C()("".concat(c,"-").concat(s,"-bar"),(xe(e={},"".concat(c,"-").concat(f,"-bar"),!!f),xe(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),E=Ce(Ce({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:a,prevIcon:y,nextIcon:g,className:b});return t=i?i(E,we):r.createElement(we,E),r.cloneElement(t)}}])&&Ne(t.prototype,n),a&&Ne(t,a),i}(r.Component);Re.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Le=n("6CfX"),De=n("R3zJ");function Ie(){return(Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ze(e,t){return(ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function He(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ke(e);if(t){var a=Ke(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return We(this,n)}}function We(e,t){return!t||"object"!==Fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ke(e){return(Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Ve=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ze(e,t)}(l,e);var t,n,a,i=He(l);function l(){var e;return Ue(this,l),(e=i.apply(this,arguments)).removeTab=function(t,n){if(n.stopPropagation(),t){var r=e.props.onEdit;r&&r(t,"remove")}},e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e.createNewTab=function(t){var n=e.props.onEdit;n&&n(t,"add")},e.renderTabs=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.className,s=void 0===l?"":l,c=o.size,u=o.type,f=void 0===u?"line":u,p=o.tabPosition,d=o.children,m=o.animated,h=void 0===m||m,v=o.hideAdd,y=e.props.tabBarExtraContent,g="object"===Fe(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Le.a)(!(f.indexOf("card")>=0&&("small"===c||"large"===c)),"Tabs","`type=card|editable-card` doesn't have small or large size, it's by design.");var b=a("tabs",i),E=C()(s,(Me(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Me(n,"".concat(b,"-").concat(c),!!c),Me(n,"".concat(b,"-card"),f.indexOf("card")>=0),Me(n,"".concat(b,"-").concat(f),!0),Me(n,"".concat(b,"-no-animation"),!g),n)),w=[];"editable-card"===f&&(w=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var a=t.props.closable,o=(a=void 0===a||a)?r.createElement(_e.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;w.push(r.cloneElement(t,{tab:r.createElement("div",{className:a?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,o),key:t.key||n}))})),v||(y=r.createElement("span",null,r.createElement(_e.default,{type:"plus",className:"".concat(b,"-new-tab"),onClick:e.createNewTab}),y))),y=y?r.createElement("div",{className:"".concat(b,"-extra-content")},y):null;var _=qe(e.props,[]),x=C()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Ie({},e.props,{prefixCls:b,className:E,tabBarPosition:p,renderTabBar:function(){return r.createElement(Re,Ie({},Object(re.a)(_,["className"]),{tabBarExtraContent:y}))},renderTabContent:function(){return r.createElement(te,{className:x,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),w.length>0?w:d)},e}return t=l,(n=[{key:"componentDidMount",value:function(){var e=o.findDOMNode(this);e&&!De.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&Be(t.prototype,n),a&&Be(t,a),l}(r.Component);Ve.TabPane=Y,Ve.defaultProps={hideAdd:!1,tabPosition:"top"}},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),a=c(r);n("vg9a");var o=n("ud8/"),i=c(o);n("SJMd");var l=c(n("wMS7")),s=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,p=void 0===f?{}:f,d=e.url,m=String(n),h=(0,r.useMemo)((function(){var e=(0,i.default)(m),t=(0,o.getMathExpressions)();return m.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var r=t[n],a=r.type,o=r.expression;return(0,s.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===a,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,r.useEffect)((function(){if(d&&d.hash&&h){var e=d.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[d,h]);var v=(0,r.useRef)();function y(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(v.current&&h&&h.match(u)&&window.PR.prettyPrint(),v.current)return v.current.addEventListener("click",y),function(){v.current.removeEventListener("click",y),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[h,v.current,y]),a.default.createElement("div",{ref:v,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("VXEj")),a=w(n("NJEC")),o=w(n("2/Rp")),i=w(n("NUBc")),l=w(n("ZTPi")),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV"),n("AUBz");var u=n("q1tI"),f=w(u),p=n("eO8H"),d=w(n("vDqi")),m=w(n("AySf")),h=w(n("bIax")),v=n("sYIF"),y=w(n("LZ3y")),g=w(n("p7gc")),b=w(n("bjH3")),E=w(n("oYoh"));function w(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var _=l.default.TabPane,C=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){n.getjournalslist()},n.addjournals=function(){var e=n.state,t=e.content,r=e.reply_content;n.setState({journal_spin:!0}),t||r?n.props.form.validateFieldsAndScroll((function(e,a){if(e)n.setState({journal_spin:!1});else{var o=n.state,i=o.page,l=o.limit,c=o.fileList,u=o.orderId,f=o.reply_id,p=o.is_reply,m="/issues/"+u+"/journals.json";d.default.post(m,s({},a,{content:p?r:t,issue_id:u,attachment_ids:c,parent_id:f})).then((function(e){e&&0===e.data.status&&(n.props.form.setFieldsValue({content:"",reply_content:void 0}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l),n.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1})),n.setState({journal_spin:!1}),e&&411!==e.data.status&&n.props.showNotification(e.data.message)})).catch((function(e){n.setState({journal_spin:!1}),console.log(e)}))}})):n.setState({journal_spin:!1})},n.add_reply=function(e){!1!==n.props.checkIfLogin()?n.setState({is_reply:!0,success_journal:!1,reply_id:e}):n.props.showLoginDialog()},n.cancel_reply=function(){n.setState({is_reply:!1,reply_id:void 0,success_journal:!1,reply_content:void 0})},n.getjournalslist=function(e,t){var r=n.state.orderId,a="/issues/"+r+"/journals.json",o=r;d.default.get(a,{params:{id:o,page:e,limit:t}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1,fileList:void 0})})).catch((function(e){console.log(e)}))},n.UploadFunc=function(e){n.setState({fileList:e,attachment_clean:!0})},n.deleteorder=function(e){var t=n.state,r=t.page,a=t.limit,o=t.orderId,i="/issues/"+o+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:o,id:e}}).then((function(e){e&&n.getjournalslist(r,a)})).catch((function(e){console.log(e)}))},n.renderJournalList=function(e){return e&&e.length>0?e.map((function(e,t){return f.default.createElement("div",{key:t+1,className:"journal-list-item"},f.default.createElement("span",{className:"fwb mr3"},e.detail,":"),f.default.createElement("span",{className:"mr5 color-grey-9"},e.old_value&&e.old_value.length>0?"更新为":"新增"),f.default.createElement("span",null,e.value&&e.value.length>0?"标记"===e.detail?f.default.createElement("span",{className:"issue-tag-show",style:{background:e.value[0].color}},e.value[0].name):e.value:"无"))})):f.default.createElement("div",null,f.default.createElement("span",null,"没有评论~"))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getjournalslist(e,t)},n.changeIsComplete=function(e){n.setState({showFiles:e})},n.onContentChange=function(e){e&&n.setState({content:e,quillFlag:!1})},n.replyContentChange=function(e){e&&n.setState({reply_content:e,quillFlag:!1})},n.onRef=function(e){n.child=e},n.commentCtx=function(e){return f.default.createElement(b.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.state={content:void 0,journalsdata:void 0,isedit:void 0,fileList:void 0,limit:10,page:1,journal_spin:!1,edit_spin:!1,attachment_clean:!0,orderId:n.props.order_id,is_reply:!1,reply_id:void 0,reply_content:void 0,new_journal_id:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"loginModal",value:function(){this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,w=t.attachment_clean,C=t.is_reply,x=t.reply_id,O=t.reply_content,S=t.orderId,N=t.new_journal_id,k=this.props,P=k.current_user,T=k.only_show_content,j=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(P&&P.image_url)),alt:"",width:"30",height:"30"})),f.default.createElement("div",null,f.default.createElement(g.default,{placeholder:"添加评论...",height:300,mdID:n?"orderdetail-add-descriptions"+n:"orderdetail-add-descriptions",initValue:t?O:u,onChange:t?e.replyContentChange:e.onContentChange}),f.default.createElement("p",{className:"quillFlag"},d&&f.default.createElement("span",{className:""},"请输入评论内容")),f.default.createElement(m.default,{className:"commentStyle",isComplete:w,load:e.UploadFunc,icon:f.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.props.showNotification}),f.default.createElement("p",{className:"clearfix mt20"},f.default.createElement(o.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(o.default,{onClick:e.cancel_reply},"取消"))))},R=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,v.getImageUrl)("/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/"+(t&&t.user_login),className:"show-user-link color-black ml10 fwb"},t&&t.user_name)),f.default.createElement("div",{className:"ml40"},t.content?e.commentCtx(t.content):f.default.createElement("div",null,e.renderJournalList(t.journal_details)),t&&t.attachments&&t.attachments.length>0?f.default.createElement(y.default,{attachments:t.attachments,showNotification:e.props.showNotification,canDelete:P&&(P.admin||P.login===t.user_login)}):"",f.default.createElement("div",{className:"grid-item mt5"},f.default.createElement("span",{className:"color-grey-8"},t.created_at),f.default.createElement("span",{className:"text-right"},P&&(P.admin||P.login===t.user_login)?f.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(o.default,{type:"link"},f.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):"",f.default.createElement(o.default,{type:"link",className:"ml-10",onClick:function(){return e.add_reply(t.id)}},f.default.createElement("i",{className:"iconfont icon-huifu1 font-15 color-grey-6 mr5 ver-middle"}),f.default.createElement("span",{className:"font-12 color-grey-6"},"回复")))),P&&f.default.createElement("div",null,C&&x&&x===t.id?f.default.createElement("div",{className:"pt20"},j(C,t.id)):""),f.default.createElement(E.default,s({order_id:S,parent_id:t.id,onRef:e.onRef,children_comment_id:N},e.props))))};return f.default.createElement("div",null,T?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},C&&!x?f.default.createElement("div",{className:"pd20"},j(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,v.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}),this.Paginations()):f.default.createElement("div",{className:"mt20"},f.default.createElement("div",{className:"comment-background"},f.default.createElement(l.default,{defaultActiveKey:"1",className:"custom-comment-tabs"},f.default.createElement(_,{tab:f.default.createElement("span",{className:"ml-3 font-16"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},C&&!x?f.default.createElement("div",{className:"pd20"},j(C,void 0)):f.default.createElement("div",{className:"children-comment-bg pd20 grid-item mb20"},f.default.createElement("img",{className:"radius",src:P&&P.image_url?(0,v.getImageUrl)("/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(o.default,{className:"add_reply_button ml10",onClick:function(){return e.add_reply(void 0)}},f.default.createElement("span",null,"添加评论..."))))),n&&n.journals_total_count>0&&f.default.createElement(r.default,{size:"large",loading:c,header:"",dataSource:n.issue_journals,renderItem:function(e){return f.default.createElement(r.default.Item,null,R(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=C},dQpi:function(e,t,n){var r=n("yGk4"),a=n("vN+2"),o=n("rEGp"),i=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:a;e.exports=i},"jbM+":function(e,t,n){var r=n("R/W3");e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),i=n("BGR+"),l=n("VCL8"),s=n("CtXQ"),c=n("H84U");function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,a,i=v(l);function l(){var e;return d(this,l),(e=i.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,r=t.onChange;r&&r(!n)},e.renderCheckableTag=function(t){var n,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=a("tag",l),m=o()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,r.createElement("span",f({},u,{className:m,onClick:e.handleClick}))},e}return t=l,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(t.prototype,n),a&&m(t,a),l}(r.Component),w=n("09Wf"),_=n("6CfX"),C=n("g0mS");function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=j(e);if(t){var a=j(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return T(this,n)}}function T(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},A=new RegExp("^(".concat(w.a.join("|"),")(-inverse)?$")),L=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(u,e);var t,n,a,l=P(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,a=n.children,o=R(n,["children"]),l="onClick"in o||a&&"a"===a.type,s=Object(i.a)(o,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(C.a,null,r.createElement("span",S({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())):r.createElement("span",S({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),a,t.renderCloseIcon())},Object(_.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return t=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(n=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return S({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,a=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",a);return o()(u,(O(t={},"".concat(u,"-").concat(l),c),O(t,"".concat(u,"-has-color"),l&&!c),O(t,"".concat(u,"-hidden"),!s),t),i)}},{key:"setVisible",value:function(e,t){var n=this.props,r=n.onClose,a=n.afterClose;r&&r(t),a&&!r&&a(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&A.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderTag)}}])&&N(t.prototype,n),a&&N(t,a),u}(r.Component);L.CheckableTag=E,L.defaultProps={closable:!1},Object(l.polyfill)(L);t.default=L},n1GQ:function(e,t,n){(function(t){for(var r=n("bQgK"),a="undefined"==typeof window?t:window,o=["moz","webkit"],i="AnimationFrame",l=a["request"+i],s=a["cancel"+i]||a["cancelRequest"+i],c=0;!l&&c<o.length;c++)l=a[o[c]+"Request"+i],s=a[o[c]+"Cancel"+i]||a[o[c]+"CancelRequest"+i];if(!l||!s){var u=0,f=0,p=[];l=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(a,e)},e.exports.cancel=function(){s.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},oYoh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("VXEj")),a=h(n("NJEC")),o=h(n("2/Rp")),i=h(n("NUBc")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("LXko"),n("k994"),n("L/Qf"),n("YQTV");var s=n("q1tI"),c=h(s),u=n("eO8H"),f=h(n("vDqi")),p=n("sYIF"),d=h(n("LZ3y")),m=h(n("bjH3"));function h(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getChildrenJournals=function(e,t){var r=n.props,a=r.order_id,o=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||a)+"/journals/"+(t||o)+"/get_children_journals.json";f.default.get(c,{params:{page:l,limit:s}}).then((function(e){e&&n.setState({journalsdata:e.data,search_count:e.data.journals_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.deleteorder=function(e){var t=n.props.order_id,r="/issues/"+t+"/journals/"+e+".json";f.default.delete(r,{data:{issue_id:t,id:e}}).then((function(e){e&&n.getChildrenJournals()})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.state.page=e,n.state.isSpin=!0,n.getChildrenJournals()},n.commentCtx=function(e){return c.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e,url:n.props.history.location})},n.Paginations=function(){var e=n.state,t=e.page,r=e.limit,a=e.search_count;if(a>r)return c.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},c.default.createElement(i.default,{simple:!0,defaultCurrent:t,total:a,pageSize:r,onChange:n.ChangePage}))},n.renderList=function(e){var t=n.props.current_user;return c.default.createElement("div",{className:"width100"},c.default.createElement("div",{className:"grid-item pb5"},c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/"+(e&&e.user_login),className:"show-user-link color-black ml10 fwb"},e&&e.user_name)),c.default.createElement("div",{className:"ml40"},n.commentCtx(e.content),e&&e.attachments&&e.attachments.length>0?c.default.createElement(d.default,{attachments:e.attachments,showNotification:n.props.showNotification,canDelete:t&&(t.admin||t.login===e.user_login)}):"",c.default.createElement("div",{className:"mt5"},c.default.createElement("span",{className:"color-grey-8"},e.created_at),c.default.createElement("span",{className:"ml20"},t&&(t.admin||t.login===e.user_login)?c.default.createElement(a.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return n.deleteorder(e.id)}},c.default.createElement(o.default,{type:"link"},c.default.createElement("i",{className:"iconfont icon-shanchu3 font-15 color-grey-6 mr5 ver-middle"}),c.default.createElement("span",{className:"font-12 color-grey-6"},"删除"))):""))))},n.state={journalsdata:void 0,limit:10,page:1,journal_spin:!1,search_count:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"componentDidMount",value:function(){this.getChildrenJournals()}},{key:"componentDidUpdate",value:function(e,t){this.props.children_comment_id&&e.children_comment_id!==this.props.children_comment_id&&this.getChildrenJournals()}},{key:"render",value:function(){var e=this,t=this.state,n=t.journalsdata,a=t.search_count,o=t.isSpin;return c.default.createElement("div",null,a>0&&c.default.createElement("div",{className:"children-comment-bg mt10"},c.default.createElement(r.default,{size:"large",loading:o,dataSource:n.issue_journals,renderItem:function(t){return c.default.createElement(r.default.Item,null,e.renderList(t))}}),this.Paginations()))}}]),t}(s.Component);t.default=v},qPyV:function(e,t,n){var r=n("ut/Y"),a=n("LGYb");e.exports=function(e,t){return e&&e.length?a(e,r(t,2)):[]}},u3En:function(e,t,n){},"vN+2":function(e,t){e.exports=function(){}},vg9a:function(e,t,n){},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,a=Object.freeze,o=Object.seal,i=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,c=l.construct;s||(s=function(e,t,n){return e.apply(t,n)}),a||(a=function(e){return e}),o||(o=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u=x(Array.prototype.forEach),f=x(Array.prototype.indexOf),p=x(Array.prototype.join),d=x(Array.prototype.pop),m=x(Array.prototype.push),h=x(Array.prototype.slice),v=x(String.prototype.toLowerCase),y=x(String.prototype.match),g=x(String.prototype.replace),b=x(String.prototype.indexOf),E=x(String.prototype.trim),w=x(RegExp.prototype.test),_=O(RegExp),C=O(TypeError);function x(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return s(e,t,r)}}function O(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function S(e,r){t&&t(e,null);for(var a=r.length;a--;){var o=r[a];if("string"==typeof o){var i=v(o);i!==o&&(n(r)||(r[a]=i),o=i)}e[o]=!0}return e}function N(t){var n=i(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var k=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),T=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),j=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),R=a(["#text"]),A=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),L=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),D=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),I=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),M=o(/\{\{[\s\S]*|[\s\S]*\}\}/gm),F=o(/<%[\s\S]*|[\s\S]*%>/gm),U=o(/^data-[\-\w.\u00B7-\uFFFF]/),B=o(/^aria-[\-\w]+$/),z=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=o(/^(?:\w+script|data):/i),W=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var V=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":K(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V(),n=function(t){return e(t)};if(n.version="2.0.15",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var o=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,x=t.Node,O=t.NodeFilter,Q=t.NamedNodeMap,Y=void 0===Q?t.NamedNodeMap||t.MozNamedAttrMap:Q,J=t.Text,X=t.Comment,Z=t.DOMParser,$=t.trustedTypes;if("function"==typeof c){var ee=l.createElement("template");ee.content&&ee.content.ownerDocument&&(l=ee.content.ownerDocument)}var te=G($,o),ne=te&&De?te.createHTML(""):"",re=l,ae=re.implementation,oe=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=o.importNode,ce=N(l).documentMode?l.documentMode:{},ue={};n.isSupported=ae&&void 0!==ae.createHTMLDocument&&9!==ce;var fe=M,pe=F,de=U,me=B,he=H,ve=W,ye=z,ge=null,be=S({},[].concat(q(k),q(P),q(T),q(j),q(R))),Ee=null,we=S({},[].concat(q(A),q(L),q(D),q(I))),_e=null,Ce=null,xe=!0,Oe=!0,Se=!1,Ne=!1,ke=!1,Pe=!1,Te=!1,je=!1,Re=!1,Ae=!1,Le=!1,De=!1,Ie=!0,Me=!0,Fe=!1,Ue={},Be=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),ze=null,He=S({},["audio","video","img","source","image","track"]),We=null,Ke=S({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),qe=null,Ve=l.createElement("form"),Ge=function(e){qe&&qe===e||(e&&"object"===(void 0===e?"undefined":K(e))||(e={}),e=N(e),ge="ALLOWED_TAGS"in e?S({},e.ALLOWED_TAGS):be,Ee="ALLOWED_ATTR"in e?S({},e.ALLOWED_ATTR):we,We="ADD_URI_SAFE_ATTR"in e?S(N(Ke),e.ADD_URI_SAFE_ATTR):Ke,ze="ADD_DATA_URI_TAGS"in e?S(N(He),e.ADD_DATA_URI_TAGS):He,_e="FORBID_TAGS"in e?S({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?S({},e.FORBID_ATTR):{},Ue="USE_PROFILES"in e&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Le=e.RETURN_DOM_IMPORT||!1,De=e.RETURN_TRUSTED_TYPE||!1,je=e.FORCE_BODY||!1,Ie=!1!==e.SANITIZE_DOM,Me=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,ke&&(Oe=!1),Ae&&(Re=!0),Ue&&(ge=S({},[].concat(q(R))),Ee=[],!0===Ue.html&&(S(ge,k),S(Ee,A)),!0===Ue.svg&&(S(ge,P),S(Ee,L),S(Ee,I)),!0===Ue.svgFilters&&(S(ge,T),S(Ee,L),S(Ee,I)),!0===Ue.mathMl&&(S(ge,j),S(Ee,D),S(Ee,I))),e.ADD_TAGS&&(ge===be&&(ge=N(ge)),S(ge,e.ADD_TAGS)),e.ADD_ATTR&&(Ee===we&&(Ee=N(Ee)),S(Ee,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&S(We,e.ADD_URI_SAFE_ATTR),Me&&(ge["#text"]=!0),Pe&&S(ge,["html","head","body"]),ge.table&&(S(ge,["tbody"]),delete _e.tbody),a&&a(e),qe=e)},Qe=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ye=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(je)e="<remove></remove>"+e;else{var r=y(e,/^[\r\n\t ]+/);n=r&&r[0]}var a=te?te.createHTML(e):e;try{t=(new Z).parseFromString(a,"text/html")}catch(e){}if(i&&S(_e,["title"]),!t||!t.documentElement){var o=(t=ae.createHTMLDocument("")).body;o.parentNode.removeChild(o.parentNode.firstElementChild),o.outerHTML=a}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ie.call(t,Pe?"html":"body")[0]};n.isSupported&&function(){try{var e=Je("<x/><title></title><img>");w(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return oe.call(e.ownerDocument||e,e,O.SHOW_ELEMENT|O.SHOW_COMMENT|O.SHOW_TEXT,(function(){return O.FILTER_ACCEPT}),!1)},Ze=function(e){return!(e instanceof J||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Y&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===x?"undefined":K(x))?e instanceof x:e&&"object"===(void 0===e?"undefined":K(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,r){ue[e]&&u(ue[e],(function(e){e.call(n,t,r,qe)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ze(e))return Qe(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return Qe(e),!0;var r=v(e.nodeName);if(et("uponSanitizeElement",e,{tagName:r,allowedTags:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Qe(e),!0;if(!ge[r]||_e[r]){if(Me&&!Be[r]&&"function"==typeof e.insertAdjacentHTML)try{var a=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(a):a)}catch(e){}return Qe(e),!0}return"noscript"===r&&w(/<\/noscript/i,e.innerHTML)||"noembed"===r&&w(/<\/noembed/i,e.innerHTML)?(Qe(e),!0):(!Ne||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!w(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=g(e.innerHTML,/</g,"<"):e.innerHTML=g(e.textContent,/</g,"<")),ke&&3===e.nodeType&&(t=e.textContent,t=g(t,fe," "),t=g(t,pe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(Ie&&("id"===t||"name"===t)&&(n in l||n in Ve))return!1;if(Oe&&w(de,t));else if(xe&&w(me,t));else{if(!Ee[t]||Ce[t])return!1;if(We[t]);else if(w(ye,g(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!ze[e])if(Se&&!w(he,g(n,ve,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,a=void 0,o=void 0,i=void 0,l=void 0;et("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee};for(l=s.length;l--;){var u=t=s[l],m=u.name,y=u.namespaceURI;if(a=E(t.value),o=v(m),c.attrName=o,c.attrValue=a,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),a=c.attrValue,!c.forceKeepAttr){if("name"===o&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ye("id",e),Ye(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===o&&"file"===a&&c.keepAttr&&(Ee[o]||!Ce[o]))continue;"id"===m&&e.setAttribute(m,""),Ye(m,e)}if(c.keepAttr)if(Ne&&w(/\/>/i,a))Ye(m,e);else if(w(/svg|math/i,e.namespaceURI)&&w(_("</("+p(r(Be),"|")+")","i"),a))Ye(m,e);else{ke&&(a=g(a,fe," "),a=g(a,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,o,a))try{y?e.setAttributeNS(y,m,a):e.setAttribute(m,a),d(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},at=function e(t){var n=void 0,r=Xe(t);for(et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof s&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var a=void 0,i=void 0,l=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!$e(e)){if("function"!=typeof e.toString)throw C("toString is not a function");if("string"!=typeof(e=e.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===K(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if($e(e))return t.toStaticHTML(e.outerHTML)}return e}if(Te||Ge(r),n.removed=[],"string"==typeof e&&(Fe=!1),Fe);else if(e instanceof x)1===(i=(a=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?a=i:a.appendChild(i);else{if(!Re&&!ke&&!Pe&&-1===e.indexOf("<"))return te&&De?te.createHTML(e):e;if(!(a=Je(e)))return Re?null:ne}a&&je&&Qe(a.firstChild);for(var f=Xe(Fe?e:a);l=f.nextNode();)3===l.nodeType&&l===c||tt(l)||(l.content instanceof s&&at(l.content),rt(l),c=l);if(c=null,Fe)return e;if(Re){if(Ae)for(u=le.call(a.ownerDocument);a.firstChild;)u.appendChild(a.firstChild);else u=a;return Le&&(u=se.call(o,u,!0)),u}var p=Pe?a.outerHTML:a.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&De?te.createHTML(p):p},n.setConfig=function(e){Ge(e),Te=!0},n.clearConfig=function(){qe=null,Te=!1},n.isValidAttribute=function(e,t,n){qe||Ge({});var r=v(e),a=v(t);return nt(r,a,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],m(ue[e],t))},n.removeHook=function(e){ue[e]&&d(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}()}()}}]); \ No newline at end of file diff --git a/static/js/37.1015f157.chunk.js.LICENSE.txt b/static/js/37.f3a26abd.chunk.js.LICENSE.txt similarity index 100% rename from static/js/37.1015f157.chunk.js.LICENSE.txt rename to static/js/37.f3a26abd.chunk.js.LICENSE.txt diff --git a/static/js/43.9ab42e7e.chunk.js b/static/js/43.9ab42e7e.chunk.js deleted file mode 100644 index 08c61cc7d..000000000 --- a/static/js/43.9ab42e7e.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[43],{"0Cz8":function(t,e,n){var r=n("Xi7e"),a=n("ebwN"),o=n("e4Nc");t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!a||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(i)}return n.set(t,e),this.size=n.size,this}},"0Rql":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAQCAYAAABtPJ3XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALKADAAQAAAABAAAAEAAAAACYv7IkAAABuElEQVRIDdVWr0/DQBT+ujQowgSZwAAKQkhAoAiGTBT2B+ARM/wIAQx2dgYICdRU4PkDBhM4goYEgwODWBBDIjje17VJV9rudkdIeMmt69137333+n6cg1+StR01L6rqMjwFTFKtA7zKoy0juDl3njhnK6LTTjYaauSjg2PRsqUUSlnaHAdfMu+PVXB41XA+szC6c1aESbbbQQsKVSGF2gqwvgxMTfTMv7wB1/dA6w6Qw9Dlt+UKajakXd2TZeFCzwrZ8TJwtAkszvSjZqcBjtUloHkJvHdRjb7Gbj9S/83Yw1HMPoqpUnPvJ9k0hYdnOdRZOMvwWDCN6cyYSxvLea8zZhkGac9m4YkhNopzJqeR2BD2aJExqysJbLhXd18SZ0w4Ll1xgiWV5v2PsfHePFzRvOtth/lbhMleY9abisKoqV1jD8dcWbp0ZRhsnk63fcEKOrxIlTiRb7PPOsvSpSPEUsTiqVSJg97bcL82Hg7YwdgUWLIGCTHEco9gg0H4vHVjwlEd9ZkBbApFpLlGTJQtvmkN5iGsOh3vBtKa59jB2BR0WjP30LCpGMVv0ti/uvwkif/V9fIbUzmWMlmEs/gAAAAASUVORK5CYII="},"6sVZ":function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},"77Zs":function(t,e,n){var r=n("Xi7e");t.exports=function(){this.__data__=new r,this.size=0}},B8du:function(t,e){t.exports=function(){return!1}},BPxw:function(t,e,n){},DSRE:function(t,e,n){(function(t){var r=n("Kz5y"),a=n("B8du"),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===o?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;t.exports=u}).call(this,n("YuTi")(t))},JHRd:function(t,e,n){var r=n("Kz5y").Uint8Array;t.exports=r},Kwxn:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n("q1tI"),o=(r=a)&&r.__esModule?r:{default:r},i=n("eO8H");n("dEUZ"),e.default=function(t){var e=t.tab,n=t.owner,r=t.projectsId;return o.default.createElement("ul",{className:"subMenu"},o.default.createElement(i.Link,{to:"/"+n+"/"+r+"/tags",className:"tags"===e?"active":""},"标签"),o.default.createElement(i.Link,{to:"/"+n+"/"+r+"/releases",className:"releases"===e?"active":""},"发行版"))}},L8xA:function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},MMmD:function(t,e,n){var r=n("lSCD"),a=n("shjB");t.exports=function(t){return null!=t&&a(t.length)&&!r(t)}},PhNK:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.truncateCommitId=function(t){return t&&t.length>11?t.substring(0,10):t},e.timeFormat=function(t){var e=new Date(1e3*t),n=e.getHours()<10?"0".concat(e.getHours()):e.getHours(),r=e.getMinutes()<10?"0".concat(e.getMinutes()):e.getMinutes();return e.getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate()+" "+n+":"+r}},"UNi/":function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},VaNO:function(t,e){t.exports=function(t){return this.__data__.has(t)}},b80T:function(t,e,n){var r=n("UNi/"),a=n("03A+"),o=n("Z0cm"),i=n("DSRE"),c=n("wJg7"),u=n("c6wG"),s=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),l=!n&&a(t),f=!n&&!l&&i(t),A=!n&&!l&&!f&&u(t),d=n||l||f||A,p=d?r(t.length,String):[],m=p.length;for(var b in t)!e&&!s.call(t,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||A&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,m))||p.push(b);return p}},c6wG:function(t,e,n){var r=n("dD9F"),a=n("sEf8"),o=n("mdPL"),i=o&&o.isTypedArray,c=i?a(i):r;t.exports=c},dD9F:function(t,e,n){var r=n("NykK"),a=n("shjB"),o=n("ExA7"),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&a(t.length)&&!!i[r(t)]}},dEUZ:function(t,e,n){},fmRc:function(t,e,n){var r=n("Xi7e"),a=n("77Zs"),o=n("L8xA"),i=n("gCq4"),c=n("VaNO"),u=n("0Cz8");function s(t){var e=this.__data__=new r(t);this.size=e.size}s.prototype.clear=a,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=c,s.prototype.set=u,t.exports=s},gCq4:function(t,e){t.exports=function(t){return this.__data__.get(t)}},kekF:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},mdPL:function(t,e,n){(function(t){var r=n("WFqU"),a=e&&!e.nodeType&&e,o=a&&"object"==typeof t&&t&&!t.nodeType&&t,i=o&&o.exports===a&&r.process,c=function(){try{var t=o&&o.require&&o.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=c}).call(this,n("YuTi")(t))},n5qf:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=p(n("wCAj")),a=p(n("3S7+")),o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,a=!1,o=void 0;try{for(var i,c=t[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!e||n.length!==e);r=!0);}catch(t){a=!0,o=t}finally{try{!r&&c.return&&c.return()}finally{if(a)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("mbEz"),n("TfFZ");var i=n("q1tI"),c=p(i),u=p(n("Kwxn")),s=p(n("vDqi")),l=n("eO8H"),f=n("PhNK");n("BPxw");var A=p(n("0Rql")),d=p(n("wd/R"));function p(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){var e=(0,i.useState)([]),n=o(e,2),p=n[0],m=n[1],b=t.match.params,g=b.projectsId,h=b.owner;(0,i.useEffect)((function(){if(g){var t="/"+h+"/"+g+"/tags.json";s.default.get(t).then((function(t){t&&m(t.data)})).catch((function(t){}))}}),[h,g]);var v=[{title:"标签名",dataIndex:"name",key:1,ellipsis:!0,render:function(t,e){return c.default.createElement(l.Link,{className:"hover",to:"/"+h+"/"+g+"/tree/"+e.name},e.name)}},{title:"创建时间",dataIndex:"time_ago",key:2,ellipsis:!0,render:function(t,e){return c.default.createElement("span",{className:"color-grey-3"},c.default.createElement(l.Link,{className:"mr3",style:{fontWeight:"500"},to:"/"+(e.commit&&e.commit.login)},e.commit&&e.commit.name),c.default.createElement("span",null,"创建于",t))}},{title:"提交ID",dataIndex:"id",key:3,ellipsis:!0,render:function(t,e){return c.default.createElement(a.default,{placement:"top",title:"最后提交日期:"+(e.created_at_unix?(0,d.default)(1e3*e.created_at_unix).format("YYYY-MM-DD"):"")},c.default.createElement("img",{src:A.default,alt:"提交ID",width:"22px",className:"mr4"}),c.default.createElement(l.Link,{className:"hover color-blue",to:"/"+h+"/"+g+"/commits/"+(0,f.truncateCommitId)(""+(e.commit&&e.commit.sha))},(0,f.truncateCommitId)(e.commit&&e.commit.sha)))}},{title:"描述信息",dataIndex:"message",key:4,ellipsis:!0,render:function(t,e){return e.message||"--"}},{title:"下载",dataIndex:"stage_type",key:5,ellipsis:!0,align:"center",width:"181px",render:function(t,e){return c.default.createElement("div",null,c.default.createElement("a",{href:""+e.tarball_url,download:!0,className:"btn-83"},c.default.createElement("i",{className:"iconfont icon-xiazai-icon font-16 mr5"}),"TAR"),c.default.createElement("a",{href:""+e.zipball_url,download:!0,className:"btn-83"},c.default.createElement("i",{className:"iconfont icon-xiazai-icon font-16 mr5"}),"ZIP"))}}];return c.default.createElement("div",null,c.default.createElement(u.default,{tab:"tags",projectsId:g,owner:h}),c.default.createElement(r.default,{className:"tagTable",dataSource:p,columns:v,pagination:!1}))}},sEf8:function(t,e){t.exports=function(t){return function(e){return t(e)}}},zZ0H:function(t,e){t.exports=function(t){return t}}}]); \ No newline at end of file diff --git a/static/js/43.d6aae469.chunk.js b/static/js/43.d6aae469.chunk.js new file mode 100644 index 000000000..4b65c45f9 --- /dev/null +++ b/static/js/43.d6aae469.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[43],{"0Cz8":function(e,t,n){var a=n("Xi7e"),r=n("ebwN"),o=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof a){var i=n.__data__;if(!r||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(i)}return n.set(e,t),this.size=n.size,this}},"0Rql":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAQCAYAAABtPJ3XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALKADAAQAAAABAAAAEAAAAACYv7IkAAABuElEQVRIDdVWr0/DQBT+ujQowgSZwAAKQkhAoAiGTBT2B+ARM/wIAQx2dgYICdRU4PkDBhM4goYEgwODWBBDIjje17VJV9rudkdIeMmt69137333+n6cg1+StR01L6rqMjwFTFKtA7zKoy0juDl3njhnK6LTTjYaauSjg2PRsqUUSlnaHAdfMu+PVXB41XA+szC6c1aESbbbQQsKVSGF2gqwvgxMTfTMv7wB1/dA6w6Qw9Dlt+UKajakXd2TZeFCzwrZ8TJwtAkszvSjZqcBjtUloHkJvHdRjb7Gbj9S/83Yw1HMPoqpUnPvJ9k0hYdnOdRZOMvwWDCN6cyYSxvLea8zZhkGac9m4YkhNopzJqeR2BD2aJExqysJbLhXd18SZ0w4Ll1xgiWV5v2PsfHePFzRvOtth/lbhMleY9abisKoqV1jD8dcWbp0ZRhsnk63fcEKOrxIlTiRb7PPOsvSpSPEUsTiqVSJg97bcL82Hg7YwdgUWLIGCTHEco9gg0H4vHVjwlEd9ZkBbApFpLlGTJQtvmkN5iGsOh3vBtKa59jB2BR0WjP30LCpGMVv0ti/uvwkif/V9fIbUzmWMlmEs/gAAAAASUVORK5CYII="},"6sVZ":function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},"77Zs":function(e,t,n){var a=n("Xi7e");e.exports=function(){this.__data__=new a,this.size=0}},B8du:function(e,t){e.exports=function(){return!1}},BPxw:function(e,t,n){},DSRE:function(e,t,n){(function(e){var a=n("Kz5y"),r=n("B8du"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,c=i&&i.exports===o?a.Buffer:void 0,u=(c?c.isBuffer:void 0)||r;e.exports=u}).call(this,n("YuTi")(e))},JHRd:function(e,t,n){var a=n("Kz5y").Uint8Array;e.exports=a},Kwxn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n("q1tI"),o=(a=r)&&a.__esModule?a:{default:a},i=n("eO8H");n("dEUZ"),t.default=function(e){var t=e.tab,n=e.owner,a=e.projectsId;return o.default.createElement("ul",{className:"subMenu"},o.default.createElement(i.Link,{to:"/"+n+"/"+a+"/tags",className:"tags"===t?"active":""},"标签"),o.default.createElement(i.Link,{to:"/"+n+"/"+a+"/releases",className:"releases"===t?"active":""},"发行版"))}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},MMmD:function(e,t,n){var a=n("lSCD"),r=n("shjB");e.exports=function(e){return null!=e&&r(e.length)&&!a(e)}},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),a=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+a}},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},b80T:function(e,t,n){var a=n("UNi/"),r=n("03A+"),o=n("Z0cm"),i=n("DSRE"),c=n("wJg7"),u=n("c6wG"),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),s=!n&&r(e),f=!n&&!s&&i(e),d=!n&&!s&&!f&&u(e),A=n||s||f||d,g=A?a(e.length,String):[],m=g.length;for(var p in e)!t&&!l.call(e,p)||A&&("length"==p||f&&("offset"==p||"parent"==p)||d&&("buffer"==p||"byteLength"==p||"byteOffset"==p)||c(p,m))||g.push(p);return g}},c6wG:function(e,t,n){var a=n("dD9F"),r=n("sEf8"),o=n("mdPL"),i=o&&o.isTypedArray,c=i?r(i):a;e.exports=c},dD9F:function(e,t,n){var a=n("NykK"),r=n("shjB"),o=n("ExA7"),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!i[a(e)]}},dEUZ:function(e,t,n){},fmRc:function(e,t,n){var a=n("Xi7e"),r=n("77Zs"),o=n("L8xA"),i=n("gCq4"),c=n("VaNO"),u=n("0Cz8");function l(e){var t=this.__data__=new a(e);this.size=t.size}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=c,l.prototype.set=u,e.exports=l},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},mdPL:function(e,t,n){(function(e){var a=n("WFqU"),r=t&&!t.nodeType&&t,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===r&&a.process,c=function(){try{var e=o&&o.require&&o.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=c}).call(this,n("YuTi")(e))},n5qf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=b(n("W9HT")),r=b(n("wCAj")),o=b(n("3S7+")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(a=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{!a&&c.return&&c.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd"),n("mbEz"),n("TfFZ");var c=n("q1tI"),u=b(c),l=b(n("Kwxn")),s=b(n("vDqi")),f=n("eO8H"),d=n("PhNK"),A=n("sYIF"),g=b(n("2CTR"));n("BPxw");var m=b(n("0Rql")),p=b(n("wd/R"));function b(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,c.useState)(void 0),n=i(t,2),b=n[0],h=n[1],v=(0,c.useState)(!0),y=i(v,2),j=y[0],E=y[1],_=e.match.params,x=_.projectsId,w=_.owner;(0,c.useEffect)((function(){if(x){var e="/"+w+"/"+x+"/tags.json";s.default.get(e).then((function(e){e&&(h(e.data),E(!1))})).catch((function(e){}))}}),[w,x]);var I=[{title:"标签名",dataIndex:"name",key:1,ellipsis:!0,width:"200px",render:function(e,t){return u.default.createElement("div",{className:"tagBranch"},u.default.createElement(f.Link,{className:"hover tagClass",to:"/"+w+"/"+x+"/tree/"+t.name},t.name))}},{title:"创建时间",dataIndex:"time_ago",key:2,ellipsis:!0,render:function(e,t){return u.default.createElement("span",{className:"color-grey-3 tagModel"},t.tagger&&u.default.createElement(o.default,{placement:"top",title:t.tagger.name},t.tagger.id?u.default.createElement(f.Link,{className:"mr3 tagModelImg",to:"/"+t.tagger.login},u.default.createElement("img",{src:(0,A.getImageUrl)("/"+(t.tagger&&t.tagger.image_url)),alt:""})):u.default.createElement("span",{className:"mr3 tagModelImg",style:{cursor:"default"}},u.default.createElement("img",{src:(0,A.getImageUrl)("/"+(t.tagger&&t.tagger.image_url)),alt:""}))),u.default.createElement("span",null,"创建于",e))}},{title:"提交ID",dataIndex:"id",key:3,ellipsis:!0,render:function(e,t){return u.default.createElement(o.default,{placement:"top",title:"最后提交日期:"+(t.created_at_unix?(0,p.default)(1e3*t.created_at_unix).format("YYYY-MM-DD"):"")},u.default.createElement("img",{src:m.default,alt:"提交ID",width:"22px",className:"mr4"}),u.default.createElement(f.Link,{className:"hover color-blue",to:"/"+w+"/"+x+"/commits/"+(0,d.truncateCommitId)(""+t.id)},(0,d.truncateCommitId)(t.id)))}},{title:"描述信息",dataIndex:"message",key:4,ellipsis:!0,render:function(e,t){return t.message||"--"}},{title:"下载",dataIndex:"stage_type",key:5,ellipsis:!0,align:"center",width:"204px",render:function(e,t){return u.default.createElement(u.default.Fragment,null,u.default.createElement("a",{href:""+t.tarball_url,download:!0,className:"btn-83"},u.default.createElement("i",{className:"iconfont icon-xiazai-icon font-16 mr5"}),"TAR"),u.default.createElement("a",{href:""+t.zipball_url,download:!0,className:"btn-83"},u.default.createElement("i",{className:"iconfont icon-xiazai-icon font-16 mr5"}),"ZIP"))}}];return u.default.createElement("div",null,u.default.createElement(l.default,{tab:"tags",projectsId:x,owner:w}),u.default.createElement("div",{className:"tagSpin"},u.default.createElement(a.default,{spinning:j},b&&b.length>0&&u.default.createElement(r.default,{className:"tagTable",dataSource:b,columns:I,pagination:!1}),b&&0===b.length&&u.default.createElement(g.default,{_html:"暂无数据~"}))))}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/56.25a26106.chunk.js b/static/js/56.25a26106.chunk.js deleted file mode 100644 index 7874fd628..000000000 --- a/static/js/56.25a26106.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[56],{"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=l(n("17x9")),i=l(n("q1tI")),a=n("JwdM");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(u,e);var t,n,o,l=h(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),v(g(t=l.call(this,e)),"assignRef",(function(e){t.containerElement=e})),t.containerElement=void 0,t}return t=u,(n=[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.language,o=t.theme,i=t.height,a=t.options,l=t.width,u=this.editor.getModel(),s=u.original,c=u.modified;this.props.original!==s.getValue()&&s.setValue(this.props.original),null!=this.props.value&&this.props.value!==c.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.modifiedEditor.pushUndoStop(),c.pushEditOperations([],[{range:c.getFullModelRange(),text:this.props.value}]),this.editor.modifiedEditor.pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==n&&(r.editor.setModelLanguage(s,n),r.editor.setModelLanguage(c,n)),e.theme!==o&&r.editor.setTheme(o),!this.editor||l===e.width&&i===e.height||this.editor.layout(),e.options!==a&&this.editor.updateOptions(a)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(r)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,r);var n=e.getModel().modified;this._subscription=n.onDidChangeContent((function(e){t.__prevent_trigger_change_event||t.props.onChange(n.getValue(),e)}))}},{key:"initModels",value:function(e,t){var n=this.props.language,o=r.editor.createModel(t,n),i=r.editor.createModel(e,n);this.editor.setModel({original:o,modified:i})}},{key:"initMonaco",value:function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.original,o=t.theme,i=t.options,a=t.overrideServices;this.containerElement&&(this.editorWillMount(),this.editor=r.editor.createDiffEditor(this.containerElement,f(f({},i),o?{theme:o}:{}),a),this.initModels(e,n),this.editorDidMount(this.editor))}},{key:"destroyMonaco",value:function(){if(this.editor){this.editor.dispose();var e=this.editor.getModel(),t=e.original,n=e.modified;t&&t.dispose(),n&&n.dispose()}this._subscription&&this._subscription.dispose()}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r={width:(0,a.processSize)(t),height:(0,a.processSize)(n)};return i.default.createElement("div",{ref:this.assignRef,style:r,className:"react-monaco-editor-container"})}}])&&p(t.prototype,n),o&&p(t,o),u}(i.default.Component);b.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),original:o.default.string,value:o.default.string,defaultValue:o.default.string,language:o.default.string,theme:o.default.string,options:o.default.object,overrideServices:o.default.object,editorDidMount:o.default.func,editorWillMount:o.default.func,onChange:o.default.func},b.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:a.noop,editorWillMount:a.noop,onChange:a.noop};var O=b;t.default=O},BtkW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("W9HT")),o=m(n("2/Rp")),i=m(n("CtXQ")),a=m(n("9yH6")),l=m(n("Vl3Y")),u=m(n("5rEg")),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("L/Qf"),n("2oDE"),n("K4yd"),n("tULf"),n("1vPl");var c=n("q1tI"),f=m(c),p=n("sYIF"),d=n("eO8H");n("XmZk");var h=m(n("vDqi"));function m(e){return e&&e.__esModule?e:{default:e}}var g=u.default.TextArea;function y(e){return e&&e.length>0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e}function v(e){return e&&e.length>0&&e.indexOf("%2F")>-1?e.replaceAll("%2F","/"):e}var b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props.descName;e&&n.props.form.setFieldsValue({desc:e})},n.componentDidUpdate=function(e){var t=n.props.descName;e&&t&&e.descName!==t&&n.props.form.setFieldsValue({desc:t})},n.changeSubmittype=function(e){n.setState({submitType:e.target.value})},n.changeFileName=function(e){n.setState({filename:e.target.value})},n.subMitFrom=function(){var e=n.props,t=e.filepath,r=e.content,o=e.editor_type,i=n.props.match.params,a=i.branch,l=i.projectsId,u=i.owner,s=n.state,c=s.submitType,f=s.filename;n.setState({isSpin:!0});var p="upload"===o?t:t.substr(1);n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var o="/"+u+"/"+l+"/create_file.json";h.default.post(o,{filepath:f||p,branch:v(a),new_branch:"1"===c?t.branchname:void 0,content:r,message:t.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&e.data.name){if(n.props.showNotification("文件新建成功!"),"1"===c){var r=n.props,o=r.getTopCount,i=r.getDetail;o&&o(t.branchname),i&&i()}var s="/"+u+"/"+l+(t.branchname?"/tree/"+y(t.branchname):a?"/tree/"+y(a):"");n.props.history.push(s)}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}))},n.UpdateFile=function(){n.setState({isSpin:!0});var e=n.props,t=e.branch,r=e.detail,o=e.content,i=e.currentBranch,a=n.props.match.params,l=a.projectsId,u=a.owner,s=n.state.submitType,c="/"+u+"/"+l+"/update_file.json",f=i||t;n.props.form.validateFieldsAndScroll((function(e,a){e?n.setState({isSpin:!1}):h.default.put(c,{filepath:r.path,branch:"1"===s?void 0:v(f),new_branch:"1"===s?a.branchname:void 0,content:o,sha:r.sha,message:a.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&1===e.data.status){var r=i||t,o="/"+u+"/"+l+(a.branchname?"/tree/"+y(a.branchname):r?"/tree/"+y(r):"");n.props.history.push(o),n.props.showNotification("文件修改成功!")}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}))},n.state={submitType:"0",filename:"",isSpin:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.submitType,s=t.filename,c=t.isSpin,h=this.props.form.getFieldDecorator,m=this.props.match.params,y=m.branch,b=m.projectsId,O=m.owner,_=this.props,w=_.current_user,j=_.filepath,E=_.projectDetail,M=_.currentBranch,S=this.props.editor_type,P=M||y;return f.default.createElement("div",null,f.default.createElement("span",{className:"df",style:{alignItems:"center"}},f.default.createElement(d.Link,{to:"/"+(w&&w.login),className:"show-user-link"},f.default.createElement("img",{src:(0,p.getImageUrl)("/"+(w&&w.image_url)),alt:"",className:"screwImg"}),f.default.createElement("span",{className:"color-grey-3 ver-middle"},w&&w.username,":")),f.default.createElement("span",{className:"color-grey-8"},"提交变更")),f.default.createElement(r.default,{spinning:c},f.default.createElement("div",{className:"userScrew"},f.default.createElement("div",{className:"screwPanel"},f.default.createElement(l.default,null,f.default.createElement(l.default.Item,{style:{display:"upload"===S?"block":"none"}},h("path",{rules:[]})(f.default.createElement("div",{className:"setInputAddon"},f.default.createElement(u.default,{addonBefore:"/"+(E&&E.identifier)+"/",value:s||j,onChange:this.changeFileName,placeholder:"文件路径..."})))),f.default.createElement(l.default.Item,null,h("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(f.default.createElement(g,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),f.default.createElement(a.default.Group,{value:n,onChange:this.changeSubmittype},f.default.createElement(a.default,{value:"0",className:"mb10"},f.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",f.default.createElement("span",{className:"color-orange"},v(P)),"分支"),f.default.createElement(a.default,{value:"1"},f.default.createElement(i.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",f.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===n?f.default.createElement("div",{className:"mt15"},f.default.createElement(l.default.Item,{style:{paddingLeft:"24px"}},h("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(f.default.createElement(u.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),f.default.createElement("div",{className:"mt20"},f.default.createElement(o.default,{type:"primary",onClick:"update"===S?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),f.default.createElement(o.default,{type:"primary grey",onClick:function(){e.props.history.push("/"+O+"/"+b)},className:"mr20"},"取消"))))}}]),t}(c.Component),O=l.default.create({name:"UserSubmitForm"})(b);t.default=O},JwdM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.processSize=function(e){return/^\d+$/.test(e)?"".concat(e,"px"):e},t.noop=function(){}},PgMy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n("2fM7")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("8QGh");var i=n("q1tI"),a=l(i);l(n("vDqi"));function l(e){return e&&e.__esModule?e:{default:e}}var u=r.default.Option,s=["apex","azcli","bat","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","handlebars","html","ini","java","javascript","json","less","lua","markdown","msdax","mysql","objective","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","ruby","rust","sb","scheme","scss","shell","solidity","sql","st","swift","typescript","vb","xml","yaml"];t.default=function(e){var t=e.language,n=e.select_language,l=(0,i.useState)(void 0),c=o(l,2);c[0],c[1];return a.default.createElement(r.default,{showSearch:!0,placeholder:"请选择文本语言",style:{width:200},value:t,onChange:function(e){n(e)}},a.default.createElement(u,{value:void 0},"请选择文本语言"),s&&s.map((function(e,t){return a.default.createElement(u,{value:e},e)})))}},"R/Rt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n("q1tI"),a=s(i),l=s(n("gL5p")),u=s(n("BtkW"));function s(e){return e&&e.__esModule?e:{default:e}}n("XmZk"),n("lr0e");var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidUpdate=function(e){e&&n.props&&n.props.content!==e.content&&n.setState({editorValue:n.props.content})},n.changeEditor=function(e){n.setState({editorValue:e})},n.state={editorValue:n.props.content,prevHeight:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=this,t=this.state.editorValue,n=this.props,o=n.readOnly,i=n.editorType,s=n.language,c=n.currentBranch,f=n.descName,p={lineNumbers:"on",wordWrap:!0,selectOnLineNumbers:!0,lineHeight:24,renderLineHighlight:"line",revealHorizontalRightPadding:5,placeholder:"请输入内容",readOnly:o,cursorStyle:o?"underline-thin":"line",folding:!0,foldingStrategy:"indentation",automaticLayout:!0,overviewRulerBorder:!1,scrollBeyondLastLine:!1,minimap:{enabled:!1}};return a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"editorBorderBox"},a.default.createElement(l.default,{language:s||"plaintext",theme:"vs-grey",placeholder:"请输入内容",value:t,options:p,onChange:this.changeEditor,editorWillMount:this.editorWillMount,editorDidMount:function(t,n){t.onDidChangeModelDecorations((function(){requestAnimationFrame(r)}));var r=function(){var r=t.getDomNode();if(r){var o=t.getOption(n.editor.EditorOption.lineHeight),i=t.getModel().getLineCount()||1,a=t.getTopForLineNumber(i+1)+o+40;a<400&&(a=400),e.state.prevHeight!==a&&(e.setState({prevHeight:a}),r.style.height=a+"px",t.layout())}};r()}})),!o&&a.default.createElement("div",{className:"editorBorderSubmitBox",style:{marginTop:"20px",padding:"20px"}},a.default.createElement(u.default,r({},this.props,this.state,{filepath:""+this.props.filepath,content:t,editor_type:i,currentBranch:c,descName:f}))))}}]),t}(i.Component);t.default=c},XmZk:function(e,t,n){},eacs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("5rEg")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("1vPl");var a=n("q1tI"),l=c(a),u=c(n("R/Rt"));n("XmZk");var s=c(n("PgMy"));function c(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.changeFileName=function(e){n.setState({filename:e.target.value})},n.CancelAddFile=function(){n.props.history.goBack()},n.select_language=function(e){console.log(e),n.setState({language:e})},n.state={editorValue:"",filename:"",language:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this.props.location.pathname,t=this.state,n=t.filename,i=t.language,a=e.split("newfile")[1],c=a+"/"+n,f=this.props.projectDetail;return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"main"},l.default.createElement("p",{className:"pb15 bor-bottom-greyE font-16 color-grey-3 mb20"},"新建文件"),l.default.createElement("div",null,l.default.createElement("div",{className:"grid-item mb20"},l.default.createElement("div",{className:"grid-item"},l.default.createElement("div",{className:"setInputAddon"},l.default.createElement(r.default,{addonBefore:"/"+(f&&f.identifier)+a+"/",value:n,onChange:this.changeFileName,placeholder:"命名文件..."})),l.default.createElement("a",{onClick:this.CancelAddFile,className:"color-blue"},"取消")),l.default.createElement("div",{className:"text-right"},l.default.createElement(s.default,{language:i,select_language:this.select_language}))),l.default.createElement("div",{className:"editorBorder"},l.default.createElement(u.default,o({},this.props,this.state,{filepath:""+c,language:i,content:void 0,readOnly:!1,editorType:"new",descName:n&&"Add "+n}))))))}}]),t}(a.Component);t.default=f},gL5p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"MonacoDiffEditor",{enumerable:!0,get:function(){return o.default}});var r=i(n("j6EG")),o=i(n("4oKn"));function i(e){return e&&e.__esModule?e:{default:e}}},j6EG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=l(n("17x9")),i=l(n("q1tI")),a=n("JwdM");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(u,e);var t,n,o,l=m(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),b(y(t=l.call(this,e)),"assignRef",(function(e){t.containerElement=e})),t.containerElement=void 0,t}return t=u,(n=[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,o=t.language,i=t.theme,a=t.height,l=t.options,u=t.width,s=this.editor,c=s.getModel();if(null!=this.props.value&&this.props.value!==c.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.pushUndoStop(),c.pushEditOperations([],[{range:c.getFullModelRange(),text:n}]),this.editor.pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==o&&r.editor.setModelLanguage(c,o),e.theme!==i&&r.editor.setTheme(i),!s||u===e.width&&a===e.height||s.layout(),e.options!==l){l.model;var f=p(l,["model"]);s.updateOptions(f)}}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"destroyMonaco",value:function(){if(this.editor){this.editor.dispose();var e=this.editor.getModel();e&&e.dispose()}this._subscription&&this._subscription.dispose()}},{key:"initMonaco",value:function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.language,o=t.theme,i=t.options,a=t.overrideServices;this.containerElement&&(Object.assign(i,this.editorWillMount()),this.editor=r.editor.create(this.containerElement,f(f({value:e,language:n},i),o?{theme:o}:{}),a),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(r)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,r),this._subscription=e.onDidChangeModelContent((function(n){t.__prevent_trigger_change_event||t.props.onChange(e.getValue(),n)}))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r={width:(0,a.processSize)(t),height:(0,a.processSize)(n)};return i.default.createElement("div",{ref:this.assignRef,style:r,className:"react-monaco-editor-container"})}}])&&d(t.prototype,n),o&&d(t,o),u}(i.default.Component);O.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),value:o.default.string,defaultValue:o.default.string,language:o.default.string,theme:o.default.string,options:o.default.object,overrideServices:o.default.object,editorDidMount:o.default.func,editorWillMount:o.default.func,onChange:o.default.func},O.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:a.noop,editorWillMount:a.noop,onChange:a.noop};var _=O;t.default=_},lr0e:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/56.fe7d1bc1.chunk.js b/static/js/56.fe7d1bc1.chunk.js new file mode 100644 index 000000000..c7565115e --- /dev/null +++ b/static/js/56.fe7d1bc1.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[56],{"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=l(n("17x9")),i=l(n("q1tI")),a=n("JwdM");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(u,e);var t,n,o,l=h(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),v(g(t=l.call(this,e)),"assignRef",(function(e){t.containerElement=e})),t.containerElement=void 0,t}return t=u,(n=[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.language,o=t.theme,i=t.height,a=t.options,l=t.width,u=this.editor.getModel(),s=u.original,c=u.modified;this.props.original!==s.getValue()&&s.setValue(this.props.original),null!=this.props.value&&this.props.value!==c.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.modifiedEditor.pushUndoStop(),c.pushEditOperations([],[{range:c.getFullModelRange(),text:this.props.value}]),this.editor.modifiedEditor.pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==n&&(r.editor.setModelLanguage(s,n),r.editor.setModelLanguage(c,n)),e.theme!==o&&r.editor.setTheme(o),!this.editor||l===e.width&&i===e.height||this.editor.layout(),e.options!==a&&this.editor.updateOptions(a)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(r)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,r);var n=e.getModel().modified;this._subscription=n.onDidChangeContent((function(e){t.__prevent_trigger_change_event||t.props.onChange(n.getValue(),e)}))}},{key:"initModels",value:function(e,t){var n=this.props.language,o=r.editor.createModel(t,n),i=r.editor.createModel(e,n);this.editor.setModel({original:o,modified:i})}},{key:"initMonaco",value:function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.original,o=t.theme,i=t.options,a=t.overrideServices;this.containerElement&&(this.editorWillMount(),this.editor=r.editor.createDiffEditor(this.containerElement,f(f({},i),o?{theme:o}:{}),a),this.initModels(e,n),this.editorDidMount(this.editor))}},{key:"destroyMonaco",value:function(){if(this.editor){this.editor.dispose();var e=this.editor.getModel(),t=e.original,n=e.modified;t&&t.dispose(),n&&n.dispose()}this._subscription&&this._subscription.dispose()}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r={width:(0,a.processSize)(t),height:(0,a.processSize)(n)};return i.default.createElement("div",{ref:this.assignRef,style:r,className:"react-monaco-editor-container"})}}])&&p(t.prototype,n),o&&p(t,o),u}(i.default.Component);b.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),original:o.default.string,value:o.default.string,defaultValue:o.default.string,language:o.default.string,theme:o.default.string,options:o.default.object,overrideServices:o.default.object,editorDidMount:o.default.func,editorWillMount:o.default.func,onChange:o.default.func},b.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:a.noop,editorWillMount:a.noop,onChange:a.noop};var O=b;t.default=O},BtkW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("W9HT")),o=m(n("2/Rp")),i=m(n("CtXQ")),a=m(n("9yH6")),l=m(n("Vl3Y")),u=m(n("5rEg")),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("04bd"),n("L/Qf"),n("2oDE"),n("K4yd"),n("tULf"),n("1vPl");var c=n("q1tI"),f=m(c),p=n("sYIF"),d=n("eO8H");n("XmZk");var h=m(n("vDqi"));function m(e){return e&&e.__esModule?e:{default:e}}var g=u.default.TextArea;function y(e){return e&&e.length>0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e}function v(e){return e&&e.length>0&&e.indexOf("%2F")>-1?e.replaceAll("%2F","/"):e}var b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidMount=function(){var e=n.props.descName;e&&n.props.form.setFieldsValue({desc:e})},n.componentDidUpdate=function(e){var t=n.props.descName;e&&t&&e.descName!==t&&n.props.form.setFieldsValue({desc:t})},n.changeSubmittype=function(e){n.setState({submitType:e.target.value})},n.changeFileName=function(e){n.setState({filename:e.target.value})},n.subMitFrom=function(){var e=n.props,t=e.filepath,r=e.content,o=e.editor_type,i=n.props.match.params,a=i.branch,l=i.projectsId,u=i.owner,s=n.state,c=s.submitType,f=s.filename;n.setState({isSpin:!0});var p="upload"===o?t:t.substr(1);n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var o="/"+u+"/"+l+"/create_file.json";h.default.post(o,{filepath:f||p,branch:v(a),new_branch:"1"===c?t.branchname:void 0,content:r,message:t.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&e.data.name){if(n.props.showNotification("文件新建成功!"),"1"===c){var r=n.props.getDetail;r&&r()}var o="/"+u+"/"+l+(t.branchname?"/tree/"+y(t.branchname):a?"/tree/"+y(a):"");n.props.history.push(o)}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}))},n.UpdateFile=function(){n.setState({isSpin:!0});var e=n.props,t=e.branch,r=e.detail,o=e.content,i=e.currentBranch,a=n.props.match.params,l=a.projectsId,u=a.owner,s=n.state.submitType,c="/"+u+"/"+l+"/update_file.json",f=i||t;n.props.form.validateFieldsAndScroll((function(e,a){e?n.setState({isSpin:!1}):h.default.put(c,{filepath:r.path,branch:"1"===s?void 0:v(f),new_branch:"1"===s?a.branchname:void 0,content:o,sha:r.sha,message:a.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&1===e.data.status){var r=i||t,o="/"+u+"/"+l+(a.branchname?"/tree/"+y(a.branchname):r?"/tree/"+y(r):"");n.props.history.push(o),n.props.showNotification("文件修改成功!")}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}))},n.state={submitType:"0",filename:"",isSpin:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.submitType,s=t.filename,c=t.isSpin,h=this.props.form.getFieldDecorator,m=this.props.match.params,y=m.branch,b=m.projectsId,O=m.owner,_=this.props,w=_.current_user,j=_.filepath,E=_.projectDetail,M=_.currentBranch,S=this.props.editor_type,P=M||y;return f.default.createElement("div",null,f.default.createElement("span",{className:"df",style:{alignItems:"center"}},f.default.createElement(d.Link,{to:"/"+(w&&w.login),className:"show-user-link"},f.default.createElement("img",{src:(0,p.getImageUrl)("/"+(w&&w.image_url)),alt:"",className:"screwImg"}),f.default.createElement("span",{className:"color-grey-3 ver-middle"},w&&w.username,":")),f.default.createElement("span",{className:"color-grey-8"},"提交变更")),f.default.createElement(r.default,{spinning:c},f.default.createElement("div",{className:"userScrew"},f.default.createElement("div",{className:"screwPanel"},f.default.createElement(l.default,null,f.default.createElement(l.default.Item,{style:{display:"upload"===S?"block":"none"}},h("path",{rules:[]})(f.default.createElement("div",{className:"setInputAddon"},f.default.createElement(u.default,{addonBefore:"/"+(E&&E.identifier)+"/",value:s||j,onChange:this.changeFileName,placeholder:"文件路径..."})))),f.default.createElement(l.default.Item,null,h("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(f.default.createElement(g,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),f.default.createElement(a.default.Group,{value:n,onChange:this.changeSubmittype},f.default.createElement(a.default,{value:"0",className:"mb10"},f.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",f.default.createElement("span",{className:"color-orange"},v(P)),"分支"),f.default.createElement(a.default,{value:"1"},f.default.createElement(i.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",f.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===n?f.default.createElement("div",{className:"mt15"},f.default.createElement(l.default.Item,{style:{paddingLeft:"24px"}},h("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(f.default.createElement(u.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),f.default.createElement("div",{className:"mt20"},f.default.createElement(o.default,{type:"primary",onClick:"update"===S?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),f.default.createElement(o.default,{type:"primary grey",onClick:function(){e.props.history.push("/"+O+"/"+b)},className:"mr20"},"取消"))))}}]),t}(c.Component),O=l.default.create({name:"UserSubmitForm"})(b);t.default=O},JwdM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.processSize=function(e){return/^\d+$/.test(e)?"".concat(e,"px"):e},t.noop=function(){}},PgMy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n("2fM7")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("8QGh");var i=n("q1tI"),a=l(i);l(n("vDqi"));function l(e){return e&&e.__esModule?e:{default:e}}var u=r.default.Option,s=["apex","azcli","bat","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","handlebars","html","ini","java","javascript","json","less","lua","markdown","msdax","mysql","objective","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","ruby","rust","sb","scheme","scss","shell","solidity","sql","st","swift","typescript","vb","xml","yaml"];t.default=function(e){var t=e.language,n=e.select_language,l=(0,i.useState)(void 0),c=o(l,2);c[0],c[1];return a.default.createElement(r.default,{showSearch:!0,placeholder:"请选择文本语言",style:{width:200},value:t,onChange:function(e){n(e)}},a.default.createElement(u,{value:void 0},"请选择文本语言"),s&&s.map((function(e,t){return a.default.createElement(u,{value:e},e)})))}},"R/Rt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n("q1tI"),a=s(i),l=s(n("gL5p")),u=s(n("BtkW"));function s(e){return e&&e.__esModule?e:{default:e}}n("XmZk"),n("lr0e");var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.componentDidUpdate=function(e){e&&n.props&&n.props.content!==e.content&&n.setState({editorValue:n.props.content})},n.changeEditor=function(e){n.setState({editorValue:e})},n.state={editorValue:n.props.content,prevHeight:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=this,t=this.state.editorValue,n=this.props,o=n.readOnly,i=n.editorType,s=n.language,c=n.currentBranch,f=n.descName,p={lineNumbers:"on",wordWrap:!0,selectOnLineNumbers:!0,lineHeight:24,renderLineHighlight:"line",revealHorizontalRightPadding:5,placeholder:"请输入内容",readOnly:o,cursorStyle:o?"underline-thin":"line",folding:!0,foldingStrategy:"indentation",automaticLayout:!0,overviewRulerBorder:!1,scrollBeyondLastLine:!1,minimap:{enabled:!1}};return a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"editorBorderBox"},a.default.createElement(l.default,{language:s||"plaintext",theme:"vs-grey",placeholder:"请输入内容",value:t,options:p,onChange:this.changeEditor,editorWillMount:this.editorWillMount,editorDidMount:function(t,n){t.onDidChangeModelDecorations((function(){requestAnimationFrame(r)}));var r=function(){var r=t.getDomNode();if(r){var o=t.getOption(n.editor.EditorOption.lineHeight),i=t.getModel().getLineCount()||1,a=t.getTopForLineNumber(i+1)+o+40;a<400&&(a=400),e.state.prevHeight!==a&&(e.setState({prevHeight:a}),r.style.height=a+"px",t.layout())}};r()}})),!o&&a.default.createElement("div",{className:"editorBorderSubmitBox",style:{marginTop:"20px",padding:"20px"}},a.default.createElement(u.default,r({},this.props,this.state,{filepath:""+this.props.filepath,content:t,editor_type:i,currentBranch:c,descName:f}))))}}]),t}(i.Component);t.default=c},XmZk:function(e,t,n){},eacs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("5rEg")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n("1vPl");var a=n("q1tI"),l=c(a),u=c(n("R/Rt"));n("XmZk");var s=c(n("PgMy"));function c(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.changeFileName=function(e){n.setState({filename:e.target.value})},n.CancelAddFile=function(){n.props.history.goBack()},n.select_language=function(e){console.log(e),n.setState({language:e})},n.state={editorValue:"",filename:"",language:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this.props.location.pathname,t=this.state,n=t.filename,i=t.language,a=e.split("newfile")[1],c=a+"/"+n,f=this.props.projectDetail;return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"main"},l.default.createElement("p",{className:"pb15 bor-bottom-greyE font-16 color-grey-3 mb20"},"新建文件"),l.default.createElement("div",null,l.default.createElement("div",{className:"grid-item mb20"},l.default.createElement("div",{className:"grid-item"},l.default.createElement("div",{className:"setInputAddon"},l.default.createElement(r.default,{addonBefore:"/"+(f&&f.identifier)+a+"/",value:n,onChange:this.changeFileName,placeholder:"命名文件..."})),l.default.createElement("a",{onClick:this.CancelAddFile,className:"color-blue"},"取消")),l.default.createElement("div",{className:"text-right"},l.default.createElement(s.default,{language:i,select_language:this.select_language}))),l.default.createElement("div",{className:"editorBorder"},l.default.createElement(u.default,o({},this.props,this.state,{filepath:""+c,language:i,content:void 0,readOnly:!1,editorType:"new",descName:n&&"Add "+n}))))))}}]),t}(a.Component);t.default=f},gL5p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"MonacoDiffEditor",{enumerable:!0,get:function(){return o.default}});var r=i(n("j6EG")),o=i(n("4oKn"));function i(e){return e&&e.__esModule?e:{default:e}}},j6EG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=l(n("17x9")),i=l(n("q1tI")),a=n("JwdM");function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(u,e);var t,n,o,l=m(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),b(y(t=l.call(this,e)),"assignRef",(function(e){t.containerElement=e})),t.containerElement=void 0,t}return t=u,(n=[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,o=t.language,i=t.theme,a=t.height,l=t.options,u=t.width,s=this.editor,c=s.getModel();if(null!=this.props.value&&this.props.value!==c.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.pushUndoStop(),c.pushEditOperations([],[{range:c.getFullModelRange(),text:n}]),this.editor.pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==o&&r.editor.setModelLanguage(c,o),e.theme!==i&&r.editor.setTheme(i),!s||u===e.width&&a===e.height||s.layout(),e.options!==l){l.model;var f=p(l,["model"]);s.updateOptions(f)}}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"destroyMonaco",value:function(){if(this.editor){this.editor.dispose();var e=this.editor.getModel();e&&e.dispose()}this._subscription&&this._subscription.dispose()}},{key:"initMonaco",value:function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.language,o=t.theme,i=t.options,a=t.overrideServices;this.containerElement&&(Object.assign(i,this.editorWillMount()),this.editor=r.editor.create(this.containerElement,f(f({value:e,language:n},i),o?{theme:o}:{}),a),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(r)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,r),this._subscription=e.onDidChangeModelContent((function(n){t.__prevent_trigger_change_event||t.props.onChange(e.getValue(),n)}))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r={width:(0,a.processSize)(t),height:(0,a.processSize)(n)};return i.default.createElement("div",{ref:this.assignRef,style:r,className:"react-monaco-editor-container"})}}])&&d(t.prototype,n),o&&d(t,o),u}(i.default.Component);O.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),value:o.default.string,defaultValue:o.default.string,language:o.default.string,theme:o.default.string,options:o.default.object,overrideServices:o.default.object,editorDidMount:o.default.func,editorWillMount:o.default.func,onChange:o.default.func},O.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:a.noop,editorWillMount:a.noop,onChange:a.noop};var _=O;t.default=_},lr0e:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/66.81eb52ec.chunk.js b/static/js/66.81eb52ec.chunk.js new file mode 100644 index 000000000..69f1a2151 --- /dev/null +++ b/static/js/66.81eb52ec.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[66],{"0Rql":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAQCAYAAABtPJ3XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALKADAAQAAAABAAAAEAAAAACYv7IkAAABuElEQVRIDdVWr0/DQBT+ujQowgSZwAAKQkhAoAiGTBT2B+ARM/wIAQx2dgYICdRU4PkDBhM4goYEgwODWBBDIjje17VJV9rudkdIeMmt69137333+n6cg1+StR01L6rqMjwFTFKtA7zKoy0juDl3njhnK6LTTjYaauSjg2PRsqUUSlnaHAdfMu+PVXB41XA+szC6c1aESbbbQQsKVSGF2gqwvgxMTfTMv7wB1/dA6w6Qw9Dlt+UKajakXd2TZeFCzwrZ8TJwtAkszvSjZqcBjtUloHkJvHdRjb7Gbj9S/83Yw1HMPoqpUnPvJ9k0hYdnOdRZOMvwWDCN6cyYSxvLea8zZhkGac9m4YkhNopzJqeR2BD2aJExqysJbLhXd18SZ0w4Ll1xgiWV5v2PsfHePFzRvOtth/lbhMleY9abisKoqV1jD8dcWbp0ZRhsnk63fcEKOrxIlTiRb7PPOsvSpSPEUsTiqVSJg97bcL82Hg7YwdgUWLIGCTHEco9gg0H4vHVjwlEd9ZkBbApFpLlGTJQtvmkN5iGsOh3vBtKa59jB2BR0WjP30LCpGMVv0ti/uvwkif/V9fIbUzmWMlmEs/gAAAAASUVORK5CYII="},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),a=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+a}},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l,r=(a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],l=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(l)}}))),i=c(n("q1tI")),o=c(n("vOnD")),d=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,a=e.column,l=e.id,c=e.login,s=o.default.span(r,a&&"flex-direction: column;text-align:center;",!a&&"\n & span{\n margin-left:8px;\n }");return l?i.default.createElement(d.Link,{to:"/"+c},i.default.createElement(s,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))):i.default.createElement(s,null,t&&i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},VPG4:function(e,t,n){},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(n("3S7+")),l=s(n("CFYs")),r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,l=!1,r=void 0;try{for(var i,o=e[Symbol.iterator]();!(a=(i=o.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&o.return&&o.return()}finally{if(l)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ"),n("D8SU");var i=n("q1tI"),o=s(i),d=n("PhNK"),c=n("spEH");function s(e){return e&&e.__esModule?e:{default:e}}n("js5m"),n("VPG4"),t.default=function(e){var t=e.data,n=e.history,s=e.owner,u=e.projectsId,f=e.parentsSha,m=(0,i.useState)(t&&t.files),p=r(m,2),g=p[0],A=p[1],v=(0,i.useState)("复制文件路径"),h=r(v,2),E=h[0],b=h[1],x=(0,i.useState)(!1),w=r(x,2),y=w[0],N=w[1];function C(e,t,n){if(!n){var a=g.concat();a[t].flag=!e,a.splice(),A(a)}}(0,i.useEffect)((function(){t&&A(t.files)}),[t]),(0,i.useEffect)((function(){document.addEventListener("click",(function(){N(!1)}))}));var k=o.default.createElement("div",{className:"folders"},o.default.createElement("div",{className:"folderList"},g&&g.map((function(e,t){return o.default.createElement("a",{href:"#value"+t},o.default.createElement(c.FlexAJ,{className:"filesInfo",key:t,onClick:function(){e.flag&&C(e.flag,t,e.isBin),N(!1)}},o.default.createElement(c.AlignCenter,null,o.default.createElement("i",{className:"iconfont icon-wenjianicon mr4"}),o.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name},e.name)),o.default.createElement("div",{className:"see-file"},o.default.createElement(a.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0?":":"")+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},o.default.createElement(l.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),e.addition>0&&o.default.createElement("span",{className:"color-green ml10"},"+",e.addition),e.deletion>0&&o.default.createElement("span",{className:"color-red ml10"},"-",e.deletion)))))}))));return o.default.createElement("div",{onClick:function(e){e.nativeEvent.stopImmediatePropagation()}},o.default.createElement(c.AlignCenter,{className:"color-grey-9",style:{position:"relative"}},o.default.createElement("div",{onClick:function(){N(!y)}},o.default.createElement("i",{className:"iconfont mr5 "+(y?"font-18 icon-sanjiaoxing-down":"font-16 icon-triangle")}),o.default.createElement("span",{className:"color-grey-6 update-file-count"},"共有",o.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件 "),"被更改,包括",t&&t.total_addition?o.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?o.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),y&&k),g&&g.length>0&&o.default.createElement("div",{className:"fileList"},g.map((function(e,t){return o.default.createElement("div",{className:"files",key:t},o.default.createElement("a",{id:"value"+t,className:"anchorPoint"}),o.default.createElement(c.FlexAJ,{className:"filesInfo"},o.default.createElement(c.AlignCenter,null,e.isBin?"":o.default.createElement("i",{className:e.flag?"iconfont icon-triangle font-15 color-grey-9":"iconfont icon-sanjiaoxing-down color-grey-9 mt4",onClick:function(){return C(e.flag,t,e.isBin)}}),o.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name,onClick:function(){return C(e.flag,t,e.isBin)}},e.name),o.default.createElement(a.default,{title:E,onVisibleChange:function(){return b("复制文件路径")}},o.default.createElement("i",{className:"iconfont icon-fuzhiicon ml6",onClick:function(){return t=e.name,(n=document.createElement("input")).defaultValue=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="copyCont",n.style.display="none",void b("复制成功");var t,n}}))),o.default.createElement("div",{className:"see-file"},o.default.createElement(a.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0?":":"")+" "+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},o.default.createElement(l.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),o.default.createElement("span",{className:"ml10"},e.addition+e.deletion,"处")),!e.isSubmodule&&o.default.createElement("span",{className:"see-file-btn",onClick:function(){n.push("/"+s+"/"+u+(e.isDeleted?"/commits/"+(0,d.truncateCommitId)(f):"/tree/"+(0,d.truncateCommitId)(e.sha)+"/"+e.name))}},"查看文件"))),e.sections&&e.sections.length>=1&&!e.flag&&o.default.createElement("div",{className:"filesContent"},e.sections.map((function(e,t){return e.lines&&e.lines.length>0&&e.lines.map((function(e,n){return o.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},o.default.createElement("span",{className:"lines"},o.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),o.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),o.default.createElement("p",null,e.content))}))}))))}))))}},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("q1tI"),l=c(a);n("vg9a");var r=n("ud8/"),i=c(r);n("SJMd");var o=c(n("wMS7")),d=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var s=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,u=e.style,f=void 0===u?{}:u,m=e.url,p=String(n),g=(0,a.useMemo)((function(){var e=(0,i.default)(p),t=(0,r.getMathExpressions)();return p.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,r.getTocContent)()),(0,r.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var a=t[n],l=a.type,r=a.expression;return(0,d.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(r)||"",{displayMode:"block"===l,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,r.resetMathExpressions)(),o.default.sanitize(e)}),[p]);(0,a.useEffect)((function(){if(m&&m.hash&&g){var e=m.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[m,g]);var A=(0,a.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var a=document.getElementById(n.replace("#",""));a&&a.scrollIntoView(!0)}}}return(0,a.useEffect)((function(){if(A.current&&g&&g.match(s)&&window.PR.prettyPrint(),A.current)return A.current.addEventListener("click",v),function(){A.current.removeEventListener("click",v),(0,r.resetMathExpressions)(),(0,r.cleanToc)()}}),[g,A.current,v]),l.default.createElement("div",{ref:A,style:f,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:g}})}},cfbA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l,r=b(n("W9HT")),i=b(n("2/Rp")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,l=!1,r=void 0;try{for(var i,o=e[Symbol.iterator]();!(a=(i=o.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&o.return&&o.return()}finally{if(l)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},d=(a=["\n border: 1px solid #FAFCFF;\n margin-bottom:15px;\n & .commitinfos {\n background-color: #f1f8ff;\n border: 1px solid rgba(42, 97, 255, 0.23);\n border-radius: 3px 3px 0px 0px;\n padding: 10px 20px 10px 16px;\n & .markdown-body table{\n background: #f1f8ff;\n }\n & .f-wrap-between{\n align-items: center;\n }\n & .task-hide{\n width: 65rem;\n overflow:hidden;\n white-space:normal;\n word-break:break-all;\n font-weight: bold;\n color: #333333;\n font-size: 16px;\n }\n }\n & > .f-wrap-between {\n padding: 14px 20px 14px 16px;\n border-radius: 3px 3px 0px 0px;\n border: 1px solid #D0D0D0;\n .df{\n align-items: center;\n & .underline:hover{\n text-decoration: underline;\n }\n }\n }\n"],l=["\n border: 1px solid #FAFCFF;\n margin-bottom:15px;\n & .commitinfos {\n background-color: #f1f8ff;\n border: 1px solid rgba(42, 97, 255, 0.23);\n border-radius: 3px 3px 0px 0px;\n padding: 10px 20px 10px 16px;\n & .markdown-body table{\n background: #f1f8ff;\n }\n & .f-wrap-between{\n align-items: center;\n }\n & .task-hide{\n width: 65rem;\n overflow:hidden;\n white-space:normal;\n word-break:break-all;\n font-weight: bold;\n color: #333333;\n font-size: 16px;\n }\n }\n & > .f-wrap-between {\n padding: 14px 20px 14px 16px;\n border-radius: 3px 3px 0px 0px;\n border: 1px solid #D0D0D0;\n .df{\n align-items: center;\n & .underline:hover{\n text-decoration: underline;\n }\n }\n }\n"],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(l)}})));n("04bd"),n("L/Qf");var c=n("q1tI"),s=b(c),u=b(n("vOnD")),f=n("PhNK"),m=n("sYIF"),p=b(n("aABL")),g=b(n("0Rql")),A=b(n("Rs/d")),v=b(n("bjH3")),h=b(n("vDqi")),E=n("eO8H");function b(e){return e&&e.__esModule?e:{default:e}}var x=u.default.div(d);t.default=function(e){var t=e.match,n=e.history,a=(0,c.useState)({undefined:void 0}),l=o(a,2),d=l[0],u=l[1],b=(0,c.useState)(void 0),w=o(b,2),y=w[0],N=w[1],C=(0,c.useState)(void 0),k=o(C,2),I=k[0],j=k[1],S=(0,c.useState)(void 0),M=o(S,2),_=M[0],B=M[1],O=(0,c.useState)(!0),D=o(O,2),T=D[0],P=D[1],R=t.params,L=R.sha,F=R.projectsId,H=R.owner;return(0,c.useEffect)((function(){if(F&&H&&L){var e="/"+H+"/"+F+"/commits/"+L+".json";h.default.get(e).then((function(e){e&&(u(e.data),N(e.data.commit),j(e.data.parents),B(e.data.committer||e.data.commit&&e.data.commit.committer),P(!1))})).catch((function(e){console.log(e)}))}}),[F,H,L]),s.default.createElement("div",{className:"main",style:{padding:"0px",border:"none"}},s.default.createElement(r.default,{spinning:T},s.default.createElement(x,null,s.default.createElement("div",{className:"commitinfos"},s.default.createElement("div",{className:"f-wrap-between"},s.default.createElement("div",null,y&&y.message&&s.default.createElement(v.default,{className:"task-hide",value:y.message}),s.default.createElement(E.Link,{to:"/"+H+"/"+F+"/tree/"+(0,f.truncateCommitId)(L)},s.default.createElement("i",{className:"iconfont icon-fenzhi2 font-18"}),d.branch)),s.default.createElement(i.default,{type:"primary",onClick:function(){n.push("/"+H+"/"+F+"/tree/"+(0,f.truncateCommitId)(L))},className:"btnblue",style:{height:"36px"}},"浏览文件"))),s.default.createElement("div",{className:"f-wrap-between",style:{alignItems:"center"}},s.default.createElement("ul",{className:"df"},s.default.createElement(A.default,{id:_&&_.id,url:_&&(0,m.getImageUrl)("/"+_.image_url),name:_&&_.name,login:_&&_.login}),y&&y.timestamp&&s.default.createElement("li",{className:"ml4"},"提交于",(0,f.timeFormat)(y.timestamp))),s.default.createElement("li",{className:"df"},I&&I.length>0&&I.map((function(e,t){return s.default.createElement("div",{className:"ml40 f-wrap-alignCenter"},s.default.createElement("label",{className:"mr8"},"父节点"),s.default.createElement("img",{src:g.default,alt:"sha",width:"16px",className:"mr4"}),s.default.createElement(E.Link,{to:"/"+H+"/"+F+"/commits/"+(0,f.truncateCommitId)(""+e.sha)+"/"+d.branch,className:"underline"},(0,f.truncateCommitId)(e.sha)))})),s.default.createElement("div",{className:"ml40 f-wrap-alignCenter"},s.default.createElement("label",{className:"mr8"},"当前节点"),s.default.createElement("img",{src:g.default,alt:"sha",width:"16px",className:"mr4"}),s.default.createElement("span",null,(0,f.truncateCommitId)(L)))))),s.default.createElement(p.default,{history:n,data:d,owner:H,projectsId:F,parentsSha:I&&I.length>0&&I[0].sha})))}},js5m:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/67.46be3d2c.chunk.js b/static/js/67.46be3d2c.chunk.js deleted file mode 100644 index 0a26d9ee0..000000000 --- a/static/js/67.46be3d2c.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[67],{"0Rql":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAQCAYAAABtPJ3XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALKADAAQAAAABAAAAEAAAAACYv7IkAAABuElEQVRIDdVWr0/DQBT+ujQowgSZwAAKQkhAoAiGTBT2B+ARM/wIAQx2dgYICdRU4PkDBhM4goYEgwODWBBDIjje17VJV9rudkdIeMmt69137333+n6cg1+StR01L6rqMjwFTFKtA7zKoy0juDl3njhnK6LTTjYaauSjg2PRsqUUSlnaHAdfMu+PVXB41XA+szC6c1aESbbbQQsKVSGF2gqwvgxMTfTMv7wB1/dA6w6Qw9Dlt+UKajakXd2TZeFCzwrZ8TJwtAkszvSjZqcBjtUloHkJvHdRjb7Gbj9S/83Yw1HMPoqpUnPvJ9k0hYdnOdRZOMvwWDCN6cyYSxvLea8zZhkGac9m4YkhNopzJqeR2BD2aJExqysJbLhXd18SZ0w4Ll1xgiWV5v2PsfHePFzRvOtth/lbhMleY9abisKoqV1jD8dcWbp0ZRhsnk63fcEKOrxIlTiRb7PPOsvSpSPEUsTiqVSJg97bcL82Hg7YwdgUWLIGCTHEco9gg0H4vHVjwlEd9ZkBbApFpLlGTJQtvmkN5iGsOh3vBtKa59jB2BR0WjP30LCpGMVv0ti/uvwkif/V9fIbUzmWMlmEs/gAAAAASUVORK5CYII="},PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),a=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+a}},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l,i=(a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],l=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(l)}}))),r=c(n("q1tI")),o=c(n("vOnD")),d=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,a=e.column,l=e.id,c=e.login,s=o.default.span(i,a&&"flex-direction: column;text-align:center;",!a&&"\n & span{\n margin-left:8px;\n }");return l?r.default.createElement(d.Link,{to:"/"+c},r.default.createElement(s,null,t&&r.default.createElement("img",{src:t,alt:""}),r.default.createElement("span",null,n))):r.default.createElement(s,null,t&&r.default.createElement("img",{src:t,alt:""}),r.default.createElement("span",null,n))}},VPG4:function(e,t,n){},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(n("3S7+")),l=s(n("CFYs")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,l=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(a=(r=o.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{!a&&o.return&&o.return()}finally{if(l)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("TfFZ"),n("D8SU");var r=n("q1tI"),o=s(r),d=n("PhNK"),c=n("spEH");function s(e){return e&&e.__esModule?e:{default:e}}n("js5m"),n("VPG4"),t.default=function(e){var t=e.data,n=e.history,s=e.owner,u=e.projectsId,m=e.parentsSha,f=(0,r.useState)(t&&t.files),p=i(f,2),A=p[0],g=p[1],E=(0,r.useState)("复制文件路径"),h=i(E,2),b=h[0],v=h[1],x=(0,r.useState)(!1),w=i(x,2),N=w[0],y=w[1];function C(e,t,n){if(!n){var a=A.concat();a[t].flag=!e,a.splice(),g(a)}}(0,r.useEffect)((function(){t&&g(t.files)}),[t]);var I=o.default.createElement("div",{className:"folders"},o.default.createElement("div",{className:"folderList"},A&&A.map((function(e,t){return o.default.createElement("a",{href:"#value"+t},o.default.createElement(c.FlexAJ,{className:"filesInfo",key:t,onClick:function(){e.flag&&C(e.flag,t,e.isBin),y(!1)}},o.default.createElement(c.AlignCenter,null,o.default.createElement("i",{className:"iconfont icon-wenjianicon mr4"}),o.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name},e.name)),o.default.createElement("div",{className:"see-file"},o.default.createElement(a.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0&&":")+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},o.default.createElement(l.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),e.addition>0&&o.default.createElement("span",{className:"color-green ml10"},"+",e.addition),e.deletion>0&&o.default.createElement("span",{className:"color-red ml10"},"-",e.deletion)))))}))));return o.default.createElement("div",null,o.default.createElement(c.AlignCenter,{className:"color-grey-9",style:{position:"relative"}},o.default.createElement("div",{onClick:function(){y(!N)}},o.default.createElement("i",{className:"iconfont mr5 "+(N?"font-18 icon-sanjiaoxing-down":"font-16 icon-triangle")}),o.default.createElement("span",{className:"color-grey-6 update-file-count"},"共有",o.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件 "),"被更改,包括",t&&t.total_addition?o.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?o.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),N&&I),A&&A.length>0&&o.default.createElement("div",{className:"fileList"},A.map((function(e,t){return o.default.createElement("div",{className:"files",key:t},o.default.createElement("a",{id:"value"+t,className:"anchorPoint"}),o.default.createElement(c.FlexAJ,{className:"filesInfo"},o.default.createElement(c.AlignCenter,null,e.isBin?"":o.default.createElement("i",{className:e.flag?"iconfont icon-triangle font-15 color-grey-9":"iconfont icon-sanjiaoxing-down color-grey-9 mt4",onClick:function(){return C(e.flag,t,e.isBin)}}),o.default.createElement("span",{className:"cursor-pointer","data-clipboard-text":e.name,onClick:function(){return C(e.flag,t,e.isBin)}},e.name),o.default.createElement(a.default,{title:b,onVisibleChange:function(){return v("复制文件路径")}},o.default.createElement("i",{className:"iconfont icon-fuzhiicon ml6",onClick:function(){return t=e.name,(n=document.createElement("input")).defaultValue=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="copyCont",n.style.display="none",void v("复制成功");var t,n}}))),o.default.createElement("div",{className:"see-file"},o.default.createElement(a.default,{placement:"top",title:e.addition+e.deletion+"处更改"+(e.addition+e.deletion>0&&":")+" "+(e.addition>0?e.addition+"处添加":"")+(e.addition>0&&e.deletion>0?"和":"")+(e.deletion>0?e.deletion+"处删除":"")},o.default.createElement(l.default,{showInfo:!1,strokeColor:"#2DB44D",size:"small",percent:e.addition/(e.addition+e.deletion)*100}),o.default.createElement("span",{className:"ml10"},e.addition+e.deletion,"处")),!e.isSubmodule&&o.default.createElement("span",{className:"see-file-btn",onClick:function(){n.push("/"+s+"/"+u+(e.isDeleted?"/commits/"+(0,d.truncateCommitId)(m):"/tree/"+(0,d.truncateCommitId)(e.sha)+"/"+e.name))}},"查看文件"))),e.sections&&e.sections.length>=1&&!e.flag&&o.default.createElement("div",{className:"filesContent"},e.sections.map((function(e,t){return e.lines&&e.lines.length>0&&e.lines.map((function(e,n){return o.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},o.default.createElement("span",{className:"lines"},o.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),o.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),o.default.createElement("p",null,e.content))}))}))))}))))}},cfbA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l,i=b(n("W9HT")),r=b(n("2/Rp")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,l=!1,i=void 0;try{for(var r,o=e[Symbol.iterator]();!(a=(r=o.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{!a&&o.return&&o.return()}finally{if(l)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},d=(a=["\n border: 1px solid #FAFCFF;\n margin-bottom:15px;\n & .commitinfos {\n background-color: #f1f8ff;\n border: 1px solid rgba(42, 97, 255, 0.23);\n border-radius: 3px 3px 0px 0px;\n padding: 10px 20px 10px 16px;\n & .f-wrap-between{\n align-items: center;\n }\n & .task-hide{\n width: 65rem;\n overflow:hidden;\n white-space:normal;\n word-break:break-all;\n font-weight: bold;\n color: #333333;\n font-size: 16px;\n }\n }\n & > .f-wrap-between {\n padding: 14px 20px 14px 16px;\n border-radius: 3px 3px 0px 0px;\n border: 1px solid #D0D0D0;\n .df{\n align-items: center;\n & .underline:hover{\n text-decoration: underline;\n }\n }\n }\n"],l=["\n border: 1px solid #FAFCFF;\n margin-bottom:15px;\n & .commitinfos {\n background-color: #f1f8ff;\n border: 1px solid rgba(42, 97, 255, 0.23);\n border-radius: 3px 3px 0px 0px;\n padding: 10px 20px 10px 16px;\n & .f-wrap-between{\n align-items: center;\n }\n & .task-hide{\n width: 65rem;\n overflow:hidden;\n white-space:normal;\n word-break:break-all;\n font-weight: bold;\n color: #333333;\n font-size: 16px;\n }\n }\n & > .f-wrap-between {\n padding: 14px 20px 14px 16px;\n border-radius: 3px 3px 0px 0px;\n border: 1px solid #D0D0D0;\n .df{\n align-items: center;\n & .underline:hover{\n text-decoration: underline;\n }\n }\n }\n"],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(l)}})));n("04bd"),n("L/Qf");var c=n("q1tI"),s=b(c),u=b(n("vOnD")),m=n("PhNK"),f=n("sYIF"),p=b(n("aABL")),A=b(n("0Rql")),g=b(n("Rs/d")),E=b(n("vDqi")),h=n("eO8H");function b(e){return e&&e.__esModule?e:{default:e}}var v=u.default.div(d);t.default=function(e){var t=e.match,n=e.history,a=(0,c.useState)({undefined:void 0}),l=o(a,2),d=l[0],u=l[1],b=(0,c.useState)(void 0),x=o(b,2),w=x[0],N=x[1],y=(0,c.useState)(void 0),C=o(y,2),I=C[0],k=C[1],j=(0,c.useState)(void 0),S=o(j,2),B=S[0],D=S[1],O=(0,c.useState)(!0),M=o(O,2),P=M[0],F=M[1],_=t.params,R=_.sha,T=_.projectsId,z=_.owner;return(0,c.useEffect)((function(){if(T&&z&&R){var e="/"+z+"/"+T+"/commits/"+R+".json";E.default.get(e).then((function(e){e&&(u(e.data),N(e.data.commit),k(e.data.parents),D(e.data.committer||e.data.commit&&e.data.commit.committer),F(!1))})).catch((function(e){console.log(e)}))}}),[T,z,R]),s.default.createElement("div",{className:"main",style:{padding:"0px",border:"none"}},s.default.createElement(i.default,{spinning:P},s.default.createElement(v,null,s.default.createElement("div",{className:"commitinfos"},s.default.createElement("div",{className:"f-wrap-between"},s.default.createElement("div",null,w&&w.message&&s.default.createElement("pre",{className:"task-hide"},w.message),s.default.createElement(h.Link,{to:"/"+z+"/"+T+"/tree/"+(0,m.truncateCommitId)(R)},s.default.createElement("i",{className:"iconfont icon-fenzhi2 font-18"}),d.branch)),s.default.createElement(r.default,{type:"primary",onClick:function(){n.push("/"+z+"/"+T+"/tree/"+(0,m.truncateCommitId)(R))},className:"btnblue",style:{height:"36px"}},"浏览文件"))),s.default.createElement("div",{className:"f-wrap-between",style:{alignItems:"center"}},s.default.createElement("ul",{className:"df"},s.default.createElement(g.default,{id:B&&B.id,url:B&&(0,f.getImageUrl)("/"+B.image_url),name:B&&B.name,login:B&&B.login}),w&&w.timestamp&&s.default.createElement("li",{className:"ml4"},"提交于",(0,m.timeFormat)(w.timestamp))),s.default.createElement("li",{className:"df"},I&&I.length>0&&I.map((function(e,t){return s.default.createElement("div",{className:"ml40 f-wrap-alignCenter"},s.default.createElement("label",{className:"mr8"},"父节点"),s.default.createElement("img",{src:A.default,alt:"sha",width:"16px",className:"mr4"}),s.default.createElement(h.Link,{to:"/"+z+"/"+T+"/commits/"+(0,m.truncateCommitId)(""+e.sha)+"/"+d.branch,className:"underline"},(0,m.truncateCommitId)(e.sha)))})),s.default.createElement("div",{className:"ml40 f-wrap-alignCenter"},s.default.createElement("label",{className:"mr8"},"当前节点"),s.default.createElement("img",{src:A.default,alt:"sha",width:"16px",className:"mr4"}),s.default.createElement("span",null,(0,m.truncateCommitId)(R)))))),s.default.createElement(p.default,{history:n,data:d,owner:z,projectsId:T,parentsSha:I&&I.length>0&&I[0].sha})))}},js5m:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/66.92909981.chunk.js b/static/js/67.6f64dca0.chunk.js similarity index 99% rename from static/js/66.92909981.chunk.js rename to static/js/67.6f64dca0.chunk.js index c090eafef..e72a02e2a 100644 --- a/static/js/66.92909981.chunk.js +++ b/static/js/67.6f64dca0.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[66,132],{CWnV:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=t("q1tI"),r=l(a),i=l(t("ProS"));function l(e){return e&&e.__esModule?e:{default:e}}t("jett"),n.default=function(e){var n=e.data;return(0,a.useEffect)((function(){var e,t,a,r;n&&(e=n,t=document.getElementById("radar"),a=i.default.init(t),r={color:["#f8e367","#99dfff","#58c0f0","#5ea6ff","#ff9e48","#bcbcbc"],title:{show:!1},legend:{data:["个人能力(personal)","社区平均(average)"],top:"3%",right:"center"},tooltip:{trigger:"item"},radar:{indicator:[{name:"影响力",max:100},{name:"贡献度",max:100},{name:"活跃度",max:100},{name:"项目经验",max:100},{name:"语言能力",max:100}],center:["50%","55%"]},series:[{name:"",type:"radar",data:[{value:e.user&&[e.user.influence,e.user.contribution,e.user.activity,e.user.experience,e.user.language],name:"个人能力(personal)"},{value:e.platform&&[e.platform.influence,e.platform.contribution,e.platform.activity,e.platform.experience,e.platform.language],name:"社区平均(average)"}]}]},a.setOption(r))}),[n]),r.default.createElement("div",{id:"radar",style:{height:"400px"}})}},UDYe:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=t("q1tI"),r=l(a),i=l(t("5j6D"));function l(e){return e&&e.__esModule?e:{default:e}}n.default=function(e){var n=e.data;return(0,a.useEffect)((function(){n&&function(e){for(var n=new i.default(document.getElementById("cloud")),t=e.categories,a=[],r=0;r<t.length;r++)a.push([t[r],t.length-r]);n.setOption({backgroundColor:"transparent",shape:"circle",ellipticity:1,maxFontSize:21,minFontSize:16,tooltip:{show:!1},list:a,color:function(e,n,t,a,r){switch(t){case 21:return"#f8e367";case 20:return"#99dfff";case 19:return"#ff9e48";case 18:return"#5ea6ff";case 17:return"#58c0f0";default:return"#bcbcbc"}}})}(n)}),[n]),r.default.createElement("div",{id:"cloud",style:{height:"120px"}})}},dJxk:function(e,n,t){},kb7D:function(e,n,t){},nAGc:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=t("q1tI"),r=l(a),i=l(t("ProS"));function l(e){return e&&e.__esModule?e:{default:e}}t("wDdD"),n.default=function(e){var n=e.data;return(0,a.useEffect)((function(){var e,t,a,r;n&&(e=n,t=document.getElementById("Pie"),a=i.default.init(t),r={color:["#f8e367","#5ea6ff","#ff9e48","#99dfff"],title:{show:!1},tooltip:{trigger:"item"},legend:{top:"5%",right:"center"},series:[{name:"",type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,itemStyle:{borderRadius:10,borderColor:"#fff",borderWidth:2},label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:"40",fontWeight:"bold"}},labelLine:{show:!1},data:[{value:e.developer&&e.developer.count,name:"开发者"},{value:e.manager&&e.manager.count,name:"管理员"},{value:e.owner&&e.owner.count,name:"创建者"},{value:e.reporter&&e.reporter.count,name:"报告者"}]}]},a.setOption(r))}),[n]),r.default.createElement("div",{id:"Pie",style:{height:"400px"}})}},"oe+v":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=x(t("+eQT")),r=function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,n){var t=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(t.push(l.value),!n||t.length!==n);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&o.return&&o.return()}finally{if(r)throw i}}return t}(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t("U8R4");var i=t("q1tI"),l=x(i);t("kb7D"),t("AH3D"),t("Ynxi"),t("0o9m"),t("2w7y");var o=x(t("nAGc")),d=x(t("UDYe")),c=x(t("CWnV")),u=x(t("qVDV")),p=x(t("wd/R")),f=t("spEH"),s=x(t("vDqi"));function x(e){return e&&e.__esModule?e:{default:e}}var m=a.default.RangePicker;n.default=function(e){var n=e.match.params.username,t=(0,i.useState)(void 0),a=r(t,2),x=a[0],g=a[1],b=(0,i.useState)([]),h=r(b,2),v=h[0],y=h[1],k=(0,i.useState)(void 0),E=r(k,2),w=E[0],B=E[1],D=(0,i.useState)([]),_=r(D,2),C=_[0],j=_[1],N=(0,i.useState)(void 0),A=r(N,2),S=A[0],M=A[1],F=(0,i.useState)(void 0),O=r(F,2),Y=O[0],P=O[1],G=(0,i.useState)(void 0),I=r(G,2),R=I[0],J=I[1],z=(0,i.useState)(void 0),W=r(z,2),q=W[0],U=W[1],L=function(e){return e&&e>(0,p.default)().endOf("day")};function V(){for(var e="#",n=["1","2","3","4","4","5","6","7","8","9","a","b","c","d","e","f"],t=0;t<6;t++){e+=n[parseInt(16*Math.random(),0)]}return e}return(0,i.useEffect)((function(){var e,t,a;e="/users/"+n+"/statistics/role.json",t=x&&x.length>0&&x[0]?Date.parse(x[0])/1e3:void 0,a=x&&x.length>0&&x[1]?Date.parse(x[1])/1e3:void 0,s.default.get(e,{params:{start_time:t,end_time:a}}).then((function(e){e&&e.data&&y(e.data.role)})).catch((function(e){}))}),[x]),(0,i.useEffect)((function(){var e,t,a;e="/users/"+n+"/statistics/develop.json",t=w&&w.length>0&&w[0]?Date.parse(w[0])/1e3:void 0,a=w&&w.length>0&&w[1]?Date.parse(w[1])/1e3:void 0,s.default.get(e,{params:{start_time:t,end_time:a}}).then((function(e){if(e&&e.data){j(e.data);var n=e.data.user&&e.data.user.each_language_score;if(n){var t=[];for(var a in n)t.push([a,n[a]]);t.sort((function(e,n){return n[1]-e[1]})),M(t.slice(0,3))}var r=e.data.user&&e.data.user.languages_percent,i=[];Object.keys(r).map((function(e,n){i.push({name:e,p:parseFloat(100*r[e]).toFixed(1),color:V()})})),P(i)}})).catch((function(e){}))}),[w]),(0,i.useEffect)((function(){var e,t,a;e="/users/"+n+"/statistics/major.json",t=R&&R.length>0&&R[0]?Date.parse(R[0])/1e3:void 0,a=R&&R.length>0&&R[1]?Date.parse(R[1])/1e3:void 0,s.default.get(e,{params:{start_time:t,end_time:a}}).then((function(e){e&&e.data&&U(e.data)})).catch((function(e){}))}),[R]),l.default.createElement("div",null,l.default.createElement("div",{className:"boxes"},l.default.createElement(f.FlexAJ,{style:{marginBottom:"15px"}},l.default.createElement("span",{className:"font-18"},"开发能力"),l.default.createElement(m,{disabledDate:L,onChange:function(e,n){B(n)},format:"YYYY-MM-DD"})),l.default.createElement("div",{className:"echartBox"},l.default.createElement("p",null,"从五个维度刻画你的开发能力:语言能力、影响力、贡献度、活跃度、项目经验,同时可以查看社区平均数据。"),l.default.createElement(c.default,{data:C}),S&&S.length>0&&l.default.createElement("div",{className:"roundBox"},l.default.createElement(u.default,{num:S[0][1],color:"#FF7F69",name:S[0][0]}),S[1]&&l.default.createElement(u.default,{num:S[1][1],color:"#99dfff",name:S[1][0]}),S[2]&&l.default.createElement(u.default,{num:S[2][1],color:"#ff9e48",name:S[2][0]})),Y&&l.default.createElement("div",{className:"pBox"},l.default.createElement("div",{className:"progress"},Y.map((function(e,n){return l.default.createElement("span",{key:e.name,style:{width:e.p+"%",backgroundColor:""+e.color}})}))),l.default.createElement("div",{className:"progresstip"},Y.map((function(e,n){return l.default.createElement("span",{key:e.name},l.default.createElement("i",{className:"zero",style:{backgroundColor:""+e.color}}),l.default.createElement("span",null,e.name),l.default.createElement("span",null,e.p+"%"))})))))),l.default.createElement("div",{className:"boxes"},l.default.createElement(f.FlexAJ,{style:{marginBottom:"15px"}},l.default.createElement("span",{className:"font-18"},"角色定位"),l.default.createElement(m,{disabledDate:L,onChange:function(e,n){g(n)},format:"YYYY-MM-DD"})),l.default.createElement("div",{className:"echartBox"},l.default.createElement("p",null,"根据你在项目开发过程中的工作,对你在项目中扮演的角色进行定位,包括:创建者、管理者、开发者、测试者、文档工作者等。"),l.default.createElement(o.default,{data:v}))),l.default.createElement("div",{className:"boxes"},l.default.createElement(f.FlexAJ,{style:{marginBottom:"15px"}},l.default.createElement("span",{className:"font-18"},"专业定位"),l.default.createElement(m,{disabledDate:L,onChange:function(e,n){J(n)},format:"YYYY-MM-DD"})),l.default.createElement("div",{className:"echartBox"},l.default.createElement("p",null,"展示你擅长、关注、感兴趣的专业范围,通过你参与项目、收藏项目、关注项目、复刻项目等数据来统计。"),l.default.createElement(d.default,{data:q}))))}},qVDV:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a,r=t("q1tI"),i=(a=r)&&a.__esModule?a:{default:a};t("dJxk"),n.default=function(e){var n=e.num,t=e.color,a=e.name;return i.default.createElement("div",{className:"annulusBasics"},i.default.createElement("div",{className:"centerCircle",style:{color:""+t}},i.default.createElement("span",null,i.default.createElement("span",{className:"score"},n),"分"),i.default.createElement("span",null,a)),i.default.createElement("div",{className:"annulusOuter",style:{border:"7px solid "+t}}),n>50?i.default.createElement("div",{className:"leftRectangle",style:{transform:"rotate("+3.6*(n-50)+"deg)"}}):i.default.createElement("div",{className:"leftRectangle"}),n<50?i.default.createElement("div",{className:"rightRectangle",style:{transform:"rotate("+3.6*n+"deg)"}}):i.default.createElement("div",{className:"rightRectangle",style:{background:t}}))}},spEH:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.GroupProjectBackgroup=n.Content=n.Cancel=n.GreenUnder=n.NumUl=n.Redback=n.Blueback=n.Greenback=n.Greenline=n.Redline=n.Blueline=n.WhiteBack=n.Gap=n.Short=n.ShortWidth=n.Long=n.LongWidth=n.Box=n.AlignAJBottom=n.AlignTop=n.AlignCenter=n.FlexAJ=n.AlignCenterBetween=n.Banner=void 0;var a,r=A(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),i=A(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),l=A(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),o=A(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),d=A(["{\n display:flex;\n align-items: flex-start;\n}"],["{\n display:flex;\n align-items: flex-start;\n}"]),c=A(["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"],["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"]),u=A(["{\n display:flex;\n align-items:flex-start;\n}"],["{\n display:flex;\n align-items:flex-start;\n}"]),p=A(["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"]),f=A(["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),s=A(["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"]),x=A(["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"]),m=A(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),g=A(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),b=A(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),h=A(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),v=A(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),y=A(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),k=A(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),E=A(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),w=A(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),B=A(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),D=A(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),_=A(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),C=A(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),j=t("vOnD"),N=(a=j)&&a.__esModule?a:{default:a};function A(e,n){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}n.Banner=N.default.div(r),n.AlignCenterBetween=N.default.div(i),n.FlexAJ=N.default.div(l),n.AlignCenter=N.default.div(o),n.AlignTop=N.default.div(d),n.AlignAJBottom=N.default.div(c),n.Box=N.default.div(u),n.LongWidth=N.default.div(p),n.Long=N.default.div(f),n.ShortWidth=N.default.div(s),n.Short=N.default.div(x),n.Gap=N.default.div(m),n.WhiteBack=N.default.div(g),n.Blueline=N.default.a(b),n.Redline=N.default.a(h,(function(e){return e.bold?"#fff":"#F73030"}),(function(e){return e.bold?"#F73030":"#fff"})),n.Greenline=N.default.a(v,(function(e){return e.bold?"#fff":"#28BD6C"}),(function(e){return e.bold?"#28BD6C":"#fff"})),n.Greenback=N.default.a(y),n.Blueback=N.default.a(k),n.Redback=N.default.a(E),n.NumUl=N.default.ul(w),n.GreenUnder=N.default.a(B),n.Cancel=N.default.a(D),n.Content=N.default.div(_),n.GroupProjectBackgroup=N.default.div(C)}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[67,132],{CWnV:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=t("q1tI"),r=l(a),i=l(t("ProS"));function l(e){return e&&e.__esModule?e:{default:e}}t("jett"),n.default=function(e){var n=e.data;return(0,a.useEffect)((function(){var e,t,a,r;n&&(e=n,t=document.getElementById("radar"),a=i.default.init(t),r={color:["#f8e367","#99dfff","#58c0f0","#5ea6ff","#ff9e48","#bcbcbc"],title:{show:!1},legend:{data:["个人能力(personal)","社区平均(average)"],top:"3%",right:"center"},tooltip:{trigger:"item"},radar:{indicator:[{name:"影响力",max:100},{name:"贡献度",max:100},{name:"活跃度",max:100},{name:"项目经验",max:100},{name:"语言能力",max:100}],center:["50%","55%"]},series:[{name:"",type:"radar",data:[{value:e.user&&[e.user.influence,e.user.contribution,e.user.activity,e.user.experience,e.user.language],name:"个人能力(personal)"},{value:e.platform&&[e.platform.influence,e.platform.contribution,e.platform.activity,e.platform.experience,e.platform.language],name:"社区平均(average)"}]}]},a.setOption(r))}),[n]),r.default.createElement("div",{id:"radar",style:{height:"400px"}})}},UDYe:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=t("q1tI"),r=l(a),i=l(t("5j6D"));function l(e){return e&&e.__esModule?e:{default:e}}n.default=function(e){var n=e.data;return(0,a.useEffect)((function(){n&&function(e){for(var n=new i.default(document.getElementById("cloud")),t=e.categories,a=[],r=0;r<t.length;r++)a.push([t[r],t.length-r]);n.setOption({backgroundColor:"transparent",shape:"circle",ellipticity:1,maxFontSize:21,minFontSize:16,tooltip:{show:!1},list:a,color:function(e,n,t,a,r){switch(t){case 21:return"#f8e367";case 20:return"#99dfff";case 19:return"#ff9e48";case 18:return"#5ea6ff";case 17:return"#58c0f0";default:return"#bcbcbc"}}})}(n)}),[n]),r.default.createElement("div",{id:"cloud",style:{height:"120px"}})}},dJxk:function(e,n,t){},kb7D:function(e,n,t){},nAGc:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=t("q1tI"),r=l(a),i=l(t("ProS"));function l(e){return e&&e.__esModule?e:{default:e}}t("wDdD"),n.default=function(e){var n=e.data;return(0,a.useEffect)((function(){var e,t,a,r;n&&(e=n,t=document.getElementById("Pie"),a=i.default.init(t),r={color:["#f8e367","#5ea6ff","#ff9e48","#99dfff"],title:{show:!1},tooltip:{trigger:"item"},legend:{top:"5%",right:"center"},series:[{name:"",type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,itemStyle:{borderRadius:10,borderColor:"#fff",borderWidth:2},label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:"40",fontWeight:"bold"}},labelLine:{show:!1},data:[{value:e.developer&&e.developer.count,name:"开发者"},{value:e.manager&&e.manager.count,name:"管理员"},{value:e.owner&&e.owner.count,name:"创建者"},{value:e.reporter&&e.reporter.count,name:"报告者"}]}]},a.setOption(r))}),[n]),r.default.createElement("div",{id:"Pie",style:{height:"400px"}})}},"oe+v":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=x(t("+eQT")),r=function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,n){var t=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(t.push(l.value),!n||t.length!==n);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&o.return&&o.return()}finally{if(r)throw i}}return t}(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t("U8R4");var i=t("q1tI"),l=x(i);t("kb7D"),t("AH3D"),t("Ynxi"),t("0o9m"),t("2w7y");var o=x(t("nAGc")),d=x(t("UDYe")),c=x(t("CWnV")),u=x(t("qVDV")),p=x(t("wd/R")),f=t("spEH"),s=x(t("vDqi"));function x(e){return e&&e.__esModule?e:{default:e}}var m=a.default.RangePicker;n.default=function(e){var n=e.match.params.username,t=(0,i.useState)(void 0),a=r(t,2),x=a[0],g=a[1],b=(0,i.useState)([]),h=r(b,2),v=h[0],y=h[1],k=(0,i.useState)(void 0),E=r(k,2),w=E[0],B=E[1],D=(0,i.useState)([]),_=r(D,2),C=_[0],j=_[1],N=(0,i.useState)(void 0),A=r(N,2),S=A[0],M=A[1],F=(0,i.useState)(void 0),O=r(F,2),Y=O[0],P=O[1],G=(0,i.useState)(void 0),I=r(G,2),R=I[0],J=I[1],z=(0,i.useState)(void 0),W=r(z,2),q=W[0],U=W[1],L=function(e){return e&&e>(0,p.default)().endOf("day")};function V(){for(var e="#",n=["1","2","3","4","4","5","6","7","8","9","a","b","c","d","e","f"],t=0;t<6;t++){e+=n[parseInt(16*Math.random(),0)]}return e}return(0,i.useEffect)((function(){var e,t,a;e="/users/"+n+"/statistics/role.json",t=x&&x.length>0&&x[0]?Date.parse(x[0])/1e3:void 0,a=x&&x.length>0&&x[1]?Date.parse(x[1])/1e3:void 0,s.default.get(e,{params:{start_time:t,end_time:a}}).then((function(e){e&&e.data&&y(e.data.role)})).catch((function(e){}))}),[x]),(0,i.useEffect)((function(){var e,t,a;e="/users/"+n+"/statistics/develop.json",t=w&&w.length>0&&w[0]?Date.parse(w[0])/1e3:void 0,a=w&&w.length>0&&w[1]?Date.parse(w[1])/1e3:void 0,s.default.get(e,{params:{start_time:t,end_time:a}}).then((function(e){if(e&&e.data){j(e.data);var n=e.data.user&&e.data.user.each_language_score;if(n){var t=[];for(var a in n)t.push([a,n[a]]);t.sort((function(e,n){return n[1]-e[1]})),M(t.slice(0,3))}var r=e.data.user&&e.data.user.languages_percent,i=[];Object.keys(r).map((function(e,n){i.push({name:e,p:parseFloat(100*r[e]).toFixed(1),color:V()})})),P(i)}})).catch((function(e){}))}),[w]),(0,i.useEffect)((function(){var e,t,a;e="/users/"+n+"/statistics/major.json",t=R&&R.length>0&&R[0]?Date.parse(R[0])/1e3:void 0,a=R&&R.length>0&&R[1]?Date.parse(R[1])/1e3:void 0,s.default.get(e,{params:{start_time:t,end_time:a}}).then((function(e){e&&e.data&&U(e.data)})).catch((function(e){}))}),[R]),l.default.createElement("div",null,l.default.createElement("div",{className:"boxes"},l.default.createElement(f.FlexAJ,{style:{marginBottom:"15px"}},l.default.createElement("span",{className:"font-18"},"开发能力"),l.default.createElement(m,{disabledDate:L,onChange:function(e,n){B(n)},format:"YYYY-MM-DD"})),l.default.createElement("div",{className:"echartBox"},l.default.createElement("p",null,"从五个维度刻画你的开发能力:语言能力、影响力、贡献度、活跃度、项目经验,同时可以查看社区平均数据。"),l.default.createElement(c.default,{data:C}),S&&S.length>0&&l.default.createElement("div",{className:"roundBox"},l.default.createElement(u.default,{num:S[0][1],color:"#FF7F69",name:S[0][0]}),S[1]&&l.default.createElement(u.default,{num:S[1][1],color:"#99dfff",name:S[1][0]}),S[2]&&l.default.createElement(u.default,{num:S[2][1],color:"#ff9e48",name:S[2][0]})),Y&&l.default.createElement("div",{className:"pBox"},l.default.createElement("div",{className:"progress"},Y.map((function(e,n){return l.default.createElement("span",{key:e.name,style:{width:e.p+"%",backgroundColor:""+e.color}})}))),l.default.createElement("div",{className:"progresstip"},Y.map((function(e,n){return l.default.createElement("span",{key:e.name},l.default.createElement("i",{className:"zero",style:{backgroundColor:""+e.color}}),l.default.createElement("span",null,e.name),l.default.createElement("span",null,e.p+"%"))})))))),l.default.createElement("div",{className:"boxes"},l.default.createElement(f.FlexAJ,{style:{marginBottom:"15px"}},l.default.createElement("span",{className:"font-18"},"角色定位"),l.default.createElement(m,{disabledDate:L,onChange:function(e,n){g(n)},format:"YYYY-MM-DD"})),l.default.createElement("div",{className:"echartBox"},l.default.createElement("p",null,"根据你在项目开发过程中的工作,对你在项目中扮演的角色进行定位,包括:创建者、管理者、开发者、测试者、文档工作者等。"),l.default.createElement(o.default,{data:v}))),l.default.createElement("div",{className:"boxes"},l.default.createElement(f.FlexAJ,{style:{marginBottom:"15px"}},l.default.createElement("span",{className:"font-18"},"专业定位"),l.default.createElement(m,{disabledDate:L,onChange:function(e,n){J(n)},format:"YYYY-MM-DD"})),l.default.createElement("div",{className:"echartBox"},l.default.createElement("p",null,"展示你擅长、关注、感兴趣的专业范围,通过你参与项目、收藏项目、关注项目、复刻项目等数据来统计。"),l.default.createElement(d.default,{data:q}))))}},qVDV:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a,r=t("q1tI"),i=(a=r)&&a.__esModule?a:{default:a};t("dJxk"),n.default=function(e){var n=e.num,t=e.color,a=e.name;return i.default.createElement("div",{className:"annulusBasics"},i.default.createElement("div",{className:"centerCircle",style:{color:""+t}},i.default.createElement("span",null,i.default.createElement("span",{className:"score"},n),"分"),i.default.createElement("span",null,a)),i.default.createElement("div",{className:"annulusOuter",style:{border:"7px solid "+t}}),n>50?i.default.createElement("div",{className:"leftRectangle",style:{transform:"rotate("+3.6*(n-50)+"deg)"}}):i.default.createElement("div",{className:"leftRectangle"}),n<50?i.default.createElement("div",{className:"rightRectangle",style:{transform:"rotate("+3.6*n+"deg)"}}):i.default.createElement("div",{className:"rightRectangle",style:{background:t}}))}},spEH:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.GroupProjectBackgroup=n.Content=n.Cancel=n.GreenUnder=n.NumUl=n.Redback=n.Blueback=n.Greenback=n.Greenline=n.Redline=n.Blueline=n.WhiteBack=n.Gap=n.Short=n.ShortWidth=n.Long=n.LongWidth=n.Box=n.AlignAJBottom=n.AlignTop=n.AlignCenter=n.FlexAJ=n.AlignCenterBetween=n.Banner=void 0;var a,r=A(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),i=A(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),l=A(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),o=A(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),d=A(["{\n display:flex;\n align-items: flex-start;\n}"],["{\n display:flex;\n align-items: flex-start;\n}"]),c=A(["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"],["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"]),u=A(["{\n display:flex;\n align-items:flex-start;\n}"],["{\n display:flex;\n align-items:flex-start;\n}"]),p=A(["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"]),f=A(["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),s=A(["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"]),x=A(["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"]),m=A(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),g=A(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),b=A(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),h=A(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),v=A(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),y=A(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),k=A(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),E=A(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),w=A(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),B=A(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),D=A(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),_=A(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),C=A(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),j=t("vOnD"),N=(a=j)&&a.__esModule?a:{default:a};function A(e,n){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}n.Banner=N.default.div(r),n.AlignCenterBetween=N.default.div(i),n.FlexAJ=N.default.div(l),n.AlignCenter=N.default.div(o),n.AlignTop=N.default.div(d),n.AlignAJBottom=N.default.div(c),n.Box=N.default.div(u),n.LongWidth=N.default.div(p),n.Long=N.default.div(f),n.ShortWidth=N.default.div(s),n.Short=N.default.div(x),n.Gap=N.default.div(m),n.WhiteBack=N.default.div(g),n.Blueline=N.default.a(b),n.Redline=N.default.a(h,(function(e){return e.bold?"#fff":"#F73030"}),(function(e){return e.bold?"#F73030":"#fff"})),n.Greenline=N.default.a(v,(function(e){return e.bold?"#fff":"#28BD6C"}),(function(e){return e.bold?"#28BD6C":"#fff"})),n.Greenback=N.default.a(y),n.Blueback=N.default.a(k),n.Redback=N.default.a(E),n.NumUl=N.default.ul(w),n.GreenUnder=N.default.a(B),n.Cancel=N.default.a(D),n.Content=N.default.div(_),n.GroupProjectBackgroup=N.default.div(C)}}]); \ No newline at end of file diff --git a/static/js/75.2490c77d.chunk.js b/static/js/75.330f2718.chunk.js similarity index 99% rename from static/js/75.2490c77d.chunk.js rename to static/js/75.330f2718.chunk.js index 7c9cd5b8f..35b95dee0 100644 --- a/static/js/75.2490c77d.chunk.js +++ b/static/js/75.330f2718.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[75],{"6V0J":function(e,t,n){},KJct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(n("2/Rp")),r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,l=void 0;try{for(var o,u=e[Symbol.iterator]();!(a=(o=u.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,l=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw l}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf");var l=n("q1tI"),o=i(l),u=i(n("vDqi"));function i(e){return e&&e.__esModule?e:{default:e}}n("6V0J"),t.default=function(e){var t=e.is_watch,n=e.fontClass,i=e.starText,s=e.is_block,c=e.id,d=e.successFunc,f=e.notReset,m=(0,l.useState)(!1),p=r(m,2),h=p[0],v=p[1],E=(0,l.useState)(t),y=r(E,2),g=y[0],_=y[1];return o.default.createElement(a.default,{type:g?"default":"primary",ghost:!g,block:s,loading:h,onClick:function(){return e=g,v(!0),void(0,u.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"user",id:c}}).then((function(e){e&&0===e.data.status&&(d&&d(),f&&_(!g)),v(!1)})).catch((function(e){v(!1)}));var e}},g?o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-shixing font-15 text-yellow mr-4"}),o.default.createElement("span",{className:n||"font-12"},"已关注")):o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-kongxing font-15"}),o.default.createElement("span",{className:n},i||"关注")))}},PA6o:function(e,t,n){},RrAk:function(e,t,n){},xjFL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=h(n("W9HT")),r=h(n("BvKs")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n("04bd"),n("2WkQ");var u=n("q1tI"),i=h(u),s=n("eO8H"),c=h(n("KJct")),d=h(n("vDqi")),f=n("sYIF");n("RrAk"),n("7dqz"),n("PA6o");var m=h(n("CnBM")),p=h(n("HUFq"));function h(e){return e&&e.__esModule?e:{default:e}}(0,m.default)({loader:function(){return Promise.all([n.e(2),n.e(21),n.e(132)]).then(n.t.bind(null,"ceR+",7))},loading:p.default});var v=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(65)]).then(n.t.bind(null,"aah+",7))},loading:p.default}),E=(0,m.default)({loader:function(){return n.e(137).then(n.t.bind(null,"A5Ec",7))},loading:p.default}),y=(0,m.default)({loader:function(){return Promise.all([n.e(2),n.e(15),n.e(19),n.e(141),n.e(66)]).then(n.t.bind(null,"oe+v",7))},loading:p.default}),g=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(15),n.e(27)]).then(n.t.bind(null,"Dmw4",7))},loading:p.default}),_=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(55)]).then(n.t.bind(null,"EEGS",7))},loading:p.default}),b=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(108)]).then(n.t.bind(null,"vTxG",7))},loading:p.default}),w=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(122)]).then(n.t.bind(null,"0WPJ",7))},loading:p.default}),N=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(121)]).then(n.t.bind(null,"bkQV",7))},loading:p.default}),k=(0,m.default)({loader:function(){return n.e(114).then(n.t.bind(null,"oeDK",7))},loading:p.default}),S=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.renderPath=function(e){var t=n.props.match.params.username;e==="/"+t?n.setState({menuKey:"0",route_type:void 0}):e==="/"+t+"/statistics"?n.setState({menuKey:"1",route_type:void 0}):e.indexOf("/"+t+"/projects")>-1?n.setState({menuKey:"2",route_type:void 0}):e.indexOf("/"+t+"/notice")>-1?n.setState({menuKey:"3",route_type:void 0}):e.indexOf("/"+t+"/devops")>-1?n.setState({menuKey:"4",route_type:void 0}):e==="/"+t+"/organizes"?n.setState({menuKey:"5",route_type:void 0}):e==="/"+t+"/following"?n.setState({menuKey:void 0,route_type:"following"}):e==="/"+t+"/followers"?n.setState({menuKey:void 0,route_type:"followers"}):n.setState({menuKey:void 0,route_type:void 0})},n.componentDidMount=function(){n.fetchUser();var e=n.props.location.pathname;n.renderPath(e)},n.componentDidUpdate=function(e){var t=n.props.match.params.username,a=e.match.params.username;a&&t&&a!==t&&n.fetchUser();var r=n.props.location.pathname,l=e.location.pathname;l&&r&&l!==r&&n.renderPath(r),n.props.history.listen((function(){(document.body.scrollTop||document.documentElement.scrollTop>0)&&window.scrollTo(0,0)}))},n.fetchUser=function(){n.setState({isSpin:!0});var e=n.props.current_user,t="/users/"+(n.props.match.params.username||e&&e.login)+".json";d.default.get(t).then((function(e){var t=e.data&&e.data.undo_events;n.setState({user:e.data,isSpin:!1,undo_events:t})})).catch((function(e){n.setState({isSpin:!1})}))},n.change_devops_type=function(e){var t=n.state.user;n.setState({project_type:e,route_type:void 0}),n.props.history.push("/"+(t&&t.login)+"/devops/"+e)},n.undo_link=function(){var e=n.state.user;n.setState({route_type:void 0,project_type:"notice"},(function(){n.props.history.push("/"+(e&&e.login)+"/notice"),n.fetchUser()}))},n.route_link=function(e){n.setState({route_type:e})},n.organize_link=function(){var e=n.state.user;n.setState({route_type:void 0,project_type:"organizes"}),n.props.history.push("/"+(e&&e.login)+"/organizes")},n.resetUser=function(){var e=n.props.resetUserInfo;n.fetchUser(),e&&e()},n.deleteUndoEvent=function(e){var t=n.state.undo_events-e;n.setState({undo_events:t})},n.state={isSpin:!1,user:void 0,project_type:void 0,route_type:void 0,undo_events:0,menuKey:"0"},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=this,t=this.props.current_user,n=this.props.match.params.username,o=this.state,u=o.user,d=o.isSpin,m=o.route_type,p=o.undo_events,h=o.menuKey;return i.default.createElement("div",{className:"newMain clearfix"},i.default.createElement(a.default,{spinning:d},i.default.createElement("div",{className:"new-content-flex"},i.default.createElement("div",{className:"list-left",style:{border:"none"}},i.default.createElement("div",{className:"bgcF"},i.default.createElement("div",{className:"list-l-Menu text-center",style:{padding:"20px 25px"}},i.default.createElement("span",{className:"headimg"},i.default.createElement("img",{src:(0,f.getImageUrl)("/"+(u&&u.image_url)),alt:""}),i.default.createElement("span",null,u&&1===u.gender?i.default.createElement("i",{className:"iconfont icon-nan1"}):i.default.createElement("i",{className:"iconfont icon-nv1"}))),i.default.createElement("div",{className:"text-center mt15 font-24 task-hide",title:u&&u.username},u&&u.username),i.default.createElement("div",{className:"userDescription"},u&&u.description),i.default.createElement("div",null,t&&u&&u.login!==t.login&&i.default.createElement("div",{className:"user-info-star-button "},i.default.createElement(c.default,{is_block:!0,is_watch:u.is_watch,id:u.login,fontClass:"font-14 ml5",starText:"关注TA",notReset:!0}))),i.default.createElement("div",{className:"focusBox"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/following",className:"with50 text-center pull-left "+("following"===m?"text-primary":""),onClick:function(){return e.route_link("following")}},i.default.createElement("div",null,t&&u&&u.login===t.login?"我关注的":"TA关注的"),i.default.createElement("span",null,u&&u.watching_count)),i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/followers",onClick:function(){return e.route_link("followers")},className:"with50 text-center pull-left "+("followers"===m?"text-primary":"")},i.default.createElement("div",null,t&&u&&u.login===t.login?"关注我的":"关注TA的"),i.default.createElement("span",null,u&&u.watched_count))),u&&(u.province||u.custom_department||u.email)?i.default.createElement("div",{className:"infoBox"},u.province&&i.default.createElement("div",null,i.default.createElement("i",{className:"iconfont icon-weizhi"}),i.default.createElement("span",null,u.province),i.default.createElement("span",{title:u.city},u.city)),u.custom_department&&i.default.createElement("div",null,i.default.createElement("i",{className:"iconfont icon-danwei"}),i.default.createElement("span",{title:u.custom_department},u.custom_department)),u.email&&i.default.createElement("div",null,i.default.createElement("i",{className:"iconfont icon-youxiangrenzheng"}),i.default.createElement("span",{title:u.email},u.email))):""))),i.default.createElement("div",{className:"list-right"},!m&&h&&i.default.createElement(r.default,{selectedKeys:[h],mode:"horizontal",className:"infosRightMenu"},i.default.createElement(r.default.Item,{key:"0"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)},i.default.createElement("i",{className:"iconfont icon-gailan"}),"概览")),i.default.createElement(r.default.Item,{key:"1"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/statistics"},i.default.createElement("i",{className:"iconfont icon-shujutongji"}),"数据统计")),i.default.createElement(r.default.Item,{key:"2"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/projects"},i.default.createElement("i",{className:"iconfont icon-xiangmu"}),"项目")),t&&u&&u.login===t.login?i.default.createElement(r.default.Item,{key:"3"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/notice"},i.default.createElement("i",{className:"iconfont icon-daibanshixiang"}),"待办事项",p&&p>0?i.default.createElement("span",{className:"menuNum"},"(",p,")"):"")):"",t&&t.login&&t.login===n?i.default.createElement(r.default.Item,{key:"4"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/devops/CIService"},i.default.createElement("i",{className:"iconfont icon-gongzuoliu1"}),"DevOps工作流")):"",i.default.createElement(r.default.Item,{key:"5"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/organizes"},i.default.createElement("i",{className:"iconfont icon-zuzhi"}),"组织",u&&u.user_org_count&&u.user_org_count>0?i.default.createElement("span",{className:"menuNum"},"(",u.user_org_count,")"):""))),u&&i.default.createElement(s.Switch,this.props,i.default.createElement(s.Route,{path:"/:username/following",render:function(){return i.default.createElement(w,l({},e.props,e.state,{userType:"watchers",fetchUser:e.fetchUser}))}}),i.default.createElement(s.Route,{path:"/:username/notice",render:function(){return i.default.createElement(k,l({},e.props,e.state,{deleteUndoEvent:e.deleteUndoEvent}))}}),i.default.createElement(s.Route,{path:"/:username/followers",render:function(){return i.default.createElement(N,l({},e.props,e.state,{userType:"fan_users",fetchUser:e.fetchUser}))}}),i.default.createElement(s.Route,{path:"/:username/devops/CDService",render:function(){return i.default.createElement(E,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/:username/devops/CIService",render:function(){return i.default.createElement(v,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/:username/projects",render:function(){return i.default.createElement(_,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/:username/organizes",render:function(){return i.default.createElement(b,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/:username/statistics",render:function(t){return i.default.createElement(y,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/:username",render:function(t){return i.default.createElement(g,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/",render:function(t){return i.default.createElement(g,l({},e.props,e.state))}}))))))}}]),t}(u.Component);t.default=S}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[75],{"6V0J":function(e,t,n){},KJct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(n("2/Rp")),r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,l=void 0;try{for(var o,u=e[Symbol.iterator]();!(a=(o=u.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,l=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw l}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf");var l=n("q1tI"),o=i(l),u=i(n("vDqi"));function i(e){return e&&e.__esModule?e:{default:e}}n("6V0J"),t.default=function(e){var t=e.is_watch,n=e.fontClass,i=e.starText,s=e.is_block,c=e.id,d=e.successFunc,f=e.notReset,m=(0,l.useState)(!1),p=r(m,2),h=p[0],v=p[1],E=(0,l.useState)(t),y=r(E,2),g=y[0],_=y[1];return o.default.createElement(a.default,{type:g?"default":"primary",ghost:!g,block:s,loading:h,onClick:function(){return e=g,v(!0),void(0,u.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"user",id:c}}).then((function(e){e&&0===e.data.status&&(d&&d(),f&&_(!g)),v(!1)})).catch((function(e){v(!1)}));var e}},g?o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-shixing font-15 text-yellow mr-4"}),o.default.createElement("span",{className:n||"font-12"},"已关注")):o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-kongxing font-15"}),o.default.createElement("span",{className:n},i||"关注")))}},PA6o:function(e,t,n){},RrAk:function(e,t,n){},xjFL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=h(n("W9HT")),r=h(n("BvKs")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n("04bd"),n("2WkQ");var u=n("q1tI"),i=h(u),s=n("eO8H"),c=h(n("KJct")),d=h(n("vDqi")),f=n("sYIF");n("RrAk"),n("7dqz"),n("PA6o");var m=h(n("CnBM")),p=h(n("HUFq"));function h(e){return e&&e.__esModule?e:{default:e}}(0,m.default)({loader:function(){return Promise.all([n.e(2),n.e(21),n.e(132)]).then(n.t.bind(null,"ceR+",7))},loading:p.default});var v=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(65)]).then(n.t.bind(null,"aah+",7))},loading:p.default}),E=(0,m.default)({loader:function(){return n.e(137).then(n.t.bind(null,"A5Ec",7))},loading:p.default}),y=(0,m.default)({loader:function(){return Promise.all([n.e(2),n.e(15),n.e(19),n.e(141),n.e(67)]).then(n.t.bind(null,"oe+v",7))},loading:p.default}),g=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(15),n.e(27)]).then(n.t.bind(null,"Dmw4",7))},loading:p.default}),_=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(55)]).then(n.t.bind(null,"EEGS",7))},loading:p.default}),b=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(108)]).then(n.t.bind(null,"vTxG",7))},loading:p.default}),w=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(122)]).then(n.t.bind(null,"0WPJ",7))},loading:p.default}),N=(0,m.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(121)]).then(n.t.bind(null,"bkQV",7))},loading:p.default}),k=(0,m.default)({loader:function(){return n.e(114).then(n.t.bind(null,"oeDK",7))},loading:p.default}),S=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.renderPath=function(e){var t=n.props.match.params.username;e==="/"+t?n.setState({menuKey:"0",route_type:void 0}):e==="/"+t+"/statistics"?n.setState({menuKey:"1",route_type:void 0}):e.indexOf("/"+t+"/projects")>-1?n.setState({menuKey:"2",route_type:void 0}):e.indexOf("/"+t+"/notice")>-1?n.setState({menuKey:"3",route_type:void 0}):e.indexOf("/"+t+"/devops")>-1?n.setState({menuKey:"4",route_type:void 0}):e==="/"+t+"/organizes"?n.setState({menuKey:"5",route_type:void 0}):e==="/"+t+"/following"?n.setState({menuKey:void 0,route_type:"following"}):e==="/"+t+"/followers"?n.setState({menuKey:void 0,route_type:"followers"}):n.setState({menuKey:void 0,route_type:void 0})},n.componentDidMount=function(){n.fetchUser();var e=n.props.location.pathname;n.renderPath(e)},n.componentDidUpdate=function(e){var t=n.props.match.params.username,a=e.match.params.username;a&&t&&a!==t&&n.fetchUser();var r=n.props.location.pathname,l=e.location.pathname;l&&r&&l!==r&&n.renderPath(r),n.props.history.listen((function(){(document.body.scrollTop||document.documentElement.scrollTop>0)&&window.scrollTo(0,0)}))},n.fetchUser=function(){n.setState({isSpin:!0});var e=n.props.current_user,t="/users/"+(n.props.match.params.username||e&&e.login)+".json";d.default.get(t).then((function(e){var t=e.data&&e.data.undo_events;n.setState({user:e.data,isSpin:!1,undo_events:t})})).catch((function(e){n.setState({isSpin:!1})}))},n.change_devops_type=function(e){var t=n.state.user;n.setState({project_type:e,route_type:void 0}),n.props.history.push("/"+(t&&t.login)+"/devops/"+e)},n.undo_link=function(){var e=n.state.user;n.setState({route_type:void 0,project_type:"notice"},(function(){n.props.history.push("/"+(e&&e.login)+"/notice"),n.fetchUser()}))},n.route_link=function(e){n.setState({route_type:e})},n.organize_link=function(){var e=n.state.user;n.setState({route_type:void 0,project_type:"organizes"}),n.props.history.push("/"+(e&&e.login)+"/organizes")},n.resetUser=function(){var e=n.props.resetUserInfo;n.fetchUser(),e&&e()},n.deleteUndoEvent=function(e){var t=n.state.undo_events-e;n.setState({undo_events:t})},n.state={isSpin:!1,user:void 0,project_type:void 0,route_type:void 0,undo_events:0,menuKey:"0"},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=this,t=this.props.current_user,n=this.props.match.params.username,o=this.state,u=o.user,d=o.isSpin,m=o.route_type,p=o.undo_events,h=o.menuKey;return i.default.createElement("div",{className:"newMain clearfix"},i.default.createElement(a.default,{spinning:d},i.default.createElement("div",{className:"new-content-flex"},i.default.createElement("div",{className:"list-left",style:{border:"none"}},i.default.createElement("div",{className:"bgcF"},i.default.createElement("div",{className:"list-l-Menu text-center",style:{padding:"20px 25px"}},i.default.createElement("span",{className:"headimg"},i.default.createElement("img",{src:(0,f.getImageUrl)("/"+(u&&u.image_url)),alt:""}),i.default.createElement("span",null,u&&1===u.gender?i.default.createElement("i",{className:"iconfont icon-nan1"}):i.default.createElement("i",{className:"iconfont icon-nv1"}))),i.default.createElement("div",{className:"text-center mt15 font-24 task-hide",title:u&&u.username},u&&u.username),i.default.createElement("div",{className:"userDescription"},u&&u.description),i.default.createElement("div",null,t&&u&&u.login!==t.login&&i.default.createElement("div",{className:"user-info-star-button "},i.default.createElement(c.default,{is_block:!0,is_watch:u.is_watch,id:u.login,fontClass:"font-14 ml5",starText:"关注TA",notReset:!0}))),i.default.createElement("div",{className:"focusBox"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/following",className:"with50 text-center pull-left "+("following"===m?"text-primary":""),onClick:function(){return e.route_link("following")}},i.default.createElement("div",null,t&&u&&u.login===t.login?"我关注的":"TA关注的"),i.default.createElement("span",null,u&&u.watching_count)),i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/followers",onClick:function(){return e.route_link("followers")},className:"with50 text-center pull-left "+("followers"===m?"text-primary":"")},i.default.createElement("div",null,t&&u&&u.login===t.login?"关注我的":"关注TA的"),i.default.createElement("span",null,u&&u.watched_count))),u&&(u.province||u.custom_department||u.email)?i.default.createElement("div",{className:"infoBox"},u.province&&i.default.createElement("div",null,i.default.createElement("i",{className:"iconfont icon-weizhi"}),i.default.createElement("span",null,u.province),i.default.createElement("span",{title:u.city},u.city)),u.custom_department&&i.default.createElement("div",null,i.default.createElement("i",{className:"iconfont icon-danwei"}),i.default.createElement("span",{title:u.custom_department},u.custom_department)),u.email&&i.default.createElement("div",null,i.default.createElement("i",{className:"iconfont icon-youxiangrenzheng"}),i.default.createElement("span",{title:u.email},u.email))):""))),i.default.createElement("div",{className:"list-right"},!m&&h&&i.default.createElement(r.default,{selectedKeys:[h],mode:"horizontal",className:"infosRightMenu"},i.default.createElement(r.default.Item,{key:"0"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)},i.default.createElement("i",{className:"iconfont icon-gailan"}),"概览")),i.default.createElement(r.default.Item,{key:"1"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/statistics"},i.default.createElement("i",{className:"iconfont icon-shujutongji"}),"数据统计")),i.default.createElement(r.default.Item,{key:"2"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/projects"},i.default.createElement("i",{className:"iconfont icon-xiangmu"}),"项目")),t&&u&&u.login===t.login?i.default.createElement(r.default.Item,{key:"3"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/notice"},i.default.createElement("i",{className:"iconfont icon-daibanshixiang"}),"待办事项",p&&p>0?i.default.createElement("span",{className:"menuNum"},"(",p,")"):"")):"",t&&t.login&&t.login===n?i.default.createElement(r.default.Item,{key:"4"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/devops/CIService"},i.default.createElement("i",{className:"iconfont icon-gongzuoliu1"}),"DevOps工作流")):"",i.default.createElement(r.default.Item,{key:"5"},i.default.createElement(s.Link,{to:"/"+(u&&u.login)+"/organizes"},i.default.createElement("i",{className:"iconfont icon-zuzhi"}),"组织",u&&u.user_org_count&&u.user_org_count>0?i.default.createElement("span",{className:"menuNum"},"(",u.user_org_count,")"):""))),u&&i.default.createElement(s.Switch,this.props,i.default.createElement(s.Route,{path:"/:username/following",render:function(){return i.default.createElement(w,l({},e.props,e.state,{userType:"watchers",fetchUser:e.fetchUser}))}}),i.default.createElement(s.Route,{path:"/:username/notice",render:function(){return i.default.createElement(k,l({},e.props,e.state,{deleteUndoEvent:e.deleteUndoEvent}))}}),i.default.createElement(s.Route,{path:"/:username/followers",render:function(){return i.default.createElement(N,l({},e.props,e.state,{userType:"fan_users",fetchUser:e.fetchUser}))}}),i.default.createElement(s.Route,{path:"/:username/devops/CDService",render:function(){return i.default.createElement(E,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/:username/devops/CIService",render:function(){return i.default.createElement(v,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/:username/projects",render:function(){return i.default.createElement(_,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/:username/organizes",render:function(){return i.default.createElement(b,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/:username/statistics",render:function(t){return i.default.createElement(y,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/:username",render:function(t){return i.default.createElement(g,l({},e.props,e.state))}}),i.default.createElement(s.Route,{path:"/",render:function(t){return i.default.createElement(g,l({},e.props,e.state))}}))))))}}]),t}(u.Component);t.default=S}}]); \ No newline at end of file diff --git a/static/js/79.8edb03bc.chunk.js b/static/js/79.8dcee5cb.chunk.js similarity index 55% rename from static/js/79.8edb03bc.chunk.js rename to static/js/79.8dcee5cb.chunk.js index 36a28325e..49991f0a6 100644 --- a/static/js/79.8edb03bc.chunk.js +++ b/static/js/79.8dcee5cb.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[79],{Hsgt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(n("5rEg"));n("1vPl");var l=r(n("q1tI"));function r(e){return e&&e.__esModule?e:{default:e}}var i=a.default.Search;t.default=function(e){var t=e.placeholder,n=e.onSearch,a=e.onChange;return l.default.createElement(i,{allowClear:!0,placeholder:t,enterButton:"搜索",onSearch:n,width:"300px",onChange:a})}},Lr7t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=c(["{\n display:flex;\n align-item:center;\n }"],["{\n display:flex;\n align-item:center;\n }"]),l=c(["{\n display:flex;\n align-item:center;\n margin-left:30px;\n padding:0px 12px;\n border-radius:13px;\n background-color:#EBF4FE;\n height:24px;\n line-height:24px;\n font-size:12px;\n }"],["{\n display:flex;\n align-item:center;\n margin-left:30px;\n padding:0px 12px;\n border-radius:13px;\n background-color:#EBF4FE;\n height:24px;\n line-height:24px;\n font-size:12px;\n }"]),r=c(["{\n display:flex;\n align-items:center;\n margin-left:30px;\n padding:0px 12px;\n border-radius:13px;\n background-color:#FFF3DC;\n height:24px;\n line-height:24px;\n font-size:12px;\n }"],["{\n display:flex;\n align-items:center;\n margin-left:30px;\n padding:0px 12px;\n border-radius:13px;\n background-color:#FFF3DC;\n height:24px;\n line-height:24px;\n font-size:12px;\n }"]),i=o(n("q1tI")),u=o(n("vOnD"));function o(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.default=function(e){var t=e.fork,n=e.parise,o=u.default.div(a),c=u.default.span(l),f=u.default.span(r);return i.default.createElement(o,null,t||0===t?i.default.createElement(c,null,i.default.createElement("i",{className:"iconfont icon-fork font-15 mr3",style:{color:"#1B8FFF"}}),"fork(",t,")"):"",n||0===n?i.default.createElement(f,null,i.default.createElement("i",{className:"iconfont icon-guanzhu font-14 mr3",style:{color:"#FFA802"}}),"点赞(",n,")"):"")}},POMS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("3S7+"));n("TfFZ");var l=u(n("q1tI")),r=u(n("Lr7t")),i=n("eO8H");function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.item,n=e.key,u=e.OIdentifier;return l.default.createElement("div",{className:"team_project",key:n},l.default.createElement("p",{className:"t_p_title"},l.default.createElement("span",{className:"flex1"},l.default.createElement(i.Link,{to:"/"+u+"/"+t.identifier,className:"name"},t.name),t.forked_from_project_id&&l.default.createElement("i",{className:"iconfont icon-fork font-18 color-orange ml8"}),t.type&&0!==t.type?2===t.type?l.default.createElement(a.default,{title:"该项目是一个镜像",className:"ml8"},l.default.createElement("i",{className:"iconfont icon-banbenku font-18 color-green"})):l.default.createElement("span",{className:"ml8"},l.default.createElement("i",{className:"iconfont icon-jingxiang font-18 color-green"})):""),l.default.createElement(r.default,{fork:t.forked_count,parise:t.praises_count})),l.default.createElement("div",{className:"desc"},t.description),l.default.createElement("div",{className:"infos"},l.default.createElement("span",{className:"font-12 color-grey-8"},"更新于",t.time_ago)))}},"r5/a":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,l=!1,r=void 0;try{for(var i,u=e[Symbol.iterator]();!(a=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&u.return&&u.return()}finally{if(l)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=x(["{\n color:#888;\n font-size:12px;\n margin-right:10px;\n}"],["{\n color:#888;\n font-size:12px;\n margin-right:10px;\n}"]),r=x(["{\n display:flex;\n aligin:center;\n}"],["{\n display:flex;\n aligin:center;\n}"]),i=x(["{\n font-size:14px;\n color:#333;\n margin-bottom:8px;\n height:18px;\n line-height:18px;\n}"],["{\n font-size:14px;\n color:#333;\n margin-bottom:8px;\n height:18px;\n line-height:18px;\n}"]),u=x(["{\n color:#5091FF;\n font-size:14px;\n margin-bottom:8px;\n height:18px;\n line-height:18px;\n}"],["{\n color:#5091FF;\n font-size:14px;\n margin-bottom:8px;\n height:18px;\n line-height:18px;\n}"]),o=x(["{\n border-radius:50%;\n width:45px;\n height:45px;\n margin-right:12px;\n}"],["{\n border-radius:50%;\n width:45px;\n height:45px;\n margin-right:12px;\n}"]),c=n("q1tI"),f=v(c),d=v(n("vOnD")),s=v(n("yQnu")),m=v(n("vDqi")),p=n("sYIF"),g=n("eO8H"),h=v(n("2CTR")),E=v(n("aqs5"));function v(e){return e&&e.__esModule?e:{default:e}}function x(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var y=d.default.span(l),_=d.default.div(r),b=d.default.div(i),N=d.default.div(u),k=d.default.img(o);t.default=function(e){var t=e.OIdentifier,n=e.history,l=e.admin,r=e.showCompeleteDialog,i=e.completeProfile,u=(0,c.useState)(void 0),o=a(u,2),d=o[0],v=o[1],x=(0,c.useState)(void 0),j=a(x,2),O=j[0],w=j[1];return(0,c.useEffect)((function(){var e;t&&(e="/organizations/"+t+"/organization_users.json",m.default.get(e,{params:{limit:5}}).then((function(e){e&&e.data&&v(e.data)})).catch((function(e){})),function(e){var t="/organizations/"+e+"/teams.json";m.default.get(t,{params:{limit:5}}).then((function(e){e&&e.data&&w(e.data)})).catch((function(e){}))}(t))}),[t]),f.default.createElement("div",{className:"list-r"},d&&d.organization_users&&d.organization_users.length>0?f.default.createElement(s.default,{name:"组织成员",count:d&&d.total_count,url:"/"+t+"/members"},d.organization_users.map((function(e,t){return f.default.createElement("div",{className:"teammembers",key:t},f.default.createElement(g.Link,{to:"/"+(e.user&&e.user.login)},f.default.createElement(k,{src:(0,p.getImageUrl)("/"+(e.user&&e.user.image_url)),alt:"",className:"m-img"})),f.default.createElement("div",null,f.default.createElement(g.Link,{to:"/"+(e.user&&e.user.login)},f.default.createElement(b,null,e.user&&e.user.name)),f.default.createElement(_,null,f.default.createElement("i",{className:"iconfont icon-shijian color-green mr3 font-13"}),f.default.createElement(y,null,"加入时间:",e.created_at))))}))):"",f.default.createElement(s.default,{name:"组织团队",count:O&&O.total_count,bottom:l&&f.default.createElement(E.default,{showCompeleteDialog:r,completeProfile:i,sureFunc:function(){return n.push("/"+t+"/teams/new")},className:"ant-btn ant-btn-primary"},"新建团队"),url:"/"+t+"/teams"},O&&O.teams&&O.teams.length>0?f.default.createElement(f.default.Fragment,null,O.teams.map((function(e,n){return f.default.createElement("div",{className:"teammembers",key:n},f.default.createElement("div",null,e.is_admin||e.is_member?f.default.createElement(g.Link,{to:"/"+t+"/teams/"+e.id},f.default.createElement(N,null,e.nickname)):f.default.createElement(N,null,e.name),f.default.createElement(_,null,f.default.createElement(y,null,e.num_users,"名成员"),f.default.createElement(y,null,e.num_projects,"个仓库"))))}))):f.default.createElement(h.default,{_html:"暂无团队",small:!0})))}},wZuH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=v(n("NUBc")),l=v(n("W9HT")),r=v(n("jsC+")),i=v(n("BvKs")),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,l=!1,r=void 0;try{for(var i,u=e[Symbol.iterator]();!(a=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&u.return&&u.return()}finally{if(l)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("YQTV"),n("04bd"),n("aIZi"),n("2WkQ");var c=n("q1tI"),f=v(c),d=(n("eO8H"),v(n("Hsgt"))),s=v(n("y6GU"));n("VUSe");var m=v(n("POMS")),p=v(n("r5/a")),g=v(n("2CTR")),h=v(n("aqs5")),E=v(n("vDqi"));function v(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,c.useState)(void 0),n=o(t,2),v=n[0],x=n[1],y=(0,c.useState)(!1),_=o(y,2),b=_[0],N=_[1],k=(0,c.useState)(void 0),j=o(k,2),O=j[0],w=j[1],F=(0,c.useState)(void 0),z=o(F,2),I=z[0],S=z[1],P=(0,c.useState)(1),C=o(P,2),M=C[0],q=C[1],D=(0,c.useState)("updated_on"),B=o(D,2),H=B[0],A=B[1],L=(0,c.useState)("asc"),T=o(L,2),U=T[0],Q=(T[1],e.match.params.OIdentifier),R=e.organizeDetail;(0,c.useEffect)((function(){var e;Q&&(N(!0),e="/organizations/"+Q+"/projects.json",E.default.get(e,{params:{search:I,page:M,limit:15,sort_by:H,sort_direction:U}}).then((function(e){e&&e.data&&(x(e.data.projects),w(e.data.total_count)),N(!1)})).catch((function(e){N(!1)})))}),[Q,H,M,I]);var Z=f.default.createElement(i.default,{onClick:function(e){return A(e.key)}},f.default.createElement(i.default.Item,{key:"updated_on"},"更新时间排序"),f.default.createElement(i.default.Item,{key:"created_on"},"创建时间排序"),f.default.createElement(i.default.Item,{key:"praises_count"},"点赞数排序"),f.default.createElement(i.default.Item,{key:"forked_count"},"fork数排序")),G=f.default.createElement("ul",null,f.default.createElement("li",null,f.default.createElement(h.default,u({},e,{sureFunc:function(){e.history.push("/projects/deposit/new/"+Q)}}),"新建项目")),f.default.createElement("li",null,f.default.createElement(h.default,u({},e,{sureFunc:function(){e.history.push("/projects/mirror/new/"+Q)}}),"导入项目")));return f.default.createElement("div",{className:"list"},f.default.createElement("div",{className:"list-l"},f.default.createElement("div",null,f.default.createElement("div",{className:"head"},f.default.createElement("div",{style:{width:"370px"}},f.default.createElement(d.default,{placeholder:"输入仓库名称进行搜索",onSearch:function(e){S(e)}})),f.default.createElement("p",null,R&&R.can_create_project?f.default.createElement(s.default,{menu:G,overlayClassName:"newPopUl"},f.default.createElement("a",{className:"addBtn mr30"},"+ 新建项目")):"",f.default.createElement(r.default,{overlay:Z},f.default.createElement("a",{className:"color-blue"},"排序",f.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14"}))))),f.default.createElement(l.default,{spinning:b},f.default.createElement("div",{className:"team"},v&&v.length>0?v.map((function(e,t){return f.default.createElement(m.default,{item:e,keu:t,OIdentifier:Q})})):f.default.createElement(g.default,{_html:"暂无数据"})))),O>15&&f.default.createElement("div",{className:"mb20 mt20",style:{textAlign:"center"}},f.default.createElement(a.default,{simple:!0,current:M,total:O,onChange:function(e){return q(e)}}))),f.default.createElement(p.default,{admin:R&&R.is_admin,OIdentifier:Q,showCompeleteDialog:e.showCompeleteDialog,completeProfile:e.completeProfile,history:e.history}))}},y6GU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(n("diRs"));n("Aosp");var l=r(n("q1tI"));function r(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.menu,n=e.children,r=e.overlayClassName;return l.default.createElement(a.default,{content:t,trigger:["click"],placement:"bottom",overlayClassName:r},n)}},yQnu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l=n("q1tI"),r=(a=l)&&a.__esModule?a:{default:a},i=n("eO8H");t.default=function(e){var t=e.name,n=e.count,a=e.bottom,l=e.children,u=e.url;return r.default.createElement("div",{className:"box"},r.default.createElement("div",{className:"head"},r.default.createElement("span",{className:"font-16"},t),r.default.createElement(i.Link,{to:u},n,r.default.createElement("i",{className:"iconfont icon-youjiantou font-12 ml3"}))),r.default.createElement("div",{className:"content"},l),a?r.default.createElement("div",{className:"foot"},a):"")}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[79],{Hsgt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(n("5rEg"));n("1vPl");var l=r(n("q1tI"));function r(e){return e&&e.__esModule?e:{default:e}}var i=a.default.Search;t.default=function(e){var t=e.placeholder,n=e.onSearch,a=e.onChange;return l.default.createElement(i,{allowClear:!0,placeholder:t,enterButton:"搜索",onSearch:n,width:"300px",onChange:a})}},Lr7t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=c(["{\n display:flex;\n align-item:center;\n }"],["{\n display:flex;\n align-item:center;\n }"]),l=c(["{\n display:flex;\n align-item:center;\n margin-left:30px;\n padding:0px 12px;\n border-radius:13px;\n background-color:#EBF4FE;\n height:24px;\n line-height:24px;\n font-size:12px;\n }"],["{\n display:flex;\n align-item:center;\n margin-left:30px;\n padding:0px 12px;\n border-radius:13px;\n background-color:#EBF4FE;\n height:24px;\n line-height:24px;\n font-size:12px;\n }"]),r=c(["{\n display:flex;\n align-items:center;\n margin-left:30px;\n padding:0px 12px;\n border-radius:13px;\n background-color:#FFF3DC;\n height:24px;\n line-height:24px;\n font-size:12px;\n }"],["{\n display:flex;\n align-items:center;\n margin-left:30px;\n padding:0px 12px;\n border-radius:13px;\n background-color:#FFF3DC;\n height:24px;\n line-height:24px;\n font-size:12px;\n }"]),i=o(n("q1tI")),u=o(n("vOnD"));function o(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.default=function(e){var t=e.fork,n=e.parise,o=u.default.div(a),c=u.default.span(l),d=u.default.span(r);return i.default.createElement(o,null,t||0===t?i.default.createElement(c,null,i.default.createElement("i",{className:"iconfont icon-fork font-15 mr3",style:{color:"#1B8FFF"}}),"fork(",t,")"):"",n||0===n?i.default.createElement(d,null,i.default.createElement("i",{className:"iconfont icon-guanzhu font-14 mr3",style:{color:"#FFA802"}}),"点赞(",n,")"):"")}},POMS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("3S7+"));n("TfFZ");var l=u(n("q1tI")),r=u(n("Lr7t")),i=n("eO8H");function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.item,n=e.key,u=e.OIdentifier;return l.default.createElement("div",{className:"team_project",key:n},l.default.createElement("p",{className:"t_p_title"},l.default.createElement("span",{className:"flex1"},l.default.createElement(i.Link,{to:"/"+u+"/"+t.identifier,className:"name"},t.name),t.forked_from_project_id&&l.default.createElement("i",{className:"iconfont icon-fork font-18 color-orange ml8"}),t.type&&0!==t.type?2===t.type?l.default.createElement(a.default,{title:"该项目是一个镜像",className:"ml8"},l.default.createElement("i",{className:"iconfont icon-banbenku font-18 color-green"})):l.default.createElement("span",{className:"ml8"},l.default.createElement("i",{className:"iconfont icon-jingxiang font-18 color-green"})):""),l.default.createElement(r.default,{fork:t.forked_count,parise:t.praises_count})),l.default.createElement("div",{className:"desc"},t.description),l.default.createElement("div",{className:"infos"},l.default.createElement("span",{className:"font-12 color-grey-8"},"更新于",t.time_ago)))}},"r5/a":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,l=!1,r=void 0;try{for(var i,u=e[Symbol.iterator]();!(a=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&u.return&&u.return()}finally{if(l)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=x(["{\n color:#888;\n font-size:12px;\n margin-right:10px;\n}"],["{\n color:#888;\n font-size:12px;\n margin-right:10px;\n}"]),r=x(["{\n display:flex;\n aligin:center;\n}"],["{\n display:flex;\n aligin:center;\n}"]),i=x(["{\n font-size:14px;\n color:#333;\n margin-bottom:8px;\n height:18px;\n line-height:18px;\n}"],["{\n font-size:14px;\n color:#333;\n margin-bottom:8px;\n height:18px;\n line-height:18px;\n}"]),u=x(["{\n color:#5091FF;\n font-size:14px;\n margin-bottom:8px;\n height:18px;\n line-height:18px;\n}"],["{\n color:#5091FF;\n font-size:14px;\n margin-bottom:8px;\n height:18px;\n line-height:18px;\n}"]),o=x(["{\n border-radius:50%;\n width:45px;\n height:45px;\n margin-right:12px;\n}"],["{\n border-radius:50%;\n width:45px;\n height:45px;\n margin-right:12px;\n}"]),c=n("q1tI"),d=v(c),f=v(n("vOnD")),s=v(n("yQnu")),m=v(n("vDqi")),p=n("sYIF"),g=n("eO8H"),h=v(n("2CTR")),E=v(n("aqs5"));function v(e){return e&&e.__esModule?e:{default:e}}function x(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var y=f.default.span(l),_=f.default.div(r),b=f.default.div(i),N=f.default.div(u),k=f.default.img(o);t.default=function(e){var t=e.OIdentifier,n=e.history,l=e.admin,r=e.showCompeleteDialog,i=e.completeProfile,u=(0,c.useState)(void 0),o=a(u,2),f=o[0],v=o[1],x=(0,c.useState)(void 0),j=a(x,2),O=j[0],w=j[1];return(0,c.useEffect)((function(){var e;t&&(e="/organizations/"+t+"/organization_users.json",m.default.get(e,{params:{limit:5}}).then((function(e){e&&e.data&&v(e.data)})).catch((function(e){})),function(e){var t="/organizations/"+e+"/teams.json";m.default.get(t,{params:{limit:5}}).then((function(e){e&&e.data&&w(e.data)})).catch((function(e){}))}(t))}),[t]),d.default.createElement("div",{className:"list-r"},f&&f.organization_users&&f.organization_users.length>0?d.default.createElement(s.default,{name:"组织成员",count:f&&f.total_count,url:"/"+t+"/members"},f.organization_users.map((function(e,t){return d.default.createElement("div",{className:"teammembers",key:t},d.default.createElement(g.Link,{to:"/"+(e.user&&e.user.login)},d.default.createElement(k,{src:(0,p.getImageUrl)("/"+(e.user&&e.user.image_url)),alt:"",className:"m-img"})),d.default.createElement("div",null,d.default.createElement(g.Link,{to:"/"+(e.user&&e.user.login)},d.default.createElement(b,null,e.user&&e.user.name)),d.default.createElement(_,null,d.default.createElement("i",{className:"iconfont icon-shijian color-green mr3 font-13"}),d.default.createElement(y,null,"加入时间:",e.created_at))))}))):"",d.default.createElement(s.default,{name:"组织团队",count:O&&O.total_count,bottom:l&&d.default.createElement(E.default,{showCompeleteDialog:r,completeProfile:i,sureFunc:function(){return n.push("/"+t+"/teams/new")},className:"ant-btn ant-btn-primary"},"新建团队"),url:"/"+t+"/teams"},O&&O.teams&&O.teams.length>0?d.default.createElement(d.default.Fragment,null,O.teams.map((function(e,n){return d.default.createElement("div",{className:"teammembers",key:n},d.default.createElement("div",null,e.is_admin||e.is_member?d.default.createElement(g.Link,{to:"/"+t+"/teams/"+e.id},d.default.createElement(N,null,e.nickname)):d.default.createElement(N,null,e.name),d.default.createElement(_,null,d.default.createElement(y,null,e.num_users,"名成员"),d.default.createElement(y,null,e.num_projects,"个仓库"))))}))):d.default.createElement(h.default,{_html:"暂无团队",small:!0})))}},wZuH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=v(n("NUBc")),l=v(n("W9HT")),r=v(n("jsC+")),i=v(n("BvKs")),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,l=!1,r=void 0;try{for(var i,u=e[Symbol.iterator]();!(a=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&u.return&&u.return()}finally{if(l)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("YQTV"),n("04bd"),n("aIZi"),n("2WkQ");var c=n("q1tI"),d=v(c),f=(n("eO8H"),v(n("Hsgt"))),s=v(n("y6GU"));n("VUSe");var m=v(n("POMS")),p=v(n("r5/a")),g=v(n("2CTR")),h=v(n("aqs5")),E=v(n("vDqi"));function v(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,c.useState)(void 0),n=o(t,2),v=n[0],x=n[1],y=(0,c.useState)(!1),_=o(y,2),b=_[0],N=_[1],k=(0,c.useState)(void 0),j=o(k,2),O=j[0],w=j[1],F=(0,c.useState)(void 0),z=o(F,2),I=z[0],S=z[1],P=(0,c.useState)(1),C=o(P,2),M=C[0],q=C[1],D=(0,c.useState)("updated_on"),B=o(D,2),H=B[0],A=B[1],L=e.match.params.OIdentifier,T=e.organizeDetail;(0,c.useEffect)((function(){var e;L&&(N(!0),e="/organizations/"+L+"/projects.json",E.default.get(e,{params:{search:I,page:M,limit:15,sort_by:H,sort_direction:"desc"}}).then((function(e){e&&e.data&&(x(e.data.projects),w(e.data.total_count)),N(!1)})).catch((function(e){N(!1)})))}),[L,H,M,I]);var U=d.default.createElement(i.default,{onClick:function(e){return A(e.key)}},d.default.createElement(i.default.Item,{key:"updated_on"},"更新时间排序"),d.default.createElement(i.default.Item,{key:"created_on"},"创建时间排序"),d.default.createElement(i.default.Item,{key:"praises_count"},"点赞数排序"),d.default.createElement(i.default.Item,{key:"forked_count"},"fork数排序")),Q=d.default.createElement("ul",null,d.default.createElement("li",null,d.default.createElement(h.default,u({},e,{sureFunc:function(){e.history.push("/projects/deposit/new/"+L)}}),"新建项目")),d.default.createElement("li",null,d.default.createElement(h.default,u({},e,{sureFunc:function(){e.history.push("/projects/mirror/new/"+L)}}),"导入项目")));return d.default.createElement("div",{className:"list"},d.default.createElement("div",{className:"list-l"},d.default.createElement("div",null,d.default.createElement("div",{className:"head"},d.default.createElement("div",{style:{width:"370px"}},d.default.createElement(f.default,{placeholder:"输入仓库名称进行搜索",onSearch:function(e){S(e)}})),d.default.createElement("p",null,T&&T.can_create_project?d.default.createElement(s.default,{menu:Q,overlayClassName:"newPopUl"},d.default.createElement("a",{className:"addBtn mr30"},"+ 新建项目")):"",d.default.createElement(r.default,{overlay:U},d.default.createElement("a",{className:"color-blue"},"排序",d.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14"}))))),d.default.createElement(l.default,{spinning:b},d.default.createElement("div",{className:"team"},v&&v.length>0?v.map((function(e,t){return d.default.createElement(m.default,{item:e,keu:t,OIdentifier:L})})):d.default.createElement(g.default,{_html:"暂无数据"})))),O>15&&d.default.createElement("div",{className:"mb20 mt20",style:{textAlign:"center"}},d.default.createElement(a.default,{simple:!0,current:M,total:O,onChange:function(e){return q(e)}}))),d.default.createElement(p.default,{admin:T&&T.is_admin,OIdentifier:L,showCompeleteDialog:e.showCompeleteDialog,completeProfile:e.completeProfile,history:e.history}))}},y6GU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(n("diRs"));n("Aosp");var l=r(n("q1tI"));function r(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.menu,n=e.children,r=e.overlayClassName;return l.default.createElement(a.default,{content:t,trigger:["click"],placement:"bottom",overlayClassName:r},n)}},yQnu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l=n("q1tI"),r=(a=l)&&a.__esModule?a:{default:a},i=n("eO8H");t.default=function(e){var t=e.name,n=e.count,a=e.bottom,l=e.children,u=e.url;return r.default.createElement("div",{className:"box"},r.default.createElement("div",{className:"head"},r.default.createElement("span",{className:"font-16"},t),r.default.createElement(i.Link,{to:u},n,r.default.createElement("i",{className:"iconfont icon-youjiantou font-12 ml3"}))),r.default.createElement("div",{className:"content"},l),a?r.default.createElement("div",{className:"foot"},a):"")}}}]); \ No newline at end of file diff --git a/static/js/86.cffbf64f.chunk.js b/static/js/86.cffbf64f.chunk.js deleted file mode 100644 index b102a7d75..000000000 --- a/static/js/86.cffbf64f.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[86],{PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),a=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+a}},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r,l=(a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(r)}}))),o=c(n("q1tI")),i=c(n("vOnD")),s=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,a=e.column,r=e.id,c=e.login,u=i.default.span(l,a&&"flex-direction: column;text-align:center;",!a&&"\n & span{\n margin-left:8px;\n }");return r?o.default.createElement(s.Link,{to:"/"+c},o.default.createElement(u,null,t&&o.default.createElement("img",{src:t,alt:""}),o.default.createElement("span",null,n))):o.default.createElement(u,null,t&&o.default.createElement("img",{src:t,alt:""}),o.default.createElement("span",null,n))}},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("q1tI"),r=c(a);n("vg9a");var l=n("ud8/"),o=c(l);n("SJMd");var i=c(n("wMS7")),s=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,d=e.style,m=void 0===d?{}:d,f=e.url,A=String(n),g=(0,a.useMemo)((function(){var e=(0,o.default)(A),t=(0,l.getMathExpressions)();return A.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,l.getTocContent)()),(0,l.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var a=t[n],r=a.type,l=a.expression;return(0,s.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(l)||"",{displayMode:"block"===r,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,l.resetMathExpressions)(),i.default.sanitize(e)}),[A]);(0,a.useEffect)((function(){if(f&&f.hash&&g){var e=f.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[f,g]);var p=(0,a.useRef)();function h(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var a=document.getElementById(n.replace("#",""));a&&a.scrollIntoView(!0)}}}return(0,a.useEffect)((function(){if(p.current&&g&&g.match(u)&&window.PR.prettyPrint(),p.current)return p.current.addEventListener("click",h),function(){p.current.removeEventListener("click",h),(0,l.resetMathExpressions)(),(0,l.cleanToc)()}}),[g,p.current,h]),r.default.createElement("div",{ref:p,style:m,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:g}})}},izWe:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(n("2/Rp"));n("L/Qf");var r=l(n("q1tI"));function l(e){return e&&e.__esModule?e:{default:e}}n("e4dm"),t.default=function(e){var t=e.operation,n=e.addFunc;return r.default.createElement("div",{className:"emptyPanel color-grey-3"},r.default.createElement("i",{className:"iconfont icon-banbenicon font-50 color-grey-3",style:{height:"50px",lineHeight:"50px",marginBottom:"13px"}}),r.default.createElement("span",{className:"weight font-26 mb15"},"这里暂未发布过任何版本"),r.default.createElement("span",{className:"weight400",style:{textAlign:"center",lineHeight:"20px"}},"发行版功能基于仓库中的历史标记",r.default.createElement("br",null),"建议使用类似 V1.0 的版本标记作为发布点"),r.default.createElement("div",{className:"operation"},t?r.default.createElement(a.default,{type:"primary",onClick:n,className:"btnblue",style:{width:"118px",height:"36px"}},"发布新版本"):r.default.createElement("span",{className:"color-grey-3 weight font-16"},"该项目暂时没有发布版本")))}},nCbK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=p(n("W9HT")),r=p(n("2/Rp")),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,l=void 0;try{for(var o,i=e[Symbol.iterator]();!(a=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,l=e}finally{try{!a&&i.return&&i.return()}finally{if(r)throw l}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd"),n("L/Qf");var o=n("q1tI"),i=p(o),s=n("eO8H"),c=n("sYIF"),u=n("PhNK"),d=p(n("izWe"));n("e4dm");var m=p(n("vDqi")),f=p(n("x97h")),A=p(n("bjH3")),g=p(n("Rs/d"));function p(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,o.useState)(void 0),n=l(t,2),p=n[0],h=n[1],v=(0,o.useState)(void 0),E=l(v,2),y=E[0],b=E[1],N=(0,o.useState)(!0),w=l(N,2),_=w[0],x=w[1],I=e.match.params,M=I.projectsId,j=I.owner,R=(e.isManager,e.isDeveloper,e.location),L=e.user,O=e.projectDetail&&e.projectDetail.type,k=R&&R.query&&R.query.turnFromNew;function T(){var e="/"+j+"/"+M+"/releases.json";m.default.get(e).then((function(e){if(e){h(e.data);var t=e.data.releases,n=void 0===t?[]:t;n.length&&(n[0].bodyshow=!0),b(e.data.releases),x(!1)}})).catch((function(e){console.log(e)}))}function C(t,n){return i.default.createElement("div",{className:"versionInfo",key:n},i.default.createElement("span",{className:"versionInfo_left"},i.default.createElement("span",{className:"稳定"===t.draft?"versionTag green":"versionTag orange"},t.draft),i.default.createElement("span",{className:"color-grey-3 mt15 font-12"},i.default.createElement("i",{className:"iconfont icon-biaoqianicon mr3 font-14"}),i.default.createElement(s.Link,{className:"hover",to:"/"+j+"/"+M+"/tree/"+t.tag_name},t.tag_name)),i.default.createElement("span",{className:"color-grey-3 font-12"},i.default.createElement("img",{src:f.default,width:"16px",color:"#333333",className:"mr3"}),i.default.createElement(s.Link,{className:"hover",to:"/"+j+"/"+M+"/commits/"+(0,u.truncateCommitId)(""+t.sha)},(0,u.truncateCommitId)(t.sha)))),i.default.createElement("div",{className:"versionInfo_right"},i.default.createElement("div",{className:"versionName"},i.default.createElement(s.Link,{to:"/"+j+"/"+M+"/tree/"+t.tag_name,className:"task-hide color-blue hover font-18"},t.name),i.default.createElement("span",null,p&&p.user_admin_permission&&2!==O&&i.default.createElement(s.Link,{to:{pathname:"/"+j+"/"+M+"/releases/"+t.version_id+"/update",state:{stable:"稳定"===t.draft}},className:"ml15"},i.default.createElement("i",{className:"iconfont icon-a-bianji1 font-16 color-grey-6"})),p&&p.user_admin_permission&&2!==O&&i.default.createElement("i",{className:"iconfont icon-shanchuicon1 font-16 ml15",onClick:function(){var e;(e=t.version_id)&&m.default.delete("/"+j+"/"+M+"/releases/"+e+".json").then((function(e){e&&T()}))}}))),i.default.createElement("span",{className:"color-grey-3 mb15 version-user"},i.default.createElement("i",{className:t.bodyshow?"iconfont icon-sanjiaoxing-down color-grey-8 mr3 font-14":"iconfont icon-triangle color-grey-8 mr3 font-14",onClick:function(){return function(e,t){var n=y.concat();n[e].bodyshow=!t,n.splice(),b(n)}(n,t.bodyshow)}}),i.default.createElement(g.default,{id:t.id,url:t.image_url&&(0,c.getImageUrl)("/"+t.image_url)||"https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3025493530,1989042357&fm=26&gp=0.jpg",name:t.user_name,login:t.user_login}),i.default.createElement("span",{className:"ml5"},"发布于",t.created_at)),t.bodyshow&&i.default.createElement("div",{className:"body-show"},i.default.createElement(A.default,{className:"break_word_comments imageLayerParent",value:t.body||"",url:e.history.location})),i.default.createElement(A.default,null),i.default.createElement("p",{className:"versionFile"},t.attachments&&t.attachments.map((function(e){return i.default.createElement("a",{href:e.url},i.default.createElement("i",{className:"iconfont icon-wenjian7 font-14 mr10 color-grey-3"}),"下载 ",e.title)})),i.default.createElement("a",{href:t.tarball_url},i.default.createElement("i",{className:"iconfont icon-wenjian7 font-14 mr10 color-grey-3"}),"下载 ",t.tag_name,".TAR.gz"),i.default.createElement("a",{href:t.zipball_url},i.default.createElement("i",{className:"iconfont icon-wenjian7 font-14 mr10 color-grey-3"}),"下载 ",t.tag_name,".ZIP"))))}function P(){e.history.push({pathname:"/"+j+"/"+M+"/releases/new",state:{stable:!0}})}return L&&L.login,(0,o.useEffect)((function(){T()}),[]),i.default.createElement("div",{className:"releaseIndex"},i.default.createElement("div",{className:"releasesVersion"},i.default.createElement(a.default,{spinning:_},function(e){return e&&e.length>0?i.default.createElement(i.default.Fragment,null,p&&p.user_admin_permission&&2!==O&&i.default.createElement("div",{className:"addReleaseBtn"},i.default.createElement(r.default,{type:"primary",onClick:P,className:"btnblue",style:{height:"36px"}},"发布新版本")),i.default.createElement("div",null,k?C(e[0],0):e.map((function(e,t){return C(e,t)})))):e&&0===e.length?i.default.createElement(d.default,{operation:p&&p.user_admin_permission&&2!==O,addFunc:P}):void 0}(y))))}},x97h:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAQCAYAAABtPJ3XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALKADAAQAAAABAAAAEAAAAACYv7IkAAAB4UlEQVRIDdVWv0/CQBR+ReLUqYMLiUlZGGQDXLo5SNxYWJ1Y3NSdP6HqYDQhLs4sLMTEGHd+jZKwQOLAgAMbgwTq+y5tQkNrj2tj4iUXuHff972vl+t71SihUSqVjhzHqfE8ZclDV/ZT07RXnk+9Xu8jiVRaXJFqtbo/mUxu2OgFa6VC9NZs+tE0zetms/kdgpEKxzIMs+Px+IUznSBbpVIRM5vNiuS8R61WS0wRIHrnvbO4pl2t3X+KxeJ9oVBwyuWy0+12+ZCDB/aAARac3TMlwMCdZQMrmPjNrPcIwAALDriqFsLuXKQeG6kxKIVrwAYi8cAAC47LjeQEAeIYRjXwTARpb8Vcw8SGBXcLIBFQNszaonR5L5hELtrAemVPhubDpHGvfJG/WeiqeeOcsHg0lC7ZsQs2TDM9GAyUajGXp1u+i5eos/l8PkzfFwcWg5vIXb/fv/JtSi6UTxjtlnOsYYLbbmQ6YFzD6HrgKo09JRaTptPpVyaTOeC/x51Oh3K5HPE6UA5m6/U6LRYLnO4Dn+5zIFAiqGwY2pZlvc3nc4uNmO12m2azGRmGQbqu03K5pNFoRI1Gg2zbFmaZgtZ8PhwOVxLeAiFK93dT6V99/GwaR7tFB3ObgldnE/+8/AGE+wKxroRyyAAAAABJRU5ErkJggg=="}}]); \ No newline at end of file diff --git a/static/js/86.fbb1f6fc.chunk.js b/static/js/86.fbb1f6fc.chunk.js new file mode 100644 index 000000000..5f4d1d4cc --- /dev/null +++ b/static/js/86.fbb1f6fc.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[86],{PhNK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e},t.timeFormat=function(e){var t=new Date(1e3*e),n=t.getHours()<10?"0".concat(t.getHours()):t.getHours(),a=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes();return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+n+":"+a}},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r,l=(a=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],r=["\n display:flex;\n font-weight: bold;\n ","\n align-items: center;\n & img{\n width:30px;\n height:30px;\n border-radius:50%;\n }\n ","\n "],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(r)}}))),o=s(n("q1tI")),i=s(n("vOnD")),c=n("eO8H");function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,a=e.column,r=e.id,s=e.login,u=i.default.span(l,a&&"flex-direction: column;text-align:center;",!a&&"\n & span{\n margin-left:8px;\n }");return r?o.default.createElement(c.Link,{to:"/"+s},o.default.createElement(u,null,t&&o.default.createElement("img",{src:t,alt:""}),o.default.createElement("span",null,n))):o.default.createElement(u,null,t&&o.default.createElement("img",{src:t,alt:""}),o.default.createElement("span",null,n))}},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("q1tI"),r=s(a);n("vg9a");var l=n("ud8/"),o=s(l);n("SJMd");var i=s(n("wMS7")),c=n("Oy/b");function s(e){return e&&e.__esModule?e:{default:e}}var u=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,s=e.className,d=e.style,m=void 0===d?{}:d,f=e.url,A=String(n),g=(0,a.useMemo)((function(){var e=(0,o.default)(A),t=(0,l.getMathExpressions)();return A.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,l.getTocContent)()),(0,l.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var a=t[n],r=a.type,l=a.expression;return(0,c.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(l)||"",{displayMode:"block"===r,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,l.resetMathExpressions)(),i.default.sanitize(e)}),[A]);(0,a.useEffect)((function(){if(f&&f.hash&&g){var e=f.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[f,g]);var p=(0,a.useRef)();function h(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var a=document.getElementById(n.replace("#",""));a&&a.scrollIntoView(!0)}}}return(0,a.useEffect)((function(){if(p.current&&g&&g.match(u)&&window.PR.prettyPrint(),p.current)return p.current.addEventListener("click",h),function(){p.current.removeEventListener("click",h),(0,l.resetMathExpressions)(),(0,l.cleanToc)()}}),[g,p.current,h]),r.default.createElement("div",{ref:p,style:m,className:(s||"")+" markdown-body",dangerouslySetInnerHTML:{__html:g}})}},izWe:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(n("2/Rp"));n("L/Qf");var r=l(n("q1tI"));function l(e){return e&&e.__esModule?e:{default:e}}n("e4dm"),t.default=function(e){var t=e.operation,n=e.addFunc;return r.default.createElement("div",{className:"emptyPanel color-grey-3"},r.default.createElement("i",{className:"iconfont icon-banbenicon font-50 color-grey-3",style:{height:"50px",lineHeight:"50px",marginBottom:"13px"}}),r.default.createElement("span",{className:"weight font-26 mb15"},"这里暂未发布过任何版本"),r.default.createElement("span",{className:"weight400",style:{textAlign:"center",lineHeight:"20px"}},"发行版功能基于仓库中的历史标记",r.default.createElement("br",null),"建议使用类似 V1.0 的版本标记作为发布点"),r.default.createElement("div",{className:"operation"},t?r.default.createElement(a.default,{type:"primary",onClick:n,className:"btnblue",style:{width:"118px",height:"36px"}},"发布新版本"):r.default.createElement("span",{className:"color-grey-3 weight font-16"},"该项目暂时没有发布版本")))}},nCbK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=p(n("W9HT")),r=p(n("2/Rp")),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,l=void 0;try{for(var o,i=e[Symbol.iterator]();!(a=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,l=e}finally{try{!a&&i.return&&i.return()}finally{if(r)throw l}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd"),n("L/Qf");var o=n("q1tI"),i=p(o),c=n("eO8H"),s=n("sYIF"),u=n("PhNK"),d=p(n("izWe"));n("e4dm");var m=p(n("vDqi")),f=p(n("x97h")),A=p(n("bjH3")),g=p(n("Rs/d"));function p(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,o.useState)(void 0),n=l(t,2),p=n[0],h=n[1],v=(0,o.useState)(void 0),E=l(v,2),y=E[0],b=E[1],N=(0,o.useState)(!0),w=l(N,2),_=w[0],x=w[1],I=e.match.params,j=I.projectsId,M=I.owner,R=e.location,L=e.projectDetail&&e.projectDetail.type,O=R&&R.query&&R.query.turnFromNew;function k(){var e="/"+M+"/"+j+"/releases.json";m.default.get(e).then((function(e){if(e){h(e.data);var t=e.data.releases,n=void 0===t?[]:t;n.length&&(n[0].bodyshow=!0),b(e.data.releases),x(!1)}})).catch((function(e){console.log(e)}))}function T(t,n){return i.default.createElement("div",{className:"versionInfo",key:n},i.default.createElement("span",{className:"versionInfo_left"},i.default.createElement("span",{className:"稳定"===t.draft?"versionTag green":"versionTag orange"},t.draft),i.default.createElement("span",{className:"color-grey-3 mt15 font-12"},i.default.createElement("i",{className:"iconfont icon-biaoqianicon mr3 font-14"}),i.default.createElement(c.Link,{className:"hover",to:"/"+M+"/"+j+"/tree/"+t.tag_name},t.tag_name)),i.default.createElement("span",{className:"color-grey-3 font-12"},i.default.createElement("img",{src:f.default,width:"16px",color:"#333333",className:"mr3"}),i.default.createElement(c.Link,{className:"hover",to:"/"+M+"/"+j+"/commits/"+(0,u.truncateCommitId)(""+t.sha)},(0,u.truncateCommitId)(t.sha)))),i.default.createElement("div",{className:"versionInfo_right"},i.default.createElement("div",{className:"versionName"},i.default.createElement(c.Link,{to:"/"+M+"/"+j+"/tree/"+t.tag_name,className:"task-hide color-blue hover font-18"},t.name),i.default.createElement("span",null,p&&p.user_admin_permission&&2!==L&&i.default.createElement(c.Link,{to:{pathname:"/"+M+"/"+j+"/releases/"+t.version_id+"/update",state:{stable:"稳定"===t.draft}},className:"ml15"},i.default.createElement("i",{className:"iconfont icon-a-bianji1 font-16 color-grey-6"})),p&&p.user_admin_permission&&2!==L&&i.default.createElement("i",{className:"iconfont icon-shanchuicon1 font-16 ml15",onClick:function(){var e;(e=t.version_id)&&m.default.delete("/"+M+"/"+j+"/releases/"+e+".json").then((function(e){e&&k()}))}}))),i.default.createElement("span",{className:"color-grey-3 mb15 version-user"},i.default.createElement("i",{className:t.bodyshow?"iconfont icon-sanjiaoxing-down color-grey-8 mr3 font-14":"iconfont icon-triangle color-grey-8 mr3 font-14",onClick:function(){return function(e,t){var n=y.concat();n[e].bodyshow=!t,n.splice(),b(n)}(n,t.bodyshow)}}),i.default.createElement(g.default,{id:t.id,url:t.image_url&&(0,s.getImageUrl)("/"+t.image_url)||"https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3025493530,1989042357&fm=26&gp=0.jpg",name:t.user_name,login:t.user_login}),i.default.createElement("span",{className:"ml5"},"发布于",t.created_at)),t.bodyshow&&i.default.createElement("div",{className:"body-show"},i.default.createElement(A.default,{className:"break_word_comments imageLayerParent",value:t.body||"",url:e.history.location})),i.default.createElement(A.default,null),i.default.createElement("p",{className:"versionFile"},t.attachments&&t.attachments.map((function(e){return i.default.createElement("a",{href:e.url},i.default.createElement("i",{className:"iconfont icon-wenjian7 font-14 mr10 color-grey-3"}),"下载 ",e.title)})),i.default.createElement("a",{href:t.tarball_url},i.default.createElement("i",{className:"iconfont icon-wenjian7 font-14 mr10 color-grey-3"}),"下载 ",t.tag_name,".TAR.gz"),i.default.createElement("a",{href:t.zipball_url},i.default.createElement("i",{className:"iconfont icon-wenjian7 font-14 mr10 color-grey-3"}),"下载 ",t.tag_name,".ZIP"))))}function C(){e.history.push({pathname:"/"+M+"/"+j+"/releases/new",state:{stable:!0}})}return(0,o.useEffect)((function(){k()}),[]),i.default.createElement("div",{className:"releaseIndex"},i.default.createElement("div",{className:"releasesVersion"},i.default.createElement(a.default,{spinning:_},function(e){return e&&e.length>0?i.default.createElement(i.default.Fragment,null,p&&p.user_admin_permission&&2!==L&&i.default.createElement("div",{className:"addReleaseBtn"},i.default.createElement(r.default,{type:"primary",onClick:C,className:"btnblue",style:{height:"36px"}},"发布新版本")),i.default.createElement("div",null,O?T(e[0],0):e.map((function(e,t){return T(e,t)})))):e&&0===e.length?i.default.createElement(d.default,{operation:p&&p.user_admin_permission&&2!==L,addFunc:C}):i.default.createElement("div",null)}(y))))}},x97h:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAQCAYAAABtPJ3XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALKADAAQAAAABAAAAEAAAAACYv7IkAAAB4UlEQVRIDdVWv0/CQBR+ReLUqYMLiUlZGGQDXLo5SNxYWJ1Y3NSdP6HqYDQhLs4sLMTEGHd+jZKwQOLAgAMbgwTq+y5tQkNrj2tj4iUXuHff972vl+t71SihUSqVjhzHqfE8ZclDV/ZT07RXnk+9Xu8jiVRaXJFqtbo/mUxu2OgFa6VC9NZs+tE0zetms/kdgpEKxzIMs+Px+IUznSBbpVIRM5vNiuS8R61WS0wRIHrnvbO4pl2t3X+KxeJ9oVBwyuWy0+12+ZCDB/aAARac3TMlwMCdZQMrmPjNrPcIwAALDriqFsLuXKQeG6kxKIVrwAYi8cAAC47LjeQEAeIYRjXwTARpb8Vcw8SGBXcLIBFQNszaonR5L5hELtrAemVPhubDpHGvfJG/WeiqeeOcsHg0lC7ZsQs2TDM9GAyUajGXp1u+i5eos/l8PkzfFwcWg5vIXb/fv/JtSi6UTxjtlnOsYYLbbmQ6YFzD6HrgKo09JRaTptPpVyaTOeC/x51Oh3K5HPE6UA5m6/U6LRYLnO4Dn+5zIFAiqGwY2pZlvc3nc4uNmO12m2azGRmGQbqu03K5pNFoRI1Gg2zbFmaZgtZ8PhwOVxLeAiFK93dT6V99/GwaR7tFB3ObgldnE/+8/AGE+wKxroRyyAAAAABJRU5ErkJggg=="}}]); \ No newline at end of file diff --git a/static/js/90.a0daaf98.chunk.js b/static/js/90.b9a877d9.chunk.js similarity index 94% rename from static/js/90.a0daaf98.chunk.js rename to static/js/90.b9a877d9.chunk.js index ce226f497..e5558cfb7 100644 --- a/static/js/90.a0daaf98.chunk.js +++ b/static/js/90.b9a877d9.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[90],{Kwxn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n("q1tI"),l=(a=r)&&a.__esModule?a:{default:a},u=n("eO8H");n("dEUZ"),t.default=function(e){var t=e.tab,n=e.owner,a=e.projectsId;return l.default.createElement("ul",{className:"subMenu"},l.default.createElement(u.Link,{to:"/"+n+"/"+a+"/tags",className:"tags"===t?"active":""},"标签"),l.default.createElement(u.Link,{to:"/"+n+"/"+a+"/releases",className:"releases"===t?"active":""},"发行版"))}},Qe4H:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=s(n("q1tI")),l=n("dtw8"),u=s(n("CnBM")),d=s(n("HUFq")),o=s(n("Kwxn"));function s(e){return e&&e.__esModule?e:{default:e}}n("e4dm");var c=(0,u.default)({loader:function(){return Promise.all([n.e(14),n.e(86)]).then(n.t.bind(null,"nCbK",7))},loading:d.default}),f=(0,u.default)({loader:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(9),n.e(48)]).then(n.t.bind(null,"lLsn",7))},loading:d.default});t.default=function(e){var t=e.match.params,n=t.projectsId,u=t.owner;return r.default.createElement("div",null,r.default.createElement(o.default,{tab:"releases",projectsId:n,owner:u}),r.default.createElement(l.Switch,null,r.default.createElement(l.Route,{path:"/:owner/:projectsId/releases/:versionId/update",render:function(t){return r.default.createElement(f,a({},e,t))}}),r.default.createElement(l.Route,{path:"/:owner/:projectsId/releases/new",render:function(t){return r.default.createElement(f,a({},e,t))}}),r.default.createElement(l.Route,{path:"/:owner/:projectsId/releases",render:function(t){return r.default.createElement(c,a({},e,t))}})))}},dEUZ:function(e,t,n){},e4dm:function(e,t,n){}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[90],{Kwxn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n("q1tI"),l=(a=r)&&a.__esModule?a:{default:a},u=n("eO8H");n("dEUZ"),t.default=function(e){var t=e.tab,n=e.owner,a=e.projectsId;return l.default.createElement("ul",{className:"subMenu"},l.default.createElement(u.Link,{to:"/"+n+"/"+a+"/tags",className:"tags"===t?"active":""},"标签"),l.default.createElement(u.Link,{to:"/"+n+"/"+a+"/releases",className:"releases"===t?"active":""},"发行版"))}},Qe4H:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=s(n("q1tI")),l=n("dtw8"),u=s(n("CnBM")),d=s(n("HUFq")),o=s(n("Kwxn"));function s(e){return e&&e.__esModule?e:{default:e}}n("e4dm");var c=(0,u.default)({loader:function(){return Promise.all([n.e(11),n.e(86)]).then(n.t.bind(null,"nCbK",7))},loading:d.default}),f=(0,u.default)({loader:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(9),n.e(48)]).then(n.t.bind(null,"lLsn",7))},loading:d.default});t.default=function(e){var t=e.match.params,n=t.projectsId,u=t.owner;return r.default.createElement("div",null,r.default.createElement(o.default,{tab:"releases",projectsId:n,owner:u}),r.default.createElement(l.Switch,null,r.default.createElement(l.Route,{path:"/:owner/:projectsId/releases/:versionId/update",render:function(t){return r.default.createElement(f,a({},e,t))}}),r.default.createElement(l.Route,{path:"/:owner/:projectsId/releases/new",render:function(t){return r.default.createElement(f,a({},e,t))}}),r.default.createElement(l.Route,{path:"/:owner/:projectsId/releases",render:function(t){return r.default.createElement(c,a({},e,t))}})))}},dEUZ:function(e,t,n){},e4dm:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/91.025ce6c8.chunk.js b/static/js/91.025ce6c8.chunk.js new file mode 100644 index 000000000..1ff9d0e1e --- /dev/null +++ b/static/js/91.025ce6c8.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[91],{BtkW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=h(a("W9HT")),r=h(a("2/Rp")),o=h(a("CtXQ")),l=h(a("9yH6")),i=h(a("Vl3Y")),s=h(a("5rEg")),c=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}();a("04bd"),a("L/Qf"),a("2oDE"),a("K4yd"),a("tULf"),a("1vPl");var u=a("q1tI"),f=h(u),p=a("sYIF"),d=a("eO8H");a("XmZk");var m=h(a("vDqi"));function h(e){return e&&e.__esModule?e:{default:e}}var b=s.default.TextArea;function y(e){return e&&e.length>0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e}function v(e){return e&&e.length>0&&e.indexOf("%2F")>-1?e.replaceAll("%2F","/"):e}var g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.componentDidMount=function(){var e=a.props.descName;e&&a.props.form.setFieldsValue({desc:e})},a.componentDidUpdate=function(e){var t=a.props.descName;e&&t&&e.descName!==t&&a.props.form.setFieldsValue({desc:t})},a.changeSubmittype=function(e){a.setState({submitType:e.target.value})},a.changeFileName=function(e){a.setState({filename:e.target.value})},a.subMitFrom=function(){var e=a.props,t=e.filepath,n=e.content,r=e.editor_type,o=a.props.match.params,l=o.branch,i=o.projectsId,s=o.owner,c=a.state,u=c.submitType,f=c.filename;a.setState({isSpin:!0});var p="upload"===r?t:t.substr(1);a.props.form.validateFieldsAndScroll((function(e,t){if(e)a.setState({isSpin:!1});else{var r="/"+s+"/"+i+"/create_file.json";m.default.post(r,{filepath:f||p,branch:v(l),new_branch:"1"===u?t.branchname:void 0,content:n,message:t.desc}).then((function(e){if(a.setState({isSpin:!1}),e.data&&e.data.name){if(a.props.showNotification("文件新建成功!"),"1"===u){var n=a.props.getDetail;n&&n()}var r="/"+s+"/"+i+(t.branchname?"/tree/"+y(t.branchname):l?"/tree/"+y(l):"");a.props.history.push(r)}})).catch((function(e){a.setState({isSpin:!1}),console.log(e)}))}}))},a.UpdateFile=function(){a.setState({isSpin:!0});var e=a.props,t=e.branch,n=e.detail,r=e.content,o=e.currentBranch,l=a.props.match.params,i=l.projectsId,s=l.owner,c=a.state.submitType,u="/"+s+"/"+i+"/update_file.json",f=o||t;a.props.form.validateFieldsAndScroll((function(e,l){e?a.setState({isSpin:!1}):m.default.put(u,{filepath:n.path,branch:"1"===c?void 0:v(f),new_branch:"1"===c?l.branchname:void 0,content:r,sha:n.sha,message:l.desc}).then((function(e){if(a.setState({isSpin:!1}),e.data&&1===e.data.status){var n=o||t,r="/"+s+"/"+i+(l.branchname?"/tree/"+y(l.branchname):n?"/tree/"+y(n):"");a.props.history.push(r),a.props.showNotification("文件修改成功!")}})).catch((function(e){a.setState({isSpin:!1}),console.log(e)}))}))},a.state={submitType:"0",filename:"",isSpin:!1},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.state,a=t.submitType,c=t.filename,u=t.isSpin,m=this.props.form.getFieldDecorator,h=this.props.match.params,y=h.branch,g=h.projectsId,E=h.owner,w=this.props,N=w.current_user,O=w.filepath,S=w.projectDetail,j=w.currentBranch,A=this.props.editor_type,x=j||y;return f.default.createElement("div",null,f.default.createElement("span",{className:"df",style:{alignItems:"center"}},f.default.createElement(d.Link,{to:"/"+(N&&N.login),className:"show-user-link"},f.default.createElement("img",{src:(0,p.getImageUrl)("/"+(N&&N.image_url)),alt:"",className:"screwImg"}),f.default.createElement("span",{className:"color-grey-3 ver-middle"},N&&N.username,":")),f.default.createElement("span",{className:"color-grey-8"},"提交变更")),f.default.createElement(n.default,{spinning:u},f.default.createElement("div",{className:"userScrew"},f.default.createElement("div",{className:"screwPanel"},f.default.createElement(i.default,null,f.default.createElement(i.default.Item,{style:{display:"upload"===A?"block":"none"}},m("path",{rules:[]})(f.default.createElement("div",{className:"setInputAddon"},f.default.createElement(s.default,{addonBefore:"/"+(S&&S.identifier)+"/",value:c||O,onChange:this.changeFileName,placeholder:"文件路径..."})))),f.default.createElement(i.default.Item,null,m("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(f.default.createElement(b,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),f.default.createElement(l.default.Group,{value:a,onChange:this.changeSubmittype},f.default.createElement(l.default,{value:"0",className:"mb10"},f.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",f.default.createElement("span",{className:"color-orange"},v(x)),"分支"),f.default.createElement(l.default,{value:"1"},f.default.createElement(o.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",f.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===a?f.default.createElement("div",{className:"mt15"},f.default.createElement(i.default.Item,{style:{paddingLeft:"24px"}},m("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(f.default.createElement(s.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),f.default.createElement("div",{className:"mt20"},f.default.createElement(r.default,{type:"primary",onClick:"update"===A?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),f.default.createElement(r.default,{type:"primary grey",onClick:function(){e.props.history.push("/"+E+"/"+g)},className:"mr20"},"取消"))))}}]),t}(u.Component),E=i.default.create({name:"UserSubmitForm"})(g);t.default=E},XmZk:function(e,t,a){},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},jP00:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},r=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),o=a("q1tI"),l=u(o);a("XmZk");var i=u(a("BtkW")),s=u(a("k2Mo")),c=u(a("bIax"));function u(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.UploadFunc=function(e){a.setState({filename:e.fileName,editorValue:e.fileContent})},a.state={editorValue:"",filename:"",fileList:void 0,attachment_clean:!0},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this.props.location.pathname,t=this.state,a=t.filename,r=t.editorValue,o=t.attachment_clean,u=e.split("uploadfile/")[1],f=u?u+"/"+a:a;return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"main"},l.default.createElement("p",{className:"pb15 bor-bottom-greyE font-16 color-grey-3 mb20"},"上传文件"),l.default.createElement("div",{className:"upload-file-repo"},l.default.createElement(s.default,n({className:"commentStyle",isComplete:o,load:this.UploadFunc,icon:l.default.createElement("img",{src:c.default,width:"58",alt:"",style:{marginBottom:15}}),size:5,showNotification:this.props.showNotification},this.props))),l.default.createElement("div",null,l.default.createElement(i.default,n({},this.props,this.state,{filepath:f,content:r,editor_type:"upload",descName:"ADD file via upload"})))))}}]),t}(o.Component);t.default=f},k2Mo:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=c(a("CtXQ")),r=c(a("8z0m")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},l=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}();a("2oDE"),a("7W5+");var i=a("q1tI"),s=c(i);a("sYIF"),c(a("vDqi"));function c(e){return e&&e.__esModule?e:{default:e}}var u=r.default.Dragger,f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.onAttachmentRemove=function(e){a.setState({fileList:void 0,fileContent:void 0,fileName:void 0})},a.handleChange=function(e){var t=new FileReader;t.readAsText(e.fileList[0].originFileObj,"UTF-8"),t.onload=function(e){a.state.fileContent=e.target.result,a.props.load&&a.props.load(a.state)}},a.beforeUpload=function(e){var t=a.state.fileList,n=a.props.size,r=e.size/1024/1024<n,o=e.type.split("/").slice(-1)[0];return t&&t.length>0?a.props.showNotification("文件已存在, 请删除后再上传"):r?o&&-1!==["jpg","jpeg","png","ico","bmp","gif","pdf","csv","xlsx","xls","tif","svg","psd","cdr","webp"].indexOf(o)?a.props.showNotification("不支持"+o+"类型"):a.setState({fileList:[e],fileName:e.name}):a.props.showNotification("文件大小必须小于"+n+"MB!"),!1},a.state={fileList:void 0,fileContent:void 0,fileName:void 0},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.icon,a=e.size,r=this.state,l=r.fileList,i=r.fileName,c={name:"file",fileList:l,onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(u,o({},c,{className:this.props.className}),i?s.default.createElement("p",{className:"ant-upload-text"},i):s.default.createElement("div",null,t||s.default.createElement(n.default,{type:"inbox"}),s.default.createElement("p",{className:"ant-upload-text"},"拖动文件或",s.default.createElement("span",{className:"color-blue"},"点击此处上传")),s.default.createElement("p",{className:"mt10"},"暂仅支持文件格式,不支持图片,excel等不可以txt读取的文件"),s.default.createElement("p",{className:"mt10"},"文件名请使用英文且不得超过",a,"MB")))}}]),t}(i.Component);t.default=f}}]); \ No newline at end of file diff --git a/static/js/91.77a9265e.chunk.js b/static/js/91.77a9265e.chunk.js deleted file mode 100644 index e08d575da..000000000 --- a/static/js/91.77a9265e.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[91],{BtkW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=h(a("W9HT")),r=h(a("2/Rp")),o=h(a("CtXQ")),l=h(a("9yH6")),i=h(a("Vl3Y")),s=h(a("5rEg")),c=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}();a("04bd"),a("L/Qf"),a("2oDE"),a("K4yd"),a("tULf"),a("1vPl");var u=a("q1tI"),f=h(u),p=a("sYIF"),m=a("eO8H");a("XmZk");var d=h(a("vDqi"));function h(e){return e&&e.__esModule?e:{default:e}}var b=s.default.TextArea;function y(e){return e&&e.length>0&&e.indexOf("/")>-1?e.replaceAll("/","%2F"):e}function v(e){return e&&e.length>0&&e.indexOf("%2F")>-1?e.replaceAll("%2F","/"):e}var g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.componentDidMount=function(){var e=a.props.descName;e&&a.props.form.setFieldsValue({desc:e})},a.componentDidUpdate=function(e){var t=a.props.descName;e&&t&&e.descName!==t&&a.props.form.setFieldsValue({desc:t})},a.changeSubmittype=function(e){a.setState({submitType:e.target.value})},a.changeFileName=function(e){a.setState({filename:e.target.value})},a.subMitFrom=function(){var e=a.props,t=e.filepath,n=e.content,r=e.editor_type,o=a.props.match.params,l=o.branch,i=o.projectsId,s=o.owner,c=a.state,u=c.submitType,f=c.filename;a.setState({isSpin:!0});var p="upload"===r?t:t.substr(1);a.props.form.validateFieldsAndScroll((function(e,t){if(e)a.setState({isSpin:!1});else{var r="/"+s+"/"+i+"/create_file.json";d.default.post(r,{filepath:f||p,branch:v(l),new_branch:"1"===u?t.branchname:void 0,content:n,message:t.desc}).then((function(e){if(a.setState({isSpin:!1}),e.data&&e.data.name){if(a.props.showNotification("文件新建成功!"),"1"===u){var n=a.props,r=n.getTopCount,o=n.getDetail;r&&r(t.branchname),o&&o()}var c="/"+s+"/"+i+(t.branchname?"/tree/"+y(t.branchname):l?"/tree/"+y(l):"");a.props.history.push(c)}})).catch((function(e){a.setState({isSpin:!1}),console.log(e)}))}}))},a.UpdateFile=function(){a.setState({isSpin:!0});var e=a.props,t=e.branch,n=e.detail,r=e.content,o=e.currentBranch,l=a.props.match.params,i=l.projectsId,s=l.owner,c=a.state.submitType,u="/"+s+"/"+i+"/update_file.json",f=o||t;a.props.form.validateFieldsAndScroll((function(e,l){e?a.setState({isSpin:!1}):d.default.put(u,{filepath:n.path,branch:"1"===c?void 0:v(f),new_branch:"1"===c?l.branchname:void 0,content:r,sha:n.sha,message:l.desc}).then((function(e){if(a.setState({isSpin:!1}),e.data&&1===e.data.status){var n=o||t,r="/"+s+"/"+i+(l.branchname?"/tree/"+y(l.branchname):n?"/tree/"+y(n):"");a.props.history.push(r),a.props.showNotification("文件修改成功!")}})).catch((function(e){a.setState({isSpin:!1}),console.log(e)}))}))},a.state={submitType:"0",filename:"",isSpin:!1},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.state,a=t.submitType,c=t.filename,u=t.isSpin,d=this.props.form.getFieldDecorator,h=this.props.match.params,y=h.branch,g=h.projectsId,E=h.owner,w=this.props,N=w.current_user,O=w.filepath,S=w.projectDetail,j=w.currentBranch,A=this.props.editor_type,x=j||y;return f.default.createElement("div",null,f.default.createElement("span",{className:"df",style:{alignItems:"center"}},f.default.createElement(m.Link,{to:"/"+(N&&N.login),className:"show-user-link"},f.default.createElement("img",{src:(0,p.getImageUrl)("/"+(N&&N.image_url)),alt:"",className:"screwImg"}),f.default.createElement("span",{className:"color-grey-3 ver-middle"},N&&N.username,":")),f.default.createElement("span",{className:"color-grey-8"},"提交变更")),f.default.createElement(n.default,{spinning:u},f.default.createElement("div",{className:"userScrew"},f.default.createElement("div",{className:"screwPanel"},f.default.createElement(i.default,null,f.default.createElement(i.default.Item,{style:{display:"upload"===A?"block":"none"}},d("path",{rules:[]})(f.default.createElement("div",{className:"setInputAddon"},f.default.createElement(s.default,{addonBefore:"/"+(S&&S.identifier)+"/",value:c||O,onChange:this.changeFileName,placeholder:"文件路径..."})))),f.default.createElement(i.default.Item,null,d("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(f.default.createElement(b,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),f.default.createElement(l.default.Group,{value:a,onChange:this.changeSubmittype},f.default.createElement(l.default,{value:"0",className:"mb10"},f.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",f.default.createElement("span",{className:"color-orange"},v(x)),"分支"),f.default.createElement(l.default,{value:"1"},f.default.createElement(o.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",f.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===a?f.default.createElement("div",{className:"mt15"},f.default.createElement(i.default.Item,{style:{paddingLeft:"24px"}},d("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(f.default.createElement(s.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),f.default.createElement("div",{className:"mt20"},f.default.createElement(r.default,{type:"primary",onClick:"update"===A?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),f.default.createElement(r.default,{type:"primary grey",onClick:function(){e.props.history.push("/"+E+"/"+g)},className:"mr20"},"取消"))))}}]),t}(u.Component),E=i.default.create({name:"UserSubmitForm"})(g);t.default=E},XmZk:function(e,t,a){},bIax:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAmCAYAAACVr4jIAAAEiklEQVRoQ9WZbWxTZRTHf+feDlAJQhUIftBAUDEaDVG/gHEzEQ3GsVtMWTBGo0QxsLUJRvHDQtmMMRoyaAeJ+O4HCWzZ2rFkghpfQmZMNGqMgiwiJH6YStjmG2Treo+5ZZtDuvXerncrz8c+/3PO/9fbe3uec4VpWqsTOmeWElK4G+VOYCHCPGBAoEeFH4DP1KS1fbP8MlmbMtkEXuPX7tRFGYNtAo8As13E2wKtmNQla6TbhT6nZEpB1zbppozNSwJzCjCcRkn09/H8p/Uy5DV+SkDDMZ0xFORVhce9GrxIL3wsBuuSNXLGSy7/QWNqhILsVwh7MTaRVuC7QICVLZvlb7c5fQe14voy8JxbQ251IhxMniFEvdhuYnwFrYrrCoEjgOHGjFeNQE0yKnvcxPkKasX1W+A2N0YK1JweEJa+H5E/88VPCnR1QmfOslmlBhXANSgZVY5pGc1GhiUoh/MZmOy+CrH2iDTky1MwaGiXhm1hh8C1OYooQj+abQD8XqdSUVmcr0hBoFZcGxDqcHBKYGVMbumoEaeTGnd5NhrarY9phndKgG/Ughg8kayVt4sG6vSnM2xOiHB1iYG+mKyVuqKBWk26AZs3Sgky60XYnYpIbfFAE7oPZX2pgQrsSEbl2UmDxmJqHF3AgnSaDoQ7Sg0U2JqKyisFgVY26WLT5lGENSi3AoESBByxdEKU98Tm3bYt8nMunxc9da2dOheDBpSNCDNKGC6XtbTCm4PC1v93SxeAVjbpMtOmHbjhEgO80K7wkyihZFS+H9kYBV3TqEsNky+Aqy5pyP/IfjeF8tZa+fH8gxkI79HZg0N8KbBsiiCdCYH/97zQnellecd2OZsFtRL6AsqEf7hF+QIERXnaEDozStc4fXJRSo35yWb/eiSc0Plp5SRwRVEr5E5Wn4rKdmerslFvNgMc8bvxV/jHMLlOrLg+Bez1HVJ4KxWRDWPrhBJaruePcjN9rh9xQDuAB/0sJHCor5fKXNO7qiatFpt9fk0hhrk6JBTXboXrfQMVvi4zKZ9okGUl9BmUHb55gFPOFXUmaX7dnycHA6zo3Cy/5oOoSmhclEg+XUH7wlmxdmk/wpUFJZg46IxdxsqDm+S4q9wxNawgzcBDrvReRMofDuhRhJu8xLnQnjMMVrXVSpcL7aikIqaz5gb5ELjLS1xerXJMrITuR6nOK/YgUDjUHpXVHkJGpVVxDQm0FRI7boxwQKyduh4j+9Qr9uoFMggqSsN481fnpZNt0oWOvnBybqPiHiZsHhan/UsP4Rxt5hebdEy+11JR2ZgrvxXX24GvfKx9uizAkpEWsAalycdi0wcq1KYisjsLWhHTwLwgHyjc4xPstIAKfNLXy31OozJ6TAs3ajBt8jlwow+w0wF6vCzDipYt4jwrLhxA39+owcsCHEC5t8iwUwsqfHRuiOrDw5AXgTofhJvVHPqNJ9VmG7CoSMBTBdojBg2Bhbzesk4yY72PO6mv3KuXGwM8IEqVKstFstDOuxTP032g2KCDwz7+UqVHhG9UaLd76XQO2bkuzr9Ki5LaLq4ltwAAAABJRU5ErkJggg=="},jP00:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},r=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),o=a("q1tI"),l=u(o);a("XmZk");var i=u(a("BtkW")),s=u(a("k2Mo")),c=u(a("bIax"));function u(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.UploadFunc=function(e){a.setState({filename:e.fileName,editorValue:e.fileContent})},a.state={editorValue:"",filename:"",fileList:void 0,attachment_clean:!0},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this.props.location.pathname,t=this.state,a=t.filename,r=t.editorValue,o=t.attachment_clean,u=e.split("uploadfile/")[1],f=u?u+"/"+a:a;return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:"main"},l.default.createElement("p",{className:"pb15 bor-bottom-greyE font-16 color-grey-3 mb20"},"上传文件"),l.default.createElement("div",{className:"upload-file-repo"},l.default.createElement(s.default,n({className:"commentStyle",isComplete:o,load:this.UploadFunc,icon:l.default.createElement("img",{src:c.default,width:"58",alt:"",style:{marginBottom:15}}),size:5,showNotification:this.props.showNotification},this.props))),l.default.createElement("div",null,l.default.createElement(i.default,n({},this.props,this.state,{filepath:f,content:r,editor_type:"upload",descName:"ADD file via upload"})))))}}]),t}(o.Component);t.default=f},k2Mo:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=c(a("CtXQ")),r=c(a("8z0m")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},l=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}();a("2oDE"),a("7W5+");var i=a("q1tI"),s=c(i);a("sYIF"),c(a("vDqi"));function c(e){return e&&e.__esModule?e:{default:e}}var u=r.default.Dragger,f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.onAttachmentRemove=function(e){a.setState({fileList:void 0,fileContent:void 0,fileName:void 0})},a.handleChange=function(e){var t=new FileReader;t.readAsText(e.fileList[0].originFileObj,"UTF-8"),t.onload=function(e){a.state.fileContent=e.target.result,a.props.load&&a.props.load(a.state)}},a.beforeUpload=function(e){var t=a.state.fileList,n=a.props.size,r=e.size/1024/1024<n,o=e.type.split("/").slice(-1)[0];return t&&t.length>0?a.props.showNotification("文件已存在, 请删除后再上传"):r?o&&-1!==["jpg","jpeg","png","ico","bmp","gif","pdf","csv","xlsx","xls","tif","svg","psd","cdr","webp"].indexOf(o)?a.props.showNotification("不支持"+o+"类型"):a.setState({fileList:[e],fileName:e.name}):a.props.showNotification("文件大小必须小于"+n+"MB!"),!1},a.state={fileList:void 0,fileContent:void 0,fileName:void 0},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.icon,a=e.size,r=this.state,l=r.fileList,i=r.fileName,c={name:"file",fileList:l,onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(u,o({},c,{className:this.props.className}),i?s.default.createElement("p",{className:"ant-upload-text"},i):s.default.createElement("div",null,t||s.default.createElement(n.default,{type:"inbox"}),s.default.createElement("p",{className:"ant-upload-text"},"拖动文件或",s.default.createElement("span",{className:"color-blue"},"点击此处上传")),s.default.createElement("p",{className:"mt10"},"暂仅支持文件格式,不支持图片,excel等不可以txt读取的文件"),s.default.createElement("p",{className:"mt10"},"文件名请使用英文且不得超过",a,"MB")))}}]),t}(i.Component);t.default=f}}]); \ No newline at end of file diff --git a/static/js/runtime~main.ca01df79.js b/static/js/runtime~main.8bbf1318.js similarity index 59% rename from static/js/runtime~main.ca01df79.js rename to static/js/runtime~main.8bbf1318.js index b8b336685..b9bf0fbb3 100644 --- a/static/js/runtime~main.ca01df79.js +++ b/static/js/runtime~main.8bbf1318.js @@ -1 +1 @@ -!function(e){function d(d){for(var c,a,b=d[0],n=d[1],o=d[2],u=0,l=[];u<b.length;u++)a=b[u],Object.prototype.hasOwnProperty.call(t,a)&&t[a]&&l.push(t[a][0]),t[a]=0;for(c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c]);for(i&&i(d);l.length;)l.shift()();return r.push.apply(r,o||[]),f()}function f(){for(var e,d=0;d<r.length;d++){for(var f=r[d],c=!0,a=1;a<f.length;a++){var n=f[a];0!==t[n]&&(c=!1)}c&&(r.splice(d--,1),e=b(b.s=f[0]))}return e}var c={},a={"runtime~main":0},t={"runtime~main":0},r=[];function b(d){if(c[d])return c[d].exports;var f=c[d]={i:d,l:!1,exports:{}};return e[d].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var d=[];a[e]?d.push(a[e]):0!==a[e]&&{0:1,1:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,40:1,41:1,42:1,43:1,45:1,48:1,49:1,50:1,51:1,52:1,53:1,54:1,55:1,56:1,57:1,58:1,59:1,61:1,62:1,63:1,64:1,66:1,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:1,75:1,76:1,77:1,78:1,80:1,81:1,82:1,87:1,88:1,89:1,90:1,91:1,92:1,93:1,94:1,95:1,97:1,98:1,103:1,104:1,106:1,111:1,112:1,113:1,114:1,115:1,116:1,117:1,118:1,119:1,120:1}[e]&&d.push(a[e]=new Promise((function(d,f){for(var c="static/css/"+({}[e]||e)+"."+{0:"d9d88bd2",1:"0ba7a726",2:"31d6cfe0",3:"31d6cfe0",4:"2254a4a8",5:"d01698e8",6:"bbfdfc43",7:"ddd009c5",8:"6e0686d9",9:"d4345223",10:"69d15722",11:"1c5f3a58",12:"303eab18",13:"1e970b46",14:"4580c46d",15:"cf56d612",16:"d0c774b5",17:"7bd7b9f3",18:"48209bdf",19:"e5544bad",20:"330fa4e3",21:"db9266b0",22:"0b7937b6",23:"ae349a22",24:"92df39ea",25:"31d6cfe0",26:"31d6cfe0",27:"75aaa133",28:"efdbdb42",29:"ca2e5efb",30:"31d6cfe0",31:"93537df9",32:"33342a61",33:"645b12a9",34:"e660a8ea",35:"d3dc3d67",36:"e7bef5af",37:"9537f394",38:"69d15722",39:"31d6cfe0",40:"88cc3b5e",41:"88cc3b5e",42:"88cc3b5e",43:"0798580e",44:"31d6cfe0",45:"080d6958",46:"31d6cfe0",47:"31d6cfe0",48:"90205e55",49:"e8001192",50:"0379bdda",51:"e7df3dd3",52:"32ee9943",53:"67a9b0d6",54:"75d3df4f",55:"fc1462ad",56:"55132a20",57:"1ff4022b",58:"f8123c09",59:"d180e9c7",60:"31d6cfe0",61:"520bfea6",62:"a5678b8f",63:"b2109eb4",64:"9d206204",65:"31d6cfe0",66:"ea97577b",67:"8758c8a2",68:"61b37499",69:"61b37499",70:"802376aa",71:"1926e8da",72:"72690062",73:"4054f41b",74:"d16cbade",75:"131374a7",76:"c2f5b906",77:"fd3fa2e9",78:"f4de1d43",79:"31d6cfe0",80:"45444cfc",81:"92df39ea",82:"92df39ea",83:"31d6cfe0",84:"31d6cfe0",85:"31d6cfe0",86:"31d6cfe0",87:"a8f06a40",88:"33601a81",89:"632d7855",90:"f243baca",91:"3433735d",92:"9d206204",93:"9d206204",94:"92df39ea",95:"92df39ea",96:"31d6cfe0",97:"11a04942",98:"9d206204",99:"31d6cfe0",100:"31d6cfe0",101:"31d6cfe0",102:"31d6cfe0",103:"3edde0c7",104:"93537df9",105:"31d6cfe0",106:"18309b6c",107:"31d6cfe0",108:"31d6cfe0",109:"31d6cfe0",110:"31d6cfe0",111:"1ff4022b",112:"5b9090d0",113:"28bf6b3d",114:"2d9ce95a",115:"93537df9",116:"93537df9",117:"93537df9",118:"f2060fe7",119:"7d2667aa",120:"9d206204",121:"31d6cfe0",122:"31d6cfe0",123:"31d6cfe0",124:"31d6cfe0",125:"31d6cfe0",126:"31d6cfe0",127:"31d6cfe0",128:"31d6cfe0",129:"31d6cfe0",130:"31d6cfe0",131:"31d6cfe0",132:"31d6cfe0",133:"31d6cfe0",134:"31d6cfe0",135:"31d6cfe0",136:"31d6cfe0",137:"31d6cfe0",138:"31d6cfe0",139:"31d6cfe0",140:"31d6cfe0",141:"31d6cfe0",142:"31d6cfe0",143:"31d6cfe0",144:"31d6cfe0",145:"31d6cfe0",146:"31d6cfe0",147:"31d6cfe0",148:"31d6cfe0",149:"31d6cfe0",150:"31d6cfe0",151:"31d6cfe0",152:"31d6cfe0",153:"31d6cfe0",154:"31d6cfe0",155:"31d6cfe0",156:"31d6cfe0",157:"31d6cfe0",158:"31d6cfe0",159:"31d6cfe0",160:"31d6cfe0",161:"31d6cfe0",162:"31d6cfe0",163:"31d6cfe0",164:"31d6cfe0",165:"31d6cfe0",166:"31d6cfe0",167:"31d6cfe0",168:"31d6cfe0",169:"31d6cfe0",170:"31d6cfe0",171:"31d6cfe0",172:"31d6cfe0",173:"31d6cfe0",174:"31d6cfe0",175:"31d6cfe0",176:"31d6cfe0",177:"31d6cfe0",178:"31d6cfe0",179:"31d6cfe0",180:"31d6cfe0",181:"31d6cfe0",182:"31d6cfe0",183:"31d6cfe0",184:"31d6cfe0",185:"31d6cfe0",186:"31d6cfe0",187:"31d6cfe0",188:"31d6cfe0"}[e]+".chunk.css",t=b.p+c,r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(i=r[n]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(o===c||o===t))return d()}var u=document.getElementsByTagName("style");for(n=0;n<u.length;n++){var i;if((o=(i=u[n]).getAttribute("data-href"))===c||o===t)return d()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=d,l.onerror=function(d){var c=d&&d.target&&d.target.src||t,r=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=c,delete a[e],l.parentNode.removeChild(l),f(r)},l.href=t,document.getElementsByTagName("head")[0].appendChild(l)})).then((function(){a[e]=0})));var f=t[e];if(0!==f)if(f)d.push(f[2]);else{var c=new Promise((function(d,c){f=t[e]=[d,c]}));d.push(f[2]=c);var r,n=document.createElement("script");n.charset="utf-8",n.timeout=120,b.nc&&n.setAttribute("nonce",b.nc),n.src=function(e){return b.p+"./static/js/"+({}[e]||e)+"."+{0:"38cc2216",1:"9de07cbc",2:"d659edf3",3:"37f89ed4",4:"4d2d662b",5:"ba9c3134",6:"69ca2fc8",7:"0bf2c37c",8:"7ad76529",9:"74545efc",10:"84066bda",11:"faaf8a93",12:"c9554159",13:"7fbcee50",14:"f0cf283b",15:"5eff19c4",16:"f5587995",17:"deaa743d",18:"8cf5ab5f",19:"4fd41f28",20:"ecc2a430",21:"de738cfc",22:"b6cf24cd",23:"d37ae96a",24:"6624507c",25:"05a52572",26:"e9e9c6fc",27:"99eef048",28:"a2b2d8a1",29:"db12ed4e",30:"40d07ad1",31:"233b41f7",32:"b9e523d7",33:"a0d3afd1",34:"daead028",35:"04e6ad13",36:"1969f13e",37:"1015f157",38:"9b757329",39:"2a924fd5",40:"82e1cc5f",41:"c38b357e",42:"270cb647",43:"9ab42e7e",44:"1ed82fbb",45:"10ca6320",46:"9f0b88f1",47:"505c2746",48:"edae787f",49:"474bc174",50:"ada9d135",51:"58be8fa8",52:"57805ddb",53:"1e38166e",54:"c5bcfd46",55:"a2fdae72",56:"25a26106",57:"9325474d",58:"b5ca14cf",59:"d746baef",60:"098bd543",61:"d295c2a5",62:"d8a25af7",63:"f1b4aeb7",64:"94ae0067",65:"ad9bb744",66:"92909981",67:"46be3d2c",68:"d1c952c6",69:"ad0246bd",70:"ac509452",71:"8d37ad43",72:"8066a00e",73:"16a53e3b",74:"d409058a",75:"2490c77d",76:"691766f4",77:"0d80a213",78:"a8bd2e81",79:"8edb03bc",80:"05713831",81:"9e9bf3fd",82:"fd712587",83:"b9f283c4",84:"9bb7165f",85:"bfbe6043",86:"cffbf64f",87:"524fb1bf",88:"4272341d",89:"439698fa",90:"a0daaf98",91:"77a9265e",92:"82446fd7",93:"ac23f8d1",94:"b473b8bb",95:"59056788",96:"1730ba73",97:"f2dca402",98:"893b36bc",99:"a319c9e2",100:"f63289ab",101:"834ac275",102:"be283b95",103:"4dfc3187",104:"03062447",105:"68abbc41",106:"1647278d",107:"08e9e257",108:"1b18010f",109:"2df9b48d",110:"c892c6ca",111:"ea827803",112:"3bed1031",113:"29c7cc99",114:"01b0b51b",115:"843d4491",116:"9f4af3c3",117:"c2eca3b5",118:"6563dfe9",119:"b9d81ed6",120:"f580eacc",121:"d3030f45",122:"1541187d",123:"91f92593",124:"aa5e07d0",125:"ef5823c2",126:"3a5f0f38",127:"228308e9",128:"3ace72d5",129:"22ca7983",130:"2b2775c5",131:"096a9318",132:"3f18a151",133:"d2e96d75",134:"38ad4c36",135:"f8710ab2",136:"0ec29c66",137:"b8c78b1e",138:"9bd56623",139:"f3fe7f8f",140:"d5c4a6ed",141:"8e50d943",142:"40edc494",143:"a27b16c8",144:"f21e2122",145:"f6308c00",146:"9e71404f",147:"797ad9d6",148:"5213994c",149:"f94fdbbe",150:"3d055a08",151:"c1346360",152:"4d091868",153:"2a99dd8f",154:"5e6b6a40",155:"c458f237",156:"add4bbb8",157:"e4a8097d",158:"3905f9da",159:"16e1e4eb",160:"737d1285",161:"08164945",162:"d26fad80",163:"da9cf7d3",164:"8829c42a",165:"78dd7452",166:"4a97c61f",167:"53ce0edc",168:"b796e1f9",169:"69fd1209",170:"cdc4ebff",171:"5c79c735",172:"e7094dd8",173:"91aceac6",174:"11e57a60",175:"6b020b0c",176:"e25b99e7",177:"cd47a9c7",178:"395dd269",179:"bdb4ce63",180:"87c0400a",181:"a39f202f",182:"2618a8e0",183:"29034d2f",184:"29955220",185:"85a03448",186:"ffdfec91",187:"85a9d546",188:"676f6152"}[e]+".chunk.js"}(e);var o=new Error;r=function(d){n.onerror=n.onload=null,clearTimeout(u);var f=t[e];if(0!==f){if(f){var c=d&&("load"===d.type?"missing":d.type),a=d&&d.target&&d.target.src;o.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",o.name="ChunkLoadError",o.type=c,o.request=a,f[1](o)}t[e]=void 0}};var u=setTimeout((function(){r({type:"timeout",target:n})}),12e4);n.onerror=n.onload=r,document.head.appendChild(n)}return Promise.all(d)},b.m=e,b.c=c,b.d=function(e,d,f){b.o(e,d)||Object.defineProperty(e,d,{enumerable:!0,get:f})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(e,d){if(1&d&&(e=b(e)),8&d)return e;if(4&d&&"object"==typeof e&&e&&e.__esModule)return e;var f=Object.create(null);if(b.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:e}),2&d&&"string"!=typeof e)for(var c in e)b.d(f,c,function(d){return e[d]}.bind(null,c));return f},b.n=function(e){var d=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(d,"a",d),d},b.o=function(e,d){return Object.prototype.hasOwnProperty.call(e,d)},b.p="/react/build/",b.oe=function(e){throw console.error(e),e};var n=this.webpackJsonp=this.webpackJsonp||[],o=n.push.bind(n);n.push=d,n=n.slice();for(var u=0;u<n.length;u++)d(n[u]);var i=o;f()}([]); \ No newline at end of file +!function(e){function d(d){for(var c,a,r=d[0],n=d[1],o=d[2],u=0,l=[];u<r.length;u++)a=r[u],Object.prototype.hasOwnProperty.call(t,a)&&t[a]&&l.push(t[a][0]),t[a]=0;for(c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c]);for(i&&i(d);l.length;)l.shift()();return b.push.apply(b,o||[]),f()}function f(){for(var e,d=0;d<b.length;d++){for(var f=b[d],c=!0,a=1;a<f.length;a++){var n=f[a];0!==t[n]&&(c=!1)}c&&(b.splice(d--,1),e=r(r.s=f[0]))}return e}var c={},a={"runtime~main":0},t={"runtime~main":0},b=[];function r(d){if(c[d])return c[d].exports;var f=c[d]={i:d,l:!1,exports:{}};return e[d].call(f.exports,f,f.exports,r),f.l=!0,f.exports}r.e=function(e){var d=[];a[e]?d.push(a[e]):0!==a[e]&&{0:1,1:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,40:1,41:1,42:1,43:1,45:1,48:1,49:1,50:1,51:1,52:1,53:1,54:1,55:1,56:1,57:1,58:1,59:1,61:1,62:1,63:1,64:1,66:1,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:1,75:1,76:1,77:1,78:1,80:1,81:1,82:1,87:1,88:1,89:1,90:1,91:1,92:1,93:1,94:1,95:1,97:1,98:1,103:1,104:1,106:1,111:1,112:1,113:1,114:1,115:1,116:1,117:1,118:1,119:1,120:1}[e]&&d.push(a[e]=new Promise((function(d,f){for(var c="static/css/"+({}[e]||e)+"."+{0:"d9d88bd2",1:"0ba7a726",2:"31d6cfe0",3:"31d6cfe0",4:"2254a4a8",5:"d01698e8",6:"bbfdfc43",7:"ddd009c5",8:"6e0686d9",9:"d4345223",10:"b886fd74",11:"4580c46d",12:"1c5f3a58",13:"6937230d",14:"1e970b46",15:"cf56d612",16:"d0c774b5",17:"7bd7b9f3",18:"48209bdf",19:"e5544bad",20:"330fa4e3",21:"db9266b0",22:"0b7937b6",23:"ae349a22",24:"92df39ea",25:"31d6cfe0",26:"31d6cfe0",27:"75aaa133",28:"efdbdb42",29:"efe18c78",30:"31d6cfe0",31:"93537df9",32:"33342a61",33:"645b12a9",34:"e660a8ea",35:"d3dc3d67",36:"35deec2d",37:"9537f394",38:"b886fd74",39:"31d6cfe0",40:"88cc3b5e",41:"88cc3b5e",42:"88cc3b5e",43:"450fc162",44:"31d6cfe0",45:"080d6958",46:"31d6cfe0",47:"31d6cfe0",48:"90205e55",49:"e8001192",50:"c5cf0da3",51:"e7df3dd3",52:"32ee9943",53:"67a9b0d6",54:"75d3df4f",55:"4cfdab21",56:"55132a20",57:"1ff4022b",58:"f8123c09",59:"79f5f7f7",60:"31d6cfe0",61:"520bfea6",62:"a5678b8f",63:"b2109eb4",64:"9d206204",65:"31d6cfe0",66:"8758c8a2",67:"ea97577b",68:"61b37499",69:"61b37499",70:"802376aa",71:"1926e8da",72:"72690062",73:"4054f41b",74:"d16cbade",75:"131374a7",76:"c2f5b906",77:"fd3fa2e9",78:"f4de1d43",79:"31d6cfe0",80:"45444cfc",81:"92df39ea",82:"92df39ea",83:"31d6cfe0",84:"31d6cfe0",85:"31d6cfe0",86:"31d6cfe0",87:"a8f06a40",88:"33601a81",89:"632d7855",90:"f243baca",91:"3433735d",92:"9d206204",93:"9d206204",94:"92df39ea",95:"92df39ea",96:"31d6cfe0",97:"11a04942",98:"9d206204",99:"31d6cfe0",100:"31d6cfe0",101:"31d6cfe0",102:"31d6cfe0",103:"3edde0c7",104:"93537df9",105:"31d6cfe0",106:"18309b6c",107:"31d6cfe0",108:"31d6cfe0",109:"31d6cfe0",110:"31d6cfe0",111:"1ff4022b",112:"eccc1e85",113:"28bf6b3d",114:"2d9ce95a",115:"93537df9",116:"93537df9",117:"93537df9",118:"f2060fe7",119:"7d2667aa",120:"9d206204",121:"31d6cfe0",122:"31d6cfe0",123:"31d6cfe0",124:"31d6cfe0",125:"31d6cfe0",126:"31d6cfe0",127:"31d6cfe0",128:"31d6cfe0",129:"31d6cfe0",130:"31d6cfe0",131:"31d6cfe0",132:"31d6cfe0",133:"31d6cfe0",134:"31d6cfe0",135:"31d6cfe0",136:"31d6cfe0",137:"31d6cfe0",138:"31d6cfe0",139:"31d6cfe0",140:"31d6cfe0",141:"31d6cfe0",142:"31d6cfe0",143:"31d6cfe0",144:"31d6cfe0",145:"31d6cfe0",146:"31d6cfe0",147:"31d6cfe0",148:"31d6cfe0",149:"31d6cfe0",150:"31d6cfe0",151:"31d6cfe0",152:"31d6cfe0",153:"31d6cfe0",154:"31d6cfe0",155:"31d6cfe0",156:"31d6cfe0",157:"31d6cfe0",158:"31d6cfe0",159:"31d6cfe0",160:"31d6cfe0",161:"31d6cfe0",162:"31d6cfe0",163:"31d6cfe0",164:"31d6cfe0",165:"31d6cfe0",166:"31d6cfe0",167:"31d6cfe0",168:"31d6cfe0",169:"31d6cfe0",170:"31d6cfe0",171:"31d6cfe0",172:"31d6cfe0",173:"31d6cfe0",174:"31d6cfe0",175:"31d6cfe0",176:"31d6cfe0",177:"31d6cfe0",178:"31d6cfe0",179:"31d6cfe0",180:"31d6cfe0",181:"31d6cfe0",182:"31d6cfe0",183:"31d6cfe0",184:"31d6cfe0",185:"31d6cfe0",186:"31d6cfe0",187:"31d6cfe0",188:"31d6cfe0"}[e]+".chunk.css",t=r.p+c,b=document.getElementsByTagName("link"),n=0;n<b.length;n++){var o=(i=b[n]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(o===c||o===t))return d()}var u=document.getElementsByTagName("style");for(n=0;n<u.length;n++){var i;if((o=(i=u[n]).getAttribute("data-href"))===c||o===t)return d()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=d,l.onerror=function(d){var c=d&&d.target&&d.target.src||t,b=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");b.code="CSS_CHUNK_LOAD_FAILED",b.request=c,delete a[e],l.parentNode.removeChild(l),f(b)},l.href=t,document.getElementsByTagName("head")[0].appendChild(l)})).then((function(){a[e]=0})));var f=t[e];if(0!==f)if(f)d.push(f[2]);else{var c=new Promise((function(d,c){f=t[e]=[d,c]}));d.push(f[2]=c);var b,n=document.createElement("script");n.charset="utf-8",n.timeout=120,r.nc&&n.setAttribute("nonce",r.nc),n.src=function(e){return r.p+"./static/js/"+({}[e]||e)+"."+{0:"38cc2216",1:"9de07cbc",2:"d659edf3",3:"37f89ed4",4:"4d2d662b",5:"ba9c3134",6:"69ca2fc8",7:"0bf2c37c",8:"7ad76529",9:"74545efc",10:"84066bda",11:"d3ab602a",12:"af8f9caa",13:"2a7f4b5d",14:"47d6b04d",15:"5eff19c4",16:"f5587995",17:"deaa743d",18:"8162f12b",19:"4fd41f28",20:"ecc2a430",21:"de738cfc",22:"b6cf24cd",23:"d37ae96a",24:"6624507c",25:"05a52572",26:"e9e9c6fc",27:"99eef048",28:"ffd0fc63",29:"db12ed4e",30:"40d07ad1",31:"233b41f7",32:"b9e523d7",33:"391ff637",34:"a97f8cd6",35:"f6d4c52a",36:"1af5cff9",37:"f3a26abd",38:"9b757329",39:"2a924fd5",40:"82e1cc5f",41:"c38b357e",42:"270cb647",43:"d6aae469",44:"1ed82fbb",45:"10ca6320",46:"9f0b88f1",47:"505c2746",48:"edae787f",49:"474bc174",50:"ada9d135",51:"58be8fa8",52:"57805ddb",53:"1e38166e",54:"c5bcfd46",55:"a2fdae72",56:"fe7d1bc1",57:"9325474d",58:"b5ca14cf",59:"d746baef",60:"098bd543",61:"d295c2a5",62:"d8a25af7",63:"f1b4aeb7",64:"94ae0067",65:"ad9bb744",66:"81eb52ec",67:"6f64dca0",68:"d1c952c6",69:"ad0246bd",70:"ac509452",71:"8d37ad43",72:"8066a00e",73:"16a53e3b",74:"d409058a",75:"330f2718",76:"691766f4",77:"0d80a213",78:"a8bd2e81",79:"8dcee5cb",80:"05713831",81:"9e9bf3fd",82:"fd712587",83:"b9f283c4",84:"9bb7165f",85:"bfbe6043",86:"fbb1f6fc",87:"524fb1bf",88:"4272341d",89:"439698fa",90:"b9a877d9",91:"025ce6c8",92:"82446fd7",93:"ac23f8d1",94:"b473b8bb",95:"59056788",96:"1730ba73",97:"f2dca402",98:"893b36bc",99:"a319c9e2",100:"f63289ab",101:"834ac275",102:"be283b95",103:"4dfc3187",104:"03062447",105:"68abbc41",106:"dbcd524a",107:"08e9e257",108:"1b18010f",109:"2df9b48d",110:"c892c6ca",111:"c0fcff02",112:"4be9dfb3",113:"29c7cc99",114:"01b0b51b",115:"843d4491",116:"9f4af3c3",117:"c2eca3b5",118:"6563dfe9",119:"e051329b",120:"f580eacc",121:"d3030f45",122:"1541187d",123:"91f92593",124:"aa5e07d0",125:"ef5823c2",126:"92802f64",127:"c92bb2ec",128:"3ace72d5",129:"22ca7983",130:"2b2775c5",131:"096a9318",132:"3f18a151",133:"d2e96d75",134:"38ad4c36",135:"f8710ab2",136:"0ec29c66",137:"b8c78b1e",138:"9bd56623",139:"f3fe7f8f",140:"d5c4a6ed",141:"8e50d943",142:"40edc494",143:"a27b16c8",144:"f21e2122",145:"f6308c00",146:"9e71404f",147:"797ad9d6",148:"5213994c",149:"f94fdbbe",150:"3d055a08",151:"c1346360",152:"4d091868",153:"2a99dd8f",154:"5e6b6a40",155:"c458f237",156:"add4bbb8",157:"e4a8097d",158:"3905f9da",159:"16e1e4eb",160:"737d1285",161:"08164945",162:"d26fad80",163:"da9cf7d3",164:"8829c42a",165:"78dd7452",166:"4a97c61f",167:"53ce0edc",168:"b796e1f9",169:"69fd1209",170:"cdc4ebff",171:"5c79c735",172:"e7094dd8",173:"91aceac6",174:"11e57a60",175:"6b020b0c",176:"e25b99e7",177:"cd47a9c7",178:"395dd269",179:"bdb4ce63",180:"87c0400a",181:"a39f202f",182:"2618a8e0",183:"29034d2f",184:"29955220",185:"85a03448",186:"ffdfec91",187:"85a9d546",188:"676f6152"}[e]+".chunk.js"}(e);var o=new Error;b=function(d){n.onerror=n.onload=null,clearTimeout(u);var f=t[e];if(0!==f){if(f){var c=d&&("load"===d.type?"missing":d.type),a=d&&d.target&&d.target.src;o.message="Loading chunk "+e+" failed.\n("+c+": "+a+")",o.name="ChunkLoadError",o.type=c,o.request=a,f[1](o)}t[e]=void 0}};var u=setTimeout((function(){b({type:"timeout",target:n})}),12e4);n.onerror=n.onload=b,document.head.appendChild(n)}return Promise.all(d)},r.m=e,r.c=c,r.d=function(e,d,f){r.o(e,d)||Object.defineProperty(e,d,{enumerable:!0,get:f})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,d){if(1&d&&(e=r(e)),8&d)return e;if(4&d&&"object"==typeof e&&e&&e.__esModule)return e;var f=Object.create(null);if(r.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:e}),2&d&&"string"!=typeof e)for(var c in e)r.d(f,c,function(d){return e[d]}.bind(null,c));return f},r.n=function(e){var d=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(d,"a",d),d},r.o=function(e,d){return Object.prototype.hasOwnProperty.call(e,d)},r.p="/react/build/",r.oe=function(e){throw console.error(e),e};var n=this.webpackJsonp=this.webpackJsonp||[],o=n.push.bind(n);n.push=d,n=n.slice();for(var u=0;u<n.length;u++)d(n[u]);var i=o;f()}([]); \ No newline at end of file